@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.cjs CHANGED
@@ -5,6 +5,17 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var button = require('@base-ui/react/button');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var React27 = require('react');
8
+ var accordion = require('@base-ui/react/accordion');
9
+ var checkbox = require('@base-ui/react/checkbox');
10
+ var collapsible = require('@base-ui/react/collapsible');
11
+ var progress = require('@base-ui/react/progress');
12
+ var radio = require('@base-ui/react/radio');
13
+ var radioGroup = require('@base-ui/react/radio-group');
14
+ var scrollArea = require('@base-ui/react/scroll-area');
15
+ var separator = require('@base-ui/react/separator');
16
+ var slider = require('@base-ui/react/slider');
17
+ var tabs = require('@base-ui/react/tabs');
18
+ var tooltip = require('@base-ui/react/tooltip');
8
19
  var avatar = require('@base-ui/react/avatar');
9
20
  var input = require('@base-ui/react/input');
10
21
  var field = require('@base-ui/react/field');
@@ -35,7 +46,7 @@ function _interopNamespace(e) {
35
46
  var React27__namespace = /*#__PURE__*/_interopNamespace(React27);
36
47
 
37
48
  // src/version.ts
38
- var version = "0.1.0-alpha.1";
49
+ var version = "0.3.2-alpha";
39
50
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
40
51
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
41
52
  }
@@ -1009,13 +1020,576 @@ function useMediaQuery(query) {
1009
1020
  function cn13(...classes) {
1010
1021
  return classes.filter(Boolean).join(" ");
1011
1022
  }
1023
+ function MosaicEmptyState({
1024
+ icon,
1025
+ title,
1026
+ description,
1027
+ action,
1028
+ className,
1029
+ ref
1030
+ }) {
1031
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1032
+ "div",
1033
+ {
1034
+ ref,
1035
+ "data-slot": "empty-state",
1036
+ className: cn13(
1037
+ "flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
1038
+ className
1039
+ ),
1040
+ children: [
1041
+ icon != null && /* @__PURE__ */ jsxRuntime.jsx(
1042
+ "div",
1043
+ {
1044
+ "data-slot": "empty-state-icon",
1045
+ className: "flex items-center justify-center text-muted-foreground",
1046
+ children: icon
1047
+ }
1048
+ ),
1049
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "empty-state-text", className: "flex flex-col gap-1.5", children: [
1050
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { "data-slot": "empty-state-title", className: "text-base font-medium text-foreground", children: title }),
1051
+ description != null && /* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "empty-state-description", className: "text-sm text-muted-foreground", children: description })
1052
+ ] }),
1053
+ action != null && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "empty-state-action", className: "mt-2", children: action })
1054
+ ]
1055
+ }
1056
+ );
1057
+ }
1058
+ MosaicEmptyState.displayName = "MosaicEmptyState";
1059
+ function cn14(...classes) {
1060
+ return classes.filter(Boolean).join(" ");
1061
+ }
1062
+ function MosaicAccordion({ className, ref, ...props }) {
1063
+ return /* @__PURE__ */ jsxRuntime.jsx(
1064
+ accordion.Accordion.Root,
1065
+ {
1066
+ ref,
1067
+ "data-slot": "accordion",
1068
+ className: cn14("w-full divide-y divide-border", className),
1069
+ ...props
1070
+ }
1071
+ );
1072
+ }
1073
+ MosaicAccordion.displayName = "MosaicAccordion";
1074
+ function MosaicAccordionItem({ className, ref, ...props }) {
1075
+ return /* @__PURE__ */ jsxRuntime.jsx(
1076
+ accordion.Accordion.Item,
1077
+ {
1078
+ ref,
1079
+ "data-slot": "accordion-item",
1080
+ className: cn14("py-0", className),
1081
+ ...props
1082
+ }
1083
+ );
1084
+ }
1085
+ MosaicAccordionItem.displayName = "MosaicAccordionItem";
1086
+ function MosaicAccordionTrigger({
1087
+ className,
1088
+ children,
1089
+ ref,
1090
+ ...props
1091
+ }) {
1092
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1093
+ accordion.Accordion.Trigger,
1094
+ {
1095
+ ref,
1096
+ "data-slot": "accordion-trigger",
1097
+ className: cn14(
1098
+ "flex w-full flex-1 items-center justify-between py-4",
1099
+ "text-sm font-medium text-foreground",
1100
+ "outline-none transition-all",
1101
+ "hover:text-foreground/80",
1102
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1103
+ "disabled:cursor-not-allowed disabled:opacity-50",
1104
+ "[&>svg]:transition-transform [&>svg]:duration-200",
1105
+ "data-[panel-open]:[&>svg]:rotate-180",
1106
+ className
1107
+ ),
1108
+ ...props,
1109
+ children: [
1110
+ children,
1111
+ /* @__PURE__ */ jsxRuntime.jsx(
1112
+ "svg",
1113
+ {
1114
+ xmlns: "http://www.w3.org/2000/svg",
1115
+ viewBox: "0 0 24 24",
1116
+ fill: "none",
1117
+ stroke: "currentColor",
1118
+ strokeWidth: "2",
1119
+ strokeLinecap: "round",
1120
+ strokeLinejoin: "round",
1121
+ "aria-hidden": "true",
1122
+ className: "size-4 shrink-0 text-muted-foreground",
1123
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 9 6 6 6-6" })
1124
+ }
1125
+ )
1126
+ ]
1127
+ }
1128
+ );
1129
+ }
1130
+ MosaicAccordionTrigger.displayName = "MosaicAccordionTrigger";
1131
+ function MosaicAccordionPanel({ className, ref, ...props }) {
1132
+ return /* @__PURE__ */ jsxRuntime.jsx(
1133
+ accordion.Accordion.Panel,
1134
+ {
1135
+ ref,
1136
+ "data-slot": "accordion-panel",
1137
+ className: cn14("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
1138
+ ...props
1139
+ }
1140
+ );
1141
+ }
1142
+ MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
1143
+ function cn15(...classes) {
1144
+ return classes.filter(Boolean).join(" ");
1145
+ }
1146
+ function MosaicCheckbox({ className, ref, ...props }) {
1147
+ return /* @__PURE__ */ jsxRuntime.jsx(
1148
+ checkbox.Checkbox.Root,
1149
+ {
1150
+ ref,
1151
+ "data-slot": "checkbox",
1152
+ className: cn15(
1153
+ "peer size-4 shrink-0 cursor-pointer",
1154
+ "rounded-sm border border-border bg-background",
1155
+ "outline-none transition-colors",
1156
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1157
+ // Checked state
1158
+ "data-[checked]:border-foreground data-[checked]:bg-foreground",
1159
+ // Indeterminate
1160
+ "data-[indeterminate]:border-foreground data-[indeterminate]:bg-foreground",
1161
+ // Disabled
1162
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1163
+ className
1164
+ ),
1165
+ ...props,
1166
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1167
+ checkbox.Checkbox.Indicator,
1168
+ {
1169
+ "data-slot": "checkbox-indicator",
1170
+ className: "flex items-center justify-center text-background",
1171
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1172
+ "svg",
1173
+ {
1174
+ xmlns: "http://www.w3.org/2000/svg",
1175
+ viewBox: "0 0 24 24",
1176
+ fill: "none",
1177
+ stroke: "currentColor",
1178
+ strokeWidth: "3",
1179
+ strokeLinecap: "round",
1180
+ strokeLinejoin: "round",
1181
+ "aria-hidden": "true",
1182
+ className: "size-3",
1183
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6 9 17l-5-5" })
1184
+ }
1185
+ )
1186
+ }
1187
+ )
1188
+ }
1189
+ );
1190
+ }
1191
+ MosaicCheckbox.displayName = "MosaicCheckbox";
1192
+ function cn16(...classes) {
1193
+ return classes.filter(Boolean).join(" ");
1194
+ }
1195
+ function MosaicCollapsible({ className, ref, ...props }) {
1196
+ return /* @__PURE__ */ jsxRuntime.jsx(
1197
+ collapsible.Collapsible.Root,
1198
+ {
1199
+ ref,
1200
+ "data-slot": "collapsible",
1201
+ className: cn16("w-full", className),
1202
+ ...props
1203
+ }
1204
+ );
1205
+ }
1206
+ MosaicCollapsible.displayName = "MosaicCollapsible";
1207
+ function MosaicCollapsibleTrigger({
1208
+ className,
1209
+ ref,
1210
+ ...props
1211
+ }) {
1212
+ return /* @__PURE__ */ jsxRuntime.jsx(
1213
+ collapsible.Collapsible.Trigger,
1214
+ {
1215
+ ref,
1216
+ "data-slot": "collapsible-trigger",
1217
+ className: cn16(
1218
+ "inline-flex w-full items-center justify-between gap-2",
1219
+ "rounded-md px-0 py-2 text-sm font-medium",
1220
+ "text-foreground outline-none transition-colors",
1221
+ "hover:text-foreground/80",
1222
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1223
+ "disabled:cursor-not-allowed disabled:opacity-50",
1224
+ "[&>svg]:transition-transform [&>svg]:duration-200",
1225
+ "data-[panel-open]:[&>svg]:rotate-180",
1226
+ className
1227
+ ),
1228
+ ...props
1229
+ }
1230
+ );
1231
+ }
1232
+ MosaicCollapsibleTrigger.displayName = "MosaicCollapsibleTrigger";
1233
+ function MosaicCollapsiblePanel({ className, ref, ...props }) {
1234
+ return /* @__PURE__ */ jsxRuntime.jsx(
1235
+ collapsible.Collapsible.Panel,
1236
+ {
1237
+ ref,
1238
+ "data-slot": "collapsible-panel",
1239
+ className: cn16(
1240
+ "overflow-hidden text-sm transition-all",
1241
+ "data-[open]:animate-in data-[closed]:animate-out",
1242
+ className
1243
+ ),
1244
+ ...props
1245
+ }
1246
+ );
1247
+ }
1248
+ MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
1249
+ function cn17(...classes) {
1250
+ return classes.filter(Boolean).join(" ");
1251
+ }
1252
+ function MosaicProgress({
1253
+ className,
1254
+ value,
1255
+ max = 100,
1256
+ ref,
1257
+ ...props
1258
+ }) {
1259
+ return /* @__PURE__ */ jsxRuntime.jsx(
1260
+ progress.Progress.Root,
1261
+ {
1262
+ ref,
1263
+ "data-slot": "progress",
1264
+ value,
1265
+ max,
1266
+ className: cn17("w-full", className),
1267
+ ...props,
1268
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1269
+ progress.Progress.Track,
1270
+ {
1271
+ "data-slot": "progress-track",
1272
+ className: "relative h-2 w-full overflow-hidden rounded-full bg-secondary",
1273
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1274
+ progress.Progress.Indicator,
1275
+ {
1276
+ "data-slot": "progress-indicator",
1277
+ className: "h-full w-full flex-1 rounded-full bg-foreground transition-transform duration-300 ease-in-out",
1278
+ style: { transform: `translateX(-${100 - (value ?? 0)}%)` }
1279
+ }
1280
+ )
1281
+ }
1282
+ )
1283
+ }
1284
+ );
1285
+ }
1286
+ MosaicProgress.displayName = "MosaicProgress";
1287
+ function cn18(...classes) {
1288
+ return classes.filter(Boolean).join(" ");
1289
+ }
1290
+ function MosaicRadioGroup({ className, ref, ...props }) {
1291
+ return /* @__PURE__ */ jsxRuntime.jsx(
1292
+ radioGroup.RadioGroup,
1293
+ {
1294
+ ref,
1295
+ "data-slot": "radio-group",
1296
+ className: cn18("flex flex-col gap-2", className),
1297
+ ...props
1298
+ }
1299
+ );
1300
+ }
1301
+ MosaicRadioGroup.displayName = "MosaicRadioGroup";
1302
+ function MosaicRadioGroupItem({
1303
+ className,
1304
+ children,
1305
+ ref,
1306
+ ...props
1307
+ }) {
1308
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1309
+ radio.Radio.Root,
1310
+ {
1311
+ ref,
1312
+ "data-slot": "radio",
1313
+ className: cn18(
1314
+ "flex items-center gap-2 text-sm font-medium",
1315
+ "cursor-pointer select-none",
1316
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1317
+ className
1318
+ ),
1319
+ ...props,
1320
+ children: [
1321
+ /* @__PURE__ */ jsxRuntime.jsx(
1322
+ "span",
1323
+ {
1324
+ className: cn18(
1325
+ "flex size-4 shrink-0 items-center justify-center",
1326
+ "rounded-full border border-border bg-background",
1327
+ "outline-none transition-colors",
1328
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1329
+ "peer-data-[checked]:border-foreground"
1330
+ ),
1331
+ children: /* @__PURE__ */ jsxRuntime.jsx(radio.Radio.Indicator, { "data-slot": "radio-indicator", className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "size-2 rounded-full bg-foreground" }) })
1332
+ }
1333
+ ),
1334
+ children
1335
+ ]
1336
+ }
1337
+ );
1338
+ }
1339
+ MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
1340
+ function cn19(...classes) {
1341
+ return classes.filter(Boolean).join(" ");
1342
+ }
1343
+ function MosaicScrollArea({
1344
+ className,
1345
+ horizontal = false,
1346
+ children,
1347
+ ref,
1348
+ ...props
1349
+ }) {
1350
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1351
+ scrollArea.ScrollArea.Root,
1352
+ {
1353
+ ref,
1354
+ "data-slot": "scroll-area",
1355
+ className: cn19("relative overflow-hidden", className),
1356
+ ...props,
1357
+ children: [
1358
+ /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Content, { children }) }),
1359
+ /* @__PURE__ */ jsxRuntime.jsx(
1360
+ scrollArea.ScrollArea.Scrollbar,
1361
+ {
1362
+ "data-slot": "scroll-area-scrollbar",
1363
+ orientation: "vertical",
1364
+ className: "flex w-2.5 touch-none select-none border-l border-l-transparent p-px transition-colors",
1365
+ children: /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Thumb, { className: "relative flex-1 rounded-full bg-border" })
1366
+ }
1367
+ ),
1368
+ horizontal && /* @__PURE__ */ jsxRuntime.jsx(
1369
+ scrollArea.ScrollArea.Scrollbar,
1370
+ {
1371
+ "data-slot": "scroll-area-scrollbar-h",
1372
+ orientation: "horizontal",
1373
+ className: "flex h-2.5 touch-none select-none flex-col border-t border-t-transparent p-px transition-colors",
1374
+ children: /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Thumb, { className: "relative flex-1 rounded-full bg-border" })
1375
+ }
1376
+ ),
1377
+ /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Corner, {})
1378
+ ]
1379
+ }
1380
+ );
1381
+ }
1382
+ MosaicScrollArea.displayName = "MosaicScrollArea";
1383
+ function cn20(...classes) {
1384
+ return classes.filter(Boolean).join(" ");
1385
+ }
1386
+ function MosaicSeparator({
1387
+ className,
1388
+ orientation = "horizontal",
1389
+ ref,
1390
+ ...props
1391
+ }) {
1392
+ return /* @__PURE__ */ jsxRuntime.jsx(
1393
+ separator.Separator,
1394
+ {
1395
+ ref,
1396
+ "data-slot": "separator",
1397
+ orientation,
1398
+ className: cn20(
1399
+ "shrink-0 bg-border",
1400
+ orientation === "vertical" ? "h-full w-px" : "h-px w-full",
1401
+ className
1402
+ ),
1403
+ ...props
1404
+ }
1405
+ );
1406
+ }
1407
+ MosaicSeparator.displayName = "MosaicSeparator";
1408
+ function cn21(...classes) {
1409
+ return classes.filter(Boolean).join(" ");
1410
+ }
1411
+ function MosaicSlider({ className, ref, ...props }) {
1412
+ const isRange = Array.isArray(props.defaultValue ?? props.value);
1413
+ const thumbCount = isRange ? (props.defaultValue ?? props.value).length : 1;
1414
+ return /* @__PURE__ */ jsxRuntime.jsx(
1415
+ slider.Slider.Root,
1416
+ {
1417
+ ref,
1418
+ "data-slot": "slider",
1419
+ className: cn21("w-full touch-none select-none", className),
1420
+ ...props,
1421
+ children: /* @__PURE__ */ jsxRuntime.jsx(slider.Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
1422
+ slider.Slider.Track,
1423
+ {
1424
+ "data-slot": "slider-track",
1425
+ className: "relative h-2 w-full grow rounded-full bg-secondary",
1426
+ children: [
1427
+ /* @__PURE__ */ jsxRuntime.jsx(
1428
+ slider.Slider.Indicator,
1429
+ {
1430
+ "data-slot": "slider-indicator",
1431
+ className: "absolute h-full rounded-full bg-foreground"
1432
+ }
1433
+ ),
1434
+ Array.from({ length: thumbCount }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(
1435
+ slider.Slider.Thumb,
1436
+ {
1437
+ "data-slot": "slider-thumb",
1438
+ className: cn21(
1439
+ "block size-5 rounded-full",
1440
+ "border-2 border-foreground bg-background",
1441
+ "shadow-sm outline-none transition-colors",
1442
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1443
+ "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50"
1444
+ )
1445
+ },
1446
+ i
1447
+ ))
1448
+ ]
1449
+ }
1450
+ ) })
1451
+ }
1452
+ );
1453
+ }
1454
+ MosaicSlider.displayName = "MosaicSlider";
1455
+ function cn22(...classes) {
1456
+ return classes.filter(Boolean).join(" ");
1457
+ }
1458
+ function MosaicTabs({ className, ref, ...props }) {
1459
+ return /* @__PURE__ */ jsxRuntime.jsx(
1460
+ tabs.Tabs.Root,
1461
+ {
1462
+ ref,
1463
+ "data-slot": "tabs",
1464
+ className: cn22("flex flex-col gap-2", className),
1465
+ ...props
1466
+ }
1467
+ );
1468
+ }
1469
+ MosaicTabs.displayName = "MosaicTabs";
1470
+ function MosaicTabsList({ className, ref, ...props }) {
1471
+ return /* @__PURE__ */ jsxRuntime.jsx(
1472
+ tabs.Tabs.List,
1473
+ {
1474
+ ref,
1475
+ "data-slot": "tabs-list",
1476
+ className: cn22(
1477
+ "relative inline-flex items-center justify-start gap-1",
1478
+ "rounded-lg bg-muted p-1 text-muted-foreground",
1479
+ className
1480
+ ),
1481
+ ...props
1482
+ }
1483
+ );
1484
+ }
1485
+ MosaicTabsList.displayName = "MosaicTabsList";
1486
+ function MosaicTabsTrigger({ className, ref, ...props }) {
1487
+ return /* @__PURE__ */ jsxRuntime.jsx(
1488
+ tabs.Tabs.Tab,
1489
+ {
1490
+ ref,
1491
+ "data-slot": "tabs-trigger",
1492
+ className: cn22(
1493
+ "inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
1494
+ "rounded-md px-3 py-1.5 text-sm font-medium",
1495
+ "outline-none transition-all",
1496
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1497
+ "disabled:cursor-not-allowed disabled:opacity-50",
1498
+ // Selected state
1499
+ "data-[selected]:bg-background data-[selected]:text-foreground data-[selected]:shadow-xs",
1500
+ // Unselected hover
1501
+ "hover:text-foreground",
1502
+ className
1503
+ ),
1504
+ ...props
1505
+ }
1506
+ );
1507
+ }
1508
+ MosaicTabsTrigger.displayName = "MosaicTabsTrigger";
1509
+ function MosaicTabsPanel({ className, ref, ...props }) {
1510
+ return /* @__PURE__ */ jsxRuntime.jsx(
1511
+ tabs.Tabs.Panel,
1512
+ {
1513
+ ref,
1514
+ "data-slot": "tabs-panel",
1515
+ className: cn22(
1516
+ "flex-1 outline-none",
1517
+ "focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
1518
+ className
1519
+ ),
1520
+ ...props
1521
+ }
1522
+ );
1523
+ }
1524
+ MosaicTabsPanel.displayName = "MosaicTabsPanel";
1525
+ function cn23(...classes) {
1526
+ return classes.filter(Boolean).join(" ");
1527
+ }
1528
+ function MosaicTextarea({ className, ref, ...props }) {
1529
+ return /* @__PURE__ */ jsxRuntime.jsx(
1530
+ "textarea",
1531
+ {
1532
+ ref,
1533
+ "data-slot": "textarea",
1534
+ className: cn23(
1535
+ "flex min-h-[80px] w-full resize-y",
1536
+ "rounded-md border border-border bg-background px-3 py-2",
1537
+ "text-sm text-foreground shadow-xs",
1538
+ "placeholder:text-muted-foreground",
1539
+ "outline-none transition-colors",
1540
+ "focus-visible:ring-ring focus-visible:ring-[3px]",
1541
+ "disabled:cursor-not-allowed disabled:opacity-50",
1542
+ className
1543
+ ),
1544
+ ...props
1545
+ }
1546
+ );
1547
+ }
1548
+ MosaicTextarea.displayName = "MosaicTextarea";
1549
+ function cn24(...classes) {
1550
+ return classes.filter(Boolean).join(" ");
1551
+ }
1552
+ function MosaicTooltip({
1553
+ children,
1554
+ content,
1555
+ delay = 600,
1556
+ side = "top",
1557
+ align = "center",
1558
+ className
1559
+ }) {
1560
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Provider, { delay, children: /* @__PURE__ */ jsxRuntime.jsxs(tooltip.Tooltip.Root, { children: [
1561
+ /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", render: children }),
1562
+ /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Positioner, { side, align, sideOffset: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
1563
+ tooltip.Tooltip.Popup,
1564
+ {
1565
+ "data-slot": "tooltip-content",
1566
+ className: cn24(
1567
+ "z-50 max-w-xs overflow-hidden rounded-md",
1568
+ "border border-border bg-foreground px-3 py-1.5",
1569
+ "text-xs text-background shadow-md",
1570
+ "origin-[var(--transform-origin)]",
1571
+ "transition-[transform,scale,opacity]",
1572
+ "data-[open]:scale-100 data-[open]:opacity-100",
1573
+ "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
1574
+ "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
1575
+ className
1576
+ ),
1577
+ children: content
1578
+ }
1579
+ ) }) })
1580
+ ] }) });
1581
+ }
1582
+ MosaicTooltip.displayName = "MosaicTooltip";
1583
+ function cn25(...classes) {
1584
+ return classes.filter(Boolean).join(" ");
1585
+ }
1012
1586
  function MosaicCard({ className, ref, ...props }) {
1013
1587
  return /* @__PURE__ */ jsxRuntime.jsx(
1014
1588
  "div",
1015
1589
  {
1016
1590
  ref,
1017
1591
  "data-slot": "card",
1018
- className: cn13(
1592
+ className: cn25(
1019
1593
  "bg-card text-card-foreground rounded-xl border border-border shadow-sm",
1020
1594
  className
1021
1595
  ),
@@ -1030,7 +1604,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
1030
1604
  {
1031
1605
  ref,
1032
1606
  "data-slot": "card-header",
1033
- className: cn13("flex flex-col gap-1.5 p-6", className),
1607
+ className: cn25("flex flex-col gap-1.5 p-6", className),
1034
1608
  ...props
1035
1609
  }
1036
1610
  );
@@ -1042,7 +1616,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
1042
1616
  {
1043
1617
  ref,
1044
1618
  "data-slot": "card-title",
1045
- className: cn13("text-lg font-semibold leading-none tracking-tight", className),
1619
+ className: cn25("text-lg font-semibold leading-none tracking-tight", className),
1046
1620
  ...props
1047
1621
  }
1048
1622
  );
@@ -1054,14 +1628,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
1054
1628
  {
1055
1629
  ref,
1056
1630
  "data-slot": "card-description",
1057
- className: cn13("text-sm text-muted-foreground", className),
1631
+ className: cn25("text-sm text-muted-foreground", className),
1058
1632
  ...props
1059
1633
  }
1060
1634
  );
1061
1635
  }
