@vantageos/mosaic-blocks 0.2.4-alpha → 0.3.2-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.js CHANGED
@@ -4,6 +4,19 @@ import { Button } from '@base-ui/react/button';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import * as React27 from 'react';
6
6
  import { useState, useEffect } from 'react';
7
+ import { Accordion } from '@base-ui/react/accordion';
8
+ export { Accordion } from '@base-ui/react/accordion';
9
+ import { Checkbox } from '@base-ui/react/checkbox';
10
+ import { Collapsible } from '@base-ui/react/collapsible';
11
+ import { Progress } from '@base-ui/react/progress';
12
+ import { Radio } from '@base-ui/react/radio';
13
+ import { RadioGroup } from '@base-ui/react/radio-group';
14
+ import { ScrollArea } from '@base-ui/react/scroll-area';
15
+ import { Separator } from '@base-ui/react/separator';
16
+ import { Slider } from '@base-ui/react/slider';
17
+ import { Tabs } from '@base-ui/react/tabs';
18
+ import { Tooltip } from '@base-ui/react/tooltip';
19
+ export { Tooltip } from '@base-ui/react/tooltip';
7
20
  import { Avatar } from '@base-ui/react/avatar';
8
21
  import { Input } from '@base-ui/react/input';
9
22
  import { Field } from '@base-ui/react/field';
@@ -14,7 +27,7 @@ import { Menu } from '@base-ui/react/menu';
14
27
  import { AlertDialog } from '@base-ui/react/alert-dialog';
15
28
 
16
29
  // src/version.ts
17
- var version = "0.1.0-alpha.1";
30
+ var version = "0.3.2-alpha";
18
31
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
19
32
  return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
20
33
  }
