@vantageos/mosaic-blocks 0.3.0-alpha → 0.3.3-alpha
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/index.cjs +381 -278
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +109 -3
- package/dist/index.d.ts +109 -3
- package/dist/index.js +379 -279
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +22 -0
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +14 -1
- package/dist/server.d.ts +14 -1
- package/dist/server.js +22 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { Menu } from '@base-ui/react/menu';
|
|
|
27
27
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
28
28
|
|
|
29
29
|
// src/version.ts
|
|
30
|
-
var version = "0.3.
|
|
30
|
+
var version = "0.3.3-alpha";
|
|
31
31
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
32
32
|
return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
33
33
|
}
|
|
@@ -84,9 +84,70 @@ function MosaicButton({ className, variant, size, ref, ...props }) {
|
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
86
|
MosaicButton.displayName = "MosaicButton";
|
|
87
|
+
var skeletonVariants = cva(
|
|
88
|
+
// Base: animate-pulse + muted background token
|
|
89
|
+
["animate-pulse", "bg-muted"],
|
|
90
|
+
{
|
|
91
|
+
variants: {
|
|
92
|
+
variant: {
|
|
93
|
+
/** Rounded block — generic rectangular placeholder (cards, images, sections) */
|
|
94
|
+
default: "rounded-md",
|
|
95
|
+
/** Text line — h-4 rounded, for single/multi-line text placeholders */
|
|
96
|
+
text: "h-4 rounded",
|
|
97
|
+
/** Circle — rounded-full aspect-square, for avatars and icons */
|
|
98
|
+
circle: "rounded-full aspect-square",
|
|
99
|
+
/** Button-shaped — h-9 rounded-md, mirrors MosaicButton default size */
|
|
100
|
+
button: "h-9 rounded-md"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
defaultVariants: {
|
|
104
|
+
variant: "default"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
);
|
|
87
108
|
function cn2(...classes) {
|
|
88
109
|
return classes.filter(Boolean).join(" ");
|
|
89
110
|
}
|
|
111
|
+
function MosaicSkeleton({
|
|
112
|
+
className,
|
|
113
|
+
variant,
|
|
114
|
+
lines = 1,
|
|
115
|
+
ref,
|
|
116
|
+
...props
|
|
117
|
+
}) {
|
|
118
|
+
if (variant === "text" && lines > 1) {
|
|
119
|
+
const lineKeys = Array.from({ length: lines }, (_, i) => `line-${lines}-${i}`);
|
|
120
|
+
return /* @__PURE__ */ jsx(
|
|
121
|
+
"div",
|
|
122
|
+
{
|
|
123
|
+
ref,
|
|
124
|
+
"data-slot": "skeleton",
|
|
125
|
+
className: cn2("flex flex-col gap-2", className),
|
|
126
|
+
...props,
|
|
127
|
+
children: lineKeys.map((key, i) => /* @__PURE__ */ jsx(
|
|
128
|
+
"div",
|
|
129
|
+
{
|
|
130
|
+
className: cn2(skeletonVariants({ variant }), i === lines - 1 && "w-[60%]")
|
|
131
|
+
},
|
|
132
|
+
key
|
|
133
|
+
))
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
return /* @__PURE__ */ jsx(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
ref,
|
|
141
|
+
"data-slot": "skeleton",
|
|
142
|
+
className: cn2(skeletonVariants({ variant }), className),
|
|
143
|
+
...props
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
MosaicSkeleton.displayName = "MosaicSkeleton";
|
|
148
|
+
function cn3(...classes) {
|
|
149
|
+
return classes.filter(Boolean).join(" ");
|
|
150
|
+
}
|
|
90
151
|
function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
91
152
|
const [isScrolled, setIsScrolled] = React27.useState(false);
|
|
92
153
|
const [isHidden, setIsHidden] = React27.useState(false);
|
|
@@ -118,7 +179,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
118
179
|
{
|
|
119
180
|
ref,
|
|
120
181
|
"aria-label": "Main navigation",
|
|
121
|
-
className:
|
|
182
|
+
className: cn3(
|
|
122
183
|
"fixed left-0 right-0 top-0 z-50 px-4 pt-4 mx-auto w-full max-w-6xl transition-all duration-300 ease-out",
|
|
123
184
|
isHidden ? "opacity-0 -translate-y-5 pointer-events-none" : "opacity-100 translate-y-0",
|
|
124
185
|
className
|
|
@@ -126,7 +187,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
126
187
|
children: /* @__PURE__ */ jsxs(
|
|
127
188
|
"div",
|
|
128
189
|
{
|
|
129
|
-
className:
|
|
190
|
+
className: cn3(
|
|
130
191
|
"relative mx-auto transition-transform duration-200",
|
|
131
192
|
isScrolled ? "scale-[0.98]" : "scale-100"
|
|
132
193
|
),
|
|
@@ -134,7 +195,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
134
195
|
/* @__PURE__ */ jsxs(
|
|
135
196
|
"div",
|
|
136
197
|
{
|
|
137
|
-
className:
|
|
198
|
+
className: cn3(
|
|
138
199
|
"flex flex-row items-center justify-between gap-4 rounded-full border border-[oklch(0.9_0.005_250)] p-2 transition-all duration-300",
|
|
139
200
|
isScrolled ? "bg-[oklch(1_0_0_/_0.8)] backdrop-blur-[12px] shadow-[0_4px_20px_-5px_oklch(0_0_0_/_0.1)]" : "bg-[oklch(1_0_0)]"
|
|
140
201
|
),
|
|
@@ -229,7 +290,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
229
290
|
);
|
|
230
291
|
}
|
|
231
292
|
MosaicNavbar.displayName = "MosaicNavbar";
|
|
232
|
-
function
|
|
293
|
+
function cn4(...classes) {
|
|
233
294
|
return classes.filter(Boolean).join(" ");
|
|
234
295
|
}
|
|
235
296
|
function MosaicHeroSplit({
|
|
@@ -246,7 +307,7 @@ function MosaicHeroSplit({
|
|
|
246
307
|
"section",
|
|
247
308
|
{
|
|
248
309
|
ref,
|
|
249
|
-
className:
|
|
310
|
+
className: cn4(
|
|
250
311
|
"flex flex-col gap-16 items-center justify-center py-8 lg:pt-16 px-4",
|
|
251
312
|
className
|
|
252
313
|
),
|
|
@@ -280,7 +341,7 @@ function MosaicHeroSplit({
|
|
|
280
341
|
);
|
|
281
342
|
}
|
|
282
343
|
MosaicHeroSplit.displayName = "MosaicHeroSplit";
|
|
283
|
-
function
|
|
344
|
+
function cn5(...classes) {
|
|
284
345
|
return classes.filter(Boolean).join(" ");
|
|
285
346
|
}
|
|
286
347
|
function MosaicFeatureCenteredMedia({
|
|
@@ -291,7 +352,7 @@ function MosaicFeatureCenteredMedia({
|
|
|
291
352
|
className,
|
|
292
353
|
ref
|
|
293
354
|
}) {
|
|
294
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
355
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn5("relative mx-auto w-full max-w-6xl px-4 py-16", className), children: [
|
|
295
356
|
/* @__PURE__ */ jsxs("div", { className: "mb-12 text-center lg:mb-16", children: [
|
|
296
357
|
/* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: title }),
|
|
297
358
|
/* @__PURE__ */ jsx("p", { className: "mt-4 text-sm text-[oklch(0.5_0.01_250)] sm:text-base max-w-xl mx-auto", children: body })
|
|
@@ -304,11 +365,11 @@ function MosaicFeatureCenteredMedia({
|
|
|
304
365
|
] });
|
|
305
366
|
}
|
|
306
367
|
MosaicFeatureCenteredMedia.displayName = "MosaicFeatureCenteredMedia";
|
|
307
|
-
function
|
|
368
|
+
function cn6(...classes) {
|
|
308
369
|
return classes.filter(Boolean).join(" ");
|
|
309
370
|
}
|
|
310
371
|
function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
|
|
311
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
372
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn6("w-full py-16", className), children: [
|
|
312
373
|
(heading ?? subtext) && /* @__PURE__ */ jsxs("div", { className: "mb-16 flex flex-col items-center gap-3 px-4 text-center", children: [
|
|
313
374
|
heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: heading }),
|
|
314
375
|
subtext && /* @__PURE__ */ jsx("p", { className: "max-w-md text-sm text-[oklch(0.5_0.01_250)] sm:text-base", children: subtext })
|
|
@@ -336,7 +397,7 @@ function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
|
|
|
336
397
|
] });
|
|
337
398
|
}
|
|
338
399
|
MosaicStatsGrid.displayName = "MosaicStatsGrid";
|
|
339
|
-
function
|
|
400
|
+
function cn7(...classes) {
|
|
340
401
|
return classes.filter(Boolean).join(" ");
|
|
341
402
|
}
|
|
342
403
|
function MosaicPricingCard({
|
|
@@ -352,7 +413,7 @@ function MosaicPricingCard({
|
|
|
352
413
|
"div",
|
|
353
414
|
{
|
|
354
415
|
ref,
|
|
355
|
-
className:
|
|
416
|
+
className: cn7(
|
|
356
417
|
"flex min-w-72 flex-col gap-6 rounded-2xl border p-8",
|
|
357
418
|
highlighted ? "border-[oklch(0.6_0.15_250_/_0.5)] bg-[oklch(0.97_0.02_250)]" : "border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)]",
|
|
358
419
|
className
|
|
@@ -361,7 +422,7 @@ function MosaicPricingCard({
|
|
|
361
422
|
/* @__PURE__ */ jsx(
|
|
362
423
|
"span",
|
|
363
424
|
{
|
|
364
|
-
className:
|
|
425
|
+
className: cn7(
|
|
365
426
|
"inline-flex w-fit items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold",
|
|
366
427
|
highlighted ? "border-transparent bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)]" : "border-[oklch(0.85_0.01_250)] bg-[oklch(1_0_0)] text-[oklch(0.2_0.01_250)]"
|
|
367
428
|
),
|
|
@@ -373,7 +434,7 @@ function MosaicPricingCard({
|
|
|
373
434
|
"a",
|
|
374
435
|
{
|
|
375
436
|
href: cta.href,
|
|
376
|
-
className:
|
|
437
|
+
className: cn7(
|
|
377
438
|
"inline-flex w-full items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-colors",
|
|
378
439
|
highlighted ? "bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)] hover:bg-[oklch(0.25_0.01_250)]" : "border border-[oklch(0.75_0.01_250)] bg-transparent text-[oklch(0.15_0.01_250)] hover:bg-[oklch(0.96_0.005_250)]"
|
|
379
440
|
),
|
|
@@ -405,7 +466,7 @@ function MosaicPricingCard({
|
|
|
405
466
|
);
|
|
406
467
|
}
|
|
407
468
|
MosaicPricingCard.displayName = "MosaicPricingCard";
|
|
408
|
-
function
|
|
469
|
+
function cn8(...classes) {
|
|
409
470
|
return classes.filter(Boolean).join(" ");
|
|
410
471
|
}
|
|
411
472
|
function prefersReducedMotion() {
|
|
@@ -420,7 +481,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
420
481
|
"section",
|
|
421
482
|
{
|
|
422
483
|
ref,
|
|
423
|
-
className:
|
|
484
|
+
className: cn8(
|
|
424
485
|
"flex flex-col items-center justify-center gap-8 px-4 py-12 mx-auto max-w-6xl",
|
|
425
486
|
className
|
|
426
487
|
),
|
|
@@ -431,7 +492,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
431
492
|
"div",
|
|
432
493
|
{
|
|
433
494
|
"data-slot": "logos-grid-item",
|
|
434
|
-
className:
|
|
495
|
+
className: cn8(
|
|
435
496
|
"transition-transform duration-200 hover:scale-110",
|
|
436
497
|
isStagger && !reducedMotion && "mosaic-logo-stagger"
|
|
437
498
|
),
|
|
@@ -459,7 +520,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
459
520
|
);
|
|
460
521
|
}
|
|
461
522
|
MosaicLogosGrid.displayName = "MosaicLogosGrid";
|
|
462
|
-
function
|
|
523
|
+
function cn9(...classes) {
|
|
463
524
|
return classes.filter(Boolean).join(" ");
|
|
464
525
|
}
|
|
465
526
|
function getInitials(name) {
|
|
@@ -469,7 +530,7 @@ function TestimonialCard({ item, featured = false }) {
|
|
|
469
530
|
return /* @__PURE__ */ jsxs(
|
|
470
531
|
"article",
|
|
471
532
|
{
|
|
472
|
-
className:
|
|
533
|
+
className: cn9(
|
|
473
534
|
"flex flex-col gap-4 rounded-xl border border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)] p-6",
|
|
474
535
|
featured && "h-full"
|
|
475
536
|
),
|
|
@@ -519,7 +580,7 @@ function MosaicTestimonialsGrid({
|
|
|
519
580
|
ref
|
|
520
581
|
}) {
|
|
521
582
|
const [featured, ...rest] = testimonials;
|
|
522
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
583
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn9("px-4 py-16 mx-auto max-w-6xl", className), children: [
|
|
523
584
|
heading && /* @__PURE__ */ jsx("div", { className: "mb-12 text-center", children: /* @__PURE__ */ jsx("h2", { className: "text-2xl font-normal tracking-tight text-[oklch(0.12_0.01_250)] md:text-4xl", children: heading }) }),
|
|
524
585
|
testimonials.length === 0 ? null : testimonials.length === 1 ? /* @__PURE__ */ jsx(TestimonialCard, { item: featured }) : /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-6", children: [
|
|
525
586
|
/* @__PURE__ */ jsx("div", { className: "md:col-span-3 h-full", children: /* @__PURE__ */ jsx(TestimonialCard, { item: featured, featured: true }) }),
|
|
@@ -528,7 +589,7 @@ function MosaicTestimonialsGrid({
|
|
|
528
589
|
] });
|
|
529
590
|
}
|
|
530
591
|
MosaicTestimonialsGrid.displayName = "MosaicTestimonialsGrid";
|
|
531
|
-
function
|
|
592
|
+
function cn10(...classes) {
|
|
532
593
|
return classes.filter(Boolean).join(" ");
|
|
533
594
|
}
|
|
534
595
|
function MosaicFooterSimple({
|
|
@@ -543,7 +604,7 @@ function MosaicFooterSimple({
|
|
|
543
604
|
"footer",
|
|
544
605
|
{
|
|
545
606
|
ref,
|
|
546
|
-
className:
|
|
607
|
+
className: cn10(
|
|
547
608
|
"flex flex-col items-center gap-10 px-4 py-16 border-t border-[oklch(0.9_0.005_250)]",
|
|
548
609
|
className
|
|
549
610
|
),
|
|
@@ -587,7 +648,7 @@ function MosaicFooterSimple({
|
|
|
587
648
|
);
|
|
588
649
|
}
|
|
589
650
|
MosaicFooterSimple.displayName = "MosaicFooterSimple";
|
|
590
|
-
function
|
|
651
|
+
function cn11(...classes) {
|
|
591
652
|
return classes.filter(Boolean).join(" ");
|
|
592
653
|
}
|
|
593
654
|
function MosaicFeature3Col({
|
|
@@ -602,7 +663,7 @@ function MosaicFeature3Col({
|
|
|
602
663
|
{
|
|
603
664
|
ref,
|
|
604
665
|
"data-slot": "feature-3col",
|
|
605
|
-
className:
|
|
666
|
+
className: cn11("mx-auto w-full max-w-6xl px-4 py-16", className),
|
|
606
667
|
children: [
|
|
607
668
|
(heading || subtext) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center", children: [
|
|
608
669
|
heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-foreground sm:text-4xl", children: heading }),
|
|
@@ -678,7 +739,7 @@ function MosaicCounter({
|
|
|
678
739
|
);
|
|
679
740
|
}
|
|
680
741
|
MosaicCounter.displayName = "MosaicCounter";
|
|
681
|
-
function
|
|
742
|
+
function cn12(...classes) {
|
|
682
743
|
return classes.filter(Boolean).join(" ");
|
|
683
744
|
}
|
|
684
745
|
function getSystemTheme() {
|
|
@@ -721,7 +782,7 @@ function MosaicThemeToggle({
|
|
|
721
782
|
"aria-label": ariaLabel,
|
|
722
783
|
"aria-pressed": isDark,
|
|
723
784
|
onClick: handleToggle,
|
|
724
|
-
className:
|
|
785
|
+
className: cn12(
|
|
725
786
|
"inline-flex size-9 items-center justify-center rounded-full border border-[oklch(0.9_0.005_250)] bg-[oklch(var(--mosaic-surface,1_0_0))] transition-colors hover:bg-[oklch(0.95_0.005_250)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[oklch(0.5_0.15_250)]",
|
|
726
787
|
className
|
|
727
788
|
),
|
|
@@ -852,7 +913,7 @@ function MosaicAnimatedList({
|
|
|
852
913
|
);
|
|
853
914
|
}
|
|
854
915
|
MosaicAnimatedList.displayName = "MosaicAnimatedList";
|
|
855
|
-
function
|
|
916
|
+
function cn13(...classes) {
|
|
856
917
|
return classes.filter(Boolean).join(" ");
|
|
857
918
|
}
|
|
858
919
|
var badgeClass = "inline-flex items-center gap-2 rounded-full border border-[oklch(0.88_0.01_250)] bg-[oklch(0.98_0.005_250)] px-3 py-1.5 text-sm font-medium text-[oklch(0.25_0.01_250)] shadow-[0_1px_3px_oklch(0_0_0_/_0.06)] transition-colors";
|
|
@@ -877,12 +938,12 @@ function MosaicIntegrationsBadge({
|
|
|
877
938
|
href,
|
|
878
939
|
target,
|
|
879
940
|
rel: target === "_blank" ? "noopener noreferrer" : void 0,
|
|
880
|
-
className:
|
|
941
|
+
className: cn13(badgeClass, hoverClass, className),
|
|
881
942
|
children: inner
|
|
882
943
|
}
|
|
883
944
|
);
|
|
884
945
|
}
|
|
885
|
-
return /* @__PURE__ */ jsx("span", { ref, className:
|
|
946
|
+
return /* @__PURE__ */ jsx("span", { ref, className: cn13(badgeClass, className), children: inner });
|
|
886
947
|
}
|
|
887
948
|
MosaicIntegrationsBadge.displayName = "MosaicIntegrationsBadge";
|
|
888
949
|
var PATTERN_ANIM_ID = "mosaic-falling-pattern-kf";
|
|
@@ -998,7 +1059,46 @@ function useMediaQuery(query) {
|
|
|
998
1059
|
}, [query]);
|
|
999
1060
|
return matches;
|
|
1000
1061
|
}
|
|
1001
|
-
function
|
|
1062
|
+
function cn14(...classes) {
|
|
1063
|
+
return classes.filter(Boolean).join(" ");
|
|
1064
|
+
}
|
|
1065
|
+
function MosaicEmptyState({
|
|
1066
|
+
icon,
|
|
1067
|
+
title,
|
|
1068
|
+
description,
|
|
1069
|
+
action,
|
|
1070
|
+
className,
|
|
1071
|
+
ref
|
|
1072
|
+
}) {
|
|
1073
|
+
return /* @__PURE__ */ jsxs(
|
|
1074
|
+
"div",
|
|
1075
|
+
{
|
|
1076
|
+
ref,
|
|
1077
|
+
"data-slot": "empty-state",
|
|
1078
|
+
className: cn14(
|
|
1079
|
+
"flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
|
|
1080
|
+
className
|
|
1081
|
+
),
|
|
1082
|
+
children: [
|
|
1083
|
+
icon != null && /* @__PURE__ */ jsx(
|
|
1084
|
+
"div",
|
|
1085
|
+
{
|
|
1086
|
+
"data-slot": "empty-state-icon",
|
|
1087
|
+
className: "flex items-center justify-center text-muted-foreground",
|
|
1088
|
+
children: icon
|
|
1089
|
+
}
|
|
1090
|
+
),
|
|
1091
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "empty-state-text", className: "flex flex-col gap-1.5", children: [
|
|
1092
|
+
/* @__PURE__ */ jsx("h3", { "data-slot": "empty-state-title", className: "text-base font-medium text-foreground", children: title }),
|
|
1093
|
+
description != null && /* @__PURE__ */ jsx("p", { "data-slot": "empty-state-description", className: "text-sm text-muted-foreground", children: description })
|
|
1094
|
+
] }),
|
|
1095
|
+
action != null && /* @__PURE__ */ jsx("div", { "data-slot": "empty-state-action", className: "mt-2", children: action })
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
1098
|
+
);
|
|
1099
|
+
}
|
|
1100
|
+
MosaicEmptyState.displayName = "MosaicEmptyState";
|
|
1101
|
+
function cn15(...classes) {
|
|
1002
1102
|
return classes.filter(Boolean).join(" ");
|
|
1003
1103
|
}
|
|
1004
1104
|
function MosaicAccordion({ className, ref, ...props }) {
|
|
@@ -1007,7 +1107,7 @@ function MosaicAccordion({ className, ref, ...props }) {
|
|
|
1007
1107
|
{
|
|
1008
1108
|
ref,
|
|
1009
1109
|
"data-slot": "accordion",
|
|
1010
|
-
className:
|
|
1110
|
+
className: cn15("w-full divide-y divide-border", className),
|
|
1011
1111
|
...props
|
|
1012
1112
|
}
|
|
1013
1113
|
);
|
|
@@ -1019,7 +1119,7 @@ function MosaicAccordionItem({ className, ref, ...props }) {
|
|
|
1019
1119
|
{
|
|
1020
1120
|
ref,
|
|
1021
1121
|
"data-slot": "accordion-item",
|
|
1022
|
-
className:
|
|
1122
|
+
className: cn15("py-0", className),
|
|
1023
1123
|
...props
|
|
1024
1124
|
}
|
|
1025
1125
|
);
|
|
@@ -1036,7 +1136,7 @@ function MosaicAccordionTrigger({
|
|
|
1036
1136
|
{
|
|
1037
1137
|
ref,
|
|
1038
1138
|
"data-slot": "accordion-trigger",
|
|
1039
|
-
className:
|
|
1139
|
+
className: cn15(
|
|
1040
1140
|
"flex w-full flex-1 items-center justify-between py-4",
|
|
1041
1141
|
"text-sm font-medium text-foreground",
|
|
1042
1142
|
"outline-none transition-all",
|
|
@@ -1076,13 +1176,13 @@ function MosaicAccordionPanel({ className, ref, ...props }) {
|
|
|
1076
1176
|
{
|
|
1077
1177
|
ref,
|
|
1078
1178
|
"data-slot": "accordion-panel",
|
|
1079
|
-
className:
|
|
1179
|
+
className: cn15("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
|
|
1080
1180
|
...props
|
|
1081
1181
|
}
|
|
1082
1182
|
);
|
|
1083
1183
|
}
|
|
1084
1184
|
MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
|
|
1085
|
-
function
|
|
1185
|
+
function cn16(...classes) {
|
|
1086
1186
|
return classes.filter(Boolean).join(" ");
|
|
1087
1187
|
}
|
|
1088
1188
|
function MosaicCheckbox({ className, ref, ...props }) {
|
|
@@ -1091,7 +1191,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1091
1191
|
{
|
|
1092
1192
|
ref,
|
|
1093
1193
|
"data-slot": "checkbox",
|
|
1094
|
-
className:
|
|
1194
|
+
className: cn16(
|
|
1095
1195
|
"peer size-4 shrink-0 cursor-pointer",
|
|
1096
1196
|
"rounded-sm border border-border bg-background",
|
|
1097
1197
|
"outline-none transition-colors",
|
|
@@ -1131,7 +1231,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1131
1231
|
);
|
|
1132
1232
|
}
|
|
1133
1233
|
MosaicCheckbox.displayName = "MosaicCheckbox";
|
|
1134
|
-
function
|
|
1234
|
+
function cn17(...classes) {
|
|
1135
1235
|
return classes.filter(Boolean).join(" ");
|
|
1136
1236
|
}
|
|
1137
1237
|
function MosaicCollapsible({ className, ref, ...props }) {
|
|
@@ -1140,7 +1240,7 @@ function MosaicCollapsible({ className, ref, ...props }) {
|
|
|
1140
1240
|
{
|
|
1141
1241
|
ref,
|
|
1142
1242
|
"data-slot": "collapsible",
|
|
1143
|
-
className:
|
|
1243
|
+
className: cn17("w-full", className),
|
|
1144
1244
|
...props
|
|
1145
1245
|
}
|
|
1146
1246
|
);
|
|
@@ -1156,7 +1256,7 @@ function MosaicCollapsibleTrigger({
|
|
|
1156
1256
|
{
|
|
1157
1257
|
ref,
|
|
1158
1258
|
"data-slot": "collapsible-trigger",
|
|
1159
|
-
className:
|
|
1259
|
+
className: cn17(
|
|
1160
1260
|
"inline-flex w-full items-center justify-between gap-2",
|
|
1161
1261
|
"rounded-md px-0 py-2 text-sm font-medium",
|
|
1162
1262
|
"text-foreground outline-none transition-colors",
|
|
@@ -1178,7 +1278,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1178
1278
|
{
|
|
1179
1279
|
ref,
|
|
1180
1280
|
"data-slot": "collapsible-panel",
|
|
1181
|
-
className:
|
|
1281
|
+
className: cn17(
|
|
1182
1282
|
"overflow-hidden text-sm transition-all",
|
|
1183
1283
|
"data-[open]:animate-in data-[closed]:animate-out",
|
|
1184
1284
|
className
|
|
@@ -1188,7 +1288,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1188
1288
|
);
|
|
1189
1289
|
}
|
|
1190
1290
|
MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
|
|
1191
|
-
function
|
|
1291
|
+
function cn18(...classes) {
|
|
1192
1292
|
return classes.filter(Boolean).join(" ");
|
|
1193
1293
|
}
|
|
1194
1294
|
function MosaicProgress({
|
|
@@ -1205,7 +1305,7 @@ function MosaicProgress({
|
|
|
1205
1305
|
"data-slot": "progress",
|
|
1206
1306
|
value,
|
|
1207
1307
|
max,
|
|
1208
|
-
className:
|
|
1308
|
+
className: cn18("w-full", className),
|
|
1209
1309
|
...props,
|
|
1210
1310
|
children: /* @__PURE__ */ jsx(
|
|
1211
1311
|
Progress.Track,
|
|
@@ -1226,7 +1326,7 @@ function MosaicProgress({
|
|
|
1226
1326
|
);
|
|
1227
1327
|
}
|
|
1228
1328
|
MosaicProgress.displayName = "MosaicProgress";
|
|
1229
|
-
function
|
|
1329
|
+
function cn19(...classes) {
|
|
1230
1330
|
return classes.filter(Boolean).join(" ");
|
|
1231
1331
|
}
|
|
1232
1332
|
function MosaicRadioGroup({ className, ref, ...props }) {
|
|
@@ -1235,7 +1335,7 @@ function MosaicRadioGroup({ className, ref, ...props }) {
|
|
|
1235
1335
|
{
|
|
1236
1336
|
ref,
|
|
1237
1337
|
"data-slot": "radio-group",
|
|
1238
|
-
className:
|
|
1338
|
+
className: cn19("flex flex-col gap-2", className),
|
|
1239
1339
|
...props
|
|
1240
1340
|
}
|
|
1241
1341
|
);
|
|
@@ -1252,7 +1352,7 @@ function MosaicRadioGroupItem({
|
|
|
1252
1352
|
{
|
|
1253
1353
|
ref,
|
|
1254
1354
|
"data-slot": "radio",
|
|
1255
|
-
className:
|
|
1355
|
+
className: cn19(
|
|
1256
1356
|
"flex items-center gap-2 text-sm font-medium",
|
|
1257
1357
|
"cursor-pointer select-none",
|
|
1258
1358
|
"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
|
|
@@ -1263,7 +1363,7 @@ function MosaicRadioGroupItem({
|
|
|
1263
1363
|
/* @__PURE__ */ jsx(
|
|
1264
1364
|
"span",
|
|
1265
1365
|
{
|
|
1266
|
-
className:
|
|
1366
|
+
className: cn19(
|
|
1267
1367
|
"flex size-4 shrink-0 items-center justify-center",
|
|
1268
1368
|
"rounded-full border border-border bg-background",
|
|
1269
1369
|
"outline-none transition-colors",
|
|
@@ -1279,7 +1379,7 @@ function MosaicRadioGroupItem({
|
|
|
1279
1379
|
);
|
|
1280
1380
|
}
|
|
1281
1381
|
MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
|
|
1282
|
-
function
|
|
1382
|
+
function cn20(...classes) {
|
|
1283
1383
|
return classes.filter(Boolean).join(" ");
|
|
1284
1384
|
}
|
|
1285
1385
|
function MosaicScrollArea({
|
|
@@ -1294,7 +1394,7 @@ function MosaicScrollArea({
|
|
|
1294
1394
|
{
|
|
1295
1395
|
ref,
|
|
1296
1396
|
"data-slot": "scroll-area",
|
|
1297
|
-
className:
|
|
1397
|
+
className: cn20("relative overflow-hidden", className),
|
|
1298
1398
|
...props,
|
|
1299
1399
|
children: [
|
|
1300
1400
|
/* @__PURE__ */ jsx(ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsx(ScrollArea.Content, { children }) }),
|
|
@@ -1322,7 +1422,7 @@ function MosaicScrollArea({
|
|
|
1322
1422
|
);
|
|
1323
1423
|
}
|
|
1324
1424
|
MosaicScrollArea.displayName = "MosaicScrollArea";
|
|
1325
|
-
function
|
|
1425
|
+
function cn21(...classes) {
|
|
1326
1426
|
return classes.filter(Boolean).join(" ");
|
|
1327
1427
|
}
|
|
1328
1428
|
function MosaicSeparator({
|
|
@@ -1337,7 +1437,7 @@ function MosaicSeparator({
|
|
|
1337
1437
|
ref,
|
|
1338
1438
|
"data-slot": "separator",
|
|
1339
1439
|
orientation,
|
|
1340
|
-
className:
|
|
1440
|
+
className: cn21(
|
|
1341
1441
|
"shrink-0 bg-border",
|
|
1342
1442
|
orientation === "vertical" ? "h-full w-px" : "h-px w-full",
|
|
1343
1443
|
className
|
|
@@ -1347,7 +1447,7 @@ function MosaicSeparator({
|
|
|
1347
1447
|
);
|
|
1348
1448
|
}
|
|
1349
1449
|
MosaicSeparator.displayName = "MosaicSeparator";
|
|
1350
|
-
function
|
|
1450
|
+
function cn22(...classes) {
|
|
1351
1451
|
return classes.filter(Boolean).join(" ");
|
|
1352
1452
|
}
|
|
1353
1453
|
function MosaicSlider({ className, ref, ...props }) {
|
|
@@ -1358,7 +1458,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1358
1458
|
{
|
|
1359
1459
|
ref,
|
|
1360
1460
|
"data-slot": "slider",
|
|
1361
|
-
className:
|
|
1461
|
+
className: cn22("w-full touch-none select-none", className),
|
|
1362
1462
|
...props,
|
|
1363
1463
|
children: /* @__PURE__ */ jsx(Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxs(
|
|
1364
1464
|
Slider.Track,
|
|
@@ -1377,7 +1477,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1377
1477
|
Slider.Thumb,
|
|
1378
1478
|
{
|
|
1379
1479
|
"data-slot": "slider-thumb",
|
|
1380
|
-
className:
|
|
1480
|
+
className: cn22(
|
|
1381
1481
|
"block size-5 rounded-full",
|
|
1382
1482
|
"border-2 border-foreground bg-background",
|
|
1383
1483
|
"shadow-sm outline-none transition-colors",
|
|
@@ -1394,7 +1494,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1394
1494
|
);
|
|
1395
1495
|
}
|
|
1396
1496
|
MosaicSlider.displayName = "MosaicSlider";
|
|
1397
|
-
function
|
|
1497
|
+
function cn23(...classes) {
|
|
1398
1498
|
return classes.filter(Boolean).join(" ");
|
|
1399
1499
|
}
|
|
1400
1500
|
function MosaicTabs({ className, ref, ...props }) {
|
|
@@ -1403,7 +1503,7 @@ function MosaicTabs({ className, ref, ...props }) {
|
|
|
1403
1503
|
{
|
|
1404
1504
|
ref,
|
|
1405
1505
|
"data-slot": "tabs",
|
|
1406
|
-
className:
|
|
1506
|
+
className: cn23("flex flex-col gap-2", className),
|
|
1407
1507
|
...props
|
|
1408
1508
|
}
|
|
1409
1509
|
);
|
|
@@ -1415,7 +1515,7 @@ function MosaicTabsList({ className, ref, ...props }) {
|
|
|
1415
1515
|
{
|
|
1416
1516
|
ref,
|
|
1417
1517
|
"data-slot": "tabs-list",
|
|
1418
|
-
className:
|
|
1518
|
+
className: cn23(
|
|
1419
1519
|
"relative inline-flex items-center justify-start gap-1",
|
|
1420
1520
|
"rounded-lg bg-muted p-1 text-muted-foreground",
|
|
1421
1521
|
className
|
|
@@ -1431,7 +1531,7 @@ function MosaicTabsTrigger({ className, ref, ...props }) {
|
|
|
1431
1531
|
{
|
|
1432
1532
|
ref,
|
|
1433
1533
|
"data-slot": "tabs-trigger",
|
|
1434
|
-
className:
|
|
1534
|
+
className: cn23(
|
|
1435
1535
|
"inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
|
|
1436
1536
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
1437
1537
|
"outline-none transition-all",
|
|
@@ -1454,7 +1554,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1454
1554
|
{
|
|
1455
1555
|
ref,
|
|
1456
1556
|
"data-slot": "tabs-panel",
|
|
1457
|
-
className:
|
|
1557
|
+
className: cn23(
|
|
1458
1558
|
"flex-1 outline-none",
|
|
1459
1559
|
"focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
|
|
1460
1560
|
className
|
|
@@ -1464,7 +1564,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1464
1564
|
);
|
|
1465
1565
|
}
|
|
1466
1566
|
MosaicTabsPanel.displayName = "MosaicTabsPanel";
|
|
1467
|
-
function
|
|
1567
|
+
function cn24(...classes) {
|
|
1468
1568
|
return classes.filter(Boolean).join(" ");
|
|
1469
1569
|
}
|
|
1470
1570
|
function MosaicTextarea({ className, ref, ...props }) {
|
|
@@ -1473,7 +1573,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1473
1573
|
{
|
|
1474
1574
|
ref,
|
|
1475
1575
|
"data-slot": "textarea",
|
|
1476
|
-
className:
|
|
1576
|
+
className: cn24(
|
|
1477
1577
|
"flex min-h-[80px] w-full resize-y",
|
|
1478
1578
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1479
1579
|
"text-sm text-foreground shadow-xs",
|
|
@@ -1488,7 +1588,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1488
1588
|
);
|
|
1489
1589
|
}
|
|
1490
1590
|
MosaicTextarea.displayName = "MosaicTextarea";
|
|
1491
|
-
function
|
|
1591
|
+
function cn25(...classes) {
|
|
1492
1592
|
return classes.filter(Boolean).join(" ");
|
|
1493
1593
|
}
|
|
1494
1594
|
function MosaicTooltip({
|
|
@@ -1505,7 +1605,7 @@ function MosaicTooltip({
|
|
|
1505
1605
|
Tooltip.Popup,
|
|
1506
1606
|
{
|
|
1507
1607
|
"data-slot": "tooltip-content",
|
|
1508
|
-
className:
|
|
1608
|
+
className: cn25(
|
|
1509
1609
|
"z-50 max-w-xs overflow-hidden rounded-md",
|
|
1510
1610
|
"border border-border bg-foreground px-3 py-1.5",
|
|
1511
1611
|
"text-xs text-background shadow-md",
|
|
@@ -1522,7 +1622,7 @@ function MosaicTooltip({
|
|
|
1522
1622
|
] }) });
|
|
1523
1623
|
}
|
|
1524
1624
|
MosaicTooltip.displayName = "MosaicTooltip";
|
|
1525
|
-
function
|
|
1625
|
+
function cn26(...classes) {
|
|
1526
1626
|
return classes.filter(Boolean).join(" ");
|
|
1527
1627
|
}
|
|
1528
1628
|
function MosaicCard({ className, ref, ...props }) {
|
|
@@ -1531,7 +1631,7 @@ function MosaicCard({ className, ref, ...props }) {
|
|
|
1531
1631
|
{
|
|
1532
1632
|
ref,
|
|
1533
1633
|
"data-slot": "card",
|
|
1534
|
-
className:
|
|
1634
|
+
className: cn26(
|
|
1535
1635
|
"bg-card text-card-foreground rounded-xl border border-border shadow-sm",
|
|
1536
1636
|
className
|
|
1537
1637
|
),
|
|
@@ -1546,7 +1646,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
|
|
|
1546
1646
|
{
|
|
1547
1647
|
ref,
|
|
1548
1648
|
"data-slot": "card-header",
|
|
1549
|
-
className:
|
|
1649
|
+
className: cn26("flex flex-col gap-1.5 p-6", className),
|
|
1550
1650
|
...props
|
|
1551
1651
|
}
|
|
1552
1652
|
);
|
|
@@ -1558,7 +1658,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
|
|
|
1558
1658
|
{
|
|
1559
1659
|
ref,
|
|
1560
1660
|
"data-slot": "card-title",
|
|
1561
|
-
className:
|
|
1661
|
+
className: cn26("text-lg font-semibold leading-none tracking-tight", className),
|
|
1562
1662
|
...props
|
|
1563
1663
|
}
|
|
1564
1664
|
);
|
|
@@ -1570,14 +1670,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
|
|
|
1570
1670
|
{
|
|
1571
1671
|
ref,
|
|
1572
1672
|
"data-slot": "card-description",
|
|
1573
|
-
className:
|
|
1673
|
+
className: cn26("text-sm text-muted-foreground", className),
|
|
1574
1674
|
...props
|
|
1575
1675
|
}
|
|
1576
1676
|
);
|
|
1577
1677
|
}
|
|
1578
1678
|
MosaicCardDescription.displayName = "MosaicCardDescription";
|
|
1579
1679
|
function MosaicCardContent({ className, ref, ...props }) {
|
|
1580
|
-
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className:
|
|
1680
|
+
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn26("p-6 pt-0", className), ...props });
|
|
1581
1681
|
}
|
|
1582
1682
|
MosaicCardContent.displayName = "MosaicCardContent";
|
|
1583
1683
|
function MosaicCardFooter({ className, ref, ...props }) {
|
|
@@ -1586,7 +1686,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
|
|
|
1586
1686
|
{
|
|
1587
1687
|
ref,
|
|
1588
1688
|
"data-slot": "card-footer",
|
|
1589
|
-
className:
|
|
1689
|
+
className: cn26("flex items-center p-6 pt-0", className),
|
|
1590
1690
|
...props
|
|
1591
1691
|
}
|
|
1592
1692
|
);
|
|
@@ -1615,7 +1715,7 @@ var badgeVariants = cva(
|
|
|
1615
1715
|
}
|
|
1616
1716
|
}
|
|
1617
1717
|
);
|
|
1618
|
-
function
|
|
1718
|
+
function cn27(...classes) {
|
|
1619
1719
|
return classes.filter(Boolean).join(" ");
|
|
1620
1720
|
}
|
|
1621
1721
|
function MosaicBadge({ className, variant, ref, ...props }) {
|
|
@@ -1624,13 +1724,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
|
|
|
1624
1724
|
{
|
|
1625
1725
|
ref,
|
|
1626
1726
|
"data-slot": "badge",
|
|
1627
|
-
className:
|
|
1727
|
+
className: cn27(badgeVariants({ variant }), className),
|
|
1628
1728
|
...props
|
|
1629
1729
|
}
|
|
1630
1730
|
);
|
|
1631
1731
|
}
|
|
1632
1732
|
MosaicBadge.displayName = "MosaicBadge";
|
|
1633
|
-
function
|
|
1733
|
+
function cn28(...classes) {
|
|
1634
1734
|
return classes.filter(Boolean).join(" ");
|
|
1635
1735
|
}
|
|
1636
1736
|
function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
@@ -1639,7 +1739,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1639
1739
|
{
|
|
1640
1740
|
ref,
|
|
1641
1741
|
"data-slot": "avatar",
|
|
1642
|
-
className:
|
|
1742
|
+
className: cn28(
|
|
1643
1743
|
"relative flex size-10 shrink-0 overflow-hidden rounded-full",
|
|
1644
1744
|
"bg-muted text-muted-foreground",
|
|
1645
1745
|
className
|
|
@@ -1668,7 +1768,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1668
1768
|
);
|
|
1669
1769
|
}
|
|
1670
1770
|
MosaicAvatar.displayName = "MosaicAvatar";
|
|
1671
|
-
function
|
|
1771
|
+
function cn29(...classes) {
|
|
1672
1772
|
return classes.filter(Boolean).join(" ");
|
|
1673
1773
|
}
|
|
1674
1774
|
function MosaicInput({ className, ref, ...props }) {
|
|
@@ -1677,7 +1777,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1677
1777
|
{
|
|
1678
1778
|
ref,
|
|
1679
1779
|
"data-slot": "input",
|
|
1680
|
-
className:
|
|
1780
|
+
className: cn29(
|
|
1681
1781
|
"flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
|
|
1682
1782
|
"text-sm text-foreground shadow-xs",
|
|
1683
1783
|
"placeholder:text-muted-foreground",
|
|
@@ -1691,7 +1791,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1691
1791
|
);
|
|
1692
1792
|
}
|
|
1693
1793
|
MosaicInput.displayName = "MosaicInput";
|
|
1694
|
-
function
|
|
1794
|
+
function cn30(...classes) {
|
|
1695
1795
|
return classes.filter(Boolean).join(" ");
|
|
1696
1796
|
}
|
|
1697
1797
|
function MosaicInputGroup({
|
|
@@ -1707,7 +1807,7 @@ function MosaicInputGroup({
|
|
|
1707
1807
|
{
|
|
1708
1808
|
ref,
|
|
1709
1809
|
"data-slot": "input-group",
|
|
1710
|
-
className:
|
|
1810
|
+
className: cn30("flex items-center", className),
|
|
1711
1811
|
...props,
|
|
1712
1812
|
children: [
|
|
1713
1813
|
prefix ? /* @__PURE__ */ jsx(
|
|
@@ -1732,7 +1832,7 @@ function MosaicInputGroup({
|
|
|
1732
1832
|
);
|
|
1733
1833
|
}
|
|
1734
1834
|
MosaicInputGroup.displayName = "MosaicInputGroup";
|
|
1735
|
-
function
|
|
1835
|
+
function cn31(...classes) {
|
|
1736
1836
|
return classes.filter(Boolean).join(" ");
|
|
1737
1837
|
}
|
|
1738
1838
|
function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
@@ -1741,7 +1841,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
|
1741
1841
|
{
|
|
1742
1842
|
ref,
|
|
1743
1843
|
"data-slot": "field",
|
|
1744
|
-
className:
|
|
1844
|
+
className: cn31("flex flex-col gap-1.5", className),
|
|
1745
1845
|
...props,
|
|
1746
1846
|
children
|
|
1747
1847
|
}
|
|
@@ -1753,7 +1853,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1753
1853
|
Field.Label,
|
|
1754
1854
|
{
|
|
1755
1855
|
ref,
|
|
1756
|
-
className:
|
|
1856
|
+
className: cn31(
|
|
1757
1857
|
"text-sm font-medium leading-none text-foreground",
|
|
1758
1858
|
"data-[disabled]:opacity-50",
|
|
1759
1859
|
className
|
|
@@ -1765,7 +1865,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1765
1865
|
}
|
|
1766
1866
|
MosaicFieldLabel.displayName = "MosaicField.Label";
|
|
1767
1867
|
function MosaicFieldControl({ className, ref, ...props }) {
|
|
1768
|
-
return /* @__PURE__ */ jsx(Field.Control, { ref, className:
|
|
1868
|
+
return /* @__PURE__ */ jsx(Field.Control, { ref, className: cn31(className), ...props });
|
|
1769
1869
|
}
|
|
1770
1870
|
MosaicFieldControl.displayName = "MosaicField.Control";
|
|
1771
1871
|
function MosaicFieldDescription({
|
|
@@ -1778,7 +1878,7 @@ function MosaicFieldDescription({
|
|
|
1778
1878
|
Field.Description,
|
|
1779
1879
|
{
|
|
1780
1880
|
ref,
|
|
1781
|
-
className:
|
|
1881
|
+
className: cn31("text-xs text-muted-foreground", className),
|
|
1782
1882
|
...props,
|
|
1783
1883
|
children
|
|
1784
1884
|
}
|
|
@@ -1798,7 +1898,7 @@ function MosaicFieldError({
|
|
|
1798
1898
|
{
|
|
1799
1899
|
ref,
|
|
1800
1900
|
match: show === true ? true : void 0,
|
|
1801
|
-
className:
|
|
1901
|
+
className: cn31("text-xs font-medium text-destructive", className),
|
|
1802
1902
|
...props,
|
|
1803
1903
|
children
|
|
1804
1904
|
}
|
|
@@ -1811,7 +1911,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
|
|
|
1811
1911
|
Description: MosaicFieldDescription,
|
|
1812
1912
|
Error: MosaicFieldError
|
|
1813
1913
|
});
|
|
1814
|
-
function
|
|
1914
|
+
function cn32(...classes) {
|
|
1815
1915
|
return classes.filter(Boolean).join(" ");
|
|
1816
1916
|
}
|
|
1817
1917
|
function MosaicSwitch({ className, ref, ...props }) {
|
|
@@ -1820,7 +1920,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1820
1920
|
{
|
|
1821
1921
|
ref,
|
|
1822
1922
|
"data-slot": "switch",
|
|
1823
|
-
className:
|
|
1923
|
+
className: cn32(
|
|
1824
1924
|
// Track
|
|
1825
1925
|
"relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
|
|
1826
1926
|
"rounded-full border-2 border-transparent outline-none",
|
|
@@ -1838,7 +1938,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1838
1938
|
Switch.Thumb,
|
|
1839
1939
|
{
|
|
1840
1940
|
"data-slot": "switch-thumb",
|
|
1841
|
-
className:
|
|
1941
|
+
className: cn32(
|
|
1842
1942
|
"pointer-events-none block h-4 w-4 rounded-full",
|
|
1843
1943
|
"bg-background shadow-sm",
|
|
1844
1944
|
"translate-x-0 transition-transform",
|
|
@@ -1850,7 +1950,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1850
1950
|
);
|
|
1851
1951
|
}
|
|
1852
1952
|
MosaicSwitch.displayName = "MosaicSwitch";
|
|
1853
|
-
function
|
|
1953
|
+
function cn33(...classes) {
|
|
1854
1954
|
return classes.filter(Boolean).join(" ");
|
|
1855
1955
|
}
|
|
1856
1956
|
function MosaicSelect({
|
|
@@ -1882,7 +1982,7 @@ function MosaicSelect({
|
|
|
1882
1982
|
Select.Trigger,
|
|
1883
1983
|
{
|
|
1884
1984
|
"data-slot": "select",
|
|
1885
|
-
className:
|
|
1985
|
+
className: cn33(
|
|
1886
1986
|
"inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
|
|
1887
1987
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1888
1988
|
"text-sm text-foreground shadow-xs outline-none",
|
|
@@ -1902,7 +2002,7 @@ function MosaicSelect({
|
|
|
1902
2002
|
Select.Popup,
|
|
1903
2003
|
{
|
|
1904
2004
|
"data-slot": "select-popup",
|
|
1905
|
-
className:
|
|
2005
|
+
className: cn33(
|
|
1906
2006
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
1907
2007
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
1908
2008
|
"origin-[var(--transform-origin)]",
|
|
@@ -1916,7 +2016,7 @@ function MosaicSelect({
|
|
|
1916
2016
|
{
|
|
1917
2017
|
value: item.value,
|
|
1918
2018
|
disabled: item.disabled,
|
|
1919
|
-
className:
|
|
2019
|
+
className: cn33(
|
|
1920
2020
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
1921
2021
|
"text-sm text-popover-foreground outline-none",
|
|
1922
2022
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -1970,7 +2070,7 @@ function CheckIcon() {
|
|
|
1970
2070
|
}
|
|
1971
2071
|
);
|
|
1972
2072
|
}
|
|
1973
|
-
function
|
|
2073
|
+
function cn34(...classes) {
|
|
1974
2074
|
return classes.filter(Boolean).join(" ");
|
|
1975
2075
|
}
|
|
1976
2076
|
function MosaicCombobox({
|
|
@@ -1999,12 +2099,12 @@ function MosaicCombobox({
|
|
|
1999
2099
|
name,
|
|
2000
2100
|
onInputValueChange: setInputValue,
|
|
2001
2101
|
autoHighlight: true,
|
|
2002
|
-
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className:
|
|
2102
|
+
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className: cn34("relative w-full", className), children: [
|
|
2003
2103
|
/* @__PURE__ */ jsx(
|
|
2004
2104
|
Combobox.Input,
|
|
2005
2105
|
{
|
|
2006
2106
|
placeholder,
|
|
2007
|
-
className:
|
|
2107
|
+
className: cn34(
|
|
2008
2108
|
"h-9 w-full rounded-md border border-border bg-background px-3 py-2",
|
|
2009
2109
|
"text-sm text-foreground shadow-xs outline-none",
|
|
2010
2110
|
"placeholder:text-muted-foreground",
|
|
@@ -2016,7 +2116,7 @@ function MosaicCombobox({
|
|
|
2016
2116
|
/* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsx(
|
|
2017
2117
|
Combobox.Popup,
|
|
2018
2118
|
{
|
|
2019
|
-
className:
|
|
2119
|
+
className: cn34(
|
|
2020
2120
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2021
2121
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2022
2122
|
"origin-[var(--transform-origin)]",
|
|
@@ -2031,7 +2131,7 @@ function MosaicCombobox({
|
|
|
2031
2131
|
{
|
|
2032
2132
|
value: item.value,
|
|
2033
2133
|
disabled: item.disabled,
|
|
2034
|
-
className:
|
|
2134
|
+
className: cn34(
|
|
2035
2135
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2036
2136
|
"text-sm text-popover-foreground outline-none",
|
|
2037
2137
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2050,7 +2150,7 @@ function MosaicCombobox({
|
|
|
2050
2150
|
}
|
|
2051
2151
|
);
|
|
2052
2152
|
}
|
|
2053
|
-
function
|
|
2153
|
+
function cn35(...classes) {
|
|
2054
2154
|
return classes.filter(Boolean).join(" ");
|
|
2055
2155
|
}
|
|
2056
2156
|
function MosaicDropdownMenu({
|
|
@@ -2067,7 +2167,7 @@ function MosaicDropdownMenu({
|
|
|
2067
2167
|
Menu.Popup,
|
|
2068
2168
|
{
|
|
2069
2169
|
"data-slot": "dropdown-menu",
|
|
2070
|
-
className:
|
|
2170
|
+
className: cn35(
|
|
2071
2171
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2072
2172
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2073
2173
|
"origin-[var(--transform-origin)]",
|
|
@@ -2084,7 +2184,7 @@ function MosaicDropdownMenu({
|
|
|
2084
2184
|
{
|
|
2085
2185
|
disabled: item.disabled,
|
|
2086
2186
|
onClick: () => onItemSelect?.(item.id),
|
|
2087
|
-
className:
|
|
2187
|
+
className: cn35(
|
|
2088
2188
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2089
2189
|
"text-sm text-popover-foreground outline-none",
|
|
2090
2190
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2226,7 +2326,7 @@ function useDevice() {
|
|
|
2226
2326
|
}
|
|
2227
2327
|
return ctx;
|
|
2228
2328
|
}
|
|
2229
|
-
function
|
|
2329
|
+
function cn36(...classes) {
|
|
2230
2330
|
return classes.filter(Boolean).join(" ");
|
|
2231
2331
|
}
|
|
2232
2332
|
function MosaicAdaptiveGrid({
|
|
@@ -2245,14 +2345,14 @@ function MosaicAdaptiveGrid({
|
|
|
2245
2345
|
{
|
|
2246
2346
|
ref,
|
|
2247
2347
|
"data-slot": "adaptive-grid",
|
|
2248
|
-
className:
|
|
2348
|
+
className: cn36("grid", gap, className),
|
|
2249
2349
|
style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
|
|
2250
2350
|
children
|
|
2251
2351
|
}
|
|
2252
2352
|
);
|
|
2253
2353
|
}
|
|
2254
2354
|
MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
|
|
2255
|
-
function
|
|
2355
|
+
function cn37(...classes) {
|
|
2256
2356
|
return classes.filter(Boolean).join(" ");
|
|
2257
2357
|
}
|
|
2258
2358
|
var ANIM_ID = "mosaic-adaptive-modal-kf";
|
|
@@ -2357,7 +2457,7 @@ function MosaicAdaptiveModal({
|
|
|
2357
2457
|
children: /* @__PURE__ */ jsxs(
|
|
2358
2458
|
"div",
|
|
2359
2459
|
{
|
|
2360
|
-
className:
|
|
2460
|
+
className: cn37(
|
|
2361
2461
|
"mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
|
|
2362
2462
|
"max-h-[90dvh] flex flex-col",
|
|
2363
2463
|
className
|
|
@@ -2390,7 +2490,7 @@ function MosaicAdaptiveModal({
|
|
|
2390
2490
|
children: /* @__PURE__ */ jsxs(
|
|
2391
2491
|
"div",
|
|
2392
2492
|
{
|
|
2393
|
-
className:
|
|
2493
|
+
className: cn37(
|
|
2394
2494
|
"mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
|
|
2395
2495
|
"max-h-[90vh] flex flex-col",
|
|
2396
2496
|
className
|
|
@@ -2438,7 +2538,7 @@ function MosaicAdaptiveModal({
|
|
|
2438
2538
|
);
|
|
2439
2539
|
}
|
|
2440
2540
|
MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
|
|
2441
|
-
function
|
|
2541
|
+
function cn38(...classes) {
|
|
2442
2542
|
return classes.filter(Boolean).join(" ");
|
|
2443
2543
|
}
|
|
2444
2544
|
function CheckIcon2() {
|
|
@@ -2495,7 +2595,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2495
2595
|
{
|
|
2496
2596
|
ref,
|
|
2497
2597
|
"data-slot": "adaptive-navigation",
|
|
2498
|
-
className:
|
|
2598
|
+
className: cn38("space-y-3", className),
|
|
2499
2599
|
"aria-label": "Step navigation",
|
|
2500
2600
|
children: items.map((item, idx) => {
|
|
2501
2601
|
const isExpanded = expandedItems?.has(item.id) ?? false;
|
|
@@ -2513,7 +2613,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2513
2613
|
/* @__PURE__ */ jsx(
|
|
2514
2614
|
"div",
|
|
2515
2615
|
{
|
|
2516
|
-
className:
|
|
2616
|
+
className: cn38(
|
|
2517
2617
|
"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2518
2618
|
item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
|
|
2519
2619
|
),
|
|
@@ -2547,7 +2647,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2547
2647
|
{
|
|
2548
2648
|
ref,
|
|
2549
2649
|
"data-slot": "adaptive-navigation",
|
|
2550
|
-
className:
|
|
2650
|
+
className: cn38("w-full", className),
|
|
2551
2651
|
"aria-label": "Tab navigation",
|
|
2552
2652
|
children: /* @__PURE__ */ jsx(
|
|
2553
2653
|
"div",
|
|
@@ -2564,7 +2664,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2564
2664
|
role: "tab",
|
|
2565
2665
|
"aria-selected": isActive,
|
|
2566
2666
|
onClick: () => onItemChange(item.id),
|
|
2567
|
-
className:
|
|
2667
|
+
className: cn38(
|
|
2568
2668
|
"flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
|
|
2569
2669
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
2570
2670
|
isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
|
|
@@ -2573,7 +2673,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2573
2673
|
/* @__PURE__ */ jsx(
|
|
2574
2674
|
"div",
|
|
2575
2675
|
{
|
|
2576
|
-
className:
|
|
2676
|
+
className: cn38(
|
|
2577
2677
|
"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2578
2678
|
item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
|
|
2579
2679
|
),
|
|
@@ -2585,7 +2685,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2585
2685
|
item.duration !== void 0 && /* @__PURE__ */ jsxs(
|
|
2586
2686
|
"span",
|
|
2587
2687
|
{
|
|
2588
|
-
className:
|
|
2688
|
+
className: cn38(
|
|
2589
2689
|
"rounded px-1 py-0.5 text-xs",
|
|
2590
2690
|
isActive ? "bg-primary-foreground/20" : "bg-muted"
|
|
2591
2691
|
),
|
|
@@ -2606,7 +2706,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2606
2706
|
);
|
|
2607
2707
|
}
|
|
2608
2708
|
MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
|
|
2609
|
-
function
|
|
2709
|
+
function cn39(...classes) {
|
|
2610
2710
|
return classes.filter(Boolean).join(" ");
|
|
2611
2711
|
}
|
|
2612
2712
|
var ANIM_ID2 = "mosaic-sidebar-kf";
|
|
@@ -2776,7 +2876,7 @@ function MosaicAppSidebar({
|
|
|
2776
2876
|
{
|
|
2777
2877
|
ref,
|
|
2778
2878
|
"data-slot": "app-sidebar",
|
|
2779
|
-
className:
|
|
2879
|
+
className: cn39(
|
|
2780
2880
|
"flex h-full flex-col bg-sidebar border-r border-sidebar-border",
|
|
2781
2881
|
isMobile && "border-r-0",
|
|
2782
2882
|
className
|
|
@@ -2796,7 +2896,7 @@ function MosaicAppSidebar({
|
|
|
2796
2896
|
type: "button",
|
|
2797
2897
|
onClick: onToggleCollapse,
|
|
2798
2898
|
"aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
|
|
2799
|
-
className:
|
|
2899
|
+
className: cn39(
|
|
2800
2900
|
"flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
|
|
2801
2901
|
"hover:bg-sidebar-accent text-sidebar-foreground",
|
|
2802
2902
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2826,7 +2926,7 @@ function MosaicAppSidebar({
|
|
|
2826
2926
|
},
|
|
2827
2927
|
"aria-current": isActive ? "page" : void 0,
|
|
2828
2928
|
"aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
|
|
2829
|
-
className:
|
|
2929
|
+
className: cn39(
|
|
2830
2930
|
"group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
|
|
2831
2931
|
"hover:bg-sidebar-accent",
|
|
2832
2932
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2853,7 +2953,7 @@ function MosaicAppSidebar({
|
|
|
2853
2953
|
type: "button",
|
|
2854
2954
|
onClick: () => handleNavClick(sub.href),
|
|
2855
2955
|
"aria-current": isSubActive ? "page" : void 0,
|
|
2856
|
-
className:
|
|
2956
|
+
className: cn39(
|
|
2857
2957
|
"flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
|
|
2858
2958
|
"hover:bg-sidebar-accent/50 text-sidebar-foreground",
|
|
2859
2959
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2876,7 +2976,7 @@ function MosaicAppSidebar({
|
|
|
2876
2976
|
{
|
|
2877
2977
|
type: "button",
|
|
2878
2978
|
onClick: action.onClick,
|
|
2879
|
-
className:
|
|
2979
|
+
className: cn39(
|
|
2880
2980
|
"flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
|
|
2881
2981
|
"text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
|
|
2882
2982
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -2923,7 +3023,7 @@ function MosaicAppSidebar({
|
|
|
2923
3023
|
);
|
|
2924
3024
|
}
|
|
2925
3025
|
MosaicAppSidebar.displayName = "MosaicAppSidebar";
|
|
2926
|
-
function
|
|
3026
|
+
function cn40(...classes) {
|
|
2927
3027
|
return classes.filter(Boolean).join(" ");
|
|
2928
3028
|
}
|
|
2929
3029
|
var ANIM_ID3 = "mosaic-dashboard-kf";
|
|
@@ -3013,7 +3113,7 @@ function MosaicDashboardLayout({
|
|
|
3013
3113
|
{
|
|
3014
3114
|
ref,
|
|
3015
3115
|
"data-slot": "dashboard-layout",
|
|
3016
|
-
className:
|
|
3116
|
+
className: cn40("flex h-screen w-full bg-background", className),
|
|
3017
3117
|
children: [
|
|
3018
3118
|
!isMobile && /* @__PURE__ */ jsx(
|
|
3019
3119
|
MosaicAppSidebar,
|
|
@@ -3037,7 +3137,7 @@ function MosaicDashboardLayout({
|
|
|
3037
3137
|
type: "button",
|
|
3038
3138
|
"aria-label": "Open navigation",
|
|
3039
3139
|
onClick: () => setIsMobileSidebarOpen(true),
|
|
3040
|
-
className:
|
|
3140
|
+
className: cn40(
|
|
3041
3141
|
"flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
|
|
3042
3142
|
"text-foreground transition-colors hover:bg-muted",
|
|
3043
3143
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -3089,7 +3189,7 @@ function MosaicDashboardLayout({
|
|
|
3089
3189
|
);
|
|
3090
3190
|
}
|
|
3091
3191
|
MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
|
|
3092
|
-
function
|
|
3192
|
+
function cn41(...classes) {
|
|
3093
3193
|
return classes.filter(Boolean).join(" ");
|
|
3094
3194
|
}
|
|
3095
3195
|
var ANIM_ID4 = "mosaic-quick-action-kf";
|
|
@@ -3144,7 +3244,7 @@ function MosaicQuickActionCard({
|
|
|
3144
3244
|
{
|
|
3145
3245
|
ref,
|
|
3146
3246
|
"data-slot": "quick-action-card",
|
|
3147
|
-
className:
|
|
3247
|
+
className: cn41("rounded-xl border border-border bg-card", className),
|
|
3148
3248
|
children: [
|
|
3149
3249
|
heading && /* @__PURE__ */ jsx("div", { className: "border-b border-border px-6 py-4", children: /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }) }),
|
|
3150
3250
|
/* @__PURE__ */ jsx(
|
|
@@ -3169,7 +3269,7 @@ function MosaicQuickActionCard({
|
|
|
3169
3269
|
/* @__PURE__ */ jsxs(
|
|
3170
3270
|
"div",
|
|
3171
3271
|
{
|
|
3172
|
-
className:
|
|
3272
|
+
className: cn41(
|
|
3173
3273
|
"flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
|
|
3174
3274
|
"transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
|
|
3175
3275
|
accentClass
|
|
@@ -3202,7 +3302,7 @@ function MosaicQuickActionCard({
|
|
|
3202
3302
|
);
|
|
3203
3303
|
}
|
|
3204
3304
|
MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
|
|
3205
|
-
function
|
|
3305
|
+
function cn42(...classes) {
|
|
3206
3306
|
return classes.filter(Boolean).join(" ");
|
|
3207
3307
|
}
|
|
3208
3308
|
var ANIM_ID5 = "mosaic-activity-feed-kf";
|
|
@@ -3291,7 +3391,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3291
3391
|
"div",
|
|
3292
3392
|
{
|
|
3293
3393
|
"data-slot": "activity-item",
|
|
3294
|
-
className:
|
|
3394
|
+
className: cn42(
|
|
3295
3395
|
"flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
|
|
3296
3396
|
className
|
|
3297
3397
|
),
|
|
@@ -3325,7 +3425,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3325
3425
|
/* @__PURE__ */ jsx(
|
|
3326
3426
|
"span",
|
|
3327
3427
|
{
|
|
3328
|
-
className:
|
|
3428
|
+
className: cn42(
|
|
3329
3429
|
"rounded-full px-2 py-0.5 text-xs font-medium",
|
|
3330
3430
|
getStatusClass(activity.status)
|
|
3331
3431
|
),
|
|
@@ -3366,7 +3466,7 @@ function MosaicActivityFeed({
|
|
|
3366
3466
|
{
|
|
3367
3467
|
ref,
|
|
3368
3468
|
"data-slot": "activity-feed",
|
|
3369
|
-
className:
|
|
3469
|
+
className: cn42("rounded-xl border border-border bg-card", className),
|
|
3370
3470
|
children: [
|
|
3371
3471
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
3372
3472
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
|
|
@@ -3392,7 +3492,7 @@ function MosaicActivityFeed({
|
|
|
3392
3492
|
);
|
|
3393
3493
|
}
|
|
3394
3494
|
MosaicActivityFeed.displayName = "MosaicActivityFeed";
|
|
3395
|
-
function
|
|
3495
|
+
function cn43(...classes) {
|
|
3396
3496
|
return classes.filter(Boolean).join(" ");
|
|
3397
3497
|
}
|
|
3398
3498
|
function SparklesIcon() {
|
|
@@ -3601,7 +3701,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3601
3701
|
value: agentName,
|
|
3602
3702
|
onChange: (e) => onAgentNameChange(e.target.value),
|
|
3603
3703
|
placeholder: "Enter agent name\u2026",
|
|
3604
|
-
className:
|
|
3704
|
+
className: cn43(
|
|
3605
3705
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3606
3706
|
"placeholder:text-muted-foreground",
|
|
3607
3707
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3702,7 +3802,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3702
3802
|
onChange: (e) => onCustomInstructionsChange(e.target.value),
|
|
3703
3803
|
placeholder: "Add any specific instructions or behaviors\u2026",
|
|
3704
3804
|
rows: 5,
|
|
3705
|
-
className:
|
|
3805
|
+
className: cn43(
|
|
3706
3806
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3707
3807
|
"placeholder:text-muted-foreground",
|
|
3708
3808
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3770,7 +3870,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3770
3870
|
/* @__PURE__ */ jsx(SparklesIcon, {}),
|
|
3771
3871
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
|
|
3772
3872
|
] }) }),
|
|
3773
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3873
|
+
/* @__PURE__ */ jsxs("div", { className: cn43("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
|
|
3774
3874
|
isEditMode && onCancel && /* @__PURE__ */ jsx(
|
|
3775
3875
|
"button",
|
|
3776
3876
|
{
|
|
@@ -3786,7 +3886,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3786
3886
|
type: "button",
|
|
3787
3887
|
onClick: onSave,
|
|
3788
3888
|
disabled: !canSave,
|
|
3789
|
-
className:
|
|
3889
|
+
className: cn43(
|
|
3790
3890
|
"flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
|
|
3791
3891
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3792
3892
|
"bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -3807,7 +3907,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3807
3907
|
] });
|
|
3808
3908
|
}
|
|
3809
3909
|
MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
|
|
3810
|
-
function
|
|
3910
|
+
function cn44(...classes) {
|
|
3811
3911
|
return classes.filter(Boolean).join(" ");
|
|
3812
3912
|
}
|
|
3813
3913
|
function SparklesIcon2() {
|
|
@@ -4063,7 +4163,7 @@ function MosaicAgentComposerMobile({
|
|
|
4063
4163
|
disabled: isLoading,
|
|
4064
4164
|
"aria-required": "true",
|
|
4065
4165
|
"aria-invalid": canSave && !agentName ? "true" : "false",
|
|
4066
|
-
className:
|
|
4166
|
+
className: cn44(
|
|
4067
4167
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4068
4168
|
"placeholder:text-muted-foreground",
|
|
4069
4169
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4167,7 +4267,7 @@ function MosaicAgentComposerMobile({
|
|
|
4167
4267
|
disabled: isLoading,
|
|
4168
4268
|
"aria-describedby": `${instructionsId}-help`,
|
|
4169
4269
|
rows: 4,
|
|
4170
|
-
className:
|
|
4270
|
+
className: cn44(
|
|
4171
4271
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4172
4272
|
"placeholder:text-muted-foreground",
|
|
4173
4273
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4223,7 +4323,7 @@ function MosaicAgentComposer(props) {
|
|
|
4223
4323
|
return isMobile ? /* @__PURE__ */ jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsx(MosaicAgentComposerDesktop, { ...props });
|
|
4224
4324
|
}
|
|
4225
4325
|
MosaicAgentComposer.displayName = "MosaicAgentComposer";
|
|
4226
|
-
function
|
|
4326
|
+
function cn45(...classes) {
|
|
4227
4327
|
return classes.filter(Boolean).join(" ");
|
|
4228
4328
|
}
|
|
4229
4329
|
function EditIcon() {
|
|
@@ -4281,7 +4381,7 @@ function MosaicModuleCard({
|
|
|
4281
4381
|
{
|
|
4282
4382
|
ref,
|
|
4283
4383
|
"data-slot": "module-card",
|
|
4284
|
-
className:
|
|
4384
|
+
className: cn45(
|
|
4285
4385
|
"min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
|
|
4286
4386
|
"flex items-start gap-3",
|
|
4287
4387
|
isSelected && "ring-2 ring-primary bg-primary/5",
|
|
@@ -4343,7 +4443,7 @@ function MosaicThemeProvider({
|
|
|
4343
4443
|
return /* @__PURE__ */ jsx("div", { "data-slot": "theme-provider", children });
|
|
4344
4444
|
}
|
|
4345
4445
|
MosaicThemeProvider.displayName = "MosaicThemeProvider";
|
|
4346
|
-
function
|
|
4446
|
+
function cn46(...classes) {
|
|
4347
4447
|
return classes.filter(Boolean).join(" ");
|
|
4348
4448
|
}
|
|
4349
4449
|
var ANIM_ID6 = "mosaic-delete-dialog-kf";
|
|
@@ -4397,14 +4497,14 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4397
4497
|
/* @__PURE__ */ jsx(
|
|
4398
4498
|
AlertDialog.Backdrop,
|
|
4399
4499
|
{
|
|
4400
|
-
className:
|
|
4500
|
+
className: cn46("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
|
|
4401
4501
|
}
|
|
4402
4502
|
),
|
|
4403
4503
|
/* @__PURE__ */ jsxs(
|
|
4404
4504
|
AlertDialog.Popup,
|
|
4405
4505
|
{
|
|
4406
4506
|
"data-slot": "delete-confirmation-dialog",
|
|
4407
|
-
className:
|
|
4507
|
+
className: cn46(
|
|
4408
4508
|
"mosaic-delete-content",
|
|
4409
4509
|
"fixed left-1/2 top-1/2 z-50",
|
|
4410
4510
|
"w-full max-w-[92vw] sm:max-w-md",
|
|
@@ -4417,7 +4517,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4417
4517
|
/* @__PURE__ */ jsx(
|
|
4418
4518
|
AlertDialog.Close,
|
|
4419
4519
|
{
|
|
4420
|
-
className:
|
|
4520
|
+
className: cn46(
|
|
4421
4521
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
4422
4522
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4423
4523
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4431,7 +4531,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4431
4531
|
AlertDialog.Close,
|
|
4432
4532
|
{
|
|
4433
4533
|
onClick: onConfirm,
|
|
4434
|
-
className:
|
|
4534
|
+
className: cn46(
|
|
4435
4535
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
|
|
4436
4536
|
"bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
|
|
4437
4537
|
"hover:bg-destructive/90",
|
|
@@ -4448,7 +4548,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4448
4548
|
] }) });
|
|
4449
4549
|
}
|
|
4450
4550
|
MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
|
|
4451
|
-
function
|
|
4551
|
+
function cn47(...classes) {
|
|
4452
4552
|
return classes.filter(Boolean).join(" ");
|
|
4453
4553
|
}
|
|
4454
4554
|
function Toggle({
|
|
@@ -4464,7 +4564,7 @@ function Toggle({
|
|
|
4464
4564
|
id,
|
|
4465
4565
|
"aria-checked": checked,
|
|
4466
4566
|
onClick: () => onChange(!checked),
|
|
4467
|
-
className:
|
|
4567
|
+
className: cn47(
|
|
4468
4568
|
"relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
|
|
4469
4569
|
"transition-colors duration-200 ease-in-out",
|
|
4470
4570
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
@@ -4473,7 +4573,7 @@ function Toggle({
|
|
|
4473
4573
|
children: /* @__PURE__ */ jsx(
|
|
4474
4574
|
"span",
|
|
4475
4575
|
{
|
|
4476
|
-
className:
|
|
4576
|
+
className: cn47(
|
|
4477
4577
|
"pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
|
|
4478
4578
|
"transform transition duration-200 ease-in-out",
|
|
4479
4579
|
checked ? "translate-x-5" : "translate-x-0"
|
|
@@ -4495,7 +4595,7 @@ function NativeSelect({
|
|
|
4495
4595
|
id,
|
|
4496
4596
|
value,
|
|
4497
4597
|
onChange: (e) => onChange(e.target.value),
|
|
4498
|
-
className:
|
|
4598
|
+
className: cn47(
|
|
4499
4599
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4500
4600
|
"text-sm text-foreground",
|
|
4501
4601
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4514,7 +4614,7 @@ function MosaicPreferencesPanel({
|
|
|
4514
4614
|
className
|
|
4515
4615
|
}) {
|
|
4516
4616
|
const { isMobile } = useDevice();
|
|
4517
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className:
|
|
4617
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
|
|
4518
4618
|
groups.map((group) => /* @__PURE__ */ jsxs(
|
|
4519
4619
|
"div",
|
|
4520
4620
|
{
|
|
@@ -4557,13 +4657,13 @@ function MosaicPreferencesPanel({
|
|
|
4557
4657
|
},
|
|
4558
4658
|
group.id
|
|
4559
4659
|
)),
|
|
4560
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4660
|
+
/* @__PURE__ */ jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4561
4661
|
"button",
|
|
4562
4662
|
{
|
|
4563
4663
|
type: "button",
|
|
4564
4664
|
onClick: onSave,
|
|
4565
4665
|
disabled: isSaving,
|
|
4566
|
-
className:
|
|
4666
|
+
className: cn47(
|
|
4567
4667
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4568
4668
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4569
4669
|
"hover:bg-primary/90",
|
|
@@ -4599,7 +4699,7 @@ function MosaicPreferencesPanel({
|
|
|
4599
4699
|
] });
|
|
4600
4700
|
}
|
|
4601
4701
|
MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
|
|
4602
|
-
function
|
|
4702
|
+
function cn48(...classes) {
|
|
4603
4703
|
return classes.filter(Boolean).join(" ");
|
|
4604
4704
|
}
|
|
4605
4705
|
function AvatarDisplay({
|
|
@@ -4612,7 +4712,7 @@ function AvatarDisplay({
|
|
|
4612
4712
|
return /* @__PURE__ */ jsx(
|
|
4613
4713
|
"span",
|
|
4614
4714
|
{
|
|
4615
|
-
className:
|
|
4715
|
+
className: cn48(
|
|
4616
4716
|
"inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
|
|
4617
4717
|
sizeClass
|
|
4618
4718
|
),
|
|
@@ -4634,7 +4734,7 @@ function MosaicProfilePanel({
|
|
|
4634
4734
|
className
|
|
4635
4735
|
}) {
|
|
4636
4736
|
const { isMobile } = useDevice();
|
|
4637
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className:
|
|
4737
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className: cn48("space-y-4 md:space-y-6", className), children: [
|
|
4638
4738
|
/* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
|
|
4639
4739
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
|
|
4640
4740
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
|
|
@@ -4654,7 +4754,7 @@ function MosaicProfilePanel({
|
|
|
4654
4754
|
{
|
|
4655
4755
|
type: "button",
|
|
4656
4756
|
onClick: onAvatarUpload,
|
|
4657
|
-
className:
|
|
4757
|
+
className: cn48(
|
|
4658
4758
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
|
|
4659
4759
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4660
4760
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4704,7 +4804,7 @@ function MosaicProfilePanel({
|
|
|
4704
4804
|
placeholder: field.placeholder,
|
|
4705
4805
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4706
4806
|
rows: 4,
|
|
4707
|
-
className:
|
|
4807
|
+
className: cn48(
|
|
4708
4808
|
"flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4709
4809
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4710
4810
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4720,7 +4820,7 @@ function MosaicProfilePanel({
|
|
|
4720
4820
|
readOnly: field.readOnly,
|
|
4721
4821
|
placeholder: field.placeholder,
|
|
4722
4822
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4723
|
-
className:
|
|
4823
|
+
className: cn48(
|
|
4724
4824
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4725
4825
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4726
4826
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4740,7 +4840,7 @@ function MosaicProfilePanel({
|
|
|
4740
4840
|
{
|
|
4741
4841
|
type: "button",
|
|
4742
4842
|
onClick: onChangePassword,
|
|
4743
|
-
className:
|
|
4843
|
+
className: cn48(
|
|
4744
4844
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
4745
4845
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4746
4846
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4752,13 +4852,13 @@ function MosaicProfilePanel({
|
|
|
4752
4852
|
) })
|
|
4753
4853
|
] }),
|
|
4754
4854
|
extraSections,
|
|
4755
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4855
|
+
/* @__PURE__ */ jsx("div", { className: cn48("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4756
4856
|
"button",
|
|
4757
4857
|
{
|
|
4758
4858
|
type: "button",
|
|
4759
4859
|
onClick: onSave,
|
|
4760
4860
|
disabled: isSaving,
|
|
4761
|
-
className:
|
|
4861
|
+
className: cn48(
|
|
4762
4862
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4763
4863
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4764
4864
|
"hover:bg-primary/90",
|
|
@@ -4794,7 +4894,7 @@ function MosaicProfilePanel({
|
|
|
4794
4894
|
] });
|
|
4795
4895
|
}
|
|
4796
4896
|
MosaicProfilePanel.displayName = "MosaicProfilePanel";
|
|
4797
|
-
function
|
|
4897
|
+
function cn49(...classes) {
|
|
4798
4898
|
return classes.filter(Boolean).join(" ");
|
|
4799
4899
|
}
|
|
4800
4900
|
var ANIM_ID7 = "mosaic-main-nav-kf";
|
|
@@ -4902,7 +5002,7 @@ function MosaicMainNav({
|
|
|
4902
5002
|
{
|
|
4903
5003
|
type: "button",
|
|
4904
5004
|
onClick: () => setIsOpen(!isOpen),
|
|
4905
|
-
className:
|
|
5005
|
+
className: cn49(
|
|
4906
5006
|
"inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
|
|
4907
5007
|
"text-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4908
5008
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4928,7 +5028,7 @@ function MosaicMainNav({
|
|
|
4928
5028
|
"aria-label": "Navigation",
|
|
4929
5029
|
open: isOpen,
|
|
4930
5030
|
"data-open": isOpen ? "true" : "false",
|
|
4931
|
-
className:
|
|
5031
|
+
className: cn49(
|
|
4932
5032
|
"mosaic-nav-drawer",
|
|
4933
5033
|
"fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
|
|
4934
5034
|
"border-r border-border bg-background shadow-xl",
|
|
@@ -4945,7 +5045,7 @@ function MosaicMainNav({
|
|
|
4945
5045
|
{
|
|
4946
5046
|
type: "button",
|
|
4947
5047
|
onClick: () => setIsOpen(false),
|
|
4948
|
-
className:
|
|
5048
|
+
className: cn49(
|
|
4949
5049
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
4950
5050
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4951
5051
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4958,7 +5058,7 @@ function MosaicMainNav({
|
|
|
4958
5058
|
/* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
|
|
4959
5059
|
const Icon = item.icon;
|
|
4960
5060
|
const active = isItemActive(item);
|
|
4961
|
-
const itemClass =
|
|
5061
|
+
const itemClass = cn49(
|
|
4962
5062
|
"flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
|
|
4963
5063
|
"hover:bg-accent hover:text-accent-foreground",
|
|
4964
5064
|
"min-h-[44px]",
|
|
@@ -4984,12 +5084,12 @@ function MosaicMainNav({
|
|
|
4984
5084
|
"nav",
|
|
4985
5085
|
{
|
|
4986
5086
|
"data-slot": "main-nav",
|
|
4987
|
-
className:
|
|
5087
|
+
className: cn49("flex items-center gap-1", className),
|
|
4988
5088
|
"aria-label": "Main navigation",
|
|
4989
5089
|
children: filteredItems.map((item) => {
|
|
4990
5090
|
const Icon = item.icon;
|
|
4991
5091
|
const active = isItemActive(item);
|
|
4992
|
-
const itemClass =
|
|
5092
|
+
const itemClass = cn49(
|
|
4993
5093
|
"flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
|
4994
5094
|
"hover:bg-accent hover:text-accent-foreground",
|
|
4995
5095
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -5009,7 +5109,7 @@ function MosaicMainNav({
|
|
|
5009
5109
|
);
|
|
5010
5110
|
}
|
|
5011
5111
|
MosaicMainNav.displayName = "MosaicMainNav";
|
|
5012
|
-
function
|
|
5112
|
+
function cn50(...classes) {
|
|
5013
5113
|
return classes.filter(Boolean).join(" ");
|
|
5014
5114
|
}
|
|
5015
5115
|
function MoreVertIcon() {
|
|
@@ -5140,7 +5240,7 @@ function MosaicAgentCard({
|
|
|
5140
5240
|
"div",
|
|
5141
5241
|
{
|
|
5142
5242
|
"data-slot": "agent-card",
|
|
5143
|
-
className:
|
|
5243
|
+
className: cn50(
|
|
5144
5244
|
"relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
|
|
5145
5245
|
"transition-shadow hover:shadow-md",
|
|
5146
5246
|
agent.isActive && "ring-2 ring-primary",
|
|
@@ -5150,7 +5250,7 @@ function MosaicAgentCard({
|
|
|
5150
5250
|
/* @__PURE__ */ jsx(
|
|
5151
5251
|
"div",
|
|
5152
5252
|
{
|
|
5153
|
-
className:
|
|
5253
|
+
className: cn50(
|
|
5154
5254
|
"absolute left-0 top-0 h-1 w-full",
|
|
5155
5255
|
agent.isActive ? "bg-primary" : "bg-muted"
|
|
5156
5256
|
)
|
|
@@ -5162,7 +5262,7 @@ function MosaicAgentCard({
|
|
|
5162
5262
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5163
5263
|
"span",
|
|
5164
5264
|
{
|
|
5165
|
-
className:
|
|
5265
|
+
className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5166
5266
|
"aria-hidden": "true"
|
|
5167
5267
|
}
|
|
5168
5268
|
),
|
|
@@ -5180,7 +5280,7 @@ function MosaicAgentCard({
|
|
|
5180
5280
|
{
|
|
5181
5281
|
type: "button",
|
|
5182
5282
|
onClick: () => setMenuOpen((v) => !v),
|
|
5183
|
-
className:
|
|
5283
|
+
className: cn50(
|
|
5184
5284
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
5185
5285
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5186
5286
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5195,7 +5295,7 @@ function MosaicAgentCard({
|
|
|
5195
5295
|
"div",
|
|
5196
5296
|
{
|
|
5197
5297
|
role: "menu",
|
|
5198
|
-
className:
|
|
5298
|
+
className: cn50(
|
|
5199
5299
|
"absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
|
|
5200
5300
|
"bg-popover py-1 shadow-md"
|
|
5201
5301
|
),
|
|
@@ -5210,7 +5310,7 @@ function MosaicAgentCard({
|
|
|
5210
5310
|
onToggleStatus(agent.id);
|
|
5211
5311
|
setMenuOpen(false);
|
|
5212
5312
|
},
|
|
5213
|
-
className:
|
|
5313
|
+
className: cn50(
|
|
5214
5314
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
5215
5315
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5216
5316
|
"disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -5272,7 +5372,7 @@ function MosaicAgentCard({
|
|
|
5272
5372
|
type: "button",
|
|
5273
5373
|
disabled: isLoading,
|
|
5274
5374
|
onClick: () => onToggleStatus(agent.id),
|
|
5275
|
-
className:
|
|
5375
|
+
className: cn50(
|
|
5276
5376
|
"inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
|
|
5277
5377
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5278
5378
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -5288,7 +5388,7 @@ function MosaicAgentCard({
|
|
|
5288
5388
|
);
|
|
5289
5389
|
}
|
|
5290
5390
|
MosaicAgentCard.displayName = "MosaicAgentCard";
|
|
5291
|
-
function
|
|
5391
|
+
function cn51(...classes) {
|
|
5292
5392
|
return classes.filter(Boolean).join(" ");
|
|
5293
5393
|
}
|
|
5294
5394
|
function PlusIcon3() {
|
|
@@ -5368,7 +5468,7 @@ function PickerContent({
|
|
|
5368
5468
|
{
|
|
5369
5469
|
type: "button",
|
|
5370
5470
|
onClick: () => onAdd(agent.id),
|
|
5371
|
-
className:
|
|
5471
|
+
className: cn51(
|
|
5372
5472
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5373
5473
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5374
5474
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5377,7 +5477,7 @@ function PickerContent({
|
|
|
5377
5477
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5378
5478
|
"span",
|
|
5379
5479
|
{
|
|
5380
|
-
className:
|
|
5480
|
+
className: cn51("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5381
5481
|
"aria-hidden": "true"
|
|
5382
5482
|
}
|
|
5383
5483
|
),
|
|
@@ -5394,7 +5494,7 @@ function PickerContent({
|
|
|
5394
5494
|
{
|
|
5395
5495
|
type: "button",
|
|
5396
5496
|
onClick: onOpenBuilder,
|
|
5397
|
-
className:
|
|
5497
|
+
className: cn51(
|
|
5398
5498
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5399
5499
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5400
5500
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5444,11 +5544,11 @@ function MosaicQuickAgentSelector({
|
|
|
5444
5544
|
setPickerOpen(false);
|
|
5445
5545
|
};
|
|
5446
5546
|
const canAdd = selectedAgents.length < maxAgents;
|
|
5447
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className:
|
|
5547
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className: cn51("flex items-center gap-2", className), children: [
|
|
5448
5548
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxs(
|
|
5449
5549
|
"div",
|
|
5450
5550
|
{
|
|
5451
|
-
className:
|
|
5551
|
+
className: cn51(
|
|
5452
5552
|
"group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
|
|
5453
5553
|
isMobile ? "px-2 py-1" : "px-3 py-1.5"
|
|
5454
5554
|
),
|
|
@@ -5456,17 +5556,17 @@ function MosaicQuickAgentSelector({
|
|
|
5456
5556
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5457
5557
|
"span",
|
|
5458
5558
|
{
|
|
5459
|
-
className:
|
|
5559
|
+
className: cn51("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
|
|
5460
5560
|
"aria-hidden": "true"
|
|
5461
5561
|
}
|
|
5462
5562
|
),
|
|
5463
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5563
|
+
/* @__PURE__ */ jsx("span", { className: cn51("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
|
|
5464
5564
|
/* @__PURE__ */ jsx(
|
|
5465
5565
|
"button",
|
|
5466
5566
|
{
|
|
5467
5567
|
type: "button",
|
|
5468
5568
|
onClick: () => onRemoveAgent(agent.id),
|
|
5469
|
-
className:
|
|
5569
|
+
className: cn51(
|
|
5470
5570
|
"inline-flex h-4 w-4 items-center justify-center rounded",
|
|
5471
5571
|
"text-muted-foreground hover:text-foreground",
|
|
5472
5572
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -5486,7 +5586,7 @@ function MosaicQuickAgentSelector({
|
|
|
5486
5586
|
{
|
|
5487
5587
|
type: "button",
|
|
5488
5588
|
onClick: () => setPickerOpen((v) => !v),
|
|
5489
|
-
className:
|
|
5589
|
+
className: cn51(
|
|
5490
5590
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
5491
5591
|
"px-3 py-1.5 text-sm font-medium text-foreground",
|
|
5492
5592
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5501,7 +5601,7 @@ function MosaicQuickAgentSelector({
|
|
|
5501
5601
|
!isMobile && pickerOpen && /* @__PURE__ */ jsx(
|
|
5502
5602
|
"div",
|
|
5503
5603
|
{
|
|
5504
|
-
className:
|
|
5604
|
+
className: cn51(
|
|
5505
5605
|
"absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
|
|
5506
5606
|
"bg-popover shadow-lg"
|
|
5507
5607
|
),
|
|
@@ -5543,7 +5643,7 @@ function MosaicQuickAgentSelector({
|
|
|
5543
5643
|
/* @__PURE__ */ jsxs(
|
|
5544
5644
|
"span",
|
|
5545
5645
|
{
|
|
5546
|
-
className:
|
|
5646
|
+
className: cn51(
|
|
5547
5647
|
"shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
|
|
5548
5648
|
),
|
|
5549
5649
|
children: [
|
|
@@ -5556,7 +5656,7 @@ function MosaicQuickAgentSelector({
|
|
|
5556
5656
|
] });
|
|
5557
5657
|
}
|
|
5558
5658
|
MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
|
|
5559
|
-
function
|
|
5659
|
+
function cn52(...classes) {
|
|
5560
5660
|
return classes.filter(Boolean).join(" ");
|
|
5561
5661
|
}
|
|
5562
5662
|
function SearchIcon() {
|
|
@@ -5646,7 +5746,7 @@ function MosaicSelectorModal({
|
|
|
5646
5746
|
value: query,
|
|
5647
5747
|
onChange: (e) => setQuery(e.target.value),
|
|
5648
5748
|
placeholder: searchPlaceholder,
|
|
5649
|
-
className:
|
|
5749
|
+
className: cn52(
|
|
5650
5750
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
5651
5751
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
5652
5752
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5660,7 +5760,7 @@ function MosaicSelectorModal({
|
|
|
5660
5760
|
{
|
|
5661
5761
|
type: "button",
|
|
5662
5762
|
onClick: () => setActiveCategory("all"),
|
|
5663
|
-
className:
|
|
5763
|
+
className: cn52(
|
|
5664
5764
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5665
5765
|
activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5666
5766
|
),
|
|
@@ -5672,7 +5772,7 @@ function MosaicSelectorModal({
|
|
|
5672
5772
|
{
|
|
5673
5773
|
type: "button",
|
|
5674
5774
|
onClick: () => setActiveCategory(cat.id),
|
|
5675
|
-
className:
|
|
5775
|
+
className: cn52(
|
|
5676
5776
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5677
5777
|
activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5678
5778
|
),
|
|
@@ -5684,7 +5784,7 @@ function MosaicSelectorModal({
|
|
|
5684
5784
|
/* @__PURE__ */ jsxs(
|
|
5685
5785
|
"div",
|
|
5686
5786
|
{
|
|
5687
|
-
className:
|
|
5787
|
+
className: cn52(
|
|
5688
5788
|
"max-h-[50vh] overflow-y-auto",
|
|
5689
5789
|
columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
|
|
5690
5790
|
),
|
|
@@ -5696,7 +5796,7 @@ function MosaicSelectorModal({
|
|
|
5696
5796
|
{
|
|
5697
5797
|
type: "button",
|
|
5698
5798
|
onClick: () => setPendingId(item.id),
|
|
5699
|
-
className:
|
|
5799
|
+
className: cn52(
|
|
5700
5800
|
"group relative rounded-lg border p-4 text-left transition-all duration-150",
|
|
5701
5801
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5702
5802
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
|
|
@@ -5734,7 +5834,7 @@ function MosaicSelectorModal({
|
|
|
5734
5834
|
{
|
|
5735
5835
|
type: "button",
|
|
5736
5836
|
onClick: onClose,
|
|
5737
|
-
className:
|
|
5837
|
+
className: cn52(
|
|
5738
5838
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
5739
5839
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
5740
5840
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5749,7 +5849,7 @@ function MosaicSelectorModal({
|
|
|
5749
5849
|
type: "button",
|
|
5750
5850
|
onClick: handleConfirm,
|
|
5751
5851
|
disabled: !pendingItem,
|
|
5752
|
-
className:
|
|
5852
|
+
className: cn52(
|
|
5753
5853
|
"inline-flex min-h-[44px] items-center justify-center rounded-md",
|
|
5754
5854
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
5755
5855
|
"hover:bg-primary/90",
|
|
@@ -5763,7 +5863,7 @@ function MosaicSelectorModal({
|
|
|
5763
5863
|
] }) });
|
|
5764
5864
|
}
|
|
5765
5865
|
MosaicSelectorModal.displayName = "MosaicSelectorModal";
|
|
5766
|
-
function
|
|
5866
|
+
function cn53(...classes) {
|
|
5767
5867
|
return classes.filter(Boolean).join(" ");
|
|
5768
5868
|
}
|
|
5769
5869
|
function relativeTime(ts) {
|
|
@@ -6012,7 +6112,7 @@ function MosaicMessageCard({
|
|
|
6012
6112
|
"div",
|
|
6013
6113
|
{
|
|
6014
6114
|
"data-slot": "message-card",
|
|
6015
|
-
className:
|
|
6115
|
+
className: cn53(
|
|
6016
6116
|
"rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
|
|
6017
6117
|
compact && "p-3",
|
|
6018
6118
|
message.sender.type === "user" && "bg-primary/5",
|
|
@@ -6022,7 +6122,7 @@ function MosaicMessageCard({
|
|
|
6022
6122
|
/* @__PURE__ */ jsx(
|
|
6023
6123
|
"span",
|
|
6024
6124
|
{
|
|
6025
|
-
className:
|
|
6125
|
+
className: cn53(
|
|
6026
6126
|
"inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
|
|
6027
6127
|
compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
|
|
6028
6128
|
message.sender.accentColor ?? "bg-muted text-muted-foreground"
|
|
@@ -6040,7 +6140,7 @@ function MosaicMessageCard({
|
|
|
6040
6140
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6041
6141
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
|
|
6042
6142
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6043
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6143
|
+
/* @__PURE__ */ jsx("span", { className: cn53("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
|
|
6044
6144
|
message.sender.type === "ai" && /* @__PURE__ */ jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
|
|
6045
6145
|
] }),
|
|
6046
6146
|
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
|
|
@@ -6048,7 +6148,7 @@ function MosaicMessageCard({
|
|
|
6048
6148
|
/* @__PURE__ */ jsx(
|
|
6049
6149
|
"p",
|
|
6050
6150
|
{
|
|
6051
|
-
className:
|
|
6151
|
+
className: cn53(
|
|
6052
6152
|
"leading-relaxed text-foreground mb-3",
|
|
6053
6153
|
compact ? "text-sm" : "text-base"
|
|
6054
6154
|
),
|
|
@@ -6063,7 +6163,7 @@ function MosaicMessageCard({
|
|
|
6063
6163
|
{
|
|
6064
6164
|
type: "button",
|
|
6065
6165
|
onClick: handleLike,
|
|
6066
|
-
className:
|
|
6166
|
+
className: cn53(
|
|
6067
6167
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6068
6168
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6069
6169
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6081,7 +6181,7 @@ function MosaicMessageCard({
|
|
|
6081
6181
|
{
|
|
6082
6182
|
type: "button",
|
|
6083
6183
|
onClick: handleDislike,
|
|
6084
|
-
className:
|
|
6184
|
+
className: cn53(
|
|
6085
6185
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6086
6186
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6087
6187
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6126,7 +6226,7 @@ function MosaicMessageCard({
|
|
|
6126
6226
|
{
|
|
6127
6227
|
type: "button",
|
|
6128
6228
|
onClick: handleBookmark,
|
|
6129
|
-
className:
|
|
6229
|
+
className: cn53(
|
|
6130
6230
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
6131
6231
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6132
6232
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6227,7 +6327,7 @@ function MosaicMessageCard({
|
|
|
6227
6327
|
);
|
|
6228
6328
|
}
|
|
6229
6329
|
MosaicMessageCard.displayName = "MosaicMessageCard";
|
|
6230
|
-
function
|
|
6330
|
+
function cn54(...classes) {
|
|
6231
6331
|
return classes.filter(Boolean).join(" ");
|
|
6232
6332
|
}
|
|
6233
6333
|
function SearchIcon2() {
|
|
@@ -6267,7 +6367,7 @@ function MessageListDesktop({
|
|
|
6267
6367
|
const filtered = query ? messages.filter(
|
|
6268
6368
|
(m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
|
|
6269
6369
|
) : messages;
|
|
6270
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className:
|
|
6370
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className: cn54("flex h-full flex-col", className), children: [
|
|
6271
6371
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
6272
6372
|
title && /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: title }),
|
|
6273
6373
|
/* @__PURE__ */ jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
|
|
@@ -6279,7 +6379,7 @@ function MessageListDesktop({
|
|
|
6279
6379
|
value: query,
|
|
6280
6380
|
onChange: (e) => setQuery(e.target.value),
|
|
6281
6381
|
placeholder: "Search messages\u2026",
|
|
6282
|
-
className:
|
|
6382
|
+
className: cn54(
|
|
6283
6383
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6284
6384
|
"text-sm placeholder:text-muted-foreground",
|
|
6285
6385
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6308,7 +6408,7 @@ function MessageListDesktop({
|
|
|
6308
6408
|
{
|
|
6309
6409
|
type: "button",
|
|
6310
6410
|
onClick: onLoadMore,
|
|
6311
|
-
className:
|
|
6411
|
+
className: cn54(
|
|
6312
6412
|
"w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6313
6413
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6314
6414
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6330,7 +6430,7 @@ function MessageListMobile({
|
|
|
6330
6430
|
isLoading,
|
|
6331
6431
|
className
|
|
6332
6432
|
}) {
|
|
6333
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className:
|
|
6433
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className: cn54("flex flex-col", className), children: [
|
|
6334
6434
|
title && /* @__PURE__ */ jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsx("h2", { className: "text-base font-semibold", children: title }) }),
|
|
6335
6435
|
/* @__PURE__ */ jsxs("div", { className: "space-y-3 p-4", children: [
|
|
6336
6436
|
isLoading && /* @__PURE__ */ jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
|
|
@@ -6353,7 +6453,7 @@ function MessageListMobile({
|
|
|
6353
6453
|
{
|
|
6354
6454
|
type: "button",
|
|
6355
6455
|
onClick: onLoadMore,
|
|
6356
|
-
className:
|
|
6456
|
+
className: cn54(
|
|
6357
6457
|
"w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6358
6458
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6359
6459
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6368,7 +6468,7 @@ function MosaicMessageList(props) {
|
|
|
6368
6468
|
return isMobile ? /* @__PURE__ */ jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsx(MessageListDesktop, { ...props });
|
|
6369
6469
|
}
|
|
6370
6470
|
MosaicMessageList.displayName = "MosaicMessageList";
|
|
6371
|
-
function
|
|
6471
|
+
function cn55(...classes) {
|
|
6372
6472
|
return classes.filter(Boolean).join(" ");
|
|
6373
6473
|
}
|
|
6374
6474
|
function ChevronLeftIcon2() {
|
|
@@ -6444,7 +6544,7 @@ function MosaicFilterSidebar({
|
|
|
6444
6544
|
{
|
|
6445
6545
|
"data-slot": "filter-sidebar",
|
|
6446
6546
|
style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
|
|
6447
|
-
className:
|
|
6547
|
+
className: cn55(
|
|
6448
6548
|
"relative flex flex-col border-r border-border bg-card",
|
|
6449
6549
|
"transition-[width] duration-200 ease-in-out",
|
|
6450
6550
|
"overflow-hidden",
|
|
@@ -6456,7 +6556,7 @@ function MosaicFilterSidebar({
|
|
|
6456
6556
|
{
|
|
6457
6557
|
type: "button",
|
|
6458
6558
|
onClick: onToggleCollapse,
|
|
6459
|
-
className:
|
|
6559
|
+
className: cn55(
|
|
6460
6560
|
"absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
|
|
6461
6561
|
"border border-border bg-background shadow-sm",
|
|
6462
6562
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6486,7 +6586,7 @@ function MosaicFilterSidebar({
|
|
|
6486
6586
|
{
|
|
6487
6587
|
type: "button",
|
|
6488
6588
|
onClick: () => onFilterChange(f.id),
|
|
6489
|
-
className:
|
|
6589
|
+
className: cn55(
|
|
6490
6590
|
"flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
|
|
6491
6591
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6492
6592
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6506,7 +6606,7 @@ function MosaicFilterSidebar({
|
|
|
6506
6606
|
{
|
|
6507
6607
|
type: "button",
|
|
6508
6608
|
onClick: () => onCategoryChange(cat.id),
|
|
6509
|
-
className:
|
|
6609
|
+
className: cn55(
|
|
6510
6610
|
"flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
|
|
6511
6611
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6512
6612
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6526,7 +6626,7 @@ function MosaicFilterSidebar({
|
|
|
6526
6626
|
);
|
|
6527
6627
|
}
|
|
6528
6628
|
MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
|
|
6529
|
-
function
|
|
6629
|
+
function cn56(...classes) {
|
|
6530
6630
|
return classes.filter(Boolean).join(" ");
|
|
6531
6631
|
}
|
|
6532
6632
|
function SearchIcon3() {
|
|
@@ -6641,7 +6741,7 @@ function AgentListDesktop({
|
|
|
6641
6741
|
value: query,
|
|
6642
6742
|
onChange: (e) => setQuery(e.target.value),
|
|
6643
6743
|
placeholder: searchPlaceholder,
|
|
6644
|
-
className:
|
|
6744
|
+
className: cn56(
|
|
6645
6745
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6646
6746
|
"text-sm placeholder:text-muted-foreground",
|
|
6647
6747
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6654,7 +6754,7 @@ function AgentListDesktop({
|
|
|
6654
6754
|
{
|
|
6655
6755
|
type: "button",
|
|
6656
6756
|
onClick: onCreateAgent,
|
|
6657
|
-
className:
|
|
6757
|
+
className: cn56(
|
|
6658
6758
|
"inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
6659
6759
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6660
6760
|
),
|
|
@@ -6713,7 +6813,7 @@ function AgentListMobile({
|
|
|
6713
6813
|
{
|
|
6714
6814
|
type: "button",
|
|
6715
6815
|
onClick: () => setFilterOpen(true),
|
|
6716
|
-
className:
|
|
6816
|
+
className: cn56(
|
|
6717
6817
|
"inline-flex h-9 w-9 items-center justify-center rounded-md",
|
|
6718
6818
|
"border border-border bg-background text-foreground",
|
|
6719
6819
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6728,7 +6828,7 @@ function AgentListMobile({
|
|
|
6728
6828
|
{
|
|
6729
6829
|
type: "button",
|
|
6730
6830
|
onClick: onCreateAgent,
|
|
6731
|
-
className:
|
|
6831
|
+
className: cn56(
|
|
6732
6832
|
"inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
|
|
6733
6833
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6734
6834
|
),
|
|
@@ -6749,7 +6849,7 @@ function AgentListMobile({
|
|
|
6749
6849
|
value: query,
|
|
6750
6850
|
onChange: (e) => setQuery(e.target.value),
|
|
6751
6851
|
placeholder: searchPlaceholder,
|
|
6752
|
-
className:
|
|
6852
|
+
className: cn56(
|
|
6753
6853
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6754
6854
|
"text-sm placeholder:text-muted-foreground",
|
|
6755
6855
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6797,7 +6897,7 @@ function MosaicAgentList(props) {
|
|
|
6797
6897
|
return isMobile ? /* @__PURE__ */ jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsx(AgentListDesktop, { ...props });
|
|
6798
6898
|
}
|
|
6799
6899
|
MosaicAgentList.displayName = "MosaicAgentList";
|
|
6800
|
-
function
|
|
6900
|
+
function cn57(...classes) {
|
|
6801
6901
|
return classes.filter(Boolean).join(" ");
|
|
6802
6902
|
}
|
|
6803
6903
|
function StarIcon({ filled }) {
|
|
@@ -6893,7 +6993,7 @@ function MarketplaceCard({
|
|
|
6893
6993
|
"div",
|
|
6894
6994
|
{
|
|
6895
6995
|
"data-slot": "marketplace-card",
|
|
6896
|
-
className:
|
|
6996
|
+
className: cn57(
|
|
6897
6997
|
"rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
|
|
6898
6998
|
compact ? "flex items-center gap-3" : "flex flex-col gap-3"
|
|
6899
6999
|
),
|
|
@@ -6901,7 +7001,7 @@ function MarketplaceCard({
|
|
|
6901
7001
|
item.icon && /* @__PURE__ */ jsx(
|
|
6902
7002
|
"div",
|
|
6903
7003
|
{
|
|
6904
|
-
className:
|
|
7004
|
+
className: cn57(
|
|
6905
7005
|
"flex shrink-0 items-center justify-center rounded-lg",
|
|
6906
7006
|
compact ? "h-10 w-10" : "h-12 w-12",
|
|
6907
7007
|
item.accentClass ?? "bg-muted text-muted-foreground"
|
|
@@ -6912,7 +7012,7 @@ function MarketplaceCard({
|
|
|
6912
7012
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
6913
7013
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
6914
7014
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
6915
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
7015
|
+
/* @__PURE__ */ jsx("p", { className: cn57("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
|
|
6916
7016
|
item.description && !compact && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
|
|
6917
7017
|
] }),
|
|
6918
7018
|
item.price && /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
|
|
@@ -6929,13 +7029,13 @@ function MarketplaceCard({
|
|
|
6929
7029
|
] })
|
|
6930
7030
|
] })
|
|
6931
7031
|
] }),
|
|
6932
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7032
|
+
/* @__PURE__ */ jsxs("div", { className: cn57("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
|
|
6933
7033
|
onPreview && /* @__PURE__ */ jsx(
|
|
6934
7034
|
"button",
|
|
6935
7035
|
{
|
|
6936
7036
|
type: "button",
|
|
6937
7037
|
onClick: () => onPreview(item.id),
|
|
6938
|
-
className:
|
|
7038
|
+
className: cn57(
|
|
6939
7039
|
"inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
|
|
6940
7040
|
"bg-background px-3 text-xs font-medium text-foreground",
|
|
6941
7041
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6949,7 +7049,7 @@ function MarketplaceCard({
|
|
|
6949
7049
|
{
|
|
6950
7050
|
type: "button",
|
|
6951
7051
|
onClick: () => onUninstall(item.id),
|
|
6952
|
-
className:
|
|
7052
|
+
className: cn57(
|
|
6953
7053
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
6954
7054
|
"bg-secondary px-3 text-xs font-medium text-secondary-foreground",
|
|
6955
7055
|
"hover:bg-secondary/80",
|
|
@@ -6962,7 +7062,7 @@ function MarketplaceCard({
|
|
|
6962
7062
|
{
|
|
6963
7063
|
type: "button",
|
|
6964
7064
|
onClick: () => onInstall(item.id),
|
|
6965
|
-
className:
|
|
7065
|
+
className: cn57(
|
|
6966
7066
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
6967
7067
|
"bg-primary px-3 text-xs font-medium text-primary-foreground",
|
|
6968
7068
|
"hover:bg-primary/90",
|
|
@@ -7024,7 +7124,7 @@ function MarketplaceListDesktop(props) {
|
|
|
7024
7124
|
value: query,
|
|
7025
7125
|
onChange: (e) => setQuery(e.target.value),
|
|
7026
7126
|
placeholder: searchPlaceholder,
|
|
7027
|
-
className:
|
|
7127
|
+
className: cn57(
|
|
7028
7128
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7029
7129
|
"text-sm placeholder:text-muted-foreground",
|
|
7030
7130
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7097,7 +7197,7 @@ function MarketplaceListMobile(props) {
|
|
|
7097
7197
|
value: query,
|
|
7098
7198
|
onChange: (e) => setQuery(e.target.value),
|
|
7099
7199
|
placeholder: searchPlaceholder,
|
|
7100
|
-
className:
|
|
7200
|
+
className: cn57(
|
|
7101
7201
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7102
7202
|
"text-sm placeholder:text-muted-foreground",
|
|
7103
7203
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7148,7 +7248,7 @@ function MosaicMarketplaceList(props) {
|
|
|
7148
7248
|
return isMobile ? /* @__PURE__ */ jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsx(MarketplaceListDesktop, { ...props });
|
|
7149
7249
|
}
|
|
7150
7250
|
MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
|
|
7151
|
-
function
|
|
7251
|
+
function cn58(...classes) {
|
|
7152
7252
|
return classes.filter(Boolean).join(" ");
|
|
7153
7253
|
}
|
|
7154
7254
|
function StarIcon2() {
|
|
@@ -7267,7 +7367,7 @@ function MosaicTemplateCard({
|
|
|
7267
7367
|
type: "button",
|
|
7268
7368
|
onClick: () => onSelect(template),
|
|
7269
7369
|
"data-slot": "template-card",
|
|
7270
|
-
className:
|
|
7370
|
+
className: cn58(
|
|
7271
7371
|
"w-full text-left rounded-lg border transition-all duration-200",
|
|
7272
7372
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
7273
7373
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
|
|
@@ -7367,7 +7467,7 @@ function MosaicTemplatePreview({
|
|
|
7367
7467
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7368
7468
|
"span",
|
|
7369
7469
|
{
|
|
7370
|
-
className:
|
|
7470
|
+
className: cn58("h-2 w-2 rounded-full", agent.accentColor),
|
|
7371
7471
|
"aria-hidden": "true"
|
|
7372
7472
|
}
|
|
7373
7473
|
),
|
|
@@ -7427,7 +7527,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
|
|
|
7427
7527
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7428
7528
|
"span",
|
|
7429
7529
|
{
|
|
7430
|
-
className:
|
|
7530
|
+
className: cn58("h-2.5 w-2.5 rounded-full", agent.accentColor),
|
|
7431
7531
|
"aria-hidden": "true"
|
|
7432
7532
|
}
|
|
7433
7533
|
),
|
|
@@ -7451,7 +7551,7 @@ function MosaicQuickStartPanel({
|
|
|
7451
7551
|
scratchLabel = "Start from Scratch",
|
|
7452
7552
|
className
|
|
7453
7553
|
}) {
|
|
7454
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className:
|
|
7554
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn58("flex flex-col gap-6", className), children: [
|
|
7455
7555
|
scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
7456
7556
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
|
|
7457
7557
|
/* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxs(
|
|
@@ -7459,7 +7559,7 @@ function MosaicQuickStartPanel({
|
|
|
7459
7559
|
{
|
|
7460
7560
|
type: "button",
|
|
7461
7561
|
onClick: () => onSelectScenario(scenario),
|
|
7462
|
-
className:
|
|
7562
|
+
className: cn58(
|
|
7463
7563
|
"flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
|
|
7464
7564
|
"hover:border-primary/50 hover:bg-primary/5",
|
|
7465
7565
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7491,7 +7591,7 @@ function MosaicQuickStartPanel({
|
|
|
7491
7591
|
{
|
|
7492
7592
|
type: "button",
|
|
7493
7593
|
onClick: () => onSelectPreset(preset),
|
|
7494
|
-
className:
|
|
7594
|
+
className: cn58(
|
|
7495
7595
|
"flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
|
|
7496
7596
|
"hover:border-primary/50",
|
|
7497
7597
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7505,7 +7605,7 @@ function MosaicQuickStartPanel({
|
|
|
7505
7605
|
a.accentColor && /* @__PURE__ */ jsx(
|
|
7506
7606
|
"span",
|
|
7507
7607
|
{
|
|
7508
|
-
className:
|
|
7608
|
+
className: cn58("h-2 w-2 rounded-full", a.accentColor),
|
|
7509
7609
|
"aria-hidden": "true"
|
|
7510
7610
|
}
|
|
7511
7611
|
),
|
|
@@ -7523,7 +7623,7 @@ function MosaicQuickStartPanel({
|
|
|
7523
7623
|
{
|
|
7524
7624
|
type: "button",
|
|
7525
7625
|
onClick: onStartFromScratch,
|
|
7526
|
-
className:
|
|
7626
|
+
className: cn58(
|
|
7527
7627
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
7528
7628
|
"bg-background px-4 text-sm font-medium text-foreground",
|
|
7529
7629
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -7603,7 +7703,7 @@ function TemplateGalleryContent({
|
|
|
7603
7703
|
value: query,
|
|
7604
7704
|
onChange: (e) => setQuery(e.target.value),
|
|
7605
7705
|
placeholder: searchPlaceholder,
|
|
7606
|
-
className:
|
|
7706
|
+
className: cn58(
|
|
7607
7707
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7608
7708
|
)
|
|
7609
7709
|
}
|
|
@@ -7651,7 +7751,7 @@ function TemplateGalleryContent({
|
|
|
7651
7751
|
value: query,
|
|
7652
7752
|
onChange: (e) => setQuery(e.target.value),
|
|
7653
7753
|
placeholder: searchPlaceholder,
|
|
7654
|
-
className:
|
|
7754
|
+
className: cn58(
|
|
7655
7755
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7656
7756
|
)
|
|
7657
7757
|
}
|
|
@@ -7681,7 +7781,7 @@ function MosaicTemplateGallery(props) {
|
|
|
7681
7781
|
return /* @__PURE__ */ jsx(TemplateGalleryContent, { ...props, isMobile });
|
|
7682
7782
|
}
|
|
7683
7783
|
MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
|
|
7684
|
-
function
|
|
7784
|
+
function cn59(...classes) {
|
|
7685
7785
|
return classes.filter(Boolean).join(" ");
|
|
7686
7786
|
}
|
|
7687
7787
|
function PlusIcon5() {
|
|
@@ -7825,7 +7925,7 @@ function MosaicModuleForm({
|
|
|
7825
7925
|
onChange: (e) => update("name", e.target.value),
|
|
7826
7926
|
placeholder: "Module name\u2026",
|
|
7827
7927
|
required: true,
|
|
7828
|
-
className:
|
|
7928
|
+
className: cn59(
|
|
7829
7929
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7830
7930
|
"text-sm placeholder:text-muted-foreground",
|
|
7831
7931
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7843,7 +7943,7 @@ function MosaicModuleForm({
|
|
|
7843
7943
|
onChange: (e) => update("description", e.target.value),
|
|
7844
7944
|
placeholder: "Describe this module\u2026",
|
|
7845
7945
|
rows: 3,
|
|
7846
|
-
className:
|
|
7946
|
+
className: cn59(
|
|
7847
7947
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7848
7948
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7849
7949
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7865,7 +7965,7 @@ function MosaicModuleForm({
|
|
|
7865
7965
|
value: formData[field.id] ?? "",
|
|
7866
7966
|
onChange: (e) => update(field.id, e.target.value),
|
|
7867
7967
|
placeholder: field.placeholder,
|
|
7868
|
-
className:
|
|
7968
|
+
className: cn59(
|
|
7869
7969
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7870
7970
|
"text-sm placeholder:text-muted-foreground",
|
|
7871
7971
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7880,7 +7980,7 @@ function MosaicModuleForm({
|
|
|
7880
7980
|
onChange: (e) => update(field.id, e.target.value),
|
|
7881
7981
|
placeholder: field.placeholder,
|
|
7882
7982
|
rows: 3,
|
|
7883
|
-
className:
|
|
7983
|
+
className: cn59(
|
|
7884
7984
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7885
7985
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7886
7986
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7896,7 +7996,7 @@ function MosaicModuleForm({
|
|
|
7896
7996
|
onChange: (e) => update(field.id, e.target.value),
|
|
7897
7997
|
placeholder: field.placeholder ?? "\u{1F9E0}",
|
|
7898
7998
|
maxLength: 4,
|
|
7899
|
-
className:
|
|
7999
|
+
className: cn59(
|
|
7900
8000
|
"w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
|
|
7901
8001
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7902
8002
|
)
|
|
@@ -7917,7 +8017,7 @@ function MosaicModuleForm({
|
|
|
7917
8017
|
}
|
|
7918
8018
|
},
|
|
7919
8019
|
placeholder: field.placeholder ?? "Add item\u2026",
|
|
7920
|
-
className:
|
|
8020
|
+
className: cn59(
|
|
7921
8021
|
"flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
|
|
7922
8022
|
"text-sm placeholder:text-muted-foreground",
|
|
7923
8023
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8113,7 +8213,7 @@ function LibraryContent({
|
|
|
8113
8213
|
{
|
|
8114
8214
|
type: "button",
|
|
8115
8215
|
onClick: openCreate,
|
|
8116
|
-
className:
|
|
8216
|
+
className: cn59(
|
|
8117
8217
|
"inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
|
|
8118
8218
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8119
8219
|
),
|
|
@@ -8133,7 +8233,7 @@ function LibraryContent({
|
|
|
8133
8233
|
value: query,
|
|
8134
8234
|
onChange: (e) => setQuery(e.target.value),
|
|
8135
8235
|
placeholder: searchPlaceholder,
|
|
8136
|
-
className:
|
|
8236
|
+
className: cn59(
|
|
8137
8237
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8138
8238
|
"text-sm placeholder:text-muted-foreground",
|
|
8139
8239
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8146,7 +8246,7 @@ function LibraryContent({
|
|
|
8146
8246
|
{
|
|
8147
8247
|
type: "button",
|
|
8148
8248
|
onClick: () => setActiveTab(tab.id),
|
|
8149
|
-
className:
|
|
8249
|
+
className: cn59(
|
|
8150
8250
|
"rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8151
8251
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
8152
8252
|
),
|
|
@@ -8180,7 +8280,7 @@ function MosaicModuleLibrary(props) {
|
|
|
8180
8280
|
return /* @__PURE__ */ jsx(LibraryContent, { ...props });
|
|
8181
8281
|
}
|
|
8182
8282
|
MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
|
|
8183
|
-
function
|
|
8283
|
+
function cn60(...classes) {
|
|
8184
8284
|
return classes.filter(Boolean).join(" ");
|
|
8185
8285
|
}
|
|
8186
8286
|
var roleConfig = {
|
|
@@ -8207,7 +8307,7 @@ function MosaicOrgRoleBadge({ role, className }) {
|
|
|
8207
8307
|
{
|
|
8208
8308
|
"data-slot": "org-role-badge",
|
|
8209
8309
|
title: config.description,
|
|
8210
|
-
className:
|
|
8310
|
+
className: cn60(
|
|
8211
8311
|
"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
|
|
8212
8312
|
config.className,
|
|
8213
8313
|
className
|
|
@@ -8224,13 +8324,13 @@ function MosaicMultiOrgIndicator({
|
|
|
8224
8324
|
className
|
|
8225
8325
|
}) {
|
|
8226
8326
|
if (orgCount <= 1) return null;
|
|
8227
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className:
|
|
8327
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn60("flex items-center gap-2", className), children: [
|
|
8228
8328
|
onSwitchOrg ? /* @__PURE__ */ jsxs(
|
|
8229
8329
|
"button",
|
|
8230
8330
|
{
|
|
8231
8331
|
type: "button",
|
|
8232
8332
|
onClick: onSwitchOrg,
|
|
8233
|
-
className:
|
|
8333
|
+
className: cn60(
|
|
8234
8334
|
"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
|
|
8235
8335
|
"hover:bg-secondary/80",
|
|
8236
8336
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8328,7 +8428,7 @@ function MosaicCreateOrgDialog({
|
|
|
8328
8428
|
onChange: (e) => setName(e.target.value),
|
|
8329
8429
|
placeholder: "Acme Inc.",
|
|
8330
8430
|
required: true,
|
|
8331
|
-
className:
|
|
8431
|
+
className: cn60(
|
|
8332
8432
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8333
8433
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8334
8434
|
errors.name ? "border-destructive" : "border-input"
|
|
@@ -8348,7 +8448,7 @@ function MosaicCreateOrgDialog({
|
|
|
8348
8448
|
onChange: (e) => setSlug(e.target.value),
|
|
8349
8449
|
placeholder: "acme-inc",
|
|
8350
8450
|
required: true,
|
|
8351
|
-
className:
|
|
8451
|
+
className: cn60(
|
|
8352
8452
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8353
8453
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8354
8454
|
errors.slug ? "border-destructive" : "border-input"
|
|
@@ -8445,7 +8545,7 @@ function MosaicInviteMemberDialog({
|
|
|
8445
8545
|
onChange: (e) => setEmail(e.target.value),
|
|
8446
8546
|
placeholder: "colleague@example.com",
|
|
8447
8547
|
required: true,
|
|
8448
|
-
className:
|
|
8548
|
+
className: cn60(
|
|
8449
8549
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8450
8550
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8451
8551
|
errors.email ? "border-destructive" : "border-input"
|
|
@@ -8622,7 +8722,7 @@ function MosaicMemberList({
|
|
|
8622
8722
|
const filtered = members.filter(
|
|
8623
8723
|
(m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
|
|
8624
8724
|
);
|
|
8625
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className:
|
|
8725
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn60("flex flex-col gap-4", className), children: [
|
|
8626
8726
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
8627
8727
|
/* @__PURE__ */ jsxs("div", { className: "relative flex-1", children: [
|
|
8628
8728
|
/* @__PURE__ */ jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxs(
|
|
@@ -8715,7 +8815,7 @@ function MosaicOrgPanel({
|
|
|
8715
8815
|
const { isMobile } = useDevice();
|
|
8716
8816
|
const [activeTab, setActiveTab] = React27.useState(defaultTab ?? tabs[0]?.id ?? "");
|
|
8717
8817
|
const activeContent = tabs.find((t) => t.id === activeTab)?.content;
|
|
8718
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className:
|
|
8818
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn60("flex h-full flex-col", className), children: [
|
|
8719
8819
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
|
|
8720
8820
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
8721
8821
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -8737,12 +8837,12 @@ function MosaicOrgPanel({
|
|
|
8737
8837
|
] }),
|
|
8738
8838
|
headerActions
|
|
8739
8839
|
] }),
|
|
8740
|
-
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
8840
|
+
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn60("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
|
|
8741
8841
|
"button",
|
|
8742
8842
|
{
|
|
8743
8843
|
type: "button",
|
|
8744
8844
|
onClick: () => setActiveTab(tab.id),
|
|
8745
|
-
className:
|
|
8845
|
+
className: cn60(
|
|
8746
8846
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8747
8847
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8748
8848
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
@@ -8756,7 +8856,7 @@ function MosaicOrgPanel({
|
|
|
8756
8856
|
] });
|
|
8757
8857
|
}
|
|
8758
8858
|
MosaicOrgPanel.displayName = "MosaicOrgPanel";
|
|
8759
|
-
function
|
|
8859
|
+
function cn61(...classes) {
|
|
8760
8860
|
return classes.filter(Boolean).join(" ");
|
|
8761
8861
|
}
|
|
8762
8862
|
var ANIM_ID8 = "mosaic-dashboard-content-kf";
|
|
@@ -8793,7 +8893,7 @@ function MosaicDashboardContent({
|
|
|
8793
8893
|
"div",
|
|
8794
8894
|
{
|
|
8795
8895
|
"data-slot": "dashboard-content",
|
|
8796
|
-
className:
|
|
8896
|
+
className: cn61("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
|
|
8797
8897
|
children: activeView ? /* @__PURE__ */ jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
|
|
8798
8898
|
"View not found: ",
|
|
8799
8899
|
currentView
|
|
@@ -8802,7 +8902,7 @@ function MosaicDashboardContent({
|
|
|
8802
8902
|
);
|
|
8803
8903
|
}
|
|
8804
8904
|
MosaicDashboardContent.displayName = "MosaicDashboardContent";
|
|
8805
|
-
function
|
|
8905
|
+
function cn62(...classes) {
|
|
8806
8906
|
return classes.filter(Boolean).join(" ");
|
|
8807
8907
|
}
|
|
8808
8908
|
var ANIM_ID9 = "mosaic-dashboard-header2-kf";
|
|
@@ -8912,16 +9012,16 @@ function MosaicDashboardHeader({
|
|
|
8912
9012
|
"header",
|
|
8913
9013
|
{
|
|
8914
9014
|
"data-slot": "dashboard-header",
|
|
8915
|
-
className:
|
|
9015
|
+
className: cn62(
|
|
8916
9016
|
"mosaic-dashboard-header2",
|
|
8917
9017
|
"sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
|
|
8918
9018
|
className
|
|
8919
9019
|
),
|
|
8920
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
9020
|
+
children: /* @__PURE__ */ jsx("div", { className: cn62(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
8921
9021
|
/* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
8922
9022
|
logoSlot ?? /* @__PURE__ */ jsx(SparklesIcon4, {}),
|
|
8923
9023
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
8924
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
9024
|
+
/* @__PURE__ */ jsx("h1", { className: cn62("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
|
|
8925
9025
|
subtitle && !isMobile && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
|
|
8926
9026
|
] })
|
|
8927
9027
|
] }) }),
|
|
@@ -8934,7 +9034,7 @@ function MosaicDashboardHeader({
|
|
|
8934
9034
|
value: searchQuery,
|
|
8935
9035
|
onChange: handleSearch,
|
|
8936
9036
|
placeholder: "Search\u2026",
|
|
8937
|
-
className:
|
|
9037
|
+
className: cn62(
|
|
8938
9038
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8939
9039
|
"text-sm placeholder:text-muted-foreground",
|
|
8940
9040
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8974,7 +9074,7 @@ function MosaicDashboardHeader({
|
|
|
8974
9074
|
);
|
|
8975
9075
|
}
|
|
8976
9076
|
MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
|
|
8977
|
-
function
|
|
9077
|
+
function cn63(...classes) {
|
|
8978
9078
|
return classes.filter(Boolean).join(" ");
|
|
8979
9079
|
}
|
|
8980
9080
|
function ChevronDownIcon4() {
|
|
@@ -9055,13 +9155,13 @@ function MosaicOrgSwitcher({
|
|
|
9055
9155
|
}, [open]);
|
|
9056
9156
|
if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
|
|
9057
9157
|
const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
|
|
9058
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className:
|
|
9158
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn63("relative", className), children: [
|
|
9059
9159
|
/* @__PURE__ */ jsxs(
|
|
9060
9160
|
"button",
|
|
9061
9161
|
{
|
|
9062
9162
|
type: "button",
|
|
9063
9163
|
onClick: () => setOpen((v) => !v),
|
|
9064
|
-
className:
|
|
9164
|
+
className: cn63(
|
|
9065
9165
|
"inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
|
|
9066
9166
|
"text-sm font-medium text-foreground",
|
|
9067
9167
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9088,7 +9188,7 @@ function MosaicOrgSwitcher({
|
|
|
9088
9188
|
{
|
|
9089
9189
|
role: "menu",
|
|
9090
9190
|
"aria-label": "Select organization",
|
|
9091
|
-
className:
|
|
9191
|
+
className: cn63(
|
|
9092
9192
|
"absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
|
|
9093
9193
|
"bg-popover py-1 shadow-md"
|
|
9094
9194
|
),
|
|
@@ -9103,7 +9203,7 @@ function MosaicOrgSwitcher({
|
|
|
9103
9203
|
onSelectOrg?.(org.id);
|
|
9104
9204
|
setOpen(false);
|
|
9105
9205
|
},
|
|
9106
|
-
className:
|
|
9206
|
+
className: cn63(
|
|
9107
9207
|
"flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
|
|
9108
9208
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9109
9209
|
org.id === currentOrgId && "bg-primary/10 text-primary"
|
|
@@ -9140,7 +9240,7 @@ function MosaicOrgSwitcher({
|
|
|
9140
9240
|
] });
|
|
9141
9241
|
}
|
|
9142
9242
|
MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
|
|
9143
|
-
function
|
|
9243
|
+
function cn64(...classes) {
|
|
9144
9244
|
return classes.filter(Boolean).join(" ");
|
|
9145
9245
|
}
|
|
9146
9246
|
function PlusIcon7() {
|
|
@@ -9184,19 +9284,19 @@ function MosaicQuickActionsMenu({
|
|
|
9184
9284
|
document.addEventListener("mousedown", h);
|
|
9185
9285
|
return () => document.removeEventListener("mousedown", h);
|
|
9186
9286
|
}, [open]);
|
|
9187
|
-
const itemClass =
|
|
9287
|
+
const itemClass = cn64(
|
|
9188
9288
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
9189
9289
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9190
9290
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
9191
9291
|
"min-h-[44px]"
|
|
9192
9292
|
);
|
|
9193
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className:
|
|
9293
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn64("relative", className), children: [
|
|
9194
9294
|
/* @__PURE__ */ jsxs(
|
|
9195
9295
|
"button",
|
|
9196
9296
|
{
|
|
9197
9297
|
type: "button",
|
|
9198
9298
|
onClick: () => setOpen((v) => !v),
|
|
9199
|
-
className:
|
|
9299
|
+
className: cn64(
|
|
9200
9300
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
9201
9301
|
"min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
|
|
9202
9302
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9207,7 +9307,7 @@ function MosaicQuickActionsMenu({
|
|
|
9207
9307
|
"aria-label": label,
|
|
9208
9308
|
children: [
|
|
9209
9309
|
triggerIcon ?? /* @__PURE__ */ jsx(PlusIcon7, {}),
|
|
9210
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9310
|
+
/* @__PURE__ */ jsx("span", { className: cn64("hidden md:inline"), children: label })
|
|
9211
9311
|
]
|
|
9212
9312
|
}
|
|
9213
9313
|
),
|
|
@@ -9216,13 +9316,13 @@ function MosaicQuickActionsMenu({
|
|
|
9216
9316
|
{
|
|
9217
9317
|
role: "menu",
|
|
9218
9318
|
"aria-label": menuTitle,
|
|
9219
|
-
className:
|
|
9319
|
+
className: cn64(
|
|
9220
9320
|
"absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
|
|
9221
9321
|
isMobile ? "w-[min(90vw,280px)]" : "w-56"
|
|
9222
9322
|
),
|
|
9223
9323
|
children: [
|
|
9224
9324
|
menuTitle && /* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
|
|
9225
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9325
|
+
/* @__PURE__ */ jsx("div", { className: cn64(menuTitle && "border-t border-border") }),
|
|
9226
9326
|
actions.map((action) => /* @__PURE__ */ jsxs(React27.Fragment, { children: [
|
|
9227
9327
|
action.separator && /* @__PURE__ */ jsx("div", { className: "my-1 border-t border-border" }),
|
|
9228
9328
|
action.href && renderLink ? renderLink(
|
|
@@ -9648,6 +9748,6 @@ async function MosaicClerkWebhookHandler(req, options) {
|
|
|
9648
9748
|
return new Response("OK", { status: 200 });
|
|
9649
9749
|
}
|
|
9650
9750
|
|
|
9651
|
-
export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentTeamPreview, MosaicAnimatedList, MosaicAppSidebar, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDropdownMenu, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicLogosGrid, MosaicMainNav, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSlider, MosaicStatsGrid, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicTooltip, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
9751
|
+
export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentTeamPreview, MosaicAnimatedList, MosaicAppSidebar, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicLogosGrid, MosaicMainNav, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicTooltip, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
9652
9752
|
//# sourceMappingURL=index.js.map
|
|
9653
9753
|
//# sourceMappingURL=index.js.map
|