1062
1636
  MosaicCardDescription.displayName = "MosaicCardDescription";
1063
1637
  function MosaicCardContent({ className, ref, ...props }) {
1064
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "card-content", className: cn13("p-6 pt-0", className), ...props });
1638
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "card-content", className: cn25("p-6 pt-0", className), ...props });
1065
1639
  }
1066
1640
  MosaicCardContent.displayName = "MosaicCardContent";
1067
1641
  function MosaicCardFooter({ className, ref, ...props }) {
@@ -1070,7 +1644,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
1070
1644
  {
1071
1645
  ref,
1072
1646
  "data-slot": "card-footer",
1073
- className: cn13("flex items-center p-6 pt-0", className),
1647
+ className: cn25("flex items-center p-6 pt-0", className),
1074
1648
  ...props
1075
1649
  }
1076
1650
  );
@@ -1099,7 +1673,7 @@ var badgeVariants = classVarianceAuthority.cva(
1099
1673
  }
1100
1674
  }
1101
1675
  );
1102
- function cn14(...classes) {
1676
+ function cn26(...classes) {
1103
1677
  return classes.filter(Boolean).join(" ");
1104
1678
  }
1105
1679
  function MosaicBadge({ className, variant, ref, ...props }) {
@@ -1108,13 +1682,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
1108
1682
  {
1109
1683
  ref,
1110
1684
  "data-slot": "badge",
1111
- className: cn14(badgeVariants({ variant }), className),
1685
+ className: cn26(badgeVariants({ variant }), className),
1112
1686
  ...props
1113
1687
  }
1114
1688
  );
1115
1689
  }
1116
1690
  MosaicBadge.displayName = "MosaicBadge";