@@ -988,13 +1001,576 @@ function useMediaQuery(query) {
988
1001
  function cn13(...classes) {
989
1002
  return classes.filter(Boolean).join(" ");
990
1003
  }
1004
+ function MosaicEmptyState({
1005
+ icon,
1006
+ title,
1007
+ description,
1008
+ action,
1009
+ className,
1010
+ ref
1011
+ }) {
1012
+ return /* @__PURE__ */ jsxs(
1013
+ "div",
1014
+ {
1015
+ ref,
1016
+ "data-slot": "empty-state",
1017
+ className: cn13(
1018
+ "flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
1019
+ className
1020
+ ),
1021
+ children: [
1022
+ icon != null && /* @__PURE__ */ jsx(
1023
+ "div",
1024
+ {
1025
+ "data-slot": "empty-state-icon",
1026
+ className: "flex items-center justify-center text-muted-foreground",
1027
+ children: icon
1028
+ }
1029
+ ),
1030
+ /* @__PURE__ */ jsxs("div", { "data-slot": "empty-state-text", className: "flex flex-col gap-1.5", children: [
1031
+ /* @__PURE__ */ jsx("h3", { "data-slot": "empty-state-title", className: "text-base font-medium text-foreground", children: title }),
1032
+ description != null && /* @__PURE__ */ jsx("p", { "data-slot": "empty-state-description", className: "text-sm text-muted-foreground", children: description })
1033
+ ] }),
1034
+ action != null && /* @__PURE__ */ jsx("div", { "data-slot": "empty-state-action", className: "mt-2", children: action })
1035
+ ]
1036
+ }
1037
+ );
1038
+ }
1039
+ MosaicEmptyState.displayName = "MosaicEmptyState";
1040
+ function cn14(...classes) {
1041
+ return classes.filter(Boolean).join(" ");
1042
+ }
1043
+ function MosaicAccordion({ className, ref, ...props }) {
1044
+ return /* @__PURE__ */ jsx(
1045
+ Accordion.Root,
1046
+ {
1047
+ ref,
1048
+ "data-slot": "accordion",
1049
+ className: cn14("w-full divide-y divide-border", className),
1050
+ ...props
1051
+ }
1052
+ );
1053
+ }
1054
+ MosaicAccordion.displayName = "MosaicAccordion";
1055
+ function MosaicAccordionItem({ className, ref, ...props }) {
1056
+ return /* @__PURE__ */ jsx(
1057
+ Accordion.Item,
1058
+ {
1059
+ ref,
1060
+ "data-slot": "accordion-item",
1061
+ className: cn14("py-0", className),
1062
+ ...props
1063
+ }
1064
+ );
1065
+ }
1066
+ MosaicAccordionItem.displayName = "MosaicAccordionItem";
1067
+ function MosaicAccordionTrigger({
1068
+ className,
1069
+ children,
1070
+ ref,
1071
+ ...props
1072
+ }) {
1073
+ return /* @__PURE__ */ jsxs(
1074
+ Accordion.Trigger,
1075
+ {
1076
+ ref,
1077
+ "data-slot": "accordion-trigger",
1078
+ className: cn14(
1079
+ "flex w-full flex-1 items-center justify-between py-4",
1080
+ "text-sm font-medium text-foreground",
1081
+ "outline-none transition-all",
1082
+ "hover:text-foreground/80",
1083
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1084
+ "disabled:cursor-not-allowed disabled:opacity-50",
1085
+ "[&>svg]:transition-transform [&>svg]:duration-200",
1086
+ "data-[panel-open]:[&>svg]:rotate-180",
1087
+ className
1088
+ ),
1089
+ ...props,
1090
+ children: [
1091
+ children,
1092
+ /* @__PURE__ */ jsx(
1093
+ "svg",
1094
+ {
1095
+ xmlns: "http://www.w3.org/2000/svg",
1096
+ viewBox: "0 0 24 24",
1097
+ fill: "none",
1098
+ stroke: "currentColor",
1099
+ strokeWidth: "2",
1100
+ strokeLinecap: "round",
1101
+ strokeLinejoin: "round",
1102
+ "aria-hidden": "true",
1103
+ className: "size-4 shrink-0 text-muted-foreground",
1104
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
1105
+ }
1106
+ )
1107
+ ]
1108
+ }
1109
+ );
1110
+ }
1111
+ MosaicAccordionTrigger.displayName = "MosaicAccordionTrigger";
1112
+ function MosaicAccordionPanel({ className, ref, ...props }) {
1113
+ return /* @__PURE__ */ jsx(
1114
+ Accordion.Panel,
1115
+ {
1116
+ ref,
1117
+ "data-slot": "accordion-panel",
1118
+ className: cn14("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
1119
+ ...props
1120
+ }
1121
+ );
1122
+ }
1123
+ MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
1124
+ function cn15(...classes) {
1125
+ return classes.filter(Boolean).join(" ");
1126
+ }
1127
+ function MosaicCheckbox({ className, ref, ...props }) {
1128
+ return /* @__PURE__ */ jsx(
1129
+ Checkbox.Root,
1130
+ {
1131
+ ref,
1132
+ "data-slot": "checkbox",
1133
+ className: cn15(
1134
+ "peer size-4 shrink-0 cursor-pointer",
1135
+ "rounded-sm border border-border bg-background",
1136
+ "outline-none transition-colors",
1137
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1138
+ // Checked state
1139
+ "data-[checked]:border-foreground data-[checked]:bg-foreground",
1140
+ // Indeterminate
1141
+ "data-[indeterminate]:border-foreground data-[indeterminate]:bg-foreground",
1142
+ // Disabled
1143
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1144
+ className
1145
+ ),
1146
+ ...props,
1147
+ children: /* @__PURE__ */ jsx(
1148
+ Checkbox.Indicator,
1149
+ {
1150
+ "data-slot": "checkbox-indicator",
1151
+ className: "flex items-center justify-center text-background",
1152
+ children: /* @__PURE__ */ jsx(
1153
+ "svg",
1154
+ {
1155
+ xmlns: "http://www.w3.org/2000/svg",
1156
+ viewBox: "0 0 24 24",
1157
+ fill: "none",
1158
+ stroke: "currentColor",
1159
+ strokeWidth: "3",
1160
+ strokeLinecap: "round",
1161
+ strokeLinejoin: "round",
1162
+ "aria-hidden": "true",
1163
+ className: "size-3",
1164
+ children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
1165
+ }
1166
+ )
1167
+ }
1168
+ )
1169
+ }
1170
+ );
1171
+ }
1172
+ MosaicCheckbox.displayName = "MosaicCheckbox";
1173
+ function cn16(...classes) {
1174
+ return classes.filter(Boolean).join(" ");
1175
+ }
1176
+ function MosaicCollapsible({ className, ref, ...props }) {
1177
+ return /* @__PURE__ */ jsx(
1178
+ Collapsible.Root,
1179
+ {
1180
+ ref,
1181
+ "data-slot": "collapsible",
1182
+ className: cn16("w-full", className),
1183
+ ...props
1184
+ }
1185
+ );
1186
+ }
1187
+ MosaicCollapsible.displayName = "MosaicCollapsible";
1188
+ function MosaicCollapsibleTrigger({
1189
+ className,
1190
+ ref,
1191
+ ...props
1192
+ }) {
1193
+ return /* @__PURE__ */ jsx(
1194
+ Collapsible.Trigger,
1195
+ {
1196
+ ref,
1197
+ "data-slot": "collapsible-trigger",
1198
+ className: cn16(
1199
+ "inline-flex w-full items-center justify-between gap-2",
1200
+ "rounded-md px-0 py-2 text-sm font-medium",
1201
+ "text-foreground outline-none transition-colors",
1202
+ "hover:text-foreground/80",
1203
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1204
+ "disabled:cursor-not-allowed disabled:opacity-50",
1205
+ "[&>svg]:transition-transform [&>svg]:duration-200",
1206
+ "data-[panel-open]:[&>svg]:rotate-180",
1207
+ className
1208
+ ),
1209
+ ...props
1210
+ }
1211
+ );
1212
+ }
1213
+ MosaicCollapsibleTrigger.displayName = "MosaicCollapsibleTrigger";
1214
+ function MosaicCollapsiblePanel({ className, ref, ...props }) {
1215
+ return /* @__PURE__ */ jsx(
1216
+ Collapsible.Panel,
1217
+ {
1218
+ ref,
1219
+ "data-slot": "collapsible-panel",
1220
+ className: cn16(
1221
+ "overflow-hidden text-sm transition-all",
1222
+ "data-[open]:animate-in data-[closed]:animate-out",
1223
+ className
1224
+ ),
1225
+ ...props
1226
+ }
1227
+ );
1228
+ }
1229
+ MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
1230
+ function cn17(...classes) {
1231
+ return classes.filter(Boolean).join(" ");
1232
+ }
1233
+ function MosaicProgress({
1234
+ className,
1235
+ value,
1236
+ max = 100,
1237
+ ref,
1238
+ ...props
1239
+ }) {
1240
+ return /* @__PURE__ */ jsx(
1241
+ Progress.Root,
1242
+ {
1243
+ ref,
1244
+ "data-slot": "progress",
1245
+ value,
1246
+ max,
1247
+ className: cn17("w-full", className),
1248
+ ...props,
1249
+ children: /* @__PURE__ */ jsx(
1250
+ Progress.Track,
1251
+ {
1252
+ "data-slot": "progress-track",
1253
+ className: "relative h-2 w-full overflow-hidden rounded-full bg-secondary",
1254
+ children: /* @__PURE__ */ jsx(
1255
+ Progress.Indicator,
1256
+ {
1257
+ "data-slot": "progress-indicator",
1258
+ className: "h-full w-full flex-1 rounded-full bg-foreground transition-transform duration-300 ease-in-out",
1259
+ style: { transform: `translateX(-${100 - (value ?? 0)}%)` }
1260
+ }
1261
+ )
1262
+ }
1263
+ )
1264
+ }
1265
+ );
1266
+ }
1267
+ MosaicProgress.displayName = "MosaicProgress";
1268
+ function cn18(...classes) {
1269
+ return classes.filter(Boolean).join(" ");
1270
+ }
1271
+ function MosaicRadioGroup({ className, ref, ...props }) {
1272
+ return /* @__PURE__ */ jsx(
1273
+ RadioGroup,
1274
+ {
1275
+ ref,
1276
+ "data-slot": "radio-group",
1277
+ className: cn18("flex flex-col gap-2", className),
1278
+ ...props
1279
+ }
1280
+ );
1281
+ }
1282
+ MosaicRadioGroup.displayName = "MosaicRadioGroup";
1283
+ function MosaicRadioGroupItem({
1284
+ className,
1285
+ children,
1286
+ ref,
1287
+ ...props
1288
+ }) {
1289
+ return /* @__PURE__ */ jsxs(
1290
+ Radio.Root,
1291
+ {
1292
+ ref,
1293
+ "data-slot": "radio",
1294
+ className: cn18(
1295
+ "flex items-center gap-2 text-sm font-medium",
1296
+ "cursor-pointer select-none",
1297
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1298
+ className
1299
+ ),
1300
+ ...props,
1301
+ children: [
1302
+ /* @__PURE__ */ jsx(
1303
+ "span",
1304
+ {
1305
+ className: cn18(
1306
+ "flex size-4 shrink-0 items-center justify-center",
1307
+ "rounded-full border border-border bg-background",
1308
+ "outline-none transition-colors",
1309
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1310
+ "peer-data-[checked]:border-foreground"
1311
+ ),
1312
+ children: /* @__PURE__ */ jsx(Radio.Indicator, { "data-slot": "radio-indicator", className: "flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "size-2 rounded-full bg-foreground" }) })
1313
+ }
1314
+ ),
1315
+ children
1316
+ ]
1317
+ }
1318
+ );
1319
+ }
1320
+ MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
1321
+ function cn19(...classes) {
1322
+ return classes.filter(Boolean).join(" ");
1323
+ }
1324
+ function MosaicScrollArea({
1325
+ className,
1326
+ horizontal = false,
1327
+ children,
1328
+ ref,
1329
+ ...props
1330
+ }) {
1331
+ return /* @__PURE__ */ jsxs(
1332
+ ScrollArea.Root,
1333
+ {
1334
+ ref,
1335
+ "data-slot": "scroll-area",
1336
+ className: cn19("relative overflow-hidden", className),
1337
+ ...props,
1338
+ children: [
1339
+ /* @__PURE__ */ jsx(ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsx(ScrollArea.Content, { children }) }),
1340
+ /* @__PURE__ */ jsx(
1341
+ ScrollArea.Scrollbar,
1342
+ {
1343
+ "data-slot": "scroll-area-scrollbar",
1344
+ orientation: "vertical",
1345
+ className: "flex w-2.5 touch-none select-none border-l border-l-transparent p-px transition-colors",
1346
+ children: /* @__PURE__ */ jsx(ScrollArea.Thumb, { className: "relative flex-1 rounded-full bg-border" })
1347
+ }
1348
+ ),
1349
+ horizontal && /* @__PURE__ */ jsx(
1350
+ ScrollArea.Scrollbar,
1351
+ {
1352
+ "data-slot": "scroll-area-scrollbar-h",
1353
+ orientation: "horizontal",
1354
+ className: "flex h-2.5 touch-none select-none flex-col border-t border-t-transparent p-px transition-colors",
1355
+ children: /* @__PURE__ */ jsx(ScrollArea.Thumb, { className: "relative flex-1 rounded-full bg-border" })
1356
+ }
1357
+ ),
1358
+ /* @__PURE__ */ jsx(ScrollArea.Corner, {})
1359
+ ]
1360
+ }
1361
+ );
1362
+ }
1363
+ MosaicScrollArea.displayName = "MosaicScrollArea";
1364
+ function cn20(...classes) {
1365
+ return classes.filter(Boolean).join(" ");
1366
+ }
1367
+ function MosaicSeparator({
1368
+ className,
1369
+ orientation = "horizontal",
1370
+ ref,
1371
+ ...props
1372
+ }) {
1373
+ return /* @__PURE__ */ jsx(
1374
+ Separator,
1375
+ {
1376
+ ref,
1377
+ "data-slot": "separator",
1378
+ orientation,
1379
+ className: cn20(
1380
+ "shrink-0 bg-border",
1381
+ orientation === "vertical" ? "h-full w-px" : "h-px w-full",
1382
+ className
1383
+ ),
1384
+ ...props
1385
+ }
1386
+ );
1387
+ }
1388
+ MosaicSeparator.displayName = "MosaicSeparator";
1389
+ function cn21(...classes) {
1390
+ return classes.filter(Boolean).join(" ");
1391
+ }
1392
+ function MosaicSlider({ className, ref, ...props }) {
1393
+ const isRange = Array.isArray(props.defaultValue ?? props.value);
1394
+ const thumbCount = isRange ? (props.defaultValue ?? props.value).length : 1;
1395
+ return /* @__PURE__ */ jsx(
1396
+ Slider.Root,
1397
+ {
1398
+ ref,
1399
+ "data-slot": "slider",
1400
+ className: cn21("w-full touch-none select-none", className),
1401
+ ...props,
1402
+ children: /* @__PURE__ */ jsx(Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxs(
1403
+ Slider.Track,
1404
+ {
1405
+ "data-slot": "slider-track",
1406
+ className: "relative h-2 w-full grow rounded-full bg-secondary",
1407
+ children: [
1408
+ /* @__PURE__ */ jsx(
1409
+ Slider.Indicator,
1410
+ {
1411
+ "data-slot": "slider-indicator",
1412
+ className: "absolute h-full rounded-full bg-foreground"
1413
+ }
1414
+ ),
1415
+ Array.from({ length: thumbCount }).map((_, i) => /* @__PURE__ */ jsx(
1416
+ Slider.Thumb,
1417
+ {
1418
+ "data-slot": "slider-thumb",
1419
+ className: cn21(
1420
+ "block size-5 rounded-full",
1421
+ "border-2 border-foreground bg-background",
1422
+ "shadow-sm outline-none transition-colors",
1423
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1424
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50"
1425
+ )
1426
+ },
1427
+ i
1428
+ ))
1429
+ ]
1430
+ }
1431
+ ) })
1432
+ }
1433
+ );
1434
+ }
1435
+ MosaicSlider.displayName = "MosaicSlider";
1436
+ function cn22(...classes) {
1437
+ return classes.filter(Boolean).join(" ");
1438
+ }
1439
+ function MosaicTabs({ className, ref, ...props }) {
1440
+ return /* @__PURE__ */ jsx(
1441
+ Tabs.Root,
1442
+ {
1443
+ ref,
1444
+ "data-slot": "tabs",
1445
+ className: cn22("flex flex-col gap-2", className),
1446
+ ...props
1447
+ }
1448
+ );
1449
+ }
1450
+ MosaicTabs.displayName = "MosaicTabs";
1451
+ function MosaicTabsList({ className, ref, ...props }) {
1452
+ return /* @__PURE__ */ jsx(
1453
+ Tabs.List,
1454
+ {
1455
+ ref,
1456
+ "data-slot": "tabs-list",
1457
+ className: cn22(
1458
+ "relative inline-flex items-center justify-start gap-1",
1459
+ "rounded-lg bg-muted p-1 text-muted-foreground",
1460
+ className
1461
+ ),
1462
+ ...props
1463
+ }
1464
+ );
1465
+ }
1466
+ MosaicTabsList.displayName = "MosaicTabsList";
1467
+ function MosaicTabsTrigger({ className, ref, ...props }) {
1468
+ return /* @__PURE__ */ jsx(
1469
+ Tabs.Tab,
1470
+ {
1471
+ ref,
1472
+ "data-slot": "tabs-trigger",
1473
+ className: cn22(
1474
+ "inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
1475
+ "rounded-md px-3 py-1.5 text-sm font-medium",
1476
+ "outline-none transition-all",
1477
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1478
+ "disabled:cursor-not-allowed disabled:opacity-50",
1479
+ // Selected state
1480
+ "data-[selected]:bg-background data-[selected]:text-foreground data-[selected]:shadow-xs",
1481
+ // Unselected hover
1482
+ "hover:text-foreground",
1483
+ className
1484
+ ),
1485
+ ...props
1486
+ }
1487
+ );
1488
+ }
1489
+ MosaicTabsTrigger.displayName = "MosaicTabsTrigger";
1490
+ function MosaicTabsPanel({ className, ref, ...props }) {
1491
+ return /* @__PURE__ */ jsx(
1492
+ Tabs.Panel,
1493
+ {
1494
+ ref,
1495
+ "data-slot": "tabs-panel",
1496
+ className: cn22(
1497
+ "flex-1 outline-none",
1498
+ "focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
1499
+ className
1500
+ ),
1501
+ ...props
1502
+ }
1503
+ );
1504
+ }
1505
+ MosaicTabsPanel.displayName = "MosaicTabsPanel";
1506
+ function cn23(...classes) {
1507
+ return classes.filter(Boolean).join(" ");
1508
+ }
1509
+ function MosaicTextarea({ className, ref, ...props }) {
1510
+ return /* @__PURE__ */ jsx(
1511
+ "textarea",
1512
+ {
1513
+ ref,
1514
+ "data-slot": "textarea",
1515
+ className: cn23(
1516
+ "flex min-h-[80px] w-full resize-y",
1517
+ "rounded-md border border-border bg-background px-3 py-2",
1518
+ "text-sm text-foreground shadow-xs",
1519
+ "placeholder:text-muted-foreground",
1520
+ "outline-none transition-colors",
1521
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1522
+ "disabled:cursor-not-allowed disabled:opacity-50",
1523
+ className
1524
+ ),
1525
+ ...props
1526
+ }
1527
+ );
1528
+ }
1529
+ MosaicTextarea.displayName = "MosaicTextarea";
1530
+ function cn24(...classes) {
1531
+ return classes.filter(Boolean).join(" ");
1532
+ }
1533
+ function MosaicTooltip({
1534
+ children,
1535
+ content,
1536
+ delay = 600,
1537
+ side = "top",
1538
+ align = "center",
1539
+ className
1540
+ }) {
1541
+ return /* @__PURE__ */ jsx(Tooltip.Provider, { delay, children: /* @__PURE__ */ jsxs(Tooltip.Root, { children: [
1542
+ /* @__PURE__ */ jsx(Tooltip.Trigger, { "data-slot": "tooltip-trigger", render: children }),
1543
+ /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, { side, align, sideOffset: 6, children: /* @__PURE__ */ jsx(
1544
+ Tooltip.Popup,
1545
+ {
1546
+ "data-slot": "tooltip-content",
1547
+ className: cn24(
1548
+ "z-50 max-w-xs overflow-hidden rounded-md",
1549
+ "border border-border bg-foreground px-3 py-1.5",
1550
+ "text-xs text-background shadow-md",
1551
+ "origin-[var(--transform-origin)]",
1552
+ "transition-[transform,scale,opacity]",
1553
+ "data-[open]:scale-100 data-[open]:opacity-100",
1554
+ "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
1555
+ "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
1556
+ className
1557
+ ),
1558
+ children: content
1559
+ }
1560
+ ) }) })
1561
+ ] }) });
1562
+ }
1563
+ MosaicTooltip.displayName = "MosaicTooltip";
1564
+ function cn25(...classes) {
1565
+ return classes.filter(Boolean).join(" ");
1566
+ }
991
1567
  function MosaicCard({ className, ref, ...props }) {
992
1568
  return /* @__PURE__ */ jsx(
993
1569
  "div",
994
1570
  {
995
1571
  ref,
996
1572
  "data-slot": "card",
997
- className: cn13(
1573
+ className: cn25(
998
1574
  "bg-card text-card-foreground rounded-xl border border-border shadow-sm",
999
1575
  className
1000
1576
  ),
@@ -1009,7 +1585,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
1009
1585
  {
1010
1586
  ref,
1011
1587
  "data-slot": "card-header",
1012
- className: cn13("flex flex-col gap-1.5 p-6", className),
1588
+ className: cn25("flex flex-col gap-1.5 p-6", className),
1013
1589
  ...props
1014
1590
  }
1015
1591
  );
@@ -1021,7 +1597,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
1021
1597
  {
1022
1598
  ref,
1023
1599
  "data-slot": "card-title",
1024
- className: cn13("text-lg font-semibold leading-none tracking-tight", className),
1600
+ className: cn25("text-lg font-semibold leading-none tracking-tight", className),
1025
1601
  ...props
1026
1602
  }
1027
1603
  );
@@ -1033,14 +1609,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
1033
1609
  {
1034
1610
  ref,
1035
1611
  "data-slot": "card-description",
1036
- className: cn13("text-sm text-muted-foreground", className),
1612
+ className: cn25("text-sm text-muted-foreground", className),
1037
1613
  ...props
1038
1614
  }
1039
1615
  );
1040
1616
  }
1041
1617
  MosaicCardDescription.displayName = "MosaicCardDescription";
1042
1618
  function MosaicCardContent({ className, ref, ...props }) {
1043
- return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn13("p-6 pt-0", className), ...props });
1619
+ return /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn25("p-6 pt-0", className), ...props });
1044
1620
  }
1045
1621
  MosaicCardContent.displayName = "MosaicCardContent";
1046
1622
  function MosaicCardFooter({ className, ref, ...props }) {
@@ -1049,7 +1625,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
1049
1625
  {
1050
1626
  ref,
1051
1627
  "data-slot": "card-footer",
1052
- className: cn13("flex items-center p-6 pt-0", className),
1628
+ className: cn25("flex items-center p-6 pt-0", className),
1053
1629
  ...props
1054
1630
  }
1055
1631
  );
@@ -1078,7 +1654,7 @@ var badgeVariants = cva(
1078
1654
  }
1079
1655
  }
1080
1656
  );
1081
- function cn14(...classes) {
1657
+ function cn26(...classes) {
1082
1658
  return classes.filter(Boolean).join(" ");
1083
1659
  }
1084
1660
  function MosaicBadge({ className, variant, ref, ...props }) {
@@ -1087,13 +1663,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
1087
1663
  {
1088
1664
  ref,
1089
1665
  "data-slot": "badge",
1090
- className: cn14(badgeVariants({ variant }), className),
1666
+ className: cn26(badgeVariants({ variant }), className),
1091
1667
  ...props
1092
1668
  }
1093
1669
  );
1094
1670
  }
