@vantageos/mosaic-blocks 0.3.2-alpha → 0.3.4-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 +400 -280
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +148 -3
- package/dist/index.d.ts +148 -3
- package/dist/index.js +398 -281
- 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.4-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,63 @@ 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 MosaicFilterBar({
|
|
1066
|
+
label,
|
|
1067
|
+
children,
|
|
1068
|
+
onClearAll,
|
|
1069
|
+
clearLabel = "Clear",
|
|
1070
|
+
align = "start",
|
|
1071
|
+
className,
|
|
1072
|
+
ref
|
|
1073
|
+
}) {
|
|
1074
|
+
const isBetween = align === "between";
|
|
1075
|
+
return /* @__PURE__ */ jsxs(
|
|
1076
|
+
"div",
|
|
1077
|
+
{
|
|
1078
|
+
ref,
|
|
1079
|
+
"data-slot": "filter-bar",
|
|
1080
|
+
className: cn14(
|
|
1081
|
+
"flex flex-wrap items-center gap-2",
|
|
1082
|
+
isBetween ? "justify-between" : "justify-start",
|
|
1083
|
+
className
|
|
1084
|
+
),
|
|
1085
|
+
children: [
|
|
1086
|
+
label != null && /* @__PURE__ */ jsx(
|
|
1087
|
+
"span",
|
|
1088
|
+
{
|
|
1089
|
+
"data-slot": "filter-bar-label",
|
|
1090
|
+
className: "shrink-0 text-sm font-medium text-muted-foreground",
|
|
1091
|
+
children: label
|
|
1092
|
+
}
|
|
1093
|
+
),
|
|
1094
|
+
/* @__PURE__ */ jsx(
|
|
1095
|
+
"div",
|
|
1096
|
+
{
|
|
1097
|
+
"data-slot": "filter-bar-controls",
|
|
1098
|
+
className: cn14("flex flex-wrap items-center gap-2", isBetween && "flex-1"),
|
|
1099
|
+
children
|
|
1100
|
+
}
|
|
1101
|
+
),
|
|
1102
|
+
onClearAll != null && /* @__PURE__ */ jsx(
|
|
1103
|
+
MosaicButton,
|
|
1104
|
+
{
|
|
1105
|
+
"data-slot": "filter-bar-clear",
|
|
1106
|
+
variant: "ghost",
|
|
1107
|
+
size: "sm",
|
|
1108
|
+
onClick: onClearAll,
|
|
1109
|
+
className: "shrink-0",
|
|
1110
|
+
children: clearLabel
|
|
1111
|
+
}
|
|
1112
|
+
)
|
|
1113
|
+
]
|
|
1114
|
+
}
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
MosaicFilterBar.displayName = "MosaicFilterBar";
|
|
1118
|
+
function cn15(...classes) {
|
|
1002
1119
|
return classes.filter(Boolean).join(" ");
|
|
1003
1120
|
}
|
|
1004
1121
|
function MosaicEmptyState({
|
|
@@ -1014,7 +1131,7 @@ function MosaicEmptyState({
|
|
|
1014
1131
|
{
|
|
1015
1132
|
ref,
|
|
1016
1133
|
"data-slot": "empty-state",
|
|
1017
|
-
className:
|
|
1134
|
+
className: cn15(
|
|
1018
1135
|
"flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
|
|
1019
1136
|
className
|
|
1020
1137
|
),
|
|
@@ -1037,7 +1154,7 @@ function MosaicEmptyState({
|
|
|
1037
1154
|
);
|
|
1038
1155
|
}
|
|
1039
1156
|
MosaicEmptyState.displayName = "MosaicEmptyState";
|
|
1040
|
-
function
|
|
1157
|
+
function cn16(...classes) {
|
|
1041
1158
|
return classes.filter(Boolean).join(" ");
|
|
1042
1159
|
}
|
|
1043
1160
|
function MosaicAccordion({ className, ref, ...props }) {
|
|
@@ -1046,7 +1163,7 @@ function MosaicAccordion({ className, ref, ...props }) {
|
|
|
1046
1163
|
{
|
|
1047
1164
|
ref,
|
|
1048
1165
|
"data-slot": "accordion",
|
|
1049
|
-
className:
|
|
1166
|
+
className: cn16("w-full divide-y divide-border", className),
|
|
1050
1167
|
...props
|
|
1051
1168
|
}
|
|
1052
1169
|
);
|
|
@@ -1058,7 +1175,7 @@ function MosaicAccordionItem({ className, ref, ...props }) {
|
|
|
1058
1175
|
{
|
|
1059
1176
|
ref,
|
|
1060
1177
|
"data-slot": "accordion-item",
|
|
1061
|
-
className:
|
|
1178
|
+
className: cn16("py-0", className),
|
|
1062
1179
|
...props
|
|
1063
1180
|
}
|
|
1064
1181
|
);
|
|
@@ -1075,7 +1192,7 @@ function MosaicAccordionTrigger({
|
|
|
1075
1192
|
{
|
|
1076
1193
|
ref,
|
|
1077
1194
|
"data-slot": "accordion-trigger",
|
|
1078
|
-
className:
|
|
1195
|
+
className: cn16(
|
|
1079
1196
|
"flex w-full flex-1 items-center justify-between py-4",
|
|
1080
1197
|
"text-sm font-medium text-foreground",
|
|
1081
1198
|
"outline-none transition-all",
|
|
@@ -1115,13 +1232,13 @@ function MosaicAccordionPanel({ className, ref, ...props }) {
|
|
|
1115
1232
|
{
|
|
1116
1233
|
ref,
|
|
1117
1234
|
"data-slot": "accordion-panel",
|
|
1118
|
-
className:
|
|
1235
|
+
className: cn16("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
|
|
1119
1236
|
...props
|
|
1120
1237
|
}
|
|
1121
1238
|
);
|
|
1122
1239
|
}
|
|
1123
1240
|
MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
|
|
1124
|
-
function
|
|
1241
|
+
function cn17(...classes) {
|
|
1125
1242
|
return classes.filter(Boolean).join(" ");
|
|
1126
1243
|
}
|
|
1127
1244
|
function MosaicCheckbox({ className, ref, ...props }) {
|
|
@@ -1130,7 +1247,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1130
1247
|
{
|
|
1131
1248
|
ref,
|
|
1132
1249
|
"data-slot": "checkbox",
|
|
1133
|
-
className:
|
|
1250
|
+
className: cn17(
|
|
1134
1251
|
"peer size-4 shrink-0 cursor-pointer",
|
|
1135
1252
|
"rounded-sm border border-border bg-background",
|
|
1136
1253
|
"outline-none transition-colors",
|
|
@@ -1170,7 +1287,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1170
1287
|
);
|
|
1171
1288
|
}
|
|
1172
1289
|
MosaicCheckbox.displayName = "MosaicCheckbox";
|
|
1173
|
-
function
|
|
1290
|
+
function cn18(...classes) {
|
|
1174
1291
|
return classes.filter(Boolean).join(" ");
|
|
1175
1292
|
}
|
|
1176
1293
|
function MosaicCollapsible({ className, ref, ...props }) {
|
|
@@ -1179,7 +1296,7 @@ function MosaicCollapsible({ className, ref, ...props }) {
|
|
|
1179
1296
|
{
|
|
1180
1297
|
ref,
|
|
1181
1298
|
"data-slot": "collapsible",
|
|
1182
|
-
className:
|
|
1299
|
+
className: cn18("w-full", className),
|
|
1183
1300
|
...props
|
|
1184
1301
|
}
|
|
1185
1302
|
);
|
|
@@ -1195,7 +1312,7 @@ function MosaicCollapsibleTrigger({
|
|
|
1195
1312
|
{
|
|
1196
1313
|
ref,
|
|
1197
1314
|
"data-slot": "collapsible-trigger",
|
|
1198
|
-
className:
|
|
1315
|
+
className: cn18(
|
|
1199
1316
|
"inline-flex w-full items-center justify-between gap-2",
|
|
1200
1317
|
"rounded-md px-0 py-2 text-sm font-medium",
|
|
1201
1318
|
"text-foreground outline-none transition-colors",
|
|
@@ -1217,7 +1334,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1217
1334
|
{
|
|
1218
1335
|
ref,
|
|
1219
1336
|
"data-slot": "collapsible-panel",
|
|
1220
|
-
className:
|
|
1337
|
+
className: cn18(
|
|
1221
1338
|
"overflow-hidden text-sm transition-all",
|
|
1222
1339
|
"data-[open]:animate-in data-[closed]:animate-out",
|
|
1223
1340
|
className
|
|
@@ -1227,7 +1344,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1227
1344
|
);
|
|
1228
1345
|
}
|
|
1229
1346
|
MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
|
|
1230
|
-
function
|
|
1347
|
+
function cn19(...classes) {
|
|
1231
1348
|
return classes.filter(Boolean).join(" ");
|
|
1232
1349
|
}
|
|
1233
1350
|
function MosaicProgress({
|
|
@@ -1244,7 +1361,7 @@ function MosaicProgress({
|
|
|
1244
1361
|
"data-slot": "progress",
|
|
1245
1362
|
value,
|
|
1246
1363
|
max,
|
|
1247
|
-
className:
|
|
1364
|
+
className: cn19("w-full", className),
|
|
1248
1365
|
...props,
|
|
1249
1366
|
children: /* @__PURE__ */ jsx(
|
|
1250
1367
|
Progress.Track,
|
|
@@ -1265,7 +1382,7 @@ function MosaicProgress({
|
|
|
1265
1382
|
);
|
|
1266
1383
|
}
|
|
1267
1384
|
MosaicProgress.displayName = "MosaicProgress";
|
|
1268
|
-
function
|
|
1385
|
+
function cn20(...classes) {
|
|
1269
1386
|
return classes.filter(Boolean).join(" ");
|
|
1270
1387
|
}
|
|
1271
1388
|
function MosaicRadioGroup({ className, ref, ...props }) {
|
|
@@ -1274,7 +1391,7 @@ function MosaicRadioGroup({ className, ref, ...props }) {
|
|
|
1274
1391
|
{
|
|
1275
1392
|
ref,
|
|
1276
1393
|
"data-slot": "radio-group",
|
|
1277
|
-
className:
|
|
1394
|
+
className: cn20("flex flex-col gap-2", className),
|
|
1278
1395
|
...props
|
|
1279
1396
|
}
|
|
1280
1397
|
);
|
|
@@ -1291,7 +1408,7 @@ function MosaicRadioGroupItem({
|
|
|
1291
1408
|
{
|
|
1292
1409
|
ref,
|
|
1293
1410
|
"data-slot": "radio",
|
|
1294
|
-
className:
|
|
1411
|
+
className: cn20(
|
|
1295
1412
|
"flex items-center gap-2 text-sm font-medium",
|
|
1296
1413
|
"cursor-pointer select-none",
|
|
1297
1414
|
"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
|
|
@@ -1302,7 +1419,7 @@ function MosaicRadioGroupItem({
|
|
|
1302
1419
|
/* @__PURE__ */ jsx(
|
|
1303
1420
|
"span",
|
|
1304
1421
|
{
|
|
1305
|
-
className:
|
|
1422
|
+
className: cn20(
|
|
1306
1423
|
"flex size-4 shrink-0 items-center justify-center",
|
|
1307
1424
|
"rounded-full border border-border bg-background",
|
|
1308
1425
|
"outline-none transition-colors",
|
|
@@ -1318,7 +1435,7 @@ function MosaicRadioGroupItem({
|
|
|
1318
1435
|
);
|
|
1319
1436
|
}
|
|
1320
1437
|
MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
|
|
1321
|
-
function
|
|
1438
|
+
function cn21(...classes) {
|
|
1322
1439
|
return classes.filter(Boolean).join(" ");
|
|
1323
1440
|
}
|
|
1324
1441
|
function MosaicScrollArea({
|
|
@@ -1333,7 +1450,7 @@ function MosaicScrollArea({
|
|
|
1333
1450
|
{
|
|
1334
1451
|
ref,
|
|
1335
1452
|
"data-slot": "scroll-area",
|
|
1336
|
-
className:
|
|
1453
|
+
className: cn21("relative overflow-hidden", className),
|
|
1337
1454
|
...props,
|
|
1338
1455
|
children: [
|
|
1339
1456
|
/* @__PURE__ */ jsx(ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsx(ScrollArea.Content, { children }) }),
|
|
@@ -1361,7 +1478,7 @@ function MosaicScrollArea({
|
|
|
1361
1478
|
);
|
|
1362
1479
|
}
|
|
1363
1480
|
MosaicScrollArea.displayName = "MosaicScrollArea";
|
|
1364
|
-
function
|
|
1481
|
+
function cn22(...classes) {
|
|
1365
1482
|
return classes.filter(Boolean).join(" ");
|
|
1366
1483
|
}
|
|
1367
1484
|
function MosaicSeparator({
|
|
@@ -1376,7 +1493,7 @@ function MosaicSeparator({
|
|
|
1376
1493
|
ref,
|
|
1377
1494
|
"data-slot": "separator",
|
|
1378
1495
|
orientation,
|
|
1379
|
-
className:
|
|
1496
|
+
className: cn22(
|
|
1380
1497
|
"shrink-0 bg-border",
|
|
1381
1498
|
orientation === "vertical" ? "h-full w-px" : "h-px w-full",
|
|
1382
1499
|
className
|
|
@@ -1386,7 +1503,7 @@ function MosaicSeparator({
|
|
|
1386
1503
|
);
|
|
1387
1504
|
}
|
|
1388
1505
|
MosaicSeparator.displayName = "MosaicSeparator";
|
|
1389
|
-
function
|
|
1506
|
+
function cn23(...classes) {
|
|
1390
1507
|
return classes.filter(Boolean).join(" ");
|
|
1391
1508
|
}
|
|
1392
1509
|
function MosaicSlider({ className, ref, ...props }) {
|
|
@@ -1397,7 +1514,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1397
1514
|
{
|
|
1398
1515
|
ref,
|
|
1399
1516
|
"data-slot": "slider",
|
|
1400
|
-
className:
|
|
1517
|
+
className: cn23("w-full touch-none select-none", className),
|
|
1401
1518
|
...props,
|
|
1402
1519
|
children: /* @__PURE__ */ jsx(Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxs(
|
|
1403
1520
|
Slider.Track,
|
|
@@ -1416,7 +1533,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1416
1533
|
Slider.Thumb,
|
|
1417
1534
|
{
|
|
1418
1535
|
"data-slot": "slider-thumb",
|
|
1419
|
-
className:
|
|
1536
|
+
className: cn23(
|
|
1420
1537
|
"block size-5 rounded-full",
|
|
1421
1538
|
"border-2 border-foreground bg-background",
|
|
1422
1539
|
"shadow-sm outline-none transition-colors",
|
|
@@ -1433,7 +1550,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1433
1550
|
);
|
|
1434
1551
|
}
|
|
1435
1552
|
MosaicSlider.displayName = "MosaicSlider";
|
|
1436
|
-
function
|
|
1553
|
+
function cn24(...classes) {
|
|
1437
1554
|
return classes.filter(Boolean).join(" ");
|
|
1438
1555
|
}
|
|
1439
1556
|
function MosaicTabs({ className, ref, ...props }) {
|
|
@@ -1442,7 +1559,7 @@ function MosaicTabs({ className, ref, ...props }) {
|
|
|
1442
1559
|
{
|
|
1443
1560
|
ref,
|
|
1444
1561
|
"data-slot": "tabs",
|
|
1445
|
-
className:
|
|
1562
|
+
className: cn24("flex flex-col gap-2", className),
|
|
1446
1563
|
...props
|
|
1447
1564
|
}
|
|
1448
1565
|
);
|
|
@@ -1454,7 +1571,7 @@ function MosaicTabsList({ className, ref, ...props }) {
|
|
|
1454
1571
|
{
|
|
1455
1572
|
ref,
|
|
1456
1573
|
"data-slot": "tabs-list",
|
|
1457
|
-
className:
|
|
1574
|
+
className: cn24(
|
|
1458
1575
|
"relative inline-flex items-center justify-start gap-1",
|
|
1459
1576
|
"rounded-lg bg-muted p-1 text-muted-foreground",
|
|
1460
1577
|
className
|
|
@@ -1470,7 +1587,7 @@ function MosaicTabsTrigger({ className, ref, ...props }) {
|
|
|
1470
1587
|
{
|
|
1471
1588
|
ref,
|
|
1472
1589
|
"data-slot": "tabs-trigger",
|
|
1473
|
-
className:
|
|
1590
|
+
className: cn24(
|
|
1474
1591
|
"inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
|
|
1475
1592
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
1476
1593
|
"outline-none transition-all",
|
|
@@ -1493,7 +1610,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1493
1610
|
{
|
|
1494
1611
|
ref,
|
|
1495
1612
|
"data-slot": "tabs-panel",
|
|
1496
|
-
className:
|
|
1613
|
+
className: cn24(
|
|
1497
1614
|
"flex-1 outline-none",
|
|
1498
1615
|
"focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
|
|
1499
1616
|
className
|
|
@@ -1503,7 +1620,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1503
1620
|
);
|
|
1504
1621
|
}
|
|
1505
1622
|
MosaicTabsPanel.displayName = "MosaicTabsPanel";
|
|
1506
|
-
function
|
|
1623
|
+
function cn25(...classes) {
|
|
1507
1624
|
return classes.filter(Boolean).join(" ");
|
|
1508
1625
|
}
|
|
1509
1626
|
function MosaicTextarea({ className, ref, ...props }) {
|
|
@@ -1512,7 +1629,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1512
1629
|
{
|
|
1513
1630
|
ref,
|
|
1514
1631
|
"data-slot": "textarea",
|
|
1515
|
-
className:
|
|
1632
|
+
className: cn25(
|
|
1516
1633
|
"flex min-h-[80px] w-full resize-y",
|
|
1517
1634
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1518
1635
|
"text-sm text-foreground shadow-xs",
|
|
@@ -1527,7 +1644,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1527
1644
|
);
|
|
1528
1645
|
}
|
|
1529
1646
|
MosaicTextarea.displayName = "MosaicTextarea";
|
|
1530
|
-
function
|
|
1647
|
+
function cn26(...classes) {
|
|
1531
1648
|
return classes.filter(Boolean).join(" ");
|
|
1532
1649
|
}
|
|
1533
1650
|
function MosaicTooltip({
|
|
@@ -1544,7 +1661,7 @@ function MosaicTooltip({
|
|
|
1544
1661
|
Tooltip.Popup,
|
|
1545
1662
|
{
|
|
1546
1663
|
"data-slot": "tooltip-content",
|
|
1547
|
-
className:
|
|
1664
|
+
className: cn26(
|
|
1548
1665
|
"z-50 max-w-xs overflow-hidden rounded-md",
|
|
1549
1666
|
"border border-border bg-foreground px-3 py-1.5",
|
|
1550
1667
|
"text-xs text-background shadow-md",
|
|
@@ -1561,7 +1678,7 @@ function MosaicTooltip({
|
|
|
1561
1678
|
] }) });
|
|
1562
1679
|
}
|
|
1563
1680
|
MosaicTooltip.displayName = "MosaicTooltip";
|
|
1564
|
-
function
|
|
1681
|
+
function cn27(...classes) {
|
|
1565
1682
|
return classes.filter(Boolean).join(" ");
|
|
1566
1683
|
}
|
|
1567
1684
|
function MosaicCard({ className, ref, ...props }) {
|
|
@@ -1570,7 +1687,7 @@ function MosaicCard({ className, ref, ...props }) {
|
|
|
1570
1687
|
{
|
|
1571
1688
|
ref,
|
|
1572
1689
|
"data-slot": "card",
|
|
1573
|
-
className:
|
|
1690
|
+
className: cn27(
|
|
1574
1691
|
"bg-card text-card-foreground rounded-xl border border-border shadow-sm",
|
|
1575
1692
|
className
|
|
1576
1693
|
),
|
|
@@ -1585,7 +1702,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
|
|
|
1585
1702
|
{
|
|
1586
1703
|
ref,
|
|
1587
1704
|
"data-slot": "card-header",
|
|
1588
|
-
className:
|
|
1705
|
+
className: cn27("flex flex-col gap-1.5 p-6", className),
|
|
1589
1706
|
...props
|
|
1590
1707
|
}
|
|
1591
1708
|
);
|
|
@@ -1597,7 +1714,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
|
|
|
1597
1714
|
{
|
|
1598
1715
|
ref,
|
|
1599
1716
|
"data-slot": "card-title",
|
|
1600
|
-
className:
|
|
1717
|
+
className: cn27("text-lg font-semibold leading-none tracking-tight", className),
|
|
1601
1718
|
...props
|
|
1602
1719
|
}
|
|
1603
1720
|
);
|
|
@@ -1609,14 +1726,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
|
|
|
1609
1726
|
{
|
|
1610
1727
|
ref,
|
|
1611
1728
|
"data-slot": "card-description",
|
|
1612
|
-
className:
|
|
1729
|
+
className: cn27("text-sm text-muted-foreground", className),
|
|
1613
1730
|
...props
|
|
1614
1731
|
}
|
|
1615
1732
|
);
|
|
1616
1733
|
}
|
|
1617
1734
|
MosaicCardDescription.displayName = "MosaicCardDescription";
|
|
1618
1735
|
function MosaicCardContent({ className, ref, ...props }) {
|
|
1619
|
-
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className:
|
|
1736
|
+
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn27("p-6 pt-0", className), ...props });
|
|
1620
1737
|
}
|
|
1621
1738
|
MosaicCardContent.displayName = "MosaicCardContent";
|
|
1622
1739
|
function MosaicCardFooter({ className, ref, ...props }) {
|
|
@@ -1625,7 +1742,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
|
|
|
1625
1742
|
{
|
|
1626
1743
|
ref,
|
|
1627
1744
|
"data-slot": "card-footer",
|
|
1628
|
-
className:
|
|
1745
|
+
className: cn27("flex items-center p-6 pt-0", className),
|
|
1629
1746
|
...props
|
|
1630
1747
|
}
|
|
1631
1748
|
);
|
|
@@ -1654,7 +1771,7 @@ var badgeVariants = cva(
|
|
|
1654
1771
|
}
|
|
1655
1772
|
}
|
|
1656
1773
|
);
|
|
1657
|
-
function
|
|
1774
|
+
function cn28(...classes) {
|
|
1658
1775
|
return classes.filter(Boolean).join(" ");
|
|
1659
1776
|
}
|
|
1660
1777
|
function MosaicBadge({ className, variant, ref, ...props }) {
|
|
@@ -1663,13 +1780,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
|
|
|
1663
1780
|
{
|
|
1664
1781
|
ref,
|
|
1665
1782
|
"data-slot": "badge",
|
|
1666
|
-
className:
|
|
1783
|
+
className: cn28(badgeVariants({ variant }), className),
|
|
1667
1784
|
...props
|
|
1668
1785
|
}
|
|
1669
1786
|
);
|
|
1670
1787
|
}
|
|
1671
1788
|
MosaicBadge.displayName = "MosaicBadge";
|
|
1672
|
-
function
|
|
1789
|
+
function cn29(...classes) {
|
|
1673
1790
|
return classes.filter(Boolean).join(" ");
|
|
1674
1791
|
}
|
|
1675
1792
|
function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
@@ -1678,7 +1795,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1678
1795
|
{
|
|
1679
1796
|
ref,
|
|
1680
1797
|
"data-slot": "avatar",
|
|
1681
|
-
className:
|
|
1798
|
+
className: cn29(
|
|
1682
1799
|
"relative flex size-10 shrink-0 overflow-hidden rounded-full",
|
|
1683
1800
|
"bg-muted text-muted-foreground",
|
|
1684
1801
|
className
|
|
@@ -1707,7 +1824,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1707
1824
|
);
|
|
1708
1825
|
}
|
|
1709
1826
|
MosaicAvatar.displayName = "MosaicAvatar";
|
|
1710
|
-
function
|
|
1827
|
+
function cn30(...classes) {
|
|
1711
1828
|
return classes.filter(Boolean).join(" ");
|
|
1712
1829
|
}
|
|
1713
1830
|
function MosaicInput({ className, ref, ...props }) {
|
|
@@ -1716,7 +1833,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1716
1833
|
{
|
|
1717
1834
|
ref,
|
|
1718
1835
|
"data-slot": "input",
|
|
1719
|
-
className:
|
|
1836
|
+
className: cn30(
|
|
1720
1837
|
"flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
|
|
1721
1838
|
"text-sm text-foreground shadow-xs",
|
|
1722
1839
|
"placeholder:text-muted-foreground",
|
|
@@ -1730,7 +1847,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1730
1847
|
);
|
|
1731
1848
|
}
|
|
1732
1849
|
MosaicInput.displayName = "MosaicInput";
|
|
1733
|
-
function
|
|
1850
|
+
function cn31(...classes) {
|
|
1734
1851
|
return classes.filter(Boolean).join(" ");
|
|
1735
1852
|
}
|
|
1736
1853
|
function MosaicInputGroup({
|
|
@@ -1746,7 +1863,7 @@ function MosaicInputGroup({
|
|
|
1746
1863
|
{
|
|
1747
1864
|
ref,
|
|
1748
1865
|
"data-slot": "input-group",
|
|
1749
|
-
className:
|
|
1866
|
+
className: cn31("flex items-center", className),
|
|
1750
1867
|
...props,
|
|
1751
1868
|
children: [
|
|
1752
1869
|
prefix ? /* @__PURE__ */ jsx(
|
|
@@ -1771,7 +1888,7 @@ function MosaicInputGroup({
|
|
|
1771
1888
|
);
|
|
1772
1889
|
}
|
|
1773
1890
|
MosaicInputGroup.displayName = "MosaicInputGroup";
|
|
1774
|
-
function
|
|
1891
|
+
function cn32(...classes) {
|
|
1775
1892
|
return classes.filter(Boolean).join(" ");
|
|
1776
1893
|
}
|
|
1777
1894
|
function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
@@ -1780,7 +1897,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
|
1780
1897
|
{
|
|
1781
1898
|
ref,
|
|
1782
1899
|
"data-slot": "field",
|
|
1783
|
-
className:
|
|
1900
|
+
className: cn32("flex flex-col gap-1.5", className),
|
|
1784
1901
|
...props,
|
|
1785
1902
|
children
|
|
1786
1903
|
}
|
|
@@ -1792,7 +1909,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1792
1909
|
Field.Label,
|
|
1793
1910
|
{
|
|
1794
1911
|
ref,
|
|
1795
|
-
className:
|
|
1912
|
+
className: cn32(
|
|
1796
1913
|
"text-sm font-medium leading-none text-foreground",
|
|
1797
1914
|
"data-[disabled]:opacity-50",
|
|
1798
1915
|
className
|
|
@@ -1804,7 +1921,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1804
1921
|
}
|
|
1805
1922
|
MosaicFieldLabel.displayName = "MosaicField.Label";
|
|
1806
1923
|
function MosaicFieldControl({ className, ref, ...props }) {
|
|
1807
|
-
return /* @__PURE__ */ jsx(Field.Control, { ref, className:
|
|
1924
|
+
return /* @__PURE__ */ jsx(Field.Control, { ref, className: cn32(className), ...props });
|
|
1808
1925
|
}
|
|
1809
1926
|
MosaicFieldControl.displayName = "MosaicField.Control";
|
|
1810
1927
|
function MosaicFieldDescription({
|
|
@@ -1817,7 +1934,7 @@ function MosaicFieldDescription({
|
|
|
1817
1934
|
Field.Description,
|
|
1818
1935
|
{
|
|
1819
1936
|
ref,
|
|
1820
|
-
className:
|
|
1937
|
+
className: cn32("text-xs text-muted-foreground", className),
|
|
1821
1938
|
...props,
|
|
1822
1939
|
children
|
|
1823
1940
|
}
|
|
@@ -1837,7 +1954,7 @@ function MosaicFieldError({
|
|
|
1837
1954
|
{
|
|
1838
1955
|
ref,
|
|
1839
1956
|
match: show === true ? true : void 0,
|
|
1840
|
-
className:
|
|
1957
|
+
className: cn32("text-xs font-medium text-destructive", className),
|
|
1841
1958
|
...props,
|
|
1842
1959
|
children
|
|
1843
1960
|
}
|
|
@@ -1850,7 +1967,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
|
|
|
1850
1967
|
Description: MosaicFieldDescription,
|
|
1851
1968
|
Error: MosaicFieldError
|
|
1852
1969
|
});
|
|
1853
|
-
function
|
|
1970
|
+
function cn33(...classes) {
|
|
1854
1971
|
return classes.filter(Boolean).join(" ");
|
|
1855
1972
|
}
|
|
1856
1973
|
function MosaicSwitch({ className, ref, ...props }) {
|
|
@@ -1859,7 +1976,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1859
1976
|
{
|
|
1860
1977
|
ref,
|
|
1861
1978
|
"data-slot": "switch",
|
|
1862
|
-
className:
|
|
1979
|
+
className: cn33(
|
|
1863
1980
|
// Track
|
|
1864
1981
|
"relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
|
|
1865
1982
|
"rounded-full border-2 border-transparent outline-none",
|
|
@@ -1877,7 +1994,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1877
1994
|
Switch.Thumb,
|
|
1878
1995
|
{
|
|
1879
1996
|
"data-slot": "switch-thumb",
|
|
1880
|
-
className:
|
|
1997
|
+
className: cn33(
|
|
1881
1998
|
"pointer-events-none block h-4 w-4 rounded-full",
|
|
1882
1999
|
"bg-background shadow-sm",
|
|
1883
2000
|
"translate-x-0 transition-transform",
|
|
@@ -1889,7 +2006,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1889
2006
|
);
|
|
1890
2007
|
}
|
|
1891
2008
|
MosaicSwitch.displayName = "MosaicSwitch";
|
|
1892
|
-
function
|
|
2009
|
+
function cn34(...classes) {
|
|
1893
2010
|
return classes.filter(Boolean).join(" ");
|
|
1894
2011
|
}
|
|
1895
2012
|
function MosaicSelect({
|
|
@@ -1921,7 +2038,7 @@ function MosaicSelect({
|
|
|
1921
2038
|
Select.Trigger,
|
|
1922
2039
|
{
|
|
1923
2040
|
"data-slot": "select",
|
|
1924
|
-
className:
|
|
2041
|
+
className: cn34(
|
|
1925
2042
|
"inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
|
|
1926
2043
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1927
2044
|
"text-sm text-foreground shadow-xs outline-none",
|
|
@@ -1941,7 +2058,7 @@ function MosaicSelect({
|
|
|
1941
2058
|
Select.Popup,
|
|
1942
2059
|
{
|
|
1943
2060
|
"data-slot": "select-popup",
|
|
1944
|
-
className:
|
|
2061
|
+
className: cn34(
|
|
1945
2062
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
1946
2063
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
1947
2064
|
"origin-[var(--transform-origin)]",
|
|
@@ -1955,7 +2072,7 @@ function MosaicSelect({
|
|
|
1955
2072
|
{
|
|
1956
2073
|
value: item.value,
|
|
1957
2074
|
disabled: item.disabled,
|
|
1958
|
-
className:
|
|
2075
|
+
className: cn34(
|
|
1959
2076
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
1960
2077
|
"text-sm text-popover-foreground outline-none",
|
|
1961
2078
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2009,7 +2126,7 @@ function CheckIcon() {
|
|
|
2009
2126
|
}
|
|
2010
2127
|
);
|
|
2011
2128
|
}
|
|
2012
|
-
function
|
|
2129
|
+
function cn35(...classes) {
|
|
2013
2130
|
return classes.filter(Boolean).join(" ");
|
|
2014
2131
|
}
|
|
2015
2132
|
function MosaicCombobox({
|
|
@@ -2038,12 +2155,12 @@ function MosaicCombobox({
|
|
|
2038
2155
|
name,
|
|
2039
2156
|
onInputValueChange: setInputValue,
|
|
2040
2157
|
autoHighlight: true,
|
|
2041
|
-
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className:
|
|
2158
|
+
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className: cn35("relative w-full", className), children: [
|
|
2042
2159
|
/* @__PURE__ */ jsx(
|
|
2043
2160
|
Combobox.Input,
|
|
2044
2161
|
{
|
|
2045
2162
|
placeholder,
|
|
2046
|
-
className:
|
|
2163
|
+
className: cn35(
|
|
2047
2164
|
"h-9 w-full rounded-md border border-border bg-background px-3 py-2",
|
|
2048
2165
|
"text-sm text-foreground shadow-xs outline-none",
|
|
2049
2166
|
"placeholder:text-muted-foreground",
|
|
@@ -2055,7 +2172,7 @@ function MosaicCombobox({
|
|
|
2055
2172
|
/* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsx(
|
|
2056
2173
|
Combobox.Popup,
|
|
2057
2174
|
{
|
|
2058
|
-
className:
|
|
2175
|
+
className: cn35(
|
|
2059
2176
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2060
2177
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2061
2178
|
"origin-[var(--transform-origin)]",
|
|
@@ -2070,7 +2187,7 @@ function MosaicCombobox({
|
|
|
2070
2187
|
{
|
|
2071
2188
|
value: item.value,
|
|
2072
2189
|
disabled: item.disabled,
|
|
2073
|
-
className:
|
|
2190
|
+
className: cn35(
|
|
2074
2191
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2075
2192
|
"text-sm text-popover-foreground outline-none",
|
|
2076
2193
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2089,7 +2206,7 @@ function MosaicCombobox({
|
|
|
2089
2206
|
}
|
|
2090
2207
|
);
|
|
2091
2208
|
}
|
|
2092
|
-
function
|
|
2209
|
+
function cn36(...classes) {
|
|
2093
2210
|
return classes.filter(Boolean).join(" ");
|
|
2094
2211
|
}
|
|
2095
2212
|
function MosaicDropdownMenu({
|
|
@@ -2106,7 +2223,7 @@ function MosaicDropdownMenu({
|
|
|
2106
2223
|
Menu.Popup,
|
|
2107
2224
|
{
|
|
2108
2225
|
"data-slot": "dropdown-menu",
|
|
2109
|
-
className:
|
|
2226
|
+
className: cn36(
|
|
2110
2227
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2111
2228
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2112
2229
|
"origin-[var(--transform-origin)]",
|
|
@@ -2123,7 +2240,7 @@ function MosaicDropdownMenu({
|
|
|
2123
2240
|
{
|
|
2124
2241
|
disabled: item.disabled,
|
|
2125
2242
|
onClick: () => onItemSelect?.(item.id),
|
|
2126
|
-
className:
|
|
2243
|
+
className: cn36(
|
|
2127
2244
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2128
2245
|
"text-sm text-popover-foreground outline-none",
|
|
2129
2246
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2265,7 +2382,7 @@ function useDevice() {
|
|
|
2265
2382
|
}
|
|
2266
2383
|
return ctx;
|
|
2267
2384
|
}
|
|
2268
|
-
function
|
|
2385
|
+
function cn37(...classes) {
|
|
2269
2386
|
return classes.filter(Boolean).join(" ");
|
|
2270
2387
|
}
|
|
2271
2388
|
function MosaicAdaptiveGrid({
|
|
@@ -2284,14 +2401,14 @@ function MosaicAdaptiveGrid({
|
|
|
2284
2401
|
{
|
|
2285
2402
|
ref,
|
|
2286
2403
|
"data-slot": "adaptive-grid",
|
|
2287
|
-
className:
|
|
2404
|
+
className: cn37("grid", gap, className),
|
|
2288
2405
|
style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
|
|
2289
2406
|
children
|
|
2290
2407
|
}
|
|
2291
2408
|
);
|
|
2292
2409
|
}
|
|
2293
2410
|
MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
|
|
2294
|
-
function
|
|
2411
|
+
function cn38(...classes) {
|
|
2295
2412
|
return classes.filter(Boolean).join(" ");
|
|
2296
2413
|
}
|
|
2297
2414
|
var ANIM_ID = "mosaic-adaptive-modal-kf";
|
|
@@ -2396,7 +2513,7 @@ function MosaicAdaptiveModal({
|
|
|
2396
2513
|
children: /* @__PURE__ */ jsxs(
|
|
2397
2514
|
"div",
|
|
2398
2515
|
{
|
|
2399
|
-
className:
|
|
2516
|
+
className: cn38(
|
|
2400
2517
|
"mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
|
|
2401
2518
|
"max-h-[90dvh] flex flex-col",
|
|
2402
2519
|
className
|
|
@@ -2429,7 +2546,7 @@ function MosaicAdaptiveModal({
|
|
|
2429
2546
|
children: /* @__PURE__ */ jsxs(
|
|
2430
2547
|
"div",
|
|
2431
2548
|
{
|
|
2432
|
-
className:
|
|
2549
|
+
className: cn38(
|
|
2433
2550
|
"mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
|
|
2434
2551
|
"max-h-[90vh] flex flex-col",
|
|
2435
2552
|
className
|
|
@@ -2477,7 +2594,7 @@ function MosaicAdaptiveModal({
|
|
|
2477
2594
|
);
|
|
2478
2595
|
}
|
|
2479
2596
|
MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
|
|
2480
|
-
function
|
|
2597
|
+
function cn39(...classes) {
|
|
2481
2598
|
return classes.filter(Boolean).join(" ");
|
|
2482
2599
|
}
|
|
2483
2600
|
function CheckIcon2() {
|
|
@@ -2534,7 +2651,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2534
2651
|
{
|
|
2535
2652
|
ref,
|
|
2536
2653
|
"data-slot": "adaptive-navigation",
|
|
2537
|
-
className:
|
|
2654
|
+
className: cn39("space-y-3", className),
|
|
2538
2655
|
"aria-label": "Step navigation",
|
|
2539
2656
|
children: items.map((item, idx) => {
|
|
2540
2657
|
const isExpanded = expandedItems?.has(item.id) ?? false;
|
|
@@ -2552,7 +2669,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2552
2669
|
/* @__PURE__ */ jsx(
|
|
2553
2670
|
"div",
|
|
2554
2671
|
{
|
|
2555
|
-
className:
|
|
2672
|
+
className: cn39(
|
|
2556
2673
|
"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2557
2674
|
item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
|
|
2558
2675
|
),
|
|
@@ -2586,7 +2703,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2586
2703
|
{
|
|
2587
2704
|
ref,
|
|
2588
2705
|
"data-slot": "adaptive-navigation",
|
|
2589
|
-
className:
|
|
2706
|
+
className: cn39("w-full", className),
|
|
2590
2707
|
"aria-label": "Tab navigation",
|
|
2591
2708
|
children: /* @__PURE__ */ jsx(
|
|
2592
2709
|
"div",
|
|
@@ -2603,7 +2720,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2603
2720
|
role: "tab",
|
|
2604
2721
|
"aria-selected": isActive,
|
|
2605
2722
|
onClick: () => onItemChange(item.id),
|
|
2606
|
-
className:
|
|
2723
|
+
className: cn39(
|
|
2607
2724
|
"flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
|
|
2608
2725
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
2609
2726
|
isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
|
|
@@ -2612,7 +2729,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2612
2729
|
/* @__PURE__ */ jsx(
|
|
2613
2730
|
"div",
|
|
2614
2731
|
{
|
|
2615
|
-
className:
|
|
2732
|
+
className: cn39(
|
|
2616
2733
|
"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2617
2734
|
item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
|
|
2618
2735
|
),
|
|
@@ -2624,7 +2741,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2624
2741
|
item.duration !== void 0 && /* @__PURE__ */ jsxs(
|
|
2625
2742
|
"span",
|
|
2626
2743
|
{
|
|
2627
|
-
className:
|
|
2744
|
+
className: cn39(
|
|
2628
2745
|
"rounded px-1 py-0.5 text-xs",
|
|
2629
2746
|
isActive ? "bg-primary-foreground/20" : "bg-muted"
|
|
2630
2747
|
),
|
|
@@ -2645,7 +2762,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2645
2762
|
);
|
|
2646
2763
|
}
|
|
2647
2764
|
MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
|
|
2648
|
-
function
|
|
2765
|
+
function cn40(...classes) {
|
|
2649
2766
|
return classes.filter(Boolean).join(" ");
|
|
2650
2767
|
}
|
|
2651
2768
|
var ANIM_ID2 = "mosaic-sidebar-kf";
|
|
@@ -2815,7 +2932,7 @@ function MosaicAppSidebar({
|
|
|
2815
2932
|
{
|
|
2816
2933
|
ref,
|
|
2817
2934
|
"data-slot": "app-sidebar",
|
|
2818
|
-
className:
|
|
2935
|
+
className: cn40(
|
|
2819
2936
|
"flex h-full flex-col bg-sidebar border-r border-sidebar-border",
|
|
2820
2937
|
isMobile && "border-r-0",
|
|
2821
2938
|
className
|
|
@@ -2835,7 +2952,7 @@ function MosaicAppSidebar({
|
|
|
2835
2952
|
type: "button",
|
|
2836
2953
|
onClick: onToggleCollapse,
|
|
2837
2954
|
"aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
|
|
2838
|
-
className:
|
|
2955
|
+
className: cn40(
|
|
2839
2956
|
"flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
|
|
2840
2957
|
"hover:bg-sidebar-accent text-sidebar-foreground",
|
|
2841
2958
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2865,7 +2982,7 @@ function MosaicAppSidebar({
|
|
|
2865
2982
|
},
|
|
2866
2983
|
"aria-current": isActive ? "page" : void 0,
|
|
2867
2984
|
"aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
|
|
2868
|
-
className:
|
|
2985
|
+
className: cn40(
|
|
2869
2986
|
"group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
|
|
2870
2987
|
"hover:bg-sidebar-accent",
|
|
2871
2988
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2892,7 +3009,7 @@ function MosaicAppSidebar({
|
|
|
2892
3009
|
type: "button",
|
|
2893
3010
|
onClick: () => handleNavClick(sub.href),
|
|
2894
3011
|
"aria-current": isSubActive ? "page" : void 0,
|
|
2895
|
-
className:
|
|
3012
|
+
className: cn40(
|
|
2896
3013
|
"flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
|
|
2897
3014
|
"hover:bg-sidebar-accent/50 text-sidebar-foreground",
|
|
2898
3015
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2915,7 +3032,7 @@ function MosaicAppSidebar({
|
|
|
2915
3032
|
{
|
|
2916
3033
|
type: "button",
|
|
2917
3034
|
onClick: action.onClick,
|
|
2918
|
-
className:
|
|
3035
|
+
className: cn40(
|
|
2919
3036
|
"flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
|
|
2920
3037
|
"text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
|
|
2921
3038
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -2962,7 +3079,7 @@ function MosaicAppSidebar({
|
|
|
2962
3079
|
);
|
|
2963
3080
|
}
|
|
2964
3081
|
MosaicAppSidebar.displayName = "MosaicAppSidebar";
|
|
2965
|
-
function
|
|
3082
|
+
function cn41(...classes) {
|
|
2966
3083
|
return classes.filter(Boolean).join(" ");
|
|
2967
3084
|
}
|
|
2968
3085
|
var ANIM_ID3 = "mosaic-dashboard-kf";
|
|
@@ -3052,7 +3169,7 @@ function MosaicDashboardLayout({
|
|
|
3052
3169
|
{
|
|
3053
3170
|
ref,
|
|
3054
3171
|
"data-slot": "dashboard-layout",
|
|
3055
|
-
className:
|
|
3172
|
+
className: cn41("flex h-screen w-full bg-background", className),
|
|
3056
3173
|
children: [
|
|
3057
3174
|
!isMobile && /* @__PURE__ */ jsx(
|
|
3058
3175
|
MosaicAppSidebar,
|
|
@@ -3076,7 +3193,7 @@ function MosaicDashboardLayout({
|
|
|
3076
3193
|
type: "button",
|
|
3077
3194
|
"aria-label": "Open navigation",
|
|
3078
3195
|
onClick: () => setIsMobileSidebarOpen(true),
|
|
3079
|
-
className:
|
|
3196
|
+
className: cn41(
|
|
3080
3197
|
"flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
|
|
3081
3198
|
"text-foreground transition-colors hover:bg-muted",
|
|
3082
3199
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -3128,7 +3245,7 @@ function MosaicDashboardLayout({
|
|
|
3128
3245
|
);
|
|
3129
3246
|
}
|
|
3130
3247
|
MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
|
|
3131
|
-
function
|
|
3248
|
+
function cn42(...classes) {
|
|
3132
3249
|
return classes.filter(Boolean).join(" ");
|
|
3133
3250
|
}
|
|
3134
3251
|
var ANIM_ID4 = "mosaic-quick-action-kf";
|
|
@@ -3183,7 +3300,7 @@ function MosaicQuickActionCard({
|
|
|
3183
3300
|
{
|
|
3184
3301
|
ref,
|
|
3185
3302
|
"data-slot": "quick-action-card",
|
|
3186
|
-
className:
|
|
3303
|
+
className: cn42("rounded-xl border border-border bg-card", className),
|
|
3187
3304
|
children: [
|
|
3188
3305
|
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 }) }),
|
|
3189
3306
|
/* @__PURE__ */ jsx(
|
|
@@ -3208,7 +3325,7 @@ function MosaicQuickActionCard({
|
|
|
3208
3325
|
/* @__PURE__ */ jsxs(
|
|
3209
3326
|
"div",
|
|
3210
3327
|
{
|
|
3211
|
-
className:
|
|
3328
|
+
className: cn42(
|
|
3212
3329
|
"flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
|
|
3213
3330
|
"transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
|
|
3214
3331
|
accentClass
|
|
@@ -3241,7 +3358,7 @@ function MosaicQuickActionCard({
|
|
|
3241
3358
|
);
|
|
3242
3359
|
}
|
|
3243
3360
|
MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
|
|
3244
|
-
function
|
|
3361
|
+
function cn43(...classes) {
|
|
3245
3362
|
return classes.filter(Boolean).join(" ");
|
|
3246
3363
|
}
|
|
3247
3364
|
var ANIM_ID5 = "mosaic-activity-feed-kf";
|
|
@@ -3330,7 +3447,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3330
3447
|
"div",
|
|
3331
3448
|
{
|
|
3332
3449
|
"data-slot": "activity-item",
|
|
3333
|
-
className:
|
|
3450
|
+
className: cn43(
|
|
3334
3451
|
"flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
|
|
3335
3452
|
className
|
|
3336
3453
|
),
|
|
@@ -3364,7 +3481,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3364
3481
|
/* @__PURE__ */ jsx(
|
|
3365
3482
|
"span",
|
|
3366
3483
|
{
|
|
3367
|
-
className:
|
|
3484
|
+
className: cn43(
|
|
3368
3485
|
"rounded-full px-2 py-0.5 text-xs font-medium",
|
|
3369
3486
|
getStatusClass(activity.status)
|
|
3370
3487
|
),
|
|
@@ -3405,7 +3522,7 @@ function MosaicActivityFeed({
|
|
|
3405
3522
|
{
|
|
3406
3523
|
ref,
|
|
3407
3524
|
"data-slot": "activity-feed",
|
|
3408
|
-
className:
|
|
3525
|
+
className: cn43("rounded-xl border border-border bg-card", className),
|
|
3409
3526
|
children: [
|
|
3410
3527
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
3411
3528
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
|
|
@@ -3431,7 +3548,7 @@ function MosaicActivityFeed({
|
|
|
3431
3548
|
);
|
|
3432
3549
|
}
|
|
3433
3550
|
MosaicActivityFeed.displayName = "MosaicActivityFeed";
|
|
3434
|
-
function
|
|
3551
|
+
function cn44(...classes) {
|
|
3435
3552
|
return classes.filter(Boolean).join(" ");
|
|
3436
3553
|
}
|
|
3437
3554
|
function SparklesIcon() {
|
|
@@ -3640,7 +3757,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3640
3757
|
value: agentName,
|
|
3641
3758
|
onChange: (e) => onAgentNameChange(e.target.value),
|
|
3642
3759
|
placeholder: "Enter agent name\u2026",
|
|
3643
|
-
className:
|
|
3760
|
+
className: cn44(
|
|
3644
3761
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3645
3762
|
"placeholder:text-muted-foreground",
|
|
3646
3763
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3741,7 +3858,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3741
3858
|
onChange: (e) => onCustomInstructionsChange(e.target.value),
|
|
3742
3859
|
placeholder: "Add any specific instructions or behaviors\u2026",
|
|
3743
3860
|
rows: 5,
|
|
3744
|
-
className:
|
|
3861
|
+
className: cn44(
|
|
3745
3862
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3746
3863
|
"placeholder:text-muted-foreground",
|
|
3747
3864
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3809,7 +3926,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3809
3926
|
/* @__PURE__ */ jsx(SparklesIcon, {}),
|
|
3810
3927
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
|
|
3811
3928
|
] }) }),
|
|
3812
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3929
|
+
/* @__PURE__ */ jsxs("div", { className: cn44("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
|
|
3813
3930
|
isEditMode && onCancel && /* @__PURE__ */ jsx(
|
|
3814
3931
|
"button",
|
|
3815
3932
|
{
|
|
@@ -3825,7 +3942,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3825
3942
|
type: "button",
|
|
3826
3943
|
onClick: onSave,
|
|
3827
3944
|
disabled: !canSave,
|
|
3828
|
-
className:
|
|
3945
|
+
className: cn44(
|
|
3829
3946
|
"flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
|
|
3830
3947
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3831
3948
|
"bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -3846,7 +3963,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3846
3963
|
] });
|
|
3847
3964
|
}
|
|
3848
3965
|
MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
|
|
3849
|
-
function
|
|
3966
|
+
function cn45(...classes) {
|
|
3850
3967
|
return classes.filter(Boolean).join(" ");
|
|
3851
3968
|
}
|
|
3852
3969
|
function SparklesIcon2() {
|
|
@@ -4102,7 +4219,7 @@ function MosaicAgentComposerMobile({
|
|
|
4102
4219
|
disabled: isLoading,
|
|
4103
4220
|
"aria-required": "true",
|
|
4104
4221
|
"aria-invalid": canSave && !agentName ? "true" : "false",
|
|
4105
|
-
className:
|
|
4222
|
+
className: cn45(
|
|
4106
4223
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4107
4224
|
"placeholder:text-muted-foreground",
|
|
4108
4225
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4206,7 +4323,7 @@ function MosaicAgentComposerMobile({
|
|
|
4206
4323
|
disabled: isLoading,
|
|
4207
4324
|
"aria-describedby": `${instructionsId}-help`,
|
|
4208
4325
|
rows: 4,
|
|
4209
|
-
className:
|
|
4326
|
+
className: cn45(
|
|
4210
4327
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4211
4328
|
"placeholder:text-muted-foreground",
|
|
4212
4329
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4262,7 +4379,7 @@ function MosaicAgentComposer(props) {
|
|
|
4262
4379
|
return isMobile ? /* @__PURE__ */ jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsx(MosaicAgentComposerDesktop, { ...props });
|
|
4263
4380
|
}
|
|
4264
4381
|
MosaicAgentComposer.displayName = "MosaicAgentComposer";
|
|
4265
|
-
function
|
|
4382
|
+
function cn46(...classes) {
|
|
4266
4383
|
return classes.filter(Boolean).join(" ");
|
|
4267
4384
|
}
|
|
4268
4385
|
function EditIcon() {
|
|
@@ -4320,7 +4437,7 @@ function MosaicModuleCard({
|
|
|
4320
4437
|
{
|
|
4321
4438
|
ref,
|
|
4322
4439
|
"data-slot": "module-card",
|
|
4323
|
-
className:
|
|
4440
|
+
className: cn46(
|
|
4324
4441
|
"min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
|
|
4325
4442
|
"flex items-start gap-3",
|
|
4326
4443
|
isSelected && "ring-2 ring-primary bg-primary/5",
|
|
@@ -4382,7 +4499,7 @@ function MosaicThemeProvider({
|
|
|
4382
4499
|
return /* @__PURE__ */ jsx("div", { "data-slot": "theme-provider", children });
|
|
4383
4500
|
}
|
|
4384
4501
|
MosaicThemeProvider.displayName = "MosaicThemeProvider";
|
|
4385
|
-
function
|
|
4502
|
+
function cn47(...classes) {
|
|
4386
4503
|
return classes.filter(Boolean).join(" ");
|
|
4387
4504
|
}
|
|
4388
4505
|
var ANIM_ID6 = "mosaic-delete-dialog-kf";
|
|
@@ -4436,14 +4553,14 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4436
4553
|
/* @__PURE__ */ jsx(
|
|
4437
4554
|
AlertDialog.Backdrop,
|
|
4438
4555
|
{
|
|
4439
|
-
className:
|
|
4556
|
+
className: cn47("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
|
|
4440
4557
|
}
|
|
4441
4558
|
),
|
|
4442
4559
|
/* @__PURE__ */ jsxs(
|
|
4443
4560
|
AlertDialog.Popup,
|
|
4444
4561
|
{
|
|
4445
4562
|
"data-slot": "delete-confirmation-dialog",
|
|
4446
|
-
className:
|
|
4563
|
+
className: cn47(
|
|
4447
4564
|
"mosaic-delete-content",
|
|
4448
4565
|
"fixed left-1/2 top-1/2 z-50",
|
|
4449
4566
|
"w-full max-w-[92vw] sm:max-w-md",
|
|
@@ -4456,7 +4573,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4456
4573
|
/* @__PURE__ */ jsx(
|
|
4457
4574
|
AlertDialog.Close,
|
|
4458
4575
|
{
|
|
4459
|
-
className:
|
|
4576
|
+
className: cn47(
|
|
4460
4577
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
4461
4578
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4462
4579
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4470,7 +4587,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4470
4587
|
AlertDialog.Close,
|
|
4471
4588
|
{
|
|
4472
4589
|
onClick: onConfirm,
|
|
4473
|
-
className:
|
|
4590
|
+
className: cn47(
|
|
4474
4591
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
|
|
4475
4592
|
"bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
|
|
4476
4593
|
"hover:bg-destructive/90",
|
|
@@ -4487,7 +4604,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4487
4604
|
] }) });
|
|
4488
4605
|
}
|
|
4489
4606
|
MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
|
|
4490
|
-
function
|
|
4607
|
+
function cn48(...classes) {
|
|
4491
4608
|
return classes.filter(Boolean).join(" ");
|
|
4492
4609
|
}
|
|
4493
4610
|
function Toggle({
|
|
@@ -4503,7 +4620,7 @@ function Toggle({
|
|
|
4503
4620
|
id,
|
|
4504
4621
|
"aria-checked": checked,
|
|
4505
4622
|
onClick: () => onChange(!checked),
|
|
4506
|
-
className:
|
|
4623
|
+
className: cn48(
|
|
4507
4624
|
"relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
|
|
4508
4625
|
"transition-colors duration-200 ease-in-out",
|
|
4509
4626
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
@@ -4512,7 +4629,7 @@ function Toggle({
|
|
|
4512
4629
|
children: /* @__PURE__ */ jsx(
|
|
4513
4630
|
"span",
|
|
4514
4631
|
{
|
|
4515
|
-
className:
|
|
4632
|
+
className: cn48(
|
|
4516
4633
|
"pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
|
|
4517
4634
|
"transform transition duration-200 ease-in-out",
|
|
4518
4635
|
checked ? "translate-x-5" : "translate-x-0"
|
|
@@ -4534,7 +4651,7 @@ function NativeSelect({
|
|
|
4534
4651
|
id,
|
|
4535
4652
|
value,
|
|
4536
4653
|
onChange: (e) => onChange(e.target.value),
|
|
4537
|
-
className:
|
|
4654
|
+
className: cn48(
|
|
4538
4655
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4539
4656
|
"text-sm text-foreground",
|
|
4540
4657
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4553,7 +4670,7 @@ function MosaicPreferencesPanel({
|
|
|
4553
4670
|
className
|
|
4554
4671
|
}) {
|
|
4555
4672
|
const { isMobile } = useDevice();
|
|
4556
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className:
|
|
4673
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className: cn48("space-y-4 md:space-y-6", className), children: [
|
|
4557
4674
|
groups.map((group) => /* @__PURE__ */ jsxs(
|
|
4558
4675
|
"div",
|
|
4559
4676
|
{
|
|
@@ -4596,13 +4713,13 @@ function MosaicPreferencesPanel({
|
|
|
4596
4713
|
},
|
|
4597
4714
|
group.id
|
|
4598
4715
|
)),
|
|
4599
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4716
|
+
/* @__PURE__ */ jsx("div", { className: cn48("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4600
4717
|
"button",
|
|
4601
4718
|
{
|
|
4602
4719
|
type: "button",
|
|
4603
4720
|
onClick: onSave,
|
|
4604
4721
|
disabled: isSaving,
|
|
4605
|
-
className:
|
|
4722
|
+
className: cn48(
|
|
4606
4723
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4607
4724
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4608
4725
|
"hover:bg-primary/90",
|
|
@@ -4638,7 +4755,7 @@ function MosaicPreferencesPanel({
|
|
|
4638
4755
|
] });
|
|
4639
4756
|
}
|
|
4640
4757
|
MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
|
|
4641
|
-
function
|
|
4758
|
+
function cn49(...classes) {
|
|
4642
4759
|
return classes.filter(Boolean).join(" ");
|
|
4643
4760
|
}
|
|
4644
4761
|
function AvatarDisplay({
|
|
@@ -4651,7 +4768,7 @@ function AvatarDisplay({
|
|
|
4651
4768
|
return /* @__PURE__ */ jsx(
|
|
4652
4769
|
"span",
|
|
4653
4770
|
{
|
|
4654
|
-
className:
|
|
4771
|
+
className: cn49(
|
|
4655
4772
|
"inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
|
|
4656
4773
|
sizeClass
|
|
4657
4774
|
),
|
|
@@ -4673,7 +4790,7 @@ function MosaicProfilePanel({
|
|
|
4673
4790
|
className
|
|
4674
4791
|
}) {
|
|
4675
4792
|
const { isMobile } = useDevice();
|
|
4676
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className:
|
|
4793
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className: cn49("space-y-4 md:space-y-6", className), children: [
|
|
4677
4794
|
/* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
|
|
4678
4795
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
|
|
4679
4796
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
|
|
@@ -4693,7 +4810,7 @@ function MosaicProfilePanel({
|
|
|
4693
4810
|
{
|
|
4694
4811
|
type: "button",
|
|
4695
4812
|
onClick: onAvatarUpload,
|
|
4696
|
-
className:
|
|
4813
|
+
className: cn49(
|
|
4697
4814
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
|
|
4698
4815
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4699
4816
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4743,7 +4860,7 @@ function MosaicProfilePanel({
|
|
|
4743
4860
|
placeholder: field.placeholder,
|
|
4744
4861
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4745
4862
|
rows: 4,
|
|
4746
|
-
className:
|
|
4863
|
+
className: cn49(
|
|
4747
4864
|
"flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4748
4865
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4749
4866
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4759,7 +4876,7 @@ function MosaicProfilePanel({
|
|
|
4759
4876
|
readOnly: field.readOnly,
|
|
4760
4877
|
placeholder: field.placeholder,
|
|
4761
4878
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4762
|
-
className:
|
|
4879
|
+
className: cn49(
|
|
4763
4880
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4764
4881
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4765
4882
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4779,7 +4896,7 @@ function MosaicProfilePanel({
|
|
|
4779
4896
|
{
|
|
4780
4897
|
type: "button",
|
|
4781
4898
|
onClick: onChangePassword,
|
|
4782
|
-
className:
|
|
4899
|
+
className: cn49(
|
|
4783
4900
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
4784
4901
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4785
4902
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4791,13 +4908,13 @@ function MosaicProfilePanel({
|
|
|
4791
4908
|
) })
|
|
4792
4909
|
] }),
|
|
4793
4910
|
extraSections,
|
|
4794
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4911
|
+
/* @__PURE__ */ jsx("div", { className: cn49("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4795
4912
|
"button",
|
|
4796
4913
|
{
|
|
4797
4914
|
type: "button",
|
|
4798
4915
|
onClick: onSave,
|
|
4799
4916
|
disabled: isSaving,
|
|
4800
|
-
className:
|
|
4917
|
+
className: cn49(
|
|
4801
4918
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4802
4919
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4803
4920
|
"hover:bg-primary/90",
|
|
@@ -4833,7 +4950,7 @@ function MosaicProfilePanel({
|
|
|
4833
4950
|
] });
|
|
4834
4951
|
}
|
|
4835
4952
|
MosaicProfilePanel.displayName = "MosaicProfilePanel";
|
|
4836
|
-
function
|
|
4953
|
+
function cn50(...classes) {
|
|
4837
4954
|
return classes.filter(Boolean).join(" ");
|
|
4838
4955
|
}
|
|
4839
4956
|
var ANIM_ID7 = "mosaic-main-nav-kf";
|
|
@@ -4941,7 +5058,7 @@ function MosaicMainNav({
|
|
|
4941
5058
|
{
|
|
4942
5059
|
type: "button",
|
|
4943
5060
|
onClick: () => setIsOpen(!isOpen),
|
|
4944
|
-
className:
|
|
5061
|
+
className: cn50(
|
|
4945
5062
|
"inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
|
|
4946
5063
|
"text-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4947
5064
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4967,7 +5084,7 @@ function MosaicMainNav({
|
|
|
4967
5084
|
"aria-label": "Navigation",
|
|
4968
5085
|
open: isOpen,
|
|
4969
5086
|
"data-open": isOpen ? "true" : "false",
|
|
4970
|
-
className:
|
|
5087
|
+
className: cn50(
|
|
4971
5088
|
"mosaic-nav-drawer",
|
|
4972
5089
|
"fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
|
|
4973
5090
|
"border-r border-border bg-background shadow-xl",
|
|
@@ -4984,7 +5101,7 @@ function MosaicMainNav({
|
|
|
4984
5101
|
{
|
|
4985
5102
|
type: "button",
|
|
4986
5103
|
onClick: () => setIsOpen(false),
|
|
4987
|
-
className:
|
|
5104
|
+
className: cn50(
|
|
4988
5105
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
4989
5106
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4990
5107
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4997,7 +5114,7 @@ function MosaicMainNav({
|
|
|
4997
5114
|
/* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
|
|
4998
5115
|
const Icon = item.icon;
|
|
4999
5116
|
const active = isItemActive(item);
|
|
5000
|
-
const itemClass =
|
|
5117
|
+
const itemClass = cn50(
|
|
5001
5118
|
"flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
|
|
5002
5119
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5003
5120
|
"min-h-[44px]",
|
|
@@ -5023,12 +5140,12 @@ function MosaicMainNav({
|
|
|
5023
5140
|
"nav",
|
|
5024
5141
|
{
|
|
5025
5142
|
"data-slot": "main-nav",
|
|
5026
|
-
className:
|
|
5143
|
+
className: cn50("flex items-center gap-1", className),
|
|
5027
5144
|
"aria-label": "Main navigation",
|
|
5028
5145
|
children: filteredItems.map((item) => {
|
|
5029
5146
|
const Icon = item.icon;
|
|
5030
5147
|
const active = isItemActive(item);
|
|
5031
|
-
const itemClass =
|
|
5148
|
+
const itemClass = cn50(
|
|
5032
5149
|
"flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
|
5033
5150
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5034
5151
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -5048,7 +5165,7 @@ function MosaicMainNav({
|
|
|
5048
5165
|
);
|
|
5049
5166
|
}
|
|
5050
5167
|
MosaicMainNav.displayName = "MosaicMainNav";
|
|
5051
|
-
function
|
|
5168
|
+
function cn51(...classes) {
|
|
5052
5169
|
return classes.filter(Boolean).join(" ");
|
|
5053
5170
|
}
|
|
5054
5171
|
function MoreVertIcon() {
|
|
@@ -5179,7 +5296,7 @@ function MosaicAgentCard({
|
|
|
5179
5296
|
"div",
|
|
5180
5297
|
{
|
|
5181
5298
|
"data-slot": "agent-card",
|
|
5182
|
-
className:
|
|
5299
|
+
className: cn51(
|
|
5183
5300
|
"relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
|
|
5184
5301
|
"transition-shadow hover:shadow-md",
|
|
5185
5302
|
agent.isActive && "ring-2 ring-primary",
|
|
@@ -5189,7 +5306,7 @@ function MosaicAgentCard({
|
|
|
5189
5306
|
/* @__PURE__ */ jsx(
|
|
5190
5307
|
"div",
|
|
5191
5308
|
{
|
|
5192
|
-
className:
|
|
5309
|
+
className: cn51(
|
|
5193
5310
|
"absolute left-0 top-0 h-1 w-full",
|
|
5194
5311
|
agent.isActive ? "bg-primary" : "bg-muted"
|
|
5195
5312
|
)
|
|
@@ -5201,7 +5318,7 @@ function MosaicAgentCard({
|
|
|
5201
5318
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5202
5319
|
"span",
|
|
5203
5320
|
{
|
|
5204
|
-
className:
|
|
5321
|
+
className: cn51("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5205
5322
|
"aria-hidden": "true"
|
|
5206
5323
|
}
|
|
5207
5324
|
),
|
|
@@ -5219,7 +5336,7 @@ function MosaicAgentCard({
|
|
|
5219
5336
|
{
|
|
5220
5337
|
type: "button",
|
|
5221
5338
|
onClick: () => setMenuOpen((v) => !v),
|
|
5222
|
-
className:
|
|
5339
|
+
className: cn51(
|
|
5223
5340
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
5224
5341
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5225
5342
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5234,7 +5351,7 @@ function MosaicAgentCard({
|
|
|
5234
5351
|
"div",
|
|
5235
5352
|
{
|
|
5236
5353
|
role: "menu",
|
|
5237
|
-
className:
|
|
5354
|
+
className: cn51(
|
|
5238
5355
|
"absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
|
|
5239
5356
|
"bg-popover py-1 shadow-md"
|
|
5240
5357
|
),
|
|
@@ -5249,7 +5366,7 @@ function MosaicAgentCard({
|
|
|
5249
5366
|
onToggleStatus(agent.id);
|
|
5250
5367
|
setMenuOpen(false);
|
|
5251
5368
|
},
|
|
5252
|
-
className:
|
|
5369
|
+
className: cn51(
|
|
5253
5370
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
5254
5371
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5255
5372
|
"disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -5311,7 +5428,7 @@ function MosaicAgentCard({
|
|
|
5311
5428
|
type: "button",
|
|
5312
5429
|
disabled: isLoading,
|
|
5313
5430
|
onClick: () => onToggleStatus(agent.id),
|
|
5314
|
-
className:
|
|
5431
|
+
className: cn51(
|
|
5315
5432
|
"inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
|
|
5316
5433
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5317
5434
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -5327,7 +5444,7 @@ function MosaicAgentCard({
|
|
|
5327
5444
|
);
|
|
5328
5445
|
}
|
|
5329
5446
|
MosaicAgentCard.displayName = "MosaicAgentCard";
|
|
5330
|
-
function
|
|
5447
|
+
function cn52(...classes) {
|
|
5331
5448
|
return classes.filter(Boolean).join(" ");
|
|
5332
5449
|
}
|
|
5333
5450
|
function PlusIcon3() {
|
|
@@ -5407,7 +5524,7 @@ function PickerContent({
|
|
|
5407
5524
|
{
|
|
5408
5525
|
type: "button",
|
|
5409
5526
|
onClick: () => onAdd(agent.id),
|
|
5410
|
-
className:
|
|
5527
|
+
className: cn52(
|
|
5411
5528
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5412
5529
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5413
5530
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5416,7 +5533,7 @@ function PickerContent({
|
|
|
5416
5533
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5417
5534
|
"span",
|
|
5418
5535
|
{
|
|
5419
|
-
className:
|
|
5536
|
+
className: cn52("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5420
5537
|
"aria-hidden": "true"
|
|
5421
5538
|
}
|
|
5422
5539
|
),
|
|
@@ -5433,7 +5550,7 @@ function PickerContent({
|
|
|
5433
5550
|
{
|
|
5434
5551
|
type: "button",
|
|
5435
5552
|
onClick: onOpenBuilder,
|
|
5436
|
-
className:
|
|
5553
|
+
className: cn52(
|
|
5437
5554
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5438
5555
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5439
5556
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5483,11 +5600,11 @@ function MosaicQuickAgentSelector({
|
|
|
5483
5600
|
setPickerOpen(false);
|
|
5484
5601
|
};
|
|
5485
5602
|
const canAdd = selectedAgents.length < maxAgents;
|
|
5486
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className:
|
|
5603
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className: cn52("flex items-center gap-2", className), children: [
|
|
5487
5604
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxs(
|
|
5488
5605
|
"div",
|
|
5489
5606
|
{
|
|
5490
|
-
className:
|
|
5607
|
+
className: cn52(
|
|
5491
5608
|
"group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
|
|
5492
5609
|
isMobile ? "px-2 py-1" : "px-3 py-1.5"
|
|
5493
5610
|
),
|
|
@@ -5495,17 +5612,17 @@ function MosaicQuickAgentSelector({
|
|
|
5495
5612
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5496
5613
|
"span",
|
|
5497
5614
|
{
|
|
5498
|
-
className:
|
|
5615
|
+
className: cn52("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
|
|
5499
5616
|
"aria-hidden": "true"
|
|
5500
5617
|
}
|
|
5501
5618
|
),
|
|
5502
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5619
|
+
/* @__PURE__ */ jsx("span", { className: cn52("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
|
|
5503
5620
|
/* @__PURE__ */ jsx(
|
|
5504
5621
|
"button",
|
|
5505
5622
|
{
|
|
5506
5623
|
type: "button",
|
|
5507
5624
|
onClick: () => onRemoveAgent(agent.id),
|
|
5508
|
-
className:
|
|
5625
|
+
className: cn52(
|
|
5509
5626
|
"inline-flex h-4 w-4 items-center justify-center rounded",
|
|
5510
5627
|
"text-muted-foreground hover:text-foreground",
|
|
5511
5628
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -5525,7 +5642,7 @@ function MosaicQuickAgentSelector({
|
|
|
5525
5642
|
{
|
|
5526
5643
|
type: "button",
|
|
5527
5644
|
onClick: () => setPickerOpen((v) => !v),
|
|
5528
|
-
className:
|
|
5645
|
+
className: cn52(
|
|
5529
5646
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
5530
5647
|
"px-3 py-1.5 text-sm font-medium text-foreground",
|
|
5531
5648
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5540,7 +5657,7 @@ function MosaicQuickAgentSelector({
|
|
|
5540
5657
|
!isMobile && pickerOpen && /* @__PURE__ */ jsx(
|
|
5541
5658
|
"div",
|
|
5542
5659
|
{
|
|
5543
|
-
className:
|
|
5660
|
+
className: cn52(
|
|
5544
5661
|
"absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
|
|
5545
5662
|
"bg-popover shadow-lg"
|
|
5546
5663
|
),
|
|
@@ -5582,7 +5699,7 @@ function MosaicQuickAgentSelector({
|
|
|
5582
5699
|
/* @__PURE__ */ jsxs(
|
|
5583
5700
|
"span",
|
|
5584
5701
|
{
|
|
5585
|
-
className:
|
|
5702
|
+
className: cn52(
|
|
5586
5703
|
"shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
|
|
5587
5704
|
),
|
|
5588
5705
|
children: [
|
|
@@ -5595,7 +5712,7 @@ function MosaicQuickAgentSelector({
|
|
|
5595
5712
|
] });
|
|
5596
5713
|
}
|
|
5597
5714
|
MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
|
|
5598
|
-
function
|
|
5715
|
+
function cn53(...classes) {
|
|
5599
5716
|
return classes.filter(Boolean).join(" ");
|
|
5600
5717
|
}
|
|
5601
5718
|
function SearchIcon() {
|
|
@@ -5685,7 +5802,7 @@ function MosaicSelectorModal({
|
|
|
5685
5802
|
value: query,
|
|
5686
5803
|
onChange: (e) => setQuery(e.target.value),
|
|
5687
5804
|
placeholder: searchPlaceholder,
|
|
5688
|
-
className:
|
|
5805
|
+
className: cn53(
|
|
5689
5806
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
5690
5807
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
5691
5808
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5699,7 +5816,7 @@ function MosaicSelectorModal({
|
|
|
5699
5816
|
{
|
|
5700
5817
|
type: "button",
|
|
5701
5818
|
onClick: () => setActiveCategory("all"),
|
|
5702
|
-
className:
|
|
5819
|
+
className: cn53(
|
|
5703
5820
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5704
5821
|
activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5705
5822
|
),
|
|
@@ -5711,7 +5828,7 @@ function MosaicSelectorModal({
|
|
|
5711
5828
|
{
|
|
5712
5829
|
type: "button",
|
|
5713
5830
|
onClick: () => setActiveCategory(cat.id),
|
|
5714
|
-
className:
|
|
5831
|
+
className: cn53(
|
|
5715
5832
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5716
5833
|
activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5717
5834
|
),
|
|
@@ -5723,7 +5840,7 @@ function MosaicSelectorModal({
|
|
|
5723
5840
|
/* @__PURE__ */ jsxs(
|
|
5724
5841
|
"div",
|
|
5725
5842
|
{
|
|
5726
|
-
className:
|
|
5843
|
+
className: cn53(
|
|
5727
5844
|
"max-h-[50vh] overflow-y-auto",
|
|
5728
5845
|
columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
|
|
5729
5846
|
),
|
|
@@ -5735,7 +5852,7 @@ function MosaicSelectorModal({
|
|
|
5735
5852
|
{
|
|
5736
5853
|
type: "button",
|
|
5737
5854
|
onClick: () => setPendingId(item.id),
|
|
5738
|
-
className:
|
|
5855
|
+
className: cn53(
|
|
5739
5856
|
"group relative rounded-lg border p-4 text-left transition-all duration-150",
|
|
5740
5857
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5741
5858
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
|
|
@@ -5773,7 +5890,7 @@ function MosaicSelectorModal({
|
|
|
5773
5890
|
{
|
|
5774
5891
|
type: "button",
|
|
5775
5892
|
onClick: onClose,
|
|
5776
|
-
className:
|
|
5893
|
+
className: cn53(
|
|
5777
5894
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
5778
5895
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
5779
5896
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5788,7 +5905,7 @@ function MosaicSelectorModal({
|
|
|
5788
5905
|
type: "button",
|
|
5789
5906
|
onClick: handleConfirm,
|
|
5790
5907
|
disabled: !pendingItem,
|
|
5791
|
-
className:
|
|
5908
|
+
className: cn53(
|
|
5792
5909
|
"inline-flex min-h-[44px] items-center justify-center rounded-md",
|
|
5793
5910
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
5794
5911
|
"hover:bg-primary/90",
|
|
@@ -5802,7 +5919,7 @@ function MosaicSelectorModal({
|
|
|
5802
5919
|
] }) });
|
|
5803
5920
|
}
|
|
5804
5921
|
MosaicSelectorModal.displayName = "MosaicSelectorModal";
|
|
5805
|
-
function
|
|
5922
|
+
function cn54(...classes) {
|
|
5806
5923
|
return classes.filter(Boolean).join(" ");
|
|
5807
5924
|
}
|
|
5808
5925
|
function relativeTime(ts) {
|
|
@@ -6051,7 +6168,7 @@ function MosaicMessageCard({
|
|
|
6051
6168
|
"div",
|
|
6052
6169
|
{
|
|
6053
6170
|
"data-slot": "message-card",
|
|
6054
|
-
className:
|
|
6171
|
+
className: cn54(
|
|
6055
6172
|
"rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
|
|
6056
6173
|
compact && "p-3",
|
|
6057
6174
|
message.sender.type === "user" && "bg-primary/5",
|
|
@@ -6061,7 +6178,7 @@ function MosaicMessageCard({
|
|
|
6061
6178
|
/* @__PURE__ */ jsx(
|
|
6062
6179
|
"span",
|
|
6063
6180
|
{
|
|
6064
|
-
className:
|
|
6181
|
+
className: cn54(
|
|
6065
6182
|
"inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
|
|
6066
6183
|
compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
|
|
6067
6184
|
message.sender.accentColor ?? "bg-muted text-muted-foreground"
|
|
@@ -6079,7 +6196,7 @@ function MosaicMessageCard({
|
|
|
6079
6196
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6080
6197
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
|
|
6081
6198
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6082
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6199
|
+
/* @__PURE__ */ jsx("span", { className: cn54("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
|
|
6083
6200
|
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" })
|
|
6084
6201
|
] }),
|
|
6085
6202
|
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
|
|
@@ -6087,7 +6204,7 @@ function MosaicMessageCard({
|
|
|
6087
6204
|
/* @__PURE__ */ jsx(
|
|
6088
6205
|
"p",
|
|
6089
6206
|
{
|
|
6090
|
-
className:
|
|
6207
|
+
className: cn54(
|
|
6091
6208
|
"leading-relaxed text-foreground mb-3",
|
|
6092
6209
|
compact ? "text-sm" : "text-base"
|
|
6093
6210
|
),
|
|
@@ -6102,7 +6219,7 @@ function MosaicMessageCard({
|
|
|
6102
6219
|
{
|
|
6103
6220
|
type: "button",
|
|
6104
6221
|
onClick: handleLike,
|
|
6105
|
-
className:
|
|
6222
|
+
className: cn54(
|
|
6106
6223
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6107
6224
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6108
6225
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6120,7 +6237,7 @@ function MosaicMessageCard({
|
|
|
6120
6237
|
{
|
|
6121
6238
|
type: "button",
|
|
6122
6239
|
onClick: handleDislike,
|
|
6123
|
-
className:
|
|
6240
|
+
className: cn54(
|
|
6124
6241
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6125
6242
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6126
6243
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6165,7 +6282,7 @@ function MosaicMessageCard({
|
|
|
6165
6282
|
{
|
|
6166
6283
|
type: "button",
|
|
6167
6284
|
onClick: handleBookmark,
|
|
6168
|
-
className:
|
|
6285
|
+
className: cn54(
|
|
6169
6286
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
6170
6287
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6171
6288
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6266,7 +6383,7 @@ function MosaicMessageCard({
|
|
|
6266
6383
|
);
|
|
6267
6384
|
}
|
|
6268
6385
|
MosaicMessageCard.displayName = "MosaicMessageCard";
|
|
6269
|
-
function
|
|
6386
|
+
function cn55(...classes) {
|
|
6270
6387
|
return classes.filter(Boolean).join(" ");
|
|
6271
6388
|
}
|
|
6272
6389
|
function SearchIcon2() {
|
|
@@ -6306,7 +6423,7 @@ function MessageListDesktop({
|
|
|
6306
6423
|
const filtered = query ? messages.filter(
|
|
6307
6424
|
(m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
|
|
6308
6425
|
) : messages;
|
|
6309
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className:
|
|
6426
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className: cn55("flex h-full flex-col", className), children: [
|
|
6310
6427
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
6311
6428
|
title && /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: title }),
|
|
6312
6429
|
/* @__PURE__ */ jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
|
|
@@ -6318,7 +6435,7 @@ function MessageListDesktop({
|
|
|
6318
6435
|
value: query,
|
|
6319
6436
|
onChange: (e) => setQuery(e.target.value),
|
|
6320
6437
|
placeholder: "Search messages\u2026",
|
|
6321
|
-
className:
|
|
6438
|
+
className: cn55(
|
|
6322
6439
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6323
6440
|
"text-sm placeholder:text-muted-foreground",
|
|
6324
6441
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6347,7 +6464,7 @@ function MessageListDesktop({
|
|
|
6347
6464
|
{
|
|
6348
6465
|
type: "button",
|
|
6349
6466
|
onClick: onLoadMore,
|
|
6350
|
-
className:
|
|
6467
|
+
className: cn55(
|
|
6351
6468
|
"w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6352
6469
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6353
6470
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6369,7 +6486,7 @@ function MessageListMobile({
|
|
|
6369
6486
|
isLoading,
|
|
6370
6487
|
className
|
|
6371
6488
|
}) {
|
|
6372
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className:
|
|
6489
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className: cn55("flex flex-col", className), children: [
|
|
6373
6490
|
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 }) }),
|
|
6374
6491
|
/* @__PURE__ */ jsxs("div", { className: "space-y-3 p-4", children: [
|
|
6375
6492
|
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)) }),
|
|
@@ -6392,7 +6509,7 @@ function MessageListMobile({
|
|
|
6392
6509
|
{
|
|
6393
6510
|
type: "button",
|
|
6394
6511
|
onClick: onLoadMore,
|
|
6395
|
-
className:
|
|
6512
|
+
className: cn55(
|
|
6396
6513
|
"w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6397
6514
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6398
6515
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6407,7 +6524,7 @@ function MosaicMessageList(props) {
|
|
|
6407
6524
|
return isMobile ? /* @__PURE__ */ jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsx(MessageListDesktop, { ...props });
|
|
6408
6525
|
}
|
|
6409
6526
|
MosaicMessageList.displayName = "MosaicMessageList";
|
|
6410
|
-
function
|
|
6527
|
+
function cn56(...classes) {
|
|
6411
6528
|
return classes.filter(Boolean).join(" ");
|
|
6412
6529
|
}
|
|
6413
6530
|
function ChevronLeftIcon2() {
|
|
@@ -6483,7 +6600,7 @@ function MosaicFilterSidebar({
|
|
|
6483
6600
|
{
|
|
6484
6601
|
"data-slot": "filter-sidebar",
|
|
6485
6602
|
style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
|
|
6486
|
-
className:
|
|
6603
|
+
className: cn56(
|
|
6487
6604
|
"relative flex flex-col border-r border-border bg-card",
|
|
6488
6605
|
"transition-[width] duration-200 ease-in-out",
|
|
6489
6606
|
"overflow-hidden",
|
|
@@ -6495,7 +6612,7 @@ function MosaicFilterSidebar({
|
|
|
6495
6612
|
{
|
|
6496
6613
|
type: "button",
|
|
6497
6614
|
onClick: onToggleCollapse,
|
|
6498
|
-
className:
|
|
6615
|
+
className: cn56(
|
|
6499
6616
|
"absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
|
|
6500
6617
|
"border border-border bg-background shadow-sm",
|
|
6501
6618
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6525,7 +6642,7 @@ function MosaicFilterSidebar({
|
|
|
6525
6642
|
{
|
|
6526
6643
|
type: "button",
|
|
6527
6644
|
onClick: () => onFilterChange(f.id),
|
|
6528
|
-
className:
|
|
6645
|
+
className: cn56(
|
|
6529
6646
|
"flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
|
|
6530
6647
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6531
6648
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6545,7 +6662,7 @@ function MosaicFilterSidebar({
|
|
|
6545
6662
|
{
|
|
6546
6663
|
type: "button",
|
|
6547
6664
|
onClick: () => onCategoryChange(cat.id),
|
|
6548
|
-
className:
|
|
6665
|
+
className: cn56(
|
|
6549
6666
|
"flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
|
|
6550
6667
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6551
6668
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6565,7 +6682,7 @@ function MosaicFilterSidebar({
|
|
|
6565
6682
|
);
|
|
6566
6683
|
}
|
|
6567
6684
|
MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
|
|
6568
|
-
function
|
|
6685
|
+
function cn57(...classes) {
|
|
6569
6686
|
return classes.filter(Boolean).join(" ");
|
|
6570
6687
|
}
|
|
6571
6688
|
function SearchIcon3() {
|
|
@@ -6680,7 +6797,7 @@ function AgentListDesktop({
|
|
|
6680
6797
|
value: query,
|
|
6681
6798
|
onChange: (e) => setQuery(e.target.value),
|
|
6682
6799
|
placeholder: searchPlaceholder,
|
|
6683
|
-
className:
|
|
6800
|
+
className: cn57(
|
|
6684
6801
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6685
6802
|
"text-sm placeholder:text-muted-foreground",
|
|
6686
6803
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6693,7 +6810,7 @@ function AgentListDesktop({
|
|
|
6693
6810
|
{
|
|
6694
6811
|
type: "button",
|
|
6695
6812
|
onClick: onCreateAgent,
|
|
6696
|
-
className:
|
|
6813
|
+
className: cn57(
|
|
6697
6814
|
"inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
6698
6815
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6699
6816
|
),
|
|
@@ -6752,7 +6869,7 @@ function AgentListMobile({
|
|
|
6752
6869
|
{
|
|
6753
6870
|
type: "button",
|
|
6754
6871
|
onClick: () => setFilterOpen(true),
|
|
6755
|
-
className:
|
|
6872
|
+
className: cn57(
|
|
6756
6873
|
"inline-flex h-9 w-9 items-center justify-center rounded-md",
|
|
6757
6874
|
"border border-border bg-background text-foreground",
|
|
6758
6875
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6767,7 +6884,7 @@ function AgentListMobile({
|
|
|
6767
6884
|
{
|
|
6768
6885
|
type: "button",
|
|
6769
6886
|
onClick: onCreateAgent,
|
|
6770
|
-
className:
|
|
6887
|
+
className: cn57(
|
|
6771
6888
|
"inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
|
|
6772
6889
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6773
6890
|
),
|
|
@@ -6788,7 +6905,7 @@ function AgentListMobile({
|
|
|
6788
6905
|
value: query,
|
|
6789
6906
|
onChange: (e) => setQuery(e.target.value),
|
|
6790
6907
|
placeholder: searchPlaceholder,
|
|
6791
|
-
className:
|
|
6908
|
+
className: cn57(
|
|
6792
6909
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6793
6910
|
"text-sm placeholder:text-muted-foreground",
|
|
6794
6911
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6836,7 +6953,7 @@ function MosaicAgentList(props) {
|
|
|
6836
6953
|
return isMobile ? /* @__PURE__ */ jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsx(AgentListDesktop, { ...props });
|
|
6837
6954
|
}
|
|
6838
6955
|
MosaicAgentList.displayName = "MosaicAgentList";
|
|
6839
|
-
function
|
|
6956
|
+
function cn58(...classes) {
|
|
6840
6957
|
return classes.filter(Boolean).join(" ");
|
|
6841
6958
|
}
|
|
6842
6959
|
function StarIcon({ filled }) {
|
|
@@ -6932,7 +7049,7 @@ function MarketplaceCard({
|
|
|
6932
7049
|
"div",
|
|
6933
7050
|
{
|
|
6934
7051
|
"data-slot": "marketplace-card",
|
|
6935
|
-
className:
|
|
7052
|
+
className: cn58(
|
|
6936
7053
|
"rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
|
|
6937
7054
|
compact ? "flex items-center gap-3" : "flex flex-col gap-3"
|
|
6938
7055
|
),
|
|
@@ -6940,7 +7057,7 @@ function MarketplaceCard({
|
|
|
6940
7057
|
item.icon && /* @__PURE__ */ jsx(
|
|
6941
7058
|
"div",
|
|
6942
7059
|
{
|
|
6943
|
-
className:
|
|
7060
|
+
className: cn58(
|
|
6944
7061
|
"flex shrink-0 items-center justify-center rounded-lg",
|
|
6945
7062
|
compact ? "h-10 w-10" : "h-12 w-12",
|
|
6946
7063
|
item.accentClass ?? "bg-muted text-muted-foreground"
|
|
@@ -6951,7 +7068,7 @@ function MarketplaceCard({
|
|
|
6951
7068
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
6952
7069
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
6953
7070
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
6954
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
7071
|
+
/* @__PURE__ */ jsx("p", { className: cn58("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
|
|
6955
7072
|
item.description && !compact && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
|
|
6956
7073
|
] }),
|
|
6957
7074
|
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 })
|
|
@@ -6968,13 +7085,13 @@ function MarketplaceCard({
|
|
|
6968
7085
|
] })
|
|
6969
7086
|
] })
|
|
6970
7087
|
] }),
|
|
6971
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7088
|
+
/* @__PURE__ */ jsxs("div", { className: cn58("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
|
|
6972
7089
|
onPreview && /* @__PURE__ */ jsx(
|
|
6973
7090
|
"button",
|
|
6974
7091
|
{
|
|
6975
7092
|
type: "button",
|
|
6976
7093
|
onClick: () => onPreview(item.id),
|
|
6977
|
-
className:
|
|
7094
|
+
className: cn58(
|
|
6978
7095
|
"inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
|
|
6979
7096
|
"bg-background px-3 text-xs font-medium text-foreground",
|
|
6980
7097
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6988,7 +7105,7 @@ function MarketplaceCard({
|
|
|
6988
7105
|
{
|
|
6989
7106
|
type: "button",
|
|
6990
7107
|
onClick: () => onUninstall(item.id),
|
|
6991
|
-
className:
|
|
7108
|
+
className: cn58(
|
|
6992
7109
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
6993
7110
|
"bg-secondary px-3 text-xs font-medium text-secondary-foreground",
|
|
6994
7111
|
"hover:bg-secondary/80",
|
|
@@ -7001,7 +7118,7 @@ function MarketplaceCard({
|
|
|
7001
7118
|
{
|
|
7002
7119
|
type: "button",
|
|
7003
7120
|
onClick: () => onInstall(item.id),
|
|
7004
|
-
className:
|
|
7121
|
+
className: cn58(
|
|
7005
7122
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
7006
7123
|
"bg-primary px-3 text-xs font-medium text-primary-foreground",
|
|
7007
7124
|
"hover:bg-primary/90",
|
|
@@ -7063,7 +7180,7 @@ function MarketplaceListDesktop(props) {
|
|
|
7063
7180
|
value: query,
|
|
7064
7181
|
onChange: (e) => setQuery(e.target.value),
|
|
7065
7182
|
placeholder: searchPlaceholder,
|
|
7066
|
-
className:
|
|
7183
|
+
className: cn58(
|
|
7067
7184
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7068
7185
|
"text-sm placeholder:text-muted-foreground",
|
|
7069
7186
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7136,7 +7253,7 @@ function MarketplaceListMobile(props) {
|
|
|
7136
7253
|
value: query,
|
|
7137
7254
|
onChange: (e) => setQuery(e.target.value),
|
|
7138
7255
|
placeholder: searchPlaceholder,
|
|
7139
|
-
className:
|
|
7256
|
+
className: cn58(
|
|
7140
7257
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7141
7258
|
"text-sm placeholder:text-muted-foreground",
|
|
7142
7259
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7187,7 +7304,7 @@ function MosaicMarketplaceList(props) {
|
|
|
7187
7304
|
return isMobile ? /* @__PURE__ */ jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsx(MarketplaceListDesktop, { ...props });
|
|
7188
7305
|
}
|
|
7189
7306
|
MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
|
|
7190
|
-
function
|
|
7307
|
+
function cn59(...classes) {
|
|
7191
7308
|
return classes.filter(Boolean).join(" ");
|
|
7192
7309
|
}
|
|
7193
7310
|
function StarIcon2() {
|
|
@@ -7306,7 +7423,7 @@ function MosaicTemplateCard({
|
|
|
7306
7423
|
type: "button",
|
|
7307
7424
|
onClick: () => onSelect(template),
|
|
7308
7425
|
"data-slot": "template-card",
|
|
7309
|
-
className:
|
|
7426
|
+
className: cn59(
|
|
7310
7427
|
"w-full text-left rounded-lg border transition-all duration-200",
|
|
7311
7428
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
7312
7429
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
|
|
@@ -7406,7 +7523,7 @@ function MosaicTemplatePreview({
|
|
|
7406
7523
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7407
7524
|
"span",
|
|
7408
7525
|
{
|
|
7409
|
-
className:
|
|
7526
|
+
className: cn59("h-2 w-2 rounded-full", agent.accentColor),
|
|
7410
7527
|
"aria-hidden": "true"
|
|
7411
7528
|
}
|
|
7412
7529
|
),
|
|
@@ -7466,7 +7583,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
|
|
|
7466
7583
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7467
7584
|
"span",
|
|
7468
7585
|
{
|
|
7469
|
-
className:
|
|
7586
|
+
className: cn59("h-2.5 w-2.5 rounded-full", agent.accentColor),
|
|
7470
7587
|
"aria-hidden": "true"
|
|
7471
7588
|
}
|
|
7472
7589
|
),
|
|
@@ -7490,7 +7607,7 @@ function MosaicQuickStartPanel({
|
|
|
7490
7607
|
scratchLabel = "Start from Scratch",
|
|
7491
7608
|
className
|
|
7492
7609
|
}) {
|
|
7493
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className:
|
|
7610
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn59("flex flex-col gap-6", className), children: [
|
|
7494
7611
|
scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
7495
7612
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
|
|
7496
7613
|
/* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxs(
|
|
@@ -7498,7 +7615,7 @@ function MosaicQuickStartPanel({
|
|
|
7498
7615
|
{
|
|
7499
7616
|
type: "button",
|
|
7500
7617
|
onClick: () => onSelectScenario(scenario),
|
|
7501
|
-
className:
|
|
7618
|
+
className: cn59(
|
|
7502
7619
|
"flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
|
|
7503
7620
|
"hover:border-primary/50 hover:bg-primary/5",
|
|
7504
7621
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7530,7 +7647,7 @@ function MosaicQuickStartPanel({
|
|
|
7530
7647
|
{
|
|
7531
7648
|
type: "button",
|
|
7532
7649
|
onClick: () => onSelectPreset(preset),
|
|
7533
|
-
className:
|
|
7650
|
+
className: cn59(
|
|
7534
7651
|
"flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
|
|
7535
7652
|
"hover:border-primary/50",
|
|
7536
7653
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7544,7 +7661,7 @@ function MosaicQuickStartPanel({
|
|
|
7544
7661
|
a.accentColor && /* @__PURE__ */ jsx(
|
|
7545
7662
|
"span",
|
|
7546
7663
|
{
|
|
7547
|
-
className:
|
|
7664
|
+
className: cn59("h-2 w-2 rounded-full", a.accentColor),
|
|
7548
7665
|
"aria-hidden": "true"
|
|
7549
7666
|
}
|
|
7550
7667
|
),
|
|
@@ -7562,7 +7679,7 @@ function MosaicQuickStartPanel({
|
|
|
7562
7679
|
{
|
|
7563
7680
|
type: "button",
|
|
7564
7681
|
onClick: onStartFromScratch,
|
|
7565
|
-
className:
|
|
7682
|
+
className: cn59(
|
|
7566
7683
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
7567
7684
|
"bg-background px-4 text-sm font-medium text-foreground",
|
|
7568
7685
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -7642,7 +7759,7 @@ function TemplateGalleryContent({
|
|
|
7642
7759
|
value: query,
|
|
7643
7760
|
onChange: (e) => setQuery(e.target.value),
|
|
7644
7761
|
placeholder: searchPlaceholder,
|
|
7645
|
-
className:
|
|
7762
|
+
className: cn59(
|
|
7646
7763
|
"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"
|
|
7647
7764
|
)
|
|
7648
7765
|
}
|
|
@@ -7690,7 +7807,7 @@ function TemplateGalleryContent({
|
|
|
7690
7807
|
value: query,
|
|
7691
7808
|
onChange: (e) => setQuery(e.target.value),
|
|
7692
7809
|
placeholder: searchPlaceholder,
|
|
7693
|
-
className:
|
|
7810
|
+
className: cn59(
|
|
7694
7811
|
"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"
|
|
7695
7812
|
)
|
|
7696
7813
|
}
|
|
@@ -7720,7 +7837,7 @@ function MosaicTemplateGallery(props) {
|
|
|
7720
7837
|
return /* @__PURE__ */ jsx(TemplateGalleryContent, { ...props, isMobile });
|
|
7721
7838
|
}
|
|
7722
7839
|
MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
|
|
7723
|
-
function
|
|
7840
|
+
function cn60(...classes) {
|
|
7724
7841
|
return classes.filter(Boolean).join(" ");
|
|
7725
7842
|
}
|
|
7726
7843
|
function PlusIcon5() {
|
|
@@ -7864,7 +7981,7 @@ function MosaicModuleForm({
|
|
|
7864
7981
|
onChange: (e) => update("name", e.target.value),
|
|
7865
7982
|
placeholder: "Module name\u2026",
|
|
7866
7983
|
required: true,
|
|
7867
|
-
className:
|
|
7984
|
+
className: cn60(
|
|
7868
7985
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7869
7986
|
"text-sm placeholder:text-muted-foreground",
|
|
7870
7987
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7882,7 +7999,7 @@ function MosaicModuleForm({
|
|
|
7882
7999
|
onChange: (e) => update("description", e.target.value),
|
|
7883
8000
|
placeholder: "Describe this module\u2026",
|
|
7884
8001
|
rows: 3,
|
|
7885
|
-
className:
|
|
8002
|
+
className: cn60(
|
|
7886
8003
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7887
8004
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7888
8005
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7904,7 +8021,7 @@ function MosaicModuleForm({
|
|
|
7904
8021
|
value: formData[field.id] ?? "",
|
|
7905
8022
|
onChange: (e) => update(field.id, e.target.value),
|
|
7906
8023
|
placeholder: field.placeholder,
|
|
7907
|
-
className:
|
|
8024
|
+
className: cn60(
|
|
7908
8025
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7909
8026
|
"text-sm placeholder:text-muted-foreground",
|
|
7910
8027
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7919,7 +8036,7 @@ function MosaicModuleForm({
|
|
|
7919
8036
|
onChange: (e) => update(field.id, e.target.value),
|
|
7920
8037
|
placeholder: field.placeholder,
|
|
7921
8038
|
rows: 3,
|
|
7922
|
-
className:
|
|
8039
|
+
className: cn60(
|
|
7923
8040
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7924
8041
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7925
8042
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7935,7 +8052,7 @@ function MosaicModuleForm({
|
|
|
7935
8052
|
onChange: (e) => update(field.id, e.target.value),
|
|
7936
8053
|
placeholder: field.placeholder ?? "\u{1F9E0}",
|
|
7937
8054
|
maxLength: 4,
|
|
7938
|
-
className:
|
|
8055
|
+
className: cn60(
|
|
7939
8056
|
"w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
|
|
7940
8057
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7941
8058
|
)
|
|
@@ -7956,7 +8073,7 @@ function MosaicModuleForm({
|
|
|
7956
8073
|
}
|
|
7957
8074
|
},
|
|
7958
8075
|
placeholder: field.placeholder ?? "Add item\u2026",
|
|
7959
|
-
className:
|
|
8076
|
+
className: cn60(
|
|
7960
8077
|
"flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
|
|
7961
8078
|
"text-sm placeholder:text-muted-foreground",
|
|
7962
8079
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8152,7 +8269,7 @@ function LibraryContent({
|
|
|
8152
8269
|
{
|
|
8153
8270
|
type: "button",
|
|
8154
8271
|
onClick: openCreate,
|
|
8155
|
-
className:
|
|
8272
|
+
className: cn60(
|
|
8156
8273
|
"inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
|
|
8157
8274
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8158
8275
|
),
|
|
@@ -8172,7 +8289,7 @@ function LibraryContent({
|
|
|
8172
8289
|
value: query,
|
|
8173
8290
|
onChange: (e) => setQuery(e.target.value),
|
|
8174
8291
|
placeholder: searchPlaceholder,
|
|
8175
|
-
className:
|
|
8292
|
+
className: cn60(
|
|
8176
8293
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8177
8294
|
"text-sm placeholder:text-muted-foreground",
|
|
8178
8295
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8185,7 +8302,7 @@ function LibraryContent({
|
|
|
8185
8302
|
{
|
|
8186
8303
|
type: "button",
|
|
8187
8304
|
onClick: () => setActiveTab(tab.id),
|
|
8188
|
-
className:
|
|
8305
|
+
className: cn60(
|
|
8189
8306
|
"rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8190
8307
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
8191
8308
|
),
|
|
@@ -8219,7 +8336,7 @@ function MosaicModuleLibrary(props) {
|
|
|
8219
8336
|
return /* @__PURE__ */ jsx(LibraryContent, { ...props });
|
|
8220
8337
|
}
|
|
8221
8338
|
MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
|
|
8222
|
-
function
|
|
8339
|
+
function cn61(...classes) {
|
|
8223
8340
|
return classes.filter(Boolean).join(" ");
|
|
8224
8341
|
}
|
|
8225
8342
|
var roleConfig = {
|
|
@@ -8246,7 +8363,7 @@ function MosaicOrgRoleBadge({ role, className }) {
|
|
|
8246
8363
|
{
|
|
8247
8364
|
"data-slot": "org-role-badge",
|
|
8248
8365
|
title: config.description,
|
|
8249
|
-
className:
|
|
8366
|
+
className: cn61(
|
|
8250
8367
|
"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
|
|
8251
8368
|
config.className,
|
|
8252
8369
|
className
|
|
@@ -8263,13 +8380,13 @@ function MosaicMultiOrgIndicator({
|
|
|
8263
8380
|
className
|
|
8264
8381
|
}) {
|
|
8265
8382
|
if (orgCount <= 1) return null;
|
|
8266
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className:
|
|
8383
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn61("flex items-center gap-2", className), children: [
|
|
8267
8384
|
onSwitchOrg ? /* @__PURE__ */ jsxs(
|
|
8268
8385
|
"button",
|
|
8269
8386
|
{
|
|
8270
8387
|
type: "button",
|
|
8271
8388
|
onClick: onSwitchOrg,
|
|
8272
|
-
className:
|
|
8389
|
+
className: cn61(
|
|
8273
8390
|
"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
|
|
8274
8391
|
"hover:bg-secondary/80",
|
|
8275
8392
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8367,7 +8484,7 @@ function MosaicCreateOrgDialog({
|
|
|
8367
8484
|
onChange: (e) => setName(e.target.value),
|
|
8368
8485
|
placeholder: "Acme Inc.",
|
|
8369
8486
|
required: true,
|
|
8370
|
-
className:
|
|
8487
|
+
className: cn61(
|
|
8371
8488
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8372
8489
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8373
8490
|
errors.name ? "border-destructive" : "border-input"
|
|
@@ -8387,7 +8504,7 @@ function MosaicCreateOrgDialog({
|
|
|
8387
8504
|
onChange: (e) => setSlug(e.target.value),
|
|
8388
8505
|
placeholder: "acme-inc",
|
|
8389
8506
|
required: true,
|
|
8390
|
-
className:
|
|
8507
|
+
className: cn61(
|
|
8391
8508
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8392
8509
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8393
8510
|
errors.slug ? "border-destructive" : "border-input"
|
|
@@ -8484,7 +8601,7 @@ function MosaicInviteMemberDialog({
|
|
|
8484
8601
|
onChange: (e) => setEmail(e.target.value),
|
|
8485
8602
|
placeholder: "colleague@example.com",
|
|
8486
8603
|
required: true,
|
|
8487
|
-
className:
|
|
8604
|
+
className: cn61(
|
|
8488
8605
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8489
8606
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8490
8607
|
errors.email ? "border-destructive" : "border-input"
|
|
@@ -8661,7 +8778,7 @@ function MosaicMemberList({
|
|
|
8661
8778
|
const filtered = members.filter(
|
|
8662
8779
|
(m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
|
|
8663
8780
|
);
|
|
8664
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className:
|
|
8781
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn61("flex flex-col gap-4", className), children: [
|
|
8665
8782
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
8666
8783
|
/* @__PURE__ */ jsxs("div", { className: "relative flex-1", children: [
|
|
8667
8784
|
/* @__PURE__ */ jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxs(
|
|
@@ -8754,7 +8871,7 @@ function MosaicOrgPanel({
|
|
|
8754
8871
|
const { isMobile } = useDevice();
|
|
8755
8872
|
const [activeTab, setActiveTab] = React27.useState(defaultTab ?? tabs[0]?.id ?? "");
|
|
8756
8873
|
const activeContent = tabs.find((t) => t.id === activeTab)?.content;
|
|
8757
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className:
|
|
8874
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn61("flex h-full flex-col", className), children: [
|
|
8758
8875
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
|
|
8759
8876
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
8760
8877
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -8776,12 +8893,12 @@ function MosaicOrgPanel({
|
|
|
8776
8893
|
] }),
|
|
8777
8894
|
headerActions
|
|
8778
8895
|
] }),
|
|
8779
|
-
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
8896
|
+
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn61("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
|
|
8780
8897
|
"button",
|
|
8781
8898
|
{
|
|
8782
8899
|
type: "button",
|
|
8783
8900
|
onClick: () => setActiveTab(tab.id),
|
|
8784
|
-
className:
|
|
8901
|
+
className: cn61(
|
|
8785
8902
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8786
8903
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8787
8904
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
@@ -8795,7 +8912,7 @@ function MosaicOrgPanel({
|
|
|
8795
8912
|
] });
|
|
8796
8913
|
}
|
|
8797
8914
|
MosaicOrgPanel.displayName = "MosaicOrgPanel";
|
|
8798
|
-
function
|
|
8915
|
+
function cn62(...classes) {
|
|
8799
8916
|
return classes.filter(Boolean).join(" ");
|
|
8800
8917
|
}
|
|
8801
8918
|
var ANIM_ID8 = "mosaic-dashboard-content-kf";
|
|
@@ -8832,7 +8949,7 @@ function MosaicDashboardContent({
|
|
|
8832
8949
|
"div",
|
|
8833
8950
|
{
|
|
8834
8951
|
"data-slot": "dashboard-content",
|
|
8835
|
-
className:
|
|
8952
|
+
className: cn62("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
|
|
8836
8953
|
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: [
|
|
8837
8954
|
"View not found: ",
|
|
8838
8955
|
currentView
|
|
@@ -8841,7 +8958,7 @@ function MosaicDashboardContent({
|
|
|
8841
8958
|
);
|
|
8842
8959
|
}
|
|
8843
8960
|
MosaicDashboardContent.displayName = "MosaicDashboardContent";
|
|
8844
|
-
function
|
|
8961
|
+
function cn63(...classes) {
|
|
8845
8962
|
return classes.filter(Boolean).join(" ");
|
|
8846
8963
|
}
|
|
8847
8964
|
var ANIM_ID9 = "mosaic-dashboard-header2-kf";
|
|
@@ -8951,16 +9068,16 @@ function MosaicDashboardHeader({
|
|
|
8951
9068
|
"header",
|
|
8952
9069
|
{
|
|
8953
9070
|
"data-slot": "dashboard-header",
|
|
8954
|
-
className:
|
|
9071
|
+
className: cn63(
|
|
8955
9072
|
"mosaic-dashboard-header2",
|
|
8956
9073
|
"sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
|
|
8957
9074
|
className
|
|
8958
9075
|
),
|
|
8959
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
9076
|
+
children: /* @__PURE__ */ jsx("div", { className: cn63(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: [
|
|
8960
9077
|
/* @__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: [
|
|
8961
9078
|
logoSlot ?? /* @__PURE__ */ jsx(SparklesIcon4, {}),
|
|
8962
9079
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
8963
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
9080
|
+
/* @__PURE__ */ jsx("h1", { className: cn63("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
|
|
8964
9081
|
subtitle && !isMobile && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
|
|
8965
9082
|
] })
|
|
8966
9083
|
] }) }),
|
|
@@ -8973,7 +9090,7 @@ function MosaicDashboardHeader({
|
|
|
8973
9090
|
value: searchQuery,
|
|
8974
9091
|
onChange: handleSearch,
|
|
8975
9092
|
placeholder: "Search\u2026",
|
|
8976
|
-
className:
|
|
9093
|
+
className: cn63(
|
|
8977
9094
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8978
9095
|
"text-sm placeholder:text-muted-foreground",
|
|
8979
9096
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9013,7 +9130,7 @@ function MosaicDashboardHeader({
|
|
|
9013
9130
|
);
|
|
9014
9131
|
}
|
|
9015
9132
|
MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
|
|
9016
|
-
function
|
|
9133
|
+
function cn64(...classes) {
|
|
9017
9134
|
return classes.filter(Boolean).join(" ");
|
|
9018
9135
|
}
|
|
9019
9136
|
function ChevronDownIcon4() {
|
|
@@ -9094,13 +9211,13 @@ function MosaicOrgSwitcher({
|
|
|
9094
9211
|
}, [open]);
|
|
9095
9212
|
if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
|
|
9096
9213
|
const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
|
|
9097
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className:
|
|
9214
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn64("relative", className), children: [
|
|
9098
9215
|
/* @__PURE__ */ jsxs(
|
|
9099
9216
|
"button",
|
|
9100
9217
|
{
|
|
9101
9218
|
type: "button",
|
|
9102
9219
|
onClick: () => setOpen((v) => !v),
|
|
9103
|
-
className:
|
|
9220
|
+
className: cn64(
|
|
9104
9221
|
"inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
|
|
9105
9222
|
"text-sm font-medium text-foreground",
|
|
9106
9223
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9127,7 +9244,7 @@ function MosaicOrgSwitcher({
|
|
|
9127
9244
|
{
|
|
9128
9245
|
role: "menu",
|
|
9129
9246
|
"aria-label": "Select organization",
|
|
9130
|
-
className:
|
|
9247
|
+
className: cn64(
|
|
9131
9248
|
"absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
|
|
9132
9249
|
"bg-popover py-1 shadow-md"
|
|
9133
9250
|
),
|
|
@@ -9142,7 +9259,7 @@ function MosaicOrgSwitcher({
|
|
|
9142
9259
|
onSelectOrg?.(org.id);
|
|
9143
9260
|
setOpen(false);
|
|
9144
9261
|
},
|
|
9145
|
-
className:
|
|
9262
|
+
className: cn64(
|
|
9146
9263
|
"flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
|
|
9147
9264
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9148
9265
|
org.id === currentOrgId && "bg-primary/10 text-primary"
|
|
@@ -9179,7 +9296,7 @@ function MosaicOrgSwitcher({
|
|
|
9179
9296
|
] });
|
|
9180
9297
|
}
|
|
9181
9298
|
MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
|
|
9182
|
-
function
|
|
9299
|
+
function cn65(...classes) {
|
|
9183
9300
|
return classes.filter(Boolean).join(" ");
|
|
9184
9301
|
}
|
|
9185
9302
|
function PlusIcon7() {
|
|
@@ -9223,19 +9340,19 @@ function MosaicQuickActionsMenu({
|
|
|
9223
9340
|
document.addEventListener("mousedown", h);
|
|
9224
9341
|
return () => document.removeEventListener("mousedown", h);
|
|
9225
9342
|
}, [open]);
|
|
9226
|
-
const itemClass =
|
|
9343
|
+
const itemClass = cn65(
|
|
9227
9344
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
9228
9345
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9229
9346
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
9230
9347
|
"min-h-[44px]"
|
|
9231
9348
|
);
|
|
9232
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className:
|
|
9349
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn65("relative", className), children: [
|
|
9233
9350
|
/* @__PURE__ */ jsxs(
|
|
9234
9351
|
"button",
|
|
9235
9352
|
{
|
|
9236
9353
|
type: "button",
|
|
9237
9354
|
onClick: () => setOpen((v) => !v),
|
|
9238
|
-
className:
|
|
9355
|
+
className: cn65(
|
|
9239
9356
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
9240
9357
|
"min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
|
|
9241
9358
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9246,7 +9363,7 @@ function MosaicQuickActionsMenu({
|
|
|
9246
9363
|
"aria-label": label,
|
|
9247
9364
|
children: [
|
|
9248
9365
|
triggerIcon ?? /* @__PURE__ */ jsx(PlusIcon7, {}),
|
|
9249
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9366
|
+
/* @__PURE__ */ jsx("span", { className: cn65("hidden md:inline"), children: label })
|
|
9250
9367
|
]
|
|
9251
9368
|
}
|
|
9252
9369
|
),
|
|
@@ -9255,13 +9372,13 @@ function MosaicQuickActionsMenu({
|
|
|
9255
9372
|
{
|
|
9256
9373
|
role: "menu",
|
|
9257
9374
|
"aria-label": menuTitle,
|
|
9258
|
-
className:
|
|
9375
|
+
className: cn65(
|
|
9259
9376
|
"absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
|
|
9260
9377
|
isMobile ? "w-[min(90vw,280px)]" : "w-56"
|
|
9261
9378
|
),
|
|
9262
9379
|
children: [
|
|
9263
9380
|
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 }) }),
|
|
9264
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9381
|
+
/* @__PURE__ */ jsx("div", { className: cn65(menuTitle && "border-t border-border") }),
|
|
9265
9382
|
actions.map((action) => /* @__PURE__ */ jsxs(React27.Fragment, { children: [
|
|
9266
9383
|
action.separator && /* @__PURE__ */ jsx("div", { className: "my-1 border-t border-border" }),
|
|
9267
9384
|
action.href && renderLink ? renderLink(
|
|
@@ -9687,6 +9804,6 @@ async function MosaicClerkWebhookHandler(req, options) {
|
|
|
9687
9804
|
return new Response("OK", { status: 200 });
|
|
9688
9805
|
}
|
|
9689
9806
|
|
|
9690
|
-
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, 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 };
|
|
9807
|
+
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, MosaicFilterBar, 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 };
|
|
9691
9808
|
//# sourceMappingURL=index.js.map
|
|
9692
9809
|
//# sourceMappingURL=index.js.map
|