@saasflare/ui 3.0.2 → 3.1.1
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/button-0Bdl7Nqm.d.ts +87 -0
- package/dist/button-Brb4BhPO.d.mts +87 -0
- package/dist/{chunk-XXT4HKND.js → chunk-4BOMMZEY.js} +20 -13
- package/dist/{chunk-YAE5VBWJ.js → chunk-D5LKWKG7.js} +96 -152
- package/dist/chunk-DNLCSV5M.js +151 -0
- package/dist/{chunk-W53NTFPB.mjs → chunk-EJHYM2HP.mjs} +7 -16
- package/dist/chunk-FT66KYRN.js +30 -0
- package/dist/{chunk-2DNKXA5A.mjs → chunk-RW2S3KNB.mjs} +14 -7
- package/dist/chunk-WPOOC2FX.mjs +128 -0
- package/dist/{chunk-ORB66UYT.mjs → chunk-WRONFPRI.mjs} +66 -121
- package/dist/{dialog-CwyBJeNl.d.mts → dialog-BmY55WSX.d.ts} +4 -1
- package/dist/{dialog-CwyBJeNl.d.ts → dialog-CcaHMAsS.d.mts} +4 -1
- package/dist/entries/calendar.d.mts +5 -3
- package/dist/entries/calendar.d.ts +5 -3
- package/dist/entries/calendar.js +44 -36
- package/dist/entries/calendar.mjs +11 -3
- package/dist/entries/carousel.d.mts +4 -3
- package/dist/entries/carousel.d.ts +4 -3
- package/dist/entries/carousel.js +18 -11
- package/dist/entries/carousel.mjs +11 -4
- package/dist/entries/chart.d.mts +4 -2
- package/dist/entries/chart.d.ts +4 -2
- package/dist/entries/chart.js +17 -10
- package/dist/entries/chart.mjs +8 -1
- package/dist/entries/command.d.mts +5 -2
- package/dist/entries/command.d.ts +5 -2
- package/dist/entries/command.js +25 -18
- package/dist/entries/command.mjs +12 -5
- package/dist/entries/drawer.d.mts +4 -1
- package/dist/entries/drawer.d.ts +4 -1
- package/dist/entries/drawer.js +15 -8
- package/dist/entries/drawer.mjs +9 -2
- package/dist/entries/input-otp.d.mts +4 -2
- package/dist/entries/input-otp.d.ts +4 -2
- package/dist/entries/input-otp.js +13 -6
- package/dist/entries/input-otp.mjs +10 -3
- package/dist/entries/resizable.d.mts +3 -1
- package/dist/entries/resizable.d.ts +3 -1
- package/dist/entries/resizable.js +12 -5
- package/dist/entries/resizable.mjs +10 -3
- package/dist/index.d.mts +181 -79
- package/dist/index.d.ts +181 -79
- package/dist/index.js +807 -476
- package/dist/index.mjs +498 -171
- package/dist/{button-DUQJ0X7e.d.mts → use-saasflare-props-NrM2Glmp.d.mts} +1 -86
- package/dist/{button-DUQJ0X7e.d.ts → use-saasflare-props-NrM2Glmp.d.ts} +1 -86
- package/package.json +1 -1
- package/styles/theme.css +1 -1
- package/dist/chunk-BIU2MD4T.mjs +0 -56
- package/dist/chunk-CWW36RYE.js +0 -59
- package/dist/chunk-M3ICCPCU.js +0 -60
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
4
|
+
var chunkDNLCSV5M_js = require('./chunk-DNLCSV5M.js');
|
|
5
|
+
var chunk4BOMMZEY_js = require('./chunk-4BOMMZEY.js');
|
|
6
|
+
var chunkFT66KYRN_js = require('./chunk-FT66KYRN.js');
|
|
7
|
+
var chunkD5LKWKG7_js = require('./chunk-D5LKWKG7.js');
|
|
8
8
|
var React5 = require('react');
|
|
9
9
|
var react = require('motion/react');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -226,19 +226,23 @@ function usePagination(options) {
|
|
|
226
226
|
}, [activePage, safeTotal, siblings, boundaries]);
|
|
227
227
|
return { activePage, range, setPage, next, previous, first, last };
|
|
228
228
|
}
|
|
229
|
-
function Card({ className, ...props }) {
|
|
230
|
-
const
|
|
229
|
+
function Card({ className, surface, radius, animated, ...props }) {
|
|
230
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
231
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springGentle);
|
|
231
232
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
233
|
react.m.div,
|
|
233
234
|
{
|
|
235
|
+
...props,
|
|
234
236
|
"data-slot": "card",
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
237
|
+
"data-surface": sf.surface,
|
|
238
|
+
"data-radius": sf.radius,
|
|
239
|
+
"data-animated": String(sf.animated),
|
|
240
|
+
whileHover: motion.disabled ? void 0 : { y: -2, boxShadow: "0 8px 30px rgba(0,0,0,0.08)" },
|
|
241
|
+
transition: motion.transition,
|
|
242
|
+
className: chunkD5LKWKG7_js.cn(
|
|
238
243
|
"flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm transition-[border-color] duration-300 hover:border-primary/20",
|
|
239
244
|
className
|
|
240
|
-
)
|
|
241
|
-
...props
|
|
245
|
+
)
|
|
242
246
|
}
|
|
243
247
|
);
|
|
244
248
|
}
|
|
@@ -247,7 +251,7 @@ function CardHeader({ className, ...props }) {
|
|
|
247
251
|
"div",
|
|
248
252
|
{
|
|
249
253
|
"data-slot": "card-header",
|
|
250
|
-
className:
|
|
254
|
+
className: chunkD5LKWKG7_js.cn(
|
|
251
255
|
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
252
256
|
className
|
|
253
257
|
),
|
|
@@ -260,7 +264,7 @@ function CardTitle({ className, ...props }) {
|
|
|
260
264
|
"div",
|
|
261
265
|
{
|
|
262
266
|
"data-slot": "card-title",
|
|
263
|
-
className:
|
|
267
|
+
className: chunkD5LKWKG7_js.cn("leading-none font-semibold", className),
|
|
264
268
|
...props
|
|
265
269
|
}
|
|
266
270
|
);
|
|
@@ -270,7 +274,7 @@ function CardDescription({ className, ...props }) {
|
|
|
270
274
|
"div",
|
|
271
275
|
{
|
|
272
276
|
"data-slot": "card-description",
|
|
273
|
-
className:
|
|
277
|
+
className: chunkD5LKWKG7_js.cn("text-sm text-muted-foreground", className),
|
|
274
278
|
...props
|
|
275
279
|
}
|
|
276
280
|
);
|
|
@@ -280,7 +284,7 @@ function CardAction({ className, ...props }) {
|
|
|
280
284
|
"div",
|
|
281
285
|
{
|
|
282
286
|
"data-slot": "card-action",
|
|
283
|
-
className:
|
|
287
|
+
className: chunkD5LKWKG7_js.cn(
|
|
284
288
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
285
289
|
className
|
|
286
290
|
),
|
|
@@ -293,7 +297,7 @@ function CardContent({ className, ...props }) {
|
|
|
293
297
|
"div",
|
|
294
298
|
{
|
|
295
299
|
"data-slot": "card-content",
|
|
296
|
-
className:
|
|
300
|
+
className: chunkD5LKWKG7_js.cn("px-6", className),
|
|
297
301
|
...props
|
|
298
302
|
}
|
|
299
303
|
);
|
|
@@ -303,7 +307,7 @@ function CardFooter({ className, ...props }) {
|
|
|
303
307
|
"div",
|
|
304
308
|
{
|
|
305
309
|
"data-slot": "card-footer",
|
|
306
|
-
className:
|
|
310
|
+
className: chunkD5LKWKG7_js.cn("flex items-center px-6 [.border-t]:pt-6", className),
|
|
307
311
|
...props
|
|
308
312
|
}
|
|
309
313
|
);
|
|
@@ -331,7 +335,7 @@ function AlertDialogOverlay({
|
|
|
331
335
|
AlertDialogPrimitive__namespace.Overlay,
|
|
332
336
|
{
|
|
333
337
|
"data-slot": "alert-dialog-overlay",
|
|
334
|
-
className:
|
|
338
|
+
className: chunkD5LKWKG7_js.cn(
|
|
335
339
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-[2px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
336
340
|
className
|
|
337
341
|
),
|
|
@@ -342,25 +346,32 @@ function AlertDialogOverlay({
|
|
|
342
346
|
function AlertDialogContent({
|
|
343
347
|
className,
|
|
344
348
|
children,
|
|
349
|
+
surface,
|
|
350
|
+
radius,
|
|
351
|
+
animated,
|
|
345
352
|
...props
|
|
346
353
|
}) {
|
|
347
|
-
const
|
|
354
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
355
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
348
356
|
return /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
349
357
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
350
358
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
351
359
|
AlertDialogPrimitive__namespace.Content,
|
|
352
360
|
{
|
|
361
|
+
...props,
|
|
353
362
|
"data-slot": "alert-dialog-content",
|
|
354
363
|
asChild: true,
|
|
355
|
-
...props,
|
|
356
364
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
357
365
|
react.m.div,
|
|
358
366
|
{
|
|
359
|
-
|
|
367
|
+
"data-surface": sf.surface,
|
|
368
|
+
"data-radius": sf.radius,
|
|
369
|
+
"data-animated": String(sf.animated),
|
|
370
|
+
initial: motion.disabled ? { opacity: 1 } : { opacity: 0, scale: 0.95, y: 10 },
|
|
360
371
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
361
|
-
exit:
|
|
362
|
-
transition:
|
|
363
|
-
className:
|
|
372
|
+
exit: motion.disabled ? { opacity: 0 } : { opacity: 0, scale: 0.95, y: 10 },
|
|
373
|
+
transition: motion.transition,
|
|
374
|
+
className: chunkD5LKWKG7_js.cn(
|
|
364
375
|
"fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg sm:max-w-lg",
|
|
365
376
|
className
|
|
366
377
|
),
|
|
@@ -376,7 +387,7 @@ function AlertDialogHeader({ className, ...props }) {
|
|
|
376
387
|
"div",
|
|
377
388
|
{
|
|
378
389
|
"data-slot": "alert-dialog-header",
|
|
379
|
-
className:
|
|
390
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
380
391
|
...props
|
|
381
392
|
}
|
|
382
393
|
);
|
|
@@ -386,7 +397,7 @@ function AlertDialogFooter({ className, ...props }) {
|
|
|
386
397
|
"div",
|
|
387
398
|
{
|
|
388
399
|
"data-slot": "alert-dialog-footer",
|
|
389
|
-
className:
|
|
400
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
390
401
|
...props
|
|
391
402
|
}
|
|
392
403
|
);
|
|
@@ -399,7 +410,7 @@ function AlertDialogTitle({
|
|
|
399
410
|
AlertDialogPrimitive__namespace.Title,
|
|
400
411
|
{
|
|
401
412
|
"data-slot": "alert-dialog-title",
|
|
402
|
-
className:
|
|
413
|
+
className: chunkD5LKWKG7_js.cn("text-lg font-semibold", className),
|
|
403
414
|
...props
|
|
404
415
|
}
|
|
405
416
|
);
|
|
@@ -412,7 +423,7 @@ function AlertDialogDescription({
|
|
|
412
423
|
AlertDialogPrimitive__namespace.Description,
|
|
413
424
|
{
|
|
414
425
|
"data-slot": "alert-dialog-description",
|
|
415
|
-
className:
|
|
426
|
+
className: chunkD5LKWKG7_js.cn("text-sm text-muted-foreground", className),
|
|
416
427
|
...props
|
|
417
428
|
}
|
|
418
429
|
);
|
|
@@ -425,7 +436,7 @@ function AlertDialogAction({
|
|
|
425
436
|
AlertDialogPrimitive__namespace.Action,
|
|
426
437
|
{
|
|
427
438
|
"data-intent": "primary",
|
|
428
|
-
className:
|
|
439
|
+
className: chunkD5LKWKG7_js.cn(chunkDNLCSV5M_js.buttonVariants({ variant: "solid" }), className),
|
|
429
440
|
...props
|
|
430
441
|
}
|
|
431
442
|
);
|
|
@@ -438,7 +449,7 @@ function AlertDialogCancel({
|
|
|
438
449
|
AlertDialogPrimitive__namespace.Cancel,
|
|
439
450
|
{
|
|
440
451
|
"data-intent": "neutral",
|
|
441
|
-
className:
|
|
452
|
+
className: chunkD5LKWKG7_js.cn(chunkDNLCSV5M_js.buttonVariants({ variant: "outline" }), className),
|
|
442
453
|
...props
|
|
443
454
|
}
|
|
444
455
|
);
|
|
@@ -450,14 +461,21 @@ function Accordion({
|
|
|
450
461
|
}
|
|
451
462
|
function AccordionItem({
|
|
452
463
|
className,
|
|
464
|
+
surface,
|
|
465
|
+
radius,
|
|
466
|
+
animated,
|
|
453
467
|
...props
|
|
454
468
|
}) {
|
|
469
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
455
470
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
456
471
|
AccordionPrimitive__namespace.Item,
|
|
457
472
|
{
|
|
473
|
+
...props,
|
|
458
474
|
"data-slot": "accordion-item",
|
|
459
|
-
|
|
460
|
-
|
|
475
|
+
"data-surface": sf.surface,
|
|
476
|
+
"data-radius": sf.radius,
|
|
477
|
+
"data-animated": String(sf.animated),
|
|
478
|
+
className: chunkD5LKWKG7_js.cn("border-b last:border-b-0", className)
|
|
461
479
|
}
|
|
462
480
|
);
|
|
463
481
|
}
|
|
@@ -466,16 +484,17 @@ function AccordionTrigger({
|
|
|
466
484
|
children,
|
|
467
485
|
...props
|
|
468
486
|
}) {
|
|
469
|
-
const
|
|
487
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps();
|
|
488
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
470
489
|
return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
471
490
|
AccordionPrimitive__namespace.Trigger,
|
|
472
491
|
{
|
|
492
|
+
...props,
|
|
473
493
|
"data-slot": "accordion-trigger",
|
|
474
|
-
className:
|
|
494
|
+
className: chunkD5LKWKG7_js.cn(
|
|
475
495
|
"flex flex-1 cursor-pointer items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
476
496
|
className
|
|
477
497
|
),
|
|
478
|
-
...props,
|
|
479
498
|
children: [
|
|
480
499
|
children,
|
|
481
500
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -483,7 +502,7 @@ function AccordionTrigger({
|
|
|
483
502
|
{
|
|
484
503
|
className: "pointer-events-none shrink-0 translate-y-0.5 text-muted-foreground",
|
|
485
504
|
animate: { rotate: 0 },
|
|
486
|
-
transition:
|
|
505
|
+
transition: motion.transition,
|
|
487
506
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: "size-4" })
|
|
488
507
|
}
|
|
489
508
|
)
|
|
@@ -496,20 +515,21 @@ function AccordionContent({
|
|
|
496
515
|
children,
|
|
497
516
|
...props
|
|
498
517
|
}) {
|
|
499
|
-
const
|
|
518
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps();
|
|
519
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, { delay: 0.1, duration: 0.2 });
|
|
500
520
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
501
521
|
AccordionPrimitive__namespace.Content,
|
|
502
522
|
{
|
|
523
|
+
...props,
|
|
503
524
|
"data-slot": "accordion-content",
|
|
504
525
|
className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
505
|
-
...props,
|
|
506
526
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
507
527
|
react.m.div,
|
|
508
528
|
{
|
|
509
|
-
initial:
|
|
529
|
+
initial: motion.disabled ? false : { opacity: 0 },
|
|
510
530
|
animate: { opacity: 1 },
|
|
511
|
-
transition:
|
|
512
|
-
className:
|
|
531
|
+
transition: motion.transition,
|
|
532
|
+
className: chunkD5LKWKG7_js.cn("pt-0 pb-4", className),
|
|
513
533
|
children
|
|
514
534
|
}
|
|
515
535
|
)
|
|
@@ -519,19 +539,26 @@ function AccordionContent({
|
|
|
519
539
|
function Tabs({
|
|
520
540
|
className,
|
|
521
541
|
orientation = "horizontal",
|
|
542
|
+
surface,
|
|
543
|
+
radius,
|
|
544
|
+
animated,
|
|
522
545
|
...props
|
|
523
546
|
}) {
|
|
547
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
524
548
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
525
549
|
TabsPrimitive__namespace.Root,
|
|
526
550
|
{
|
|
551
|
+
...props,
|
|
527
552
|
"data-slot": "tabs",
|
|
528
553
|
"data-orientation": orientation,
|
|
554
|
+
"data-surface": sf.surface,
|
|
555
|
+
"data-radius": sf.radius,
|
|
556
|
+
"data-animated": String(sf.animated),
|
|
529
557
|
orientation,
|
|
530
|
-
className:
|
|
558
|
+
className: chunkD5LKWKG7_js.cn(
|
|
531
559
|
"group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",
|
|
532
560
|
className
|
|
533
|
-
)
|
|
534
|
-
...props
|
|
561
|
+
)
|
|
535
562
|
}
|
|
536
563
|
);
|
|
537
564
|
}
|
|
@@ -556,7 +583,8 @@ function TabsList({
|
|
|
556
583
|
...props
|
|
557
584
|
}) {
|
|
558
585
|
const listRef = React5__namespace.useRef(null);
|
|
559
|
-
const
|
|
586
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps();
|
|
587
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.spring);
|
|
560
588
|
const [pos, setPos] = React5__namespace.useState(null);
|
|
561
589
|
React5__namespace.useLayoutEffect(() => {
|
|
562
590
|
const list = listRef.current;
|
|
@@ -601,7 +629,7 @@ function TabsList({
|
|
|
601
629
|
ref: listRef,
|
|
602
630
|
"data-slot": "tabs-list",
|
|
603
631
|
"data-variant": variant,
|
|
604
|
-
className:
|
|
632
|
+
className: chunkD5LKWKG7_js.cn(tabsListVariants({ variant }), className),
|
|
605
633
|
...props,
|
|
606
634
|
children: [
|
|
607
635
|
pos !== null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -616,7 +644,7 @@ function TabsList({
|
|
|
616
644
|
width: pos.width,
|
|
617
645
|
height: pos.height
|
|
618
646
|
},
|
|
619
|
-
transition:
|
|
647
|
+
transition: motion.transition,
|
|
620
648
|
className: "pointer-events-none absolute top-0 left-0 rounded-md bg-background shadow-sm dark:border dark:border-input dark:bg-input/30",
|
|
621
649
|
style: { zIndex: 0 }
|
|
622
650
|
}
|
|
@@ -635,7 +663,7 @@ function TabsTrigger({
|
|
|
635
663
|
TabsPrimitive__namespace.Trigger,
|
|
636
664
|
{
|
|
637
665
|
"data-slot": "tabs-trigger",
|
|
638
|
-
className:
|
|
666
|
+
className: chunkD5LKWKG7_js.cn(
|
|
639
667
|
"relative z-10 inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-colors group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
640
668
|
"data-[state=active]:text-foreground dark:data-[state=active]:text-foreground",
|
|
641
669
|
className
|
|
@@ -653,60 +681,78 @@ function TabsContent({
|
|
|
653
681
|
TabsPrimitive__namespace.Content,
|
|
654
682
|
{
|
|
655
683
|
"data-slot": "tabs-content",
|
|
656
|
-
className:
|
|
684
|
+
className: chunkD5LKWKG7_js.cn("flex-1 outline-none", className),
|
|
657
685
|
...props
|
|
658
686
|
}
|
|
659
687
|
);
|
|
660
688
|
}
|
|
661
|
-
function Input({ className, type, ...props }) {
|
|
689
|
+
function Input({ className, type, surface, radius, animated, ...props }) {
|
|
690
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
691
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, { type: "spring", stiffness: 300, damping: 20 });
|
|
662
692
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
663
693
|
react.m.input,
|
|
664
694
|
{
|
|
695
|
+
...props,
|
|
665
696
|
type,
|
|
666
697
|
"data-slot": "input",
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
698
|
+
"data-surface": sf.surface,
|
|
699
|
+
"data-radius": sf.radius,
|
|
700
|
+
"data-animated": String(sf.animated),
|
|
701
|
+
whileFocus: motion.disabled ? void 0 : { boxShadow: "0 0 0 3px hsl(var(--ring) / 0.3)" },
|
|
702
|
+
transition: motion.transition,
|
|
703
|
+
className: chunkD5LKWKG7_js.cn(
|
|
670
704
|
"h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,border-color] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
|
|
671
705
|
"focus-visible:border-ring",
|
|
672
706
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
|
|
673
707
|
className
|
|
674
|
-
)
|
|
675
|
-
...props
|
|
708
|
+
)
|
|
676
709
|
}
|
|
677
710
|
);
|
|
678
711
|
}
|
|
679
|
-
function Textarea({ className, ...props }) {
|
|
712
|
+
function Textarea({ className, surface, radius, animated, ...props }) {
|
|
713
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
714
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, { type: "spring", stiffness: 300, damping: 20 });
|
|
680
715
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
681
716
|
react.m.textarea,
|
|
682
717
|
{
|
|
718
|
+
...props,
|
|
683
719
|
"data-slot": "textarea",
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
720
|
+
"data-surface": sf.surface,
|
|
721
|
+
"data-radius": sf.radius,
|
|
722
|
+
"data-animated": String(sf.animated),
|
|
723
|
+
whileFocus: motion.disabled ? void 0 : { boxShadow: "0 0 0 3px hsl(var(--ring) / 0.3)" },
|
|
724
|
+
transition: motion.transition,
|
|
725
|
+
className: chunkD5LKWKG7_js.cn(
|
|
687
726
|
"w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,border-color] outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
|
|
688
727
|
"field-sizing-content min-h-16",
|
|
689
728
|
"focus-visible:border-ring",
|
|
690
729
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
|
|
691
730
|
className
|
|
692
|
-
)
|
|
693
|
-
...props
|
|
731
|
+
)
|
|
694
732
|
}
|
|
695
733
|
);
|
|
696
734
|
}
|
|
697
735
|
function Checkbox({
|
|
698
736
|
className,
|
|
737
|
+
surface,
|
|
738
|
+
radius,
|
|
739
|
+
animated,
|
|
699
740
|
...props
|
|
700
741
|
}) {
|
|
742
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
743
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
701
744
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
702
745
|
CheckboxPrimitive__namespace.Root,
|
|
703
746
|
{
|
|
747
|
+
...props,
|
|
704
748
|
"data-slot": "checkbox",
|
|
705
|
-
|
|
749
|
+
"data-surface": sf.surface,
|
|
750
|
+
"data-radius": sf.radius,
|
|
751
|
+
"data-animated": String(sf.animated),
|
|
752
|
+
className: chunkD5LKWKG7_js.cn(
|
|
706
753
|
"peer size-4 shrink-0 cursor-pointer rounded-lg border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",
|
|
707
754
|
className
|
|
708
755
|
),
|
|
709
|
-
...props,
|
|
710
756
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
711
757
|
CheckboxPrimitive__namespace.Indicator,
|
|
712
758
|
{
|
|
@@ -716,10 +762,10 @@ function Checkbox({
|
|
|
716
762
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
717
763
|
react.m.span,
|
|
718
764
|
{
|
|
719
|
-
initial: { scale: 0, opacity: 0 },
|
|
765
|
+
initial: motion.disabled ? false : { scale: 0, opacity: 0 },
|
|
720
766
|
animate: { scale: 1, opacity: 1 },
|
|
721
|
-
exit: { scale: 0, opacity: 0 },
|
|
722
|
-
transition:
|
|
767
|
+
exit: motion.disabled ? void 0 : { scale: 0, opacity: 0 },
|
|
768
|
+
transition: motion.transition,
|
|
723
769
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-3.5" })
|
|
724
770
|
}
|
|
725
771
|
)
|
|
@@ -731,19 +777,27 @@ function Checkbox({
|
|
|
731
777
|
function Switch({
|
|
732
778
|
className,
|
|
733
779
|
size = "default",
|
|
780
|
+
surface,
|
|
781
|
+
radius,
|
|
782
|
+
animated,
|
|
734
783
|
...props
|
|
735
784
|
}) {
|
|
785
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
786
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
736
787
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
737
788
|
SwitchPrimitive__namespace.Root,
|
|
738
789
|
{
|
|
790
|
+
...props,
|
|
739
791
|
"data-slot": "switch",
|
|
740
792
|
"data-size": size,
|
|
741
|
-
|
|
793
|
+
"data-surface": sf.surface,
|
|
794
|
+
"data-radius": sf.radius,
|
|
795
|
+
"data-animated": String(sf.animated),
|
|
796
|
+
className: chunkD5LKWKG7_js.cn(
|
|
742
797
|
"peer group/switch inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent shadow-xs outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",
|
|
743
798
|
"transition-colors duration-200",
|
|
744
799
|
className
|
|
745
800
|
),
|
|
746
|
-
...props,
|
|
747
801
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
748
802
|
SwitchPrimitive__namespace.Thumb,
|
|
749
803
|
{
|
|
@@ -753,8 +807,8 @@ function Switch({
|
|
|
753
807
|
react.m.span,
|
|
754
808
|
{
|
|
755
809
|
className: "pointer-events-none block rounded-full bg-background ring-0 group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground",
|
|
756
|
-
layout: true,
|
|
757
|
-
transition:
|
|
810
|
+
layout: motion.disabled ? false : true,
|
|
811
|
+
transition: motion.transition
|
|
758
812
|
}
|
|
759
813
|
)
|
|
760
814
|
}
|
|
@@ -765,25 +819,32 @@ function Switch({
|
|
|
765
819
|
function Progress({
|
|
766
820
|
className,
|
|
767
821
|
value,
|
|
822
|
+
surface,
|
|
823
|
+
radius,
|
|
824
|
+
animated,
|
|
768
825
|
...props
|
|
769
826
|
}) {
|
|
770
|
-
const
|
|
827
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
828
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.spring);
|
|
771
829
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
772
830
|
ProgressPrimitive__namespace.Root,
|
|
773
831
|
{
|
|
832
|
+
...props,
|
|
774
833
|
"data-slot": "progress",
|
|
775
|
-
|
|
834
|
+
"data-surface": sf.surface,
|
|
835
|
+
"data-radius": sf.radius,
|
|
836
|
+
"data-animated": String(sf.animated),
|
|
837
|
+
className: chunkD5LKWKG7_js.cn(
|
|
776
838
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
777
839
|
className
|
|
778
840
|
),
|
|
779
|
-
...props,
|
|
780
841
|
children: /* @__PURE__ */ jsxRuntime.jsx(ProgressPrimitive__namespace.Indicator, { "data-slot": "progress-indicator", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
781
842
|
react.m.div,
|
|
782
843
|
{
|
|
783
844
|
className: "h-full bg-primary",
|
|
784
|
-
initial: { width: "0%" },
|
|
845
|
+
initial: motion.disabled ? false : { width: "0%" },
|
|
785
846
|
animate: { width: `${value ?? 0}%` },
|
|
786
|
-
transition:
|
|
847
|
+
transition: motion.transition
|
|
787
848
|
}
|
|
788
849
|
) })
|
|
789
850
|
}
|
|
@@ -820,9 +881,13 @@ function Badge({
|
|
|
820
881
|
size = "md",
|
|
821
882
|
intent: intentProp = "primary",
|
|
822
883
|
asChild = false,
|
|
884
|
+
surface,
|
|
885
|
+
radius,
|
|
886
|
+
animated,
|
|
823
887
|
...props
|
|
824
888
|
}) {
|
|
825
|
-
const
|
|
889
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
890
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.spring);
|
|
826
891
|
let resolvedVariant = variantProp;
|
|
827
892
|
let resolvedIntent = intentProp;
|
|
828
893
|
const legacy = LEGACY_VARIANT_MAP[variantProp];
|
|
@@ -836,24 +901,30 @@ function Badge({
|
|
|
836
901
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
837
902
|
Slot7__namespace.Root,
|
|
838
903
|
{
|
|
904
|
+
...props,
|
|
839
905
|
"data-slot": "badge",
|
|
840
906
|
"data-variant": resolvedVariant,
|
|
841
907
|
"data-intent": resolvedIntent,
|
|
842
|
-
|
|
843
|
-
|
|
908
|
+
"data-surface": sf.surface,
|
|
909
|
+
"data-radius": sf.radius,
|
|
910
|
+
"data-animated": String(sf.animated),
|
|
911
|
+
className: chunkD5LKWKG7_js.cn(badgeVariants({ variant: resolvedVariant, size }), className)
|
|
844
912
|
}
|
|
845
913
|
);
|
|
846
914
|
}
|
|
847
915
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
848
916
|
react.m.span,
|
|
849
917
|
{
|
|
918
|
+
...props,
|
|
850
919
|
"data-slot": "badge",
|
|
851
920
|
"data-variant": resolvedVariant,
|
|
852
921
|
"data-intent": resolvedIntent,
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
922
|
+
"data-surface": sf.surface,
|
|
923
|
+
"data-radius": sf.radius,
|
|
924
|
+
"data-animated": String(sf.animated),
|
|
925
|
+
whileHover: motion.disabled ? void 0 : { scale: 1.05 },
|
|
926
|
+
transition: motion.transition,
|
|
927
|
+
className: chunkD5LKWKG7_js.cn(badgeVariants({ variant: resolvedVariant, size }), className)
|
|
857
928
|
}
|
|
858
929
|
);
|
|
859
930
|
}
|
|
@@ -884,23 +955,31 @@ function TooltipContent({
|
|
|
884
955
|
className,
|
|
885
956
|
sideOffset = 6,
|
|
886
957
|
children,
|
|
958
|
+
surface,
|
|
959
|
+
radius,
|
|
960
|
+
animated,
|
|
887
961
|
...props
|
|
888
962
|
}) {
|
|
963
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
964
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
889
965
|
return /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
890
966
|
TooltipPrimitive__namespace.Content,
|
|
891
967
|
{
|
|
968
|
+
...props,
|
|
892
969
|
"data-slot": "tooltip-content",
|
|
893
970
|
sideOffset,
|
|
894
971
|
asChild: true,
|
|
895
|
-
...props,
|
|
896
972
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
897
973
|
react.m.div,
|
|
898
974
|
{
|
|
899
|
-
|
|
975
|
+
"data-surface": sf.surface,
|
|
976
|
+
"data-radius": sf.radius,
|
|
977
|
+
"data-animated": String(sf.animated),
|
|
978
|
+
initial: motion.disabled ? false : { opacity: 0, scale: 0.92, y: 2 },
|
|
900
979
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
901
|
-
exit: { opacity: 0, scale: 0.92 },
|
|
902
|
-
transition:
|
|
903
|
-
className:
|
|
980
|
+
exit: motion.disabled ? void 0 : { opacity: 0, scale: 0.92 },
|
|
981
|
+
transition: motion.transition,
|
|
982
|
+
className: chunkD5LKWKG7_js.cn(
|
|
904
983
|
"z-50 w-fit overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground shadow-md",
|
|
905
984
|
className
|
|
906
985
|
),
|
|
@@ -929,24 +1008,32 @@ function PopoverContent({
|
|
|
929
1008
|
className,
|
|
930
1009
|
align = "center",
|
|
931
1010
|
sideOffset = 4,
|
|
1011
|
+
surface,
|
|
1012
|
+
radius,
|
|
1013
|
+
animated,
|
|
932
1014
|
...props
|
|
933
1015
|
}) {
|
|
1016
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1017
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
934
1018
|
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
935
1019
|
PopoverPrimitive__namespace.Content,
|
|
936
1020
|
{
|
|
1021
|
+
...props,
|
|
937
1022
|
"data-slot": "popover-content",
|
|
938
1023
|
align,
|
|
939
1024
|
sideOffset,
|
|
940
1025
|
asChild: true,
|
|
941
|
-
...props,
|
|
942
1026
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
943
1027
|
react.m.div,
|
|
944
1028
|
{
|
|
945
|
-
|
|
1029
|
+
"data-surface": sf.surface,
|
|
1030
|
+
"data-radius": sf.radius,
|
|
1031
|
+
"data-animated": String(sf.animated),
|
|
1032
|
+
initial: motion.disabled ? false : { opacity: 0, scale: 0.95, y: -4 },
|
|
946
1033
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
947
|
-
exit: { opacity: 0, scale: 0.95, y: -4 },
|
|
948
|
-
transition:
|
|
949
|
-
className:
|
|
1034
|
+
exit: motion.disabled ? void 0 : { opacity: 0, scale: 0.95, y: -4 },
|
|
1035
|
+
transition: motion.transition,
|
|
1036
|
+
className: chunkD5LKWKG7_js.cn(
|
|
950
1037
|
"z-50 w-72 origin-[var(--radix-popover-content-transform-origin)] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden",
|
|
951
1038
|
className
|
|
952
1039
|
)
|
|
@@ -969,24 +1056,32 @@ function HoverCardContent({
|
|
|
969
1056
|
className,
|
|
970
1057
|
align = "center",
|
|
971
1058
|
sideOffset = 4,
|
|
1059
|
+
surface,
|
|
1060
|
+
radius,
|
|
1061
|
+
animated,
|
|
972
1062
|
...props
|
|
973
1063
|
}) {
|
|
1064
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1065
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
974
1066
|
return /* @__PURE__ */ jsxRuntime.jsx(HoverCardPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
975
1067
|
HoverCardPrimitive__namespace.Content,
|
|
976
1068
|
{
|
|
1069
|
+
...props,
|
|
977
1070
|
"data-slot": "hover-card-content",
|
|
978
1071
|
align,
|
|
979
1072
|
sideOffset,
|
|
980
1073
|
asChild: true,
|
|
981
|
-
...props,
|
|
982
1074
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
983
1075
|
react.m.div,
|
|
984
1076
|
{
|
|
985
|
-
|
|
1077
|
+
"data-surface": sf.surface,
|
|
1078
|
+
"data-radius": sf.radius,
|
|
1079
|
+
"data-animated": String(sf.animated),
|
|
1080
|
+
initial: motion.disabled ? false : { opacity: 0, scale: 0.95, y: 4 },
|
|
986
1081
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
987
|
-
exit: { opacity: 0, scale: 0.95 },
|
|
988
|
-
transition:
|
|
989
|
-
className:
|
|
1082
|
+
exit: motion.disabled ? void 0 : { opacity: 0, scale: 0.95 },
|
|
1083
|
+
transition: motion.transition,
|
|
1084
|
+
className: chunkD5LKWKG7_js.cn(
|
|
990
1085
|
"z-50 w-64 origin-[var(--radix-hover-card-content-transform-origin)] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden",
|
|
991
1086
|
className
|
|
992
1087
|
)
|
|
@@ -1021,7 +1116,7 @@ function SelectTrigger({
|
|
|
1021
1116
|
{
|
|
1022
1117
|
"data-slot": "select-trigger",
|
|
1023
1118
|
"data-size": size,
|
|
1024
|
-
className:
|
|
1119
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1025
1120
|
"flex w-fit cursor-pointer items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow,border-color] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 dark:bg-input/30",
|
|
1026
1121
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
|
|
1027
1122
|
className
|
|
@@ -1038,22 +1133,30 @@ function SelectContent({
|
|
|
1038
1133
|
className,
|
|
1039
1134
|
children,
|
|
1040
1135
|
position = "popper",
|
|
1136
|
+
surface,
|
|
1137
|
+
radius,
|
|
1138
|
+
animated,
|
|
1041
1139
|
...props
|
|
1042
1140
|
}) {
|
|
1141
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1142
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
1043
1143
|
return /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1044
1144
|
SelectPrimitive__namespace.Content,
|
|
1045
1145
|
{
|
|
1146
|
+
...props,
|
|
1046
1147
|
"data-slot": "select-content",
|
|
1047
1148
|
position,
|
|
1048
1149
|
asChild: true,
|
|
1049
|
-
...props,
|
|
1050
1150
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1051
1151
|
react.m.div,
|
|
1052
1152
|
{
|
|
1053
|
-
|
|
1153
|
+
"data-surface": sf.surface,
|
|
1154
|
+
"data-radius": sf.radius,
|
|
1155
|
+
"data-animated": String(sf.animated),
|
|
1156
|
+
initial: motion.disabled ? false : { opacity: 0, scale: 0.96, y: -4 },
|
|
1054
1157
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
1055
|
-
transition:
|
|
1056
|
-
className:
|
|
1158
|
+
transition: motion.transition,
|
|
1159
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1057
1160
|
"relative z-50 max-h-[min(var(--radix-select-content-available-height),24rem)] min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",
|
|
1058
1161
|
position === "popper" && "w-full min-w-[var(--radix-select-trigger-width)]",
|
|
1059
1162
|
className
|
|
@@ -1063,7 +1166,7 @@ function SelectContent({
|
|
|
1063
1166
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1064
1167
|
SelectPrimitive__namespace.Viewport,
|
|
1065
1168
|
{
|
|
1066
|
-
className:
|
|
1169
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1067
1170
|
"p-1",
|
|
1068
1171
|
position === "popper" && "h-[var(--radix-select-trigger-height)]"
|
|
1069
1172
|
),
|
|
@@ -1085,7 +1188,7 @@ function SelectLabel({
|
|
|
1085
1188
|
SelectPrimitive__namespace.Label,
|
|
1086
1189
|
{
|
|
1087
1190
|
"data-slot": "select-label",
|
|
1088
|
-
className:
|
|
1191
|
+
className: chunkD5LKWKG7_js.cn("px-2 py-1.5 text-sm font-medium", className),
|
|
1089
1192
|
...props
|
|
1090
1193
|
}
|
|
1091
1194
|
);
|
|
@@ -1099,7 +1202,7 @@ function SelectItem({
|
|
|
1099
1202
|
SelectPrimitive__namespace.Item,
|
|
1100
1203
|
{
|
|
1101
1204
|
"data-slot": "select-item",
|
|
1102
|
-
className:
|
|
1205
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1103
1206
|
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
1104
1207
|
className
|
|
1105
1208
|
),
|
|
@@ -1119,7 +1222,7 @@ function SelectSeparator({
|
|
|
1119
1222
|
SelectPrimitive__namespace.Separator,
|
|
1120
1223
|
{
|
|
1121
1224
|
"data-slot": "select-separator",
|
|
1122
|
-
className:
|
|
1225
|
+
className: chunkD5LKWKG7_js.cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
1123
1226
|
...props
|
|
1124
1227
|
}
|
|
1125
1228
|
);
|
|
@@ -1132,7 +1235,7 @@ function SelectScrollUpButton({
|
|
|
1132
1235
|
SelectPrimitive__namespace.ScrollUpButton,
|
|
1133
1236
|
{
|
|
1134
1237
|
"data-slot": "select-scroll-up-button",
|
|
1135
|
-
className:
|
|
1238
|
+
className: chunkD5LKWKG7_js.cn("flex cursor-default items-center justify-center py-1", className),
|
|
1136
1239
|
...props,
|
|
1137
1240
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUpIcon, { className: "size-4" })
|
|
1138
1241
|
}
|
|
@@ -1146,7 +1249,7 @@ function SelectScrollDownButton({
|
|
|
1146
1249
|
SelectPrimitive__namespace.ScrollDownButton,
|
|
1147
1250
|
{
|
|
1148
1251
|
"data-slot": "select-scroll-down-button",
|
|
1149
|
-
className:
|
|
1252
|
+
className: chunkD5LKWKG7_js.cn("flex cursor-default items-center justify-center py-1", className),
|
|
1150
1253
|
...props,
|
|
1151
1254
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: "size-4" })
|
|
1152
1255
|
}
|
|
@@ -1159,7 +1262,7 @@ function DropdownMenuPortal({ ...props }) {
|
|
|
1159
1262
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { "data-slot": "dropdown-menu-portal", ...props });
|
|
1160
1263
|
}
|
|
1161
1264
|
function DropdownMenuTrigger({ className, ...props }) {
|
|
1162
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Trigger, { "data-slot": "dropdown-menu-trigger", className:
|
|
1265
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Trigger, { "data-slot": "dropdown-menu-trigger", className: chunkD5LKWKG7_js.cn("cursor-pointer", className), ...props });
|
|
1163
1266
|
}
|
|
1164
1267
|
function DropdownMenuGroup({ ...props }) {
|
|
1165
1268
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Group, { "data-slot": "dropdown-menu-group", ...props });
|
|
@@ -1173,23 +1276,31 @@ function DropdownMenuRadioGroup({ ...props }) {
|
|
|
1173
1276
|
function DropdownMenuContent({
|
|
1174
1277
|
className,
|
|
1175
1278
|
sideOffset = 4,
|
|
1279
|
+
surface,
|
|
1280
|
+
radius,
|
|
1281
|
+
animated,
|
|
1176
1282
|
...props
|
|
1177
1283
|
}) {
|
|
1284
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1285
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
1178
1286
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1179
1287
|
DropdownMenuPrimitive__namespace.Content,
|
|
1180
1288
|
{
|
|
1289
|
+
...props,
|
|
1181
1290
|
"data-slot": "dropdown-menu-content",
|
|
1182
1291
|
sideOffset,
|
|
1183
1292
|
asChild: true,
|
|
1184
|
-
...props,
|
|
1185
1293
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1186
1294
|
react.m.div,
|
|
1187
1295
|
{
|
|
1188
|
-
|
|
1296
|
+
"data-surface": sf.surface,
|
|
1297
|
+
"data-radius": sf.radius,
|
|
1298
|
+
"data-animated": String(sf.animated),
|
|
1299
|
+
initial: motion.disabled ? false : { opacity: 0, scale: 0.95, y: -4 },
|
|
1189
1300
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
1190
|
-
exit: { opacity: 0, scale: 0.95, y: -4 },
|
|
1191
|
-
transition:
|
|
1192
|
-
className:
|
|
1301
|
+
exit: motion.disabled ? void 0 : { opacity: 0, scale: 0.95, y: -4 },
|
|
1302
|
+
transition: motion.transition,
|
|
1303
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1193
1304
|
"z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] origin-[var(--radix-dropdown-menu-content-transform-origin)] overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
|
|
1194
1305
|
className
|
|
1195
1306
|
)
|
|
@@ -1205,7 +1316,7 @@ function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
|
|
|
1205
1316
|
"data-slot": "dropdown-menu-item",
|
|
1206
1317
|
"data-inset": inset,
|
|
1207
1318
|
"data-variant": variant,
|
|
1208
|
-
className:
|
|
1319
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1209
1320
|
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive",
|
|
1210
1321
|
className
|
|
1211
1322
|
),
|
|
@@ -1218,7 +1329,7 @@ function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
|
1218
1329
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
1219
1330
|
{
|
|
1220
1331
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
1221
|
-
className:
|
|
1332
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1222
1333
|
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1223
1334
|
className
|
|
1224
1335
|
),
|
|
@@ -1236,7 +1347,7 @@ function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
|
1236
1347
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
1237
1348
|
{
|
|
1238
1349
|
"data-slot": "dropdown-menu-radio-item",
|
|
1239
|
-
className:
|
|
1350
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1240
1351
|
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1241
1352
|
className
|
|
1242
1353
|
),
|
|
@@ -1254,7 +1365,7 @@ function DropdownMenuLabel({ className, inset, ...props }) {
|
|
|
1254
1365
|
{
|
|
1255
1366
|
"data-slot": "dropdown-menu-label",
|
|
1256
1367
|
"data-inset": inset,
|
|
1257
|
-
className:
|
|
1368
|
+
className: chunkD5LKWKG7_js.cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
|
|
1258
1369
|
...props
|
|
1259
1370
|
}
|
|
1260
1371
|
);
|
|
@@ -1264,7 +1375,7 @@ function DropdownMenuSeparator({ className, ...props }) {
|
|
|
1264
1375
|
DropdownMenuPrimitive__namespace.Separator,
|
|
1265
1376
|
{
|
|
1266
1377
|
"data-slot": "dropdown-menu-separator",
|
|
1267
|
-
className:
|
|
1378
|
+
className: chunkD5LKWKG7_js.cn("bg-border -mx-1 my-1 h-px", className),
|
|
1268
1379
|
...props
|
|
1269
1380
|
}
|
|
1270
1381
|
);
|
|
@@ -1274,7 +1385,7 @@ function DropdownMenuShortcut({ className, ...props }) {
|
|
|
1274
1385
|
"span",
|
|
1275
1386
|
{
|
|
1276
1387
|
"data-slot": "dropdown-menu-shortcut",
|
|
1277
|
-
className:
|
|
1388
|
+
className: chunkD5LKWKG7_js.cn("ml-auto text-xs tracking-widest text-muted-foreground", className),
|
|
1278
1389
|
...props
|
|
1279
1390
|
}
|
|
1280
1391
|
);
|
|
@@ -1285,7 +1396,7 @@ function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
|
1285
1396
|
{
|
|
1286
1397
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
1287
1398
|
"data-inset": inset,
|
|
1288
|
-
className:
|
|
1399
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1289
1400
|
"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1290
1401
|
className
|
|
1291
1402
|
),
|
|
@@ -1302,7 +1413,7 @@ function DropdownMenuSubContent({ className, ...props }) {
|
|
|
1302
1413
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
1303
1414
|
{
|
|
1304
1415
|
"data-slot": "dropdown-menu-sub-content",
|
|
1305
|
-
className:
|
|
1416
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1306
1417
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1307
1418
|
className
|
|
1308
1419
|
),
|
|
@@ -1336,7 +1447,7 @@ function SheetOverlay({
|
|
|
1336
1447
|
SheetPrimitive__namespace.Overlay,
|
|
1337
1448
|
{
|
|
1338
1449
|
"data-slot": "sheet-overlay",
|
|
1339
|
-
className:
|
|
1450
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1340
1451
|
"fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
1341
1452
|
className
|
|
1342
1453
|
),
|
|
@@ -1349,15 +1460,23 @@ function SheetContent({
|
|
|
1349
1460
|
children,
|
|
1350
1461
|
side = "right",
|
|
1351
1462
|
showCloseButton = true,
|
|
1463
|
+
surface,
|
|
1464
|
+
radius,
|
|
1465
|
+
animated,
|
|
1352
1466
|
...props
|
|
1353
1467
|
}) {
|
|
1468
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1354
1469
|
return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
|
|
1355
1470
|
/* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
|
|
1356
1471
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1357
1472
|
SheetPrimitive__namespace.Content,
|
|
1358
1473
|
{
|
|
1474
|
+
...props,
|
|
1359
1475
|
"data-slot": "sheet-content",
|
|
1360
|
-
|
|
1476
|
+
"data-surface": sf.surface,
|
|
1477
|
+
"data-radius": sf.radius,
|
|
1478
|
+
"data-animated": String(sf.animated),
|
|
1479
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1361
1480
|
"fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
|
|
1362
1481
|
side === "right" && "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
|
|
1363
1482
|
side === "left" && "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
@@ -1365,7 +1484,6 @@ function SheetContent({
|
|
|
1365
1484
|
side === "bottom" && "inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
1366
1485
|
className
|
|
1367
1486
|
),
|
|
1368
|
-
...props,
|
|
1369
1487
|
children: [
|
|
1370
1488
|
children,
|
|
1371
1489
|
showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
@@ -1382,7 +1500,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
1382
1500
|
"div",
|
|
1383
1501
|
{
|
|
1384
1502
|
"data-slot": "sheet-header",
|
|
1385
|
-
className:
|
|
1503
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col gap-1.5 p-4", className),
|
|
1386
1504
|
...props
|
|
1387
1505
|
}
|
|
1388
1506
|
);
|
|
@@ -1392,7 +1510,7 @@ function SheetFooter({ className, ...props }) {
|
|
|
1392
1510
|
"div",
|
|
1393
1511
|
{
|
|
1394
1512
|
"data-slot": "sheet-footer",
|
|
1395
|
-
className:
|
|
1513
|
+
className: chunkD5LKWKG7_js.cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
1396
1514
|
...props
|
|
1397
1515
|
}
|
|
1398
1516
|
);
|
|
@@ -1405,7 +1523,7 @@ function SheetTitle({
|
|
|
1405
1523
|
SheetPrimitive__namespace.Title,
|
|
1406
1524
|
{
|
|
1407
1525
|
"data-slot": "sheet-title",
|
|
1408
|
-
className:
|
|
1526
|
+
className: chunkD5LKWKG7_js.cn("font-semibold text-foreground", className),
|
|
1409
1527
|
...props
|
|
1410
1528
|
}
|
|
1411
1529
|
);
|
|
@@ -1418,7 +1536,7 @@ function SheetDescription({
|
|
|
1418
1536
|
SheetPrimitive__namespace.Description,
|
|
1419
1537
|
{
|
|
1420
1538
|
"data-slot": "sheet-description",
|
|
1421
|
-
className:
|
|
1539
|
+
className: chunkD5LKWKG7_js.cn("text-sm text-muted-foreground", className),
|
|
1422
1540
|
...props
|
|
1423
1541
|
}
|
|
1424
1542
|
);
|
|
@@ -1429,8 +1547,13 @@ function Slider({
|
|
|
1429
1547
|
value,
|
|
1430
1548
|
min = 0,
|
|
1431
1549
|
max = 100,
|
|
1550
|
+
surface,
|
|
1551
|
+
radius,
|
|
1552
|
+
animated,
|
|
1432
1553
|
...props
|
|
1433
1554
|
}) {
|
|
1555
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1556
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, chunkFT66KYRN_js.springBouncy);
|
|
1434
1557
|
const _values = React5__namespace.useMemo(
|
|
1435
1558
|
() => value ?? defaultValue ?? [min],
|
|
1436
1559
|
[value, defaultValue, min]
|
|
@@ -1438,16 +1561,19 @@ function Slider({
|
|
|
1438
1561
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1439
1562
|
SliderPrimitive__namespace.Root,
|
|
1440
1563
|
{
|
|
1564
|
+
...props,
|
|
1441
1565
|
"data-slot": "slider",
|
|
1566
|
+
"data-surface": sf.surface,
|
|
1567
|
+
"data-radius": sf.radius,
|
|
1568
|
+
"data-animated": String(sf.animated),
|
|
1442
1569
|
defaultValue,
|
|
1443
1570
|
value,
|
|
1444
1571
|
min,
|
|
1445
1572
|
max,
|
|
1446
|
-
className:
|
|
1573
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1447
1574
|
"relative flex w-full touch-none items-center select-none data-[orientation=horizontal]:h-5 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-5 data-[orientation=horizontal]:flex-row data-[orientation=vertical]:flex-col data-[disabled]:opacity-50",
|
|
1448
1575
|
className
|
|
1449
1576
|
),
|
|
1450
|
-
...props,
|
|
1451
1577
|
children: [
|
|
1452
1578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1453
1579
|
SliderPrimitive__namespace.Track,
|
|
@@ -1472,9 +1598,9 @@ function Slider({
|
|
|
1472
1598
|
react.m.span,
|
|
1473
1599
|
{
|
|
1474
1600
|
className: "block size-4 shrink-0 cursor-grab rounded-full border border-primary/50 bg-background shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring active:cursor-grabbing",
|
|
1475
|
-
whileHover: { scale: 1.2 },
|
|
1476
|
-
whileTap: { scale: 0.9 },
|
|
1477
|
-
transition:
|
|
1601
|
+
whileHover: motion.disabled ? void 0 : { scale: 1.2 },
|
|
1602
|
+
whileTap: motion.disabled ? void 0 : { scale: 0.9 },
|
|
1603
|
+
transition: motion.transition
|
|
1478
1604
|
}
|
|
1479
1605
|
)
|
|
1480
1606
|
},
|
|
@@ -1496,8 +1622,12 @@ function Alert({
|
|
|
1496
1622
|
className,
|
|
1497
1623
|
intent: intentProp,
|
|
1498
1624
|
variant,
|
|
1625
|
+
surface,
|
|
1626
|
+
radius,
|
|
1627
|
+
animated,
|
|
1499
1628
|
...props
|
|
1500
1629
|
}) {
|
|
1630
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1501
1631
|
let resolvedIntent = intentProp ?? "neutral";
|
|
1502
1632
|
if (!intentProp && variant === "destructive") {
|
|
1503
1633
|
resolvedIntent = "danger";
|
|
@@ -1506,15 +1636,18 @@ function Alert({
|
|
|
1506
1636
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1507
1637
|
"div",
|
|
1508
1638
|
{
|
|
1639
|
+
...props,
|
|
1509
1640
|
"data-slot": "alert",
|
|
1510
1641
|
"data-intent": resolvedIntent !== "neutral" ? resolvedIntent : void 0,
|
|
1642
|
+
"data-surface": sf.surface,
|
|
1643
|
+
"data-radius": sf.radius,
|
|
1644
|
+
"data-animated": String(sf.animated),
|
|
1511
1645
|
role: "alert",
|
|
1512
|
-
className:
|
|
1646
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1513
1647
|
"relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
1514
1648
|
intentStyle,
|
|
1515
1649
|
className
|
|
1516
|
-
)
|
|
1517
|
-
...props
|
|
1650
|
+
)
|
|
1518
1651
|
}
|
|
1519
1652
|
);
|
|
1520
1653
|
}
|
|
@@ -1523,7 +1656,7 @@ function AlertTitle({ className, ...props }) {
|
|
|
1523
1656
|
"div",
|
|
1524
1657
|
{
|
|
1525
1658
|
"data-slot": "alert-title",
|
|
1526
|
-
className:
|
|
1659
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1527
1660
|
"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
|
|
1528
1661
|
className
|
|
1529
1662
|
),
|
|
@@ -1539,7 +1672,7 @@ function AlertDescription({
|
|
|
1539
1672
|
"div",
|
|
1540
1673
|
{
|
|
1541
1674
|
"data-slot": "alert-description",
|
|
1542
|
-
className:
|
|
1675
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1543
1676
|
"col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
|
|
1544
1677
|
className
|
|
1545
1678
|
),
|
|
@@ -1550,18 +1683,25 @@ function AlertDescription({
|
|
|
1550
1683
|
function Avatar({
|
|
1551
1684
|
className,
|
|
1552
1685
|
size = "default",
|
|
1686
|
+
surface,
|
|
1687
|
+
radius,
|
|
1688
|
+
animated,
|
|
1553
1689
|
...props
|
|
1554
1690
|
}) {
|
|
1691
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1555
1692
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1556
1693
|
AvatarPrimitive__namespace.Root,
|
|
1557
1694
|
{
|
|
1695
|
+
...props,
|
|
1558
1696
|
"data-slot": "avatar",
|
|
1559
1697
|
"data-size": size,
|
|
1560
|
-
|
|
1698
|
+
"data-surface": sf.surface,
|
|
1699
|
+
"data-radius": sf.radius,
|
|
1700
|
+
"data-animated": String(sf.animated),
|
|
1701
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1561
1702
|
"group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none transition-transform duration-200 hover:scale-105 data-[size=lg]:size-10 data-[size=sm]:size-6",
|
|
1562
1703
|
className
|
|
1563
|
-
)
|
|
1564
|
-
...props
|
|
1704
|
+
)
|
|
1565
1705
|
}
|
|
1566
1706
|
);
|
|
1567
1707
|
}
|
|
@@ -1573,7 +1713,7 @@ function AvatarImage({
|
|
|
1573
1713
|
AvatarPrimitive__namespace.Image,
|
|
1574
1714
|
{
|
|
1575
1715
|
"data-slot": "avatar-image",
|
|
1576
|
-
className:
|
|
1716
|
+
className: chunkD5LKWKG7_js.cn("aspect-square size-full", className),
|
|
1577
1717
|
...props
|
|
1578
1718
|
}
|
|
1579
1719
|
);
|
|
@@ -1586,7 +1726,7 @@ function AvatarFallback({
|
|
|
1586
1726
|
AvatarPrimitive__namespace.Fallback,
|
|
1587
1727
|
{
|
|
1588
1728
|
"data-slot": "avatar-fallback",
|
|
1589
|
-
className:
|
|
1729
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1590
1730
|
"flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
|
|
1591
1731
|
className
|
|
1592
1732
|
),
|
|
@@ -1599,7 +1739,7 @@ function AvatarBadge({ className, ...props }) {
|
|
|
1599
1739
|
"span",
|
|
1600
1740
|
{
|
|
1601
1741
|
"data-slot": "avatar-badge",
|
|
1602
|
-
className:
|
|
1742
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1603
1743
|
"absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground ring-2 ring-background select-none",
|
|
1604
1744
|
"group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
|
|
1605
1745
|
"group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
|
|
@@ -1615,7 +1755,7 @@ function AvatarGroup({ className, ...props }) {
|
|
|
1615
1755
|
"div",
|
|
1616
1756
|
{
|
|
1617
1757
|
"data-slot": "avatar-group",
|
|
1618
|
-
className:
|
|
1758
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1619
1759
|
"group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background",
|
|
1620
1760
|
className
|
|
1621
1761
|
),
|
|
@@ -1631,7 +1771,7 @@ function AvatarGroupCount({
|
|
|
1631
1771
|
"div",
|
|
1632
1772
|
{
|
|
1633
1773
|
"data-slot": "avatar-group-count",
|
|
1634
|
-
className:
|
|
1774
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1635
1775
|
"relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3",
|
|
1636
1776
|
className
|
|
1637
1777
|
),
|
|
@@ -1686,7 +1826,7 @@ function ContextMenuSubTrigger({
|
|
|
1686
1826
|
{
|
|
1687
1827
|
"data-slot": "context-menu-sub-trigger",
|
|
1688
1828
|
"data-inset": inset,
|
|
1689
|
-
className:
|
|
1829
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1690
1830
|
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
1691
1831
|
className
|
|
1692
1832
|
),
|
|
@@ -1706,7 +1846,7 @@ function ContextMenuSubContent({
|
|
|
1706
1846
|
ContextMenuPrimitive__namespace.SubContent,
|
|
1707
1847
|
{
|
|
1708
1848
|
"data-slot": "context-menu-sub-content",
|
|
1709
|
-
className:
|
|
1849
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1710
1850
|
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1711
1851
|
className
|
|
1712
1852
|
),
|
|
@@ -1716,17 +1856,24 @@ function ContextMenuSubContent({
|
|
|
1716
1856
|
}
|
|
1717
1857
|
function ContextMenuContent({
|
|
1718
1858
|
className,
|
|
1859
|
+
surface,
|
|
1860
|
+
radius,
|
|
1861
|
+
animated,
|
|
1719
1862
|
...props
|
|
1720
1863
|
}) {
|
|
1864
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1721
1865
|
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1722
1866
|
ContextMenuPrimitive__namespace.Content,
|
|
1723
1867
|
{
|
|
1868
|
+
...props,
|
|
1724
1869
|
"data-slot": "context-menu-content",
|
|
1725
|
-
|
|
1870
|
+
"data-surface": sf.surface,
|
|
1871
|
+
"data-radius": sf.radius,
|
|
1872
|
+
"data-animated": String(sf.animated),
|
|
1873
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1726
1874
|
"z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1727
1875
|
className
|
|
1728
|
-
)
|
|
1729
|
-
...props
|
|
1876
|
+
)
|
|
1730
1877
|
}
|
|
1731
1878
|
) });
|
|
1732
1879
|
}
|
|
@@ -1742,7 +1889,7 @@ function ContextMenuItem({
|
|
|
1742
1889
|
"data-slot": "context-menu-item",
|
|
1743
1890
|
"data-inset": inset,
|
|
1744
1891
|
"data-variant": variant,
|
|
1745
|
-
className:
|
|
1892
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1746
1893
|
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
1747
1894
|
className
|
|
1748
1895
|
),
|
|
@@ -1760,7 +1907,7 @@ function ContextMenuCheckboxItem({
|
|
|
1760
1907
|
ContextMenuPrimitive__namespace.CheckboxItem,
|
|
1761
1908
|
{
|
|
1762
1909
|
"data-slot": "context-menu-checkbox-item",
|
|
1763
|
-
className:
|
|
1910
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1764
1911
|
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1765
1912
|
className
|
|
1766
1913
|
),
|
|
@@ -1782,7 +1929,7 @@ function ContextMenuRadioItem({
|
|
|
1782
1929
|
ContextMenuPrimitive__namespace.RadioItem,
|
|
1783
1930
|
{
|
|
1784
1931
|
"data-slot": "context-menu-radio-item",
|
|
1785
|
-
className:
|
|
1932
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1786
1933
|
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1787
1934
|
className
|
|
1788
1935
|
),
|
|
@@ -1804,7 +1951,7 @@ function ContextMenuLabel({
|
|
|
1804
1951
|
{
|
|
1805
1952
|
"data-slot": "context-menu-label",
|
|
1806
1953
|
"data-inset": inset,
|
|
1807
|
-
className:
|
|
1954
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1808
1955
|
"px-2 py-1.5 text-sm font-medium text-foreground data-[inset]:pl-8",
|
|
1809
1956
|
className
|
|
1810
1957
|
),
|
|
@@ -1820,7 +1967,7 @@ function ContextMenuSeparator({
|
|
|
1820
1967
|
ContextMenuPrimitive__namespace.Separator,
|
|
1821
1968
|
{
|
|
1822
1969
|
"data-slot": "context-menu-separator",
|
|
1823
|
-
className:
|
|
1970
|
+
className: chunkD5LKWKG7_js.cn("-mx-1 my-1 h-px bg-border", className),
|
|
1824
1971
|
...props
|
|
1825
1972
|
}
|
|
1826
1973
|
);
|
|
@@ -1833,7 +1980,7 @@ function ContextMenuShortcut({
|
|
|
1833
1980
|
"span",
|
|
1834
1981
|
{
|
|
1835
1982
|
"data-slot": "context-menu-shortcut",
|
|
1836
|
-
className:
|
|
1983
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1837
1984
|
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
1838
1985
|
className
|
|
1839
1986
|
),
|
|
@@ -1843,17 +1990,24 @@ function ContextMenuShortcut({
|
|
|
1843
1990
|
}
|
|
1844
1991
|
function Menubar({
|
|
1845
1992
|
className,
|
|
1993
|
+
surface,
|
|
1994
|
+
radius,
|
|
1995
|
+
animated,
|
|
1846
1996
|
...props
|
|
1847
1997
|
}) {
|
|
1998
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1848
1999
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1849
2000
|
MenubarPrimitive__namespace.Root,
|
|
1850
2001
|
{
|
|
2002
|
+
...props,
|
|
1851
2003
|
"data-slot": "menubar",
|
|
1852
|
-
|
|
2004
|
+
"data-surface": sf.surface,
|
|
2005
|
+
"data-radius": sf.radius,
|
|
2006
|
+
"data-animated": String(sf.animated),
|
|
2007
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1853
2008
|
"flex h-9 items-center gap-1 rounded-md border bg-background p-1 shadow-xs",
|
|
1854
2009
|
className
|
|
1855
|
-
)
|
|
1856
|
-
...props
|
|
2010
|
+
)
|
|
1857
2011
|
}
|
|
1858
2012
|
);
|
|
1859
2013
|
}
|
|
@@ -1885,7 +2039,7 @@ function MenubarTrigger({
|
|
|
1885
2039
|
MenubarPrimitive__namespace.Trigger,
|
|
1886
2040
|
{
|
|
1887
2041
|
"data-slot": "menubar-trigger",
|
|
1888
|
-
className:
|
|
2042
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1889
2043
|
"flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
1890
2044
|
className
|
|
1891
2045
|
),
|
|
@@ -1898,20 +2052,27 @@ function MenubarContent({
|
|
|
1898
2052
|
align = "start",
|
|
1899
2053
|
alignOffset = -4,
|
|
1900
2054
|
sideOffset = 8,
|
|
2055
|
+
surface,
|
|
2056
|
+
radius,
|
|
2057
|
+
animated,
|
|
1901
2058
|
...props
|
|
1902
2059
|
}) {
|
|
2060
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
1903
2061
|
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1904
2062
|
MenubarPrimitive__namespace.Content,
|
|
1905
2063
|
{
|
|
2064
|
+
...props,
|
|
1906
2065
|
"data-slot": "menubar-content",
|
|
2066
|
+
"data-surface": sf.surface,
|
|
2067
|
+
"data-radius": sf.radius,
|
|
2068
|
+
"data-animated": String(sf.animated),
|
|
1907
2069
|
align,
|
|
1908
2070
|
alignOffset,
|
|
1909
2071
|
sideOffset,
|
|
1910
|
-
className:
|
|
2072
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1911
2073
|
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1912
2074
|
className
|
|
1913
|
-
)
|
|
1914
|
-
...props
|
|
2075
|
+
)
|
|
1915
2076
|
}
|
|
1916
2077
|
) });
|
|
1917
2078
|
}
|
|
@@ -1927,7 +2088,7 @@ function MenubarItem({
|
|
|
1927
2088
|
"data-slot": "menubar-item",
|
|
1928
2089
|
"data-inset": inset,
|
|
1929
2090
|
"data-variant": variant,
|
|
1930
|
-
className:
|
|
2091
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1931
2092
|
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
1932
2093
|
className
|
|
1933
2094
|
),
|
|
@@ -1945,7 +2106,7 @@ function MenubarCheckboxItem({
|
|
|
1945
2106
|
MenubarPrimitive__namespace.CheckboxItem,
|
|
1946
2107
|
{
|
|
1947
2108
|
"data-slot": "menubar-checkbox-item",
|
|
1948
|
-
className:
|
|
2109
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1949
2110
|
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1950
2111
|
className
|
|
1951
2112
|
),
|
|
@@ -1967,7 +2128,7 @@ function MenubarRadioItem({
|
|
|
1967
2128
|
MenubarPrimitive__namespace.RadioItem,
|
|
1968
2129
|
{
|
|
1969
2130
|
"data-slot": "menubar-radio-item",
|
|
1970
|
-
className:
|
|
2131
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1971
2132
|
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1972
2133
|
className
|
|
1973
2134
|
),
|
|
@@ -1989,7 +2150,7 @@ function MenubarLabel({
|
|
|
1989
2150
|
{
|
|
1990
2151
|
"data-slot": "menubar-label",
|
|
1991
2152
|
"data-inset": inset,
|
|
1992
|
-
className:
|
|
2153
|
+
className: chunkD5LKWKG7_js.cn(
|
|
1993
2154
|
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
1994
2155
|
className
|
|
1995
2156
|
),
|
|
@@ -2005,7 +2166,7 @@ function MenubarSeparator({
|
|
|
2005
2166
|
MenubarPrimitive__namespace.Separator,
|
|
2006
2167
|
{
|
|
2007
2168
|
"data-slot": "menubar-separator",
|
|
2008
|
-
className:
|
|
2169
|
+
className: chunkD5LKWKG7_js.cn("-mx-1 my-1 h-px bg-border", className),
|
|
2009
2170
|
...props
|
|
2010
2171
|
}
|
|
2011
2172
|
);
|
|
@@ -2018,7 +2179,7 @@ function MenubarShortcut({
|
|
|
2018
2179
|
"span",
|
|
2019
2180
|
{
|
|
2020
2181
|
"data-slot": "menubar-shortcut",
|
|
2021
|
-
className:
|
|
2182
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2022
2183
|
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
2023
2184
|
className
|
|
2024
2185
|
),
|
|
@@ -2042,7 +2203,7 @@ function MenubarSubTrigger({
|
|
|
2042
2203
|
{
|
|
2043
2204
|
"data-slot": "menubar-sub-trigger",
|
|
2044
2205
|
"data-inset": inset,
|
|
2045
|
-
className:
|
|
2206
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2046
2207
|
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
2047
2208
|
className
|
|
2048
2209
|
),
|
|
@@ -2062,7 +2223,7 @@ function MenubarSubContent({
|
|
|
2062
2223
|
MenubarPrimitive__namespace.SubContent,
|
|
2063
2224
|
{
|
|
2064
2225
|
"data-slot": "menubar-sub-content",
|
|
2065
|
-
className:
|
|
2226
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2066
2227
|
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2067
2228
|
className
|
|
2068
2229
|
),
|
|
@@ -2074,18 +2235,25 @@ function NavigationMenu({
|
|
|
2074
2235
|
className,
|
|
2075
2236
|
children,
|
|
2076
2237
|
viewport = true,
|
|
2238
|
+
surface,
|
|
2239
|
+
radius,
|
|
2240
|
+
animated,
|
|
2077
2241
|
...props
|
|
2078
2242
|
}) {
|
|
2243
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2079
2244
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2080
2245
|
NavigationMenuPrimitive__namespace.Root,
|
|
2081
2246
|
{
|
|
2247
|
+
...props,
|
|
2082
2248
|
"data-slot": "navigation-menu",
|
|
2083
2249
|
"data-viewport": viewport,
|
|
2084
|
-
|
|
2250
|
+
"data-surface": sf.surface,
|
|
2251
|
+
"data-radius": sf.radius,
|
|
2252
|
+
"data-animated": String(sf.animated),
|
|
2253
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2085
2254
|
"group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
|
|
2086
2255
|
className
|
|
2087
2256
|
),
|
|
2088
|
-
...props,
|
|
2089
2257
|
children: [
|
|
2090
2258
|
children,
|
|
2091
2259
|
viewport && /* @__PURE__ */ jsxRuntime.jsx(NavigationMenuViewport, {})
|
|
@@ -2101,7 +2269,7 @@ function NavigationMenuList({
|
|
|
2101
2269
|
NavigationMenuPrimitive__namespace.List,
|
|
2102
2270
|
{
|
|
2103
2271
|
"data-slot": "navigation-menu-list",
|
|
2104
|
-
className:
|
|
2272
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2105
2273
|
"group flex flex-1 list-none items-center justify-center gap-1",
|
|
2106
2274
|
className
|
|
2107
2275
|
),
|
|
@@ -2117,7 +2285,7 @@ function NavigationMenuItem({
|
|
|
2117
2285
|
NavigationMenuPrimitive__namespace.Item,
|
|
2118
2286
|
{
|
|
2119
2287
|
"data-slot": "navigation-menu-item",
|
|
2120
|
-
className:
|
|
2288
|
+
className: chunkD5LKWKG7_js.cn("relative", className),
|
|
2121
2289
|
...props
|
|
2122
2290
|
}
|
|
2123
2291
|
);
|
|
@@ -2134,7 +2302,7 @@ function NavigationMenuTrigger({
|
|
|
2134
2302
|
NavigationMenuPrimitive__namespace.Trigger,
|
|
2135
2303
|
{
|
|
2136
2304
|
"data-slot": "navigation-menu-trigger",
|
|
2137
|
-
className:
|
|
2305
|
+
className: chunkD5LKWKG7_js.cn(navigationMenuTriggerStyle(), "group", className),
|
|
2138
2306
|
...props,
|
|
2139
2307
|
children: [
|
|
2140
2308
|
children,
|
|
@@ -2158,7 +2326,7 @@ function NavigationMenuContent({
|
|
|
2158
2326
|
NavigationMenuPrimitive__namespace.Content,
|
|
2159
2327
|
{
|
|
2160
2328
|
"data-slot": "navigation-menu-content",
|
|
2161
|
-
className:
|
|
2329
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2162
2330
|
"top-0 left-0 w-full p-2 pr-2.5 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out md:absolute md:w-auto",
|
|
2163
2331
|
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
2164
2332
|
className
|
|
@@ -2174,14 +2342,14 @@ function NavigationMenuViewport({
|
|
|
2174
2342
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2175
2343
|
"div",
|
|
2176
2344
|
{
|
|
2177
|
-
className:
|
|
2345
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2178
2346
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
2179
2347
|
),
|
|
2180
2348
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2181
2349
|
NavigationMenuPrimitive__namespace.Viewport,
|
|
2182
2350
|
{
|
|
2183
2351
|
"data-slot": "navigation-menu-viewport",
|
|
2184
|
-
className:
|
|
2352
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2185
2353
|
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2186
2354
|
className
|
|
2187
2355
|
),
|
|
@@ -2199,7 +2367,7 @@ function NavigationMenuLink({
|
|
|
2199
2367
|
NavigationMenuPrimitive__namespace.Link,
|
|
2200
2368
|
{
|
|
2201
2369
|
"data-slot": "navigation-menu-link",
|
|
2202
|
-
className:
|
|
2370
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2203
2371
|
"flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground data-[active=true]:hover:bg-accent data-[active=true]:focus:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
2204
2372
|
className
|
|
2205
2373
|
),
|
|
@@ -2215,7 +2383,7 @@ function NavigationMenuIndicator({
|
|
|
2215
2383
|
NavigationMenuPrimitive__namespace.Indicator,
|
|
2216
2384
|
{
|
|
2217
2385
|
"data-slot": "navigation-menu-indicator",
|
|
2218
|
-
className:
|
|
2386
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2219
2387
|
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",
|
|
2220
2388
|
className
|
|
2221
2389
|
),
|
|
@@ -2229,19 +2397,22 @@ var RADIUS_BY_AS = {
|
|
|
2229
2397
|
text: "var(--radius-sm)",
|
|
2230
2398
|
card: "var(--radius-lg)"
|
|
2231
2399
|
};
|
|
2232
|
-
function Skeleton({ as, className, style, ...props }) {
|
|
2400
|
+
function Skeleton({ as, className, style, surface, radius, animated, ...props }) {
|
|
2401
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ radius, animated });
|
|
2233
2402
|
const radiusStyle = as ? { borderRadius: RADIUS_BY_AS[as], ...style } : style;
|
|
2234
2403
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2235
2404
|
"div",
|
|
2236
2405
|
{
|
|
2406
|
+
...props,
|
|
2237
2407
|
"data-slot": "skeleton",
|
|
2238
|
-
|
|
2408
|
+
"data-radius": sf.radius,
|
|
2409
|
+
"data-animated": String(sf.animated),
|
|
2410
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2239
2411
|
!as && "rounded-md",
|
|
2240
2412
|
"bg-gradient-to-r from-accent/80 via-accent/40 to-accent/80 bg-[length:200%_100%] animate-[shimmer_2s_ease-in-out_infinite] motion-reduce:animate-none motion-reduce:bg-accent/60",
|
|
2241
2413
|
className
|
|
2242
2414
|
),
|
|
2243
|
-
style: radiusStyle
|
|
2244
|
-
...props
|
|
2415
|
+
style: radiusStyle
|
|
2245
2416
|
}
|
|
2246
2417
|
);
|
|
2247
2418
|
}
|
|
@@ -2269,14 +2440,21 @@ function Toggle({
|
|
|
2269
2440
|
className,
|
|
2270
2441
|
variant,
|
|
2271
2442
|
size,
|
|
2443
|
+
surface,
|
|
2444
|
+
radius,
|
|
2445
|
+
animated,
|
|
2272
2446
|
...props
|
|
2273
2447
|
}) {
|
|
2448
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2274
2449
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2275
2450
|
TogglePrimitive__namespace.Root,
|
|
2276
2451
|
{
|
|
2452
|
+
...props,
|
|
2277
2453
|
"data-slot": "toggle",
|
|
2278
|
-
|
|
2279
|
-
|
|
2454
|
+
"data-surface": sf.surface,
|
|
2455
|
+
"data-radius": sf.radius,
|
|
2456
|
+
"data-animated": String(sf.animated),
|
|
2457
|
+
className: chunkD5LKWKG7_js.cn(toggleVariants({ variant, size, className }))
|
|
2280
2458
|
}
|
|
2281
2459
|
);
|
|
2282
2460
|
}
|
|
@@ -2291,21 +2469,28 @@ function ToggleGroup({
|
|
|
2291
2469
|
size,
|
|
2292
2470
|
spacing = 0,
|
|
2293
2471
|
children,
|
|
2472
|
+
surface,
|
|
2473
|
+
radius,
|
|
2474
|
+
animated,
|
|
2294
2475
|
...props
|
|
2295
2476
|
}) {
|
|
2477
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2296
2478
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2297
2479
|
ToggleGroupPrimitive__namespace.Root,
|
|
2298
2480
|
{
|
|
2481
|
+
...props,
|
|
2299
2482
|
"data-slot": "toggle-group",
|
|
2300
2483
|
"data-variant": variant,
|
|
2301
2484
|
"data-size": size,
|
|
2302
2485
|
"data-spacing": spacing,
|
|
2486
|
+
"data-surface": sf.surface,
|
|
2487
|
+
"data-radius": sf.radius,
|
|
2488
|
+
"data-animated": String(sf.animated),
|
|
2303
2489
|
style: { "--gap": spacing },
|
|
2304
|
-
className:
|
|
2490
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2305
2491
|
"group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md data-[spacing=default]:data-[variant=outline]:shadow-xs",
|
|
2306
2492
|
className
|
|
2307
2493
|
),
|
|
2308
|
-
...props,
|
|
2309
2494
|
children: /* @__PURE__ */ jsxRuntime.jsx(ToggleGroupContext.Provider, { value: { variant, size, spacing }, children })
|
|
2310
2495
|
}
|
|
2311
2496
|
);
|
|
@@ -2325,7 +2510,7 @@ function ToggleGroupItem({
|
|
|
2325
2510
|
"data-variant": context.variant || variant,
|
|
2326
2511
|
"data-size": context.size || size,
|
|
2327
2512
|
"data-spacing": context.spacing,
|
|
2328
|
-
className:
|
|
2513
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2329
2514
|
toggleVariants({
|
|
2330
2515
|
variant: context.variant || variant,
|
|
2331
2516
|
size: context.size || size
|
|
@@ -2341,14 +2526,21 @@ function ToggleGroupItem({
|
|
|
2341
2526
|
}
|
|
2342
2527
|
function RadioGroup4({
|
|
2343
2528
|
className,
|
|
2529
|
+
surface,
|
|
2530
|
+
radius,
|
|
2531
|
+
animated,
|
|
2344
2532
|
...props
|
|
2345
2533
|
}) {
|
|
2534
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2346
2535
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2347
2536
|
RadioGroupPrimitive__namespace.Root,
|
|
2348
2537
|
{
|
|
2538
|
+
...props,
|
|
2349
2539
|
"data-slot": "radio-group",
|
|
2350
|
-
|
|
2351
|
-
|
|
2540
|
+
"data-surface": sf.surface,
|
|
2541
|
+
"data-radius": sf.radius,
|
|
2542
|
+
"data-animated": String(sf.animated),
|
|
2543
|
+
className: chunkD5LKWKG7_js.cn("grid gap-3", className)
|
|
2352
2544
|
}
|
|
2353
2545
|
);
|
|
2354
2546
|
}
|
|
@@ -2360,7 +2552,7 @@ function RadioGroupItem({
|
|
|
2360
2552
|
RadioGroupPrimitive__namespace.Item,
|
|
2361
2553
|
{
|
|
2362
2554
|
"data-slot": "radio-group-item",
|
|
2363
|
-
className:
|
|
2555
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2364
2556
|
"aspect-square size-4 shrink-0 cursor-pointer rounded-full border border-input text-primary shadow-xs transition-all duration-150 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:shadow-[0_0_0_1px] data-[state=checked]:shadow-primary/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40",
|
|
2365
2557
|
className
|
|
2366
2558
|
),
|
|
@@ -2393,38 +2585,55 @@ function CollapsibleTrigger2({
|
|
|
2393
2585
|
);
|
|
2394
2586
|
}
|
|
2395
2587
|
function CollapsibleContent2({
|
|
2588
|
+
surface,
|
|
2589
|
+
radius,
|
|
2590
|
+
animated,
|
|
2396
2591
|
...props
|
|
2397
2592
|
}) {
|
|
2593
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2398
2594
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2399
2595
|
CollapsiblePrimitive__namespace.CollapsibleContent,
|
|
2400
2596
|
{
|
|
2597
|
+
...props,
|
|
2401
2598
|
"data-slot": "collapsible-content",
|
|
2402
|
-
|
|
2599
|
+
"data-surface": sf.surface,
|
|
2600
|
+
"data-radius": sf.radius,
|
|
2601
|
+
"data-animated": String(sf.animated)
|
|
2403
2602
|
}
|
|
2404
2603
|
);
|
|
2405
2604
|
}
|
|
2406
|
-
function Spinner({ className, ...props }) {
|
|
2605
|
+
function Spinner({ className, surface, radius, animated, ...props }) {
|
|
2606
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ animated });
|
|
2407
2607
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2408
2608
|
lucideReact.Loader2Icon,
|
|
2409
2609
|
{
|
|
2610
|
+
...props,
|
|
2410
2611
|
role: "status",
|
|
2411
2612
|
"aria-label": "Loading",
|
|
2412
|
-
|
|
2413
|
-
|
|
2613
|
+
"data-slot": "spinner",
|
|
2614
|
+
"data-animated": String(sf.animated),
|
|
2615
|
+
className: chunkD5LKWKG7_js.cn("size-4 animate-spin", className)
|
|
2414
2616
|
}
|
|
2415
2617
|
);
|
|
2416
2618
|
}
|
|
2417
2619
|
function ScrollArea({
|
|
2418
2620
|
className,
|
|
2419
2621
|
children,
|
|
2622
|
+
surface,
|
|
2623
|
+
radius,
|
|
2624
|
+
animated,
|
|
2420
2625
|
...props
|
|
2421
2626
|
}) {
|
|
2627
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
2422
2628
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2423
2629
|
ScrollAreaPrimitive__namespace.Root,
|
|
2424
2630
|
{
|
|
2425
|
-
"data-slot": "scroll-area",
|
|
2426
|
-
className: chunkM3ICCPCU_js.cn("relative", className),
|
|
2427
2631
|
...props,
|
|
2632
|
+
"data-slot": "scroll-area",
|
|
2633
|
+
"data-surface": sf.surface,
|
|
2634
|
+
"data-radius": sf.radius,
|
|
2635
|
+
"data-animated": String(sf.animated),
|
|
2636
|
+
className: chunkD5LKWKG7_js.cn("relative", className),
|
|
2428
2637
|
children: [
|
|
2429
2638
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2430
2639
|
ScrollAreaPrimitive__namespace.Viewport,
|
|
@@ -2450,7 +2659,7 @@ function ScrollBar({
|
|
|
2450
2659
|
{
|
|
2451
2660
|
"data-slot": "scroll-area-scrollbar",
|
|
2452
2661
|
orientation,
|
|
2453
|
-
className:
|
|
2662
|
+
className: chunkD5LKWKG7_js.cn(
|
|
2454
2663
|
"flex touch-none p-px transition-colors select-none",
|
|
2455
2664
|
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
2456
2665
|
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
@@ -3547,11 +3756,16 @@ var Toaster = /* @__PURE__ */ React5__namespace.default.forwardRef(function Toas
|
|
|
3547
3756
|
}))
|
|
3548
3757
|
);
|
|
3549
3758
|
});
|
|
3550
|
-
var Toaster3 = ({ ...props }) => {
|
|
3759
|
+
var Toaster3 = ({ surface, radius, animated, ...props }) => {
|
|
3551
3760
|
const { theme = "system" } = nextThemes.useTheme();
|
|
3761
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
3552
3762
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3553
3763
|
Toaster,
|
|
3554
3764
|
{
|
|
3765
|
+
"data-slot": "toaster",
|
|
3766
|
+
"data-surface": sf.surface,
|
|
3767
|
+
"data-radius": sf.radius,
|
|
3768
|
+
"data-animated": String(sf.animated),
|
|
3555
3769
|
theme,
|
|
3556
3770
|
className: "toaster group",
|
|
3557
3771
|
icons: {
|
|
@@ -3576,15 +3790,26 @@ function AspectRatio({
|
|
|
3576
3790
|
}) {
|
|
3577
3791
|
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatioPrimitive__namespace.Root, { "data-slot": "aspect-ratio", ...props });
|
|
3578
3792
|
}
|
|
3579
|
-
function Breadcrumb({ ...props }) {
|
|
3580
|
-
|
|
3793
|
+
function Breadcrumb({ surface, radius, animated, ...props }) {
|
|
3794
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
3795
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3796
|
+
"nav",
|
|
3797
|
+
{
|
|
3798
|
+
...props,
|
|
3799
|
+
"aria-label": "breadcrumb",
|
|
3800
|
+
"data-slot": "breadcrumb",
|
|
3801
|
+
"data-surface": sf.surface,
|
|
3802
|
+
"data-radius": sf.radius,
|
|
3803
|
+
"data-animated": String(sf.animated)
|
|
3804
|
+
}
|
|
3805
|
+
);
|
|
3581
3806
|
}
|
|
3582
3807
|
function BreadcrumbList({ className, ...props }) {
|
|
3583
3808
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3584
3809
|
"ol",
|
|
3585
3810
|
{
|
|
3586
3811
|
"data-slot": "breadcrumb-list",
|
|
3587
|
-
className:
|
|
3812
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3588
3813
|
"flex flex-wrap items-center gap-1.5 text-sm break-words text-muted-foreground sm:gap-2.5",
|
|
3589
3814
|
className
|
|
3590
3815
|
),
|
|
@@ -3597,7 +3822,7 @@ function BreadcrumbItem({ className, ...props }) {
|
|
|
3597
3822
|
"li",
|
|
3598
3823
|
{
|
|
3599
3824
|
"data-slot": "breadcrumb-item",
|
|
3600
|
-
className:
|
|
3825
|
+
className: chunkD5LKWKG7_js.cn("inline-flex items-center gap-1.5", className),
|
|
3601
3826
|
...props
|
|
3602
3827
|
}
|
|
3603
3828
|
);
|
|
@@ -3612,7 +3837,7 @@ function BreadcrumbLink({
|
|
|
3612
3837
|
Comp,
|
|
3613
3838
|
{
|
|
3614
3839
|
"data-slot": "breadcrumb-link",
|
|
3615
|
-
className:
|
|
3840
|
+
className: chunkD5LKWKG7_js.cn("transition-colors hover:text-foreground", className),
|
|
3616
3841
|
...props
|
|
3617
3842
|
}
|
|
3618
3843
|
);
|
|
@@ -3625,7 +3850,7 @@ function BreadcrumbPage({ className, ...props }) {
|
|
|
3625
3850
|
role: "link",
|
|
3626
3851
|
"aria-disabled": "true",
|
|
3627
3852
|
"aria-current": "page",
|
|
3628
|
-
className:
|
|
3853
|
+
className: chunkD5LKWKG7_js.cn("font-normal text-foreground", className),
|
|
3629
3854
|
...props
|
|
3630
3855
|
}
|
|
3631
3856
|
);
|
|
@@ -3641,7 +3866,7 @@ function BreadcrumbSeparator({
|
|
|
3641
3866
|
"data-slot": "breadcrumb-separator",
|
|
3642
3867
|
role: "presentation",
|
|
3643
3868
|
"aria-hidden": "true",
|
|
3644
|
-
className:
|
|
3869
|
+
className: chunkD5LKWKG7_js.cn("[&>svg]:size-3.5", className),
|
|
3645
3870
|
...props,
|
|
3646
3871
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
3647
3872
|
}
|
|
@@ -3657,7 +3882,7 @@ function BreadcrumbEllipsis({
|
|
|
3657
3882
|
"data-slot": "breadcrumb-ellipsis",
|
|
3658
3883
|
role: "presentation",
|
|
3659
3884
|
"aria-hidden": "true",
|
|
3660
|
-
className:
|
|
3885
|
+
className: chunkD5LKWKG7_js.cn("flex size-9 items-center justify-center", className),
|
|
3661
3886
|
...props,
|
|
3662
3887
|
children: [
|
|
3663
3888
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" }),
|
|
@@ -3678,7 +3903,7 @@ function Separator5({
|
|
|
3678
3903
|
"data-slot": "separator",
|
|
3679
3904
|
decorative,
|
|
3680
3905
|
orientation,
|
|
3681
|
-
className:
|
|
3906
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3682
3907
|
"shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
3683
3908
|
className
|
|
3684
3909
|
),
|
|
@@ -3711,7 +3936,7 @@ function ButtonGroup({
|
|
|
3711
3936
|
role: "group",
|
|
3712
3937
|
"data-slot": "button-group",
|
|
3713
3938
|
"data-orientation": orientation,
|
|
3714
|
-
className:
|
|
3939
|
+
className: chunkD5LKWKG7_js.cn(buttonGroupVariants({ orientation }), className),
|
|
3715
3940
|
...props
|
|
3716
3941
|
}
|
|
3717
3942
|
);
|
|
@@ -3725,7 +3950,7 @@ function ButtonGroupText({
|
|
|
3725
3950
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3726
3951
|
Comp,
|
|
3727
3952
|
{
|
|
3728
|
-
className:
|
|
3953
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3729
3954
|
"flex items-center gap-2 rounded-md border bg-muted px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
3730
3955
|
className
|
|
3731
3956
|
),
|
|
@@ -3743,7 +3968,7 @@ function ButtonGroupSeparator({
|
|
|
3743
3968
|
{
|
|
3744
3969
|
"data-slot": "button-group-separator",
|
|
3745
3970
|
orientation,
|
|
3746
|
-
className:
|
|
3971
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3747
3972
|
"relative m-0! self-stretch bg-input data-[orientation=vertical]:h-auto",
|
|
3748
3973
|
className
|
|
3749
3974
|
),
|
|
@@ -3766,7 +3991,7 @@ function ComboboxContent({
|
|
|
3766
3991
|
"data-slot": "combobox-content",
|
|
3767
3992
|
align,
|
|
3768
3993
|
sideOffset,
|
|
3769
|
-
className:
|
|
3994
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3770
3995
|
"z-50 w-[var(--radix-popover-trigger-width)] min-w-[12rem] origin-[var(--radix-popover-content-transform-origin)] overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
3771
3996
|
className
|
|
3772
3997
|
),
|
|
@@ -3797,7 +4022,7 @@ function ComboboxInput({
|
|
|
3797
4022
|
cmdk.Command.Input,
|
|
3798
4023
|
{
|
|
3799
4024
|
"data-slot": "combobox-input",
|
|
3800
|
-
className:
|
|
4025
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3801
4026
|
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
3802
4027
|
className
|
|
3803
4028
|
),
|
|
@@ -3816,7 +4041,7 @@ function ComboboxList({
|
|
|
3816
4041
|
cmdk.Command.List,
|
|
3817
4042
|
{
|
|
3818
4043
|
"data-slot": "combobox-list",
|
|
3819
|
-
className:
|
|
4044
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3820
4045
|
"max-h-[min(24rem,var(--radix-popover-content-available-height))] scroll-py-1 overflow-x-hidden overflow-y-auto p-1",
|
|
3821
4046
|
className
|
|
3822
4047
|
),
|
|
@@ -3834,7 +4059,7 @@ function ComboboxItem({
|
|
|
3834
4059
|
cmdk.Command.Item,
|
|
3835
4060
|
{
|
|
3836
4061
|
"data-slot": "combobox-item",
|
|
3837
|
-
className:
|
|
4062
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3838
4063
|
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3839
4064
|
className
|
|
3840
4065
|
),
|
|
@@ -3860,7 +4085,7 @@ function ComboboxGroup({
|
|
|
3860
4085
|
cmdk.Command.Group,
|
|
3861
4086
|
{
|
|
3862
4087
|
"data-slot": "combobox-group",
|
|
3863
|
-
className:
|
|
4088
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3864
4089
|
"overflow-hidden text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
3865
4090
|
className
|
|
3866
4091
|
),
|
|
@@ -3876,7 +4101,7 @@ function ComboboxEmpty({
|
|
|
3876
4101
|
cmdk.Command.Empty,
|
|
3877
4102
|
{
|
|
3878
4103
|
"data-slot": "combobox-empty",
|
|
3879
|
-
className:
|
|
4104
|
+
className: chunkD5LKWKG7_js.cn("py-6 text-center text-sm text-muted-foreground", className),
|
|
3880
4105
|
...props
|
|
3881
4106
|
}
|
|
3882
4107
|
);
|
|
@@ -3889,7 +4114,7 @@ function ComboboxSeparator({
|
|
|
3889
4114
|
cmdk.Command.Separator,
|
|
3890
4115
|
{
|
|
3891
4116
|
"data-slot": "combobox-separator",
|
|
3892
|
-
className:
|
|
4117
|
+
className: chunkD5LKWKG7_js.cn("-mx-1 my-1 h-px bg-border", className),
|
|
3893
4118
|
...props
|
|
3894
4119
|
}
|
|
3895
4120
|
);
|
|
@@ -3902,16 +4127,20 @@ function DirectionProvider2({
|
|
|
3902
4127
|
return /* @__PURE__ */ jsxRuntime.jsx(Direction__namespace.DirectionProvider, { dir: direction ?? dir, children });
|
|
3903
4128
|
}
|
|
3904
4129
|
var useDirection2 = Direction__namespace.useDirection;
|
|
3905
|
-
function Empty({ className, ...props }) {
|
|
4130
|
+
function Empty({ className, surface, radius, animated, ...props }) {
|
|
4131
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
3906
4132
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3907
4133
|
"div",
|
|
3908
4134
|
{
|
|
4135
|
+
...props,
|
|
3909
4136
|
"data-slot": "empty",
|
|
3910
|
-
|
|
4137
|
+
"data-surface": sf.surface,
|
|
4138
|
+
"data-radius": sf.radius,
|
|
4139
|
+
"data-animated": String(sf.animated),
|
|
4140
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3911
4141
|
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12",
|
|
3912
4142
|
className
|
|
3913
|
-
)
|
|
3914
|
-
...props
|
|
4143
|
+
)
|
|
3915
4144
|
}
|
|
3916
4145
|
);
|
|
3917
4146
|
}
|
|
@@ -3920,7 +4149,7 @@ function EmptyHeader({ className, ...props }) {
|
|
|
3920
4149
|
"div",
|
|
3921
4150
|
{
|
|
3922
4151
|
"data-slot": "empty-header",
|
|
3923
|
-
className:
|
|
4152
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3924
4153
|
"flex max-w-sm flex-col items-center gap-2 text-center",
|
|
3925
4154
|
className
|
|
3926
4155
|
),
|
|
@@ -3952,7 +4181,7 @@ function EmptyMedia({
|
|
|
3952
4181
|
{
|
|
3953
4182
|
"data-slot": "empty-icon",
|
|
3954
4183
|
"data-variant": variant,
|
|
3955
|
-
className:
|
|
4184
|
+
className: chunkD5LKWKG7_js.cn(emptyMediaVariants({ variant, className })),
|
|
3956
4185
|
...props
|
|
3957
4186
|
}
|
|
3958
4187
|
);
|
|
@@ -3962,7 +4191,7 @@ function EmptyTitle({ className, ...props }) {
|
|
|
3962
4191
|
"div",
|
|
3963
4192
|
{
|
|
3964
4193
|
"data-slot": "empty-title",
|
|
3965
|
-
className:
|
|
4194
|
+
className: chunkD5LKWKG7_js.cn("text-lg font-medium tracking-tight", className),
|
|
3966
4195
|
...props
|
|
3967
4196
|
}
|
|
3968
4197
|
);
|
|
@@ -3972,7 +4201,7 @@ function EmptyDescription({ className, ...props }) {
|
|
|
3972
4201
|
"div",
|
|
3973
4202
|
{
|
|
3974
4203
|
"data-slot": "empty-description",
|
|
3975
|
-
className:
|
|
4204
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3976
4205
|
"text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
3977
4206
|
className
|
|
3978
4207
|
),
|
|
@@ -3985,7 +4214,7 @@ function EmptyContent({ className, ...props }) {
|
|
|
3985
4214
|
"div",
|
|
3986
4215
|
{
|
|
3987
4216
|
"data-slot": "empty-content",
|
|
3988
|
-
className:
|
|
4217
|
+
className: chunkD5LKWKG7_js.cn(
|
|
3989
4218
|
"flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance",
|
|
3990
4219
|
className
|
|
3991
4220
|
),
|
|
@@ -4001,7 +4230,7 @@ function Label5({
|
|
|
4001
4230
|
LabelPrimitive__namespace.Root,
|
|
4002
4231
|
{
|
|
4003
4232
|
"data-slot": "label",
|
|
4004
|
-
className:
|
|
4233
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4005
4234
|
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
4006
4235
|
className
|
|
4007
4236
|
),
|
|
@@ -4014,7 +4243,7 @@ function FieldSet({ className, ...props }) {
|
|
|
4014
4243
|
"fieldset",
|
|
4015
4244
|
{
|
|
4016
4245
|
"data-slot": "field-set",
|
|
4017
|
-
className:
|
|
4246
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4018
4247
|
"flex flex-col gap-6",
|
|
4019
4248
|
"has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
|
|
4020
4249
|
className
|
|
@@ -4033,7 +4262,7 @@ function FieldLegend({
|
|
|
4033
4262
|
{
|
|
4034
4263
|
"data-slot": "field-legend",
|
|
4035
4264
|
"data-variant": variant,
|
|
4036
|
-
className:
|
|
4265
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4037
4266
|
"mb-3 font-medium",
|
|
4038
4267
|
"data-[variant=legend]:text-base",
|
|
4039
4268
|
"data-[variant=label]:text-sm",
|
|
@@ -4048,7 +4277,7 @@ function FieldGroup({ className, ...props }) {
|
|
|
4048
4277
|
"div",
|
|
4049
4278
|
{
|
|
4050
4279
|
"data-slot": "field-group",
|
|
4051
|
-
className:
|
|
4280
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4052
4281
|
"group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",
|
|
4053
4282
|
className
|
|
4054
4283
|
),
|
|
@@ -4090,7 +4319,7 @@ function Field({
|
|
|
4090
4319
|
role: "group",
|
|
4091
4320
|
"data-slot": "field",
|
|
4092
4321
|
"data-orientation": orientation,
|
|
4093
|
-
className:
|
|
4322
|
+
className: chunkD5LKWKG7_js.cn(fieldVariants({ orientation }), className),
|
|
4094
4323
|
...props
|
|
4095
4324
|
}
|
|
4096
4325
|
);
|
|
@@ -4100,7 +4329,7 @@ function FieldContent({ className, ...props }) {
|
|
|
4100
4329
|
"div",
|
|
4101
4330
|
{
|
|
4102
4331
|
"data-slot": "field-content",
|
|
4103
|
-
className:
|
|
4332
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4104
4333
|
"group/field-content flex flex-1 flex-col gap-1.5 leading-snug",
|
|
4105
4334
|
className
|
|
4106
4335
|
),
|
|
@@ -4116,7 +4345,7 @@ function FieldLabel({
|
|
|
4116
4345
|
Label5,
|
|
4117
4346
|
{
|
|
4118
4347
|
"data-slot": "field-label",
|
|
4119
|
-
className:
|
|
4348
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4120
4349
|
"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
|
|
4121
4350
|
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4",
|
|
4122
4351
|
"has-data-[state=checked]:border-primary has-data-[state=checked]:bg-primary/5 dark:has-data-[state=checked]:bg-primary/10",
|
|
@@ -4131,7 +4360,7 @@ function FieldTitle({ className, ...props }) {
|
|
|
4131
4360
|
"div",
|
|
4132
4361
|
{
|
|
4133
4362
|
"data-slot": "field-label",
|
|
4134
|
-
className:
|
|
4363
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4135
4364
|
"flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",
|
|
4136
4365
|
className
|
|
4137
4366
|
),
|
|
@@ -4144,7 +4373,7 @@ function FieldDescription({ className, ...props }) {
|
|
|
4144
4373
|
"p",
|
|
4145
4374
|
{
|
|
4146
4375
|
"data-slot": "field-description",
|
|
4147
|
-
className:
|
|
4376
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4148
4377
|
"text-sm leading-normal font-normal text-muted-foreground group-has-[[data-orientation=horizontal]]/field:text-balance",
|
|
4149
4378
|
"last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
|
|
4150
4379
|
"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
@@ -4164,7 +4393,7 @@ function FieldSeparator({
|
|
|
4164
4393
|
{
|
|
4165
4394
|
"data-slot": "field-separator",
|
|
4166
4395
|
"data-content": !!children,
|
|
4167
|
-
className:
|
|
4396
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4168
4397
|
"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
|
|
4169
4398
|
className
|
|
4170
4399
|
),
|
|
@@ -4214,7 +4443,7 @@ function FieldError({
|
|
|
4214
4443
|
{
|
|
4215
4444
|
role: "alert",
|
|
4216
4445
|
"data-slot": "field-error",
|
|
4217
|
-
className:
|
|
4446
|
+
className: chunkD5LKWKG7_js.cn("text-sm font-normal text-destructive", className),
|
|
4218
4447
|
...props,
|
|
4219
4448
|
children: content
|
|
4220
4449
|
}
|
|
@@ -4257,7 +4486,7 @@ function FormItem({ className, ...props }) {
|
|
|
4257
4486
|
"div",
|
|
4258
4487
|
{
|
|
4259
4488
|
"data-slot": "form-item",
|
|
4260
|
-
className:
|
|
4489
|
+
className: chunkD5LKWKG7_js.cn("grid gap-2", className),
|
|
4261
4490
|
...props
|
|
4262
4491
|
}
|
|
4263
4492
|
) });
|
|
@@ -4272,7 +4501,7 @@ function FormLabel({
|
|
|
4272
4501
|
{
|
|
4273
4502
|
"data-slot": "form-label",
|
|
4274
4503
|
"data-error": !!error,
|
|
4275
|
-
className:
|
|
4504
|
+
className: chunkD5LKWKG7_js.cn("data-[error=true]:text-destructive", className),
|
|
4276
4505
|
htmlFor: formItemId,
|
|
4277
4506
|
...props
|
|
4278
4507
|
}
|
|
@@ -4298,7 +4527,7 @@ function FormDescription({ className, ...props }) {
|
|
|
4298
4527
|
{
|
|
4299
4528
|
"data-slot": "form-description",
|
|
4300
4529
|
id: formDescriptionId,
|
|
4301
|
-
className:
|
|
4530
|
+
className: chunkD5LKWKG7_js.cn("text-sm text-muted-foreground", className),
|
|
4302
4531
|
...props
|
|
4303
4532
|
}
|
|
4304
4533
|
);
|
|
@@ -4314,178 +4543,178 @@ function FormMessage({ className, ...props }) {
|
|
|
4314
4543
|
{
|
|
4315
4544
|
"data-slot": "form-message",
|
|
4316
4545
|
id: formMessageId,
|
|
4317
|
-
className:
|
|
4546
|
+
className: chunkD5LKWKG7_js.cn("text-sm text-destructive", className),
|
|
4318
4547
|
...props,
|
|
4319
4548
|
children: body
|
|
4320
4549
|
}
|
|
4321
4550
|
);
|
|
4322
4551
|
}
|
|
4323
4552
|
var Icons = {
|
|
4324
|
-
logo: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4553
|
+
logo: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-6 w-6", className), viewBox: "0 0 24 24", fill: "none", children: [
|
|
4325
4554
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", className: "fill-primary" }),
|
|
4326
4555
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 12a4 4 0 1 0 8 0", className: "stroke-primary-foreground", strokeWidth: "2", strokeLinecap: "round" })
|
|
4327
4556
|
] }),
|
|
4328
|
-
chat: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4329
|
-
settings: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4557
|
+
chat: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) }),
|
|
4558
|
+
settings: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4330
4559
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" }),
|
|
4331
4560
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
|
|
4332
4561
|
] }),
|
|
4333
|
-
pages: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4562
|
+
pages: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4334
4563
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "7", height: "7" }),
|
|
4335
4564
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "14", y: "3", width: "7", height: "7" }),
|
|
4336
4565
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "14", y: "14", width: "7", height: "7" }),
|
|
4337
4566
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "14", width: "7", height: "7" })
|
|
4338
4567
|
] }),
|
|
4339
|
-
preview: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4568
|
+
preview: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4340
4569
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
|
4341
4570
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
4342
4571
|
] }),
|
|
4343
|
-
analytics: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4572
|
+
analytics: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4344
4573
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "20", x2: "18", y2: "10" }),
|
|
4345
4574
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "20", x2: "12", y2: "4" }),
|
|
4346
4575
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "20", x2: "6", y2: "14" })
|
|
4347
4576
|
] }),
|
|
4348
|
-
share: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4577
|
+
share: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4349
4578
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "18", cy: "5", r: "3" }),
|
|
4350
4579
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "12", r: "3" }),
|
|
4351
4580
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "18", cy: "19", r: "3" }),
|
|
4352
4581
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8.59", y1: "13.51", x2: "15.42", y2: "17.49" }),
|
|
4353
4582
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "15.41", y1: "6.51", x2: "8.59", y2: "10.49" })
|
|
4354
4583
|
] }),
|
|
4355
|
-
send: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4584
|
+
send: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4356
4585
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "22", y1: "2", x2: "11", y2: "13" }),
|
|
4357
4586
|
/* @__PURE__ */ jsxRuntime.jsx("polygon", { points: "22 2 15 22 11 13 2 9 22 2" })
|
|
4358
4587
|
] }),
|
|
4359
|
-
edit: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4588
|
+
edit: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4360
4589
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
4361
4590
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
|
|
4362
4591
|
] }),
|
|
4363
|
-
pencil: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4592
|
+
pencil: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4364
4593
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" }),
|
|
4365
4594
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 5 4 4" })
|
|
4366
4595
|
] }),
|
|
4367
|
-
eye: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4596
|
+
eye: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4368
4597
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
|
4369
4598
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
4370
4599
|
] }),
|
|
4371
|
-
x: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4600
|
+
x: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4372
4601
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
4373
4602
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
4374
4603
|
] }),
|
|
4375
|
-
trash: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4604
|
+
trash: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4376
4605
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "3 6 5 6 21 6" }),
|
|
4377
4606
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }),
|
|
4378
4607
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }),
|
|
4379
4608
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })
|
|
4380
4609
|
] }),
|
|
4381
|
-
desktop: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4610
|
+
desktop: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4382
4611
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2", ry: "2" }),
|
|
4383
4612
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
|
|
4384
4613
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
|
|
4385
4614
|
] }),
|
|
4386
|
-
tablet: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4615
|
+
tablet: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4387
4616
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
|
|
4388
4617
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
|
|
4389
4618
|
] }),
|
|
4390
|
-
mobile: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4619
|
+
mobile: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4391
4620
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", ry: "2" }),
|
|
4392
4621
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "18", x2: "12.01", y2: "18" })
|
|
4393
4622
|
] }),
|
|
4394
|
-
chevronDown: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4395
|
-
chevronRight: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4396
|
-
plus: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4623
|
+
chevronDown: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) }),
|
|
4624
|
+
chevronRight: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" }) }),
|
|
4625
|
+
plus: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4397
4626
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
|
4398
4627
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
|
4399
4628
|
] }),
|
|
4400
|
-
folder: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4401
|
-
users: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4629
|
+
folder: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) }),
|
|
4630
|
+
users: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4402
4631
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
|
|
4403
4632
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "7", r: "4" }),
|
|
4404
4633
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
|
|
4405
4634
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
|
|
4406
4635
|
] }),
|
|
4407
|
-
sparkles: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4636
|
+
sparkles: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4408
4637
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z" }),
|
|
4409
4638
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 3v4" }),
|
|
4410
4639
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 17v4" }),
|
|
4411
4640
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 5h4" }),
|
|
4412
4641
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 19h4" })
|
|
4413
4642
|
] }),
|
|
4414
|
-
check: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4415
|
-
arrowLeft: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4643
|
+
check: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" }) }),
|
|
4644
|
+
arrowLeft: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4416
4645
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" }),
|
|
4417
4646
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" })
|
|
4418
4647
|
] }),
|
|
4419
|
-
home: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4648
|
+
home: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4420
4649
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }),
|
|
4421
4650
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 22 9 12 15 12 15 22" })
|
|
4422
4651
|
] }),
|
|
4423
|
-
helpCircle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4652
|
+
helpCircle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4424
4653
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
4425
4654
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
|
4426
4655
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 17h.01" })
|
|
4427
4656
|
] }),
|
|
4428
|
-
globe: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4657
|
+
globe: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4429
4658
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
4430
4659
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "2", y1: "12", x2: "22", y2: "12" }),
|
|
4431
4660
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" })
|
|
4432
4661
|
] }),
|
|
4433
|
-
download: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4662
|
+
download: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4434
4663
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
4435
4664
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "7 10 12 15 17 10" }),
|
|
4436
4665
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
|
|
4437
4666
|
] }),
|
|
4438
|
-
lock: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4667
|
+
lock: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4439
4668
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
|
|
4440
4669
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
|
|
4441
4670
|
] }),
|
|
4442
|
-
unlock: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4671
|
+
unlock: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4443
4672
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
|
|
4444
4673
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 11V7a5 5 0 0 1 5-5 5 5 0 0 1 5 5" })
|
|
4445
4674
|
] }),
|
|
4446
|
-
code: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4675
|
+
code: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4447
4676
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "16 18 22 12 16 6" }),
|
|
4448
4677
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "8 6 2 12 8 18" })
|
|
4449
4678
|
] }),
|
|
4450
|
-
github: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4679
|
+
github: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4451
4680
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" }),
|
|
4452
4681
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 18c-4.51 2-5-2-7-2" })
|
|
4453
4682
|
] }),
|
|
4454
|
-
copy: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4683
|
+
copy: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4455
4684
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
4456
4685
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
4457
4686
|
] }),
|
|
4458
|
-
spinner: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4459
|
-
refresh: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4687
|
+
spinner: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }) }),
|
|
4688
|
+
refresh: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4460
4689
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }),
|
|
4461
4690
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 3v5h-5" }),
|
|
4462
4691
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }),
|
|
4463
4692
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 16H3v5" })
|
|
4464
4693
|
] }),
|
|
4465
|
-
alertCircle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4694
|
+
alertCircle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4466
4695
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
4467
4696
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
4468
4697
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
4469
4698
|
] }),
|
|
4470
|
-
palette: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4699
|
+
palette: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4471
4700
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13.5", cy: "6.5", r: ".5" }),
|
|
4472
4701
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "17.5", cy: "10.5", r: ".5" }),
|
|
4473
4702
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8.5", cy: "7.5", r: ".5" }),
|
|
4474
4703
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6.5", cy: "12.5", r: ".5" }),
|
|
4475
4704
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.555C21.965 6.012 17.461 2 12 2z" })
|
|
4476
4705
|
] }),
|
|
4477
|
-
puzzle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className:
|
|
4478
|
-
upload: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4706
|
+
puzzle: ({ className }) => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19.439 7.85c-.049.322.059.648.289.878l1.568 1.568c.47.47.706 1.087.706 1.704s-.235 1.233-.706 1.704l-1.611 1.611a.98.98 0 0 1-.837.276c-.47-.07-.802-.48-.968-.925a2.501 2.501 0 1 0-3.214 3.214c.446.166.855.497.925.968a.979.979 0 0 1-.276.837l-1.61 1.61a2.404 2.404 0 0 1-1.705.707 2.402 2.402 0 0 1-1.704-.706l-1.568-1.568a1.026 1.026 0 0 0-.877-.29c-.493.074-.84.504-1.02.968a2.5 2.5 0 1 1-3.237-3.237c.464-.18.894-.527.967-1.02a1.026 1.026 0 0 0-.289-.877l-1.568-1.568A2.402 2.402 0 0 1 1.998 12c0-.617.236-1.234.706-1.704L4.23 8.77c.24-.24.581-.353.917-.303.515.077.877.528 1.073 1.01a2.5 2.5 0 1 0 3.259-3.259c-.482-.196-.933-.558-1.01-1.073-.05-.336.062-.676.303-.917l1.525-1.525A2.402 2.402 0 0 1 12 1.998c.617 0 1.234.236 1.704.706l1.568 1.568c.23.23.556.338.877.29.493-.074.84-.504 1.02-.968a2.5 2.5 0 1 1 3.237 3.237c-.464.18-.894.527-.967 1.02Z" }) }),
|
|
4707
|
+
upload: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4479
4708
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
4480
4709
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "17 8 12 3 7 8" }),
|
|
4481
4710
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })
|
|
4482
4711
|
] }),
|
|
4483
|
-
externalLink: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4712
|
+
externalLink: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4484
4713
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
4485
4714
|
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 3 21 3 21 9" }),
|
|
4486
4715
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
4487
4716
|
] }),
|
|
4488
|
-
gitBranch: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className:
|
|
4717
|
+
gitBranch: ({ className }) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: chunkD5LKWKG7_js.cn("h-4 w-4", className), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
4489
4718
|
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "3", x2: "6", y2: "15" }),
|
|
4490
4719
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "18", cy: "6", r: "3" }),
|
|
4491
4720
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "18", r: "3" }),
|
|
@@ -4498,7 +4727,7 @@ function InputGroup({ className, ...props }) {
|
|
|
4498
4727
|
{
|
|
4499
4728
|
"data-slot": "input-group",
|
|
4500
4729
|
role: "group",
|
|
4501
|
-
className:
|
|
4730
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4502
4731
|
"group/input-group relative flex w-full items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none dark:bg-input/30",
|
|
4503
4732
|
"h-9 min-w-0 has-[>textarea]:h-auto",
|
|
4504
4733
|
// Variants based on alignment.
|
|
@@ -4543,7 +4772,7 @@ function InputGroupAddon({
|
|
|
4543
4772
|
role: "group",
|
|
4544
4773
|
"data-slot": "input-group-addon",
|
|
4545
4774
|
"data-align": align,
|
|
4546
|
-
className:
|
|
4775
|
+
className: chunkD5LKWKG7_js.cn(inputGroupAddonVariants({ align }), className),
|
|
4547
4776
|
onClick: (e) => {
|
|
4548
4777
|
if (e.target.closest("button")) {
|
|
4549
4778
|
return;
|
|
@@ -4578,12 +4807,12 @@ function InputGroupButton({
|
|
|
4578
4807
|
...props
|
|
4579
4808
|
}) {
|
|
4580
4809
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4581
|
-
|
|
4810
|
+
chunkDNLCSV5M_js.Button,
|
|
4582
4811
|
{
|
|
4583
4812
|
type,
|
|
4584
4813
|
"data-size": size,
|
|
4585
4814
|
variant,
|
|
4586
|
-
className:
|
|
4815
|
+
className: chunkD5LKWKG7_js.cn(inputGroupButtonVariants({ size }), className),
|
|
4587
4816
|
...props
|
|
4588
4817
|
}
|
|
4589
4818
|
);
|
|
@@ -4592,7 +4821,7 @@ function InputGroupText({ className, ...props }) {
|
|
|
4592
4821
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4593
4822
|
"span",
|
|
4594
4823
|
{
|
|
4595
|
-
className:
|
|
4824
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4596
4825
|
"flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
4597
4826
|
className
|
|
4598
4827
|
),
|
|
@@ -4608,7 +4837,7 @@ function InputGroupInput({
|
|
|
4608
4837
|
Input,
|
|
4609
4838
|
{
|
|
4610
4839
|
"data-slot": "input-group-control",
|
|
4611
|
-
className:
|
|
4840
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4612
4841
|
"flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
4613
4842
|
className
|
|
4614
4843
|
),
|
|
@@ -4624,7 +4853,7 @@ function InputGroupTextarea({
|
|
|
4624
4853
|
Textarea,
|
|
4625
4854
|
{
|
|
4626
4855
|
"data-slot": "input-group-control",
|
|
4627
|
-
className:
|
|
4856
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4628
4857
|
"flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
4629
4858
|
className
|
|
4630
4859
|
),
|
|
@@ -4638,7 +4867,7 @@ function ItemGroup({ className, ...props }) {
|
|
|
4638
4867
|
{
|
|
4639
4868
|
role: "list",
|
|
4640
4869
|
"data-slot": "item-group",
|
|
4641
|
-
className:
|
|
4870
|
+
className: chunkD5LKWKG7_js.cn("group/item-group flex flex-col", className),
|
|
4642
4871
|
...props
|
|
4643
4872
|
}
|
|
4644
4873
|
);
|
|
@@ -4652,7 +4881,7 @@ function ItemSeparator({
|
|
|
4652
4881
|
{
|
|
4653
4882
|
"data-slot": "item-separator",
|
|
4654
4883
|
orientation: "horizontal",
|
|
4655
|
-
className:
|
|
4884
|
+
className: chunkD5LKWKG7_js.cn("my-0", className),
|
|
4656
4885
|
...props
|
|
4657
4886
|
}
|
|
4658
4887
|
);
|
|
@@ -4691,7 +4920,7 @@ function Item9({
|
|
|
4691
4920
|
"data-slot": "item",
|
|
4692
4921
|
"data-variant": variant,
|
|
4693
4922
|
"data-size": size,
|
|
4694
|
-
className:
|
|
4923
|
+
className: chunkD5LKWKG7_js.cn(itemVariants({ variant, size, className })),
|
|
4695
4924
|
...props
|
|
4696
4925
|
}
|
|
4697
4926
|
);
|
|
@@ -4721,7 +4950,7 @@ function ItemMedia({
|
|
|
4721
4950
|
{
|
|
4722
4951
|
"data-slot": "item-media",
|
|
4723
4952
|
"data-variant": variant,
|
|
4724
|
-
className:
|
|
4953
|
+
className: chunkD5LKWKG7_js.cn(itemMediaVariants({ variant, className })),
|
|
4725
4954
|
...props
|
|
4726
4955
|
}
|
|
4727
4956
|
);
|
|
@@ -4731,7 +4960,7 @@ function ItemContent({ className, ...props }) {
|
|
|
4731
4960
|
"div",
|
|
4732
4961
|
{
|
|
4733
4962
|
"data-slot": "item-content",
|
|
4734
|
-
className:
|
|
4963
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4735
4964
|
"flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none",
|
|
4736
4965
|
className
|
|
4737
4966
|
),
|
|
@@ -4744,7 +4973,7 @@ function ItemTitle({ className, ...props }) {
|
|
|
4744
4973
|
"div",
|
|
4745
4974
|
{
|
|
4746
4975
|
"data-slot": "item-title",
|
|
4747
|
-
className:
|
|
4976
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4748
4977
|
"flex w-fit items-center gap-2 text-sm leading-snug font-medium",
|
|
4749
4978
|
className
|
|
4750
4979
|
),
|
|
@@ -4757,7 +4986,7 @@ function ItemDescription({ className, ...props }) {
|
|
|
4757
4986
|
"p",
|
|
4758
4987
|
{
|
|
4759
4988
|
"data-slot": "item-description",
|
|
4760
|
-
className:
|
|
4989
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4761
4990
|
"line-clamp-2 text-sm leading-normal font-normal text-balance text-muted-foreground",
|
|
4762
4991
|
"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
4763
4992
|
className
|
|
@@ -4771,7 +5000,7 @@ function ItemActions({ className, ...props }) {
|
|
|
4771
5000
|
"div",
|
|
4772
5001
|
{
|
|
4773
5002
|
"data-slot": "item-actions",
|
|
4774
|
-
className:
|
|
5003
|
+
className: chunkD5LKWKG7_js.cn("flex items-center gap-2", className),
|
|
4775
5004
|
...props
|
|
4776
5005
|
}
|
|
4777
5006
|
);
|
|
@@ -4781,7 +5010,7 @@ function ItemHeader({ className, ...props }) {
|
|
|
4781
5010
|
"div",
|
|
4782
5011
|
{
|
|
4783
5012
|
"data-slot": "item-header",
|
|
4784
|
-
className:
|
|
5013
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4785
5014
|
"flex basis-full items-center justify-between gap-2",
|
|
4786
5015
|
className
|
|
4787
5016
|
),
|
|
@@ -4794,7 +5023,7 @@ function ItemFooter({ className, ...props }) {
|
|
|
4794
5023
|
"div",
|
|
4795
5024
|
{
|
|
4796
5025
|
"data-slot": "item-footer",
|
|
4797
|
-
className:
|
|
5026
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4798
5027
|
"flex basis-full items-center justify-between gap-2",
|
|
4799
5028
|
className
|
|
4800
5029
|
),
|
|
@@ -4802,18 +5031,22 @@ function ItemFooter({ className, ...props }) {
|
|
|
4802
5031
|
}
|
|
4803
5032
|
);
|
|
4804
5033
|
}
|
|
4805
|
-
function Kbd({ className, ...props }) {
|
|
5034
|
+
function Kbd({ className, surface, radius, animated, ...props }) {
|
|
5035
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
4806
5036
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4807
5037
|
"kbd",
|
|
4808
5038
|
{
|
|
5039
|
+
...props,
|
|
4809
5040
|
"data-slot": "kbd",
|
|
4810
|
-
|
|
5041
|
+
"data-surface": sf.surface,
|
|
5042
|
+
"data-radius": sf.radius,
|
|
5043
|
+
"data-animated": String(sf.animated),
|
|
5044
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4811
5045
|
"pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none",
|
|
4812
5046
|
"[&_svg:not([class*='size-'])]:size-3",
|
|
4813
5047
|
"[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",
|
|
4814
5048
|
className
|
|
4815
|
-
)
|
|
4816
|
-
...props
|
|
5049
|
+
)
|
|
4817
5050
|
}
|
|
4818
5051
|
);
|
|
4819
5052
|
}
|
|
@@ -4822,7 +5055,7 @@ function KbdGroup({ className, ...props }) {
|
|
|
4822
5055
|
"kbd",
|
|
4823
5056
|
{
|
|
4824
5057
|
"data-slot": "kbd-group",
|
|
4825
|
-
className:
|
|
5058
|
+
className: chunkD5LKWKG7_js.cn("inline-flex items-center gap-1", className),
|
|
4826
5059
|
...props
|
|
4827
5060
|
}
|
|
4828
5061
|
);
|
|
@@ -4830,8 +5063,12 @@ function KbdGroup({ className, ...props }) {
|
|
|
4830
5063
|
function NativeSelect({
|
|
4831
5064
|
className,
|
|
4832
5065
|
size = "default",
|
|
5066
|
+
surface,
|
|
5067
|
+
radius,
|
|
5068
|
+
animated,
|
|
4833
5069
|
...props
|
|
4834
5070
|
}) {
|
|
5071
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
4835
5072
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4836
5073
|
"div",
|
|
4837
5074
|
{
|
|
@@ -4841,15 +5078,18 @@ function NativeSelect({
|
|
|
4841
5078
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4842
5079
|
"select",
|
|
4843
5080
|
{
|
|
5081
|
+
...props,
|
|
4844
5082
|
"data-slot": "native-select",
|
|
4845
5083
|
"data-size": size,
|
|
4846
|
-
|
|
5084
|
+
"data-surface": sf.surface,
|
|
5085
|
+
"data-radius": sf.radius,
|
|
5086
|
+
"data-animated": String(sf.animated),
|
|
5087
|
+
className: chunkD5LKWKG7_js.cn(
|
|
4847
5088
|
"h-9 w-full min-w-0 appearance-none rounded-md border border-input bg-transparent px-3 py-2 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed data-[size=sm]:h-8 data-[size=sm]:py-1 dark:bg-input/30 dark:hover:bg-input/50",
|
|
4848
5089
|
"focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
4849
5090
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
|
|
4850
5091
|
className
|
|
4851
|
-
)
|
|
4852
|
-
...props
|
|
5092
|
+
)
|
|
4853
5093
|
}
|
|
4854
5094
|
),
|
|
4855
5095
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4875,7 +5115,7 @@ function NativeSelectOptGroup({
|
|
|
4875
5115
|
"optgroup",
|
|
4876
5116
|
{
|
|
4877
5117
|
"data-slot": "native-select-optgroup",
|
|
4878
|
-
className:
|
|
5118
|
+
className: chunkD5LKWKG7_js.cn(className),
|
|
4879
5119
|
...props
|
|
4880
5120
|
}
|
|
4881
5121
|
);
|
|
@@ -4887,7 +5127,7 @@ function Pagination({ className, ...props }) {
|
|
|
4887
5127
|
role: "navigation",
|
|
4888
5128
|
"aria-label": "pagination",
|
|
4889
5129
|
"data-slot": "pagination",
|
|
4890
|
-
className:
|
|
5130
|
+
className: chunkD5LKWKG7_js.cn("mx-auto flex w-full justify-center", className),
|
|
4891
5131
|
...props
|
|
4892
5132
|
}
|
|
4893
5133
|
);
|
|
@@ -4900,7 +5140,7 @@ function PaginationContent({
|
|
|
4900
5140
|
"ul",
|
|
4901
5141
|
{
|
|
4902
5142
|
"data-slot": "pagination-content",
|
|
4903
|
-
className:
|
|
5143
|
+
className: chunkD5LKWKG7_js.cn("flex flex-row items-center gap-1", className),
|
|
4904
5144
|
...props
|
|
4905
5145
|
}
|
|
4906
5146
|
);
|
|
@@ -4920,8 +5160,8 @@ function PaginationLink({
|
|
|
4920
5160
|
"aria-current": isActive ? "page" : void 0,
|
|
4921
5161
|
"data-slot": "pagination-link",
|
|
4922
5162
|
"data-active": isActive,
|
|
4923
|
-
className:
|
|
4924
|
-
|
|
5163
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5164
|
+
chunkDNLCSV5M_js.buttonVariants({
|
|
4925
5165
|
variant: isActive ? "outline" : "ghost",
|
|
4926
5166
|
size
|
|
4927
5167
|
}),
|
|
@@ -4940,7 +5180,7 @@ function PaginationPrevious({
|
|
|
4940
5180
|
{
|
|
4941
5181
|
"aria-label": "Go to previous page",
|
|
4942
5182
|
size: "md",
|
|
4943
|
-
className:
|
|
5183
|
+
className: chunkD5LKWKG7_js.cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
4944
5184
|
...props,
|
|
4945
5185
|
children: [
|
|
4946
5186
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeftIcon, {}),
|
|
@@ -4958,7 +5198,7 @@ function PaginationNext({
|
|
|
4958
5198
|
{
|
|
4959
5199
|
"aria-label": "Go to next page",
|
|
4960
5200
|
size: "md",
|
|
4961
|
-
className:
|
|
5201
|
+
className: chunkD5LKWKG7_js.cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
4962
5202
|
...props,
|
|
4963
5203
|
children: [
|
|
4964
5204
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:block", children: "Next" }),
|
|
@@ -4976,7 +5216,7 @@ function PaginationEllipsis({
|
|
|
4976
5216
|
{
|
|
4977
5217
|
"aria-hidden": true,
|
|
4978
5218
|
"data-slot": "pagination-ellipsis",
|
|
4979
|
-
className:
|
|
5219
|
+
className: chunkD5LKWKG7_js.cn("flex size-9 items-center justify-center", className),
|
|
4980
5220
|
...props,
|
|
4981
5221
|
children: [
|
|
4982
5222
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontalIcon, { className: "size-4" }),
|
|
@@ -4985,7 +5225,8 @@ function PaginationEllipsis({
|
|
|
4985
5225
|
}
|
|
4986
5226
|
);
|
|
4987
5227
|
}
|
|
4988
|
-
function Table({ className, ...props }) {
|
|
5228
|
+
function Table({ className, surface, radius, animated, ...props }) {
|
|
5229
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
4989
5230
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4990
5231
|
"div",
|
|
4991
5232
|
{
|
|
@@ -4994,9 +5235,12 @@ function Table({ className, ...props }) {
|
|
|
4994
5235
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4995
5236
|
"table",
|
|
4996
5237
|
{
|
|
5238
|
+
...props,
|
|
4997
5239
|
"data-slot": "table",
|
|
4998
|
-
|
|
4999
|
-
|
|
5240
|
+
"data-surface": sf.surface,
|
|
5241
|
+
"data-radius": sf.radius,
|
|
5242
|
+
"data-animated": String(sf.animated),
|
|
5243
|
+
className: chunkD5LKWKG7_js.cn("w-full caption-bottom text-sm", className)
|
|
5000
5244
|
}
|
|
5001
5245
|
)
|
|
5002
5246
|
}
|
|
@@ -5007,7 +5251,7 @@ function TableHeader({ className, ...props }) {
|
|
|
5007
5251
|
"thead",
|
|
5008
5252
|
{
|
|
5009
5253
|
"data-slot": "table-header",
|
|
5010
|
-
className:
|
|
5254
|
+
className: chunkD5LKWKG7_js.cn("[&_tr]:border-b", className),
|
|
5011
5255
|
...props
|
|
5012
5256
|
}
|
|
5013
5257
|
);
|
|
@@ -5017,7 +5261,7 @@ function TableBody({ className, ...props }) {
|
|
|
5017
5261
|
"tbody",
|
|
5018
5262
|
{
|
|
5019
5263
|
"data-slot": "table-body",
|
|
5020
|
-
className:
|
|
5264
|
+
className: chunkD5LKWKG7_js.cn("[&_tr:last-child]:border-0", className),
|
|
5021
5265
|
...props
|
|
5022
5266
|
}
|
|
5023
5267
|
);
|
|
@@ -5027,7 +5271,7 @@ function TableFooter({ className, ...props }) {
|
|
|
5027
5271
|
"tfoot",
|
|
5028
5272
|
{
|
|
5029
5273
|
"data-slot": "table-footer",
|
|
5030
|
-
className:
|
|
5274
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5031
5275
|
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
5032
5276
|
className
|
|
5033
5277
|
),
|
|
@@ -5040,7 +5284,7 @@ function TableRow({ className, ...props }) {
|
|
|
5040
5284
|
"tr",
|
|
5041
5285
|
{
|
|
5042
5286
|
"data-slot": "table-row",
|
|
5043
|
-
className:
|
|
5287
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5044
5288
|
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
5045
5289
|
className
|
|
5046
5290
|
),
|
|
@@ -5053,7 +5297,7 @@ function TableHead({ className, ...props }) {
|
|
|
5053
5297
|
"th",
|
|
5054
5298
|
{
|
|
5055
5299
|
"data-slot": "table-head",
|
|
5056
|
-
className:
|
|
5300
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5057
5301
|
"h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
5058
5302
|
className
|
|
5059
5303
|
),
|
|
@@ -5066,7 +5310,7 @@ function TableCell({ className, ...props }) {
|
|
|
5066
5310
|
"td",
|
|
5067
5311
|
{
|
|
5068
5312
|
"data-slot": "table-cell",
|
|
5069
|
-
className:
|
|
5313
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5070
5314
|
"p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
5071
5315
|
className
|
|
5072
5316
|
),
|
|
@@ -5082,14 +5326,17 @@ function TableCaption({
|
|
|
5082
5326
|
"caption",
|
|
5083
5327
|
{
|
|
5084
5328
|
"data-slot": "table-caption",
|
|
5085
|
-
className:
|
|
5329
|
+
className: chunkD5LKWKG7_js.cn("mt-4 text-sm text-muted-foreground", className),
|
|
5086
5330
|
...props
|
|
5087
5331
|
}
|
|
5088
5332
|
);
|
|
5089
5333
|
}
|
|
5090
5334
|
var AnimatedTooltip = ({
|
|
5091
|
-
items
|
|
5335
|
+
items,
|
|
5336
|
+
animated
|
|
5092
5337
|
}) => {
|
|
5338
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ animated });
|
|
5339
|
+
const motion = chunkFT66KYRN_js.useSaasflareMotion(sf.animated, { type: "spring", stiffness: 260, damping: 10 });
|
|
5093
5340
|
const [hoveredIndex, setHoveredIndex] = React5.useState(null);
|
|
5094
5341
|
const springConfig = { stiffness: 100, damping: 5 };
|
|
5095
5342
|
const x = react.useMotionValue(0);
|
|
@@ -5109,18 +5356,16 @@ var AnimatedTooltip = ({
|
|
|
5109
5356
|
/* @__PURE__ */ jsxRuntime.jsx(react.AnimatePresence, { children: hoveredIndex === item.id && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5110
5357
|
react.m.div,
|
|
5111
5358
|
{
|
|
5112
|
-
|
|
5359
|
+
"data-slot": "animated-tooltip",
|
|
5360
|
+
"data-animated": String(sf.animated),
|
|
5361
|
+
initial: motion.disabled ? false : { opacity: 0, y: 20, scale: 0.6 },
|
|
5113
5362
|
animate: {
|
|
5114
5363
|
opacity: 1,
|
|
5115
5364
|
y: 0,
|
|
5116
5365
|
scale: 1,
|
|
5117
|
-
transition:
|
|
5118
|
-
type: "spring",
|
|
5119
|
-
stiffness: 260,
|
|
5120
|
-
damping: 10
|
|
5121
|
-
}
|
|
5366
|
+
transition: motion.transition
|
|
5122
5367
|
},
|
|
5123
|
-
exit: { opacity: 0, y: 20, scale: 0.6 },
|
|
5368
|
+
exit: motion.disabled ? void 0 : { opacity: 0, y: 20, scale: 0.6 },
|
|
5124
5369
|
style: {
|
|
5125
5370
|
translateX,
|
|
5126
5371
|
rotate,
|
|
@@ -5156,15 +5401,18 @@ function TypewriterText({
|
|
|
5156
5401
|
wordDelay = 40,
|
|
5157
5402
|
skipAnimation = false,
|
|
5158
5403
|
onComplete,
|
|
5159
|
-
className
|
|
5404
|
+
className,
|
|
5405
|
+
animated
|
|
5160
5406
|
}) {
|
|
5407
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ animated });
|
|
5408
|
+
const effectiveSkip = skipAnimation || !sf.animated;
|
|
5161
5409
|
const [displayedWords, setDisplayedWords] = React5.useState([]);
|
|
5162
|
-
const [isComplete, setIsComplete] = React5.useState(
|
|
5410
|
+
const [isComplete, setIsComplete] = React5.useState(effectiveSkip);
|
|
5163
5411
|
const words = React5.useRef(text.split(" "));
|
|
5164
5412
|
const timeoutRef = React5.useRef(null);
|
|
5165
5413
|
React5.useEffect(() => {
|
|
5166
5414
|
words.current = text.split(" ");
|
|
5167
|
-
if (
|
|
5415
|
+
if (effectiveSkip) {
|
|
5168
5416
|
setDisplayedWords(words.current);
|
|
5169
5417
|
setIsComplete(true);
|
|
5170
5418
|
return;
|
|
@@ -5188,11 +5436,19 @@ function TypewriterText({
|
|
|
5188
5436
|
clearTimeout(timeoutRef.current);
|
|
5189
5437
|
}
|
|
5190
5438
|
};
|
|
5191
|
-
}, [text, wordDelay,
|
|
5192
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5439
|
+
}, [text, wordDelay, effectiveSkip, onComplete]);
|
|
5440
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5441
|
+
"span",
|
|
5442
|
+
{
|
|
5443
|
+
"data-slot": "typewriter-text",
|
|
5444
|
+
"data-animated": String(sf.animated),
|
|
5445
|
+
className: chunkD5LKWKG7_js.cn("inline", className),
|
|
5446
|
+
children: [
|
|
5447
|
+
displayedWords.join(" "),
|
|
5448
|
+
!isComplete && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-block w-0.5 h-4 bg-primary ml-0.5 animate-pulse" })
|
|
5449
|
+
]
|
|
5450
|
+
}
|
|
5451
|
+
);
|
|
5196
5452
|
}
|
|
5197
5453
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
5198
5454
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
@@ -5288,7 +5544,7 @@ function SidebarProvider({
|
|
|
5288
5544
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
5289
5545
|
...style
|
|
5290
5546
|
},
|
|
5291
|
-
className:
|
|
5547
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5292
5548
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full overflow-hidden",
|
|
5293
5549
|
className
|
|
5294
5550
|
),
|
|
@@ -5304,13 +5560,13 @@ function SidebarTrigger({
|
|
|
5304
5560
|
}) {
|
|
5305
5561
|
const { toggleSidebar } = useSidebar();
|
|
5306
5562
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5307
|
-
|
|
5563
|
+
chunkDNLCSV5M_js.Button,
|
|
5308
5564
|
{
|
|
5309
5565
|
"data-sidebar": "trigger",
|
|
5310
5566
|
"data-slot": "sidebar-trigger",
|
|
5311
5567
|
variant: "ghost",
|
|
5312
5568
|
size: "icon",
|
|
5313
|
-
className:
|
|
5569
|
+
className: chunkD5LKWKG7_js.cn("size-7", className),
|
|
5314
5570
|
onClick: (event) => {
|
|
5315
5571
|
onClick?.(event);
|
|
5316
5572
|
toggleSidebar();
|
|
@@ -5329,19 +5585,26 @@ function Sidebar({
|
|
|
5329
5585
|
collapsible = "offcanvas",
|
|
5330
5586
|
className,
|
|
5331
5587
|
children,
|
|
5588
|
+
surface,
|
|
5589
|
+
radius,
|
|
5590
|
+
animated,
|
|
5332
5591
|
...props
|
|
5333
5592
|
}) {
|
|
5334
5593
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
5594
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5335
5595
|
if (collapsible === "none") {
|
|
5336
5596
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5337
5597
|
"div",
|
|
5338
5598
|
{
|
|
5599
|
+
...props,
|
|
5339
5600
|
"data-slot": "sidebar",
|
|
5340
|
-
|
|
5601
|
+
"data-surface": sf.surface,
|
|
5602
|
+
"data-radius": sf.radius,
|
|
5603
|
+
"data-animated": String(sf.animated),
|
|
5604
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5341
5605
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
5342
5606
|
className
|
|
5343
5607
|
),
|
|
5344
|
-
...props,
|
|
5345
5608
|
children
|
|
5346
5609
|
}
|
|
5347
5610
|
);
|
|
@@ -5377,12 +5640,15 @@ function Sidebar({
|
|
|
5377
5640
|
"data-variant": variant,
|
|
5378
5641
|
"data-side": side,
|
|
5379
5642
|
"data-slot": "sidebar",
|
|
5643
|
+
"data-surface": sf.surface,
|
|
5644
|
+
"data-radius": sf.radius,
|
|
5645
|
+
"data-animated": String(sf.animated),
|
|
5380
5646
|
children: [
|
|
5381
5647
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5382
5648
|
"div",
|
|
5383
5649
|
{
|
|
5384
5650
|
"data-slot": "sidebar-gap",
|
|
5385
|
-
className:
|
|
5651
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5386
5652
|
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
5387
5653
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
5388
5654
|
"group-data-[side=right]:rotate-180",
|
|
@@ -5394,7 +5660,7 @@ function Sidebar({
|
|
|
5394
5660
|
"div",
|
|
5395
5661
|
{
|
|
5396
5662
|
"data-slot": "sidebar-container",
|
|
5397
|
-
className:
|
|
5663
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5398
5664
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
5399
5665
|
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
5400
5666
|
// Adjust the padding for floating and inset variants.
|
|
@@ -5428,7 +5694,7 @@ function SidebarRail({ className, ...props }) {
|
|
|
5428
5694
|
tabIndex: -1,
|
|
5429
5695
|
onClick: toggleSidebar,
|
|
5430
5696
|
title: "Toggle Sidebar",
|
|
5431
|
-
className:
|
|
5697
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5432
5698
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
5433
5699
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
5434
5700
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -5446,7 +5712,7 @@ function SidebarInset({ className, ...props }) {
|
|
|
5446
5712
|
"main",
|
|
5447
5713
|
{
|
|
5448
5714
|
"data-slot": "sidebar-inset",
|
|
5449
|
-
className:
|
|
5715
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5450
5716
|
"bg-background relative flex w-full flex-1 flex-col overflow-auto",
|
|
5451
5717
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
5452
5718
|
className
|
|
@@ -5464,7 +5730,7 @@ function SidebarInput({
|
|
|
5464
5730
|
{
|
|
5465
5731
|
"data-slot": "sidebar-input",
|
|
5466
5732
|
"data-sidebar": "input",
|
|
5467
|
-
className:
|
|
5733
|
+
className: chunkD5LKWKG7_js.cn("bg-background h-8 w-full shadow-none", className),
|
|
5468
5734
|
...props
|
|
5469
5735
|
}
|
|
5470
5736
|
);
|
|
@@ -5475,7 +5741,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
5475
5741
|
{
|
|
5476
5742
|
"data-slot": "sidebar-header",
|
|
5477
5743
|
"data-sidebar": "header",
|
|
5478
|
-
className:
|
|
5744
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col gap-2 p-2", className),
|
|
5479
5745
|
...props
|
|
5480
5746
|
}
|
|
5481
5747
|
);
|
|
@@ -5486,7 +5752,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
5486
5752
|
{
|
|
5487
5753
|
"data-slot": "sidebar-footer",
|
|
5488
5754
|
"data-sidebar": "footer",
|
|
5489
|
-
className:
|
|
5755
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col gap-2 p-2", className),
|
|
5490
5756
|
...props
|
|
5491
5757
|
}
|
|
5492
5758
|
);
|
|
@@ -5500,7 +5766,7 @@ function SidebarSeparator({
|
|
|
5500
5766
|
{
|
|
5501
5767
|
"data-slot": "sidebar-separator",
|
|
5502
5768
|
"data-sidebar": "separator",
|
|
5503
|
-
className:
|
|
5769
|
+
className: chunkD5LKWKG7_js.cn("bg-sidebar-border mx-2 w-auto", className),
|
|
5504
5770
|
...props
|
|
5505
5771
|
}
|
|
5506
5772
|
);
|
|
@@ -5511,7 +5777,7 @@ function SidebarContent({ className, ...props }) {
|
|
|
5511
5777
|
{
|
|
5512
5778
|
"data-slot": "sidebar-content",
|
|
5513
5779
|
"data-sidebar": "content",
|
|
5514
|
-
className:
|
|
5780
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5515
5781
|
"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
5516
5782
|
className
|
|
5517
5783
|
),
|
|
@@ -5525,7 +5791,7 @@ function SidebarGroup({ className, ...props }) {
|
|
|
5525
5791
|
{
|
|
5526
5792
|
"data-slot": "sidebar-group",
|
|
5527
5793
|
"data-sidebar": "group",
|
|
5528
|
-
className:
|
|
5794
|
+
className: chunkD5LKWKG7_js.cn("relative flex w-full min-w-0 flex-col p-2", className),
|
|
5529
5795
|
...props
|
|
5530
5796
|
}
|
|
5531
5797
|
);
|
|
@@ -5541,7 +5807,7 @@ function SidebarGroupLabel({
|
|
|
5541
5807
|
{
|
|
5542
5808
|
"data-slot": "sidebar-group-label",
|
|
5543
5809
|
"data-sidebar": "group-label",
|
|
5544
|
-
className:
|
|
5810
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5545
5811
|
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
5546
5812
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
5547
5813
|
className
|
|
@@ -5561,7 +5827,7 @@ function SidebarGroupAction({
|
|
|
5561
5827
|
{
|
|
5562
5828
|
"data-slot": "sidebar-group-action",
|
|
5563
5829
|
"data-sidebar": "group-action",
|
|
5564
|
-
className:
|
|
5830
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5565
5831
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
5566
5832
|
// Increases the hit area of the button on mobile.
|
|
5567
5833
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
@@ -5581,7 +5847,7 @@ function SidebarGroupContent({
|
|
|
5581
5847
|
{
|
|
5582
5848
|
"data-slot": "sidebar-group-content",
|
|
5583
5849
|
"data-sidebar": "group-content",
|
|
5584
|
-
className:
|
|
5850
|
+
className: chunkD5LKWKG7_js.cn("w-full text-sm", className),
|
|
5585
5851
|
...props
|
|
5586
5852
|
}
|
|
5587
5853
|
);
|
|
@@ -5612,7 +5878,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
5612
5878
|
{
|
|
5613
5879
|
"data-slot": "sidebar-menu",
|
|
5614
5880
|
"data-sidebar": "menu",
|
|
5615
|
-
className:
|
|
5881
|
+
className: chunkD5LKWKG7_js.cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
5616
5882
|
...props
|
|
5617
5883
|
}
|
|
5618
5884
|
);
|
|
@@ -5623,7 +5889,7 @@ function SidebarMenuItem({ className, ...props }) {
|
|
|
5623
5889
|
{
|
|
5624
5890
|
"data-slot": "sidebar-menu-item",
|
|
5625
5891
|
"data-sidebar": "menu-item",
|
|
5626
|
-
className:
|
|
5892
|
+
className: chunkD5LKWKG7_js.cn("group/menu-item relative", className),
|
|
5627
5893
|
...props
|
|
5628
5894
|
}
|
|
5629
5895
|
);
|
|
@@ -5646,7 +5912,7 @@ function SidebarMenuButton({
|
|
|
5646
5912
|
"data-sidebar": "menu-button",
|
|
5647
5913
|
"data-size": size,
|
|
5648
5914
|
"data-active": isActive,
|
|
5649
|
-
className:
|
|
5915
|
+
className: chunkD5LKWKG7_js.cn(sidebarMenuButtonVariants({ variant, size }), className),
|
|
5650
5916
|
...props
|
|
5651
5917
|
}
|
|
5652
5918
|
);
|
|
@@ -5683,7 +5949,7 @@ function SidebarMenuAction({
|
|
|
5683
5949
|
{
|
|
5684
5950
|
"data-slot": "sidebar-menu-action",
|
|
5685
5951
|
"data-sidebar": "menu-action",
|
|
5686
|
-
className:
|
|
5952
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5687
5953
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
5688
5954
|
// Increases the hit area of the button on mobile.
|
|
5689
5955
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
@@ -5707,7 +5973,7 @@ function SidebarMenuBadge({
|
|
|
5707
5973
|
{
|
|
5708
5974
|
"data-slot": "sidebar-menu-badge",
|
|
5709
5975
|
"data-sidebar": "menu-badge",
|
|
5710
|
-
className:
|
|
5976
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5711
5977
|
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
|
|
5712
5978
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
5713
5979
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
@@ -5733,7 +5999,7 @@ function SidebarMenuSkeleton({
|
|
|
5733
5999
|
{
|
|
5734
6000
|
"data-slot": "sidebar-menu-skeleton",
|
|
5735
6001
|
"data-sidebar": "menu-skeleton",
|
|
5736
|
-
className:
|
|
6002
|
+
className: chunkD5LKWKG7_js.cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
5737
6003
|
...props,
|
|
5738
6004
|
children: [
|
|
5739
6005
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5763,7 +6029,7 @@ function SidebarMenuSub({ className, ...props }) {
|
|
|
5763
6029
|
{
|
|
5764
6030
|
"data-slot": "sidebar-menu-sub",
|
|
5765
6031
|
"data-sidebar": "menu-sub",
|
|
5766
|
-
className:
|
|
6032
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5767
6033
|
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
5768
6034
|
"group-data-[collapsible=icon]:hidden",
|
|
5769
6035
|
className
|
|
@@ -5781,7 +6047,7 @@ function SidebarMenuSubItem({
|
|
|
5781
6047
|
{
|
|
5782
6048
|
"data-slot": "sidebar-menu-sub-item",
|
|
5783
6049
|
"data-sidebar": "menu-sub-item",
|
|
5784
|
-
className:
|
|
6050
|
+
className: chunkD5LKWKG7_js.cn("group/menu-sub-item relative", className),
|
|
5785
6051
|
...props
|
|
5786
6052
|
}
|
|
5787
6053
|
);
|
|
@@ -5801,7 +6067,7 @@ function SidebarMenuSubButton({
|
|
|
5801
6067
|
"data-sidebar": "menu-sub-button",
|
|
5802
6068
|
"data-size": size,
|
|
5803
6069
|
"data-active": isActive,
|
|
5804
|
-
className:
|
|
6070
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5805
6071
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden transition-colors focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
5806
6072
|
"data-[active=true]:bg-[color-mix(in_oklch,var(--sidebar-primary)_10%,transparent)] data-[active=true]:text-sidebar-primary",
|
|
5807
6073
|
size === "sm" && "text-xs",
|
|
@@ -5819,14 +6085,21 @@ function PageHeader({
|
|
|
5819
6085
|
breadcrumbs,
|
|
5820
6086
|
actions,
|
|
5821
6087
|
className,
|
|
6088
|
+
surface,
|
|
6089
|
+
radius,
|
|
6090
|
+
animated,
|
|
5822
6091
|
...props
|
|
5823
6092
|
}) {
|
|
6093
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5824
6094
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5825
6095
|
"div",
|
|
5826
6096
|
{
|
|
5827
|
-
"data-slot": "page-header",
|
|
5828
|
-
className: chunkM3ICCPCU_js.cn("flex flex-col gap-1", className),
|
|
5829
6097
|
...props,
|
|
6098
|
+
"data-slot": "page-header",
|
|
6099
|
+
"data-surface": sf.surface,
|
|
6100
|
+
"data-radius": sf.radius,
|
|
6101
|
+
"data-animated": String(sf.animated),
|
|
6102
|
+
className: chunkD5LKWKG7_js.cn("flex flex-col gap-1", className),
|
|
5830
6103
|
children: [
|
|
5831
6104
|
breadcrumbs && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "page-header-breadcrumbs", className: "mb-2", children: breadcrumbs }),
|
|
5832
6105
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
@@ -5847,17 +6120,24 @@ function SectionCard({
|
|
|
5847
6120
|
headerAction,
|
|
5848
6121
|
className,
|
|
5849
6122
|
children,
|
|
6123
|
+
surface,
|
|
6124
|
+
radius,
|
|
6125
|
+
animated,
|
|
5850
6126
|
...props
|
|
5851
6127
|
}) {
|
|
6128
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5852
6129
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5853
6130
|
"div",
|
|
5854
6131
|
{
|
|
6132
|
+
...props,
|
|
5855
6133
|
"data-slot": "section-card",
|
|
5856
|
-
|
|
6134
|
+
"data-surface": sf.surface,
|
|
6135
|
+
"data-radius": sf.radius,
|
|
6136
|
+
"data-animated": String(sf.animated),
|
|
6137
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5857
6138
|
"rounded-xl border bg-card text-card-foreground shadow-sm",
|
|
5858
6139
|
className
|
|
5859
6140
|
),
|
|
5860
|
-
...props,
|
|
5861
6141
|
children: [
|
|
5862
6142
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4 border-b px-6 py-4", children: [
|
|
5863
6143
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
@@ -5895,17 +6175,24 @@ function MetricCard({
|
|
|
5895
6175
|
trend,
|
|
5896
6176
|
icon,
|
|
5897
6177
|
className,
|
|
6178
|
+
surface,
|
|
6179
|
+
radius,
|
|
6180
|
+
animated,
|
|
5898
6181
|
...props
|
|
5899
6182
|
}) {
|
|
6183
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5900
6184
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5901
6185
|
"div",
|
|
5902
6186
|
{
|
|
6187
|
+
...props,
|
|
5903
6188
|
"data-slot": "metric-card",
|
|
5904
|
-
|
|
6189
|
+
"data-surface": sf.surface,
|
|
6190
|
+
"data-radius": sf.radius,
|
|
6191
|
+
"data-animated": String(sf.animated),
|
|
6192
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5905
6193
|
"flex flex-col gap-2 rounded-xl border bg-card p-6 text-card-foreground shadow-sm",
|
|
5906
6194
|
className
|
|
5907
6195
|
),
|
|
5908
|
-
...props,
|
|
5909
6196
|
children: [
|
|
5910
6197
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
5911
6198
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-muted-foreground", children: label }),
|
|
@@ -5913,7 +6200,7 @@ function MetricCard({
|
|
|
5913
6200
|
] }),
|
|
5914
6201
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-baseline gap-2", children: [
|
|
5915
6202
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-2xl font-bold tracking-tight", children: value }),
|
|
5916
|
-
trend && /* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
6203
|
+
trend && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunkD5LKWKG7_js.cn("text-xs font-medium", TREND_STYLES[trend.direction]), children: [
|
|
5917
6204
|
TREND_ARROWS[trend.direction],
|
|
5918
6205
|
" ",
|
|
5919
6206
|
Math.abs(trend.value),
|
|
@@ -5930,17 +6217,24 @@ function EmptyState({
|
|
|
5930
6217
|
description,
|
|
5931
6218
|
action,
|
|
5932
6219
|
className,
|
|
6220
|
+
surface,
|
|
6221
|
+
radius,
|
|
6222
|
+
animated,
|
|
5933
6223
|
...props
|
|
5934
6224
|
}) {
|
|
6225
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5935
6226
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5936
6227
|
"div",
|
|
5937
6228
|
{
|
|
6229
|
+
...props,
|
|
5938
6230
|
"data-slot": "empty-state",
|
|
5939
|
-
|
|
6231
|
+
"data-surface": sf.surface,
|
|
6232
|
+
"data-radius": sf.radius,
|
|
6233
|
+
"data-animated": String(sf.animated),
|
|
6234
|
+
className: chunkD5LKWKG7_js.cn(
|
|
5940
6235
|
"flex flex-col items-center justify-center gap-4 py-12 text-center",
|
|
5941
6236
|
className
|
|
5942
6237
|
),
|
|
5943
|
-
...props,
|
|
5944
6238
|
children: [
|
|
5945
6239
|
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground [&_svg]:size-12", children: icon }),
|
|
5946
6240
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
@@ -5957,50 +6251,71 @@ function SearchField({
|
|
|
5957
6251
|
loading = false,
|
|
5958
6252
|
onClear,
|
|
5959
6253
|
value,
|
|
6254
|
+
surface,
|
|
6255
|
+
radius,
|
|
6256
|
+
animated,
|
|
5960
6257
|
...props
|
|
5961
6258
|
}) {
|
|
6259
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5962
6260
|
const hasValue = typeof value === "string" ? value.length > 0 : false;
|
|
5963
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
"
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
6261
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6262
|
+
"div",
|
|
6263
|
+
{
|
|
6264
|
+
"data-slot": "search-field",
|
|
6265
|
+
"data-surface": sf.surface,
|
|
6266
|
+
"data-radius": sf.radius,
|
|
6267
|
+
"data-animated": String(sf.animated),
|
|
6268
|
+
className: chunkD5LKWKG7_js.cn("relative", className),
|
|
6269
|
+
children: [
|
|
6270
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: loading ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2Icon, { className: "size-4 animate-spin", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SearchIcon, { className: "size-4", "aria-hidden": "true" }) }),
|
|
6271
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6272
|
+
"input",
|
|
6273
|
+
{
|
|
6274
|
+
type: "search",
|
|
6275
|
+
"data-slot": "search-field-input",
|
|
6276
|
+
className: "h-9 w-full rounded-md border border-input bg-background pl-9 pr-9 text-sm outline-none transition-colors placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50",
|
|
6277
|
+
value,
|
|
6278
|
+
...props
|
|
6279
|
+
}
|
|
6280
|
+
),
|
|
6281
|
+
hasValue && onClear && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6282
|
+
"button",
|
|
6283
|
+
{
|
|
6284
|
+
type: "button",
|
|
6285
|
+
"data-slot": "search-field-clear",
|
|
6286
|
+
onClick: onClear,
|
|
6287
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 rounded-sm p-0.5 text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
6288
|
+
"aria-label": "Clear search",
|
|
6289
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, { className: "size-3.5" })
|
|
6290
|
+
}
|
|
6291
|
+
)
|
|
6292
|
+
]
|
|
6293
|
+
}
|
|
6294
|
+
);
|
|
5987
6295
|
}
|
|
5988
6296
|
function SettingsSection({
|
|
5989
6297
|
label,
|
|
5990
6298
|
description,
|
|
5991
6299
|
className,
|
|
5992
6300
|
children,
|
|
6301
|
+
surface,
|
|
6302
|
+
radius,
|
|
6303
|
+
animated,
|
|
5993
6304
|
...props
|
|
5994
6305
|
}) {
|
|
6306
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
5995
6307
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5996
6308
|
"div",
|
|
5997
6309
|
{
|
|
6310
|
+
...props,
|
|
5998
6311
|
"data-slot": "settings-section",
|
|
5999
|
-
|
|
6312
|
+
"data-surface": sf.surface,
|
|
6313
|
+
"data-radius": sf.radius,
|
|
6314
|
+
"data-animated": String(sf.animated),
|
|
6315
|
+
className: chunkD5LKWKG7_js.cn(
|
|
6000
6316
|
"flex flex-col gap-3 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",
|
|
6001
6317
|
className
|
|
6002
6318
|
),
|
|
6003
|
-
...props,
|
|
6004
6319
|
children: [
|
|
6005
6320
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0.5", children: [
|
|
6006
6321
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: label }),
|
|
@@ -6020,18 +6335,25 @@ function PricingCard({
|
|
|
6020
6335
|
cta,
|
|
6021
6336
|
featured = false,
|
|
6022
6337
|
className,
|
|
6338
|
+
surface,
|
|
6339
|
+
radius,
|
|
6340
|
+
animated,
|
|
6023
6341
|
...props
|
|
6024
6342
|
}) {
|
|
6343
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
6025
6344
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6026
6345
|
"div",
|
|
6027
6346
|
{
|
|
6347
|
+
...props,
|
|
6028
6348
|
"data-slot": "pricing-card",
|
|
6029
|
-
|
|
6349
|
+
"data-surface": sf.surface,
|
|
6350
|
+
"data-radius": sf.radius,
|
|
6351
|
+
"data-animated": String(sf.animated),
|
|
6352
|
+
className: chunkD5LKWKG7_js.cn(
|
|
6030
6353
|
"relative flex flex-col rounded-xl border bg-card p-6 text-card-foreground shadow-sm",
|
|
6031
6354
|
featured && "border-primary shadow-md ring-1 ring-primary/20",
|
|
6032
6355
|
className
|
|
6033
6356
|
),
|
|
6034
|
-
...props,
|
|
6035
6357
|
children: [
|
|
6036
6358
|
featured && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -top-3 left-1/2 -translate-x-1/2 rounded-full bg-primary px-3 py-0.5 text-xs font-medium text-primary-foreground", children: "Recommended" }),
|
|
6037
6359
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
@@ -6054,16 +6376,20 @@ function PricingCard({
|
|
|
6054
6376
|
}
|
|
6055
6377
|
);
|
|
6056
6378
|
}
|
|
6057
|
-
function DataToolbar({ className, ...props }) {
|
|
6379
|
+
function DataToolbar({ className, surface, radius, animated, ...props }) {
|
|
6380
|
+
const sf = chunkD5LKWKG7_js.useSaasflareProps({ surface, radius, animated });
|
|
6058
6381
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6059
6382
|
"div",
|
|
6060
6383
|
{
|
|
6384
|
+
...props,
|
|
6061
6385
|
"data-slot": "data-toolbar",
|
|
6062
|
-
|
|
6386
|
+
"data-surface": sf.surface,
|
|
6387
|
+
"data-radius": sf.radius,
|
|
6388
|
+
"data-animated": String(sf.animated),
|
|
6389
|
+
className: chunkD5LKWKG7_js.cn(
|
|
6063
6390
|
"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
6064
6391
|
className
|
|
6065
|
-
)
|
|
6066
|
-
...props
|
|
6392
|
+
)
|
|
6067
6393
|
}
|
|
6068
6394
|
);
|
|
6069
6395
|
}
|
|
@@ -6072,7 +6398,7 @@ function DataToolbarSearch({ className, ...props }) {
|
|
|
6072
6398
|
"div",
|
|
6073
6399
|
{
|
|
6074
6400
|
"data-slot": "data-toolbar-search",
|
|
6075
|
-
className:
|
|
6401
|
+
className: chunkD5LKWKG7_js.cn("w-full sm:max-w-sm", className),
|
|
6076
6402
|
...props
|
|
6077
6403
|
}
|
|
6078
6404
|
);
|
|
@@ -6082,7 +6408,7 @@ function DataToolbarFilters({ className, ...props }) {
|
|
|
6082
6408
|
"div",
|
|
6083
6409
|
{
|
|
6084
6410
|
"data-slot": "data-toolbar-filters",
|
|
6085
|
-
className:
|
|
6411
|
+
className: chunkD5LKWKG7_js.cn("flex items-center gap-2", className),
|
|
6086
6412
|
...props
|
|
6087
6413
|
}
|
|
6088
6414
|
);
|
|
@@ -6092,7 +6418,7 @@ function DataToolbarActions({ className, ...props }) {
|
|
|
6092
6418
|
"div",
|
|
6093
6419
|
{
|
|
6094
6420
|
"data-slot": "data-toolbar-actions",
|
|
6095
|
-
className:
|
|
6421
|
+
className: chunkD5LKWKG7_js.cn("flex items-center gap-2 sm:ml-auto", className),
|
|
6096
6422
|
...props
|
|
6097
6423
|
}
|
|
6098
6424
|
);
|
|
@@ -6135,7 +6461,7 @@ function ScrollToTopButton({
|
|
|
6135
6461
|
className,
|
|
6136
6462
|
...sfProps
|
|
6137
6463
|
}) {
|
|
6138
|
-
const { animated, surface } =
|
|
6464
|
+
const { animated, surface } = chunkD5LKWKG7_js.useSaasflareProps(sfProps);
|
|
6139
6465
|
const [isVisible, setIsVisible] = React5.useState(false);
|
|
6140
6466
|
const finalId = React5.useMemo(() => scrollContainerId ?? null, [scrollContainerId]);
|
|
6141
6467
|
const getContainer = React5.useCallback(() => {
|
|
@@ -6177,7 +6503,7 @@ function ScrollToTopButton({
|
|
|
6177
6503
|
animate: { opacity: 1, y: 0 },
|
|
6178
6504
|
exit: { opacity: 0, y: 40 },
|
|
6179
6505
|
transition: { duration },
|
|
6180
|
-
className:
|
|
6506
|
+
className: chunkD5LKWKG7_js.cn(
|
|
6181
6507
|
"fixed bottom-6 right-6 z-50 cursor-pointer rounded-full p-3 transition-colors hover:bg-primary/80",
|
|
6182
6508
|
surfaceClass,
|
|
6183
6509
|
className
|
|
@@ -6203,16 +6529,17 @@ function ThemeModeToggle({
|
|
|
6203
6529
|
setTheme(theme === "dark" ? "light" : "dark");
|
|
6204
6530
|
};
|
|
6205
6531
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6206
|
-
|
|
6532
|
+
chunkDNLCSV5M_js.Button,
|
|
6207
6533
|
{
|
|
6208
6534
|
variant: "ghost",
|
|
6535
|
+
intent: "neutral",
|
|
6209
6536
|
size: showText ? "sm" : "icon",
|
|
6210
|
-
className:
|
|
6537
|
+
className: chunkD5LKWKG7_js.cn("cursor-pointer", className),
|
|
6211
6538
|
onClick: toggleTheme,
|
|
6212
6539
|
children: [
|
|
6213
6540
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { className: "h-[1.2rem] w-[1.2rem] hidden dark:block" }),
|
|
6214
6541
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { className: "h-[1.2rem] w-[1.2rem] dark:hidden" }),
|
|
6215
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6542
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkD5LKWKG7_js.cn(!showText && "sr-only", "font-normal"), children: text ?? (theme === "dark" ? "Switch to Light Mode" : "Switch to Dark Mode") })
|
|
6216
6543
|
]
|
|
6217
6544
|
}
|
|
6218
6545
|
);
|
|
@@ -6326,7 +6653,7 @@ function TopLoadingBar({
|
|
|
6326
6653
|
finishDelayMs,
|
|
6327
6654
|
...sfProps
|
|
6328
6655
|
}) {
|
|
6329
|
-
const { animated } =
|
|
6656
|
+
const { animated } = chunkD5LKWKG7_js.useSaasflareProps(sfProps);
|
|
6330
6657
|
if (!animated) {
|
|
6331
6658
|
return /* @__PURE__ */ jsxRuntime.jsx(React5.Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6332
6659
|
TopLoadingBarStatic,
|
|
@@ -6350,7 +6677,7 @@ var sizeClasses = {
|
|
|
6350
6677
|
lg: "h-12 w-12 text-sm"
|
|
6351
6678
|
};
|
|
6352
6679
|
function UserAvatar({ src, name, initials, size = "md", className }) {
|
|
6353
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className:
|
|
6680
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className: chunkD5LKWKG7_js.cn(sizeClasses[size], "cursor-pointer", className), children: [
|
|
6354
6681
|
/* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src: src || void 0, alt: name || "User" }),
|
|
6355
6682
|
/* @__PURE__ */ jsxRuntime.jsx(AvatarFallback, { children: initials })
|
|
6356
6683
|
] });
|
|
@@ -6358,123 +6685,127 @@ function UserAvatar({ src, name, initials, size = "md", className }) {
|
|
|
6358
6685
|
|
|
6359
6686
|
Object.defineProperty(exports, "Button", {
|
|
6360
6687
|
enumerable: true,
|
|
6361
|
-
get: function () { return
|
|
6362
|
-
});
|
|
6363
|
-
Object.defineProperty(exports, "SaasflareProvider", {
|
|
6364
|
-
enumerable: true,
|
|
6365
|
-
get: function () { return chunkYAE5VBWJ_js.SaasflareProvider; }
|
|
6366
|
-
});
|
|
6367
|
-
Object.defineProperty(exports, "SaasflareScript", {
|
|
6368
|
-
enumerable: true,
|
|
6369
|
-
get: function () { return chunkYAE5VBWJ_js.SaasflareScript; }
|
|
6370
|
-
});
|
|
6371
|
-
Object.defineProperty(exports, "SaasflareShell", {
|
|
6372
|
-
enumerable: true,
|
|
6373
|
-
get: function () { return chunkYAE5VBWJ_js.SaasflareShell; }
|
|
6374
|
-
});
|
|
6375
|
-
Object.defineProperty(exports, "SmoothScrollProvider", {
|
|
6376
|
-
enumerable: true,
|
|
6377
|
-
get: function () { return chunkYAE5VBWJ_js.SmoothScrollProvider; }
|
|
6688
|
+
get: function () { return chunkDNLCSV5M_js.Button; }
|
|
6378
6689
|
});
|
|
6379
6690
|
Object.defineProperty(exports, "buttonVariants", {
|
|
6380
6691
|
enumerable: true,
|
|
6381
|
-
get: function () { return
|
|
6382
|
-
});
|
|
6383
|
-
Object.defineProperty(exports, "useAnimation", {
|
|
6384
|
-
enumerable: true,
|
|
6385
|
-
get: function () { return chunkYAE5VBWJ_js.useAnimation; }
|
|
6386
|
-
});
|
|
6387
|
-
Object.defineProperty(exports, "useSaasflareProps", {
|
|
6388
|
-
enumerable: true,
|
|
6389
|
-
get: function () { return chunkYAE5VBWJ_js.useSaasflareProps; }
|
|
6390
|
-
});
|
|
6391
|
-
Object.defineProperty(exports, "useSaasflareTheme", {
|
|
6392
|
-
enumerable: true,
|
|
6393
|
-
get: function () { return chunkYAE5VBWJ_js.useSaasflareTheme; }
|
|
6692
|
+
get: function () { return chunkDNLCSV5M_js.buttonVariants; }
|
|
6394
6693
|
});
|
|
6395
6694
|
Object.defineProperty(exports, "Dialog", {
|
|
6396
6695
|
enumerable: true,
|
|
6397
|
-
get: function () { return
|
|
6696
|
+
get: function () { return chunk4BOMMZEY_js.Dialog; }
|
|
6398
6697
|
});
|
|
6399
6698
|
Object.defineProperty(exports, "DialogClose", {
|
|
6400
6699
|
enumerable: true,
|
|
6401
|
-
get: function () { return
|
|
6700
|
+
get: function () { return chunk4BOMMZEY_js.DialogClose; }
|
|
6402
6701
|
});
|
|
6403
6702
|
Object.defineProperty(exports, "DialogContent", {
|
|
6404
6703
|
enumerable: true,
|
|
6405
|
-
get: function () { return
|
|
6704
|
+
get: function () { return chunk4BOMMZEY_js.DialogContent; }
|
|
6406
6705
|
});
|
|
6407
6706
|
Object.defineProperty(exports, "DialogDescription", {
|
|
6408
6707
|
enumerable: true,
|
|
6409
|
-
get: function () { return
|
|
6708
|
+
get: function () { return chunk4BOMMZEY_js.DialogDescription; }
|
|
6410
6709
|
});
|
|
6411
6710
|
Object.defineProperty(exports, "DialogFooter", {
|
|
6412
6711
|
enumerable: true,
|
|
6413
|
-
get: function () { return
|
|
6712
|
+
get: function () { return chunk4BOMMZEY_js.DialogFooter; }
|
|
6414
6713
|
});
|
|
6415
6714
|
Object.defineProperty(exports, "DialogHeader", {
|
|
6416
6715
|
enumerable: true,
|
|
6417
|
-
get: function () { return
|
|
6716
|
+
get: function () { return chunk4BOMMZEY_js.DialogHeader; }
|
|
6418
6717
|
});
|
|
6419
6718
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
6420
6719
|
enumerable: true,
|
|
6421
|
-
get: function () { return
|
|
6720
|
+
get: function () { return chunk4BOMMZEY_js.DialogOverlay; }
|
|
6422
6721
|
});
|
|
6423
6722
|
Object.defineProperty(exports, "DialogPortal", {
|
|
6424
6723
|
enumerable: true,
|
|
6425
|
-
get: function () { return
|
|
6724
|
+
get: function () { return chunk4BOMMZEY_js.DialogPortal; }
|
|
6426
6725
|
});
|
|
6427
6726
|
Object.defineProperty(exports, "DialogTitle", {
|
|
6428
6727
|
enumerable: true,
|
|
6429
|
-
get: function () { return
|
|
6728
|
+
get: function () { return chunk4BOMMZEY_js.DialogTitle; }
|
|
6430
6729
|
});
|
|
6431
6730
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
6432
6731
|
enumerable: true,
|
|
6433
|
-
get: function () { return
|
|
6732
|
+
get: function () { return chunk4BOMMZEY_js.DialogTrigger; }
|
|
6434
6733
|
});
|
|
6435
6734
|
Object.defineProperty(exports, "fadeIn", {
|
|
6436
6735
|
enumerable: true,
|
|
6437
|
-
get: function () { return
|
|
6736
|
+
get: function () { return chunkFT66KYRN_js.fadeIn; }
|
|
6438
6737
|
});
|
|
6439
6738
|
Object.defineProperty(exports, "noMotion", {
|
|
6440
6739
|
enumerable: true,
|
|
6441
|
-
get: function () { return
|
|
6740
|
+
get: function () { return chunkFT66KYRN_js.noMotion; }
|
|
6442
6741
|
});
|
|
6443
6742
|
Object.defineProperty(exports, "scaleIn", {
|
|
6444
6743
|
enumerable: true,
|
|
6445
|
-
get: function () { return
|
|
6744
|
+
get: function () { return chunkFT66KYRN_js.scaleIn; }
|
|
6446
6745
|
});
|
|
6447
6746
|
Object.defineProperty(exports, "slideDown", {
|
|
6448
6747
|
enumerable: true,
|
|
6449
|
-
get: function () { return
|
|
6748
|
+
get: function () { return chunkFT66KYRN_js.slideDown; }
|
|
6450
6749
|
});
|
|
6451
6750
|
Object.defineProperty(exports, "slideUp", {
|
|
6452
6751
|
enumerable: true,
|
|
6453
|
-
get: function () { return
|
|
6752
|
+
get: function () { return chunkFT66KYRN_js.slideUp; }
|
|
6454
6753
|
});
|
|
6455
6754
|
Object.defineProperty(exports, "spring", {
|
|
6456
6755
|
enumerable: true,
|
|
6457
|
-
get: function () { return
|
|
6756
|
+
get: function () { return chunkFT66KYRN_js.spring; }
|
|
6458
6757
|
});
|
|
6459
6758
|
Object.defineProperty(exports, "springBouncy", {
|
|
6460
6759
|
enumerable: true,
|
|
6461
|
-
get: function () { return
|
|
6760
|
+
get: function () { return chunkFT66KYRN_js.springBouncy; }
|
|
6462
6761
|
});
|
|
6463
6762
|
Object.defineProperty(exports, "springGentle", {
|
|
6464
6763
|
enumerable: true,
|
|
6465
|
-
get: function () { return
|
|
6764
|
+
get: function () { return chunkFT66KYRN_js.springGentle; }
|
|
6466
6765
|
});
|
|
6467
6766
|
Object.defineProperty(exports, "springStiff", {
|
|
6468
6767
|
enumerable: true,
|
|
6469
|
-
get: function () { return
|
|
6768
|
+
get: function () { return chunkFT66KYRN_js.springStiff; }
|
|
6470
6769
|
});
|
|
6471
|
-
Object.defineProperty(exports, "
|
|
6770
|
+
Object.defineProperty(exports, "useSaasflareMotion", {
|
|
6771
|
+
enumerable: true,
|
|
6772
|
+
get: function () { return chunkFT66KYRN_js.useSaasflareMotion; }
|
|
6773
|
+
});
|
|
6774
|
+
Object.defineProperty(exports, "SaasflareProvider", {
|
|
6775
|
+
enumerable: true,
|
|
6776
|
+
get: function () { return chunkD5LKWKG7_js.SaasflareProvider; }
|
|
6777
|
+
});
|
|
6778
|
+
Object.defineProperty(exports, "SaasflareScript", {
|
|
6779
|
+
enumerable: true,
|
|
6780
|
+
get: function () { return chunkD5LKWKG7_js.SaasflareScript; }
|
|
6781
|
+
});
|
|
6782
|
+
Object.defineProperty(exports, "SaasflareShell", {
|
|
6783
|
+
enumerable: true,
|
|
6784
|
+
get: function () { return chunkD5LKWKG7_js.SaasflareShell; }
|
|
6785
|
+
});
|
|
6786
|
+
Object.defineProperty(exports, "SmoothScrollProvider", {
|
|
6472
6787
|
enumerable: true,
|
|
6473
|
-
get: function () { return
|
|
6788
|
+
get: function () { return chunkD5LKWKG7_js.SmoothScrollProvider; }
|
|
6474
6789
|
});
|
|
6475
6790
|
Object.defineProperty(exports, "cn", {
|
|
6476
6791
|
enumerable: true,
|
|
6477
|
-
get: function () { return
|
|
6792
|
+
get: function () { return chunkD5LKWKG7_js.cn; }
|
|
6793
|
+
});
|
|
6794
|
+
Object.defineProperty(exports, "useAnimation", {
|
|
6795
|
+
enumerable: true,
|
|
6796
|
+
get: function () { return chunkD5LKWKG7_js.useAnimation; }
|
|
6797
|
+
});
|
|
6798
|
+
Object.defineProperty(exports, "useReducedMotion", {
|
|
6799
|
+
enumerable: true,
|
|
6800
|
+
get: function () { return chunkD5LKWKG7_js.useReducedMotion; }
|
|
6801
|
+
});
|
|
6802
|
+
Object.defineProperty(exports, "useSaasflareProps", {
|
|
6803
|
+
enumerable: true,
|
|
6804
|
+
get: function () { return chunkD5LKWKG7_js.useSaasflareProps; }
|
|
6805
|
+
});
|
|
6806
|
+
Object.defineProperty(exports, "useSaasflareTheme", {
|
|
6807
|
+
enumerable: true,
|
|
6808
|
+
get: function () { return chunkD5LKWKG7_js.useSaasflareTheme; }
|
|
6478
6809
|
});
|
|
6479
6810
|
exports.Accordion = Accordion;
|
|
6480
6811
|
exports.AccordionContent = AccordionContent;
|