1095
1671
  MosaicBadge.displayName = "MosaicBadge";
1096
- function cn15(...classes) {
1672
+ function cn27(...classes) {
1097
1673
  return classes.filter(Boolean).join(" ");
1098
1674
  }
1099
1675
  function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
@@ -1102,7 +1678,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1102
1678
  {
1103
1679
  ref,
1104
1680
  "data-slot": "avatar",
1105
- className: cn15(
1681
+ className: cn27(
1106
1682
  "relative flex size-10 shrink-0 overflow-hidden rounded-full",
1107
1683
  "bg-muted text-muted-foreground",
1108
1684
  className
@@ -1131,7 +1707,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1131
1707
  );
1132
1708
  }
1133
1709
  MosaicAvatar.displayName = "MosaicAvatar";
1134
- function cn16(...classes) {
1710
+ function cn28(...classes) {
1135
1711
  return classes.filter(Boolean).join(" ");
1136
1712
  }
1137
1713
  function MosaicInput({ className, ref, ...props }) {
@@ -1140,7 +1716,7 @@ function MosaicInput({ className, ref, ...props }) {
1140
1716
  {
1141
1717
  ref,
1142
1718
  "data-slot": "input",
1143
- className: cn16(
1719
+ className: cn28(
1144
1720
  "flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
1145
1721
  "text-sm text-foreground shadow-xs",
1146
1722
  "placeholder:text-muted-foreground",
@@ -1154,7 +1730,7 @@ function MosaicInput({ className, ref, ...props }) {
1154
1730
  );
1155
1731
  }
1156
1732
  MosaicInput.displayName = "MosaicInput";
1157
- function cn17(...classes) {
1733
+ function cn29(...classes) {
1158
1734
  return classes.filter(Boolean).join(" ");
1159
1735
  }
1160
1736
  function MosaicInputGroup({
@@ -1170,7 +1746,7 @@ function MosaicInputGroup({
1170
1746
  {
1171
1747
  ref,
1172
1748
  "data-slot": "input-group",
1173
- className: cn17("flex items-center", className),
1749
+ className: cn29("flex items-center", className),
1174
1750
  ...props,
1175
1751
  children: [
1176
1752
  prefix ? /* @__PURE__ */ jsx(
@@ -1195,7 +1771,7 @@ function MosaicInputGroup({
1195
1771
  );
1196
1772
  }
1197
1773
  MosaicInputGroup.displayName = "MosaicInputGroup";
1198
- function cn18(...classes) {
1774
+ function cn30(...classes) {
1199
1775
  return classes.filter(Boolean).join(" ");
1200
1776
  }
1201
1777
  function MosaicFieldRoot({ className, children, ref, ...props }) {
@@ -1204,7 +1780,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
1204
1780
  {
1205
1781
  ref,
1206
1782
  "data-slot": "field",
1207
- className: cn18("flex flex-col gap-1.5", className),
1783
+ className: cn30("flex flex-col gap-1.5", className),
1208
1784
  ...props,
1209
1785
  children
1210
1786
  }
@@ -1216,7 +1792,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1216
1792
  Field.Label,
1217
1793
  {
1218
1794
  ref,
1219
- className: cn18(
1795
+ className: cn30(
1220
1796
  "text-sm font-medium leading-none text-foreground",
1221
1797
  "data-[disabled]:opacity-50",
1222
1798
  className
@@ -1228,7 +1804,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1228
1804
  }
1229
1805
  MosaicFieldLabel.displayName = "MosaicField.Label";
1230
1806
  function MosaicFieldControl({ className, ref, ...props }) {
1231
- return /* @__PURE__ */ jsx(Field.Control, { ref, className: cn18(className), ...props });
1807
+ return /* @__PURE__ */ jsx(Field.Control, { ref, className: cn30(className), ...props });
1232
1808
  }
1233
1809
  MosaicFieldControl.displayName = "MosaicField.Control";
1234
1810
  function MosaicFieldDescription({
@@ -1241,7 +1817,7 @@ function MosaicFieldDescription({
1241
1817
  Field.Description,
1242
1818
  {
1243
1819
  ref,
1244
- className: cn18("text-xs text-muted-foreground", className),
1820
+ className: cn30("text-xs text-muted-foreground", className),
1245
1821
  ...props,
1246
1822
  children
1247
1823
  }
@@ -1261,7 +1837,7 @@ function MosaicFieldError({
1261
1837
  {
1262
1838
  ref,
1263
1839
  match: show === true ? true : void 0,
1264
- className: cn18("text-xs font-medium text-destructive", className),
1840
+ className: cn30("text-xs font-medium text-destructive", className),
1265
1841
  ...props,
1266
1842
  children
1267
1843
  }
@@ -1274,7 +1850,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
1274
1850
  Description: MosaicFieldDescription,
1275
1851
  Error: MosaicFieldError
1276
1852
  });
1277
- function cn19(...classes) {
1853
+ function cn31(...classes) {
1278
1854
  return classes.filter(Boolean).join(" ");
1279
1855
  }
1280
1856
  function MosaicSwitch({ className, ref, ...props }) {
@@ -1283,7 +1859,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1283
1859
  {
1284
1860
  ref,
1285
1861
  "data-slot": "switch",
1286
- className: cn19(
1862
+ className: cn31(
1287
1863
  // Track
1288
1864
  "relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
1289
1865
  "rounded-full border-2 border-transparent outline-none",
@@ -1301,7 +1877,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1301
1877
  Switch.Thumb,
1302
1878
  {
1303
1879
  "data-slot": "switch-thumb",
1304
- className: cn19(
1880
+ className: cn31(
1305
1881
  "pointer-events-none block h-4 w-4 rounded-full",
1306
1882
  "bg-background shadow-sm",
1307
1883
  "translate-x-0 transition-transform",
@@ -1313,7 +1889,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1313
1889
  );
1314
1890
  }
1315
1891
  MosaicSwitch.displayName = "MosaicSwitch";
1316
- function cn20(...classes) {
1892
+ function cn32(...classes) {
1317
1893
  return classes.filter(Boolean).join(" ");
1318
1894
  }
1319
1895
  function MosaicSelect({
@@ -1345,7 +1921,7 @@ function MosaicSelect({
1345
1921
  Select.Trigger,
1346
1922
  {
1347
1923
  "data-slot": "select",
1348
- className: cn20(
1924
+ className: cn32(
1349
1925
  "inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
1350
1926
  "rounded-md border border-border bg-background px-3 py-2",
1351
1927
  "text-sm text-foreground shadow-xs outline-none",
@@ -1365,7 +1941,7 @@ function MosaicSelect({
1365
1941
  Select.Popup,
1366
1942
  {
1367
1943
  "data-slot": "select-popup",
1368
- className: cn20(
1944
+ className: cn32(
1369
1945
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1370
1946
  "bg-popover p-1 text-popover-foreground shadow-md",
1371
1947
  "origin-[var(--transform-origin)]",
@@ -1379,7 +1955,7 @@ function MosaicSelect({
1379
1955
  {
1380
1956
  value: item.value,
1381
1957
  disabled: item.disabled,
1382
- className: cn20(
1958
+ className: cn32(
1383
1959
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1384
1960
  "text-sm text-popover-foreground outline-none",
1385
1961
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1433,7 +2009,7 @@ function CheckIcon() {
1433
2009
  }
1434
2010
  );
1435
2011
  }
1436
- function cn21(...classes) {
2012
+ function cn33(...classes) {
1437
2013
  return classes.filter(Boolean).join(" ");
1438
2014
  }
1439
2015
  function MosaicCombobox({
@@ -1462,12 +2038,12 @@ function MosaicCombobox({
1462
2038
  name,
1463
2039
  onInputValueChange: setInputValue,
1464
2040
  autoHighlight: true,
1465
- children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className: cn21("relative w-full", className), children: [
2041
+ children: /* @__PURE__ */ jsxs("div", { "data-slot": "combobox", className: cn33("relative w-full", className), children: [
1466
2042
  /* @__PURE__ */ jsx(
1467
2043
  Combobox.Input,
1468
2044
  {
1469
2045
  placeholder,
1470
- className: cn21(
2046
+ className: cn33(
1471
2047
  "h-9 w-full rounded-md border border-border bg-background px-3 py-2",
1472
2048
  "text-sm text-foreground shadow-xs outline-none",
1473
2049
  "placeholder:text-muted-foreground",
@@ -1479,7 +2055,7 @@ function MosaicCombobox({
1479
2055
  /* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsx(
1480
2056
  Combobox.Popup,
1481
2057
  {
1482
- className: cn21(
2058
+ className: cn33(
1483
2059
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1484
2060
  "bg-popover p-1 text-popover-foreground shadow-md",
1485
2061
  "origin-[var(--transform-origin)]",
@@ -1494,7 +2070,7 @@ function MosaicCombobox({
1494
2070
  {
1495
2071
  value: item.value,
1496
2072
  disabled: item.disabled,
1497
- className: cn21(
2073
+ className: cn33(
1498
2074
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1499
2075
  "text-sm text-popover-foreground outline-none",
1500
2076
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1513,7 +2089,7 @@ function MosaicCombobox({
1513
2089
  }
1514
2090
  );
1515
2091
  }
1516
- function cn22(...classes) {
2092
+ function cn34(...classes) {
1517
2093
  return classes.filter(Boolean).join(" ");
1518
2094
  }
1519
2095
  function MosaicDropdownMenu({
@@ -1530,7 +2106,7 @@ function MosaicDropdownMenu({
1530
2106
  Menu.Popup,
1531
2107
  {
1532
2108
  "data-slot": "dropdown-menu",
1533
- className: cn22(
2109
+ className: cn34(
1534
2110
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1535
2111
  "bg-popover p-1 text-popover-foreground shadow-md",
1536
2112
  "origin-[var(--transform-origin)]",
@@ -1547,7 +2123,7 @@ function MosaicDropdownMenu({
1547
2123
  {
1548
2124
  disabled: item.disabled,
1549
2125
  onClick: () => onItemSelect?.(item.id),
1550
- className: cn22(
2126
+ className: cn34(
1551
2127
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1552
2128
  "text-sm text-popover-foreground outline-none",
1553
2129
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1689,7 +2265,7 @@ function useDevice() {
1689
2265
  }
1690
2266
  return ctx;
1691
2267
  }
1692
- function cn23(...classes) {
2268
+ function cn35(...classes) {
1693
2269
  return classes.filter(Boolean).join(" ");
1694
2270
  }
1695
2271
  function MosaicAdaptiveGrid({
@@ -1708,14 +2284,14 @@ function MosaicAdaptiveGrid({
1708
2284
  {
1709
2285
  ref,
1710
2286
  "data-slot": "adaptive-grid",
1711
- className: cn23("grid", gap, className),
2287
+ className: cn35("grid", gap, className),
1712
2288
  style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
1713
2289
  children
1714
2290
  }
1715
2291
  );
1716
2292
  }
1717
2293
  MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
1718
- function cn24(...classes) {
2294
+ function cn36(...classes) {
1719
2295
  return classes.filter(Boolean).join(" ");
1720
2296
  }
1721
2297
  var ANIM_ID = "mosaic-adaptive-modal-kf";
@@ -1820,7 +2396,7 @@ function MosaicAdaptiveModal({
1820
2396
  children: /* @__PURE__ */ jsxs(
1821
2397
  "div",
1822
2398
  {
1823
- className: cn24(
2399
+ className: cn36(
1824
2400
  "mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
1825
2401
  "max-h-[90dvh] flex flex-col",
1826
2402
  className
@@ -1853,7 +2429,7 @@ function MosaicAdaptiveModal({
1853
2429
  children: /* @__PURE__ */ jsxs(
1854
2430
  "div",
1855
2431
  {
1856
- className: cn24(
2432
+ className: cn36(
1857
2433
  "mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
1858
2434
  "max-h-[90vh] flex flex-col",
1859
2435
  className
@@ -1901,7 +2477,7 @@ function MosaicAdaptiveModal({
1901
2477
  );
1902
2478
  }
1903
2479
  MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
1904
- function cn25(...classes) {
2480
+ function cn37(...classes) {
1905
2481
  return classes.filter(Boolean).join(" ");
1906
2482
  }
1907
2483
  function CheckIcon2() {
@@ -1958,7 +2534,7 @@ function MosaicAdaptiveNavigation({
1958
2534
  {
1959
2535
  ref,
1960
2536
  "data-slot": "adaptive-navigation",
1961
- className: cn25("space-y-3", className),
2537
+ className: cn37("space-y-3", className),
1962
2538
  "aria-label": "Step navigation",
1963
2539
  children: items.map((item, idx) => {
1964
2540
  const isExpanded = expandedItems?.has(item.id) ?? false;
@@ -1976,7 +2552,7 @@ function MosaicAdaptiveNavigation({
1976
2552
  /* @__PURE__ */ jsx(
1977
2553
  "div",
1978
2554
  {
1979
- className: cn25(
2555
+ className: cn37(
1980
2556
  "flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
1981
2557
  item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
1982
2558
  ),
@@ -2010,7 +2586,7 @@ function MosaicAdaptiveNavigation({
2010
2586
  {
2011
2587
  ref,
2012
2588
  "data-slot": "adaptive-navigation",
2013
- className: cn25("w-full", className),
2589
+ className: cn37("w-full", className),
2014
2590
  "aria-label": "Tab navigation",
2015
2591
  children: /* @__PURE__ */ jsx(
2016
2592
  "div",
@@ -2027,7 +2603,7 @@ function MosaicAdaptiveNavigation({
2027
2603
  role: "tab",
2028
2604
  "aria-selected": isActive,
2029
2605
  onClick: () => onItemChange(item.id),
2030
- className: cn25(
2606
+ className: cn37(
2031
2607
  "flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
2032
2608
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
2033
2609
  isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
@@ -2036,7 +2612,7 @@ function MosaicAdaptiveNavigation({
2036
2612
  /* @__PURE__ */ jsx(
2037
2613
  "div",
2038
2614
  {
2039
- className: cn25(
2615
+ className: cn37(
2040
2616
  "flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
2041
2617
  item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
2042
2618
  ),
@@ -2048,7 +2624,7 @@ function MosaicAdaptiveNavigation({
2048
2624
  item.duration !== void 0 && /* @__PURE__ */ jsxs(
2049
2625
  "span",
2050
2626
  {
2051
- className: cn25(
2627
+ className: cn37(
2052
2628
  "rounded px-1 py-0.5 text-xs",
2053
2629
  isActive ? "bg-primary-foreground/20" : "bg-muted"
2054
2630
  ),
@@ -2069,7 +2645,7 @@ function MosaicAdaptiveNavigation({
2069
2645
  );
2070
2646
  }
2071
2647
  MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
2072
- function cn26(...classes) {
2648
+ function cn38(...classes) {
2073
2649
  return classes.filter(Boolean).join(" ");
2074
2650
  }
2075
2651
  var ANIM_ID2 = "mosaic-sidebar-kf";
@@ -2239,7 +2815,7 @@ function MosaicAppSidebar({
2239
2815
  {
2240
2816
  ref,
2241
2817
  "data-slot": "app-sidebar",
2242
- className: cn26(
2818
+ className: cn38(
2243
2819
  "flex h-full flex-col bg-sidebar border-r border-sidebar-border",
2244
2820
  isMobile && "border-r-0",
2245
2821
  className
@@ -2259,7 +2835,7 @@ function MosaicAppSidebar({
2259
2835
  type: "button",
2260
2836
  onClick: onToggleCollapse,
2261
2837
  "aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
2262
- className: cn26(
2838
+ className: cn38(
2263
2839
  "flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
2264
2840
  "hover:bg-sidebar-accent text-sidebar-foreground",
2265
2841
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2289,7 +2865,7 @@ function MosaicAppSidebar({
2289
2865
  },
2290
2866
  "aria-current": isActive ? "page" : void 0,
2291
2867
  "aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
2292
- className: cn26(
2868
+ className: cn38(
2293
2869
  "group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
2294
2870
  "hover:bg-sidebar-accent",
2295
2871
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2316,7 +2892,7 @@ function MosaicAppSidebar({
2316
2892
  type: "button",
2317
2893
  onClick: () => handleNavClick(sub.href),
2318
2894
  "aria-current": isSubActive ? "page" : void 0,
2319
- className: cn26(
2895
+ className: cn38(
2320
2896
  "flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
2321
2897
  "hover:bg-sidebar-accent/50 text-sidebar-foreground",
2322
2898
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2339,7 +2915,7 @@ function MosaicAppSidebar({
2339
2915
  {
2340
2916
  type: "button",
2341
2917
  onClick: action.onClick,
2342
- className: cn26(
2918
+ className: cn38(
2343
2919
  "flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
2344
2920
  "text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
2345
2921
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -2386,7 +2962,7 @@ function MosaicAppSidebar({
2386
2962
  );
2387
2963
  }
2388
2964
  MosaicAppSidebar.displayName = "MosaicAppSidebar";
2389
- function cn27(...classes) {
2965
+ function cn39(...classes) {
2390
2966
  return classes.filter(Boolean).join(" ");
2391
2967
  }
2392
2968
  var ANIM_ID3 = "mosaic-dashboard-kf";
@@ -2476,7 +3052,7 @@ function MosaicDashboardLayout({
2476
3052
  {
2477
3053
  ref,
2478
3054
  "data-slot": "dashboard-layout",
2479
- className: cn27("flex h-screen w-full bg-background", className),
3055
+ className: cn39("flex h-screen w-full bg-background", className),
2480
3056
  children: [
2481
3057
  !isMobile && /* @__PURE__ */ jsx(
2482
3058
  MosaicAppSidebar,
@@ -2500,7 +3076,7 @@ function MosaicDashboardLayout({
2500
3076
  type: "button",
2501
3077
  "aria-label": "Open navigation",
2502
3078
  onClick: () => setIsMobileSidebarOpen(true),
2503
- className: cn27(
3079
+ className: cn39(
2504
3080
  "flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
2505
3081
  "text-foreground transition-colors hover:bg-muted",
2506
3082
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -2552,7 +3128,7 @@ function MosaicDashboardLayout({
2552
3128
  );
2553
3129
  }
2554
3130
  MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
2555
- function cn28(...classes) {
3131
+ function cn40(...classes) {
2556
3132
  return classes.filter(Boolean).join(" ");
2557
3133
  }
2558
3134
  var ANIM_ID4 = "mosaic-quick-action-kf";
@@ -2607,7 +3183,7 @@ function MosaicQuickActionCard({
2607
3183
  {
2608
3184
  ref,
2609
3185
  "data-slot": "quick-action-card",
2610
- className: cn28("rounded-xl border border-border bg-card", className),
3186
+ className: cn40("rounded-xl border border-border bg-card", className),
2611
3187
  children: [
2612
3188
  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 }) }),
2613
3189
  /* @__PURE__ */ jsx(
@@ -2632,7 +3208,7 @@ function MosaicQuickActionCard({
2632
3208
  /* @__PURE__ */ jsxs(
2633
3209
  "div",
2634
3210
  {
2635
- className: cn28(
3211
+ className: cn40(
2636
3212
  "flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
2637
3213
  "transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
2638
3214
  accentClass
@@ -2665,7 +3241,7 @@ function MosaicQuickActionCard({
2665
3241
  );
2666
3242
  }
2667
3243
  MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
2668
- function cn29(...classes) {
3244
+ function cn41(...classes) {
2669
3245
  return classes.filter(Boolean).join(" ");
2670
3246
  }
2671
3247
  var ANIM_ID5 = "mosaic-activity-feed-kf";
@@ -2754,7 +3330,7 @@ function MosaicActivityItem({ activity, icon, className }) {
2754
3330
  "div",
2755
3331
  {
2756
3332
  "data-slot": "activity-item",
2757
- className: cn29(
3333
+ className: cn41(
2758
3334
  "flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
2759
3335
  className
2760
3336
  ),
@@ -2788,7 +3364,7 @@ function MosaicActivityItem({ activity, icon, className }) {
2788
3364
  /* @__PURE__ */ jsx(
2789
3365
  "span",
2790
3366
  {
2791
- className: cn29(
3367
+ className: cn41(
2792
3368
  "rounded-full px-2 py-0.5 text-xs font-medium",
2793
3369
  getStatusClass(activity.status)
2794
3370
  ),
@@ -2829,7 +3405,7 @@ function MosaicActivityFeed({
2829
3405
  {
2830
3406
  ref,
2831
3407
  "data-slot": "activity-feed",
2832
- className: cn29("rounded-xl border border-border bg-card", className),
3408
+ className: cn41("rounded-xl border border-border bg-card", className),
2833
3409
  children: [
2834
3410
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
2835
3411
  /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
@@ -2855,7 +3431,7 @@ function MosaicActivityFeed({
2855
3431
  );
2856
3432
  }
2857
3433
  MosaicActivityFeed.displayName = "MosaicActivityFeed";
2858
- function cn30(...classes) {
3434
+ function cn42(...classes) {
2859
3435
  return classes.filter(Boolean).join(" ");
2860
3436
  }
2861
3437
  function SparklesIcon() {
@@ -3064,7 +3640,7 @@ function MosaicAgentComposerDesktop({
3064
3640
  value: agentName,
3065
3641
  onChange: (e) => onAgentNameChange(e.target.value),
3066
3642
  placeholder: "Enter agent name\u2026",
3067
- className: cn30(
3643
+ className: cn42(
3068
3644
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3069
3645
  "placeholder:text-muted-foreground",
3070
3646
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3165,7 +3741,7 @@ function MosaicAgentComposerDesktop({
3165
3741
  onChange: (e) => onCustomInstructionsChange(e.target.value),
3166
3742
  placeholder: "Add any specific instructions or behaviors\u2026",
3167
3743
  rows: 5,
3168
- className: cn30(
3744
+ className: cn42(
3169
3745
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3170
3746
  "placeholder:text-muted-foreground",
3171
3747
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3233,7 +3809,7 @@ function MosaicAgentComposerDesktop({
3233
3809
  /* @__PURE__ */ jsx(SparklesIcon, {}),
3234
3810
  /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
3235
3811
  ] }) }),
3236
- /* @__PURE__ */ jsxs("div", { className: cn30("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3812
+ /* @__PURE__ */ jsxs("div", { className: cn42("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3237
3813
  isEditMode && onCancel && /* @__PURE__ */ jsx(
3238
3814
  "button",
3239
3815
  {
@@ -3249,7 +3825,7 @@ function MosaicAgentComposerDesktop({
3249
3825
  type: "button",
3250
3826
  onClick: onSave,
3251
3827
  disabled: !canSave,
3252
- className: cn30(
3828
+ className: cn42(
3253
3829
  "flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
3254
3830
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3255
3831
  "bg-primary text-primary-foreground hover:bg-primary/90",
@@ -3270,7 +3846,7 @@ function MosaicAgentComposerDesktop({
3270
3846
  ] });
3271
3847
  }
3272
3848
  MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
3273
- function cn31(...classes) {
3849
+ function cn43(...classes) {
3274
3850
  return classes.filter(Boolean).join(" ");
3275
3851
  }
3276
3852
  function SparklesIcon2() {
@@ -3526,7 +4102,7 @@ function MosaicAgentComposerMobile({
3526
4102
  disabled: isLoading,
3527
4103
  "aria-required": "true",
3528
4104
  "aria-invalid": canSave && !agentName ? "true" : "false",
3529
- className: cn31(
4105
+ className: cn43(
3530
4106
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3531
4107
  "placeholder:text-muted-foreground",
3532
4108
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3630,7 +4206,7 @@ function MosaicAgentComposerMobile({
3630
4206
  disabled: isLoading,
3631
4207
  "aria-describedby": `${instructionsId}-help`,
3632
4208
  rows: 4,
3633
- className: cn31(
4209
+ className: cn43(
3634
4210
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3635
4211
  "placeholder:text-muted-foreground",
3636
4212
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3686,7 +4262,7 @@ function MosaicAgentComposer(props) {
3686
4262
  return isMobile ? /* @__PURE__ */ jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsx(MosaicAgentComposerDesktop, { ...props });
3687
4263
  }
3688
4264
  MosaicAgentComposer.displayName = "MosaicAgentComposer";
3689
- function cn32(...classes) {
4265
+ function cn44(...classes) {
3690
4266
  return classes.filter(Boolean).join(" ");
3691
4267
  }
3692
4268
  function EditIcon() {
@@ -3744,7 +4320,7 @@ function MosaicModuleCard({
3744
4320
  {
3745
4321
  ref,
3746
4322
  "data-slot": "module-card",
3747
- className: cn32(
4323
+ className: cn44(
3748
4324
  "min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
3749
4325
  "flex items-start gap-3",
3750
4326
  isSelected && "ring-2 ring-primary bg-primary/5",
@@ -3806,7 +4382,7 @@ function MosaicThemeProvider({
3806
4382
  return /* @__PURE__ */ jsx("div", { "data-slot": "theme-provider", children });
3807
4383
  }
3808
4384
  MosaicThemeProvider.displayName = "MosaicThemeProvider";
3809
- function cn33(...classes) {
4385
+ function cn45(...classes) {
3810
4386
  return classes.filter(Boolean).join(" ");
3811
4387
  }
3812
4388
  var ANIM_ID6 = "mosaic-delete-dialog-kf";
@@ -3860,14 +4436,14 @@ function MosaicDeleteConfirmationDialog({
3860
4436
  /* @__PURE__ */ jsx(
3861
4437
  AlertDialog.Backdrop,
3862
4438
  {
3863
- className: cn33("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
4439
+ className: cn45("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
3864
4440
  }
3865
4441
  ),
3866
4442
  /* @__PURE__ */ jsxs(
3867
4443
  AlertDialog.Popup,
3868
4444
  {
3869
4445
  "data-slot": "delete-confirmation-dialog",
3870
- className: cn33(
4446
+ className: cn45(
3871
4447
  "mosaic-delete-content",
3872
4448
  "fixed left-1/2 top-1/2 z-50",
3873
4449
  "w-full max-w-[92vw] sm:max-w-md",
@@ -3880,7 +4456,7 @@ function MosaicDeleteConfirmationDialog({
3880
4456
  /* @__PURE__ */ jsx(
3881
4457
  AlertDialog.Close,
3882
4458
  {
3883
- className: cn33(
4459
+ className: cn45(
3884
4460
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
3885
4461
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
3886
4462
  "hover:bg-accent hover:text-accent-foreground",
@@ -3894,7 +4470,7 @@ function MosaicDeleteConfirmationDialog({
3894
4470
  AlertDialog.Close,
3895
4471
  {
3896
4472
  onClick: onConfirm,
3897
- className: cn33(
4473
+ className: cn45(
3898
4474
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
3899
4475
  "bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
3900
4476
  "hover:bg-destructive/90",
@@ -3911,7 +4487,7 @@ function MosaicDeleteConfirmationDialog({
3911
4487
  ] }) });
3912
4488
  }
3913
4489
  MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
3914
- function cn34(...classes) {
4490
+ function cn46(...classes) {
3915
4491
  return classes.filter(Boolean).join(" ");
3916
4492
  }
3917
4493
  function Toggle({
@@ -3927,7 +4503,7 @@ function Toggle({
3927
4503
  id,
3928
4504
  "aria-checked": checked,
3929
4505
  onClick: () => onChange(!checked),
3930
- className: cn34(
4506
+ className: cn46(
3931
4507
  "relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
3932
4508
  "transition-colors duration-200 ease-in-out",
3933
4509
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
@@ -3936,7 +4512,7 @@ function Toggle({
3936
4512
  children: /* @__PURE__ */ jsx(
3937
4513
  "span",
3938
4514
  {
3939
- className: cn34(
4515
+ className: cn46(
3940
4516
  "pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
3941
4517
  "transform transition duration-200 ease-in-out",
3942
4518
  checked ? "translate-x-5" : "translate-x-0"
@@ -3958,7 +4534,7 @@ function NativeSelect({
3958
4534
  id,
3959
4535
  value,
3960
4536
  onChange: (e) => onChange(e.target.value),
3961
- className: cn34(
4537
+ className: cn46(
3962
4538
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
3963
4539
  "text-sm text-foreground",
3964
4540
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3977,7 +4553,7 @@ function MosaicPreferencesPanel({
3977
4553
  className
3978
4554
  }) {
3979
4555
  const { isMobile } = useDevice();
3980
- return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className: cn34("space-y-4 md:space-y-6", className), children: [
4556
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "preferences-panel", className: cn46("space-y-4 md:space-y-6", className), children: [
3981
4557
  groups.map((group) => /* @__PURE__ */ jsxs(
3982
4558
  "div",
3983
4559
  {
@@ -4020,13 +4596,13 @@ function MosaicPreferencesPanel({
4020
4596
  },
4021
4597
  group.id
4022
4598
  )),
4023
- /* @__PURE__ */ jsx("div", { className: cn34("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
4599
+ /* @__PURE__ */ jsx("div", { className: cn46("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
4024
4600
  "button",
4025
4601
  {
4026
4602
  type: "button",
4027
4603
  onClick: onSave,
4028
4604
  disabled: isSaving,
4029
- className: cn34(
4605
+ className: cn46(
4030
4606
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4031
4607
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4032
4608
  "hover:bg-primary/90",
@@ -4062,7 +4638,7 @@ function MosaicPreferencesPanel({
4062
4638
  ] });
4063
4639
  }
4064
4640
  MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
4065
- function cn35(...classes) {
4641
+ function cn47(...classes) {
4066
4642
  return classes.filter(Boolean).join(" ");
4067
4643
  }
4068
4644
  function AvatarDisplay({
@@ -4075,7 +4651,7 @@ function AvatarDisplay({
4075
4651
  return /* @__PURE__ */ jsx(
4076
4652
  "span",
4077
4653
  {
4078
- className: cn35(
4654
+ className: cn47(
4079
4655
  "inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
4080
4656
  sizeClass
4081
4657
  ),
@@ -4097,7 +4673,7 @@ function MosaicProfilePanel({
4097
4673
  className
4098
4674
  }) {
4099
4675
  const { isMobile } = useDevice();
4100
- return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className: cn35("space-y-4 md:space-y-6", className), children: [
4676
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "profile-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
4101
4677
  /* @__PURE__ */ jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
4102
4678
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
4103
4679
  /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
@@ -4117,7 +4693,7 @@ function MosaicProfilePanel({
4117
4693
  {
4118
4694
  type: "button",
4119
4695
  onClick: onAvatarUpload,
4120
- className: cn35(
4696
+ className: cn47(
4121
4697
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
4122
4698
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4123
4699
  "hover:bg-accent hover:text-accent-foreground",
@@ -4167,7 +4743,7 @@ function MosaicProfilePanel({
4167
4743
  placeholder: field.placeholder,
4168
4744
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4169
4745
  rows: 4,
4170
- className: cn35(
4746
+ className: cn47(
4171
4747
  "flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
4172
4748
  "text-sm text-foreground placeholder:text-muted-foreground",
4173
4749
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4183,7 +4759,7 @@ function MosaicProfilePanel({
4183
4759
  readOnly: field.readOnly,
4184
4760
  placeholder: field.placeholder,
4185
4761
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4186
- className: cn35(
4762
+ className: cn47(
4187
4763
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
4188
4764
  "text-sm text-foreground placeholder:text-muted-foreground",
4189
4765
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4203,7 +4779,7 @@ function MosaicProfilePanel({
4203
4779
  {
4204
4780
  type: "button",
4205
4781
  onClick: onChangePassword,
4206
- className: cn35(
4782
+ className: cn47(
4207
4783
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
4208
4784
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4209
4785
  "hover:bg-accent hover:text-accent-foreground",
@@ -4215,13 +4791,13 @@ function MosaicProfilePanel({
4215
4791
  ) })
4216
4792
  ] }),
4217
4793
  extraSections,
4218
- /* @__PURE__ */ jsx("div", { className: cn35("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
4794
+ /* @__PURE__ */ jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxs(
4219
4795
  "button",
4220
4796
  {
4221
4797
  type: "button",
4222
4798
  onClick: onSave,
4223
4799
  disabled: isSaving,
4224
- className: cn35(
4800
+ className: cn47(
4225
4801
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4226
4802
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4227
4803
  "hover:bg-primary/90",
@@ -4257,7 +4833,7 @@ function MosaicProfilePanel({
4257
4833
  ] });
4258
4834
  }
4259
4835
  MosaicProfilePanel.displayName = "MosaicProfilePanel";
4260
- function cn36(...classes) {
4836
+ function cn48(...classes) {
4261
4837
  return classes.filter(Boolean).join(" ");
4262
4838
  }
4263
4839
  var ANIM_ID7 = "mosaic-main-nav-kf";
@@ -4365,7 +4941,7 @@ function MosaicMainNav({
4365
4941
  {
4366
4942
  type: "button",
4367
4943
  onClick: () => setIsOpen(!isOpen),
4368
- className: cn36(
4944
+ className: cn48(
4369
4945
  "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
4370
4946
  "text-foreground hover:bg-accent hover:text-accent-foreground",
4371
4947
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4391,7 +4967,7 @@ function MosaicMainNav({
4391
4967
  "aria-label": "Navigation",
4392
4968
  open: isOpen,
4393
4969
  "data-open": isOpen ? "true" : "false",
4394
- className: cn36(
4970
+ className: cn48(
4395
4971
  "mosaic-nav-drawer",
4396
4972
  "fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
4397
4973
  "border-r border-border bg-background shadow-xl",
@@ -4408,7 +4984,7 @@ function MosaicMainNav({
4408
4984
  {
4409
4985
  type: "button",
4410
4986
  onClick: () => setIsOpen(false),
4411
- className: cn36(
4987
+ className: cn48(
4412
4988
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
4413
4989
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
4414
4990
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4421,7 +4997,7 @@ function MosaicMainNav({
4421
4997
  /* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
4422
4998
  const Icon = item.icon;
4423
4999
  const active = isItemActive(item);
4424
- const itemClass = cn36(
5000
+ const itemClass = cn48(
4425
5001
  "flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
4426
5002
  "hover:bg-accent hover:text-accent-foreground",
4427
5003
  "min-h-[44px]",
@@ -4447,12 +5023,12 @@ function MosaicMainNav({
4447
5023
  "nav",
4448
5024
  {
4449
5025
  "data-slot": "main-nav",
4450
- className: cn36("flex items-center gap-1", className),
5026
+ className: cn48("flex items-center gap-1", className),
4451
5027
  "aria-label": "Main navigation",
4452
5028
  children: filteredItems.map((item) => {
4453
5029
  const Icon = item.icon;
4454
5030
  const active = isItemActive(item);
4455
- const itemClass = cn36(
5031
+ const itemClass = cn48(
4456
5032
  "flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
4457
5033
  "hover:bg-accent hover:text-accent-foreground",
4458
5034
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4472,7 +5048,7 @@ function MosaicMainNav({
4472
5048
  );
4473
5049
  }
4474
5050
  MosaicMainNav.displayName = "MosaicMainNav";
4475
- function cn37(...classes) {
5051
+ function cn49(...classes) {
4476
5052
  return classes.filter(Boolean).join(" ");
4477
5053
  }
4478
5054
  function MoreVertIcon() {
@@ -4603,7 +5179,7 @@ function MosaicAgentCard({
4603
5179
  "div",
4604
5180
  {
4605
5181
  "data-slot": "agent-card",
4606
- className: cn37(
5182
+ className: cn49(
4607
5183
  "relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
4608
5184
  "transition-shadow hover:shadow-md",
4609
5185
  agent.isActive && "ring-2 ring-primary",
@@ -4613,7 +5189,7 @@ function MosaicAgentCard({
4613
5189
  /* @__PURE__ */ jsx(
4614
5190
  "div",
4615
5191
  {
4616
- className: cn37(
5192
+ className: cn49(
4617
5193
  "absolute left-0 top-0 h-1 w-full",
4618
5194
  agent.isActive ? "bg-primary" : "bg-muted"
4619
5195
  )
@@ -4625,7 +5201,7 @@ function MosaicAgentCard({
4625
5201
  agent.accentColor && /* @__PURE__ */ jsx(
4626
5202
  "span",
4627
5203
  {
4628
- className: cn37("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5204
+ className: cn49("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
4629
5205
  "aria-hidden": "true"
4630
5206
  }
4631
5207
  ),
@@ -4643,7 +5219,7 @@ function MosaicAgentCard({
4643
5219
  {
4644
5220
  type: "button",
4645
5221
  onClick: () => setMenuOpen((v) => !v),
4646
- className: cn37(
5222
+ className: cn49(
4647
5223
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
4648
5224
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
4649
5225
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4658,7 +5234,7 @@ function MosaicAgentCard({
4658
5234
  "div",
4659
5235
  {
4660
5236
  role: "menu",
4661
- className: cn37(
5237
+ className: cn49(
4662
5238
  "absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
4663
5239
  "bg-popover py-1 shadow-md"
4664
5240
  ),
@@ -4673,7 +5249,7 @@ function MosaicAgentCard({
4673
5249
  onToggleStatus(agent.id);
4674
5250
  setMenuOpen(false);
4675
5251
  },
4676
- className: cn37(
5252
+ className: cn49(
4677
5253
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
4678
5254
  "hover:bg-accent hover:text-accent-foreground",
4679
5255
  "disabled:pointer-events-none disabled:opacity-50"
@@ -4735,7 +5311,7 @@ function MosaicAgentCard({
4735
5311
  type: "button",
4736
5312
  disabled: isLoading,
4737
5313
  onClick: () => onToggleStatus(agent.id),
4738
- className: cn37(
5314
+ className: cn49(
4739
5315
  "inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
4740
5316
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4741
5317
  "disabled:pointer-events-none disabled:opacity-50",
@@ -4751,7 +5327,7 @@ function MosaicAgentCard({
4751
5327
  );
4752
5328
  }
4753
5329
  MosaicAgentCard.displayName = "MosaicAgentCard";
4754
- function cn38(...classes) {
5330
+ function cn50(...classes) {
4755
5331
  return classes.filter(Boolean).join(" ");
4756
5332
  }
4757
5333
  function PlusIcon3() {
@@ -4831,7 +5407,7 @@ function PickerContent({
4831
5407
  {
4832
5408
  type: "button",
4833
5409
  onClick: () => onAdd(agent.id),
4834
- className: cn38(
5410
+ className: cn50(
4835
5411
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
4836
5412
  "hover:bg-accent hover:text-accent-foreground",
4837
5413
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4840,7 +5416,7 @@ function PickerContent({
4840
5416
  agent.accentColor && /* @__PURE__ */ jsx(
4841
5417
  "span",
4842
5418
  {
4843
- className: cn38("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5419
+ className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
4844
5420
  "aria-hidden": "true"
4845
5421
  }
4846
5422
  ),
@@ -4857,7 +5433,7 @@ function PickerContent({
4857
5433
  {
4858
5434
  type: "button",
4859
5435
  onClick: onOpenBuilder,
4860
- className: cn38(
5436
+ className: cn50(
4861
5437
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
4862
5438
  "hover:bg-accent hover:text-accent-foreground",
4863
5439
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4907,11 +5483,11 @@ function MosaicQuickAgentSelector({
4907
5483
  setPickerOpen(false);
4908
5484
  };
4909
5485
  const canAdd = selectedAgents.length < maxAgents;
4910
- return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className: cn38("flex items-center gap-2", className), children: [
5486
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-agent-selector", className: cn50("flex items-center gap-2", className), children: [
4911
5487
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxs(
4912
5488
  "div",
4913
5489
  {
4914
- className: cn38(
5490
+ className: cn50(
4915
5491
  "group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
4916
5492
  isMobile ? "px-2 py-1" : "px-3 py-1.5"
4917
5493
  ),
@@ -4919,17 +5495,17 @@ function MosaicQuickAgentSelector({
4919
5495
  agent.accentColor && /* @__PURE__ */ jsx(
4920
5496
  "span",
4921
5497
  {
4922
- className: cn38("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
5498
+ className: cn50("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
4923
5499
  "aria-hidden": "true"
4924
5500
  }
4925
5501
  ),
4926
- /* @__PURE__ */ jsx("span", { className: cn38("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
5502
+ /* @__PURE__ */ jsx("span", { className: cn50("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
4927
5503
  /* @__PURE__ */ jsx(
4928
5504
  "button",
4929
5505
  {
4930
5506
  type: "button",
4931
5507
  onClick: () => onRemoveAgent(agent.id),
4932
- className: cn38(
5508
+ className: cn50(
4933
5509
  "inline-flex h-4 w-4 items-center justify-center rounded",
4934
5510
  "text-muted-foreground hover:text-foreground",
4935
5511
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -4949,7 +5525,7 @@ function MosaicQuickAgentSelector({
4949
5525
  {
4950
5526
  type: "button",
4951
5527
  onClick: () => setPickerOpen((v) => !v),
4952
- className: cn38(
5528
+ className: cn50(
4953
5529
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
4954
5530
  "px-3 py-1.5 text-sm font-medium text-foreground",
4955
5531
  "hover:bg-accent hover:text-accent-foreground",
@@ -4964,7 +5540,7 @@ function MosaicQuickAgentSelector({
4964
5540
  !isMobile && pickerOpen && /* @__PURE__ */ jsx(
4965
5541
  "div",
4966
5542
  {
4967
- className: cn38(
5543
+ className: cn50(
4968
5544
  "absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
4969
5545
  "bg-popover shadow-lg"
4970
5546
  ),
@@ -5006,7 +5582,7 @@ function MosaicQuickAgentSelector({
5006
5582
  /* @__PURE__ */ jsxs(
5007
5583
  "span",
5008
5584
  {
5009
- className: cn38(
5585
+ className: cn50(
5010
5586
  "shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
5011
5587
  ),
5012
5588
  children: [
@@ -5019,7 +5595,7 @@ function MosaicQuickAgentSelector({
5019
5595
  ] });
5020
5596
  }
5021
5597
  MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
5022
- function cn39(...classes) {
5598
+ function cn51(...classes) {
5023
5599
  return classes.filter(Boolean).join(" ");
5024
5600
  }
5025
5601
  function SearchIcon() {
@@ -5109,7 +5685,7 @@ function MosaicSelectorModal({
5109
5685
  value: query,
5110
5686
  onChange: (e) => setQuery(e.target.value),
5111
5687
  placeholder: searchPlaceholder,
5112
- className: cn39(
5688
+ className: cn51(
5113
5689
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5114
5690
  "text-sm text-foreground placeholder:text-muted-foreground",
5115
5691
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5123,7 +5699,7 @@ function MosaicSelectorModal({
5123
5699
  {
5124
5700
  type: "button",
5125
5701
  onClick: () => setActiveCategory("all"),
5126
- className: cn39(
5702
+ className: cn51(
5127
5703
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5128
5704
  activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5129
5705
  ),
@@ -5135,7 +5711,7 @@ function MosaicSelectorModal({
5135
5711
  {
5136
5712
  type: "button",
5137
5713
  onClick: () => setActiveCategory(cat.id),
5138
- className: cn39(
5714
+ className: cn51(
5139
5715
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5140
5716
  activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5141
5717
  ),
@@ -5147,7 +5723,7 @@ function MosaicSelectorModal({
5147
5723
  /* @__PURE__ */ jsxs(
5148
5724
  "div",
5149
5725
  {
5150
- className: cn39(
5726
+ className: cn51(
5151
5727
  "max-h-[50vh] overflow-y-auto",
5152
5728
  columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
5153
5729
  ),
@@ -5159,7 +5735,7 @@ function MosaicSelectorModal({
5159
5735
  {
5160
5736
  type: "button",
5161
5737
  onClick: () => setPendingId(item.id),
5162
- className: cn39(
5738
+ className: cn51(
5163
5739
  "group relative rounded-lg border p-4 text-left transition-all duration-150",
5164
5740
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5165
5741
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
@@ -5197,7 +5773,7 @@ function MosaicSelectorModal({
5197
5773
  {
5198
5774
  type: "button",
5199
5775
  onClick: onClose,
5200
- className: cn39(
5776
+ className: cn51(
5201
5777
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
5202
5778
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
5203
5779
  "hover:bg-accent hover:text-accent-foreground",
@@ -5212,7 +5788,7 @@ function MosaicSelectorModal({
5212
5788
  type: "button",
5213
5789
  onClick: handleConfirm,
5214
5790
  disabled: !pendingItem,
5215
- className: cn39(
5791
+ className: cn51(
5216
5792
  "inline-flex min-h-[44px] items-center justify-center rounded-md",
5217
5793
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
5218
5794
  "hover:bg-primary/90",
@@ -5226,7 +5802,7 @@ function MosaicSelectorModal({
5226
5802
  ] }) });
5227
5803
  }
5228
5804
  MosaicSelectorModal.displayName = "MosaicSelectorModal";
5229
- function cn40(...classes) {
5805
+ function cn52(...classes) {
5230
5806
  return classes.filter(Boolean).join(" ");
5231
5807
  }
5232
5808
  function relativeTime(ts) {
@@ -5475,7 +6051,7 @@ function MosaicMessageCard({
5475
6051
  "div",
5476
6052
  {
5477
6053
  "data-slot": "message-card",
5478
- className: cn40(
6054
+ className: cn52(
5479
6055
  "rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
5480
6056
  compact && "p-3",
5481
6057
  message.sender.type === "user" && "bg-primary/5",
@@ -5485,7 +6061,7 @@ function MosaicMessageCard({
5485
6061
  /* @__PURE__ */ jsx(
5486
6062
  "span",
5487
6063
  {
5488
- className: cn40(
6064
+ className: cn52(
5489
6065
  "inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
5490
6066
  compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
5491
6067
  message.sender.accentColor ?? "bg-muted text-muted-foreground"
@@ -5503,7 +6079,7 @@ function MosaicMessageCard({
5503
6079
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
5504
6080
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
5505
6081
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
5506
- /* @__PURE__ */ jsx("span", { className: cn40("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6082
+ /* @__PURE__ */ jsx("span", { className: cn52("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
5507
6083
  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" })
5508
6084
  ] }),
5509
6085
  /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
@@ -5511,7 +6087,7 @@ function MosaicMessageCard({
5511
6087
  /* @__PURE__ */ jsx(
5512
6088
  "p",
5513
6089
  {
5514
- className: cn40(
6090
+ className: cn52(
5515
6091
  "leading-relaxed text-foreground mb-3",
5516
6092
  compact ? "text-sm" : "text-base"
5517
6093
  ),
@@ -5526,7 +6102,7 @@ function MosaicMessageCard({
5526
6102
  {
5527
6103
  type: "button",
5528
6104
  onClick: handleLike,
5529
- className: cn40(
6105
+ className: cn52(
5530
6106
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
5531
6107
  "hover:bg-accent hover:text-accent-foreground",
5532
6108
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5544,7 +6120,7 @@ function MosaicMessageCard({
5544
6120
  {
5545
6121
  type: "button",
5546
6122
  onClick: handleDislike,
5547
- className: cn40(
6123
+ className: cn52(
5548
6124
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
5549
6125
  "hover:bg-accent hover:text-accent-foreground",
5550
6126
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5589,7 +6165,7 @@ function MosaicMessageCard({
5589
6165
  {
5590
6166
  type: "button",
5591
6167
  onClick: handleBookmark,
5592
- className: cn40(
6168
+ className: cn52(
5593
6169
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
5594
6170
  "hover:bg-accent hover:text-accent-foreground",
5595
6171
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5690,7 +6266,7 @@ function MosaicMessageCard({
5690
6266
  );
5691
6267
  }
5692
6268
  MosaicMessageCard.displayName = "MosaicMessageCard";
5693
- function cn41(...classes) {
6269
+ function cn53(...classes) {
5694
6270
  return classes.filter(Boolean).join(" ");
5695
6271
  }
5696
6272
  function SearchIcon2() {
@@ -5730,7 +6306,7 @@ function MessageListDesktop({
5730
6306
  const filtered = query ? messages.filter(
5731
6307
  (m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
5732
6308
  ) : messages;
5733
- return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className: cn41("flex h-full flex-col", className), children: [
6309
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-desktop", className: cn53("flex h-full flex-col", className), children: [
5734
6310
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
5735
6311
  title && /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: title }),
5736
6312
  /* @__PURE__ */ jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
@@ -5742,7 +6318,7 @@ function MessageListDesktop({
5742
6318
  value: query,
5743
6319
  onChange: (e) => setQuery(e.target.value),
5744
6320
  placeholder: "Search messages\u2026",
5745
- className: cn41(
6321
+ className: cn53(
5746
6322
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5747
6323
  "text-sm placeholder:text-muted-foreground",
5748
6324
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5771,7 +6347,7 @@ function MessageListDesktop({
5771
6347
  {
5772
6348
  type: "button",
5773
6349
  onClick: onLoadMore,
5774
- className: cn41(
6350
+ className: cn53(
5775
6351
  "w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
5776
6352
  "hover:bg-accent hover:text-accent-foreground",
5777
6353
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5793,7 +6369,7 @@ function MessageListMobile({
5793
6369
  isLoading,
5794
6370
  className
5795
6371
  }) {
5796
- return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className: cn41("flex flex-col", className), children: [
6372
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "message-list-mobile", className: cn53("flex flex-col", className), children: [
5797
6373
  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 }) }),
5798
6374
  /* @__PURE__ */ jsxs("div", { className: "space-y-3 p-4", children: [
5799
6375
  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)) }),
@@ -5816,7 +6392,7 @@ function MessageListMobile({
5816
6392
  {
5817
6393
  type: "button",
5818
6394
  onClick: onLoadMore,
5819
- className: cn41(
6395
+ className: cn53(
5820
6396
  "w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
5821
6397
  "hover:bg-accent hover:text-accent-foreground",
5822
6398
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5831,7 +6407,7 @@ function MosaicMessageList(props) {
5831
6407
  return isMobile ? /* @__PURE__ */ jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsx(MessageListDesktop, { ...props });
5832
6408
  }
5833
6409
  MosaicMessageList.displayName = "MosaicMessageList";
5834
- function cn42(...classes) {
6410
+ function cn54(...classes) {
5835
6411
  return classes.filter(Boolean).join(" ");
5836
6412
  }
5837
6413
  function ChevronLeftIcon2() {
@@ -5907,7 +6483,7 @@ function MosaicFilterSidebar({
5907
6483
  {
5908
6484
  "data-slot": "filter-sidebar",
5909
6485
  style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
5910
- className: cn42(
6486
+ className: cn54(
5911
6487
  "relative flex flex-col border-r border-border bg-card",
5912
6488
  "transition-[width] duration-200 ease-in-out",
5913
6489
  "overflow-hidden",
@@ -5919,7 +6495,7 @@ function MosaicFilterSidebar({
5919
6495
  {
5920
6496
  type: "button",
5921
6497
  onClick: onToggleCollapse,
5922
- className: cn42(
6498
+ className: cn54(
5923
6499
  "absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
5924
6500
  "border border-border bg-background shadow-sm",
5925
6501
  "hover:bg-accent hover:text-accent-foreground",
@@ -5949,7 +6525,7 @@ function MosaicFilterSidebar({
5949
6525
  {
5950
6526
  type: "button",
5951
6527
  onClick: () => onFilterChange(f.id),
5952
- className: cn42(
6528
+ className: cn54(
5953
6529
  "flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
5954
6530
  "transition-colors hover:bg-accent hover:text-accent-foreground",
5955
6531
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -5969,7 +6545,7 @@ function MosaicFilterSidebar({
5969
6545
  {
5970
6546
  type: "button",
5971
6547
  onClick: () => onCategoryChange(cat.id),
5972
- className: cn42(
6548
+ className: cn54(
5973
6549
  "flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
5974
6550
  "transition-colors hover:bg-accent hover:text-accent-foreground",
5975
6551
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -5989,7 +6565,7 @@ function MosaicFilterSidebar({
5989
6565
  );
5990
6566
  }
5991
6567
  MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
5992
- function cn43(...classes) {
6568
+ function cn55(...classes) {
5993
6569
  return classes.filter(Boolean).join(" ");
5994
6570
  }
5995
6571
  function SearchIcon3() {
@@ -6104,7 +6680,7 @@ function AgentListDesktop({
6104
6680
  value: query,
6105
6681
  onChange: (e) => setQuery(e.target.value),
6106
6682
  placeholder: searchPlaceholder,
6107
- className: cn43(
6683
+ className: cn55(
6108
6684
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6109
6685
  "text-sm placeholder:text-muted-foreground",
6110
6686
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6117,7 +6693,7 @@ function AgentListDesktop({
6117
6693
  {
6118
6694
  type: "button",
6119
6695
  onClick: onCreateAgent,
6120
- className: cn43(
6696
+ className: cn55(
6121
6697
  "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
6122
6698
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6123
6699
  ),
@@ -6176,7 +6752,7 @@ function AgentListMobile({
6176
6752
  {
6177
6753
  type: "button",
6178
6754
  onClick: () => setFilterOpen(true),
6179
- className: cn43(
6755
+ className: cn55(
6180
6756
  "inline-flex h-9 w-9 items-center justify-center rounded-md",
6181
6757
  "border border-border bg-background text-foreground",
6182
6758
  "hover:bg-accent hover:text-accent-foreground",
@@ -6191,7 +6767,7 @@ function AgentListMobile({
6191
6767
  {
6192
6768
  type: "button",
6193
6769
  onClick: onCreateAgent,
6194
- className: cn43(
6770
+ className: cn55(
6195
6771
  "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
6196
6772
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6197
6773
  ),
@@ -6212,7 +6788,7 @@ function AgentListMobile({
6212
6788
  value: query,
6213
6789
  onChange: (e) => setQuery(e.target.value),
6214
6790
  placeholder: searchPlaceholder,
6215
- className: cn43(
6791
+ className: cn55(
6216
6792
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6217
6793
  "text-sm placeholder:text-muted-foreground",
6218
6794
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6260,7 +6836,7 @@ function MosaicAgentList(props) {
6260
6836
  return isMobile ? /* @__PURE__ */ jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsx(AgentListDesktop, { ...props });
6261
6837
  }
6262
6838
  MosaicAgentList.displayName = "MosaicAgentList";
6263
- function cn44(...classes) {
6839
+ function cn56(...classes) {
6264
6840
  return classes.filter(Boolean).join(" ");
6265
6841
  }
6266
6842
  function StarIcon({ filled }) {
@@ -6356,7 +6932,7 @@ function MarketplaceCard({
6356
6932
  "div",
6357
6933
  {
6358
6934
  "data-slot": "marketplace-card",
6359
- className: cn44(
6935
+ className: cn56(
6360
6936
  "rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
6361
6937
  compact ? "flex items-center gap-3" : "flex flex-col gap-3"
6362
6938
  ),
@@ -6364,7 +6940,7 @@ function MarketplaceCard({
6364
6940
  item.icon && /* @__PURE__ */ jsx(
6365
6941
  "div",
6366
6942
  {
6367
- className: cn44(
6943
+ className: cn56(
6368
6944
  "flex shrink-0 items-center justify-center rounded-lg",
6369
6945
  compact ? "h-10 w-10" : "h-12 w-12",
6370
6946
  item.accentClass ?? "bg-muted text-muted-foreground"
@@ -6375,7 +6951,7 @@ function MarketplaceCard({
6375
6951
  /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
6376
6952
  /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
6377
6953
  /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
6378
- /* @__PURE__ */ jsx("p", { className: cn44("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
6954
+ /* @__PURE__ */ jsx("p", { className: cn56("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
6379
6955
  item.description && !compact && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
6380
6956
  ] }),
6381
6957
  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 })
@@ -6392,13 +6968,13 @@ function MarketplaceCard({
6392
6968
  ] })
6393
6969
  ] })
6394
6970
  ] }),
6395
- /* @__PURE__ */ jsxs("div", { className: cn44("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
6971
+ /* @__PURE__ */ jsxs("div", { className: cn56("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
6396
6972
  onPreview && /* @__PURE__ */ jsx(
6397
6973
  "button",
6398
6974
  {
6399
6975
  type: "button",
6400
6976
  onClick: () => onPreview(item.id),
6401
- className: cn44(
6977
+ className: cn56(
6402
6978
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
6403
6979
  "bg-background px-3 text-xs font-medium text-foreground",
6404
6980
  "hover:bg-accent hover:text-accent-foreground",
@@ -6412,7 +6988,7 @@ function MarketplaceCard({
6412
6988
  {
6413
6989
  type: "button",
6414
6990
  onClick: () => onUninstall(item.id),
6415
- className: cn44(
6991
+ className: cn56(
6416
6992
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
6417
6993
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
6418
6994
  "hover:bg-secondary/80",
@@ -6425,7 +7001,7 @@ function MarketplaceCard({
6425
7001
  {
6426
7002
  type: "button",
6427
7003
  onClick: () => onInstall(item.id),
6428
- className: cn44(
7004
+ className: cn56(
6429
7005
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
6430
7006
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
6431
7007
  "hover:bg-primary/90",
@@ -6487,7 +7063,7 @@ function MarketplaceListDesktop(props) {
6487
7063
  value: query,
6488
7064
  onChange: (e) => setQuery(e.target.value),
6489
7065
  placeholder: searchPlaceholder,
6490
- className: cn44(
7066
+ className: cn56(
6491
7067
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6492
7068
  "text-sm placeholder:text-muted-foreground",
6493
7069
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6560,7 +7136,7 @@ function MarketplaceListMobile(props) {
6560
7136
  value: query,
6561
7137
  onChange: (e) => setQuery(e.target.value),
6562
7138
  placeholder: searchPlaceholder,
6563
- className: cn44(
7139
+ className: cn56(
6564
7140
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6565
7141
  "text-sm placeholder:text-muted-foreground",
6566
7142
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6611,7 +7187,7 @@ function MosaicMarketplaceList(props) {
6611
7187
  return isMobile ? /* @__PURE__ */ jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsx(MarketplaceListDesktop, { ...props });
6612
7188
  }
6613
7189
  MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
6614
- function cn45(...classes) {
7190
+ function cn57(...classes) {
6615
7191
  return classes.filter(Boolean).join(" ");
6616
7192
  }
6617
7193
  function StarIcon2() {
@@ -6730,7 +7306,7 @@ function MosaicTemplateCard({
6730
7306
  type: "button",
6731
7307
  onClick: () => onSelect(template),
6732
7308
  "data-slot": "template-card",
6733
- className: cn45(
7309
+ className: cn57(
6734
7310
  "w-full text-left rounded-lg border transition-all duration-200",
6735
7311
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
6736
7312
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
@@ -6830,7 +7406,7 @@ function MosaicTemplatePreview({
6830
7406
  agent.accentColor && /* @__PURE__ */ jsx(
6831
7407
  "span",
6832
7408
  {
6833
- className: cn45("h-2 w-2 rounded-full", agent.accentColor),
7409
+ className: cn57("h-2 w-2 rounded-full", agent.accentColor),
6834
7410
  "aria-hidden": "true"
6835
7411
  }
6836
7412
  ),
@@ -6890,7 +7466,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
6890
7466
  agent.accentColor && /* @__PURE__ */ jsx(
6891
7467
  "span",
6892
7468
  {
6893
- className: cn45("h-2.5 w-2.5 rounded-full", agent.accentColor),
7469
+ className: cn57("h-2.5 w-2.5 rounded-full", agent.accentColor),
6894
7470
  "aria-hidden": "true"
6895
7471
  }
6896
7472
  ),
@@ -6914,7 +7490,7 @@ function MosaicQuickStartPanel({
6914
7490
  scratchLabel = "Start from Scratch",
6915
7491
  className
6916
7492
  }) {
6917
- return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn45("flex flex-col gap-6", className), children: [
7493
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn57("flex flex-col gap-6", className), children: [
6918
7494
  scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
6919
7495
  /* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
6920
7496
  /* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxs(
@@ -6922,7 +7498,7 @@ function MosaicQuickStartPanel({
6922
7498
  {
6923
7499
  type: "button",
6924
7500
  onClick: () => onSelectScenario(scenario),
6925
- className: cn45(
7501
+ className: cn57(
6926
7502
  "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
6927
7503
  "hover:border-primary/50 hover:bg-primary/5",
6928
7504
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6954,7 +7530,7 @@ function MosaicQuickStartPanel({
6954
7530
  {
6955
7531
  type: "button",
6956
7532
  onClick: () => onSelectPreset(preset),
6957
- className: cn45(
7533
+ className: cn57(
6958
7534
  "flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
6959
7535
  "hover:border-primary/50",
6960
7536
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6968,7 +7544,7 @@ function MosaicQuickStartPanel({
6968
7544
  a.accentColor && /* @__PURE__ */ jsx(
6969
7545
  "span",
6970
7546
  {
6971
- className: cn45("h-2 w-2 rounded-full", a.accentColor),
7547
+ className: cn57("h-2 w-2 rounded-full", a.accentColor),
6972
7548
  "aria-hidden": "true"
6973
7549
  }
6974
7550
  ),
@@ -6986,7 +7562,7 @@ function MosaicQuickStartPanel({
6986
7562
  {
6987
7563
  type: "button",
6988
7564
  onClick: onStartFromScratch,
6989
- className: cn45(
7565
+ className: cn57(
6990
7566
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
6991
7567
  "bg-background px-4 text-sm font-medium text-foreground",
6992
7568
  "hover:bg-accent hover:text-accent-foreground",
@@ -7066,7 +7642,7 @@ function TemplateGalleryContent({
7066
7642
  value: query,
7067
7643
  onChange: (e) => setQuery(e.target.value),
7068
7644
  placeholder: searchPlaceholder,
7069
- className: cn45(
7645
+ className: cn57(
7070
7646
  "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"
7071
7647
  )
7072
7648
  }
@@ -7114,7 +7690,7 @@ function TemplateGalleryContent({
7114
7690
  value: query,
7115
7691
  onChange: (e) => setQuery(e.target.value),
7116
7692
  placeholder: searchPlaceholder,
7117
- className: cn45(
7693
+ className: cn57(
7118
7694
  "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"
7119
7695
  )
7120
7696
  }
@@ -7144,7 +7720,7 @@ function MosaicTemplateGallery(props) {
7144
7720
  return /* @__PURE__ */ jsx(TemplateGalleryContent, { ...props, isMobile });
7145
7721
  }
7146
7722
  MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
7147
- function cn46(...classes) {
7723
+ function cn58(...classes) {
7148
7724
  return classes.filter(Boolean).join(" ");
7149
7725
  }
7150
7726
  function PlusIcon5() {
@@ -7288,7 +7864,7 @@ function MosaicModuleForm({
7288
7864
  onChange: (e) => update("name", e.target.value),
7289
7865
  placeholder: "Module name\u2026",
7290
7866
  required: true,
7291
- className: cn46(
7867
+ className: cn58(
7292
7868
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7293
7869
  "text-sm placeholder:text-muted-foreground",
7294
7870
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7306,7 +7882,7 @@ function MosaicModuleForm({
7306
7882
  onChange: (e) => update("description", e.target.value),
7307
7883
  placeholder: "Describe this module\u2026",
7308
7884
  rows: 3,
7309
- className: cn46(
7885
+ className: cn58(
7310
7886
  "w-full rounded-md border border-input bg-background px-3 py-2",
7311
7887
  "text-sm placeholder:text-muted-foreground resize-none",
7312
7888
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7328,7 +7904,7 @@ function MosaicModuleForm({
7328
7904
  value: formData[field.id] ?? "",
7329
7905
  onChange: (e) => update(field.id, e.target.value),
7330
7906
  placeholder: field.placeholder,
7331
- className: cn46(
7907
+ className: cn58(
7332
7908
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7333
7909
  "text-sm placeholder:text-muted-foreground",
7334
7910
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7343,7 +7919,7 @@ function MosaicModuleForm({
7343
7919
  onChange: (e) => update(field.id, e.target.value),
7344
7920
  placeholder: field.placeholder,
7345
7921
  rows: 3,
7346
- className: cn46(
7922
+ className: cn58(
7347
7923
  "w-full rounded-md border border-input bg-background px-3 py-2",
7348
7924
  "text-sm placeholder:text-muted-foreground resize-none",
7349
7925
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7359,7 +7935,7 @@ function MosaicModuleForm({
7359
7935
  onChange: (e) => update(field.id, e.target.value),
7360
7936
  placeholder: field.placeholder ?? "\u{1F9E0}",
7361
7937
  maxLength: 4,
7362
- className: cn46(
7938
+ className: cn58(
7363
7939
  "w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
7364
7940
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7365
7941
  )
@@ -7380,7 +7956,7 @@ function MosaicModuleForm({
7380
7956
  }
7381
7957
  },
7382
7958
  placeholder: field.placeholder ?? "Add item\u2026",
7383
- className: cn46(
7959
+ className: cn58(
7384
7960
  "flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
7385
7961
  "text-sm placeholder:text-muted-foreground",
7386
7962
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7576,7 +8152,7 @@ function LibraryContent({
7576
8152
  {
7577
8153
  type: "button",
7578
8154
  onClick: openCreate,
7579
- className: cn46(
8155
+ className: cn58(
7580
8156
  "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
7581
8157
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7582
8158
  ),
@@ -7596,7 +8172,7 @@ function LibraryContent({
7596
8172
  value: query,
7597
8173
  onChange: (e) => setQuery(e.target.value),
7598
8174
  placeholder: searchPlaceholder,
7599
- className: cn46(
8175
+ className: cn58(
7600
8176
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7601
8177
  "text-sm placeholder:text-muted-foreground",
7602
8178
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7609,7 +8185,7 @@ function LibraryContent({
7609
8185
  {
7610
8186
  type: "button",
7611
8187
  onClick: () => setActiveTab(tab.id),
7612
- className: cn46(
8188
+ className: cn58(
7613
8189
  "rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
7614
8190
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
7615
8191
  ),
@@ -7643,7 +8219,7 @@ function MosaicModuleLibrary(props) {
7643
8219
  return /* @__PURE__ */ jsx(LibraryContent, { ...props });
7644
8220
  }
7645
8221
  MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
7646
- function cn47(...classes) {
8222
+ function cn59(...classes) {
7647
8223
  return classes.filter(Boolean).join(" ");
7648
8224
  }
7649
8225
  var roleConfig = {
@@ -7670,7 +8246,7 @@ function MosaicOrgRoleBadge({ role, className }) {
7670
8246
  {
7671
8247
  "data-slot": "org-role-badge",
7672
8248
  title: config.description,
7673
- className: cn47(
8249
+ className: cn59(
7674
8250
  "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
7675
8251
  config.className,
7676
8252
  className
@@ -7687,13 +8263,13 @@ function MosaicMultiOrgIndicator({
7687
8263
  className
7688
8264
  }) {
7689
8265
  if (orgCount <= 1) return null;
7690
- return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn47("flex items-center gap-2", className), children: [
8266
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn59("flex items-center gap-2", className), children: [
7691
8267
  onSwitchOrg ? /* @__PURE__ */ jsxs(
7692
8268
  "button",
7693
8269
  {
7694
8270
  type: "button",
7695
8271
  onClick: onSwitchOrg,
7696
- className: cn47(
8272
+ className: cn59(
7697
8273
  "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
7698
8274
  "hover:bg-secondary/80",
7699
8275
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7791,7 +8367,7 @@ function MosaicCreateOrgDialog({
7791
8367
  onChange: (e) => setName(e.target.value),
7792
8368
  placeholder: "Acme Inc.",
7793
8369
  required: true,
7794
- className: cn47(
8370
+ className: cn59(
7795
8371
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7796
8372
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7797
8373
  errors.name ? "border-destructive" : "border-input"
@@ -7811,7 +8387,7 @@ function MosaicCreateOrgDialog({
7811
8387
  onChange: (e) => setSlug(e.target.value),
7812
8388
  placeholder: "acme-inc",
7813
8389
  required: true,
7814
- className: cn47(
8390
+ className: cn59(
7815
8391
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7816
8392
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7817
8393
  errors.slug ? "border-destructive" : "border-input"
@@ -7908,7 +8484,7 @@ function MosaicInviteMemberDialog({
7908
8484
  onChange: (e) => setEmail(e.target.value),
7909
8485
  placeholder: "colleague@example.com",
7910
8486
  required: true,
7911
- className: cn47(
8487
+ className: cn59(
7912
8488
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7913
8489
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7914
8490
  errors.email ? "border-destructive" : "border-input"
@@ -8085,7 +8661,7 @@ function MosaicMemberList({
8085
8661
  const filtered = members.filter(
8086
8662
  (m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
8087
8663
  );
8088
- return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn47("flex flex-col gap-4", className), children: [
8664
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn59("flex flex-col gap-4", className), children: [
8089
8665
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
8090
8666
  /* @__PURE__ */ jsxs("div", { className: "relative flex-1", children: [
8091
8667
  /* @__PURE__ */ jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxs(
@@ -8178,7 +8754,7 @@ function MosaicOrgPanel({
8178
8754
  const { isMobile } = useDevice();
8179
8755
  const [activeTab, setActiveTab] = React27.useState(defaultTab ?? tabs[0]?.id ?? "");
8180
8756
  const activeContent = tabs.find((t) => t.id === activeTab)?.content;
8181
- return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn47("flex h-full flex-col", className), children: [
8757
+ return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn59("flex h-full flex-col", className), children: [
8182
8758
  /* @__PURE__ */ jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
8183
8759
  /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
8184
8760
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
@@ -8200,12 +8776,12 @@ function MosaicOrgPanel({
8200
8776
  ] }),
8201
8777
  headerActions
8202
8778
  ] }),
8203
- tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn47("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
8779
+ tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn59("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
8204
8780
  "button",
8205
8781
  {
8206
8782
  type: "button",
8207
8783
  onClick: () => setActiveTab(tab.id),
8208
- className: cn47(
8784
+ className: cn59(
8209
8785
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
8210
8786
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8211
8787
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
@@ -8219,7 +8795,7 @@ function MosaicOrgPanel({
8219
8795
  ] });
8220
8796
  }
8221
8797
  MosaicOrgPanel.displayName = "MosaicOrgPanel";
8222
- function cn48(...classes) {
8798
+ function cn60(...classes) {
8223
8799
  return classes.filter(Boolean).join(" ");
8224
8800
  }
8225
8801
  var ANIM_ID8 = "mosaic-dashboard-content-kf";
@@ -8256,7 +8832,7 @@ function MosaicDashboardContent({
8256
8832
  "div",
8257
8833
  {
8258
8834
  "data-slot": "dashboard-content",
8259
- className: cn48("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8835
+ className: cn60("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8260
8836
  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: [
8261
8837
  "View not found: ",
8262
8838
  currentView
@@ -8265,7 +8841,7 @@ function MosaicDashboardContent({
8265
8841
  );
8266
8842
  }
8267
8843
  MosaicDashboardContent.displayName = "MosaicDashboardContent";
8268
- function cn49(...classes) {
8844
+ function cn61(...classes) {
8269
8845
  return classes.filter(Boolean).join(" ");
8270
8846
  }
8271
8847
  var ANIM_ID9 = "mosaic-dashboard-header2-kf";
@@ -8375,16 +8951,16 @@ function MosaicDashboardHeader({
8375
8951
  "header",
8376
8952
  {
8377
8953
  "data-slot": "dashboard-header",
8378
- className: cn49(
8954
+ className: cn61(
8379
8955
  "mosaic-dashboard-header2",
8380
8956
  "sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
8381
8957
  className
8382
8958
  ),
8383
- children: /* @__PURE__ */ jsx("div", { className: cn49(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: [
8959
+ children: /* @__PURE__ */ jsx("div", { className: cn61(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: [
8384
8960
  /* @__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: [
8385
8961
  logoSlot ?? /* @__PURE__ */ jsx(SparklesIcon4, {}),
8386
8962
  /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
8387
- /* @__PURE__ */ jsx("h1", { className: cn49("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
8963
+ /* @__PURE__ */ jsx("h1", { className: cn61("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
8388
8964
  subtitle && !isMobile && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
8389
8965
  ] })
8390
8966
  ] }) }),
@@ -8397,7 +8973,7 @@ function MosaicDashboardHeader({
8397
8973
  value: searchQuery,
8398
8974
  onChange: handleSearch,
8399
8975
  placeholder: "Search\u2026",
8400
- className: cn49(
8976
+ className: cn61(
8401
8977
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8402
8978
  "text-sm placeholder:text-muted-foreground",
8403
8979
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8437,7 +9013,7 @@ function MosaicDashboardHeader({
8437
9013
  );
8438
9014
  }
8439
9015
  MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
8440
- function cn50(...classes) {
9016
+ function cn62(...classes) {
8441
9017
  return classes.filter(Boolean).join(" ");
8442
9018
  }
8443
9019
  function ChevronDownIcon4() {
@@ -8518,13 +9094,13 @@ function MosaicOrgSwitcher({
8518
9094
  }, [open]);
8519
9095
  if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
8520
9096
  const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
8521
- return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn50("relative", className), children: [
9097
+ return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn62("relative", className), children: [
8522
9098
  /* @__PURE__ */ jsxs(
8523
9099
  "button",
8524
9100
  {
8525
9101
  type: "button",
8526
9102
  onClick: () => setOpen((v) => !v),
8527
- className: cn50(
9103
+ className: cn62(
8528
9104
  "inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
8529
9105
  "text-sm font-medium text-foreground",
8530
9106
  "hover:bg-accent hover:text-accent-foreground",
@@ -8551,7 +9127,7 @@ function MosaicOrgSwitcher({
8551
9127
  {
8552
9128
  role: "menu",
8553
9129
  "aria-label": "Select organization",
8554
- className: cn50(
9130
+ className: cn62(
8555
9131
  "absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
8556
9132
  "bg-popover py-1 shadow-md"
8557
9133
  ),
@@ -8566,7 +9142,7 @@ function MosaicOrgSwitcher({
8566
9142
  onSelectOrg?.(org.id);
8567
9143
  setOpen(false);
8568
9144
  },
8569
- className: cn50(
9145
+ className: cn62(
8570
9146
  "flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
8571
9147
  "hover:bg-accent hover:text-accent-foreground",
8572
9148
  org.id === currentOrgId && "bg-primary/10 text-primary"
@@ -8603,7 +9179,7 @@ function MosaicOrgSwitcher({
8603
9179
  ] });
8604
9180
  }
8605
9181
  MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
8606
- function cn51(...classes) {
9182
+ function cn63(...classes) {
8607
9183
  return classes.filter(Boolean).join(" ");
8608
9184
  }
8609
9185
  function PlusIcon7() {
@@ -8647,19 +9223,19 @@ function MosaicQuickActionsMenu({
8647
9223
  document.addEventListener("mousedown", h);
8648
9224
  return () => document.removeEventListener("mousedown", h);
8649
9225
  }, [open]);
8650
- const itemClass = cn51(
9226
+ const itemClass = cn63(
8651
9227
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
8652
9228
  "hover:bg-accent hover:text-accent-foreground",
8653
9229
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
8654
9230
  "min-h-[44px]"
8655
9231
  );
8656
- return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn51("relative", className), children: [
9232
+ return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn63("relative", className), children: [
8657
9233
  /* @__PURE__ */ jsxs(
8658
9234
  "button",
8659
9235
  {
8660
9236
  type: "button",
8661
9237
  onClick: () => setOpen((v) => !v),
8662
- className: cn51(
9238
+ className: cn63(
8663
9239
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
8664
9240
  "min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
8665
9241
  "hover:bg-accent hover:text-accent-foreground",
@@ -8670,7 +9246,7 @@ function MosaicQuickActionsMenu({
8670
9246
  "aria-label": label,
8671
9247
  children: [
8672
9248
  triggerIcon ?? /* @__PURE__ */ jsx(PlusIcon7, {}),
8673
- /* @__PURE__ */ jsx("span", { className: cn51("hidden md:inline"), children: label })
9249
+ /* @__PURE__ */ jsx("span", { className: cn63("hidden md:inline"), children: label })
8674
9250
  ]
8675
9251
  }
8676
9252
  ),
@@ -8679,13 +9255,13 @@ function MosaicQuickActionsMenu({
8679
9255
  {
8680
9256
  role: "menu",
8681
9257
  "aria-label": menuTitle,
8682
- className: cn51(
9258
+ className: cn63(
8683
9259
  "absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
8684
9260
  isMobile ? "w-[min(90vw,280px)]" : "w-56"
8685
9261
  ),
8686
9262
  children: [
8687
9263
  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 }) }),
8688
- /* @__PURE__ */ jsx("div", { className: cn51(menuTitle && "border-t border-border") }),
9264
+ /* @__PURE__ */ jsx("div", { className: cn63(menuTitle && "border-t border-border") }),
8689
9265
  actions.map((action) => /* @__PURE__ */ jsxs(React27.Fragment, { children: [
8690
9266
  action.separator && /* @__PURE__ */ jsx("div", { className: "my-1 border-t border-border" }),
8691
9267
  action.href && renderLink ? renderLink(
@@ -9111,6 +9687,6 @@ async function MosaicClerkWebhookHandler(req, options) {
9111
9687
  return new Response("OK", { status: 200 });
9112
9688
  }
9113
9689
 
9114
- export { 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, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDropdownMenu, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicLogosGrid, MosaicMainNav, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicSelect, MosaicSelectorModal, MosaicSignInLayout, MosaicSignUpLayout, MosaicStatsGrid, MosaicSwitch, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicThemeProvider, MosaicThemeToggle, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
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 };
9115
9691
  //# sourceMappingURL=index.js.map
9116
9692
  //# sourceMappingURL=index.js.map