@vantageos/mosaic-blocks 0.3.2-alpha → 0.3.3-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +343 -280
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -3
- package/dist/index.d.ts +59 -3
- package/dist/index.js +342 -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.3-alpha";
|
|
31
31
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
32
32
|
return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
33
33
|
}
|
|
@@ -84,9 +84,70 @@ function MosaicButton({ className, variant, size, ref, ...props }) {
|
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
86
|
MosaicButton.displayName = "MosaicButton";
|
|
87
|
+
var skeletonVariants = cva(
|
|
88
|
+
// Base: animate-pulse + muted background token
|
|
89
|
+
["animate-pulse", "bg-muted"],
|
|
90
|
+
{
|
|
91
|
+
variants: {
|
|
92
|
+
variant: {
|
|
93
|
+
/** Rounded block — generic rectangular placeholder (cards, images, sections) */
|
|
94
|
+
default: "rounded-md",
|
|
95
|
+
/** Text line — h-4 rounded, for single/multi-line text placeholders */
|
|
96
|
+
text: "h-4 rounded",
|
|
97
|
+
/** Circle — rounded-full aspect-square, for avatars and icons */
|
|
98
|
+
circle: "rounded-full aspect-square",
|
|
99
|
+
/** Button-shaped — h-9 rounded-md, mirrors MosaicButton default size */
|
|
100
|
+
button: "h-9 rounded-md"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
defaultVariants: {
|
|
104
|
+
variant: "default"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
);
|
|
87
108
|
function cn2(...classes) {
|
|
88
109
|
return classes.filter(Boolean).join(" ");
|
|
89
110
|
}
|
|
111
|
+
function MosaicSkeleton({
|
|
112
|
+
className,
|
|
113
|
+
variant,
|
|
114
|
+
lines = 1,
|
|
115
|
+
ref,
|
|
116
|
+
...props
|
|
117
|
+
}) {
|
|
118
|
+
if (variant === "text" && lines > 1) {
|
|
119
|
+
const lineKeys = Array.from({ length: lines }, (_, i) => `line-${lines}-${i}`);
|
|
120
|
+
return /* @__PURE__ */ jsx(
|
|
121
|
+
"div",
|
|
122
|
+
{
|
|
123
|
+
ref,
|
|
124
|
+
"data-slot": "skeleton",
|
|
125
|
+
className: cn2("flex flex-col gap-2", className),
|
|
126
|
+
...props,
|
|
127
|
+
children: lineKeys.map((key, i) => /* @__PURE__ */ jsx(
|
|
128
|
+
"div",
|
|
129
|
+
{
|
|
130
|
+
className: cn2(skeletonVariants({ variant }), i === lines - 1 && "w-[60%]")
|
|
131
|
+
},
|
|
132
|
+
key
|
|
133
|
+
))
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
return /* @__PURE__ */ jsx(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
ref,
|
|
141
|
+
"data-slot": "skeleton",
|
|
142
|
+
className: cn2(skeletonVariants({ variant }), className),
|
|
143
|
+
...props
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
MosaicSkeleton.displayName = "MosaicSkeleton";
|
|
148
|
+
function cn3(...classes) {
|
|
149
|
+
return classes.filter(Boolean).join(" ");
|
|
150
|
+
}
|
|
90
151
|
function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
91
152
|
const [isScrolled, setIsScrolled] = React27.useState(false);
|
|
92
153
|
const [isHidden, setIsHidden] = React27.useState(false);
|
|
@@ -118,7 +179,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
118
179
|
{
|
|
119
180
|
ref,
|
|
120
181
|
"aria-label": "Main navigation",
|
|
121
|
-
className:
|
|
182
|
+
className: cn3(
|
|
122
183
|
"fixed left-0 right-0 top-0 z-50 px-4 pt-4 mx-auto w-full max-w-6xl transition-all duration-300 ease-out",
|
|
123
184
|
isHidden ? "opacity-0 -translate-y-5 pointer-events-none" : "opacity-100 translate-y-0",
|
|
124
185
|
className
|
|
@@ -126,7 +187,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
126
187
|
children: /* @__PURE__ */ jsxs(
|
|
127
188
|
"div",
|
|
128
189
|
{
|
|
129
|
-
className:
|
|
190
|
+
className: cn3(
|
|
130
191
|
"relative mx-auto transition-transform duration-200",
|
|
131
192
|
isScrolled ? "scale-[0.98]" : "scale-100"
|
|
132
193
|
),
|
|
@@ -134,7 +195,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
134
195
|
/* @__PURE__ */ jsxs(
|
|
135
196
|
"div",
|
|
136
197
|
{
|
|
137
|
-
className:
|
|
198
|
+
className: cn3(
|
|
138
199
|
"flex flex-row items-center justify-between gap-4 rounded-full border border-[oklch(0.9_0.005_250)] p-2 transition-all duration-300",
|
|
139
200
|
isScrolled ? "bg-[oklch(1_0_0_/_0.8)] backdrop-blur-[12px] shadow-[0_4px_20px_-5px_oklch(0_0_0_/_0.1)]" : "bg-[oklch(1_0_0)]"
|
|
140
201
|
),
|
|
@@ -229,7 +290,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
|
|
|
229
290
|
);
|
|
230
291
|
}
|
|
231
292
|
MosaicNavbar.displayName = "MosaicNavbar";
|
|
232
|
-
function
|
|
293
|
+
function cn4(...classes) {
|
|
233
294
|
return classes.filter(Boolean).join(" ");
|
|
234
295
|
}
|
|
235
296
|
function MosaicHeroSplit({
|
|
@@ -246,7 +307,7 @@ function MosaicHeroSplit({
|
|
|
246
307
|
"section",
|
|
247
308
|
{
|
|
248
309
|
ref,
|
|
249
|
-
className:
|
|
310
|
+
className: cn4(
|
|
250
311
|
"flex flex-col gap-16 items-center justify-center py-8 lg:pt-16 px-4",
|
|
251
312
|
className
|
|
252
313
|
),
|
|
@@ -280,7 +341,7 @@ function MosaicHeroSplit({
|
|
|
280
341
|
);
|
|
281
342
|
}
|
|
282
343
|
MosaicHeroSplit.displayName = "MosaicHeroSplit";
|
|
283
|
-
function
|
|
344
|
+
function cn5(...classes) {
|
|
284
345
|
return classes.filter(Boolean).join(" ");
|
|
285
346
|
}
|
|
286
347
|
function MosaicFeatureCenteredMedia({
|
|
@@ -291,7 +352,7 @@ function MosaicFeatureCenteredMedia({
|
|
|
291
352
|
className,
|
|
292
353
|
ref
|
|
293
354
|
}) {
|
|
294
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
355
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn5("relative mx-auto w-full max-w-6xl px-4 py-16", className), children: [
|
|
295
356
|
/* @__PURE__ */ jsxs("div", { className: "mb-12 text-center lg:mb-16", children: [
|
|
296
357
|
/* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: title }),
|
|
297
358
|
/* @__PURE__ */ jsx("p", { className: "mt-4 text-sm text-[oklch(0.5_0.01_250)] sm:text-base max-w-xl mx-auto", children: body })
|
|
@@ -304,11 +365,11 @@ function MosaicFeatureCenteredMedia({
|
|
|
304
365
|
] });
|
|
305
366
|
}
|
|
306
367
|
MosaicFeatureCenteredMedia.displayName = "MosaicFeatureCenteredMedia";
|
|
307
|
-
function
|
|
368
|
+
function cn6(...classes) {
|
|
308
369
|
return classes.filter(Boolean).join(" ");
|
|
309
370
|
}
|
|
310
371
|
function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
|
|
311
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
372
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn6("w-full py-16", className), children: [
|
|
312
373
|
(heading ?? subtext) && /* @__PURE__ */ jsxs("div", { className: "mb-16 flex flex-col items-center gap-3 px-4 text-center", children: [
|
|
313
374
|
heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: heading }),
|
|
314
375
|
subtext && /* @__PURE__ */ jsx("p", { className: "max-w-md text-sm text-[oklch(0.5_0.01_250)] sm:text-base", children: subtext })
|
|
@@ -336,7 +397,7 @@ function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
|
|
|
336
397
|
] });
|
|
337
398
|
}
|
|
338
399
|
MosaicStatsGrid.displayName = "MosaicStatsGrid";
|
|
339
|
-
function
|
|
400
|
+
function cn7(...classes) {
|
|
340
401
|
return classes.filter(Boolean).join(" ");
|
|
341
402
|
}
|
|
342
403
|
function MosaicPricingCard({
|
|
@@ -352,7 +413,7 @@ function MosaicPricingCard({
|
|
|
352
413
|
"div",
|
|
353
414
|
{
|
|
354
415
|
ref,
|
|
355
|
-
className:
|
|
416
|
+
className: cn7(
|
|
356
417
|
"flex min-w-72 flex-col gap-6 rounded-2xl border p-8",
|
|
357
418
|
highlighted ? "border-[oklch(0.6_0.15_250_/_0.5)] bg-[oklch(0.97_0.02_250)]" : "border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)]",
|
|
358
419
|
className
|
|
@@ -361,7 +422,7 @@ function MosaicPricingCard({
|
|
|
361
422
|
/* @__PURE__ */ jsx(
|
|
362
423
|
"span",
|
|
363
424
|
{
|
|
364
|
-
className:
|
|
425
|
+
className: cn7(
|
|
365
426
|
"inline-flex w-fit items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold",
|
|
366
427
|
highlighted ? "border-transparent bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)]" : "border-[oklch(0.85_0.01_250)] bg-[oklch(1_0_0)] text-[oklch(0.2_0.01_250)]"
|
|
367
428
|
),
|
|
@@ -373,7 +434,7 @@ function MosaicPricingCard({
|
|
|
373
434
|
"a",
|
|
374
435
|
{
|
|
375
436
|
href: cta.href,
|
|
376
|
-
className:
|
|
437
|
+
className: cn7(
|
|
377
438
|
"inline-flex w-full items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-colors",
|
|
378
439
|
highlighted ? "bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)] hover:bg-[oklch(0.25_0.01_250)]" : "border border-[oklch(0.75_0.01_250)] bg-transparent text-[oklch(0.15_0.01_250)] hover:bg-[oklch(0.96_0.005_250)]"
|
|
379
440
|
),
|
|
@@ -405,7 +466,7 @@ function MosaicPricingCard({
|
|
|
405
466
|
);
|
|
406
467
|
}
|
|
407
468
|
MosaicPricingCard.displayName = "MosaicPricingCard";
|
|
408
|
-
function
|
|
469
|
+
function cn8(...classes) {
|
|
409
470
|
return classes.filter(Boolean).join(" ");
|
|
410
471
|
}
|
|
411
472
|
function prefersReducedMotion() {
|
|
@@ -420,7 +481,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
420
481
|
"section",
|
|
421
482
|
{
|
|
422
483
|
ref,
|
|
423
|
-
className:
|
|
484
|
+
className: cn8(
|
|
424
485
|
"flex flex-col items-center justify-center gap-8 px-4 py-12 mx-auto max-w-6xl",
|
|
425
486
|
className
|
|
426
487
|
),
|
|
@@ -431,7 +492,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
431
492
|
"div",
|
|
432
493
|
{
|
|
433
494
|
"data-slot": "logos-grid-item",
|
|
434
|
-
className:
|
|
495
|
+
className: cn8(
|
|
435
496
|
"transition-transform duration-200 hover:scale-110",
|
|
436
497
|
isStagger && !reducedMotion && "mosaic-logo-stagger"
|
|
437
498
|
),
|
|
@@ -459,7 +520,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
|
|
|
459
520
|
);
|
|
460
521
|
}
|
|
461
522
|
MosaicLogosGrid.displayName = "MosaicLogosGrid";
|
|
462
|
-
function
|
|
523
|
+
function cn9(...classes) {
|
|
463
524
|
return classes.filter(Boolean).join(" ");
|
|
464
525
|
}
|
|
465
526
|
function getInitials(name) {
|
|
@@ -469,7 +530,7 @@ function TestimonialCard({ item, featured = false }) {
|
|
|
469
530
|
return /* @__PURE__ */ jsxs(
|
|
470
531
|
"article",
|
|
471
532
|
{
|
|
472
|
-
className:
|
|
533
|
+
className: cn9(
|
|
473
534
|
"flex flex-col gap-4 rounded-xl border border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)] p-6",
|
|
474
535
|
featured && "h-full"
|
|
475
536
|
),
|
|
@@ -519,7 +580,7 @@ function MosaicTestimonialsGrid({
|
|
|
519
580
|
ref
|
|
520
581
|
}) {
|
|
521
582
|
const [featured, ...rest] = testimonials;
|
|
522
|
-
return /* @__PURE__ */ jsxs("section", { ref, className:
|
|
583
|
+
return /* @__PURE__ */ jsxs("section", { ref, className: cn9("px-4 py-16 mx-auto max-w-6xl", className), children: [
|
|
523
584
|
heading && /* @__PURE__ */ jsx("div", { className: "mb-12 text-center", children: /* @__PURE__ */ jsx("h2", { className: "text-2xl font-normal tracking-tight text-[oklch(0.12_0.01_250)] md:text-4xl", children: heading }) }),
|
|
524
585
|
testimonials.length === 0 ? null : testimonials.length === 1 ? /* @__PURE__ */ jsx(TestimonialCard, { item: featured }) : /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-6", children: [
|
|
525
586
|
/* @__PURE__ */ jsx("div", { className: "md:col-span-3 h-full", children: /* @__PURE__ */ jsx(TestimonialCard, { item: featured, featured: true }) }),
|
|
@@ -528,7 +589,7 @@ function MosaicTestimonialsGrid({
|
|
|
528
589
|
] });
|
|
529
590
|
}
|
|
530
591
|
MosaicTestimonialsGrid.displayName = "MosaicTestimonialsGrid";
|
|
531
|
-
function
|
|
592
|
+
function cn10(...classes) {
|
|
532
593
|
return classes.filter(Boolean).join(" ");
|
|
533
594
|
}
|
|
534
595
|
function MosaicFooterSimple({
|
|
@@ -543,7 +604,7 @@ function MosaicFooterSimple({
|
|
|
543
604
|
"footer",
|
|
544
605
|
{
|
|
545
606
|
ref,
|
|
546
|
-
className:
|
|
607
|
+
className: cn10(
|
|
547
608
|
"flex flex-col items-center gap-10 px-4 py-16 border-t border-[oklch(0.9_0.005_250)]",
|
|
548
609
|
className
|
|
549
610
|
),
|
|
@@ -587,7 +648,7 @@ function MosaicFooterSimple({
|
|
|
587
648
|
);
|
|
588
649
|
}
|
|
589
650
|
MosaicFooterSimple.displayName = "MosaicFooterSimple";
|
|
590
|
-
function
|
|
651
|
+
function cn11(...classes) {
|
|
591
652
|
return classes.filter(Boolean).join(" ");
|
|
592
653
|
}
|
|
593
654
|
function MosaicFeature3Col({
|
|
@@ -602,7 +663,7 @@ function MosaicFeature3Col({
|
|
|
602
663
|
{
|
|
603
664
|
ref,
|
|
604
665
|
"data-slot": "feature-3col",
|
|
605
|
-
className:
|
|
666
|
+
className: cn11("mx-auto w-full max-w-6xl px-4 py-16", className),
|
|
606
667
|
children: [
|
|
607
668
|
(heading || subtext) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center", children: [
|
|
608
669
|
heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-medium tracking-tight text-foreground sm:text-4xl", children: heading }),
|
|
@@ -678,7 +739,7 @@ function MosaicCounter({
|
|
|
678
739
|
);
|
|
679
740
|
}
|
|
680
741
|
MosaicCounter.displayName = "MosaicCounter";
|
|
681
|
-
function
|
|
742
|
+
function cn12(...classes) {
|
|
682
743
|
return classes.filter(Boolean).join(" ");
|
|
683
744
|
}
|
|
684
745
|
function getSystemTheme() {
|
|
@@ -721,7 +782,7 @@ function MosaicThemeToggle({
|
|
|
721
782
|
"aria-label": ariaLabel,
|
|
722
783
|
"aria-pressed": isDark,
|
|
723
784
|
onClick: handleToggle,
|
|
724
|
-
className:
|
|
785
|
+
className: cn12(
|
|
725
786
|
"inline-flex size-9 items-center justify-center rounded-full border border-[oklch(0.9_0.005_250)] bg-[oklch(var(--mosaic-surface,1_0_0))] transition-colors hover:bg-[oklch(0.95_0.005_250)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[oklch(0.5_0.15_250)]",
|
|
726
787
|
className
|
|
727
788
|
),
|
|
@@ -852,7 +913,7 @@ function MosaicAnimatedList({
|
|
|
852
913
|
);
|
|
853
914
|
}
|
|
854
915
|
MosaicAnimatedList.displayName = "MosaicAnimatedList";
|
|
855
|
-
function
|
|
916
|
+
function cn13(...classes) {
|
|
856
917
|
return classes.filter(Boolean).join(" ");
|
|
857
918
|
}
|
|
858
919
|
var badgeClass = "inline-flex items-center gap-2 rounded-full border border-[oklch(0.88_0.01_250)] bg-[oklch(0.98_0.005_250)] px-3 py-1.5 text-sm font-medium text-[oklch(0.25_0.01_250)] shadow-[0_1px_3px_oklch(0_0_0_/_0.06)] transition-colors";
|
|
@@ -877,12 +938,12 @@ function MosaicIntegrationsBadge({
|
|
|
877
938
|
href,
|
|
878
939
|
target,
|
|
879
940
|
rel: target === "_blank" ? "noopener noreferrer" : void 0,
|
|
880
|
-
className:
|
|
941
|
+
className: cn13(badgeClass, hoverClass, className),
|
|
881
942
|
children: inner
|
|
882
943
|
}
|
|
883
944
|
);
|
|
884
945
|
}
|
|
885
|
-
return /* @__PURE__ */ jsx("span", { ref, className:
|
|
946
|
+
return /* @__PURE__ */ jsx("span", { ref, className: cn13(badgeClass, className), children: inner });
|
|
886
947
|
}
|
|
887
948
|
MosaicIntegrationsBadge.displayName = "MosaicIntegrationsBadge";
|
|
888
949
|
var PATTERN_ANIM_ID = "mosaic-falling-pattern-kf";
|
|
@@ -998,7 +1059,7 @@ function useMediaQuery(query) {
|
|
|
998
1059
|
}, [query]);
|
|
999
1060
|
return matches;
|
|
1000
1061
|
}
|
|
1001
|
-
function
|
|
1062
|
+
function cn14(...classes) {
|
|
1002
1063
|
return classes.filter(Boolean).join(" ");
|
|
1003
1064
|
}
|
|
1004
1065
|
function MosaicEmptyState({
|
|
@@ -1014,7 +1075,7 @@ function MosaicEmptyState({
|
|
|
1014
1075
|
{
|
|
1015
1076
|
ref,
|
|
1016
1077
|
"data-slot": "empty-state",
|
|
1017
|
-
className:
|
|
1078
|
+
className: cn14(
|
|
1018
1079
|
"flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
|
|
1019
1080
|
className
|
|
1020
1081
|
),
|
|
@@ -1037,7 +1098,7 @@ function MosaicEmptyState({
|
|
|
1037
1098
|
);
|
|
1038
1099
|
}
|
|
1039
1100
|
MosaicEmptyState.displayName = "MosaicEmptyState";
|
|
1040
|
-
function
|
|
1101
|
+
function cn15(...classes) {
|
|
1041
1102
|
return classes.filter(Boolean).join(" ");
|
|
1042
1103
|
}
|
|
1043
1104
|
function MosaicAccordion({ className, ref, ...props }) {
|
|
@@ -1046,7 +1107,7 @@ function MosaicAccordion({ className, ref, ...props }) {
|
|
|
1046
1107
|
{
|
|
1047
1108
|
ref,
|
|
1048
1109
|
"data-slot": "accordion",
|
|
1049
|
-
className:
|
|
1110
|
+
className: cn15("w-full divide-y divide-border", className),
|
|
1050
1111
|
...props
|
|
1051
1112
|
}
|
|
1052
1113
|
);
|
|
@@ -1058,7 +1119,7 @@ function MosaicAccordionItem({ className, ref, ...props }) {
|
|
|
1058
1119
|
{
|
|
1059
1120
|
ref,
|
|
1060
1121
|
"data-slot": "accordion-item",
|
|
1061
|
-
className:
|
|
1122
|
+
className: cn15("py-0", className),
|
|
1062
1123
|
...props
|
|
1063
1124
|
}
|
|
1064
1125
|
);
|
|
@@ -1075,7 +1136,7 @@ function MosaicAccordionTrigger({
|
|
|
1075
1136
|
{
|
|
1076
1137
|
ref,
|
|
1077
1138
|
"data-slot": "accordion-trigger",
|
|
1078
|
-
className:
|
|
1139
|
+
className: cn15(
|
|
1079
1140
|
"flex w-full flex-1 items-center justify-between py-4",
|
|
1080
1141
|
"text-sm font-medium text-foreground",
|
|
1081
1142
|
"outline-none transition-all",
|
|
@@ -1115,13 +1176,13 @@ function MosaicAccordionPanel({ className, ref, ...props }) {
|
|
|
1115
1176
|
{
|
|
1116
1177
|
ref,
|
|
1117
1178
|
"data-slot": "accordion-panel",
|
|
1118
|
-
className:
|
|
1179
|
+
className: cn15("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
|
|
1119
1180
|
...props
|
|
1120
1181
|
}
|
|
1121
1182
|
);
|
|
1122
1183
|
}
|
|
1123
1184
|
MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
|
|
1124
|
-
function
|
|
1185
|
+
function cn16(...classes) {
|
|
1125
1186
|
return classes.filter(Boolean).join(" ");
|
|
1126
1187
|
}
|
|
1127
1188
|
function MosaicCheckbox({ className, ref, ...props }) {
|
|
@@ -1130,7 +1191,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1130
1191
|
{
|
|
1131
1192
|
ref,
|
|
1132
1193
|
"data-slot": "checkbox",
|
|
1133
|
-
className:
|
|
1194
|
+
className: cn16(
|
|
1134
1195
|
"peer size-4 shrink-0 cursor-pointer",
|
|
1135
1196
|
"rounded-sm border border-border bg-background",
|
|
1136
1197
|
"outline-none transition-colors",
|
|
@@ -1170,7 +1231,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
|
|
|
1170
1231
|
);
|
|
1171
1232
|
}
|
|
1172
1233
|
MosaicCheckbox.displayName = "MosaicCheckbox";
|
|
1173
|
-
function
|
|
1234
|
+
function cn17(...classes) {
|
|
1174
1235
|
return classes.filter(Boolean).join(" ");
|
|
1175
1236
|
}
|
|
1176
1237
|
function MosaicCollapsible({ className, ref, ...props }) {
|
|
@@ -1179,7 +1240,7 @@ function MosaicCollapsible({ className, ref, ...props }) {
|
|
|
1179
1240
|
{
|
|
1180
1241
|
ref,
|
|
1181
1242
|
"data-slot": "collapsible",
|
|
1182
|
-
className:
|
|
1243
|
+
className: cn17("w-full", className),
|
|
1183
1244
|
...props
|
|
1184
1245
|
}
|
|
1185
1246
|
);
|
|
@@ -1195,7 +1256,7 @@ function MosaicCollapsibleTrigger({
|
|
|
1195
1256
|
{
|
|
1196
1257
|
ref,
|
|
1197
1258
|
"data-slot": "collapsible-trigger",
|
|
1198
|
-
className:
|
|
1259
|
+
className: cn17(
|
|
1199
1260
|
"inline-flex w-full items-center justify-between gap-2",
|
|
1200
1261
|
"rounded-md px-0 py-2 text-sm font-medium",
|
|
1201
1262
|
"text-foreground outline-none transition-colors",
|
|
@@ -1217,7 +1278,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1217
1278
|
{
|
|
1218
1279
|
ref,
|
|
1219
1280
|
"data-slot": "collapsible-panel",
|
|
1220
|
-
className:
|
|
1281
|
+
className: cn17(
|
|
1221
1282
|
"overflow-hidden text-sm transition-all",
|
|
1222
1283
|
"data-[open]:animate-in data-[closed]:animate-out",
|
|
1223
1284
|
className
|
|
@@ -1227,7 +1288,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
|
|
|
1227
1288
|
);
|
|
1228
1289
|
}
|
|
1229
1290
|
MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
|
|
1230
|
-
function
|
|
1291
|
+
function cn18(...classes) {
|
|
1231
1292
|
return classes.filter(Boolean).join(" ");
|
|
1232
1293
|
}
|
|
1233
1294
|
function MosaicProgress({
|
|
@@ -1244,7 +1305,7 @@ function MosaicProgress({
|
|
|
1244
1305
|
"data-slot": "progress",
|
|
1245
1306
|
value,
|
|
1246
1307
|
max,
|
|
1247
|
-
className:
|
|
1308
|
+
className: cn18("w-full", className),
|
|
1248
1309
|
...props,
|
|
1249
1310
|
children: /* @__PURE__ */ jsx(
|
|
1250
1311
|
Progress.Track,
|
|
@@ -1265,7 +1326,7 @@ function MosaicProgress({
|
|
|
1265
1326
|
);
|
|
1266
1327
|
}
|
|
1267
1328
|
MosaicProgress.displayName = "MosaicProgress";
|
|
1268
|
-
function
|
|
1329
|
+
function cn19(...classes) {
|
|
1269
1330
|
return classes.filter(Boolean).join(" ");
|
|
1270
1331
|
}
|
|
1271
1332
|
function MosaicRadioGroup({ className, ref, ...props }) {
|
|
@@ -1274,7 +1335,7 @@ function MosaicRadioGroup({ className, ref, ...props }) {
|
|
|
1274
1335
|
{
|
|
1275
1336
|
ref,
|
|
1276
1337
|
"data-slot": "radio-group",
|
|
1277
|
-
className:
|
|
1338
|
+
className: cn19("flex flex-col gap-2", className),
|
|
1278
1339
|
...props
|
|
1279
1340
|
}
|
|
1280
1341
|
);
|
|
@@ -1291,7 +1352,7 @@ function MosaicRadioGroupItem({
|
|
|
1291
1352
|
{
|
|
1292
1353
|
ref,
|
|
1293
1354
|
"data-slot": "radio",
|
|
1294
|
-
className:
|
|
1355
|
+
className: cn19(
|
|
1295
1356
|
"flex items-center gap-2 text-sm font-medium",
|
|
1296
1357
|
"cursor-pointer select-none",
|
|
1297
1358
|
"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
|
|
@@ -1302,7 +1363,7 @@ function MosaicRadioGroupItem({
|
|
|
1302
1363
|
/* @__PURE__ */ jsx(
|
|
1303
1364
|
"span",
|
|
1304
1365
|
{
|
|
1305
|
-
className:
|
|
1366
|
+
className: cn19(
|
|
1306
1367
|
"flex size-4 shrink-0 items-center justify-center",
|
|
1307
1368
|
"rounded-full border border-border bg-background",
|
|
1308
1369
|
"outline-none transition-colors",
|
|
@@ -1318,7 +1379,7 @@ function MosaicRadioGroupItem({
|
|
|
1318
1379
|
);
|
|
1319
1380
|
}
|
|
1320
1381
|
MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
|
|
1321
|
-
function
|
|
1382
|
+
function cn20(...classes) {
|
|
1322
1383
|
return classes.filter(Boolean).join(" ");
|
|
1323
1384
|
}
|
|
1324
1385
|
function MosaicScrollArea({
|
|
@@ -1333,7 +1394,7 @@ function MosaicScrollArea({
|
|
|
1333
1394
|
{
|
|
1334
1395
|
ref,
|
|
1335
1396
|
"data-slot": "scroll-area",
|
|
1336
|
-
className:
|
|
1397
|
+
className: cn20("relative overflow-hidden", className),
|
|
1337
1398
|
...props,
|
|
1338
1399
|
children: [
|
|
1339
1400
|
/* @__PURE__ */ jsx(ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsx(ScrollArea.Content, { children }) }),
|
|
@@ -1361,7 +1422,7 @@ function MosaicScrollArea({
|
|
|
1361
1422
|
);
|
|
1362
1423
|
}
|
|
1363
1424
|
MosaicScrollArea.displayName = "MosaicScrollArea";
|
|
1364
|
-
function
|
|
1425
|
+
function cn21(...classes) {
|
|
1365
1426
|
return classes.filter(Boolean).join(" ");
|
|
1366
1427
|
}
|
|
1367
1428
|
function MosaicSeparator({
|
|
@@ -1376,7 +1437,7 @@ function MosaicSeparator({
|
|
|
1376
1437
|
ref,
|
|
1377
1438
|
"data-slot": "separator",
|
|
1378
1439
|
orientation,
|
|
1379
|
-
className:
|
|
1440
|
+
className: cn21(
|
|
1380
1441
|
"shrink-0 bg-border",
|
|
1381
1442
|
orientation === "vertical" ? "h-full w-px" : "h-px w-full",
|
|
1382
1443
|
className
|
|
@@ -1386,7 +1447,7 @@ function MosaicSeparator({
|
|
|
1386
1447
|
);
|
|
1387
1448
|
}
|
|
1388
1449
|
MosaicSeparator.displayName = "MosaicSeparator";
|
|
1389
|
-
function
|
|
1450
|
+
function cn22(...classes) {
|
|
1390
1451
|
return classes.filter(Boolean).join(" ");
|
|
1391
1452
|
}
|
|
1392
1453
|
function MosaicSlider({ className, ref, ...props }) {
|
|
@@ -1397,7 +1458,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1397
1458
|
{
|
|
1398
1459
|
ref,
|
|
1399
1460
|
"data-slot": "slider",
|
|
1400
|
-
className:
|
|
1461
|
+
className: cn22("w-full touch-none select-none", className),
|
|
1401
1462
|
...props,
|
|
1402
1463
|
children: /* @__PURE__ */ jsx(Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxs(
|
|
1403
1464
|
Slider.Track,
|
|
@@ -1416,7 +1477,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1416
1477
|
Slider.Thumb,
|
|
1417
1478
|
{
|
|
1418
1479
|
"data-slot": "slider-thumb",
|
|
1419
|
-
className:
|
|
1480
|
+
className: cn22(
|
|
1420
1481
|
"block size-5 rounded-full",
|
|
1421
1482
|
"border-2 border-foreground bg-background",
|
|
1422
1483
|
"shadow-sm outline-none transition-colors",
|
|
@@ -1433,7 +1494,7 @@ function MosaicSlider({ className, ref, ...props }) {
|
|
|
1433
1494
|
);
|
|
1434
1495
|
}
|
|
1435
1496
|
MosaicSlider.displayName = "MosaicSlider";
|
|
1436
|
-
function
|
|
1497
|
+
function cn23(...classes) {
|
|
1437
1498
|
return classes.filter(Boolean).join(" ");
|
|
1438
1499
|
}
|
|
1439
1500
|
function MosaicTabs({ className, ref, ...props }) {
|
|
@@ -1442,7 +1503,7 @@ function MosaicTabs({ className, ref, ...props }) {
|
|
|
1442
1503
|
{
|
|
1443
1504
|
ref,
|
|
1444
1505
|
"data-slot": "tabs",
|
|
1445
|
-
className:
|
|
1506
|
+
className: cn23("flex flex-col gap-2", className),
|
|
1446
1507
|
...props
|
|
1447
1508
|
}
|
|
1448
1509
|
);
|
|
@@ -1454,7 +1515,7 @@ function MosaicTabsList({ className, ref, ...props }) {
|
|
|
1454
1515
|
{
|
|
1455
1516
|
ref,
|
|
1456
1517
|
"data-slot": "tabs-list",
|
|
1457
|
-
className:
|
|
1518
|
+
className: cn23(
|
|
1458
1519
|
"relative inline-flex items-center justify-start gap-1",
|
|
1459
1520
|
"rounded-lg bg-muted p-1 text-muted-foreground",
|
|
1460
1521
|
className
|
|
@@ -1470,7 +1531,7 @@ function MosaicTabsTrigger({ className, ref, ...props }) {
|
|
|
1470
1531
|
{
|
|
1471
1532
|
ref,
|
|
1472
1533
|
"data-slot": "tabs-trigger",
|
|
1473
|
-
className:
|
|
1534
|
+
className: cn23(
|
|
1474
1535
|
"inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
|
|
1475
1536
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
1476
1537
|
"outline-none transition-all",
|
|
@@ -1493,7 +1554,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1493
1554
|
{
|
|
1494
1555
|
ref,
|
|
1495
1556
|
"data-slot": "tabs-panel",
|
|
1496
|
-
className:
|
|
1557
|
+
className: cn23(
|
|
1497
1558
|
"flex-1 outline-none",
|
|
1498
1559
|
"focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
|
|
1499
1560
|
className
|
|
@@ -1503,7 +1564,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
|
|
|
1503
1564
|
);
|
|
1504
1565
|
}
|
|
1505
1566
|
MosaicTabsPanel.displayName = "MosaicTabsPanel";
|
|
1506
|
-
function
|
|
1567
|
+
function cn24(...classes) {
|
|
1507
1568
|
return classes.filter(Boolean).join(" ");
|
|
1508
1569
|
}
|
|
1509
1570
|
function MosaicTextarea({ className, ref, ...props }) {
|
|
@@ -1512,7 +1573,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1512
1573
|
{
|
|
1513
1574
|
ref,
|
|
1514
1575
|
"data-slot": "textarea",
|
|
1515
|
-
className:
|
|
1576
|
+
className: cn24(
|
|
1516
1577
|
"flex min-h-[80px] w-full resize-y",
|
|
1517
1578
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1518
1579
|
"text-sm text-foreground shadow-xs",
|
|
@@ -1527,7 +1588,7 @@ function MosaicTextarea({ className, ref, ...props }) {
|
|
|
1527
1588
|
);
|
|
1528
1589
|
}
|
|
1529
1590
|
MosaicTextarea.displayName = "MosaicTextarea";
|
|
1530
|
-
function
|
|
1591
|
+
function cn25(...classes) {
|
|
1531
1592
|
return classes.filter(Boolean).join(" ");
|
|
1532
1593
|
}
|
|
1533
1594
|
function MosaicTooltip({
|
|
@@ -1544,7 +1605,7 @@ function MosaicTooltip({
|
|
|
1544
1605
|
Tooltip.Popup,
|
|
1545
1606
|
{
|
|
1546
1607
|
"data-slot": "tooltip-content",
|
|
1547
|
-
className:
|
|
1608
|
+
className: cn25(
|
|
1548
1609
|
"z-50 max-w-xs overflow-hidden rounded-md",
|
|
1549
1610
|
"border border-border bg-foreground px-3 py-1.5",
|
|
1550
1611
|
"text-xs text-background shadow-md",
|
|
@@ -1561,7 +1622,7 @@ function MosaicTooltip({
|
|
|
1561
1622
|
] }) });
|
|
1562
1623
|
}
|
|
1563
1624
|
MosaicTooltip.displayName = "MosaicTooltip";
|
|
1564
|
-
function
|
|
1625
|
+
function cn26(...classes) {
|
|
1565
1626
|
return classes.filter(Boolean).join(" ");
|
|
1566
1627
|
}
|
|
1567
1628
|
function MosaicCard({ className, ref, ...props }) {
|
|
@@ -1570,7 +1631,7 @@ function MosaicCard({ className, ref, ...props }) {
|
|
|
1570
1631
|
{
|
|
1571
1632
|
ref,
|
|
1572
1633
|
"data-slot": "card",
|
|
1573
|
-
className:
|
|
1634
|
+
className: cn26(
|
|
1574
1635
|
"bg-card text-card-foreground rounded-xl border border-border shadow-sm",
|
|
1575
1636
|
className
|
|
1576
1637
|
),
|
|
@@ -1585,7 +1646,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
|
|
|
1585
1646
|
{
|
|
1586
1647
|
ref,
|
|
1587
1648
|
"data-slot": "card-header",
|
|
1588
|
-
className:
|
|
1649
|
+
className: cn26("flex flex-col gap-1.5 p-6", className),
|
|
1589
1650
|
...props
|
|
1590
1651
|
}
|
|
1591
1652
|
);
|
|
@@ -1597,7 +1658,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
|
|
|
1597
1658
|
{
|
|
1598
1659
|
ref,
|
|
1599
1660
|
"data-slot": "card-title",
|
|
1600
|
-
className:
|
|
1661
|
+
className: cn26("text-lg font-semibold leading-none tracking-tight", className),
|
|
1601
1662
|
...props
|
|
1602
1663
|
}
|
|
1603
1664
|
);
|
|
@@ -1609,14 +1670,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
|
|
|
1609
1670
|
{
|
|
1610
1671
|
ref,
|
|
1611
1672
|
"data-slot": "card-description",
|
|
1612
|
-
className:
|
|
1673
|
+
className: cn26("text-sm text-muted-foreground", className),
|
|
1613
1674
|
...props
|
|
1614
1675
|
}
|
|
1615
1676
|
);
|
|
1616
1677
|
}
|
|
1617
1678
|
MosaicCardDescription.displayName = "MosaicCardDescription";
|
|
1618
1679
|
function MosaicCardContent({ className, ref, ...props }) {
|
|
1619
|
-
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className:
|
|
1680
|
+
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn26("p-6 pt-0", className), ...props });
|
|
1620
1681
|
}
|
|
1621
1682
|
MosaicCardContent.displayName = "MosaicCardContent";
|
|
1622
1683
|
function MosaicCardFooter({ className, ref, ...props }) {
|
|
@@ -1625,7 +1686,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
|
|
|
1625
1686
|
{
|
|
1626
1687
|
ref,
|
|
1627
1688
|
"data-slot": "card-footer",
|
|
1628
|
-
className:
|
|
1689
|
+
className: cn26("flex items-center p-6 pt-0", className),
|
|
1629
1690
|
...props
|
|
1630
1691
|
}
|
|
1631
1692
|
);
|
|
@@ -1654,7 +1715,7 @@ var badgeVariants = cva(
|
|
|
1654
1715
|
}
|
|
1655
1716
|
}
|
|
1656
1717
|
);
|
|
1657
|
-
function
|
|
1718
|
+
function cn27(...classes) {
|
|
1658
1719
|
return classes.filter(Boolean).join(" ");
|
|
1659
1720
|
}
|
|
1660
1721
|
function MosaicBadge({ className, variant, ref, ...props }) {
|
|
@@ -1663,13 +1724,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
|
|
|
1663
1724
|
{
|
|
1664
1725
|
ref,
|
|
1665
1726
|
"data-slot": "badge",
|
|
1666
|
-
className:
|
|
1727
|
+
className: cn27(badgeVariants({ variant }), className),
|
|
1667
1728
|
...props
|
|
1668
1729
|
}
|
|
1669
1730
|
);
|
|
1670
1731
|
}
|
|
1671
1732
|
MosaicBadge.displayName = "MosaicBadge";
|
|
1672
|
-
function
|
|
1733
|
+
function cn28(...classes) {
|
|
1673
1734
|
return classes.filter(Boolean).join(" ");
|
|
1674
1735
|
}
|
|
1675
1736
|
function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
@@ -1678,7 +1739,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1678
1739
|
{
|
|
1679
1740
|
ref,
|
|
1680
1741
|
"data-slot": "avatar",
|
|
1681
|
-
className:
|
|
1742
|
+
className: cn28(
|
|
1682
1743
|
"relative flex size-10 shrink-0 overflow-hidden rounded-full",
|
|
1683
1744
|
"bg-muted text-muted-foreground",
|
|
1684
1745
|
className
|
|
@@ -1707,7 +1768,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
|
|
|
1707
1768
|
);
|
|
1708
1769
|
}
|
|
1709
1770
|
MosaicAvatar.displayName = "MosaicAvatar";
|
|
1710
|
-
function
|
|
1771
|
+
function cn29(...classes) {
|
|
1711
1772
|
return classes.filter(Boolean).join(" ");
|
|
1712
1773
|
}
|
|
1713
1774
|
function MosaicInput({ className, ref, ...props }) {
|
|
@@ -1716,7 +1777,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1716
1777
|
{
|
|
1717
1778
|
ref,
|
|
1718
1779
|
"data-slot": "input",
|
|
1719
|
-
className:
|
|
1780
|
+
className: cn29(
|
|
1720
1781
|
"flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
|
|
1721
1782
|
"text-sm text-foreground shadow-xs",
|
|
1722
1783
|
"placeholder:text-muted-foreground",
|
|
@@ -1730,7 +1791,7 @@ function MosaicInput({ className, ref, ...props }) {
|
|
|
1730
1791
|
);
|
|
1731
1792
|
}
|
|
1732
1793
|
MosaicInput.displayName = "MosaicInput";
|
|
1733
|
-
function
|
|
1794
|
+
function cn30(...classes) {
|
|
1734
1795
|
return classes.filter(Boolean).join(" ");
|
|
1735
1796
|
}
|
|
1736
1797
|
function MosaicInputGroup({
|
|
@@ -1746,7 +1807,7 @@ function MosaicInputGroup({
|
|
|
1746
1807
|
{
|
|
1747
1808
|
ref,
|
|
1748
1809
|
"data-slot": "input-group",
|
|
1749
|
-
className:
|
|
1810
|
+
className: cn30("flex items-center", className),
|
|
1750
1811
|
...props,
|
|
1751
1812
|
children: [
|
|
1752
1813
|
prefix ? /* @__PURE__ */ jsx(
|
|
@@ -1771,7 +1832,7 @@ function MosaicInputGroup({
|
|
|
1771
1832
|
);
|
|
1772
1833
|
}
|
|
1773
1834
|
MosaicInputGroup.displayName = "MosaicInputGroup";
|
|
1774
|
-
function
|
|
1835
|
+
function cn31(...classes) {
|
|
1775
1836
|
return classes.filter(Boolean).join(" ");
|
|
1776
1837
|
}
|
|
1777
1838
|
function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
@@ -1780,7 +1841,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
|
|
|
1780
1841
|
{
|
|
1781
1842
|
ref,
|
|
1782
1843
|
"data-slot": "field",
|
|
1783
|
-
className:
|
|
1844
|
+
className: cn31("flex flex-col gap-1.5", className),
|
|
1784
1845
|
...props,
|
|
1785
1846
|
children
|
|
1786
1847
|
}
|
|
@@ -1792,7 +1853,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1792
1853
|
Field.Label,
|
|
1793
1854
|
{
|
|
1794
1855
|
ref,
|
|
1795
|
-
className:
|
|
1856
|
+
className: cn31(
|
|
1796
1857
|
"text-sm font-medium leading-none text-foreground",
|
|
1797
1858
|
"data-[disabled]:opacity-50",
|
|
1798
1859
|
className
|
|
@@ -1804,7 +1865,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
|
|
|
1804
1865
|
}
|
|
1805
1866
|
MosaicFieldLabel.displayName = "MosaicField.Label";
|
|
1806
1867
|
function MosaicFieldControl({ className, ref, ...props }) {
|
|
1807
|
-
return /* @__PURE__ */ jsx(Field.Control, { ref, className:
|
|
1868
|
+
return /* @__PURE__ */ jsx(Field.Control, { ref, className: cn31(className), ...props });
|
|
1808
1869
|
}
|
|
1809
1870
|
MosaicFieldControl.displayName = "MosaicField.Control";
|
|
1810
1871
|
function MosaicFieldDescription({
|
|
@@ -1817,7 +1878,7 @@ function MosaicFieldDescription({
|
|
|
1817
1878
|
Field.Description,
|
|
1818
1879
|
{
|
|
1819
1880
|
ref,
|
|
1820
|
-
className:
|
|
1881
|
+
className: cn31("text-xs text-muted-foreground", className),
|
|
1821
1882
|
...props,
|
|
1822
1883
|
children
|
|
1823
1884
|
}
|
|
@@ -1837,7 +1898,7 @@ function MosaicFieldError({
|
|
|
1837
1898
|
{
|
|
1838
1899
|
ref,
|
|
1839
1900
|
match: show === true ? true : void 0,
|
|
1840
|
-
className:
|
|
1901
|
+
className: cn31("text-xs font-medium text-destructive", className),
|
|
1841
1902
|
...props,
|
|
1842
1903
|
children
|
|
1843
1904
|
}
|
|
@@ -1850,7 +1911,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
|
|
|
1850
1911
|
Description: MosaicFieldDescription,
|
|
1851
1912
|
Error: MosaicFieldError
|
|
1852
1913
|
});
|
|
1853
|
-
function
|
|
1914
|
+
function cn32(...classes) {
|
|
1854
1915
|
return classes.filter(Boolean).join(" ");
|
|
1855
1916
|
}
|
|
1856
1917
|
function MosaicSwitch({ className, ref, ...props }) {
|
|
@@ -1859,7 +1920,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1859
1920
|
{
|
|
1860
1921
|
ref,
|
|
1861
1922
|
"data-slot": "switch",
|
|
1862
|
-
className:
|
|
1923
|
+
className: cn32(
|
|
1863
1924
|
// Track
|
|
1864
1925
|
"relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
|
|
1865
1926
|
"rounded-full border-2 border-transparent outline-none",
|
|
@@ -1877,7 +1938,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1877
1938
|
Switch.Thumb,
|
|
1878
1939
|
{
|
|
1879
1940
|
"data-slot": "switch-thumb",
|
|
1880
|
-
className:
|
|
1941
|
+
className: cn32(
|
|
1881
1942
|
"pointer-events-none block h-4 w-4 rounded-full",
|
|
1882
1943
|
"bg-background shadow-sm",
|
|
1883
1944
|
"translate-x-0 transition-transform",
|
|
@@ -1889,7 +1950,7 @@ function MosaicSwitch({ className, ref, ...props }) {
|
|
|
1889
1950
|
);
|
|
1890
1951
|
}
|
|
1891
1952
|
MosaicSwitch.displayName = "MosaicSwitch";
|
|
1892
|
-
function
|
|
1953
|
+
function cn33(...classes) {
|
|
1893
1954
|
return classes.filter(Boolean).join(" ");
|
|
1894
1955
|
}
|
|
1895
1956
|
function MosaicSelect({
|
|
@@ -1921,7 +1982,7 @@ function MosaicSelect({
|
|
|
1921
1982
|
Select.Trigger,
|
|
1922
1983
|
{
|
|
1923
1984
|
"data-slot": "select",
|
|
1924
|
-
className:
|
|
1985
|
+
className: cn33(
|
|
1925
1986
|
"inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
|
|
1926
1987
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
1927
1988
|
"text-sm text-foreground shadow-xs outline-none",
|
|
@@ -1941,7 +2002,7 @@ function MosaicSelect({
|
|
|
1941
2002
|
Select.Popup,
|
|
1942
2003
|
{
|
|
1943
2004
|
"data-slot": "select-popup",
|
|
1944
|
-
className:
|
|
2005
|
+
className: cn33(
|
|
1945
2006
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
1946
2007
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
1947
2008
|
"origin-[var(--transform-origin)]",
|
|
@@ -1955,7 +2016,7 @@ function MosaicSelect({
|
|
|
1955
2016
|
{
|
|
1956
2017
|
value: item.value,
|
|
1957
2018
|
disabled: item.disabled,
|
|
1958
|
-
className:
|
|
2019
|
+
className: cn33(
|
|
1959
2020
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
1960
2021
|
"text-sm text-popover-foreground outline-none",
|
|
1961
2022
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2009,7 +2070,7 @@ function CheckIcon() {
|
|
|
2009
2070
|
}
|
|
2010
2071
|
);
|
|
2011
2072
|
}
|
|
2012
|
-
function
|
|
2073
|
+
function cn34(...classes) {
|
|
2013
2074
|
return classes.filter(Boolean).join(" ");
|
|
2014
2075
|
}
|
|
2015
2076
|
function MosaicCombobox({
|
|
@@ -2038,12 +2099,12 @@ function MosaicCombobox({
|
|
|
2038
2099
|
name,
|
|
2039
2100
|
onInputValueChange: setInputValue,
|
|
2040
2101
|
autoHighlight: true,
|
|
2041
|
-
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className:
|
|
2102
|
+
children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className: cn34("relative w-full", className), children: [
|
|
2042
2103
|
/* @__PURE__ */ jsx(
|
|
2043
2104
|
Combobox.Input,
|
|
2044
2105
|
{
|
|
2045
2106
|
placeholder,
|
|
2046
|
-
className:
|
|
2107
|
+
className: cn34(
|
|
2047
2108
|
"h-9 w-full rounded-md border border-border bg-background px-3 py-2",
|
|
2048
2109
|
"text-sm text-foreground shadow-xs outline-none",
|
|
2049
2110
|
"placeholder:text-muted-foreground",
|
|
@@ -2055,7 +2116,7 @@ function MosaicCombobox({
|
|
|
2055
2116
|
/* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsx(
|
|
2056
2117
|
Combobox.Popup,
|
|
2057
2118
|
{
|
|
2058
|
-
className:
|
|
2119
|
+
className: cn34(
|
|
2059
2120
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2060
2121
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2061
2122
|
"origin-[var(--transform-origin)]",
|
|
@@ -2070,7 +2131,7 @@ function MosaicCombobox({
|
|
|
2070
2131
|
{
|
|
2071
2132
|
value: item.value,
|
|
2072
2133
|
disabled: item.disabled,
|
|
2073
|
-
className:
|
|
2134
|
+
className: cn34(
|
|
2074
2135
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2075
2136
|
"text-sm text-popover-foreground outline-none",
|
|
2076
2137
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2089,7 +2150,7 @@ function MosaicCombobox({
|
|
|
2089
2150
|
}
|
|
2090
2151
|
);
|
|
2091
2152
|
}
|
|
2092
|
-
function
|
|
2153
|
+
function cn35(...classes) {
|
|
2093
2154
|
return classes.filter(Boolean).join(" ");
|
|
2094
2155
|
}
|
|
2095
2156
|
function MosaicDropdownMenu({
|
|
@@ -2106,7 +2167,7 @@ function MosaicDropdownMenu({
|
|
|
2106
2167
|
Menu.Popup,
|
|
2107
2168
|
{
|
|
2108
2169
|
"data-slot": "dropdown-menu",
|
|
2109
|
-
className:
|
|
2170
|
+
className: cn35(
|
|
2110
2171
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
2111
2172
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
2112
2173
|
"origin-[var(--transform-origin)]",
|
|
@@ -2123,7 +2184,7 @@ function MosaicDropdownMenu({
|
|
|
2123
2184
|
{
|
|
2124
2185
|
disabled: item.disabled,
|
|
2125
2186
|
onClick: () => onItemSelect?.(item.id),
|
|
2126
|
-
className:
|
|
2187
|
+
className: cn35(
|
|
2127
2188
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
2128
2189
|
"text-sm text-popover-foreground outline-none",
|
|
2129
2190
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -2265,7 +2326,7 @@ function useDevice() {
|
|
|
2265
2326
|
}
|
|
2266
2327
|
return ctx;
|
|
2267
2328
|
}
|
|
2268
|
-
function
|
|
2329
|
+
function cn36(...classes) {
|
|
2269
2330
|
return classes.filter(Boolean).join(" ");
|
|
2270
2331
|
}
|
|
2271
2332
|
function MosaicAdaptiveGrid({
|
|
@@ -2284,14 +2345,14 @@ function MosaicAdaptiveGrid({
|
|
|
2284
2345
|
{
|
|
2285
2346
|
ref,
|
|
2286
2347
|
"data-slot": "adaptive-grid",
|
|
2287
|
-
className:
|
|
2348
|
+
className: cn36("grid", gap, className),
|
|
2288
2349
|
style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
|
|
2289
2350
|
children
|
|
2290
2351
|
}
|
|
2291
2352
|
);
|
|
2292
2353
|
}
|
|
2293
2354
|
MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
|
|
2294
|
-
function
|
|
2355
|
+
function cn37(...classes) {
|
|
2295
2356
|
return classes.filter(Boolean).join(" ");
|
|
2296
2357
|
}
|
|
2297
2358
|
var ANIM_ID = "mosaic-adaptive-modal-kf";
|
|
@@ -2396,7 +2457,7 @@ function MosaicAdaptiveModal({
|
|
|
2396
2457
|
children: /* @__PURE__ */ jsxs(
|
|
2397
2458
|
"div",
|
|
2398
2459
|
{
|
|
2399
|
-
className:
|
|
2460
|
+
className: cn37(
|
|
2400
2461
|
"mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
|
|
2401
2462
|
"max-h-[90dvh] flex flex-col",
|
|
2402
2463
|
className
|
|
@@ -2429,7 +2490,7 @@ function MosaicAdaptiveModal({
|
|
|
2429
2490
|
children: /* @__PURE__ */ jsxs(
|
|
2430
2491
|
"div",
|
|
2431
2492
|
{
|
|
2432
|
-
className:
|
|
2493
|
+
className: cn37(
|
|
2433
2494
|
"mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
|
|
2434
2495
|
"max-h-[90vh] flex flex-col",
|
|
2435
2496
|
className
|
|
@@ -2477,7 +2538,7 @@ function MosaicAdaptiveModal({
|
|
|
2477
2538
|
);
|
|
2478
2539
|
}
|
|
2479
2540
|
MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
|
|
2480
|
-
function
|
|
2541
|
+
function cn38(...classes) {
|
|
2481
2542
|
return classes.filter(Boolean).join(" ");
|
|
2482
2543
|
}
|
|
2483
2544
|
function CheckIcon2() {
|
|
@@ -2534,7 +2595,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2534
2595
|
{
|
|
2535
2596
|
ref,
|
|
2536
2597
|
"data-slot": "adaptive-navigation",
|
|
2537
|
-
className:
|
|
2598
|
+
className: cn38("space-y-3", className),
|
|
2538
2599
|
"aria-label": "Step navigation",
|
|
2539
2600
|
children: items.map((item, idx) => {
|
|
2540
2601
|
const isExpanded = expandedItems?.has(item.id) ?? false;
|
|
@@ -2552,7 +2613,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2552
2613
|
/* @__PURE__ */ jsx(
|
|
2553
2614
|
"div",
|
|
2554
2615
|
{
|
|
2555
|
-
className:
|
|
2616
|
+
className: cn38(
|
|
2556
2617
|
"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2557
2618
|
item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
|
|
2558
2619
|
),
|
|
@@ -2586,7 +2647,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2586
2647
|
{
|
|
2587
2648
|
ref,
|
|
2588
2649
|
"data-slot": "adaptive-navigation",
|
|
2589
|
-
className:
|
|
2650
|
+
className: cn38("w-full", className),
|
|
2590
2651
|
"aria-label": "Tab navigation",
|
|
2591
2652
|
children: /* @__PURE__ */ jsx(
|
|
2592
2653
|
"div",
|
|
@@ -2603,7 +2664,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2603
2664
|
role: "tab",
|
|
2604
2665
|
"aria-selected": isActive,
|
|
2605
2666
|
onClick: () => onItemChange(item.id),
|
|
2606
|
-
className:
|
|
2667
|
+
className: cn38(
|
|
2607
2668
|
"flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
|
|
2608
2669
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
2609
2670
|
isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
|
|
@@ -2612,7 +2673,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2612
2673
|
/* @__PURE__ */ jsx(
|
|
2613
2674
|
"div",
|
|
2614
2675
|
{
|
|
2615
|
-
className:
|
|
2676
|
+
className: cn38(
|
|
2616
2677
|
"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
2617
2678
|
item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
|
|
2618
2679
|
),
|
|
@@ -2624,7 +2685,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2624
2685
|
item.duration !== void 0 && /* @__PURE__ */ jsxs(
|
|
2625
2686
|
"span",
|
|
2626
2687
|
{
|
|
2627
|
-
className:
|
|
2688
|
+
className: cn38(
|
|
2628
2689
|
"rounded px-1 py-0.5 text-xs",
|
|
2629
2690
|
isActive ? "bg-primary-foreground/20" : "bg-muted"
|
|
2630
2691
|
),
|
|
@@ -2645,7 +2706,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2645
2706
|
);
|
|
2646
2707
|
}
|
|
2647
2708
|
MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
|
|
2648
|
-
function
|
|
2709
|
+
function cn39(...classes) {
|
|
2649
2710
|
return classes.filter(Boolean).join(" ");
|
|
2650
2711
|
}
|
|
2651
2712
|
var ANIM_ID2 = "mosaic-sidebar-kf";
|
|
@@ -2815,7 +2876,7 @@ function MosaicAppSidebar({
|
|
|
2815
2876
|
{
|
|
2816
2877
|
ref,
|
|
2817
2878
|
"data-slot": "app-sidebar",
|
|
2818
|
-
className:
|
|
2879
|
+
className: cn39(
|
|
2819
2880
|
"flex h-full flex-col bg-sidebar border-r border-sidebar-border",
|
|
2820
2881
|
isMobile && "border-r-0",
|
|
2821
2882
|
className
|
|
@@ -2835,7 +2896,7 @@ function MosaicAppSidebar({
|
|
|
2835
2896
|
type: "button",
|
|
2836
2897
|
onClick: onToggleCollapse,
|
|
2837
2898
|
"aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
|
|
2838
|
-
className:
|
|
2899
|
+
className: cn39(
|
|
2839
2900
|
"flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
|
|
2840
2901
|
"hover:bg-sidebar-accent text-sidebar-foreground",
|
|
2841
2902
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2865,7 +2926,7 @@ function MosaicAppSidebar({
|
|
|
2865
2926
|
},
|
|
2866
2927
|
"aria-current": isActive ? "page" : void 0,
|
|
2867
2928
|
"aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
|
|
2868
|
-
className:
|
|
2929
|
+
className: cn39(
|
|
2869
2930
|
"group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
|
|
2870
2931
|
"hover:bg-sidebar-accent",
|
|
2871
2932
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2892,7 +2953,7 @@ function MosaicAppSidebar({
|
|
|
2892
2953
|
type: "button",
|
|
2893
2954
|
onClick: () => handleNavClick(sub.href),
|
|
2894
2955
|
"aria-current": isSubActive ? "page" : void 0,
|
|
2895
|
-
className:
|
|
2956
|
+
className: cn39(
|
|
2896
2957
|
"flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
|
|
2897
2958
|
"hover:bg-sidebar-accent/50 text-sidebar-foreground",
|
|
2898
2959
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -2915,7 +2976,7 @@ function MosaicAppSidebar({
|
|
|
2915
2976
|
{
|
|
2916
2977
|
type: "button",
|
|
2917
2978
|
onClick: action.onClick,
|
|
2918
|
-
className:
|
|
2979
|
+
className: cn39(
|
|
2919
2980
|
"flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
|
|
2920
2981
|
"text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
|
|
2921
2982
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -2962,7 +3023,7 @@ function MosaicAppSidebar({
|
|
|
2962
3023
|
);
|
|
2963
3024
|
}
|
|
2964
3025
|
MosaicAppSidebar.displayName = "MosaicAppSidebar";
|
|
2965
|
-
function
|
|
3026
|
+
function cn40(...classes) {
|
|
2966
3027
|
return classes.filter(Boolean).join(" ");
|
|
2967
3028
|
}
|
|
2968
3029
|
var ANIM_ID3 = "mosaic-dashboard-kf";
|
|
@@ -3052,7 +3113,7 @@ function MosaicDashboardLayout({
|
|
|
3052
3113
|
{
|
|
3053
3114
|
ref,
|
|
3054
3115
|
"data-slot": "dashboard-layout",
|
|
3055
|
-
className:
|
|
3116
|
+
className: cn40("flex h-screen w-full bg-background", className),
|
|
3056
3117
|
children: [
|
|
3057
3118
|
!isMobile && /* @__PURE__ */ jsx(
|
|
3058
3119
|
MosaicAppSidebar,
|
|
@@ -3076,7 +3137,7 @@ function MosaicDashboardLayout({
|
|
|
3076
3137
|
type: "button",
|
|
3077
3138
|
"aria-label": "Open navigation",
|
|
3078
3139
|
onClick: () => setIsMobileSidebarOpen(true),
|
|
3079
|
-
className:
|
|
3140
|
+
className: cn40(
|
|
3080
3141
|
"flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
|
|
3081
3142
|
"text-foreground transition-colors hover:bg-muted",
|
|
3082
3143
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -3128,7 +3189,7 @@ function MosaicDashboardLayout({
|
|
|
3128
3189
|
);
|
|
3129
3190
|
}
|
|
3130
3191
|
MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
|
|
3131
|
-
function
|
|
3192
|
+
function cn41(...classes) {
|
|
3132
3193
|
return classes.filter(Boolean).join(" ");
|
|
3133
3194
|
}
|
|
3134
3195
|
var ANIM_ID4 = "mosaic-quick-action-kf";
|
|
@@ -3183,7 +3244,7 @@ function MosaicQuickActionCard({
|
|
|
3183
3244
|
{
|
|
3184
3245
|
ref,
|
|
3185
3246
|
"data-slot": "quick-action-card",
|
|
3186
|
-
className:
|
|
3247
|
+
className: cn41("rounded-xl border border-border bg-card", className),
|
|
3187
3248
|
children: [
|
|
3188
3249
|
heading && /* @__PURE__ */ jsx("div", { className: "border-b border-border px-6 py-4", children: /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }) }),
|
|
3189
3250
|
/* @__PURE__ */ jsx(
|
|
@@ -3208,7 +3269,7 @@ function MosaicQuickActionCard({
|
|
|
3208
3269
|
/* @__PURE__ */ jsxs(
|
|
3209
3270
|
"div",
|
|
3210
3271
|
{
|
|
3211
|
-
className:
|
|
3272
|
+
className: cn41(
|
|
3212
3273
|
"flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
|
|
3213
3274
|
"transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
|
|
3214
3275
|
accentClass
|
|
@@ -3241,7 +3302,7 @@ function MosaicQuickActionCard({
|
|
|
3241
3302
|
);
|
|
3242
3303
|
}
|
|
3243
3304
|
MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
|
|
3244
|
-
function
|
|
3305
|
+
function cn42(...classes) {
|
|
3245
3306
|
return classes.filter(Boolean).join(" ");
|
|
3246
3307
|
}
|
|
3247
3308
|
var ANIM_ID5 = "mosaic-activity-feed-kf";
|
|
@@ -3330,7 +3391,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3330
3391
|
"div",
|
|
3331
3392
|
{
|
|
3332
3393
|
"data-slot": "activity-item",
|
|
3333
|
-
className:
|
|
3394
|
+
className: cn42(
|
|
3334
3395
|
"flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
|
|
3335
3396
|
className
|
|
3336
3397
|
),
|
|
@@ -3364,7 +3425,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3364
3425
|
/* @__PURE__ */ jsx(
|
|
3365
3426
|
"span",
|
|
3366
3427
|
{
|
|
3367
|
-
className:
|
|
3428
|
+
className: cn42(
|
|
3368
3429
|
"rounded-full px-2 py-0.5 text-xs font-medium",
|
|
3369
3430
|
getStatusClass(activity.status)
|
|
3370
3431
|
),
|
|
@@ -3405,7 +3466,7 @@ function MosaicActivityFeed({
|
|
|
3405
3466
|
{
|
|
3406
3467
|
ref,
|
|
3407
3468
|
"data-slot": "activity-feed",
|
|
3408
|
-
className:
|
|
3469
|
+
className: cn42("rounded-xl border border-border bg-card", className),
|
|
3409
3470
|
children: [
|
|
3410
3471
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
3411
3472
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
|
|
@@ -3431,7 +3492,7 @@ function MosaicActivityFeed({
|
|
|
3431
3492
|
);
|
|
3432
3493
|
}
|
|
3433
3494
|
MosaicActivityFeed.displayName = "MosaicActivityFeed";
|
|
3434
|
-
function
|
|
3495
|
+
function cn43(...classes) {
|
|
3435
3496
|
return classes.filter(Boolean).join(" ");
|
|
3436
3497
|
}
|
|
3437
3498
|
function SparklesIcon() {
|
|
@@ -3640,7 +3701,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3640
3701
|
value: agentName,
|
|
3641
3702
|
onChange: (e) => onAgentNameChange(e.target.value),
|
|
3642
3703
|
placeholder: "Enter agent name\u2026",
|
|
3643
|
-
className:
|
|
3704
|
+
className: cn43(
|
|
3644
3705
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3645
3706
|
"placeholder:text-muted-foreground",
|
|
3646
3707
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3741,7 +3802,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3741
3802
|
onChange: (e) => onCustomInstructionsChange(e.target.value),
|
|
3742
3803
|
placeholder: "Add any specific instructions or behaviors\u2026",
|
|
3743
3804
|
rows: 5,
|
|
3744
|
-
className:
|
|
3805
|
+
className: cn43(
|
|
3745
3806
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
3746
3807
|
"placeholder:text-muted-foreground",
|
|
3747
3808
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -3809,7 +3870,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3809
3870
|
/* @__PURE__ */ jsx(SparklesIcon, {}),
|
|
3810
3871
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
|
|
3811
3872
|
] }) }),
|
|
3812
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3873
|
+
/* @__PURE__ */ jsxs("div", { className: cn43("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
|
|
3813
3874
|
isEditMode && onCancel && /* @__PURE__ */ jsx(
|
|
3814
3875
|
"button",
|
|
3815
3876
|
{
|
|
@@ -3825,7 +3886,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3825
3886
|
type: "button",
|
|
3826
3887
|
onClick: onSave,
|
|
3827
3888
|
disabled: !canSave,
|
|
3828
|
-
className:
|
|
3889
|
+
className: cn43(
|
|
3829
3890
|
"flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
|
|
3830
3891
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3831
3892
|
"bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -3846,7 +3907,7 @@ function MosaicAgentComposerDesktop({
|
|
|
3846
3907
|
] });
|
|
3847
3908
|
}
|
|
3848
3909
|
MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
|
|
3849
|
-
function
|
|
3910
|
+
function cn44(...classes) {
|
|
3850
3911
|
return classes.filter(Boolean).join(" ");
|
|
3851
3912
|
}
|
|
3852
3913
|
function SparklesIcon2() {
|
|
@@ -4102,7 +4163,7 @@ function MosaicAgentComposerMobile({
|
|
|
4102
4163
|
disabled: isLoading,
|
|
4103
4164
|
"aria-required": "true",
|
|
4104
4165
|
"aria-invalid": canSave && !agentName ? "true" : "false",
|
|
4105
|
-
className:
|
|
4166
|
+
className: cn44(
|
|
4106
4167
|
"flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4107
4168
|
"placeholder:text-muted-foreground",
|
|
4108
4169
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4206,7 +4267,7 @@ function MosaicAgentComposerMobile({
|
|
|
4206
4267
|
disabled: isLoading,
|
|
4207
4268
|
"aria-describedby": `${instructionsId}-help`,
|
|
4208
4269
|
rows: 4,
|
|
4209
|
-
className:
|
|
4270
|
+
className: cn44(
|
|
4210
4271
|
"flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
|
|
4211
4272
|
"placeholder:text-muted-foreground",
|
|
4212
4273
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4262,7 +4323,7 @@ function MosaicAgentComposer(props) {
|
|
|
4262
4323
|
return isMobile ? /* @__PURE__ */ jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsx(MosaicAgentComposerDesktop, { ...props });
|
|
4263
4324
|
}
|
|
4264
4325
|
MosaicAgentComposer.displayName = "MosaicAgentComposer";
|
|
4265
|
-
function
|
|
4326
|
+
function cn45(...classes) {
|
|
4266
4327
|
return classes.filter(Boolean).join(" ");
|
|
4267
4328
|
}
|
|
4268
4329
|
function EditIcon() {
|
|
@@ -4320,7 +4381,7 @@ function MosaicModuleCard({
|
|
|
4320
4381
|
{
|
|
4321
4382
|
ref,
|
|
4322
4383
|
"data-slot": "module-card",
|
|
4323
|
-
className:
|
|
4384
|
+
className: cn45(
|
|
4324
4385
|
"min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
|
|
4325
4386
|
"flex items-start gap-3",
|
|
4326
4387
|
isSelected && "ring-2 ring-primary bg-primary/5",
|
|
@@ -4382,7 +4443,7 @@ function MosaicThemeProvider({
|
|
|
4382
4443
|
return /* @__PURE__ */ jsx("div", { "data-slot": "theme-provider", children });
|
|
4383
4444
|
}
|
|
4384
4445
|
MosaicThemeProvider.displayName = "MosaicThemeProvider";
|
|
4385
|
-
function
|
|
4446
|
+
function cn46(...classes) {
|
|
4386
4447
|
return classes.filter(Boolean).join(" ");
|
|
4387
4448
|
}
|
|
4388
4449
|
var ANIM_ID6 = "mosaic-delete-dialog-kf";
|
|
@@ -4436,14 +4497,14 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4436
4497
|
/* @__PURE__ */ jsx(
|
|
4437
4498
|
AlertDialog.Backdrop,
|
|
4438
4499
|
{
|
|
4439
|
-
className:
|
|
4500
|
+
className: cn46("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
|
|
4440
4501
|
}
|
|
4441
4502
|
),
|
|
4442
4503
|
/* @__PURE__ */ jsxs(
|
|
4443
4504
|
AlertDialog.Popup,
|
|
4444
4505
|
{
|
|
4445
4506
|
"data-slot": "delete-confirmation-dialog",
|
|
4446
|
-
className:
|
|
4507
|
+
className: cn46(
|
|
4447
4508
|
"mosaic-delete-content",
|
|
4448
4509
|
"fixed left-1/2 top-1/2 z-50",
|
|
4449
4510
|
"w-full max-w-[92vw] sm:max-w-md",
|
|
@@ -4456,7 +4517,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4456
4517
|
/* @__PURE__ */ jsx(
|
|
4457
4518
|
AlertDialog.Close,
|
|
4458
4519
|
{
|
|
4459
|
-
className:
|
|
4520
|
+
className: cn46(
|
|
4460
4521
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
4461
4522
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4462
4523
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4470,7 +4531,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4470
4531
|
AlertDialog.Close,
|
|
4471
4532
|
{
|
|
4472
4533
|
onClick: onConfirm,
|
|
4473
|
-
className:
|
|
4534
|
+
className: cn46(
|
|
4474
4535
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
|
|
4475
4536
|
"bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
|
|
4476
4537
|
"hover:bg-destructive/90",
|
|
@@ -4487,7 +4548,7 @@ function MosaicDeleteConfirmationDialog({
|
|
|
4487
4548
|
] }) });
|
|
4488
4549
|
}
|
|
4489
4550
|
MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
|
|
4490
|
-
function
|
|
4551
|
+
function cn47(...classes) {
|
|
4491
4552
|
return classes.filter(Boolean).join(" ");
|
|
4492
4553
|
}
|
|
4493
4554
|
function Toggle({
|
|
@@ -4503,7 +4564,7 @@ function Toggle({
|
|
|
4503
4564
|
id,
|
|
4504
4565
|
"aria-checked": checked,
|
|
4505
4566
|
onClick: () => onChange(!checked),
|
|
4506
|
-
className:
|
|
4567
|
+
className: cn47(
|
|
4507
4568
|
"relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
|
|
4508
4569
|
"transition-colors duration-200 ease-in-out",
|
|
4509
4570
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
@@ -4512,7 +4573,7 @@ function Toggle({
|
|
|
4512
4573
|
children: /* @__PURE__ */ jsx(
|
|
4513
4574
|
"span",
|
|
4514
4575
|
{
|
|
4515
|
-
className:
|
|
4576
|
+
className: cn47(
|
|
4516
4577
|
"pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
|
|
4517
4578
|
"transform transition duration-200 ease-in-out",
|
|
4518
4579
|
checked ? "translate-x-5" : "translate-x-0"
|
|
@@ -4534,7 +4595,7 @@ function NativeSelect({
|
|
|
4534
4595
|
id,
|
|
4535
4596
|
value,
|
|
4536
4597
|
onChange: (e) => onChange(e.target.value),
|
|
4537
|
-
className:
|
|
4598
|
+
className: cn47(
|
|
4538
4599
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4539
4600
|
"text-sm text-foreground",
|
|
4540
4601
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4553,7 +4614,7 @@ function MosaicPreferencesPanel({
|
|
|
4553
4614
|
className
|
|
4554
4615
|
}) {
|
|
4555
4616
|
const { isMobile } = useDevice();
|
|
4556
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className:
|
|
4617
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
|
|
4557
4618
|
groups.map((group) => /* @__PURE__ */ jsxs(
|
|
4558
4619
|
"div",
|
|
4559
4620
|
{
|
|
@@ -4596,13 +4657,13 @@ function MosaicPreferencesPanel({
|
|
|
4596
4657
|
},
|
|
4597
4658
|
group.id
|
|
4598
4659
|
)),
|
|
4599
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4660
|
+
/* @__PURE__ */ jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4600
4661
|
"button",
|
|
4601
4662
|
{
|
|
4602
4663
|
type: "button",
|
|
4603
4664
|
onClick: onSave,
|
|
4604
4665
|
disabled: isSaving,
|
|
4605
|
-
className:
|
|
4666
|
+
className: cn47(
|
|
4606
4667
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4607
4668
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4608
4669
|
"hover:bg-primary/90",
|
|
@@ -4638,7 +4699,7 @@ function MosaicPreferencesPanel({
|
|
|
4638
4699
|
] });
|
|
4639
4700
|
}
|
|
4640
4701
|
MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
|
|
4641
|
-
function
|
|
4702
|
+
function cn48(...classes) {
|
|
4642
4703
|
return classes.filter(Boolean).join(" ");
|
|
4643
4704
|
}
|
|
4644
4705
|
function AvatarDisplay({
|
|
@@ -4651,7 +4712,7 @@ function AvatarDisplay({
|
|
|
4651
4712
|
return /* @__PURE__ */ jsx(
|
|
4652
4713
|
"span",
|
|
4653
4714
|
{
|
|
4654
|
-
className:
|
|
4715
|
+
className: cn48(
|
|
4655
4716
|
"inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
|
|
4656
4717
|
sizeClass
|
|
4657
4718
|
),
|
|
@@ -4673,7 +4734,7 @@ function MosaicProfilePanel({
|
|
|
4673
4734
|
className
|
|
4674
4735
|
}) {
|
|
4675
4736
|
const { isMobile } = useDevice();
|
|
4676
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className:
|
|
4737
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className: cn48("space-y-4 md:space-y-6", className), children: [
|
|
4677
4738
|
/* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
|
|
4678
4739
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
|
|
4679
4740
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
|
|
@@ -4693,7 +4754,7 @@ function MosaicProfilePanel({
|
|
|
4693
4754
|
{
|
|
4694
4755
|
type: "button",
|
|
4695
4756
|
onClick: onAvatarUpload,
|
|
4696
|
-
className:
|
|
4757
|
+
className: cn48(
|
|
4697
4758
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
|
|
4698
4759
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4699
4760
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4743,7 +4804,7 @@ function MosaicProfilePanel({
|
|
|
4743
4804
|
placeholder: field.placeholder,
|
|
4744
4805
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4745
4806
|
rows: 4,
|
|
4746
|
-
className:
|
|
4807
|
+
className: cn48(
|
|
4747
4808
|
"flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4748
4809
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4749
4810
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4759,7 +4820,7 @@ function MosaicProfilePanel({
|
|
|
4759
4820
|
readOnly: field.readOnly,
|
|
4760
4821
|
placeholder: field.placeholder,
|
|
4761
4822
|
onChange: (e) => onFieldChange?.(field.id, e.target.value),
|
|
4762
|
-
className:
|
|
4823
|
+
className: cn48(
|
|
4763
4824
|
"flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
|
|
4764
4825
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
4765
4826
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -4779,7 +4840,7 @@ function MosaicProfilePanel({
|
|
|
4779
4840
|
{
|
|
4780
4841
|
type: "button",
|
|
4781
4842
|
onClick: onChangePassword,
|
|
4782
|
-
className:
|
|
4843
|
+
className: cn48(
|
|
4783
4844
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
4784
4845
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
4785
4846
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -4791,13 +4852,13 @@ function MosaicProfilePanel({
|
|
|
4791
4852
|
) })
|
|
4792
4853
|
] }),
|
|
4793
4854
|
extraSections,
|
|
4794
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4855
|
+
/* @__PURE__ */ jsx("div", { className: cn48("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
|
|
4795
4856
|
"button",
|
|
4796
4857
|
{
|
|
4797
4858
|
type: "button",
|
|
4798
4859
|
onClick: onSave,
|
|
4799
4860
|
disabled: isSaving,
|
|
4800
|
-
className:
|
|
4861
|
+
className: cn48(
|
|
4801
4862
|
"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
|
|
4802
4863
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
4803
4864
|
"hover:bg-primary/90",
|
|
@@ -4833,7 +4894,7 @@ function MosaicProfilePanel({
|
|
|
4833
4894
|
] });
|
|
4834
4895
|
}
|
|
4835
4896
|
MosaicProfilePanel.displayName = "MosaicProfilePanel";
|
|
4836
|
-
function
|
|
4897
|
+
function cn49(...classes) {
|
|
4837
4898
|
return classes.filter(Boolean).join(" ");
|
|
4838
4899
|
}
|
|
4839
4900
|
var ANIM_ID7 = "mosaic-main-nav-kf";
|
|
@@ -4941,7 +5002,7 @@ function MosaicMainNav({
|
|
|
4941
5002
|
{
|
|
4942
5003
|
type: "button",
|
|
4943
5004
|
onClick: () => setIsOpen(!isOpen),
|
|
4944
|
-
className:
|
|
5005
|
+
className: cn49(
|
|
4945
5006
|
"inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
|
|
4946
5007
|
"text-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4947
5008
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4967,7 +5028,7 @@ function MosaicMainNav({
|
|
|
4967
5028
|
"aria-label": "Navigation",
|
|
4968
5029
|
open: isOpen,
|
|
4969
5030
|
"data-open": isOpen ? "true" : "false",
|
|
4970
|
-
className:
|
|
5031
|
+
className: cn49(
|
|
4971
5032
|
"mosaic-nav-drawer",
|
|
4972
5033
|
"fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
|
|
4973
5034
|
"border-r border-border bg-background shadow-xl",
|
|
@@ -4984,7 +5045,7 @@ function MosaicMainNav({
|
|
|
4984
5045
|
{
|
|
4985
5046
|
type: "button",
|
|
4986
5047
|
onClick: () => setIsOpen(false),
|
|
4987
|
-
className:
|
|
5048
|
+
className: cn49(
|
|
4988
5049
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
4989
5050
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4990
5051
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -4997,7 +5058,7 @@ function MosaicMainNav({
|
|
|
4997
5058
|
/* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
|
|
4998
5059
|
const Icon = item.icon;
|
|
4999
5060
|
const active = isItemActive(item);
|
|
5000
|
-
const itemClass =
|
|
5061
|
+
const itemClass = cn49(
|
|
5001
5062
|
"flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
|
|
5002
5063
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5003
5064
|
"min-h-[44px]",
|
|
@@ -5023,12 +5084,12 @@ function MosaicMainNav({
|
|
|
5023
5084
|
"nav",
|
|
5024
5085
|
{
|
|
5025
5086
|
"data-slot": "main-nav",
|
|
5026
|
-
className:
|
|
5087
|
+
className: cn49("flex items-center gap-1", className),
|
|
5027
5088
|
"aria-label": "Main navigation",
|
|
5028
5089
|
children: filteredItems.map((item) => {
|
|
5029
5090
|
const Icon = item.icon;
|
|
5030
5091
|
const active = isItemActive(item);
|
|
5031
|
-
const itemClass =
|
|
5092
|
+
const itemClass = cn49(
|
|
5032
5093
|
"flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
|
5033
5094
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5034
5095
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -5048,7 +5109,7 @@ function MosaicMainNav({
|
|
|
5048
5109
|
);
|
|
5049
5110
|
}
|
|
5050
5111
|
MosaicMainNav.displayName = "MosaicMainNav";
|
|
5051
|
-
function
|
|
5112
|
+
function cn50(...classes) {
|
|
5052
5113
|
return classes.filter(Boolean).join(" ");
|
|
5053
5114
|
}
|
|
5054
5115
|
function MoreVertIcon() {
|
|
@@ -5179,7 +5240,7 @@ function MosaicAgentCard({
|
|
|
5179
5240
|
"div",
|
|
5180
5241
|
{
|
|
5181
5242
|
"data-slot": "agent-card",
|
|
5182
|
-
className:
|
|
5243
|
+
className: cn50(
|
|
5183
5244
|
"relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
|
|
5184
5245
|
"transition-shadow hover:shadow-md",
|
|
5185
5246
|
agent.isActive && "ring-2 ring-primary",
|
|
@@ -5189,7 +5250,7 @@ function MosaicAgentCard({
|
|
|
5189
5250
|
/* @__PURE__ */ jsx(
|
|
5190
5251
|
"div",
|
|
5191
5252
|
{
|
|
5192
|
-
className:
|
|
5253
|
+
className: cn50(
|
|
5193
5254
|
"absolute left-0 top-0 h-1 w-full",
|
|
5194
5255
|
agent.isActive ? "bg-primary" : "bg-muted"
|
|
5195
5256
|
)
|
|
@@ -5201,7 +5262,7 @@ function MosaicAgentCard({
|
|
|
5201
5262
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5202
5263
|
"span",
|
|
5203
5264
|
{
|
|
5204
|
-
className:
|
|
5265
|
+
className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5205
5266
|
"aria-hidden": "true"
|
|
5206
5267
|
}
|
|
5207
5268
|
),
|
|
@@ -5219,7 +5280,7 @@ function MosaicAgentCard({
|
|
|
5219
5280
|
{
|
|
5220
5281
|
type: "button",
|
|
5221
5282
|
onClick: () => setMenuOpen((v) => !v),
|
|
5222
|
-
className:
|
|
5283
|
+
className: cn50(
|
|
5223
5284
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
5224
5285
|
"text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5225
5286
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5234,7 +5295,7 @@ function MosaicAgentCard({
|
|
|
5234
5295
|
"div",
|
|
5235
5296
|
{
|
|
5236
5297
|
role: "menu",
|
|
5237
|
-
className:
|
|
5298
|
+
className: cn50(
|
|
5238
5299
|
"absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
|
|
5239
5300
|
"bg-popover py-1 shadow-md"
|
|
5240
5301
|
),
|
|
@@ -5249,7 +5310,7 @@ function MosaicAgentCard({
|
|
|
5249
5310
|
onToggleStatus(agent.id);
|
|
5250
5311
|
setMenuOpen(false);
|
|
5251
5312
|
},
|
|
5252
|
-
className:
|
|
5313
|
+
className: cn50(
|
|
5253
5314
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
5254
5315
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5255
5316
|
"disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -5311,7 +5372,7 @@ function MosaicAgentCard({
|
|
|
5311
5372
|
type: "button",
|
|
5312
5373
|
disabled: isLoading,
|
|
5313
5374
|
onClick: () => onToggleStatus(agent.id),
|
|
5314
|
-
className:
|
|
5375
|
+
className: cn50(
|
|
5315
5376
|
"inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
|
|
5316
5377
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5317
5378
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -5327,7 +5388,7 @@ function MosaicAgentCard({
|
|
|
5327
5388
|
);
|
|
5328
5389
|
}
|
|
5329
5390
|
MosaicAgentCard.displayName = "MosaicAgentCard";
|
|
5330
|
-
function
|
|
5391
|
+
function cn51(...classes) {
|
|
5331
5392
|
return classes.filter(Boolean).join(" ");
|
|
5332
5393
|
}
|
|
5333
5394
|
function PlusIcon3() {
|
|
@@ -5407,7 +5468,7 @@ function PickerContent({
|
|
|
5407
5468
|
{
|
|
5408
5469
|
type: "button",
|
|
5409
5470
|
onClick: () => onAdd(agent.id),
|
|
5410
|
-
className:
|
|
5471
|
+
className: cn51(
|
|
5411
5472
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5412
5473
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5413
5474
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5416,7 +5477,7 @@ function PickerContent({
|
|
|
5416
5477
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5417
5478
|
"span",
|
|
5418
5479
|
{
|
|
5419
|
-
className:
|
|
5480
|
+
className: cn51("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
|
|
5420
5481
|
"aria-hidden": "true"
|
|
5421
5482
|
}
|
|
5422
5483
|
),
|
|
@@ -5433,7 +5494,7 @@ function PickerContent({
|
|
|
5433
5494
|
{
|
|
5434
5495
|
type: "button",
|
|
5435
5496
|
onClick: onOpenBuilder,
|
|
5436
|
-
className:
|
|
5497
|
+
className: cn51(
|
|
5437
5498
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
|
|
5438
5499
|
"hover:bg-accent hover:text-accent-foreground",
|
|
5439
5500
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5483,11 +5544,11 @@ function MosaicQuickAgentSelector({
|
|
|
5483
5544
|
setPickerOpen(false);
|
|
5484
5545
|
};
|
|
5485
5546
|
const canAdd = selectedAgents.length < maxAgents;
|
|
5486
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className:
|
|
5547
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className: cn51("flex items-center gap-2", className), children: [
|
|
5487
5548
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxs(
|
|
5488
5549
|
"div",
|
|
5489
5550
|
{
|
|
5490
|
-
className:
|
|
5551
|
+
className: cn51(
|
|
5491
5552
|
"group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
|
|
5492
5553
|
isMobile ? "px-2 py-1" : "px-3 py-1.5"
|
|
5493
5554
|
),
|
|
@@ -5495,17 +5556,17 @@ function MosaicQuickAgentSelector({
|
|
|
5495
5556
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
5496
5557
|
"span",
|
|
5497
5558
|
{
|
|
5498
|
-
className:
|
|
5559
|
+
className: cn51("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
|
|
5499
5560
|
"aria-hidden": "true"
|
|
5500
5561
|
}
|
|
5501
5562
|
),
|
|
5502
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5563
|
+
/* @__PURE__ */ jsx("span", { className: cn51("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
|
|
5503
5564
|
/* @__PURE__ */ jsx(
|
|
5504
5565
|
"button",
|
|
5505
5566
|
{
|
|
5506
5567
|
type: "button",
|
|
5507
5568
|
onClick: () => onRemoveAgent(agent.id),
|
|
5508
|
-
className:
|
|
5569
|
+
className: cn51(
|
|
5509
5570
|
"inline-flex h-4 w-4 items-center justify-center rounded",
|
|
5510
5571
|
"text-muted-foreground hover:text-foreground",
|
|
5511
5572
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -5525,7 +5586,7 @@ function MosaicQuickAgentSelector({
|
|
|
5525
5586
|
{
|
|
5526
5587
|
type: "button",
|
|
5527
5588
|
onClick: () => setPickerOpen((v) => !v),
|
|
5528
|
-
className:
|
|
5589
|
+
className: cn51(
|
|
5529
5590
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
5530
5591
|
"px-3 py-1.5 text-sm font-medium text-foreground",
|
|
5531
5592
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5540,7 +5601,7 @@ function MosaicQuickAgentSelector({
|
|
|
5540
5601
|
!isMobile && pickerOpen && /* @__PURE__ */ jsx(
|
|
5541
5602
|
"div",
|
|
5542
5603
|
{
|
|
5543
|
-
className:
|
|
5604
|
+
className: cn51(
|
|
5544
5605
|
"absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
|
|
5545
5606
|
"bg-popover shadow-lg"
|
|
5546
5607
|
),
|
|
@@ -5582,7 +5643,7 @@ function MosaicQuickAgentSelector({
|
|
|
5582
5643
|
/* @__PURE__ */ jsxs(
|
|
5583
5644
|
"span",
|
|
5584
5645
|
{
|
|
5585
|
-
className:
|
|
5646
|
+
className: cn51(
|
|
5586
5647
|
"shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
|
|
5587
5648
|
),
|
|
5588
5649
|
children: [
|
|
@@ -5595,7 +5656,7 @@ function MosaicQuickAgentSelector({
|
|
|
5595
5656
|
] });
|
|
5596
5657
|
}
|
|
5597
5658
|
MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
|
|
5598
|
-
function
|
|
5659
|
+
function cn52(...classes) {
|
|
5599
5660
|
return classes.filter(Boolean).join(" ");
|
|
5600
5661
|
}
|
|
5601
5662
|
function SearchIcon() {
|
|
@@ -5685,7 +5746,7 @@ function MosaicSelectorModal({
|
|
|
5685
5746
|
value: query,
|
|
5686
5747
|
onChange: (e) => setQuery(e.target.value),
|
|
5687
5748
|
placeholder: searchPlaceholder,
|
|
5688
|
-
className:
|
|
5749
|
+
className: cn52(
|
|
5689
5750
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
5690
5751
|
"text-sm text-foreground placeholder:text-muted-foreground",
|
|
5691
5752
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -5699,7 +5760,7 @@ function MosaicSelectorModal({
|
|
|
5699
5760
|
{
|
|
5700
5761
|
type: "button",
|
|
5701
5762
|
onClick: () => setActiveCategory("all"),
|
|
5702
|
-
className:
|
|
5763
|
+
className: cn52(
|
|
5703
5764
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5704
5765
|
activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5705
5766
|
),
|
|
@@ -5711,7 +5772,7 @@ function MosaicSelectorModal({
|
|
|
5711
5772
|
{
|
|
5712
5773
|
type: "button",
|
|
5713
5774
|
onClick: () => setActiveCategory(cat.id),
|
|
5714
|
-
className:
|
|
5775
|
+
className: cn52(
|
|
5715
5776
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
5716
5777
|
activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
5717
5778
|
),
|
|
@@ -5723,7 +5784,7 @@ function MosaicSelectorModal({
|
|
|
5723
5784
|
/* @__PURE__ */ jsxs(
|
|
5724
5785
|
"div",
|
|
5725
5786
|
{
|
|
5726
|
-
className:
|
|
5787
|
+
className: cn52(
|
|
5727
5788
|
"max-h-[50vh] overflow-y-auto",
|
|
5728
5789
|
columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
|
|
5729
5790
|
),
|
|
@@ -5735,7 +5796,7 @@ function MosaicSelectorModal({
|
|
|
5735
5796
|
{
|
|
5736
5797
|
type: "button",
|
|
5737
5798
|
onClick: () => setPendingId(item.id),
|
|
5738
|
-
className:
|
|
5799
|
+
className: cn52(
|
|
5739
5800
|
"group relative rounded-lg border p-4 text-left transition-all duration-150",
|
|
5740
5801
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
5741
5802
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
|
|
@@ -5773,7 +5834,7 @@ function MosaicSelectorModal({
|
|
|
5773
5834
|
{
|
|
5774
5835
|
type: "button",
|
|
5775
5836
|
onClick: onClose,
|
|
5776
|
-
className:
|
|
5837
|
+
className: cn52(
|
|
5777
5838
|
"inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
|
|
5778
5839
|
"bg-background px-4 py-2 text-sm font-medium text-foreground",
|
|
5779
5840
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -5788,7 +5849,7 @@ function MosaicSelectorModal({
|
|
|
5788
5849
|
type: "button",
|
|
5789
5850
|
onClick: handleConfirm,
|
|
5790
5851
|
disabled: !pendingItem,
|
|
5791
|
-
className:
|
|
5852
|
+
className: cn52(
|
|
5792
5853
|
"inline-flex min-h-[44px] items-center justify-center rounded-md",
|
|
5793
5854
|
"bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
5794
5855
|
"hover:bg-primary/90",
|
|
@@ -5802,7 +5863,7 @@ function MosaicSelectorModal({
|
|
|
5802
5863
|
] }) });
|
|
5803
5864
|
}
|
|
5804
5865
|
MosaicSelectorModal.displayName = "MosaicSelectorModal";
|
|
5805
|
-
function
|
|
5866
|
+
function cn53(...classes) {
|
|
5806
5867
|
return classes.filter(Boolean).join(" ");
|
|
5807
5868
|
}
|
|
5808
5869
|
function relativeTime(ts) {
|
|
@@ -6051,7 +6112,7 @@ function MosaicMessageCard({
|
|
|
6051
6112
|
"div",
|
|
6052
6113
|
{
|
|
6053
6114
|
"data-slot": "message-card",
|
|
6054
|
-
className:
|
|
6115
|
+
className: cn53(
|
|
6055
6116
|
"rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
|
|
6056
6117
|
compact && "p-3",
|
|
6057
6118
|
message.sender.type === "user" && "bg-primary/5",
|
|
@@ -6061,7 +6122,7 @@ function MosaicMessageCard({
|
|
|
6061
6122
|
/* @__PURE__ */ jsx(
|
|
6062
6123
|
"span",
|
|
6063
6124
|
{
|
|
6064
|
-
className:
|
|
6125
|
+
className: cn53(
|
|
6065
6126
|
"inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
|
|
6066
6127
|
compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
|
|
6067
6128
|
message.sender.accentColor ?? "bg-muted text-muted-foreground"
|
|
@@ -6079,7 +6140,7 @@ function MosaicMessageCard({
|
|
|
6079
6140
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6080
6141
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
|
|
6081
6142
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6082
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
6143
|
+
/* @__PURE__ */ jsx("span", { className: cn53("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
|
|
6083
6144
|
message.sender.type === "ai" && /* @__PURE__ */ jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
|
|
6084
6145
|
] }),
|
|
6085
6146
|
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
|
|
@@ -6087,7 +6148,7 @@ function MosaicMessageCard({
|
|
|
6087
6148
|
/* @__PURE__ */ jsx(
|
|
6088
6149
|
"p",
|
|
6089
6150
|
{
|
|
6090
|
-
className:
|
|
6151
|
+
className: cn53(
|
|
6091
6152
|
"leading-relaxed text-foreground mb-3",
|
|
6092
6153
|
compact ? "text-sm" : "text-base"
|
|
6093
6154
|
),
|
|
@@ -6102,7 +6163,7 @@ function MosaicMessageCard({
|
|
|
6102
6163
|
{
|
|
6103
6164
|
type: "button",
|
|
6104
6165
|
onClick: handleLike,
|
|
6105
|
-
className:
|
|
6166
|
+
className: cn53(
|
|
6106
6167
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6107
6168
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6108
6169
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6120,7 +6181,7 @@ function MosaicMessageCard({
|
|
|
6120
6181
|
{
|
|
6121
6182
|
type: "button",
|
|
6122
6183
|
onClick: handleDislike,
|
|
6123
|
-
className:
|
|
6184
|
+
className: cn53(
|
|
6124
6185
|
"inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
|
|
6125
6186
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6126
6187
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6165,7 +6226,7 @@ function MosaicMessageCard({
|
|
|
6165
6226
|
{
|
|
6166
6227
|
type: "button",
|
|
6167
6228
|
onClick: handleBookmark,
|
|
6168
|
-
className:
|
|
6229
|
+
className: cn53(
|
|
6169
6230
|
"inline-flex h-8 w-8 items-center justify-center rounded-md",
|
|
6170
6231
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6171
6232
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
@@ -6266,7 +6327,7 @@ function MosaicMessageCard({
|
|
|
6266
6327
|
);
|
|
6267
6328
|
}
|
|
6268
6329
|
MosaicMessageCard.displayName = "MosaicMessageCard";
|
|
6269
|
-
function
|
|
6330
|
+
function cn54(...classes) {
|
|
6270
6331
|
return classes.filter(Boolean).join(" ");
|
|
6271
6332
|
}
|
|
6272
6333
|
function SearchIcon2() {
|
|
@@ -6306,7 +6367,7 @@ function MessageListDesktop({
|
|
|
6306
6367
|
const filtered = query ? messages.filter(
|
|
6307
6368
|
(m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
|
|
6308
6369
|
) : messages;
|
|
6309
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className:
|
|
6370
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className: cn54("flex h-full flex-col", className), children: [
|
|
6310
6371
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
6311
6372
|
title && /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: title }),
|
|
6312
6373
|
/* @__PURE__ */ jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
|
|
@@ -6318,7 +6379,7 @@ function MessageListDesktop({
|
|
|
6318
6379
|
value: query,
|
|
6319
6380
|
onChange: (e) => setQuery(e.target.value),
|
|
6320
6381
|
placeholder: "Search messages\u2026",
|
|
6321
|
-
className:
|
|
6382
|
+
className: cn54(
|
|
6322
6383
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6323
6384
|
"text-sm placeholder:text-muted-foreground",
|
|
6324
6385
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6347,7 +6408,7 @@ function MessageListDesktop({
|
|
|
6347
6408
|
{
|
|
6348
6409
|
type: "button",
|
|
6349
6410
|
onClick: onLoadMore,
|
|
6350
|
-
className:
|
|
6411
|
+
className: cn54(
|
|
6351
6412
|
"w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6352
6413
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6353
6414
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6369,7 +6430,7 @@ function MessageListMobile({
|
|
|
6369
6430
|
isLoading,
|
|
6370
6431
|
className
|
|
6371
6432
|
}) {
|
|
6372
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className:
|
|
6433
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className: cn54("flex flex-col", className), children: [
|
|
6373
6434
|
title && /* @__PURE__ */ jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsx("h2", { className: "text-base font-semibold", children: title }) }),
|
|
6374
6435
|
/* @__PURE__ */ jsxs("div", { className: "space-y-3 p-4", children: [
|
|
6375
6436
|
isLoading && /* @__PURE__ */ jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
|
|
@@ -6392,7 +6453,7 @@ function MessageListMobile({
|
|
|
6392
6453
|
{
|
|
6393
6454
|
type: "button",
|
|
6394
6455
|
onClick: onLoadMore,
|
|
6395
|
-
className:
|
|
6456
|
+
className: cn54(
|
|
6396
6457
|
"w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
|
|
6397
6458
|
"hover:bg-accent hover:text-accent-foreground",
|
|
6398
6459
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6407,7 +6468,7 @@ function MosaicMessageList(props) {
|
|
|
6407
6468
|
return isMobile ? /* @__PURE__ */ jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsx(MessageListDesktop, { ...props });
|
|
6408
6469
|
}
|
|
6409
6470
|
MosaicMessageList.displayName = "MosaicMessageList";
|
|
6410
|
-
function
|
|
6471
|
+
function cn55(...classes) {
|
|
6411
6472
|
return classes.filter(Boolean).join(" ");
|
|
6412
6473
|
}
|
|
6413
6474
|
function ChevronLeftIcon2() {
|
|
@@ -6483,7 +6544,7 @@ function MosaicFilterSidebar({
|
|
|
6483
6544
|
{
|
|
6484
6545
|
"data-slot": "filter-sidebar",
|
|
6485
6546
|
style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
|
|
6486
|
-
className:
|
|
6547
|
+
className: cn55(
|
|
6487
6548
|
"relative flex flex-col border-r border-border bg-card",
|
|
6488
6549
|
"transition-[width] duration-200 ease-in-out",
|
|
6489
6550
|
"overflow-hidden",
|
|
@@ -6495,7 +6556,7 @@ function MosaicFilterSidebar({
|
|
|
6495
6556
|
{
|
|
6496
6557
|
type: "button",
|
|
6497
6558
|
onClick: onToggleCollapse,
|
|
6498
|
-
className:
|
|
6559
|
+
className: cn55(
|
|
6499
6560
|
"absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
|
|
6500
6561
|
"border border-border bg-background shadow-sm",
|
|
6501
6562
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6525,7 +6586,7 @@ function MosaicFilterSidebar({
|
|
|
6525
6586
|
{
|
|
6526
6587
|
type: "button",
|
|
6527
6588
|
onClick: () => onFilterChange(f.id),
|
|
6528
|
-
className:
|
|
6589
|
+
className: cn55(
|
|
6529
6590
|
"flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
|
|
6530
6591
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6531
6592
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6545,7 +6606,7 @@ function MosaicFilterSidebar({
|
|
|
6545
6606
|
{
|
|
6546
6607
|
type: "button",
|
|
6547
6608
|
onClick: () => onCategoryChange(cat.id),
|
|
6548
|
-
className:
|
|
6609
|
+
className: cn55(
|
|
6549
6610
|
"flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
|
|
6550
6611
|
"transition-colors hover:bg-accent hover:text-accent-foreground",
|
|
6551
6612
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -6565,7 +6626,7 @@ function MosaicFilterSidebar({
|
|
|
6565
6626
|
);
|
|
6566
6627
|
}
|
|
6567
6628
|
MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
|
|
6568
|
-
function
|
|
6629
|
+
function cn56(...classes) {
|
|
6569
6630
|
return classes.filter(Boolean).join(" ");
|
|
6570
6631
|
}
|
|
6571
6632
|
function SearchIcon3() {
|
|
@@ -6680,7 +6741,7 @@ function AgentListDesktop({
|
|
|
6680
6741
|
value: query,
|
|
6681
6742
|
onChange: (e) => setQuery(e.target.value),
|
|
6682
6743
|
placeholder: searchPlaceholder,
|
|
6683
|
-
className:
|
|
6744
|
+
className: cn56(
|
|
6684
6745
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6685
6746
|
"text-sm placeholder:text-muted-foreground",
|
|
6686
6747
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6693,7 +6754,7 @@ function AgentListDesktop({
|
|
|
6693
6754
|
{
|
|
6694
6755
|
type: "button",
|
|
6695
6756
|
onClick: onCreateAgent,
|
|
6696
|
-
className:
|
|
6757
|
+
className: cn56(
|
|
6697
6758
|
"inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
|
|
6698
6759
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6699
6760
|
),
|
|
@@ -6752,7 +6813,7 @@ function AgentListMobile({
|
|
|
6752
6813
|
{
|
|
6753
6814
|
type: "button",
|
|
6754
6815
|
onClick: () => setFilterOpen(true),
|
|
6755
|
-
className:
|
|
6816
|
+
className: cn56(
|
|
6756
6817
|
"inline-flex h-9 w-9 items-center justify-center rounded-md",
|
|
6757
6818
|
"border border-border bg-background text-foreground",
|
|
6758
6819
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6767,7 +6828,7 @@ function AgentListMobile({
|
|
|
6767
6828
|
{
|
|
6768
6829
|
type: "button",
|
|
6769
6830
|
onClick: onCreateAgent,
|
|
6770
|
-
className:
|
|
6831
|
+
className: cn56(
|
|
6771
6832
|
"inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
|
|
6772
6833
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
6773
6834
|
),
|
|
@@ -6788,7 +6849,7 @@ function AgentListMobile({
|
|
|
6788
6849
|
value: query,
|
|
6789
6850
|
onChange: (e) => setQuery(e.target.value),
|
|
6790
6851
|
placeholder: searchPlaceholder,
|
|
6791
|
-
className:
|
|
6852
|
+
className: cn56(
|
|
6792
6853
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
6793
6854
|
"text-sm placeholder:text-muted-foreground",
|
|
6794
6855
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -6836,7 +6897,7 @@ function MosaicAgentList(props) {
|
|
|
6836
6897
|
return isMobile ? /* @__PURE__ */ jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsx(AgentListDesktop, { ...props });
|
|
6837
6898
|
}
|
|
6838
6899
|
MosaicAgentList.displayName = "MosaicAgentList";
|
|
6839
|
-
function
|
|
6900
|
+
function cn57(...classes) {
|
|
6840
6901
|
return classes.filter(Boolean).join(" ");
|
|
6841
6902
|
}
|
|
6842
6903
|
function StarIcon({ filled }) {
|
|
@@ -6932,7 +6993,7 @@ function MarketplaceCard({
|
|
|
6932
6993
|
"div",
|
|
6933
6994
|
{
|
|
6934
6995
|
"data-slot": "marketplace-card",
|
|
6935
|
-
className:
|
|
6996
|
+
className: cn57(
|
|
6936
6997
|
"rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
|
|
6937
6998
|
compact ? "flex items-center gap-3" : "flex flex-col gap-3"
|
|
6938
6999
|
),
|
|
@@ -6940,7 +7001,7 @@ function MarketplaceCard({
|
|
|
6940
7001
|
item.icon && /* @__PURE__ */ jsx(
|
|
6941
7002
|
"div",
|
|
6942
7003
|
{
|
|
6943
|
-
className:
|
|
7004
|
+
className: cn57(
|
|
6944
7005
|
"flex shrink-0 items-center justify-center rounded-lg",
|
|
6945
7006
|
compact ? "h-10 w-10" : "h-12 w-12",
|
|
6946
7007
|
item.accentClass ?? "bg-muted text-muted-foreground"
|
|
@@ -6951,7 +7012,7 @@ function MarketplaceCard({
|
|
|
6951
7012
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
6952
7013
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
6953
7014
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
6954
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
7015
|
+
/* @__PURE__ */ jsx("p", { className: cn57("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
|
|
6955
7016
|
item.description && !compact && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
|
|
6956
7017
|
] }),
|
|
6957
7018
|
item.price && /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
|
|
@@ -6968,13 +7029,13 @@ function MarketplaceCard({
|
|
|
6968
7029
|
] })
|
|
6969
7030
|
] })
|
|
6970
7031
|
] }),
|
|
6971
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7032
|
+
/* @__PURE__ */ jsxs("div", { className: cn57("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
|
|
6972
7033
|
onPreview && /* @__PURE__ */ jsx(
|
|
6973
7034
|
"button",
|
|
6974
7035
|
{
|
|
6975
7036
|
type: "button",
|
|
6976
7037
|
onClick: () => onPreview(item.id),
|
|
6977
|
-
className:
|
|
7038
|
+
className: cn57(
|
|
6978
7039
|
"inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
|
|
6979
7040
|
"bg-background px-3 text-xs font-medium text-foreground",
|
|
6980
7041
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -6988,7 +7049,7 @@ function MarketplaceCard({
|
|
|
6988
7049
|
{
|
|
6989
7050
|
type: "button",
|
|
6990
7051
|
onClick: () => onUninstall(item.id),
|
|
6991
|
-
className:
|
|
7052
|
+
className: cn57(
|
|
6992
7053
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
6993
7054
|
"bg-secondary px-3 text-xs font-medium text-secondary-foreground",
|
|
6994
7055
|
"hover:bg-secondary/80",
|
|
@@ -7001,7 +7062,7 @@ function MarketplaceCard({
|
|
|
7001
7062
|
{
|
|
7002
7063
|
type: "button",
|
|
7003
7064
|
onClick: () => onInstall(item.id),
|
|
7004
|
-
className:
|
|
7065
|
+
className: cn57(
|
|
7005
7066
|
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
7006
7067
|
"bg-primary px-3 text-xs font-medium text-primary-foreground",
|
|
7007
7068
|
"hover:bg-primary/90",
|
|
@@ -7063,7 +7124,7 @@ function MarketplaceListDesktop(props) {
|
|
|
7063
7124
|
value: query,
|
|
7064
7125
|
onChange: (e) => setQuery(e.target.value),
|
|
7065
7126
|
placeholder: searchPlaceholder,
|
|
7066
|
-
className:
|
|
7127
|
+
className: cn57(
|
|
7067
7128
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7068
7129
|
"text-sm placeholder:text-muted-foreground",
|
|
7069
7130
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7136,7 +7197,7 @@ function MarketplaceListMobile(props) {
|
|
|
7136
7197
|
value: query,
|
|
7137
7198
|
onChange: (e) => setQuery(e.target.value),
|
|
7138
7199
|
placeholder: searchPlaceholder,
|
|
7139
|
-
className:
|
|
7200
|
+
className: cn57(
|
|
7140
7201
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
7141
7202
|
"text-sm placeholder:text-muted-foreground",
|
|
7142
7203
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7187,7 +7248,7 @@ function MosaicMarketplaceList(props) {
|
|
|
7187
7248
|
return isMobile ? /* @__PURE__ */ jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsx(MarketplaceListDesktop, { ...props });
|
|
7188
7249
|
}
|
|
7189
7250
|
MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
|
|
7190
|
-
function
|
|
7251
|
+
function cn58(...classes) {
|
|
7191
7252
|
return classes.filter(Boolean).join(" ");
|
|
7192
7253
|
}
|
|
7193
7254
|
function StarIcon2() {
|
|
@@ -7306,7 +7367,7 @@ function MosaicTemplateCard({
|
|
|
7306
7367
|
type: "button",
|
|
7307
7368
|
onClick: () => onSelect(template),
|
|
7308
7369
|
"data-slot": "template-card",
|
|
7309
|
-
className:
|
|
7370
|
+
className: cn58(
|
|
7310
7371
|
"w-full text-left rounded-lg border transition-all duration-200",
|
|
7311
7372
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
7312
7373
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
|
|
@@ -7406,7 +7467,7 @@ function MosaicTemplatePreview({
|
|
|
7406
7467
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7407
7468
|
"span",
|
|
7408
7469
|
{
|
|
7409
|
-
className:
|
|
7470
|
+
className: cn58("h-2 w-2 rounded-full", agent.accentColor),
|
|
7410
7471
|
"aria-hidden": "true"
|
|
7411
7472
|
}
|
|
7412
7473
|
),
|
|
@@ -7466,7 +7527,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
|
|
|
7466
7527
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
7467
7528
|
"span",
|
|
7468
7529
|
{
|
|
7469
|
-
className:
|
|
7530
|
+
className: cn58("h-2.5 w-2.5 rounded-full", agent.accentColor),
|
|
7470
7531
|
"aria-hidden": "true"
|
|
7471
7532
|
}
|
|
7472
7533
|
),
|
|
@@ -7490,7 +7551,7 @@ function MosaicQuickStartPanel({
|
|
|
7490
7551
|
scratchLabel = "Start from Scratch",
|
|
7491
7552
|
className
|
|
7492
7553
|
}) {
|
|
7493
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className:
|
|
7554
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn58("flex flex-col gap-6", className), children: [
|
|
7494
7555
|
scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
7495
7556
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
|
|
7496
7557
|
/* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxs(
|
|
@@ -7498,7 +7559,7 @@ function MosaicQuickStartPanel({
|
|
|
7498
7559
|
{
|
|
7499
7560
|
type: "button",
|
|
7500
7561
|
onClick: () => onSelectScenario(scenario),
|
|
7501
|
-
className:
|
|
7562
|
+
className: cn58(
|
|
7502
7563
|
"flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
|
|
7503
7564
|
"hover:border-primary/50 hover:bg-primary/5",
|
|
7504
7565
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7530,7 +7591,7 @@ function MosaicQuickStartPanel({
|
|
|
7530
7591
|
{
|
|
7531
7592
|
type: "button",
|
|
7532
7593
|
onClick: () => onSelectPreset(preset),
|
|
7533
|
-
className:
|
|
7594
|
+
className: cn58(
|
|
7534
7595
|
"flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
|
|
7535
7596
|
"hover:border-primary/50",
|
|
7536
7597
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -7544,7 +7605,7 @@ function MosaicQuickStartPanel({
|
|
|
7544
7605
|
a.accentColor && /* @__PURE__ */ jsx(
|
|
7545
7606
|
"span",
|
|
7546
7607
|
{
|
|
7547
|
-
className:
|
|
7608
|
+
className: cn58("h-2 w-2 rounded-full", a.accentColor),
|
|
7548
7609
|
"aria-hidden": "true"
|
|
7549
7610
|
}
|
|
7550
7611
|
),
|
|
@@ -7562,7 +7623,7 @@ function MosaicQuickStartPanel({
|
|
|
7562
7623
|
{
|
|
7563
7624
|
type: "button",
|
|
7564
7625
|
onClick: onStartFromScratch,
|
|
7565
|
-
className:
|
|
7626
|
+
className: cn58(
|
|
7566
7627
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
7567
7628
|
"bg-background px-4 text-sm font-medium text-foreground",
|
|
7568
7629
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -7642,7 +7703,7 @@ function TemplateGalleryContent({
|
|
|
7642
7703
|
value: query,
|
|
7643
7704
|
onChange: (e) => setQuery(e.target.value),
|
|
7644
7705
|
placeholder: searchPlaceholder,
|
|
7645
|
-
className:
|
|
7706
|
+
className: cn58(
|
|
7646
7707
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7647
7708
|
)
|
|
7648
7709
|
}
|
|
@@ -7690,7 +7751,7 @@ function TemplateGalleryContent({
|
|
|
7690
7751
|
value: query,
|
|
7691
7752
|
onChange: (e) => setQuery(e.target.value),
|
|
7692
7753
|
placeholder: searchPlaceholder,
|
|
7693
|
-
className:
|
|
7754
|
+
className: cn58(
|
|
7694
7755
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7695
7756
|
)
|
|
7696
7757
|
}
|
|
@@ -7720,7 +7781,7 @@ function MosaicTemplateGallery(props) {
|
|
|
7720
7781
|
return /* @__PURE__ */ jsx(TemplateGalleryContent, { ...props, isMobile });
|
|
7721
7782
|
}
|
|
7722
7783
|
MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
|
|
7723
|
-
function
|
|
7784
|
+
function cn59(...classes) {
|
|
7724
7785
|
return classes.filter(Boolean).join(" ");
|
|
7725
7786
|
}
|
|
7726
7787
|
function PlusIcon5() {
|
|
@@ -7864,7 +7925,7 @@ function MosaicModuleForm({
|
|
|
7864
7925
|
onChange: (e) => update("name", e.target.value),
|
|
7865
7926
|
placeholder: "Module name\u2026",
|
|
7866
7927
|
required: true,
|
|
7867
|
-
className:
|
|
7928
|
+
className: cn59(
|
|
7868
7929
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7869
7930
|
"text-sm placeholder:text-muted-foreground",
|
|
7870
7931
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7882,7 +7943,7 @@ function MosaicModuleForm({
|
|
|
7882
7943
|
onChange: (e) => update("description", e.target.value),
|
|
7883
7944
|
placeholder: "Describe this module\u2026",
|
|
7884
7945
|
rows: 3,
|
|
7885
|
-
className:
|
|
7946
|
+
className: cn59(
|
|
7886
7947
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7887
7948
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7888
7949
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7904,7 +7965,7 @@ function MosaicModuleForm({
|
|
|
7904
7965
|
value: formData[field.id] ?? "",
|
|
7905
7966
|
onChange: (e) => update(field.id, e.target.value),
|
|
7906
7967
|
placeholder: field.placeholder,
|
|
7907
|
-
className:
|
|
7968
|
+
className: cn59(
|
|
7908
7969
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
7909
7970
|
"text-sm placeholder:text-muted-foreground",
|
|
7910
7971
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7919,7 +7980,7 @@ function MosaicModuleForm({
|
|
|
7919
7980
|
onChange: (e) => update(field.id, e.target.value),
|
|
7920
7981
|
placeholder: field.placeholder,
|
|
7921
7982
|
rows: 3,
|
|
7922
|
-
className:
|
|
7983
|
+
className: cn59(
|
|
7923
7984
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
7924
7985
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
7925
7986
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -7935,7 +7996,7 @@ function MosaicModuleForm({
|
|
|
7935
7996
|
onChange: (e) => update(field.id, e.target.value),
|
|
7936
7997
|
placeholder: field.placeholder ?? "\u{1F9E0}",
|
|
7937
7998
|
maxLength: 4,
|
|
7938
|
-
className:
|
|
7999
|
+
className: cn59(
|
|
7939
8000
|
"w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
|
|
7940
8001
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
7941
8002
|
)
|
|
@@ -7956,7 +8017,7 @@ function MosaicModuleForm({
|
|
|
7956
8017
|
}
|
|
7957
8018
|
},
|
|
7958
8019
|
placeholder: field.placeholder ?? "Add item\u2026",
|
|
7959
|
-
className:
|
|
8020
|
+
className: cn59(
|
|
7960
8021
|
"flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
|
|
7961
8022
|
"text-sm placeholder:text-muted-foreground",
|
|
7962
8023
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8152,7 +8213,7 @@ function LibraryContent({
|
|
|
8152
8213
|
{
|
|
8153
8214
|
type: "button",
|
|
8154
8215
|
onClick: openCreate,
|
|
8155
|
-
className:
|
|
8216
|
+
className: cn59(
|
|
8156
8217
|
"inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
|
|
8157
8218
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8158
8219
|
),
|
|
@@ -8172,7 +8233,7 @@ function LibraryContent({
|
|
|
8172
8233
|
value: query,
|
|
8173
8234
|
onChange: (e) => setQuery(e.target.value),
|
|
8174
8235
|
placeholder: searchPlaceholder,
|
|
8175
|
-
className:
|
|
8236
|
+
className: cn59(
|
|
8176
8237
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8177
8238
|
"text-sm placeholder:text-muted-foreground",
|
|
8178
8239
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8185,7 +8246,7 @@ function LibraryContent({
|
|
|
8185
8246
|
{
|
|
8186
8247
|
type: "button",
|
|
8187
8248
|
onClick: () => setActiveTab(tab.id),
|
|
8188
|
-
className:
|
|
8249
|
+
className: cn59(
|
|
8189
8250
|
"rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8190
8251
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
8191
8252
|
),
|
|
@@ -8219,7 +8280,7 @@ function MosaicModuleLibrary(props) {
|
|
|
8219
8280
|
return /* @__PURE__ */ jsx(LibraryContent, { ...props });
|
|
8220
8281
|
}
|
|
8221
8282
|
MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
|
|
8222
|
-
function
|
|
8283
|
+
function cn60(...classes) {
|
|
8223
8284
|
return classes.filter(Boolean).join(" ");
|
|
8224
8285
|
}
|
|
8225
8286
|
var roleConfig = {
|
|
@@ -8246,7 +8307,7 @@ function MosaicOrgRoleBadge({ role, className }) {
|
|
|
8246
8307
|
{
|
|
8247
8308
|
"data-slot": "org-role-badge",
|
|
8248
8309
|
title: config.description,
|
|
8249
|
-
className:
|
|
8310
|
+
className: cn60(
|
|
8250
8311
|
"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
|
|
8251
8312
|
config.className,
|
|
8252
8313
|
className
|
|
@@ -8263,13 +8324,13 @@ function MosaicMultiOrgIndicator({
|
|
|
8263
8324
|
className
|
|
8264
8325
|
}) {
|
|
8265
8326
|
if (orgCount <= 1) return null;
|
|
8266
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className:
|
|
8327
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn60("flex items-center gap-2", className), children: [
|
|
8267
8328
|
onSwitchOrg ? /* @__PURE__ */ jsxs(
|
|
8268
8329
|
"button",
|
|
8269
8330
|
{
|
|
8270
8331
|
type: "button",
|
|
8271
8332
|
onClick: onSwitchOrg,
|
|
8272
|
-
className:
|
|
8333
|
+
className: cn60(
|
|
8273
8334
|
"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
|
|
8274
8335
|
"hover:bg-secondary/80",
|
|
8275
8336
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -8367,7 +8428,7 @@ function MosaicCreateOrgDialog({
|
|
|
8367
8428
|
onChange: (e) => setName(e.target.value),
|
|
8368
8429
|
placeholder: "Acme Inc.",
|
|
8369
8430
|
required: true,
|
|
8370
|
-
className:
|
|
8431
|
+
className: cn60(
|
|
8371
8432
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8372
8433
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8373
8434
|
errors.name ? "border-destructive" : "border-input"
|
|
@@ -8387,7 +8448,7 @@ function MosaicCreateOrgDialog({
|
|
|
8387
8448
|
onChange: (e) => setSlug(e.target.value),
|
|
8388
8449
|
placeholder: "acme-inc",
|
|
8389
8450
|
required: true,
|
|
8390
|
-
className:
|
|
8451
|
+
className: cn60(
|
|
8391
8452
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8392
8453
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8393
8454
|
errors.slug ? "border-destructive" : "border-input"
|
|
@@ -8484,7 +8545,7 @@ function MosaicInviteMemberDialog({
|
|
|
8484
8545
|
onChange: (e) => setEmail(e.target.value),
|
|
8485
8546
|
placeholder: "colleague@example.com",
|
|
8486
8547
|
required: true,
|
|
8487
|
-
className:
|
|
8548
|
+
className: cn60(
|
|
8488
8549
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
8489
8550
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8490
8551
|
errors.email ? "border-destructive" : "border-input"
|
|
@@ -8661,7 +8722,7 @@ function MosaicMemberList({
|
|
|
8661
8722
|
const filtered = members.filter(
|
|
8662
8723
|
(m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
|
|
8663
8724
|
);
|
|
8664
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className:
|
|
8725
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn60("flex flex-col gap-4", className), children: [
|
|
8665
8726
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
8666
8727
|
/* @__PURE__ */ jsxs("div", { className: "relative flex-1", children: [
|
|
8667
8728
|
/* @__PURE__ */ jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxs(
|
|
@@ -8754,7 +8815,7 @@ function MosaicOrgPanel({
|
|
|
8754
8815
|
const { isMobile } = useDevice();
|
|
8755
8816
|
const [activeTab, setActiveTab] = React27.useState(defaultTab ?? tabs[0]?.id ?? "");
|
|
8756
8817
|
const activeContent = tabs.find((t) => t.id === activeTab)?.content;
|
|
8757
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className:
|
|
8818
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn60("flex h-full flex-col", className), children: [
|
|
8758
8819
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
|
|
8759
8820
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
8760
8821
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -8776,12 +8837,12 @@ function MosaicOrgPanel({
|
|
|
8776
8837
|
] }),
|
|
8777
8838
|
headerActions
|
|
8778
8839
|
] }),
|
|
8779
|
-
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
8840
|
+
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn60("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
|
|
8780
8841
|
"button",
|
|
8781
8842
|
{
|
|
8782
8843
|
type: "button",
|
|
8783
8844
|
onClick: () => setActiveTab(tab.id),
|
|
8784
|
-
className:
|
|
8845
|
+
className: cn60(
|
|
8785
8846
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
8786
8847
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8787
8848
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
@@ -8795,7 +8856,7 @@ function MosaicOrgPanel({
|
|
|
8795
8856
|
] });
|
|
8796
8857
|
}
|
|
8797
8858
|
MosaicOrgPanel.displayName = "MosaicOrgPanel";
|
|
8798
|
-
function
|
|
8859
|
+
function cn61(...classes) {
|
|
8799
8860
|
return classes.filter(Boolean).join(" ");
|
|
8800
8861
|
}
|
|
8801
8862
|
var ANIM_ID8 = "mosaic-dashboard-content-kf";
|
|
@@ -8832,7 +8893,7 @@ function MosaicDashboardContent({
|
|
|
8832
8893
|
"div",
|
|
8833
8894
|
{
|
|
8834
8895
|
"data-slot": "dashboard-content",
|
|
8835
|
-
className:
|
|
8896
|
+
className: cn61("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
|
|
8836
8897
|
children: activeView ? /* @__PURE__ */ jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
|
|
8837
8898
|
"View not found: ",
|
|
8838
8899
|
currentView
|
|
@@ -8841,7 +8902,7 @@ function MosaicDashboardContent({
|
|
|
8841
8902
|
);
|
|
8842
8903
|
}
|
|
8843
8904
|
MosaicDashboardContent.displayName = "MosaicDashboardContent";
|
|
8844
|
-
function
|
|
8905
|
+
function cn62(...classes) {
|
|
8845
8906
|
return classes.filter(Boolean).join(" ");
|
|
8846
8907
|
}
|
|
8847
8908
|
var ANIM_ID9 = "mosaic-dashboard-header2-kf";
|
|
@@ -8951,16 +9012,16 @@ function MosaicDashboardHeader({
|
|
|
8951
9012
|
"header",
|
|
8952
9013
|
{
|
|
8953
9014
|
"data-slot": "dashboard-header",
|
|
8954
|
-
className:
|
|
9015
|
+
className: cn62(
|
|
8955
9016
|
"mosaic-dashboard-header2",
|
|
8956
9017
|
"sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
|
|
8957
9018
|
className
|
|
8958
9019
|
),
|
|
8959
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
9020
|
+
children: /* @__PURE__ */ jsx("div", { className: cn62(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
8960
9021
|
/* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
8961
9022
|
logoSlot ?? /* @__PURE__ */ jsx(SparklesIcon4, {}),
|
|
8962
9023
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
8963
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
9024
|
+
/* @__PURE__ */ jsx("h1", { className: cn62("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
|
|
8964
9025
|
subtitle && !isMobile && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
|
|
8965
9026
|
] })
|
|
8966
9027
|
] }) }),
|
|
@@ -8973,7 +9034,7 @@ function MosaicDashboardHeader({
|
|
|
8973
9034
|
value: searchQuery,
|
|
8974
9035
|
onChange: handleSearch,
|
|
8975
9036
|
placeholder: "Search\u2026",
|
|
8976
|
-
className:
|
|
9037
|
+
className: cn62(
|
|
8977
9038
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
8978
9039
|
"text-sm placeholder:text-muted-foreground",
|
|
8979
9040
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9013,7 +9074,7 @@ function MosaicDashboardHeader({
|
|
|
9013
9074
|
);
|
|
9014
9075
|
}
|
|
9015
9076
|
MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
|
|
9016
|
-
function
|
|
9077
|
+
function cn63(...classes) {
|
|
9017
9078
|
return classes.filter(Boolean).join(" ");
|
|
9018
9079
|
}
|
|
9019
9080
|
function ChevronDownIcon4() {
|
|
@@ -9094,13 +9155,13 @@ function MosaicOrgSwitcher({
|
|
|
9094
9155
|
}, [open]);
|
|
9095
9156
|
if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
|
|
9096
9157
|
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:
|
|
9158
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn63("relative", className), children: [
|
|
9098
9159
|
/* @__PURE__ */ jsxs(
|
|
9099
9160
|
"button",
|
|
9100
9161
|
{
|
|
9101
9162
|
type: "button",
|
|
9102
9163
|
onClick: () => setOpen((v) => !v),
|
|
9103
|
-
className:
|
|
9164
|
+
className: cn63(
|
|
9104
9165
|
"inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
|
|
9105
9166
|
"text-sm font-medium text-foreground",
|
|
9106
9167
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9127,7 +9188,7 @@ function MosaicOrgSwitcher({
|
|
|
9127
9188
|
{
|
|
9128
9189
|
role: "menu",
|
|
9129
9190
|
"aria-label": "Select organization",
|
|
9130
|
-
className:
|
|
9191
|
+
className: cn63(
|
|
9131
9192
|
"absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
|
|
9132
9193
|
"bg-popover py-1 shadow-md"
|
|
9133
9194
|
),
|
|
@@ -9142,7 +9203,7 @@ function MosaicOrgSwitcher({
|
|
|
9142
9203
|
onSelectOrg?.(org.id);
|
|
9143
9204
|
setOpen(false);
|
|
9144
9205
|
},
|
|
9145
|
-
className:
|
|
9206
|
+
className: cn63(
|
|
9146
9207
|
"flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
|
|
9147
9208
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9148
9209
|
org.id === currentOrgId && "bg-primary/10 text-primary"
|
|
@@ -9179,7 +9240,7 @@ function MosaicOrgSwitcher({
|
|
|
9179
9240
|
] });
|
|
9180
9241
|
}
|
|
9181
9242
|
MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
|
|
9182
|
-
function
|
|
9243
|
+
function cn64(...classes) {
|
|
9183
9244
|
return classes.filter(Boolean).join(" ");
|
|
9184
9245
|
}
|
|
9185
9246
|
function PlusIcon7() {
|
|
@@ -9223,19 +9284,19 @@ function MosaicQuickActionsMenu({
|
|
|
9223
9284
|
document.addEventListener("mousedown", h);
|
|
9224
9285
|
return () => document.removeEventListener("mousedown", h);
|
|
9225
9286
|
}, [open]);
|
|
9226
|
-
const itemClass =
|
|
9287
|
+
const itemClass = cn64(
|
|
9227
9288
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
9228
9289
|
"hover:bg-accent hover:text-accent-foreground",
|
|
9229
9290
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
9230
9291
|
"min-h-[44px]"
|
|
9231
9292
|
);
|
|
9232
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className:
|
|
9293
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn64("relative", className), children: [
|
|
9233
9294
|
/* @__PURE__ */ jsxs(
|
|
9234
9295
|
"button",
|
|
9235
9296
|
{
|
|
9236
9297
|
type: "button",
|
|
9237
9298
|
onClick: () => setOpen((v) => !v),
|
|
9238
|
-
className:
|
|
9299
|
+
className: cn64(
|
|
9239
9300
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
9240
9301
|
"min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
|
|
9241
9302
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -9246,7 +9307,7 @@ function MosaicQuickActionsMenu({
|
|
|
9246
9307
|
"aria-label": label,
|
|
9247
9308
|
children: [
|
|
9248
9309
|
triggerIcon ?? /* @__PURE__ */ jsx(PlusIcon7, {}),
|
|
9249
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9310
|
+
/* @__PURE__ */ jsx("span", { className: cn64("hidden md:inline"), children: label })
|
|
9250
9311
|
]
|
|
9251
9312
|
}
|
|
9252
9313
|
),
|
|
@@ -9255,13 +9316,13 @@ function MosaicQuickActionsMenu({
|
|
|
9255
9316
|
{
|
|
9256
9317
|
role: "menu",
|
|
9257
9318
|
"aria-label": menuTitle,
|
|
9258
|
-
className:
|
|
9319
|
+
className: cn64(
|
|
9259
9320
|
"absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
|
|
9260
9321
|
isMobile ? "w-[min(90vw,280px)]" : "w-56"
|
|
9261
9322
|
),
|
|
9262
9323
|
children: [
|
|
9263
9324
|
menuTitle && /* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
|
|
9264
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9325
|
+
/* @__PURE__ */ jsx("div", { className: cn64(menuTitle && "border-t border-border") }),
|
|
9265
9326
|
actions.map((action) => /* @__PURE__ */ jsxs(React27.Fragment, { children: [
|
|
9266
9327
|
action.separator && /* @__PURE__ */ jsx("div", { className: "my-1 border-t border-border" }),
|
|
9267
9328
|
action.href && renderLink ? renderLink(
|
|
@@ -9687,6 +9748,6 @@ async function MosaicClerkWebhookHandler(req, options) {
|
|
|
9687
9748
|
return new Response("OK", { status: 200 });
|
|
9688
9749
|
}
|
|
9689
9750
|
|
|
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 };
|
|
9751
|
+
export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentTeamPreview, MosaicAnimatedList, MosaicAppSidebar, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicLogosGrid, MosaicMainNav, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicTooltip, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
9691
9752
|
//# sourceMappingURL=index.js.map
|
|
9692
9753
|
//# sourceMappingURL=index.js.map
|