1117
- function cn15(...classes) {
1691
+ function cn27(...classes) {
1118
1692
  return classes.filter(Boolean).join(" ");
1119
1693
  }
1120
1694
  function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
@@ -1123,7 +1697,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1123
1697
  {
1124
1698
  ref,
1125
1699
  "data-slot": "avatar",
1126
- className: cn15(
1700
+ className: cn27(
1127
1701
  "relative flex size-10 shrink-0 overflow-hidden rounded-full",
1128
1702
  "bg-muted text-muted-foreground",
1129
1703
  className
@@ -1152,7 +1726,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1152
1726
  );
1153
1727
  }
1154
1728
  MosaicAvatar.displayName = "MosaicAvatar";
1155
- function cn16(...classes) {
1729
+ function cn28(...classes) {
1156
1730
  return classes.filter(Boolean).join(" ");
1157
1731
  }
1158
1732
  function MosaicInput({ className, ref, ...props }) {
@@ -1161,7 +1735,7 @@ function MosaicInput({ className, ref, ...props }) {
1161
1735
  {
1162
1736
  ref,
1163
1737
  "data-slot": "input",
1164
- className: cn16(
1738
+ className: cn28(
1165
1739
  "flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
1166
1740
  "text-sm text-foreground shadow-xs",
1167
1741
  "placeholder:text-muted-foreground",
@@ -1175,7 +1749,7 @@ function MosaicInput({ className, ref, ...props }) {
1175
1749
  );
1176
1750
  }
1177
1751
  MosaicInput.displayName = "MosaicInput";
1178
- function cn17(...classes) {
1752
+ function cn29(...classes) {
1179
1753
  return classes.filter(Boolean).join(" ");
1180
1754
  }
1181
1755
  function MosaicInputGroup({
@@ -1191,7 +1765,7 @@ function MosaicInputGroup({
1191
1765
  {
1192
1766
  ref,
1193
1767
  "data-slot": "input-group",
1194
- className: cn17("flex items-center", className),
1768
+ className: cn29("flex items-center", className),
1195
1769
  ...props,
1196
1770
  children: [
1197
1771
  prefix ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1216,7 +1790,7 @@ function MosaicInputGroup({
1216
1790
  );
1217
1791
  }
1218
1792
  MosaicInputGroup.displayName = "MosaicInputGroup";
1219
- function cn18(...classes) {
1793
+ function cn30(...classes) {
1220
1794
  return classes.filter(Boolean).join(" ");
1221
1795
  }
1222
1796
  function MosaicFieldRoot({ className, children, ref, ...props }) {
@@ -1225,7 +1799,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
1225
1799
  {
1226
1800
  ref,
1227
1801
  "data-slot": "field",
1228
- className: cn18("flex flex-col gap-1.5", className),
1802
+ className: cn30("flex flex-col gap-1.5", className),
1229
1803
  ...props,
1230
1804
  children
1231
1805
  }
@@ -1237,7 +1811,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1237
1811
  field.Field.Label,
1238
1812
  {
1239
1813
  ref,
1240
- className: cn18(
1814
+ className: cn30(
1241
1815
  "text-sm font-medium leading-none text-foreground",
1242
1816
  "data-[disabled]:opacity-50",
1243
1817
  className
@@ -1249,7 +1823,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1249
1823
  }
1250
1824
  MosaicFieldLabel.displayName = "MosaicField.Label";
1251
1825
  function MosaicFieldControl({ className, ref, ...props }) {
1252
- return /* @__PURE__ */ jsxRuntime.jsx(field.Field.Control, { ref, className: cn18(className), ...props });
1826
+ return /* @__PURE__ */ jsxRuntime.jsx(field.Field.Control, { ref, className: cn30(className), ...props });
1253
1827
  }
1254
1828
  MosaicFieldControl.displayName = "MosaicField.Control";
1255
1829
  function MosaicFieldDescription({
@@ -1262,7 +1836,7 @@ function MosaicFieldDescription({
1262
1836
  field.Field.Description,
1263
1837
  {
1264
1838
  ref,
1265
- className: cn18("text-xs text-muted-foreground", className),
1839
+ className: cn30("text-xs text-muted-foreground", className),
1266
1840
  ...props,
1267
1841
  children
1268
1842
  }
@@ -1282,7 +1856,7 @@ function MosaicFieldError({
1282
1856
  {
1283
1857
  ref,
1284
1858
  match: show === true ? true : void 0,
1285
- className: cn18("text-xs font-medium text-destructive", className),
1859
+ className: cn30("text-xs font-medium text-destructive", className),
1286
1860
  ...props,
1287
1861
  children
1288
1862
  }
@@ -1295,7 +1869,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
1295
1869
  Description: MosaicFieldDescription,
1296
1870
  Error: MosaicFieldError
1297
1871
  });
1298
- function cn19(...classes) {
1872
+ function cn31(...classes) {
1299
1873
  return classes.filter(Boolean).join(" ");
1300
1874
  }
1301
1875
  function MosaicSwitch({ className, ref, ...props }) {
@@ -1304,7 +1878,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1304
1878
  {
1305
1879
  ref,
1306
1880
  "data-slot": "switch",
1307
- className: cn19(
1881
+ className: cn31(
1308
1882
  // Track
1309
1883
  "relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
1310
1884
  "rounded-full border-2 border-transparent outline-none",
@@ -1322,7 +1896,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1322
1896
  _switch.Switch.Thumb,
1323
1897
  {
1324
1898
  "data-slot": "switch-thumb",
1325
- className: cn19(
1899
+ className: cn31(
1326
1900
  "pointer-events-none block h-4 w-4 rounded-full",
1327
1901
  "bg-background shadow-sm",
1328
1902
  "translate-x-0 transition-transform",
@@ -1334,7 +1908,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1334
1908
  );
1335
1909
  }
1336
1910
  MosaicSwitch.displayName = "MosaicSwitch";
1337
- function cn20(...classes) {
1911
+ function cn32(...classes) {
1338
1912
  return classes.filter(Boolean).join(" ");
1339
1913
  }
1340
1914
  function MosaicSelect({
@@ -1366,7 +1940,7 @@ function MosaicSelect({
1366
1940
  select.Select.Trigger,
1367
1941
  {
1368
1942
  "data-slot": "select",
1369
- className: cn20(
1943
+ className: cn32(
1370
1944
  "inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
1371
1945
  "rounded-md border border-border bg-background px-3 py-2",
1372
1946
  "text-sm text-foreground shadow-xs outline-none",
@@ -1386,7 +1960,7 @@ function MosaicSelect({
1386
1960
  select.Select.Popup,
1387
1961
  {
1388
1962
  "data-slot": "select-popup",
1389
- className: cn20(
1963
+ className: cn32(
1390
1964
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1391
1965
  "bg-popover p-1 text-popover-foreground shadow-md",
1392
1966
  "origin-[var(--transform-origin)]",
@@ -1400,7 +1974,7 @@ function MosaicSelect({
1400
1974
  {
1401
1975
  value: item.value,
1402
1976
  disabled: item.disabled,
1403
- className: cn20(
1977
+ className: cn32(
1404
1978
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1405
1979
  "text-sm text-popover-foreground outline-none",
1406
1980
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1454,7 +2028,7 @@ function CheckIcon() {
1454
2028
  }
1455
2029
  );
1456
2030
  }
1457
- function cn21(...classes) {
2031
+ function cn33(...classes) {
1458
2032
  return classes.filter(Boolean).join(" ");
1459
2033
  }
1460
2034
  function MosaicCombobox({
@@ -1483,12 +2057,12 @@ function MosaicCombobox({
1483
2057
  name,
1484
2058
  onInputValueChange: setInputValue,
1485
2059
  autoHighlight: true,
1486
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "combobox", className: cn21("relative w-full", className), children: [
2060
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "combobox", className: cn33("relative w-full", className), children: [
1487
2061
  /* @__PURE__ */ jsxRuntime.jsx(
1488
2062
  combobox.Combobox.Input,
1489
2063
  {
1490
2064
  placeholder,
1491
- className: cn21(
2065
+ className: cn33(
1492
2066
  "h-9 w-full rounded-md border border-border bg-background px-3 py-2",
1493
2067
  "text-sm text-foreground shadow-xs outline-none",
1494
2068
  "placeholder:text-muted-foreground",
@@ -1500,7 +2074,7 @@ function MosaicCombobox({
1500
2074
  /* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
1501
2075
  combobox.Combobox.Popup,
1502
2076
  {
1503
- className: cn21(
2077
+ className: cn33(
1504
2078
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1505
2079
  "bg-popover p-1 text-popover-foreground shadow-md",
1506
2080
  "origin-[var(--transform-origin)]",
@@ -1515,7 +2089,7 @@ function MosaicCombobox({
1515
2089
  {
1516
2090
  value: item.value,
1517
2091
  disabled: item.disabled,
1518
- className: cn21(
2092
+ className: cn33(
1519
2093
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1520
2094
  "text-sm text-popover-foreground outline-none",
1521
2095
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1534,7 +2108,7 @@ function MosaicCombobox({
1534
2108
  }
1535
2109
  );
1536
2110
  }
1537
- function cn22(...classes) {
2111
+ function cn34(...classes) {
1538
2112
  return classes.filter(Boolean).join(" ");
1539
2113
  }
1540
2114
  function MosaicDropdownMenu({
@@ -1551,7 +2125,7 @@ function MosaicDropdownMenu({
1551
2125
  menu.Menu.Popup,
1552
2126
  {
1553
2127
  "data-slot": "dropdown-menu",
1554
- className: cn22(
2128
+ className: cn34(
1555
2129
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1556
2130
  "bg-popover p-1 text-popover-foreground shadow-md",
1557
2131
  "origin-[var(--transform-origin)]",
@@ -1568,7 +2142,7 @@ function MosaicDropdownMenu({
1568
2142
  {
1569
2143
  disabled: item.disabled,
1570
2144
  onClick: () => onItemSelect?.(item.id),
1571
- className: cn22(
2145
+ className: cn34(
1572
2146
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1573
2147
  "text-sm text-popover-foreground outline-none",
1574
2148
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -1710,7 +2284,7 @@ function useDevice() {
1710
2284
  }
1711
2285
  return ctx;
1712
2286
  }
1713
- function cn23(...classes) {
2287
+ function cn35(...classes) {
1714
2288
  return classes.filter(Boolean).join(" ");
1715
2289
  }
1716
2290
  function MosaicAdaptiveGrid({
@@ -1729,14 +2303,14 @@ function MosaicAdaptiveGrid({
1729
2303
  {
1730
2304
  ref,
1731
2305
  "data-slot": "adaptive-grid",
1732
- className: cn23("grid", gap, className),
2306
+ className: cn35("grid", gap, className),
1733
2307
  style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
1734
2308
  children
1735
2309
  }
1736
2310
  );
1737
2311
  }
1738
2312
  MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
1739
- function cn24(...classes) {
2313
+ function cn36(...classes) {
1740
2314
  return classes.filter(Boolean).join(" ");
1741
2315
  }
1742
2316
  var ANIM_ID = "mosaic-adaptive-modal-kf";
@@ -1841,7 +2415,7 @@ function MosaicAdaptiveModal({
1841
2415
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1842
2416
  "div",
1843
2417
  {
1844
- className: cn24(
2418
+ className: cn36(
1845
2419
  "mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
1846
2420
  "max-h-[90dvh] flex flex-col",
1847
2421
  className
@@ -1874,7 +2448,7 @@ function MosaicAdaptiveModal({
1874
2448
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1875
2449
  "div",
1876
2450
  {
1877
- className: cn24(
2451
+ className: cn36(
1878
2452
  "mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
1879
2453
  "max-h-[90vh] flex flex-col",
1880
2454
  className
@@ -1922,7 +2496,7 @@ function MosaicAdaptiveModal({
1922
2496
  );
1923
2497
  }
1924
2498
  MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
1925
- function cn25(...classes) {
2499
+ function cn37(...classes) {
1926
2500
  return classes.filter(Boolean).join(" ");
1927
2501
  }
1928
2502
  function CheckIcon2() {
@@ -1979,7 +2553,7 @@ function MosaicAdaptiveNavigation({
1979
2553
  {
1980
2554
  ref,
1981
2555
  "data-slot": "adaptive-navigation",
1982
- className: cn25("space-y-3", className),
2556
+ className: cn37("space-y-3", className),
1983
2557
  "aria-label": "Step navigation",
1984
2558
  children: items.map((item, idx) => {
1985
2559
  const isExpanded = expandedItems?.has(item.id) ?? false;
@@ -1997,7 +2571,7 @@ function MosaicAdaptiveNavigation({
1997
2571
  /* @__PURE__ */ jsxRuntime.jsx(
1998
2572
  "div",
1999
2573
  {
2000
- className: cn25(
2574
+ className: cn37(
2001
2575
  "flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
2002
2576
  item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
2003
2577
  ),
@@ -2031,7 +2605,7 @@ function MosaicAdaptiveNavigation({
2031
2605
  {
2032
2606
  ref,
2033
2607
  "data-slot": "adaptive-navigation",
2034
- className: cn25("w-full", className),
2608
+ className: cn37("w-full", className),
2035
2609
  "aria-label": "Tab navigation",
2036
2610
  children: /* @__PURE__ */ jsxRuntime.jsx(
2037
2611
  "div",
@@ -2048,7 +2622,7 @@ function MosaicAdaptiveNavigation({
2048
2622
  role: "tab",
2049
2623
  "aria-selected": isActive,
2050
2624
  onClick: () => onItemChange(item.id),
2051
- className: cn25(
2625
+ className: cn37(
2052
2626
  "flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
2053
2627
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
2054
2628
  isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
@@ -2057,7 +2631,7 @@ function MosaicAdaptiveNavigation({
2057
2631
  /* @__PURE__ */ jsxRuntime.jsx(
2058
2632
  "div",
2059
2633
  {
2060
- className: cn25(
2634
+ className: cn37(
2061
2635
  "flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
2062
2636
  item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
2063
2637
  ),
@@ -2069,7 +2643,7 @@ function MosaicAdaptiveNavigation({
2069
2643
  item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(
2070
2644
  "span",
2071
2645
  {
2072
- className: cn25(
2646
+ className: cn37(
2073
2647
  "rounded px-1 py-0.5 text-xs",
2074
2648
  isActive ? "bg-primary-foreground/20" : "bg-muted"
2075
2649
  ),
@@ -2090,7 +2664,7 @@ function MosaicAdaptiveNavigation({
2090
2664
  );
2091
2665
  }
2092
2666
  MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
2093
- function cn26(...classes) {
2667
+ function cn38(...classes) {
2094
2668
  return classes.filter(Boolean).join(" ");
2095
2669
  }
2096
2670
  var ANIM_ID2 = "mosaic-sidebar-kf";
@@ -2260,7 +2834,7 @@ function MosaicAppSidebar({
2260
2834
  {
2261
2835
  ref,
2262
2836
  "data-slot": "app-sidebar",
2263
- className: cn26(
2837
+ className: cn38(
2264
2838
  "flex h-full flex-col bg-sidebar border-r border-sidebar-border",
2265
2839
  isMobile && "border-r-0",
2266
2840
  className
@@ -2280,7 +2854,7 @@ function MosaicAppSidebar({
2280
2854
  type: "button",
2281
2855
  onClick: onToggleCollapse,
2282
2856
  "aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
2283
- className: cn26(
2857
+ className: cn38(
2284
2858
  "flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
2285
2859
  "hover:bg-sidebar-accent text-sidebar-foreground",
2286
2860
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2310,7 +2884,7 @@ function MosaicAppSidebar({
2310
2884
  },
2311
2885
  "aria-current": isActive ? "page" : void 0,
2312
2886
  "aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
2313
- className: cn26(
2887
+ className: cn38(
2314
2888
  "group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
2315
2889
  "hover:bg-sidebar-accent",
2316
2890
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2337,7 +2911,7 @@ function MosaicAppSidebar({
2337
2911
  type: "button",
2338
2912
  onClick: () => handleNavClick(sub.href),
2339
2913
  "aria-current": isSubActive ? "page" : void 0,
2340
- className: cn26(
2914
+ className: cn38(
2341
2915
  "flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
2342
2916
  "hover:bg-sidebar-accent/50 text-sidebar-foreground",
2343
2917
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2360,7 +2934,7 @@ function MosaicAppSidebar({
2360
2934
  {
2361
2935
  type: "button",
2362
2936
  onClick: action.onClick,
2363
- className: cn26(
2937
+ className: cn38(
2364
2938
  "flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
2365
2939
  "text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
2366
2940
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -2407,7 +2981,7 @@ function MosaicAppSidebar({
2407
2981
  );
2408
2982
  }
2409
2983
  MosaicAppSidebar.displayName = "MosaicAppSidebar";
2410
- function cn27(...classes) {
2984
+ function cn39(...classes) {
2411
2985
  return classes.filter(Boolean).join(" ");
2412
2986
  }
2413
2987
  var ANIM_ID3 = "mosaic-dashboard-kf";
@@ -2497,7 +3071,7 @@ function MosaicDashboardLayout({
2497
3071
  {
2498
3072
  ref,
2499
3073
  "data-slot": "dashboard-layout",
2500
- className: cn27("flex h-screen w-full bg-background", className),
3074
+ className: cn39("flex h-screen w-full bg-background", className),
2501
3075
  children: [
2502
3076
  !isMobile && /* @__PURE__ */ jsxRuntime.jsx(
2503
3077
  MosaicAppSidebar,
@@ -2521,7 +3095,7 @@ function MosaicDashboardLayout({
2521
3095
  type: "button",
2522
3096
  "aria-label": "Open navigation",
2523
3097
  onClick: () => setIsMobileSidebarOpen(true),
2524
- className: cn27(
3098
+ className: cn39(
2525
3099
  "flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
2526
3100
  "text-foreground transition-colors hover:bg-muted",
2527
3101
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -2573,7 +3147,7 @@ function MosaicDashboardLayout({
2573
3147
  );
2574
3148
  }
2575
3149
  MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
2576
- function cn28(...classes) {
3150
+ function cn40(...classes) {
2577
3151
  return classes.filter(Boolean).join(" ");
2578
3152
  }
2579
3153
  var ANIM_ID4 = "mosaic-quick-action-kf";
@@ -2628,7 +3202,7 @@ function MosaicQuickActionCard({
2628
3202
  {
2629
3203
  ref,
2630
3204
  "data-slot": "quick-action-card",
2631
- className: cn28("rounded-xl border border-border bg-card", className),
3205
+ className: cn40("rounded-xl border border-border bg-card", className),
2632
3206
  children: [
2633
3207
  heading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border px-6 py-4", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }) }),
2634
3208
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2653,7 +3227,7 @@ function MosaicQuickActionCard({
2653
3227
  /* @__PURE__ */ jsxRuntime.jsxs(
2654
3228
  "div",
2655
3229
  {
2656
- className: cn28(
3230
+ className: cn40(
2657
3231
  "flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
2658
3232
  "transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
2659
3233
  accentClass
@@ -2686,7 +3260,7 @@ function MosaicQuickActionCard({
2686
3260
  );
2687
3261
  }
2688
3262
  MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
2689
- function cn29(...classes) {
3263
+ function cn41(...classes) {
2690
3264
  return classes.filter(Boolean).join(" ");
2691
3265
  }
2692
3266
  var ANIM_ID5 = "mosaic-activity-feed-kf";
@@ -2775,7 +3349,7 @@ function MosaicActivityItem({ activity, icon, className }) {
2775
3349
  "div",
2776
3350
  {
2777
3351
  "data-slot": "activity-item",
2778
- className: cn29(
3352
+ className: cn41(
2779
3353
  "flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
2780
3354
  className
2781
3355
  ),
@@ -2809,7 +3383,7 @@ function MosaicActivityItem({ activity, icon, className }) {
2809
3383
  /* @__PURE__ */ jsxRuntime.jsx(
2810
3384
  "span",
2811
3385
  {
2812
- className: cn29(
3386
+ className: cn41(
2813
3387
  "rounded-full px-2 py-0.5 text-xs font-medium",
2814
3388
  getStatusClass(activity.status)
2815
3389
  ),
@@ -2850,7 +3424,7 @@ function MosaicActivityFeed({
2850
3424
  {
2851
3425
  ref,
2852
3426
  "data-slot": "activity-feed",
2853
- className: cn29("rounded-xl border border-border bg-card", className),
3427
+ className: cn41("rounded-xl border border-border bg-card", className),
2854
3428
  children: [
2855
3429
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
2856
3430
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
@@ -2876,7 +3450,7 @@ function MosaicActivityFeed({
2876
3450
  );
2877
3451
  }
2878
3452
  MosaicActivityFeed.displayName = "MosaicActivityFeed";
2879
- function cn30(...classes) {
3453
+ function cn42(...classes) {
2880
3454
  return classes.filter(Boolean).join(" ");
2881
3455
  }
2882
3456
  function SparklesIcon() {
@@ -3085,7 +3659,7 @@ function MosaicAgentComposerDesktop({
3085
3659
  value: agentName,
3086
3660
  onChange: (e) => onAgentNameChange(e.target.value),
3087
3661
  placeholder: "Enter agent name\u2026",
3088
- className: cn30(
3662
+ className: cn42(
3089
3663
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3090
3664
  "placeholder:text-muted-foreground",
3091
3665
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3186,7 +3760,7 @@ function MosaicAgentComposerDesktop({
3186
3760
  onChange: (e) => onCustomInstructionsChange(e.target.value),
3187
3761
  placeholder: "Add any specific instructions or behaviors\u2026",
3188
3762
  rows: 5,
3189
- className: cn30(
3763
+ className: cn42(
3190
3764
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3191
3765
  "placeholder:text-muted-foreground",
3192
3766
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3254,7 +3828,7 @@ function MosaicAgentComposerDesktop({
3254
3828
  /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon, {}),
3255
3829
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
3256
3830
  ] }) }),
3257
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn30("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3831
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn42("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3258
3832
  isEditMode && onCancel && /* @__PURE__ */ jsxRuntime.jsx(
3259
3833
  "button",
3260
3834
  {
@@ -3270,7 +3844,7 @@ function MosaicAgentComposerDesktop({
3270
3844
  type: "button",
3271
3845
  onClick: onSave,
3272
3846
  disabled: !canSave,
3273
- className: cn30(
3847
+ className: cn42(
3274
3848
  "flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
3275
3849
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3276
3850
  "bg-primary text-primary-foreground hover:bg-primary/90",
@@ -3291,7 +3865,7 @@ function MosaicAgentComposerDesktop({
3291
3865
  ] });
3292
3866
  }
3293
3867
  MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
3294
- function cn31(...classes) {
3868
+ function cn43(...classes) {
3295
3869
  return classes.filter(Boolean).join(" ");
3296
3870
  }
3297
3871
  function SparklesIcon2() {
@@ -3547,7 +4121,7 @@ function MosaicAgentComposerMobile({
3547
4121
  disabled: isLoading,
3548
4122
  "aria-required": "true",
3549
4123
  "aria-invalid": canSave && !agentName ? "true" : "false",
3550
- className: cn31(
4124
+ className: cn43(
3551
4125
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3552
4126
  "placeholder:text-muted-foreground",
3553
4127
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3651,7 +4225,7 @@ function MosaicAgentComposerMobile({
3651
4225
  disabled: isLoading,
3652
4226
  "aria-describedby": `${instructionsId}-help`,
3653
4227
  rows: 4,
3654
- className: cn31(
4228
+ className: cn43(
3655
4229
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3656
4230
  "placeholder:text-muted-foreground",
3657
4231
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3707,7 +4281,7 @@ function MosaicAgentComposer(props) {
3707
4281
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MosaicAgentComposerDesktop, { ...props });
3708
4282
  }
3709
4283
  MosaicAgentComposer.displayName = "MosaicAgentComposer";
3710
- function cn32(...classes) {
4284
+ function cn44(...classes) {
3711
4285
  return classes.filter(Boolean).join(" ");
3712
4286
  }
3713
4287
  function EditIcon() {
@@ -3765,7 +4339,7 @@ function MosaicModuleCard({
3765
4339
  {
3766
4340
  ref,
3767
4341
  "data-slot": "module-card",
3768
- className: cn32(
4342
+ className: cn44(
3769
4343
  "min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
3770
4344
  "flex items-start gap-3",
3771
4345
  isSelected && "ring-2 ring-primary bg-primary/5",
@@ -3827,7 +4401,7 @@ function MosaicThemeProvider({
3827
4401
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "theme-provider", children });
3828
4402
  }
3829
4403
  MosaicThemeProvider.displayName = "MosaicThemeProvider";
3830
- function cn33(...classes) {
4404
+ function cn45(...classes) {
3831
4405
  return classes.filter(Boolean).join(" ");
3832
4406
  }
3833
4407
  var ANIM_ID6 = "mosaic-delete-dialog-kf";
@@ -3881,14 +4455,14 @@ function MosaicDeleteConfirmationDialog({
3881
4455
  /* @__PURE__ */ jsxRuntime.jsx(
3882
4456
  alertDialog.AlertDialog.Backdrop,
3883
4457
  {
3884
- className: cn33("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
4458
+ className: cn45("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
3885
4459
  }
3886
4460
  ),
3887
4461
  /* @__PURE__ */ jsxRuntime.jsxs(
3888
4462
  alertDialog.AlertDialog.Popup,
3889
4463
  {
3890
4464
  "data-slot": "delete-confirmation-dialog",
3891
- className: cn33(
4465
+ className: cn45(
3892
4466
  "mosaic-delete-content",
3893
4467
  "fixed left-1/2 top-1/2 z-50",
3894
4468
  "w-full max-w-[92vw] sm:max-w-md",
@@ -3901,7 +4475,7 @@ function MosaicDeleteConfirmationDialog({
3901
4475
  /* @__PURE__ */ jsxRuntime.jsx(
3902
4476
  alertDialog.AlertDialog.Close,
3903
4477
  {
3904
- className: cn33(
4478
+ className: cn45(
3905
4479
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
3906
4480
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
3907
4481
  "hover:bg-accent hover:text-accent-foreground",
@@ -3915,7 +4489,7 @@ function MosaicDeleteConfirmationDialog({
3915
4489
  alertDialog.AlertDialog.Close,
3916
4490
  {
3917
4491
  onClick: onConfirm,
3918
- className: cn33(
4492
+ className: cn45(
3919
4493
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
3920
4494
  "bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
3921
4495
  "hover:bg-destructive/90",
@@ -3932,7 +4506,7 @@ function MosaicDeleteConfirmationDialog({
3932
4506
  ] }) });
3933
4507
  }
3934
4508
  MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
3935
- function cn34(...classes) {
4509
+ function cn46(...classes) {
3936
4510
  return classes.filter(Boolean).join(" ");
3937
4511
  }
3938
4512
  function Toggle({
@@ -3948,7 +4522,7 @@ function Toggle({
3948
4522
  id,
3949
4523
  "aria-checked": checked,
3950
4524
  onClick: () => onChange(!checked),
3951
- className: cn34(
4525
+ className: cn46(
3952
4526
  "relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
3953
4527
  "transition-colors duration-200 ease-in-out",
3954
4528
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
@@ -3957,7 +4531,7 @@ function Toggle({
3957
4531
  children: /* @__PURE__ */ jsxRuntime.jsx(
3958
4532
  "span",
3959
4533
  {
3960
- className: cn34(
4534
+ className: cn46(
3961
4535
  "pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
3962
4536
  "transform transition duration-200 ease-in-out",
3963
4537
  checked ? "translate-x-5" : "translate-x-0"
@@ -3979,7 +4553,7 @@ function NativeSelect({
3979
4553
  id,
3980
4554
  value,
3981
4555
  onChange: (e) => onChange(e.target.value),
3982
- className: cn34(
4556
+ className: cn46(
3983
4557
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
3984
4558
  "text-sm text-foreground",
3985
4559
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3998,7 +4572,7 @@ function MosaicPreferencesPanel({
3998
4572
  className
3999
4573
  }) {
4000
4574
  const { isMobile } = useDevice();
4001
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "preferences-panel", className: cn34("space-y-4 md:space-y-6", className), children: [
4575
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "preferences-panel", className: cn46("space-y-4 md:space-y-6", className), children: [
4002
4576
  groups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs(
4003
4577
  "div",
4004
4578
  {
@@ -4041,13 +4615,13 @@ function MosaicPreferencesPanel({
4041
4615
  },
4042
4616
  group.id
4043
4617
  )),
4044
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn34("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn46("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4045
4619
  "button",
4046
4620
  {
4047
4621
  type: "button",
4048
4622
  onClick: onSave,
4049
4623
  disabled: isSaving,
4050
- className: cn34(
4624
+ className: cn46(
4051
4625
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4052
4626
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4053
4627
  "hover:bg-primary/90",
@@ -4083,7 +4657,7 @@ function MosaicPreferencesPanel({
4083
4657
  ] });
4084
4658
  }
4085
4659
  MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
4086
- function cn35(...classes) {
4660
+ function cn47(...classes) {
4087
4661
  return classes.filter(Boolean).join(" ");
4088
4662
  }
4089
4663
  function AvatarDisplay({
@@ -4096,7 +4670,7 @@ function AvatarDisplay({
4096
4670
  return /* @__PURE__ */ jsxRuntime.jsx(
4097
4671
  "span",
4098
4672
  {
4099
- className: cn35(
4673
+ className: cn47(
4100
4674
  "inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
4101
4675
  sizeClass
4102
4676
  ),
@@ -4118,7 +4692,7 @@ function MosaicProfilePanel({
4118
4692
  className
4119
4693
  }) {
4120
4694
  const { isMobile } = useDevice();
4121
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "profile-panel", className: cn35("space-y-4 md:space-y-6", className), children: [
4695
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "profile-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
4122
4696
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
4123
4697
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
4124
4698
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
@@ -4138,7 +4712,7 @@ function MosaicProfilePanel({
4138
4712
  {
4139
4713
  type: "button",
4140
4714
  onClick: onAvatarUpload,
4141
- className: cn35(
4715
+ className: cn47(
4142
4716
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
4143
4717
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4144
4718
  "hover:bg-accent hover:text-accent-foreground",
@@ -4188,7 +4762,7 @@ function MosaicProfilePanel({
4188
4762
  placeholder: field.placeholder,
4189
4763
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4190
4764
  rows: 4,
4191
- className: cn35(
4765
+ className: cn47(
4192
4766
  "flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
4193
4767
  "text-sm text-foreground placeholder:text-muted-foreground",
4194
4768
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4204,7 +4778,7 @@ function MosaicProfilePanel({
4204
4778
  readOnly: field.readOnly,
4205
4779
  placeholder: field.placeholder,
4206
4780
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4207
- className: cn35(
4781
+ className: cn47(
4208
4782
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
4209
4783
  "text-sm text-foreground placeholder:text-muted-foreground",
4210
4784
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4224,7 +4798,7 @@ function MosaicProfilePanel({
4224
4798
  {
4225
4799
  type: "button",
4226
4800
  onClick: onChangePassword,
4227
- className: cn35(
4801
+ className: cn47(
4228
4802
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
4229
4803
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4230
4804
  "hover:bg-accent hover:text-accent-foreground",
@@ -4236,13 +4810,13 @@ function MosaicProfilePanel({
4236
4810
  ) })
4237
4811
  ] }),
4238
4812
  extraSections,
4239
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn35("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4813
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4240
4814
  "button",
4241
4815
  {
4242
4816
  type: "button",
4243
4817
  onClick: onSave,
4244
4818
  disabled: isSaving,
4245
- className: cn35(
4819
+ className: cn47(
4246
4820
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4247
4821
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4248
4822
  "hover:bg-primary/90",
@@ -4278,7 +4852,7 @@ function MosaicProfilePanel({
4278
4852
  ] });
4279
4853
  }
4280
4854
  MosaicProfilePanel.displayName = "MosaicProfilePanel";
4281
- function cn36(...classes) {
4855
+ function cn48(...classes) {
4282
4856
  return classes.filter(Boolean).join(" ");
4283
4857
  }
4284
4858
  var ANIM_ID7 = "mosaic-main-nav-kf";
@@ -4386,7 +4960,7 @@ function MosaicMainNav({
4386
4960
  {
4387
4961
  type: "button",
4388
4962
  onClick: () => setIsOpen(!isOpen),
4389
- className: cn36(
4963
+ className: cn48(
4390
4964
  "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
4391
4965
  "text-foreground hover:bg-accent hover:text-accent-foreground",
4392
4966
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4412,7 +4986,7 @@ function MosaicMainNav({
4412
4986
  "aria-label": "Navigation",
4413
4987
  open: isOpen,
4414
4988
  "data-open": isOpen ? "true" : "false",
4415
- className: cn36(
4989
+ className: cn48(
4416
4990
  "mosaic-nav-drawer",
4417
4991
  "fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
4418
4992
  "border-r border-border bg-background shadow-xl",
@@ -4429,7 +5003,7 @@ function MosaicMainNav({
4429
5003
  {
4430
5004
  type: "button",
4431
5005
  onClick: () => setIsOpen(false),
4432
- className: cn36(
5006
+ className: cn48(
4433
5007
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
4434
5008
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
4435
5009
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4442,7 +5016,7 @@ function MosaicMainNav({
4442
5016
  /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
4443
5017
  const Icon = item.icon;
4444
5018
  const active = isItemActive(item);
4445
- const itemClass = cn36(
5019
+ const itemClass = cn48(
4446
5020
  "flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
4447
5021
  "hover:bg-accent hover:text-accent-foreground",
4448
5022
  "min-h-[44px]",
@@ -4468,12 +5042,12 @@ function MosaicMainNav({
4468
5042
  "nav",
4469
5043
  {
4470
5044
  "data-slot": "main-nav",
4471
- className: cn36("flex items-center gap-1", className),
5045
+ className: cn48("flex items-center gap-1", className),
4472
5046
  "aria-label": "Main navigation",
4473
5047
  children: filteredItems.map((item) => {
4474
5048
  const Icon = item.icon;
4475
5049
  const active = isItemActive(item);
4476
- const itemClass = cn36(
5050
+ const itemClass = cn48(
4477
5051
  "flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
4478
5052
  "hover:bg-accent hover:text-accent-foreground",
4479
5053
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4493,7 +5067,7 @@ function MosaicMainNav({
4493
5067
  );
4494
5068
  }
4495
5069
  MosaicMainNav.displayName = "MosaicMainNav";
4496
- function cn37(...classes) {
5070
+ function cn49(...classes) {
4497
5071
  return classes.filter(Boolean).join(" ");
4498
5072
  }
4499
5073
  function MoreVertIcon() {
@@ -4624,7 +5198,7 @@ function MosaicAgentCard({
4624
5198
  "div",
4625
5199
  {
4626
5200
  "data-slot": "agent-card",
4627
- className: cn37(
5201
+ className: cn49(
4628
5202
  "relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
4629
5203
  "transition-shadow hover:shadow-md",
4630
5204
  agent.isActive && "ring-2 ring-primary",
@@ -4634,7 +5208,7 @@ function MosaicAgentCard({
4634
5208
  /* @__PURE__ */ jsxRuntime.jsx(
4635
5209
  "div",
4636
5210
  {
4637
- className: cn37(
5211
+ className: cn49(
4638
5212
  "absolute left-0 top-0 h-1 w-full",
4639
5213
  agent.isActive ? "bg-primary" : "bg-muted"
4640
5214
  )
@@ -4646,7 +5220,7 @@ function MosaicAgentCard({
4646
5220
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
4647
5221
  "span",
4648
5222
  {
4649
- className: cn37("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5223
+ className: cn49("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
4650
5224
  "aria-hidden": "true"
4651
5225
  }
4652
5226
  ),
@@ -4664,7 +5238,7 @@ function MosaicAgentCard({
4664
5238
  {
4665
5239
  type: "button",
4666
5240
  onClick: () => setMenuOpen((v) => !v),
4667
- className: cn37(
5241
+ className: cn49(
4668
5242
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
4669
5243
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
4670
5244
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4679,7 +5253,7 @@ function MosaicAgentCard({
4679
5253
  "div",
4680
5254
  {
4681
5255
  role: "menu",
4682
- className: cn37(
5256
+ className: cn49(
4683
5257
  "absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
4684
5258
  "bg-popover py-1 shadow-md"
4685
5259
  ),
@@ -4694,7 +5268,7 @@ function MosaicAgentCard({
4694
5268
  onToggleStatus(agent.id);
4695
5269
  setMenuOpen(false);
4696
5270
  },
4697
- className: cn37(
5271
+ className: cn49(
4698
5272
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
4699
5273
  "hover:bg-accent hover:text-accent-foreground",
4700
5274
  "disabled:pointer-events-none disabled:opacity-50"
@@ -4756,7 +5330,7 @@ function MosaicAgentCard({
4756
5330
  type: "button",
4757
5331
  disabled: isLoading,
4758
5332
  onClick: () => onToggleStatus(agent.id),
4759
- className: cn37(
5333
+ className: cn49(
4760
5334
  "inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
4761
5335
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4762
5336
  "disabled:pointer-events-none disabled:opacity-50",
@@ -4772,7 +5346,7 @@ function MosaicAgentCard({
4772
5346
  );
4773
5347
  }
4774
5348
  MosaicAgentCard.displayName = "MosaicAgentCard";
4775
- function cn38(...classes) {
5349
+ function cn50(...classes) {
4776
5350
  return classes.filter(Boolean).join(" ");
4777
5351
  }
4778
5352
  function PlusIcon3() {
@@ -4852,7 +5426,7 @@ function PickerContent({
4852
5426
  {
4853
5427
  type: "button",
4854
5428
  onClick: () => onAdd(agent.id),
4855
- className: cn38(
5429
+ className: cn50(
4856
5430
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
4857
5431
  "hover:bg-accent hover:text-accent-foreground",
4858
5432
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4861,7 +5435,7 @@ function PickerContent({
4861
5435
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
4862
5436
  "span",
4863
5437
  {
4864
- className: cn38("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5438
+ className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
4865
5439
  "aria-hidden": "true"
4866
5440
  }
4867
5441
  ),
@@ -4878,7 +5452,7 @@ function PickerContent({
4878
5452
  {
4879
5453
  type: "button",
4880
5454
  onClick: onOpenBuilder,
4881
- className: cn38(
5455
+ className: cn50(
4882
5456
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
4883
5457
  "hover:bg-accent hover:text-accent-foreground",
4884
5458
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4928,11 +5502,11 @@ function MosaicQuickAgentSelector({
4928
5502
  setPickerOpen(false);
4929
5503
  };
4930
5504
  const canAdd = selectedAgents.length < maxAgents;
4931
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-agent-selector", className: cn38("flex items-center gap-2", className), children: [
5505
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-agent-selector", className: cn50("flex items-center gap-2", className), children: [
4932
5506
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxRuntime.jsxs(
4933
5507
  "div",
4934
5508
  {
4935
- className: cn38(
5509
+ className: cn50(
4936
5510
  "group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
4937
5511
  isMobile ? "px-2 py-1" : "px-3 py-1.5"
4938
5512
  ),
@@ -4940,17 +5514,17 @@ function MosaicQuickAgentSelector({
4940
5514
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
4941
5515
  "span",
4942
5516
  {
4943
- className: cn38("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
5517
+ className: cn50("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
4944
5518
  "aria-hidden": "true"
4945
5519
  }
4946
5520
  ),
4947
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn38("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
5521
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn50("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
4948
5522
  /* @__PURE__ */ jsxRuntime.jsx(
4949
5523
  "button",
4950
5524
  {
4951
5525
  type: "button",
4952
5526
  onClick: () => onRemoveAgent(agent.id),
4953
- className: cn38(
5527
+ className: cn50(
4954
5528
  "inline-flex h-4 w-4 items-center justify-center rounded",
4955
5529
  "text-muted-foreground hover:text-foreground",
4956
5530
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -4970,7 +5544,7 @@ function MosaicQuickAgentSelector({
4970
5544
  {
4971
5545
  type: "button",
4972
5546
  onClick: () => setPickerOpen((v) => !v),
4973
- className: cn38(
5547
+ className: cn50(
4974
5548
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
4975
5549
  "px-3 py-1.5 text-sm font-medium text-foreground",
4976
5550
  "hover:bg-accent hover:text-accent-foreground",
@@ -4985,7 +5559,7 @@ function MosaicQuickAgentSelector({
4985
5559
  !isMobile && pickerOpen && /* @__PURE__ */ jsxRuntime.jsx(
4986
5560
  "div",
4987
5561
  {
4988
- className: cn38(
5562
+ className: cn50(
4989
5563
  "absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
4990
5564
  "bg-popover shadow-lg"
4991
5565
  ),
@@ -5027,7 +5601,7 @@ function MosaicQuickAgentSelector({
5027
5601
  /* @__PURE__ */ jsxRuntime.jsxs(
5028
5602
  "span",
5029
5603
  {
5030
- className: cn38(
5604
+ className: cn50(
5031
5605
  "shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
5032
5606
  ),
5033
5607
  children: [
@@ -5040,7 +5614,7 @@ function MosaicQuickAgentSelector({
5040
5614
  ] });
5041
5615
  }
5042
5616
  MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
5043
- function cn39(...classes) {
5617
+ function cn51(...classes) {
5044
5618
  return classes.filter(Boolean).join(" ");
5045
5619
  }
5046
5620
  function SearchIcon() {
@@ -5130,7 +5704,7 @@ function MosaicSelectorModal({
5130
5704
  value: query,
5131
5705
  onChange: (e) => setQuery(e.target.value),
5132
5706
  placeholder: searchPlaceholder,
5133
- className: cn39(
5707
+ className: cn51(
5134
5708
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5135
5709
  "text-sm text-foreground placeholder:text-muted-foreground",
5136
5710
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5144,7 +5718,7 @@ function MosaicSelectorModal({
5144
5718
  {
5145
5719
  type: "button",
5146
5720
  onClick: () => setActiveCategory("all"),
5147
- className: cn39(
5721
+ className: cn51(
5148
5722
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5149
5723
  activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5150
5724
  ),
@@ -5156,7 +5730,7 @@ function MosaicSelectorModal({
5156
5730
  {
5157
5731
  type: "button",
5158
5732
  onClick: () => setActiveCategory(cat.id),
5159
- className: cn39(
5733
+ className: cn51(
5160
5734
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5161
5735
  activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5162
5736
  ),
@@ -5168,7 +5742,7 @@ function MosaicSelectorModal({
5168
5742
  /* @__PURE__ */ jsxRuntime.jsxs(
5169
5743
  "div",
5170
5744
  {
5171
- className: cn39(
5745
+ className: cn51(
5172
5746
  "max-h-[50vh] overflow-y-auto",
5173
5747
  columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
5174
5748
  ),
@@ -5180,7 +5754,7 @@ function MosaicSelectorModal({
5180
5754
  {
5181
5755
  type: "button",
5182
5756
  onClick: () => setPendingId(item.id),
5183
- className: cn39(
5757
+ className: cn51(
5184
5758
  "group relative rounded-lg border p-4 text-left transition-all duration-150",
5185
5759
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5186
5760
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
@@ -5218,7 +5792,7 @@ function MosaicSelectorModal({
5218
5792
  {
5219
5793
  type: "button",
5220
5794
  onClick: onClose,
5221
- className: cn39(
5795
+ className: cn51(
5222
5796
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
5223
5797
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
5224
5798
  "hover:bg-accent hover:text-accent-foreground",
@@ -5233,7 +5807,7 @@ function MosaicSelectorModal({
5233
5807
  type: "button",
5234
5808
  onClick: handleConfirm,
5235
5809
  disabled: !pendingItem,
5236
- className: cn39(
5810
+ className: cn51(
5237
5811
  "inline-flex min-h-[44px] items-center justify-center rounded-md",
5238
5812
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
5239
5813
  "hover:bg-primary/90",
@@ -5247,7 +5821,7 @@ function MosaicSelectorModal({
5247
5821
  ] }) });
5248
5822
  }
5249
5823
  MosaicSelectorModal.displayName = "MosaicSelectorModal";
5250
- function cn40(...classes) {
5824
+ function cn52(...classes) {
5251
5825
  return classes.filter(Boolean).join(" ");
5252
5826
  }
5253
5827
  function relativeTime(ts) {
@@ -5496,7 +6070,7 @@ function MosaicMessageCard({
5496
6070
  "div",
5497
6071
  {
5498
6072
  "data-slot": "message-card",
5499
- className: cn40(
6073
+ className: cn52(
5500
6074
  "rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
5501
6075
  compact && "p-3",
5502
6076
  message.sender.type === "user" && "bg-primary/5",
@@ -5506,7 +6080,7 @@ function MosaicMessageCard({
5506
6080
  /* @__PURE__ */ jsxRuntime.jsx(
5507
6081
  "span",
5508
6082
  {
5509
- className: cn40(
6083
+ className: cn52(
5510
6084
  "inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
5511
6085
  compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
5512
6086
  message.sender.accentColor ?? "bg-muted text-muted-foreground"
@@ -5524,7 +6098,7 @@ function MosaicMessageCard({
5524
6098
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
5525
6099
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
5526
6100
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
5527
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn40("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6101
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn52("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
5528
6102
  message.sender.type === "ai" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
5529
6103
  ] }),
5530
6104
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
@@ -5532,7 +6106,7 @@ function MosaicMessageCard({
5532
6106
  /* @__PURE__ */ jsxRuntime.jsx(
5533
6107
  "p",
5534
6108
  {
5535
- className: cn40(
6109
+ className: cn52(
5536
6110
  "leading-relaxed text-foreground mb-3",
5537
6111
  compact ? "text-sm" : "text-base"
5538
6112
  ),
@@ -5547,7 +6121,7 @@ function MosaicMessageCard({
5547
6121
  {
5548
6122
  type: "button",
5549
6123
  onClick: handleLike,
5550
- className: cn40(
6124
+ className: cn52(
5551
6125
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
5552
6126
  "hover:bg-accent hover:text-accent-foreground",
5553
6127
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5565,7 +6139,7 @@ function MosaicMessageCard({
5565
6139
  {
5566
6140
  type: "button",
5567
6141
  onClick: handleDislike,
5568
- className: cn40(
6142
+ className: cn52(
5569
6143
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
5570
6144
  "hover:bg-accent hover:text-accent-foreground",
5571
6145
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5610,7 +6184,7 @@ function MosaicMessageCard({
5610
6184
  {
5611
6185
  type: "button",
5612
6186
  onClick: handleBookmark,
5613
- className: cn40(
6187
+ className: cn52(
5614
6188
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
5615
6189
  "hover:bg-accent hover:text-accent-foreground",
5616
6190
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5711,7 +6285,7 @@ function MosaicMessageCard({
5711
6285
  );
5712
6286
  }
5713
6287
  MosaicMessageCard.displayName = "MosaicMessageCard";
5714
- function cn41(...classes) {
6288
+ function cn53(...classes) {
5715
6289
  return classes.filter(Boolean).join(" ");
5716
6290
  }
5717
6291
  function SearchIcon2() {
@@ -5751,7 +6325,7 @@ function MessageListDesktop({
5751
6325
  const filtered = query ? messages.filter(
5752
6326
  (m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
5753
6327
  ) : messages;
5754
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn41("flex h-full flex-col", className), children: [
6328
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn53("flex h-full flex-col", className), children: [
5755
6329
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
5756
6330
  title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold", children: title }),
5757
6331
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
@@ -5763,7 +6337,7 @@ function MessageListDesktop({
5763
6337
  value: query,
5764
6338
  onChange: (e) => setQuery(e.target.value),
5765
6339
  placeholder: "Search messages\u2026",
5766
- className: cn41(
6340
+ className: cn53(
5767
6341
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5768
6342
  "text-sm placeholder:text-muted-foreground",
5769
6343
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5792,7 +6366,7 @@ function MessageListDesktop({
5792
6366
  {
5793
6367
  type: "button",
5794
6368
  onClick: onLoadMore,
5795
- className: cn41(
6369
+ className: cn53(
5796
6370
  "w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
5797
6371
  "hover:bg-accent hover:text-accent-foreground",
5798
6372
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5814,7 +6388,7 @@ function MessageListMobile({
5814
6388
  isLoading,
5815
6389
  className
5816
6390
  }) {
5817
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn41("flex flex-col", className), children: [
6391
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn53("flex flex-col", className), children: [
5818
6392
  title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-semibold", children: title }) }),
5819
6393
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3 p-4", children: [
5820
6394
  isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
@@ -5837,7 +6411,7 @@ function MessageListMobile({
5837
6411
  {
5838
6412
  type: "button",
5839
6413
  onClick: onLoadMore,
5840
- className: cn41(
6414
+ className: cn53(
5841
6415
  "w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
5842
6416
  "hover:bg-accent hover:text-accent-foreground",
5843
6417
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5852,7 +6426,7 @@ function MosaicMessageList(props) {
5852
6426
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MessageListDesktop, { ...props });
5853
6427
  }
5854
6428
  MosaicMessageList.displayName = "MosaicMessageList";
5855
- function cn42(...classes) {
6429
+ function cn54(...classes) {
5856
6430
  return classes.filter(Boolean).join(" ");
5857
6431
  }
5858
6432
  function ChevronLeftIcon2() {
@@ -5928,7 +6502,7 @@ function MosaicFilterSidebar({
5928
6502
  {
5929
6503
  "data-slot": "filter-sidebar",
5930
6504
  style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
5931
- className: cn42(
6505
+ className: cn54(
5932
6506
  "relative flex flex-col border-r border-border bg-card",
5933
6507
  "transition-[width] duration-200 ease-in-out",
5934
6508
  "overflow-hidden",
@@ -5940,7 +6514,7 @@ function MosaicFilterSidebar({
5940
6514
  {
5941
6515
  type: "button",
5942
6516
  onClick: onToggleCollapse,
5943
- className: cn42(
6517
+ className: cn54(
5944
6518
  "absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
5945
6519
  "border border-border bg-background shadow-sm",
5946
6520
  "hover:bg-accent hover:text-accent-foreground",
@@ -5970,7 +6544,7 @@ function MosaicFilterSidebar({
5970
6544
  {
5971
6545
  type: "button",
5972
6546
  onClick: () => onFilterChange(f.id),
5973
- className: cn42(
6547
+ className: cn54(
5974
6548
  "flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
5975
6549
  "transition-colors hover:bg-accent hover:text-accent-foreground",
5976
6550
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -5990,7 +6564,7 @@ function MosaicFilterSidebar({
5990
6564
  {
5991
6565
  type: "button",
5992
6566
  onClick: () => onCategoryChange(cat.id),
5993
- className: cn42(
6567
+ className: cn54(
5994
6568
  "flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
5995
6569
  "transition-colors hover:bg-accent hover:text-accent-foreground",
5996
6570
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6010,7 +6584,7 @@ function MosaicFilterSidebar({
6010
6584
  );
6011
6585
  }
6012
6586
  MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
6013
- function cn43(...classes) {
6587
+ function cn55(...classes) {
6014
6588
  return classes.filter(Boolean).join(" ");
6015
6589
  }
6016
6590
  function SearchIcon3() {
@@ -6125,7 +6699,7 @@ function AgentListDesktop({
6125
6699
  value: query,
6126
6700
  onChange: (e) => setQuery(e.target.value),
6127
6701
  placeholder: searchPlaceholder,
6128
- className: cn43(
6702
+ className: cn55(
6129
6703
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6130
6704
  "text-sm placeholder:text-muted-foreground",
6131
6705
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6138,7 +6712,7 @@ function AgentListDesktop({
6138
6712
  {
6139
6713
  type: "button",
6140
6714
  onClick: onCreateAgent,
6141
- className: cn43(
6715
+ className: cn55(
6142
6716
  "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
6143
6717
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6144
6718
  ),
@@ -6197,7 +6771,7 @@ function AgentListMobile({
6197
6771
  {
6198
6772
  type: "button",
6199
6773
  onClick: () => setFilterOpen(true),
6200
- className: cn43(
6774
+ className: cn55(
6201
6775
  "inline-flex h-9 w-9 items-center justify-center rounded-md",
6202
6776
  "border border-border bg-background text-foreground",
6203
6777
  "hover:bg-accent hover:text-accent-foreground",
@@ -6212,7 +6786,7 @@ function AgentListMobile({
6212
6786
  {
6213
6787
  type: "button",
6214
6788
  onClick: onCreateAgent,
6215
- className: cn43(
6789
+ className: cn55(
6216
6790
  "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
6217
6791
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6218
6792
  ),
@@ -6233,7 +6807,7 @@ function AgentListMobile({
6233
6807
  value: query,
6234
6808
  onChange: (e) => setQuery(e.target.value),
6235
6809
  placeholder: searchPlaceholder,
6236
- className: cn43(
6810
+ className: cn55(
6237
6811
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6238
6812
  "text-sm placeholder:text-muted-foreground",
6239
6813
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6281,7 +6855,7 @@ function MosaicAgentList(props) {
6281
6855
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(AgentListDesktop, { ...props });
6282
6856
  }
6283
6857
  MosaicAgentList.displayName = "MosaicAgentList";
6284
- function cn44(...classes) {
6858
+ function cn56(...classes) {
6285
6859
  return classes.filter(Boolean).join(" ");
6286
6860
  }
6287
6861
  function StarIcon({ filled }) {
@@ -6377,7 +6951,7 @@ function MarketplaceCard({
6377
6951
  "div",
6378
6952
  {
6379
6953
  "data-slot": "marketplace-card",
6380
- className: cn44(
6954
+ className: cn56(
6381
6955
  "rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
6382
6956
  compact ? "flex items-center gap-3" : "flex flex-col gap-3"
6383
6957
  ),
@@ -6385,7 +6959,7 @@ function MarketplaceCard({
6385
6959
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(
6386
6960
  "div",
6387
6961
  {
6388
- className: cn44(
6962
+ className: cn56(
6389
6963
  "flex shrink-0 items-center justify-center rounded-lg",
6390
6964
  compact ? "h-10 w-10" : "h-12 w-12",
6391
6965
  item.accentClass ?? "bg-muted text-muted-foreground"
@@ -6396,7 +6970,7 @@ function MarketplaceCard({
6396
6970
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
6397
6971
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
6398
6972
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
6399
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn44("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
6973
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn56("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
6400
6974
  item.description && !compact && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
6401
6975
  ] }),
6402
6976
  item.price && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
@@ -6413,13 +6987,13 @@ function MarketplaceCard({
6413
6987
  ] })
6414
6988
  ] })
6415
6989
  ] }),
6416
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn44("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
6990
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn56("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
6417
6991
  onPreview && /* @__PURE__ */ jsxRuntime.jsx(
6418
6992
  "button",
6419
6993
  {
6420
6994
  type: "button",
6421
6995
  onClick: () => onPreview(item.id),
6422
- className: cn44(
6996
+ className: cn56(
6423
6997
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
6424
6998
  "bg-background px-3 text-xs font-medium text-foreground",
6425
6999
  "hover:bg-accent hover:text-accent-foreground",
@@ -6433,7 +7007,7 @@ function MarketplaceCard({
6433
7007
  {
6434
7008
  type: "button",
6435
7009
  onClick: () => onUninstall(item.id),
6436
- className: cn44(
7010
+ className: cn56(
6437
7011
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
6438
7012
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
6439
7013
  "hover:bg-secondary/80",
@@ -6446,7 +7020,7 @@ function MarketplaceCard({
6446
7020
  {
6447
7021
  type: "button",
6448
7022
  onClick: () => onInstall(item.id),
6449
- className: cn44(
7023
+ className: cn56(
6450
7024
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
6451
7025
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
6452
7026
  "hover:bg-primary/90",
@@ -6508,7 +7082,7 @@ function MarketplaceListDesktop(props) {
6508
7082
  value: query,
6509
7083
  onChange: (e) => setQuery(e.target.value),
6510
7084
  placeholder: searchPlaceholder,
6511
- className: cn44(
7085
+ className: cn56(
6512
7086
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6513
7087
  "text-sm placeholder:text-muted-foreground",
6514
7088
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6581,7 +7155,7 @@ function MarketplaceListMobile(props) {
6581
7155
  value: query,
6582
7156
  onChange: (e) => setQuery(e.target.value),
6583
7157
  placeholder: searchPlaceholder,
6584
- className: cn44(
7158
+ className: cn56(
6585
7159
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6586
7160
  "text-sm placeholder:text-muted-foreground",
6587
7161
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6632,7 +7206,7 @@ function MosaicMarketplaceList(props) {
6632
7206
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListDesktop, { ...props });
6633
7207
  }
6634
7208
  MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
6635
- function cn45(...classes) {
7209
+ function cn57(...classes) {
6636
7210
  return classes.filter(Boolean).join(" ");
6637
7211
  }
6638
7212
  function StarIcon2() {
@@ -6751,7 +7325,7 @@ function MosaicTemplateCard({
6751
7325
  type: "button",
6752
7326
  onClick: () => onSelect(template),
6753
7327
  "data-slot": "template-card",
6754
- className: cn45(
7328
+ className: cn57(
6755
7329
  "w-full text-left rounded-lg border transition-all duration-200",
6756
7330
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
6757
7331
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
@@ -6851,7 +7425,7 @@ function MosaicTemplatePreview({
6851
7425
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
6852
7426
  "span",
6853
7427
  {
6854
- className: cn45("h-2 w-2 rounded-full", agent.accentColor),
7428
+ className: cn57("h-2 w-2 rounded-full", agent.accentColor),
6855
7429
  "aria-hidden": "true"
6856
7430
  }
6857
7431
  ),
@@ -6911,7 +7485,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
6911
7485
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
6912
7486
  "span",
6913
7487
  {
6914
- className: cn45("h-2.5 w-2.5 rounded-full", agent.accentColor),
7488
+ className: cn57("h-2.5 w-2.5 rounded-full", agent.accentColor),
6915
7489
  "aria-hidden": "true"
6916
7490
  }
6917
7491
  ),
@@ -6935,7 +7509,7 @@ function MosaicQuickStartPanel({
6935
7509
  scratchLabel = "Start from Scratch",
6936
7510
  className
6937
7511
  }) {
6938
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn45("flex flex-col gap-6", className), children: [
7512
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn57("flex flex-col gap-6", className), children: [
6939
7513
  scenarios.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
6940
7514
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
6941
7515
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -6943,7 +7517,7 @@ function MosaicQuickStartPanel({
6943
7517
  {
6944
7518
  type: "button",
6945
7519
  onClick: () => onSelectScenario(scenario),
6946
- className: cn45(
7520
+ className: cn57(
6947
7521
  "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
6948
7522
  "hover:border-primary/50 hover:bg-primary/5",
6949
7523
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6975,7 +7549,7 @@ function MosaicQuickStartPanel({
6975
7549
  {
6976
7550
  type: "button",
6977
7551
  onClick: () => onSelectPreset(preset),
6978
- className: cn45(
7552
+ className: cn57(
6979
7553
  "flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
6980
7554
  "hover:border-primary/50",
6981
7555
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6989,7 +7563,7 @@ function MosaicQuickStartPanel({
6989
7563
  a.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
6990
7564
  "span",
6991
7565
  {
6992
- className: cn45("h-2 w-2 rounded-full", a.accentColor),
7566
+ className: cn57("h-2 w-2 rounded-full", a.accentColor),
6993
7567
  "aria-hidden": "true"
6994
7568
  }
6995
7569
  ),
@@ -7007,7 +7581,7 @@ function MosaicQuickStartPanel({
7007
7581
  {
7008
7582
  type: "button",
7009
7583
  onClick: onStartFromScratch,
7010
- className: cn45(
7584
+ className: cn57(
7011
7585
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
7012
7586
  "bg-background px-4 text-sm font-medium text-foreground",
7013
7587
  "hover:bg-accent hover:text-accent-foreground",
@@ -7087,7 +7661,7 @@ function TemplateGalleryContent({
7087
7661
  value: query,
7088
7662
  onChange: (e) => setQuery(e.target.value),
7089
7663
  placeholder: searchPlaceholder,
7090
- className: cn45(
7664
+ className: cn57(
7091
7665
  "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"
7092
7666
  )
7093
7667
  }
@@ -7135,7 +7709,7 @@ function TemplateGalleryContent({
7135
7709
  value: query,
7136
7710
  onChange: (e) => setQuery(e.target.value),
7137
7711
  placeholder: searchPlaceholder,
7138
- className: cn45(
7712
+ className: cn57(
7139
7713
  "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"
7140
7714
  )
7141
7715
  }
@@ -7165,7 +7739,7 @@ function MosaicTemplateGallery(props) {
7165
7739
  return /* @__PURE__ */ jsxRuntime.jsx(TemplateGalleryContent, { ...props, isMobile });
7166
7740
  }
7167
7741
  MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
7168
- function cn46(...classes) {
7742
+ function cn58(...classes) {
7169
7743
  return classes.filter(Boolean).join(" ");
7170
7744
  }
7171
7745
  function PlusIcon5() {
@@ -7309,7 +7883,7 @@ function MosaicModuleForm({
7309
7883
  onChange: (e) => update("name", e.target.value),
7310
7884
  placeholder: "Module name\u2026",
7311
7885
  required: true,
7312
- className: cn46(
7886
+ className: cn58(
7313
7887
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7314
7888
  "text-sm placeholder:text-muted-foreground",
7315
7889
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7327,7 +7901,7 @@ function MosaicModuleForm({
7327
7901
  onChange: (e) => update("description", e.target.value),
7328
7902
  placeholder: "Describe this module\u2026",
7329
7903
  rows: 3,
7330
- className: cn46(
7904
+ className: cn58(
7331
7905
  "w-full rounded-md border border-input bg-background px-3 py-2",
7332
7906
  "text-sm placeholder:text-muted-foreground resize-none",
7333
7907
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7349,7 +7923,7 @@ function MosaicModuleForm({
7349
7923
  value: formData[field.id] ?? "",
7350
7924
  onChange: (e) => update(field.id, e.target.value),
7351
7925
  placeholder: field.placeholder,
7352
- className: cn46(
7926
+ className: cn58(
7353
7927
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7354
7928
  "text-sm placeholder:text-muted-foreground",
7355
7929
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7364,7 +7938,7 @@ function MosaicModuleForm({
7364
7938
  onChange: (e) => update(field.id, e.target.value),
7365
7939
  placeholder: field.placeholder,
7366
7940
  rows: 3,
7367
- className: cn46(
7941
+ className: cn58(
7368
7942
  "w-full rounded-md border border-input bg-background px-3 py-2",
7369
7943
  "text-sm placeholder:text-muted-foreground resize-none",
7370
7944
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7380,7 +7954,7 @@ function MosaicModuleForm({
7380
7954
  onChange: (e) => update(field.id, e.target.value),
7381
7955
  placeholder: field.placeholder ?? "\u{1F9E0}",
7382
7956
  maxLength: 4,
7383
- className: cn46(
7957
+ className: cn58(
7384
7958
  "w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
7385
7959
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7386
7960
  )
@@ -7401,7 +7975,7 @@ function MosaicModuleForm({
7401
7975
  }
7402
7976
  },
7403
7977
  placeholder: field.placeholder ?? "Add item\u2026",
7404
- className: cn46(
7978
+ className: cn58(
7405
7979
  "flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
7406
7980
  "text-sm placeholder:text-muted-foreground",
7407
7981
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7597,7 +8171,7 @@ function LibraryContent({
7597
8171
  {
7598
8172
  type: "button",
7599
8173
  onClick: openCreate,
7600
- className: cn46(
8174
+ className: cn58(
7601
8175
  "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
7602
8176
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7603
8177
  ),
@@ -7617,7 +8191,7 @@ function LibraryContent({
7617
8191
  value: query,
7618
8192
  onChange: (e) => setQuery(e.target.value),
7619
8193
  placeholder: searchPlaceholder,
7620
- className: cn46(
8194
+ className: cn58(
7621
8195
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7622
8196
  "text-sm placeholder:text-muted-foreground",
7623
8197
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7630,7 +8204,7 @@ function LibraryContent({
7630
8204
  {
7631
8205
  type: "button",
7632
8206
  onClick: () => setActiveTab(tab.id),
7633
- className: cn46(
8207
+ className: cn58(
7634
8208
  "rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
7635
8209
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
7636
8210
  ),
@@ -7664,7 +8238,7 @@ function MosaicModuleLibrary(props) {
7664
8238
  return /* @__PURE__ */ jsxRuntime.jsx(LibraryContent, { ...props });
7665
8239
  }
7666
8240
  MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
7667
- function cn47(...classes) {
8241
+ function cn59(...classes) {
7668
8242
  return classes.filter(Boolean).join(" ");
7669
8243
  }
7670
8244
  var roleConfig = {
@@ -7691,7 +8265,7 @@ function MosaicOrgRoleBadge({ role, className }) {
7691
8265
  {
7692
8266
  "data-slot": "org-role-badge",
7693
8267
  title: config.description,
7694
- className: cn47(
8268
+ className: cn59(
7695
8269
  "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
7696
8270
  config.className,
7697
8271
  className
@@ -7708,13 +8282,13 @@ function MosaicMultiOrgIndicator({
7708
8282
  className
7709
8283
  }) {
7710
8284
  if (orgCount <= 1) return null;
7711
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn47("flex items-center gap-2", className), children: [
8285
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn59("flex items-center gap-2", className), children: [
7712
8286
  onSwitchOrg ? /* @__PURE__ */ jsxRuntime.jsxs(
7713
8287
  "button",
7714
8288
  {
7715
8289
  type: "button",
7716
8290
  onClick: onSwitchOrg,
7717
- className: cn47(
8291
+ className: cn59(
7718
8292
  "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
7719
8293
  "hover:bg-secondary/80",
7720
8294
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7812,7 +8386,7 @@ function MosaicCreateOrgDialog({
7812
8386
  onChange: (e) => setName(e.target.value),
7813
8387
  placeholder: "Acme Inc.",
7814
8388
  required: true,
7815
- className: cn47(
8389
+ className: cn59(
7816
8390
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7817
8391
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7818
8392
  errors.name ? "border-destructive" : "border-input"
@@ -7832,7 +8406,7 @@ function MosaicCreateOrgDialog({
7832
8406
  onChange: (e) => setSlug(e.target.value),
7833
8407
  placeholder: "acme-inc",
7834
8408
  required: true,
7835
- className: cn47(
8409
+ className: cn59(
7836
8410
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7837
8411
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7838
8412
  errors.slug ? "border-destructive" : "border-input"
@@ -7929,7 +8503,7 @@ function MosaicInviteMemberDialog({
7929
8503
  onChange: (e) => setEmail(e.target.value),
7930
8504
  placeholder: "colleague@example.com",
7931
8505
  required: true,
7932
- className: cn47(
8506
+ className: cn59(
7933
8507
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
7934
8508
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7935
8509
  errors.email ? "border-destructive" : "border-input"
@@ -8106,7 +8680,7 @@ function MosaicMemberList({
8106
8680
  const filtered = members.filter(
8107
8681
  (m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
8108
8682
  );
8109
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn47("flex flex-col gap-4", className), children: [
8683
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn59("flex flex-col gap-4", className), children: [
8110
8684
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
8111
8685
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1", children: [
8112
8686
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -8199,7 +8773,7 @@ function MosaicOrgPanel({
8199
8773
  const { isMobile } = useDevice();
8200
8774
  const [activeTab, setActiveTab] = React27__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
8201
8775
  const activeContent = tabs.find((t) => t.id === activeTab)?.content;
8202
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn47("flex h-full flex-col", className), children: [
8776
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn59("flex h-full flex-col", className), children: [
8203
8777
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
8204
8778
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
8205
8779
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -8221,12 +8795,12 @@ function MosaicOrgPanel({
8221
8795
  ] }),
8222
8796
  headerActions
8223
8797
  ] }),
8224
- tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn47("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
8798
+ tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn59("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
8225
8799
  "button",
8226
8800
  {
8227
8801
  type: "button",
8228
8802
  onClick: () => setActiveTab(tab.id),
8229
- className: cn47(
8803
+ className: cn59(
8230
8804
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
8231
8805
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8232
8806
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
@@ -8240,7 +8814,7 @@ function MosaicOrgPanel({
8240
8814
  ] });
8241
8815
  }
8242
8816
  MosaicOrgPanel.displayName = "MosaicOrgPanel";
8243
- function cn48(...classes) {
8817
+ function cn60(...classes) {
8244
8818
  return classes.filter(Boolean).join(" ");
8245
8819
  }
8246
8820
  var ANIM_ID8 = "mosaic-dashboard-content-kf";
@@ -8277,7 +8851,7 @@ function MosaicDashboardContent({
8277
8851
  "div",
8278
8852
  {
8279
8853
  "data-slot": "dashboard-content",
8280
- className: cn48("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8854
+ className: cn60("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8281
8855
  children: activeView ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
8282
8856
  "View not found: ",
8283
8857
  currentView
@@ -8286,7 +8860,7 @@ function MosaicDashboardContent({
8286
8860
  );
8287
8861
  }
8288
8862
  MosaicDashboardContent.displayName = "MosaicDashboardContent";
8289
- function cn49(...classes) {
8863
+ function cn61(...classes) {
8290
8864
  return classes.filter(Boolean).join(" ");
8291
8865
  }
8292
8866
  var ANIM_ID9 = "mosaic-dashboard-header2-kf";
@@ -8396,16 +8970,16 @@ function MosaicDashboardHeader({
8396
8970
  "header",
8397
8971
  {
8398
8972
  "data-slot": "dashboard-header",
8399
- className: cn49(
8973
+ className: cn61(
8400
8974
  "mosaic-dashboard-header2",
8401
8975
  "sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
8402
8976
  className
8403
8977
  ),
8404
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn49(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
8978
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn61(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
8405
8979
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
8406
8980
  logoSlot ?? /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon4, {}),
8407
8981
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
8408
- /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn49("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
8982
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn61("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
8409
8983
  subtitle && !isMobile && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
8410
8984
  ] })
8411
8985
  ] }) }),
@@ -8418,7 +8992,7 @@ function MosaicDashboardHeader({
8418
8992
  value: searchQuery,
8419
8993
  onChange: handleSearch,
8420
8994
  placeholder: "Search\u2026",
8421
- className: cn49(
8995
+ className: cn61(
8422
8996
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8423
8997
  "text-sm placeholder:text-muted-foreground",
8424
8998
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8458,7 +9032,7 @@ function MosaicDashboardHeader({
8458
9032
  );
8459
9033
  }
8460
9034
  MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
8461
- function cn50(...classes) {
9035
+ function cn62(...classes) {
8462
9036
  return classes.filter(Boolean).join(" ");
8463
9037
  }
8464
9038
  function ChevronDownIcon4() {
@@ -8539,13 +9113,13 @@ function MosaicOrgSwitcher({
8539
9113
  }, [open]);
8540
9114
  if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
8541
9115
  const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
8542
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn50("relative", className), children: [
9116
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn62("relative", className), children: [
8543
9117
  /* @__PURE__ */ jsxRuntime.jsxs(
8544
9118
  "button",
8545
9119
  {
8546
9120
  type: "button",
8547
9121
  onClick: () => setOpen((v) => !v),
8548
- className: cn50(
9122
+ className: cn62(
8549
9123
  "inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
8550
9124
  "text-sm font-medium text-foreground",
8551
9125
  "hover:bg-accent hover:text-accent-foreground",
@@ -8572,7 +9146,7 @@ function MosaicOrgSwitcher({
8572
9146
  {
8573
9147
  role: "menu",
8574
9148
  "aria-label": "Select organization",
8575
- className: cn50(
9149
+ className: cn62(
8576
9150
  "absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
8577
9151
  "bg-popover py-1 shadow-md"
8578
9152
  ),
@@ -8587,7 +9161,7 @@ function MosaicOrgSwitcher({
8587
9161
  onSelectOrg?.(org.id);
8588
9162
  setOpen(false);
8589
9163
  },
8590
- className: cn50(
9164
+ className: cn62(
8591
9165
  "flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
8592
9166
  "hover:bg-accent hover:text-accent-foreground",
8593
9167
  org.id === currentOrgId && "bg-primary/10 text-primary"
@@ -8624,7 +9198,7 @@ function MosaicOrgSwitcher({
8624
9198
  ] });
8625
9199
  }
8626
9200
  MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
8627
- function cn51(...classes) {
9201
+ function cn63(...classes) {
8628
9202
  return classes.filter(Boolean).join(" ");
8629
9203
  }
8630
9204
  function PlusIcon7() {
@@ -8668,19 +9242,19 @@ function MosaicQuickActionsMenu({
8668
9242
  document.addEventListener("mousedown", h);
8669
9243
  return () => document.removeEventListener("mousedown", h);
8670
9244
  }, [open]);
8671
- const itemClass = cn51(
9245
+ const itemClass = cn63(
8672
9246
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
8673
9247
  "hover:bg-accent hover:text-accent-foreground",
8674
9248
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
8675
9249
  "min-h-[44px]"
8676
9250
  );
8677
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn51("relative", className), children: [
9251
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn63("relative", className), children: [
8678
9252
  /* @__PURE__ */ jsxRuntime.jsxs(
8679
9253
  "button",
8680
9254
  {
8681
9255
  type: "button",
8682
9256
  onClick: () => setOpen((v) => !v),
8683
- className: cn51(
9257
+ className: cn63(
8684
9258
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
8685
9259
  "min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
8686
9260
  "hover:bg-accent hover:text-accent-foreground",
@@ -8691,7 +9265,7 @@ function MosaicQuickActionsMenu({
8691
9265
  "aria-label": label,
8692
9266
  children: [
8693
9267
  triggerIcon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon7, {}),
8694
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn51("hidden md:inline"), children: label })
9268
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn63("hidden md:inline"), children: label })
8695
9269
  ]
8696
9270
  }
8697
9271
  ),
@@ -8700,13 +9274,13 @@ function MosaicQuickActionsMenu({
8700
9274
  {
8701
9275
  role: "menu",
8702
9276
  "aria-label": menuTitle,
8703
- className: cn51(
9277
+ className: cn63(
8704
9278
  "absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
8705
9279
  isMobile ? "w-[min(90vw,280px)]" : "w-56"
8706
9280
  ),
8707
9281
  children: [
8708
9282
  menuTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
8709
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn51(menuTitle && "border-t border-border") }),
9283
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn63(menuTitle && "border-t border-border") }),
8710
9284
  actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React27__namespace.Fragment, { children: [
8711
9285
  action.separator && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 border-t border-border" }),
8712
9286
  action.href && renderLink ? renderLink(
@@ -9132,6 +9706,18 @@ async function MosaicClerkWebhookHandler(req, options) {
9132
9706
  return new Response("OK", { status: 200 });
9133
9707
  }
9134
9708
 
9709
+ Object.defineProperty(exports, "Accordion", {
9710
+ enumerable: true,
9711
+ get: function () { return accordion.Accordion; }
9712
+ });
9713
+ Object.defineProperty(exports, "Tooltip", {
9714
+ enumerable: true,
9715
+ get: function () { return tooltip.Tooltip; }
9716
+ });
9717
+ exports.MosaicAccordion = MosaicAccordion;
9718
+ exports.MosaicAccordionItem = MosaicAccordionItem;
9719
+ exports.MosaicAccordionPanel = MosaicAccordionPanel;
9720
+ exports.MosaicAccordionTrigger = MosaicAccordionTrigger;
9135
9721
  exports.MosaicActivityFeed = MosaicActivityFeed;
9136
9722
  exports.MosaicActivityItem = MosaicActivityItem;
9137
9723
  exports.MosaicAdaptiveGrid = MosaicAdaptiveGrid;
@@ -9157,8 +9743,12 @@ exports.MosaicCardDescription = MosaicCardDescription;
9157
9743
  exports.MosaicCardFooter = MosaicCardFooter;
9158
9744
  exports.MosaicCardHeader = MosaicCardHeader;
9159
9745
  exports.MosaicCardTitle = MosaicCardTitle;
9746
+ exports.MosaicCheckbox = MosaicCheckbox;
9160
9747
  exports.MosaicClerkOrgSwitcher = MosaicClerkOrgSwitcher;
9161
9748
  exports.MosaicClerkWebhookHandler = MosaicClerkWebhookHandler;
9749
+ exports.MosaicCollapsible = MosaicCollapsible;
9750
+ exports.MosaicCollapsiblePanel = MosaicCollapsiblePanel;
9751
+ exports.MosaicCollapsibleTrigger = MosaicCollapsibleTrigger;
9162
9752
  exports.MosaicCombobox = MosaicCombobox;
9163
9753
  exports.MosaicCounter = MosaicCounter;
9164
9754
  exports.MosaicCreateOrgDialog = MosaicCreateOrgDialog;
@@ -9168,6 +9758,7 @@ exports.MosaicDashboardLayout = MosaicDashboardLayout;
9168
9758
  exports.MosaicDeleteConfirmationDialog = MosaicDeleteConfirmationDialog;
9169
9759
  exports.MosaicDeviceProvider = MosaicDeviceProvider;
9170
9760
  exports.MosaicDropdownMenu = MosaicDropdownMenu;
9761
+ exports.MosaicEmptyState = MosaicEmptyState;
9171
9762
  exports.MosaicFallingPattern = MosaicFallingPattern;
9172
9763
  exports.MosaicFeature3Col = MosaicFeature3Col;
9173
9764
  exports.MosaicFeatureCenteredMedia = MosaicFeatureCenteredMedia;
@@ -9206,22 +9797,34 @@ exports.MosaicOrgSwitcher = MosaicOrgSwitcher;
9206
9797
  exports.MosaicPreferencesPanel = MosaicPreferencesPanel;
9207
9798
  exports.MosaicPricingCard = MosaicPricingCard;
9208
9799
  exports.MosaicProfilePanel = MosaicProfilePanel;
9800
+ exports.MosaicProgress = MosaicProgress;
9209
9801
  exports.MosaicQuickActionCard = MosaicQuickActionCard;
9210
9802
  exports.MosaicQuickActionsMenu = MosaicQuickActionsMenu;
9211
9803
  exports.MosaicQuickAgentSelector = MosaicQuickAgentSelector;
9212
9804
  exports.MosaicQuickStartPanel = MosaicQuickStartPanel;
9805
+ exports.MosaicRadioGroup = MosaicRadioGroup;
9806
+ exports.MosaicRadioGroupItem = MosaicRadioGroupItem;
9807
+ exports.MosaicScrollArea = MosaicScrollArea;
9213
9808
  exports.MosaicSelect = MosaicSelect;
9214
9809
  exports.MosaicSelectorModal = MosaicSelectorModal;
9810
+ exports.MosaicSeparator = MosaicSeparator;
9215
9811
  exports.MosaicSignInLayout = MosaicSignInLayout;
9216
9812
  exports.MosaicSignUpLayout = MosaicSignUpLayout;
9813
+ exports.MosaicSlider = MosaicSlider;
9217
9814
  exports.MosaicStatsGrid = MosaicStatsGrid;
9218
9815
  exports.MosaicSwitch = MosaicSwitch;
9816
+ exports.MosaicTabs = MosaicTabs;
9817
+ exports.MosaicTabsList = MosaicTabsList;
9818
+ exports.MosaicTabsPanel = MosaicTabsPanel;
9819
+ exports.MosaicTabsTrigger = MosaicTabsTrigger;
9219
9820
  exports.MosaicTemplateCard = MosaicTemplateCard;
9220
9821
  exports.MosaicTemplateGallery = MosaicTemplateGallery;
9221
9822
  exports.MosaicTemplatePreview = MosaicTemplatePreview;
9222
9823
  exports.MosaicTestimonialsGrid = MosaicTestimonialsGrid;
9824
+ exports.MosaicTextarea = MosaicTextarea;
9223
9825
  exports.MosaicThemeProvider = MosaicThemeProvider;
9224
9826
  exports.MosaicThemeToggle = MosaicThemeToggle;
9827
+ exports.MosaicTooltip = MosaicTooltip;
9225
9828
  exports.MosaicUserButton = MosaicUserButton;
9226
9829
  exports.Placeholder = Placeholder;
9227
9830
  exports.badgeVariants = badgeVariants;