@ai-matrx/design-system 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1053,22 +1053,36 @@ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1053
1053
 
1054
1054
  // src/collapsible.tsx
1055
1055
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
1056
+ import * as React11 from "react";
1057
+ import { jsx as jsx14 } from "react/jsx-runtime";
1056
1058
  var Collapsible = CollapsiblePrimitive.Root;
1057
1059
  var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
1058
- var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
1060
+ var CollapsibleContent2 = React11.forwardRef(({ className, animated = true, ...props }, ref) => /* @__PURE__ */ jsx14(
1061
+ CollapsiblePrimitive.CollapsibleContent,
1062
+ {
1063
+ ref,
1064
+ "data-slot": "collapsible-content",
1065
+ className: cn(
1066
+ animated && "matrx-collapsible-content overflow-hidden",
1067
+ className
1068
+ ),
1069
+ ...props
1070
+ }
1071
+ ));
1072
+ CollapsibleContent2.displayName = "CollapsibleContent";
1059
1073
 
1060
1074
  // src/command.tsx
1061
1075
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1062
1076
  import { Command as CommandPrimitive } from "cmdk";
1063
- import * as React12 from "react";
1077
+ import * as React13 from "react";
1064
1078
 
1065
1079
  // src/use-is-mobile.ts
1066
- import * as React11 from "react";
1080
+ import * as React12 from "react";
1067
1081
  var MOBILE_BREAKPOINT = 768;
1068
1082
  function useIsMobile() {
1069
- const [isMobile, setIsMobile] = React11.useState(false);
1070
- const [hasMounted, setHasMounted] = React11.useState(false);
1071
- React11.useEffect(() => {
1083
+ const [isMobile, setIsMobile] = React12.useState(false);
1084
+ const [hasMounted, setHasMounted] = React12.useState(false);
1085
+ React12.useEffect(() => {
1072
1086
  setHasMounted(true);
1073
1087
  const onChange = () => {
1074
1088
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1088,8 +1102,8 @@ function useIsMobile() {
1088
1102
  }
1089
1103
 
1090
1104
  // src/command.tsx
1091
- import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
1092
- var Command = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1105
+ import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
1106
+ var Command = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1093
1107
  CommandPrimitive,
1094
1108
  {
1095
1109
  ref,
@@ -1104,12 +1118,12 @@ Command.displayName = CommandPrimitive.displayName;
1104
1118
  var DIALOG_DESKTOP_CLASSES = "fixed left-[50%] top-[50%] z-[10000] grid min-w-0 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 overflow-x-clip border bg-background p-6 shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg";
1105
1119
  var DIALOG_MOBILE_SHEET_CLASSES = "fixed inset-x-0 bottom-0 left-0 right-0 top-auto z-[10000] flex min-w-0 flex-col w-full max-w-full max-h-[90dvh] translate-x-0 translate-y-0 gap-4 overflow-x-clip border-t bg-background p-4 pb-safe shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full duration-200 rounded-t-2xl rounded-b-none overflow-y-auto overscroll-contain data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom";
1106
1120
  var DIALOG_MOBILE_SHEET_OVERRIDE = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-x-0 translate-y-0 w-full max-w-full max-h-[90dvh] rounded-b-none rounded-t-2xl overflow-y-auto";
1107
- var CommandDialogContent = React12.forwardRef(({ className, children, container, ...props }, ref) => {
1121
+ var CommandDialogContent = React13.forwardRef(({ className, children, container, ...props }, ref) => {
1108
1122
  const isMobile = useIsMobile();
1109
1123
  const isModal = useRadixDialogModal();
1110
1124
  const portalContainer = usePortalContainer(container);
1111
1125
  return /* @__PURE__ */ jsxs6(DialogPrimitive.Portal, { container: portalContainer, children: [
1112
- isModal ? /* @__PURE__ */ jsx14(
1126
+ isModal ? /* @__PURE__ */ jsx15(
1113
1127
  DialogPrimitive.Overlay,
1114
1128
  {
1115
1129
  className: "fixed inset-0 z-[10000] bg-[var(--matrx-overlay-scrim-soft)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
@@ -1131,8 +1145,8 @@ var CommandDialogContent = React12.forwardRef(({ className, children, container,
1131
1145
  children: [
1132
1146
  children,
1133
1147
  /* @__PURE__ */ jsxs6(DialogPrimitive.Close, { className: "absolute right-2 top-4 flex h-10 w-10 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground sm:right-4", children: [
1134
- /* @__PURE__ */ jsx14(XIcon, { className: "h-4 w-4" }),
1135
- /* @__PURE__ */ jsx14("span", { className: "sr-only", children: "Close" })
1148
+ /* @__PURE__ */ jsx15(XIcon, { className: "h-4 w-4" }),
1149
+ /* @__PURE__ */ jsx15("span", { className: "sr-only", children: "Close" })
1136
1150
  ] })
1137
1151
  ]
1138
1152
  }
@@ -1146,21 +1160,21 @@ var CommandDialog = ({
1146
1160
  ...props
1147
1161
  }) => {
1148
1162
  const modal = props.modal ?? true;
1149
- return /* @__PURE__ */ jsx14(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx14(DialogPrimitive.Root, { ...props, modal, children: /* @__PURE__ */ jsxs6(
1163
+ return /* @__PURE__ */ jsx15(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx15(DialogPrimitive.Root, { ...props, modal, children: /* @__PURE__ */ jsxs6(
1150
1164
  CommandDialogContent,
1151
1165
  {
1152
1166
  className: "overflow-hidden p-0",
1153
1167
  ...container !== void 0 ? { container } : {},
1154
1168
  children: [
1155
- /* @__PURE__ */ jsx14(DialogPrimitive.Title, { className: "sr-only" }),
1156
- /* @__PURE__ */ jsx14(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
1169
+ /* @__PURE__ */ jsx15(DialogPrimitive.Title, { className: "sr-only" }),
1170
+ /* @__PURE__ */ jsx15(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
1157
1171
  ]
1158
1172
  }
1159
1173
  ) }) });
1160
1174
  };
1161
- var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs6("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1162
- /* @__PURE__ */ jsx14(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1163
- /* @__PURE__ */ jsx14(
1175
+ var CommandInput = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs6("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1176
+ /* @__PURE__ */ jsx15(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1177
+ /* @__PURE__ */ jsx15(
1164
1178
  CommandPrimitive.Input,
1165
1179
  {
1166
1180
  ref,
@@ -1173,7 +1187,7 @@ var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1173
1187
  )
1174
1188
  ] }));
1175
1189
  CommandInput.displayName = CommandPrimitive.Input.displayName;
1176
- var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1190
+ var CommandList = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1177
1191
  CommandPrimitive.List,
1178
1192
  {
1179
1193
  ref,
@@ -1182,7 +1196,7 @@ var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
1182
1196
  }
1183
1197
  ));
1184
1198
  CommandList.displayName = CommandPrimitive.List.displayName;
1185
- var CommandEmpty = React12.forwardRef((props, ref) => /* @__PURE__ */ jsx14(
1199
+ var CommandEmpty = React13.forwardRef((props, ref) => /* @__PURE__ */ jsx15(
1186
1200
  CommandPrimitive.Empty,
1187
1201
  {
1188
1202
  ref,
@@ -1191,7 +1205,7 @@ var CommandEmpty = React12.forwardRef((props, ref) => /* @__PURE__ */ jsx14(
1191
1205
  }
1192
1206
  ));
1193
1207
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
1194
- var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1208
+ var CommandGroup = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1195
1209
  CommandPrimitive.Group,
1196
1210
  {
1197
1211
  ref,
@@ -1203,7 +1217,7 @@ var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1203
1217
  }
1204
1218
  ));
1205
1219
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
1206
- var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1220
+ var CommandSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1207
1221
  CommandPrimitive.Separator,
1208
1222
  {
1209
1223
  ref,
@@ -1212,7 +1226,7 @@ var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @
1212
1226
  }
1213
1227
  ));
1214
1228
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
1215
- var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1229
+ var CommandItem = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1216
1230
  CommandPrimitive.Item,
1217
1231
  {
1218
1232
  ref,
@@ -1228,7 +1242,7 @@ var CommandShortcut = ({
1228
1242
  className,
1229
1243
  ...props
1230
1244
  }) => {
1231
- return /* @__PURE__ */ jsx14(
1245
+ return /* @__PURE__ */ jsx15(
1232
1246
  "span",
1233
1247
  {
1234
1248
  className: cn(
@@ -1243,8 +1257,8 @@ CommandShortcut.displayName = "CommandShortcut";
1243
1257
 
1244
1258
  // src/context-menu.tsx
1245
1259
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1246
- import * as React13 from "react";
1247
- import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
1260
+ import * as React14 from "react";
1261
+ import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
1248
1262
  var ContextMenu = ContextMenuPrimitive.Root;
1249
1263
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
1250
1264
  var ContextMenuGroup = ContextMenuPrimitive.Group;
@@ -1255,7 +1269,7 @@ var SURFACE_CLASS = "z-50 min-w-[8rem] max-h-[var(--radix-context-menu-content-a
1255
1269
  var MOTION_CLASS = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2";
1256
1270
  var ITEM_CLASS = "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1257
1271
  var INDICATOR_ITEM_CLASS = "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1258
- var ContextMenuSubTrigger = React13.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1272
+ var ContextMenuSubTrigger = React14.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1259
1273
  ContextMenuPrimitive.SubTrigger,
1260
1274
  {
1261
1275
  ref,
@@ -1268,12 +1282,12 @@ var ContextMenuSubTrigger = React13.forwardRef(({ className, inset, children, ..
1268
1282
  ...props,
1269
1283
  children: [
1270
1284
  children,
1271
- /* @__PURE__ */ jsx15(RadixChevronRightIcon, { className: "ml-auto h-4 w-4" })
1285
+ /* @__PURE__ */ jsx16(RadixChevronRightIcon, { className: "ml-auto h-4 w-4" })
1272
1286
  ]
1273
1287
  }
1274
1288
  ));
1275
1289
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1276
- var ContextMenuSubContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1290
+ var ContextMenuSubContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
1277
1291
  ContextMenuPrimitive.SubContent,
1278
1292
  {
1279
1293
  ref,
@@ -1283,9 +1297,9 @@ var ContextMenuSubContent = React13.forwardRef(({ className, ...props }, ref) =>
1283
1297
  }
1284
1298
  ));
1285
1299
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1286
- var ContextMenuContent = React13.forwardRef(({ className, container, ...props }, ref) => {
1300
+ var ContextMenuContent = React14.forwardRef(({ className, container, ...props }, ref) => {
1287
1301
  const portalContainer = usePortalContainer(container);
1288
- return /* @__PURE__ */ jsx15(ContextMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx15(
1302
+ return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx16(
1289
1303
  ContextMenuPrimitive.Content,
1290
1304
  {
1291
1305
  ref,
@@ -1296,7 +1310,7 @@ var ContextMenuContent = React13.forwardRef(({ className, container, ...props },
1296
1310
  ) });
1297
1311
  });
1298
1312
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1299
- var ContextMenuItem = React13.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx15(
1313
+ var ContextMenuItem = React14.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx16(
1300
1314
  ContextMenuPrimitive.Item,
1301
1315
  {
1302
1316
  ref,
@@ -1311,7 +1325,7 @@ var ContextMenuItem = React13.forwardRef(({ className, inset, ...props }, ref) =
1311
1325
  }
1312
1326
  ));
1313
1327
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1314
- var ContextMenuCheckboxItem = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1328
+ var ContextMenuCheckboxItem = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1315
1329
  ContextMenuPrimitive.CheckboxItem,
1316
1330
  {
1317
1331
  ref,
@@ -1319,13 +1333,13 @@ var ContextMenuCheckboxItem = React13.forwardRef(({ className, children, ...prop
1319
1333
  className: cn(INDICATOR_ITEM_CLASS, className),
1320
1334
  ...props,
1321
1335
  children: [
1322
- /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(CheckIcon, { className: "h-4 w-4" }) }) }),
1336
+ /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(CheckIcon, { className: "h-4 w-4" }) }) }),
1323
1337
  children
1324
1338
  ]
1325
1339
  }
1326
1340
  ));
1327
1341
  ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1328
- var ContextMenuRadioItem = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1342
+ var ContextMenuRadioItem = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(
1329
1343
  ContextMenuPrimitive.RadioItem,
1330
1344
  {
1331
1345
  ref,
@@ -1333,13 +1347,13 @@ var ContextMenuRadioItem = React13.forwardRef(({ className, children, ...props }
1333
1347
  className: cn(INDICATOR_ITEM_CLASS, className),
1334
1348
  ...props,
1335
1349
  children: [
1336
- /* @__PURE__ */ jsx15("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx15(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
1350
+ /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
1337
1351
  children
1338
1352
  ]
1339
1353
  }
1340
1354
  ));
1341
1355
  ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1342
- var ContextMenuLabel = React13.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx15(
1356
+ var ContextMenuLabel = React14.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx16(
1343
1357
  ContextMenuPrimitive.Label,
1344
1358
  {
1345
1359
  ref,
@@ -1353,7 +1367,7 @@ var ContextMenuLabel = React13.forwardRef(({ className, inset, ...props }, ref)
1353
1367
  }
1354
1368
  ));
1355
1369
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1356
- var ContextMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1370
+ var ContextMenuSeparator = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
1357
1371
  ContextMenuPrimitive.Separator,
1358
1372
  {
1359
1373
  ref,
@@ -1366,7 +1380,7 @@ ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
1366
1380
  var ContextMenuShortcut = ({
1367
1381
  className,
1368
1382
  ...props
1369
- }) => /* @__PURE__ */ jsx15(
1383
+ }) => /* @__PURE__ */ jsx16(
1370
1384
  "span",
1371
1385
  {
1372
1386
  "data-slot": "context-menu-shortcut",
@@ -1384,15 +1398,15 @@ import {
1384
1398
 
1385
1399
  // src/popover.tsx
1386
1400
  import * as PopoverPrimitive from "@radix-ui/react-popover";
1387
- import * as React14 from "react";
1388
- import { jsx as jsx16 } from "react/jsx-runtime";
1401
+ import * as React15 from "react";
1402
+ import { jsx as jsx17 } from "react/jsx-runtime";
1389
1403
  var Popover = PopoverPrimitive.Root;
1390
1404
  var PopoverTrigger = PopoverPrimitive.Trigger;
1391
1405
  var PopoverAnchor = PopoverPrimitive.Anchor;
1392
- var PopoverContent = React14.forwardRef(
1406
+ var PopoverContent = React15.forwardRef(
1393
1407
  ({ className, align = "center", sideOffset = 4, container, ...props }, ref) => {
1394
1408
  const portalContainer = usePortalContainer(container);
1395
- return /* @__PURE__ */ jsx16(PopoverPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx16(
1409
+ return /* @__PURE__ */ jsx17(PopoverPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx17(
1396
1410
  PopoverPrimitive.Content,
1397
1411
  {
1398
1412
  ref,
@@ -1416,7 +1430,7 @@ var PopoverContent = React14.forwardRef(
1416
1430
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1417
1431
 
1418
1432
  // src/creatable-picker.tsx
1419
- import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
1433
+ import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
1420
1434
  function article(noun) {
1421
1435
  return /^[aeiou]/i.test(noun.trim()) ? `an ${noun}` : `a ${noun}`;
1422
1436
  }
@@ -1492,7 +1506,7 @@ function CreatablePicker({
1492
1506
  }
1493
1507
  };
1494
1508
  return /* @__PURE__ */ jsxs8(Popover, { open, onOpenChange: (next) => next ? setOpen(true) : close(), children: [
1495
- /* @__PURE__ */ jsx17(PopoverTrigger, { asChild: true, disabled, children: /* @__PURE__ */ jsxs8(
1509
+ /* @__PURE__ */ jsx18(PopoverTrigger, { asChild: true, disabled, children: /* @__PURE__ */ jsxs8(
1496
1510
  "button",
1497
1511
  {
1498
1512
  type: "button",
@@ -1506,12 +1520,12 @@ function CreatablePicker({
1506
1520
  triggerClassName
1507
1521
  ),
1508
1522
  children: [
1509
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 flex-1 truncate", children: selected ? renderSelected ?? selected.render ?? selected.label : /* @__PURE__ */ jsx17("span", { className: "text-muted-foreground", children: loading ? "Loading\u2026" : placeholder }) }),
1510
- /* @__PURE__ */ jsx17(ChevronsUpDownIcon, { className: "size-3.5 shrink-0 opacity-50" })
1523
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 flex-1 truncate", children: selected ? renderSelected ?? selected.render ?? selected.label : /* @__PURE__ */ jsx18("span", { className: "text-muted-foreground", children: loading ? "Loading\u2026" : placeholder }) }),
1524
+ /* @__PURE__ */ jsx18(ChevronsUpDownIcon, { className: "size-3.5 shrink-0 opacity-50" })
1511
1525
  ]
1512
1526
  }
1513
1527
  ) }),
1514
- /* @__PURE__ */ jsx17(PopoverContent, { align: "start", className: "w-[--radix-popover-trigger-width] min-w-56 p-0", children: /* @__PURE__ */ jsxs8(
1528
+ /* @__PURE__ */ jsx18(PopoverContent, { align: "start", className: "w-[--radix-popover-trigger-width] min-w-56 p-0", children: /* @__PURE__ */ jsxs8(
1515
1529
  Command,
1516
1530
  {
1517
1531
  filter: (itemValue, search, keywords) => {
@@ -1519,7 +1533,7 @@ function CreatablePicker({
1519
1533
  return haystack.includes(search.toLowerCase()) ? 1 : 0;
1520
1534
  },
1521
1535
  children: [
1522
- /* @__PURE__ */ jsx17(
1536
+ /* @__PURE__ */ jsx18(
1523
1537
  CommandInput,
1524
1538
  {
1525
1539
  ref: inputRef,
@@ -1532,8 +1546,8 @@ function CreatablePicker({
1532
1546
  }
1533
1547
  ),
1534
1548
  /* @__PURE__ */ jsxs8(CommandList, { children: [
1535
- /* @__PURE__ */ jsx17(CommandEmpty, { children: emptyLabel }),
1536
- groups.map((group) => /* @__PURE__ */ jsx17(
1549
+ /* @__PURE__ */ jsx18(CommandEmpty, { children: emptyLabel }),
1550
+ groups.map((group) => /* @__PURE__ */ jsx18(
1537
1551
  CommandGroup,
1538
1552
  {
1539
1553
  ...group.heading === void 0 ? {} : { heading: group.heading },
@@ -1548,7 +1562,7 @@ function CreatablePicker({
1548
1562
  },
1549
1563
  className: "gap-2 text-xs",
1550
1564
  children: [
1551
- /* @__PURE__ */ jsx17(
1565
+ /* @__PURE__ */ jsx18(
1552
1566
  LucideCheckIcon,
1553
1567
  {
1554
1568
  className: cn(
@@ -1557,8 +1571,8 @@ function CreatablePicker({
1557
1571
  )
1558
1572
  }
1559
1573
  ),
1560
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 flex-1 truncate", children: option.render ?? option.label }),
1561
- option.hint ? /* @__PURE__ */ jsx17("span", { className: "shrink-0 text-[10px] text-muted-foreground", children: option.hint }) : null
1574
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 flex-1 truncate", children: option.render ?? option.label }),
1575
+ option.hint ? /* @__PURE__ */ jsx18("span", { className: "shrink-0 text-[10px] text-muted-foreground", children: option.hint }) : null
1562
1576
  ]
1563
1577
  },
1564
1578
  option.value
@@ -1568,7 +1582,7 @@ function CreatablePicker({
1568
1582
  ))
1569
1583
  ] }),
1570
1584
  canCreate ? /* @__PURE__ */ jsxs8("div", { className: "space-y-1 border-t border-border p-1", children: [
1571
- createExtra && typed && !exactMatch ? /* @__PURE__ */ jsx17("div", { className: "px-1 pt-0.5", children: typeof createExtra === "function" ? createExtra(typed) : createExtra }) : null,
1585
+ createExtra && typed && !exactMatch ? /* @__PURE__ */ jsx18("div", { className: "px-1 pt-0.5", children: typeof createExtra === "function" ? createExtra(typed) : createExtra }) : null,
1572
1586
  /* @__PURE__ */ jsxs8(
1573
1587
  "button",
1574
1588
  {
@@ -1577,8 +1591,8 @@ function CreatablePicker({
1577
1591
  onClick: () => void create(typed),
1578
1592
  className: "flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-left text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50",
1579
1593
  children: [
1580
- busy ? /* @__PURE__ */ jsx17(Loader2Icon, { className: "size-3.5 shrink-0 animate-spin" }) : /* @__PURE__ */ jsx17(PlusIcon, { className: "size-3.5 shrink-0" }),
1581
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 truncate", children: typed && !exactMatch ? `Create \u201C${typed}\u201D` : `Add ${article(noun)}\u2026` })
1594
+ busy ? /* @__PURE__ */ jsx18(Loader2Icon, { className: "size-3.5 shrink-0 animate-spin" }) : /* @__PURE__ */ jsx18(PlusIcon, { className: "size-3.5 shrink-0" }),
1595
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 truncate", children: typed && !exactMatch ? `Create \u201C${typed}\u201D` : `Add ${article(noun)}\u2026` })
1582
1596
  ]
1583
1597
  }
1584
1598
  ),
@@ -1602,12 +1616,12 @@ function CreatablePicker({
1602
1616
  },
1603
1617
  className: "flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-left text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
1604
1618
  children: [
1605
- Icon2 ? /* @__PURE__ */ jsx17(Icon2, { className: "size-3.5 shrink-0" }) : null,
1606
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 truncate", children: action.label })
1619
+ Icon2 ? /* @__PURE__ */ jsx18(Icon2, { className: "size-3.5 shrink-0" }) : null,
1620
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 truncate", children: action.label })
1607
1621
  ]
1608
1622
  }
1609
1623
  ),
1610
- action.note ? /* @__PURE__ */ jsx17("p", { className: "px-2 pb-1 text-[10px] leading-snug text-muted-foreground", children: action.note }) : null
1624
+ action.note ? /* @__PURE__ */ jsx18("p", { className: "px-2 pb-1 text-[10px] leading-snug text-muted-foreground", children: action.note }) : null
1611
1625
  ] }, action.label);
1612
1626
  }),
1613
1627
  manageAction ? /* @__PURE__ */ jsxs8(
@@ -1619,16 +1633,16 @@ function CreatablePicker({
1619
1633
  onClick: close,
1620
1634
  className: "flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-left text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
1621
1635
  children: [
1622
- /* @__PURE__ */ jsx17(ExternalLinkIcon, { className: "size-3.5 shrink-0" }),
1623
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 truncate", children: manageAction.label })
1636
+ /* @__PURE__ */ jsx18(ExternalLinkIcon, { className: "size-3.5 shrink-0" }),
1637
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 truncate", children: manageAction.label })
1624
1638
  ]
1625
1639
  }
1626
1640
  ) : null
1627
1641
  ] }) : null,
1628
1642
  lockedNote ? /* @__PURE__ */ jsxs8("div", { className: "space-y-1 border-t border-border p-2", children: [
1629
1643
  /* @__PURE__ */ jsxs8("p", { className: "flex gap-1.5 text-[11px] leading-snug text-muted-foreground", children: [
1630
- /* @__PURE__ */ jsx17(LockIcon, { className: "mt-px size-3 shrink-0" }),
1631
- /* @__PURE__ */ jsx17("span", { children: lockedNote })
1644
+ /* @__PURE__ */ jsx18(LockIcon, { className: "mt-px size-3 shrink-0" }),
1645
+ /* @__PURE__ */ jsx18("span", { children: lockedNote })
1632
1646
  ] }),
1633
1647
  lockedAction ? /* @__PURE__ */ jsxs8(
1634
1648
  "button",
@@ -1640,8 +1654,8 @@ function CreatablePicker({
1640
1654
  },
1641
1655
  className: "flex w-full items-center gap-2 rounded-sm px-1 py-1 text-left text-xs font-medium text-primary transition-colors hover:bg-accent",
1642
1656
  children: [
1643
- /* @__PURE__ */ jsx17(PlusIcon, { className: "size-3.5 shrink-0" }),
1644
- /* @__PURE__ */ jsx17("span", { className: "min-w-0 truncate", children: lockedAction.label })
1657
+ /* @__PURE__ */ jsx18(PlusIcon, { className: "size-3.5 shrink-0" }),
1658
+ /* @__PURE__ */ jsx18("span", { className: "min-w-0 truncate", children: lockedAction.label })
1645
1659
  ]
1646
1660
  }
1647
1661
  ) : null
@@ -1656,14 +1670,14 @@ function CreatablePicker({
1656
1670
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
1657
1671
  import * as VisuallyHidden2 from "@radix-ui/react-visually-hidden";
1658
1672
  import { treeContainsComponent as treeContainsComponent3 } from "@ai-matrx/kit/react-tree";
1659
- import * as React15 from "react";
1660
- import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
1673
+ import * as React16 from "react";
1674
+ import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
1661
1675
  var Dialog = ({
1662
1676
  children,
1663
1677
  ...props
1664
1678
  }) => {
1665
1679
  const modal = props.modal ?? true;
1666
- return /* @__PURE__ */ jsx18(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx18(DialogPrimitive2.Root, { ...props, modal, children }) });
1680
+ return /* @__PURE__ */ jsx19(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx19(DialogPrimitive2.Root, { ...props, modal, children }) });
1667
1681
  };
1668
1682
  Dialog.displayName = "Dialog";
1669
1683
  var DialogTrigger = DialogPrimitive2.Trigger;
@@ -1673,12 +1687,12 @@ var DialogPortal = ({
1673
1687
  ...props
1674
1688
  }) => {
1675
1689
  const resolved = usePortalContainer(container);
1676
- return /* @__PURE__ */ jsx18(DialogPrimitive2.Portal, { container: resolved ?? null, ...props });
1690
+ return /* @__PURE__ */ jsx19(DialogPrimitive2.Portal, { container: resolved ?? null, ...props });
1677
1691
  };
1678
1692
  DialogPortal.displayName = "DialogPortal";
1679
- var DialogContainerContext = React15.createContext(null);
1680
- var useDialogContainer = () => React15.useContext(DialogContainerContext);
1681
- var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1693
+ var DialogContainerContext = React16.createContext(null);
1694
+ var useDialogContainer = () => React16.useContext(DialogContainerContext);
1695
+ var DialogOverlay = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1682
1696
  DialogPrimitive2.Overlay,
1683
1697
  {
1684
1698
  ref,
@@ -1693,9 +1707,9 @@ var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__P
1693
1707
  }
1694
1708
  ));
1695
1709
  DialogOverlay.displayName = DialogPrimitive2.Overlay.displayName;
1696
- var DialogContentPrimitive = React15.forwardRef((props, ref) => {
1710
+ var DialogContentPrimitive = React16.forwardRef((props, ref) => {
1697
1711
  const isModal = useRadixDialogModal();
1698
- return /* @__PURE__ */ jsx18(
1712
+ return /* @__PURE__ */ jsx19(
1699
1713
  DialogPrimitive2.Content,
1700
1714
  {
1701
1715
  ...props,
@@ -1708,7 +1722,7 @@ DialogContentPrimitive.displayName = "DialogContentPrimitive";
1708
1722
  var DIALOG_DESKTOP_CLASSES2 = "fixed left-[50%] top-[50%] z-[10000] grid min-w-0 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 max-h-[85dvh] overflow-y-auto overscroll-contain [--dialog-pad:1.5rem] overflow-x-clip border bg-background p-6 shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg";
1709
1723
  var DIALOG_MOBILE_SHEET_CLASSES2 = "matrx-mobile-sheet fixed inset-x-0 bottom-0 left-0 right-0 top-auto z-[10000] flex min-w-0 flex-col w-full max-w-full max-h-[90dvh] translate-x-0 translate-y-0 gap-4 [--dialog-pad:1rem] overflow-x-clip border-t bg-background p-4 pb-safe shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full duration-200 rounded-t-2xl rounded-b-none overflow-y-auto overscroll-contain data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom";
1710
1724
  var DIALOG_MOBILE_SHEET_OVERRIDE2 = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-x-0 translate-y-0 w-full max-w-full max-h-[90dvh] rounded-b-none rounded-t-2xl overflow-y-auto";
1711
- var DialogContent = React15.forwardRef(
1725
+ var DialogContent = React16.forwardRef(
1712
1726
  ({
1713
1727
  className,
1714
1728
  children,
@@ -1721,10 +1735,10 @@ var DialogContent = React15.forwardRef(
1721
1735
  const isModal = useRadixDialogModal();
1722
1736
  const injectedContainer = usePortalContainer(container);
1723
1737
  const asSheet = mobileSheet && isMobile;
1724
- const [containerEl, setContainerEl] = React15.useState(
1738
+ const [containerEl, setContainerEl] = React16.useState(
1725
1739
  null
1726
1740
  );
1727
- const mergedRef = React15.useCallback(
1741
+ const mergedRef = React16.useCallback(
1728
1742
  (node) => {
1729
1743
  setContainerEl(node);
1730
1744
  if (typeof ref === "function") ref(node);
@@ -1736,7 +1750,7 @@ var DialogContent = React15.forwardRef(
1736
1750
  const hasTitle = treeContainsComponent3(children, DialogTitle) || treeContainsComponent3(children, DialogPrimitive2.Title);
1737
1751
  const hasDescription = treeContainsComponent3(children, DialogDescription) || treeContainsComponent3(children, DialogPrimitive2.Description);
1738
1752
  return /* @__PURE__ */ jsxs9(DialogPortal, { container, children: [
1739
- isModal ? /* @__PURE__ */ jsx18(DialogOverlay, {}) : null,
1753
+ isModal ? /* @__PURE__ */ jsx19(DialogOverlay, {}) : null,
1740
1754
  /* @__PURE__ */ jsxs9(
1741
1755
  DialogContentPrimitive,
1742
1756
  {
@@ -1755,8 +1769,8 @@ var DialogContent = React15.forwardRef(
1755
1769
  ...hasDescription ? {} : { "aria-describedby": void 0 },
1756
1770
  ...props,
1757
1771
  children: [
1758
- hasTitle ? null : /* @__PURE__ */ jsx18(VisuallyHidden2.Root, { children: /* @__PURE__ */ jsx18(DialogPrimitive2.Title, { children: "Dialog" }) }),
1759
- /* @__PURE__ */ jsx18(DialogContainerContext.Provider, { value: containerEl, children: /* @__PURE__ */ jsx18(
1772
+ hasTitle ? null : /* @__PURE__ */ jsx19(VisuallyHidden2.Root, { children: /* @__PURE__ */ jsx19(DialogPrimitive2.Title, { children: "Dialog" }) }),
1773
+ /* @__PURE__ */ jsx19(DialogContainerContext.Provider, { value: containerEl, children: /* @__PURE__ */ jsx19(
1760
1774
  PortalContainerProvider,
1761
1775
  {
1762
1776
  container: containerEl ?? injectedContainer ?? null,
@@ -1770,8 +1784,8 @@ var DialogContent = React15.forwardRef(
1770
1784
  "aria-label": "Close",
1771
1785
  className: "absolute right-2 top-4 flex h-11 w-11 items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground sm:right-4 lg:h-10 lg:w-10",
1772
1786
  children: [
1773
- /* @__PURE__ */ jsx18(XIcon, { className: "h-4 w-4" }),
1774
- /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Close" })
1787
+ /* @__PURE__ */ jsx19(XIcon, { className: "h-4 w-4" }),
1788
+ /* @__PURE__ */ jsx19("span", { className: "sr-only", children: "Close" })
1775
1789
  ]
1776
1790
  }
1777
1791
  ) : null
@@ -1785,7 +1799,7 @@ DialogContent.displayName = DialogPrimitive2.Content.displayName;
1785
1799
  var DialogHeader = ({
1786
1800
  className,
1787
1801
  ...props
1788
- }) => /* @__PURE__ */ jsx18(
1802
+ }) => /* @__PURE__ */ jsx19(
1789
1803
  "div",
1790
1804
  {
1791
1805
  "data-slot": "dialog-header",
@@ -1802,7 +1816,7 @@ DialogHeader.displayName = "DialogHeader";
1802
1816
  var DialogFooter = ({
1803
1817
  className,
1804
1818
  ...props
1805
- }) => /* @__PURE__ */ jsx18(
1819
+ }) => /* @__PURE__ */ jsx19(
1806
1820
  "div",
1807
1821
  {
1808
1822
  "data-slot": "dialog-footer",
@@ -1816,7 +1830,7 @@ var DialogFooter = ({
1816
1830
  }
1817
1831
  );
1818
1832
  DialogFooter.displayName = "DialogFooter";
1819
- var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1833
+ var DialogTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1820
1834
  DialogPrimitive2.Title,
1821
1835
  {
1822
1836
  ref,
@@ -1826,7 +1840,7 @@ var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1826
1840
  }
1827
1841
  ));
1828
1842
  DialogTitle.displayName = DialogPrimitive2.Title.displayName;
1829
- var DialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1843
+ var DialogDescription = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1830
1844
  DialogPrimitive2.Description,
1831
1845
  {
1832
1846
  ref,
@@ -1839,8 +1853,8 @@ DialogDescription.displayName = DialogPrimitive2.Description.displayName;
1839
1853
 
1840
1854
  // src/dropdown-menu.tsx
1841
1855
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1842
- import * as React16 from "react";
1843
- import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
1856
+ import * as React17 from "react";
1857
+ import { jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
1844
1858
  var DropdownMenu = DropdownMenuPrimitive.Root;
1845
1859
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1846
1860
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -1851,7 +1865,7 @@ var MENU_SURFACE_CLASS = "z-[10001] min-w-[8rem] max-h-[var(--radix-dropdown-men
1851
1865
  var MENU_MOTION_CLASS = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2";
1852
1866
  var MENU_ITEM_CLASS = "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1853
1867
  var MENU_INDICATOR_ITEM_CLASS = "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1854
- var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1868
+ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1855
1869
  DropdownMenuPrimitive.SubTrigger,
1856
1870
  {
1857
1871
  ref,
@@ -1864,12 +1878,12 @@ var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, .
1864
1878
  ...props,
1865
1879
  children: [
1866
1880
  children,
1867
- /* @__PURE__ */ jsx19(RadixChevronRightIcon, { className: "ml-auto h-4 w-4" })
1881
+ /* @__PURE__ */ jsx20(RadixChevronRightIcon, { className: "ml-auto h-4 w-4" })
1868
1882
  ]
1869
1883
  }
1870
1884
  ));
1871
1885
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1872
- var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1886
+ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1873
1887
  DropdownMenuPrimitive.SubContent,
1874
1888
  {
1875
1889
  ref,
@@ -1879,9 +1893,9 @@ var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) =
1879
1893
  }
1880
1894
  ));
1881
1895
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1882
- var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => {
1896
+ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => {
1883
1897
  const portalContainer = usePortalContainer(container);
1884
- return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx19(
1898
+ return /* @__PURE__ */ jsx20(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx20(
1885
1899
  DropdownMenuPrimitive.Content,
1886
1900
  {
1887
1901
  ref,
@@ -1898,7 +1912,7 @@ var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, conta
1898
1912
  ) });
1899
1913
  });
1900
1914
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1901
- var DropdownMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx19(
1915
+ var DropdownMenuItem = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx20(
1902
1916
  DropdownMenuPrimitive.Item,
1903
1917
  {
1904
1918
  ref,
@@ -1908,7 +1922,7 @@ var DropdownMenuItem = React16.forwardRef(({ className, inset, ...props }, ref)
1908
1922
  }
1909
1923
  ));
1910
1924
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1911
- var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1925
+ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1912
1926
  DropdownMenuPrimitive.CheckboxItem,
1913
1927
  {
1914
1928
  ref,
@@ -1916,13 +1930,13 @@ var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, ...pro
1916
1930
  className: cn(MENU_INDICATOR_ITEM_CLASS, className),
1917
1931
  ...props,
1918
1932
  children: [
1919
- /* @__PURE__ */ jsx19("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx19(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx19(CheckIcon, { className: "h-4 w-4" }) }) }),
1933
+ /* @__PURE__ */ jsx20("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx20(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx20(CheckIcon, { className: "h-4 w-4" }) }) }),
1920
1934
  children
1921
1935
  ]
1922
1936
  }
1923
1937
  ));
1924
1938
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1925
- var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1939
+ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
1926
1940
  DropdownMenuPrimitive.RadioItem,
1927
1941
  {
1928
1942
  ref,
@@ -1930,13 +1944,13 @@ var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props
1930
1944
  className: cn(MENU_INDICATOR_ITEM_CLASS, className),
1931
1945
  ...props,
1932
1946
  children: [
1933
- /* @__PURE__ */ jsx19("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx19(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx19(DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
1947
+ /* @__PURE__ */ jsx20("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx20(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx20(DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
1934
1948
  children
1935
1949
  ]
1936
1950
  }
1937
1951
  ));
1938
1952
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1939
- var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx19(
1953
+ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx20(
1940
1954
  DropdownMenuPrimitive.Label,
1941
1955
  {
1942
1956
  ref,
@@ -1946,7 +1960,7 @@ var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref)
1946
1960
  }
1947
1961
  ));
1948
1962
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1949
- var DropdownMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1963
+ var DropdownMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1950
1964
  DropdownMenuPrimitive.Separator,
1951
1965
  {
1952
1966
  ref,
@@ -1959,7 +1973,7 @@ DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1959
1973
  var DropdownMenuShortcut = ({
1960
1974
  className,
1961
1975
  ...props
1962
- }) => /* @__PURE__ */ jsx19(
1976
+ }) => /* @__PURE__ */ jsx20(
1963
1977
  "span",
1964
1978
  {
1965
1979
  "data-slot": "dropdown-menu-shortcut",
@@ -1971,7 +1985,7 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1971
1985
 
1972
1986
  // src/editable-label.tsx
1973
1987
  import { useCallback as useCallback2, useEffect as useEffect2, useRef as useRef2, useState as useState4 } from "react";
1974
- import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1988
+ import { jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
1975
1989
  function EditableLabel({
1976
1990
  value,
1977
1991
  onCommit,
@@ -2079,7 +2093,7 @@ function EditableLabel({
2079
2093
  ]);
2080
2094
  if (editing) {
2081
2095
  return /* @__PURE__ */ jsxs11("span", { className: cn("relative flex min-w-0 flex-1 items-center", className), children: [
2082
- /* @__PURE__ */ jsx20(
2096
+ /* @__PURE__ */ jsx21(
2083
2097
  "input",
2084
2098
  {
2085
2099
  ref: inputRef,
@@ -2119,12 +2133,12 @@ function EditableLabel({
2119
2133
  )
2120
2134
  }
2121
2135
  ),
2122
- busy && /* @__PURE__ */ jsx20(Loader2Icon, { className: "absolute right-1 h-3.5 w-3.5 animate-spin text-muted-foreground" }),
2123
- error && /* @__PURE__ */ jsx20("span", { className: "absolute left-0 top-full mt-0.5 whitespace-nowrap text-xs text-destructive", children: error })
2136
+ busy && /* @__PURE__ */ jsx21(Loader2Icon, { className: "absolute right-1 h-3.5 w-3.5 animate-spin text-muted-foreground" }),
2137
+ error && /* @__PURE__ */ jsx21("span", { className: "absolute left-0 top-full mt-0.5 whitespace-nowrap text-xs text-destructive", children: error })
2124
2138
  ] });
2125
2139
  }
2126
2140
  if (controlled) return null;
2127
- return /* @__PURE__ */ jsx20(
2141
+ return /* @__PURE__ */ jsx21(
2128
2142
  "button",
2129
2143
  {
2130
2144
  type: "button",
@@ -2158,8 +2172,8 @@ function EditableLabel({
2158
2172
  }
2159
2173
 
2160
2174
  // src/input.tsx
2161
- import * as React17 from "react";
2162
- import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
2175
+ import * as React18 from "react";
2176
+ import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
2163
2177
  var getVariantStyles = (variant = "default") => {
2164
2178
  const baseStyles = `flex h-10 w-full border border-border bg-background text-foreground shadow-input rounded-md px-3 py-2 text-sm file:border-0 file:bg-transparent
2165
2179
  file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground
@@ -2187,9 +2201,9 @@ var getVariantStyles = (variant = "default") => {
2187
2201
  return baseStyles;
2188
2202
  }
2189
2203
  };
2190
- var Input = React17.forwardRef(
2204
+ var Input = React18.forwardRef(
2191
2205
  ({ className, type, variant = "default", ...props }, ref) => {
2192
- return /* @__PURE__ */ jsx21(
2206
+ return /* @__PURE__ */ jsx22(
2193
2207
  "input",
2194
2208
  {
2195
2209
  type,
@@ -2201,7 +2215,7 @@ var Input = React17.forwardRef(
2201
2215
  }
2202
2216
  );
2203
2217
  Input.displayName = "Input";
2204
- var EnterInput = React17.forwardRef(
2218
+ var EnterInput = React18.forwardRef(
2205
2219
  ({ onEnter, ...props }, ref) => {
2206
2220
  const handleKeyDown = (e) => {
2207
2221
  if (e.key === "Enter" && onEnter) {
@@ -2209,7 +2223,7 @@ var EnterInput = React17.forwardRef(
2209
2223
  onEnter();
2210
2224
  }
2211
2225
  };
2212
- return /* @__PURE__ */ jsx21(
2226
+ return /* @__PURE__ */ jsx22(
2213
2227
  Input,
2214
2228
  {
2215
2229
  ...props,
@@ -2225,11 +2239,11 @@ var EnterInput = React17.forwardRef(
2225
2239
  }
2226
2240
  );
2227
2241
  EnterInput.displayName = "EnterInput";
2228
- var BasicInput = React17.forwardRef(
2242
+ var BasicInput = React18.forwardRef(
2229
2243
  // `variant` is accepted (prop-compatible with Input) but intentionally
2230
2244
  // unused — and destructured so it never leaks onto the DOM element.
2231
2245
  ({ className, type, variant: _variant = "default", ...props }, ref) => {
2232
- return /* @__PURE__ */ jsx21(
2246
+ return /* @__PURE__ */ jsx22(
2233
2247
  "input",
2234
2248
  {
2235
2249
  type,
@@ -2244,10 +2258,10 @@ var BasicInput = React17.forwardRef(
2244
2258
  }
2245
2259
  );
2246
2260
  BasicInput.displayName = "BasicInput";
2247
- var InputWithPrefix = React17.forwardRef(({ prefix, className, wrapperClassName, ...props }, ref) => {
2261
+ var InputWithPrefix = React18.forwardRef(({ prefix, className, wrapperClassName, ...props }, ref) => {
2248
2262
  return /* @__PURE__ */ jsxs12("div", { className: cn("relative", wrapperClassName), children: [
2249
- prefix && /* @__PURE__ */ jsx21("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: prefix }),
2250
- /* @__PURE__ */ jsx21(
2263
+ prefix && /* @__PURE__ */ jsx22("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: prefix }),
2264
+ /* @__PURE__ */ jsx22(
2251
2265
  Input,
2252
2266
  {
2253
2267
  ref,
@@ -2261,9 +2275,9 @@ InputWithPrefix.displayName = "InputWithPrefix";
2261
2275
 
2262
2276
  // src/label.tsx
2263
2277
  import * as LabelPrimitive from "@radix-ui/react-label";
2264
- import * as React18 from "react";
2265
- import { jsx as jsx22 } from "react/jsx-runtime";
2266
- var Label3 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
2278
+ import * as React19 from "react";
2279
+ import { jsx as jsx23 } from "react/jsx-runtime";
2280
+ var Label3 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
2267
2281
  LabelPrimitive.Root,
2268
2282
  {
2269
2283
  ref,
@@ -2278,7 +2292,7 @@ Label3.displayName = LabelPrimitive.Root.displayName;
2278
2292
 
2279
2293
  // src/overflow-toolbar.tsx
2280
2294
  import { useLayoutEffect, useMemo, useRef as useRef3, useState as useState5 } from "react";
2281
- import { Fragment, jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
2295
+ import { Fragment, jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
2282
2296
  var GAP_PX = 6;
2283
2297
  var TONE = {
2284
2298
  default: "border border-border bg-background hover:bg-accent text-foreground",
@@ -2301,15 +2315,15 @@ function ToolbarButton({
2301
2315
  TONE[tone]
2302
2316
  );
2303
2317
  const inner = /* @__PURE__ */ jsxs13(Fragment, { children: [
2304
- /* @__PURE__ */ jsx23(
2318
+ /* @__PURE__ */ jsx24(
2305
2319
  Icon2,
2306
2320
  {
2307
2321
  className: cn("w-3.5 h-3.5 shrink-0", action.running && "animate-spin")
2308
2322
  }
2309
2323
  ),
2310
- showLabel && /* @__PURE__ */ jsx23("span", { children: text })
2324
+ showLabel && /* @__PURE__ */ jsx24("span", { children: text })
2311
2325
  ] });
2312
- const control = action.href && !action.disabled ? /* @__PURE__ */ jsx23(
2326
+ const control = action.href && !action.disabled ? /* @__PURE__ */ jsx24(
2313
2327
  "a",
2314
2328
  {
2315
2329
  href: action.href,
@@ -2319,7 +2333,7 @@ function ToolbarButton({
2319
2333
  "aria-label": action.label,
2320
2334
  children: inner
2321
2335
  }
2322
- ) : /* @__PURE__ */ jsx23(
2336
+ ) : /* @__PURE__ */ jsx24(
2323
2337
  "button",
2324
2338
  {
2325
2339
  type: "button",
@@ -2331,12 +2345,12 @@ function ToolbarButton({
2331
2345
  }
2332
2346
  );
2333
2347
  if (enableTooltip && action.hideLabel && renderTooltip) {
2334
- return /* @__PURE__ */ jsx23(Fragment, { children: renderTooltip(control, action.label) });
2348
+ return /* @__PURE__ */ jsx24(Fragment, { children: renderTooltip(control, action.label) });
2335
2349
  }
2336
2350
  return control;
2337
2351
  }
2338
2352
  function OverflowTrigger({ ariaLabel }) {
2339
- return /* @__PURE__ */ jsx23(
2353
+ return /* @__PURE__ */ jsx24(
2340
2354
  "button",
2341
2355
  {
2342
2356
  type: "button",
@@ -2347,7 +2361,7 @@ function OverflowTrigger({ ariaLabel }) {
2347
2361
  "inline-flex items-center justify-center h-7 w-7 rounded-md transition-colors",
2348
2362
  "border border-border bg-background hover:bg-accent text-foreground"
2349
2363
  ),
2350
- children: /* @__PURE__ */ jsx23(MoreHorizontalIcon, { className: "w-3.5 h-3.5" })
2364
+ children: /* @__PURE__ */ jsx24(MoreHorizontalIcon, { className: "w-3.5 h-3.5" })
2351
2365
  }
2352
2366
  );
2353
2367
  }
@@ -2415,14 +2429,14 @@ function OverflowToolbar({
2415
2429
  "aria-hidden": true,
2416
2430
  className: "pointer-events-none absolute left-0 top-0 flex items-center gap-1.5 opacity-0",
2417
2431
  children: [
2418
- visibleActions.map((a) => /* @__PURE__ */ jsx23(ToolbarButton, { action: a }, a.id)),
2419
- /* @__PURE__ */ jsx23(OverflowTrigger, { ariaLabel: overflowAriaLabel })
2432
+ visibleActions.map((a) => /* @__PURE__ */ jsx24(ToolbarButton, { action: a }, a.id)),
2433
+ /* @__PURE__ */ jsx24(OverflowTrigger, { ariaLabel: overflowAriaLabel })
2420
2434
  ]
2421
2435
  }
2422
2436
  ),
2423
2437
  /* @__PURE__ */ jsxs13("div", { className: "flex items-center justify-end gap-1.5", children: [
2424
- leading != null && /* @__PURE__ */ jsx23("span", { ref: leadingRef, className: "shrink-0", children: leading }),
2425
- shown.map((a) => /* @__PURE__ */ jsx23(
2438
+ leading != null && /* @__PURE__ */ jsx24("span", { ref: leadingRef, className: "shrink-0", children: leading }),
2439
+ shown.map((a) => /* @__PURE__ */ jsx24(
2426
2440
  ToolbarButton,
2427
2441
  {
2428
2442
  action: a,
@@ -2433,7 +2447,7 @@ function OverflowToolbar({
2433
2447
  )),
2434
2448
  hidden.length > 0 && renderOverflowMenu({
2435
2449
  actions: hidden,
2436
- trigger: /* @__PURE__ */ jsx23(OverflowTrigger, { ariaLabel: overflowAriaLabel })
2450
+ trigger: /* @__PURE__ */ jsx24(OverflowTrigger, { ariaLabel: overflowAriaLabel })
2437
2451
  })
2438
2452
  ] })
2439
2453
  ] });
@@ -2441,20 +2455,20 @@ function OverflowToolbar({
2441
2455
 
2442
2456
  // src/progress.tsx
2443
2457
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2444
- import * as React20 from "react";
2445
- import { jsx as jsx24 } from "react/jsx-runtime";
2458
+ import * as React21 from "react";
2459
+ import { jsx as jsx25 } from "react/jsx-runtime";
2446
2460
  var PROGRESS_TONES = {
2447
2461
  default: "bg-primary",
2448
2462
  success: "bg-success",
2449
2463
  warning: "bg-warning",
2450
2464
  destructive: "bg-destructive"
2451
2465
  };
2452
- var Progress = React20.forwardRef(({ className, tone = "default", indicatorClassName, ...props }, ref) => {
2466
+ var Progress = React21.forwardRef(({ className, tone = "default", indicatorClassName, ...props }, ref) => {
2453
2467
  const { value, max } = props;
2454
2468
  const ceiling = max ?? 100;
2455
2469
  const isIndeterminate = value === null || value === void 0;
2456
2470
  const pct = isIndeterminate ? 0 : Math.min(100, Math.max(0, value / ceiling * 100));
2457
- return /* @__PURE__ */ jsx24(
2471
+ return /* @__PURE__ */ jsx25(
2458
2472
  ProgressPrimitive.Root,
2459
2473
  {
2460
2474
  ref,
@@ -2464,7 +2478,7 @@ var Progress = React20.forwardRef(({ className, tone = "default", indicatorClass
2464
2478
  className
2465
2479
  ),
2466
2480
  ...props,
2467
- children: /* @__PURE__ */ jsx24(
2481
+ children: /* @__PURE__ */ jsx25(
2468
2482
  ProgressPrimitive.Indicator,
2469
2483
  {
2470
2484
  "data-slot": "progress-indicator",
@@ -2484,9 +2498,9 @@ Progress.displayName = ProgressPrimitive.Root.displayName;
2484
2498
 
2485
2499
  // src/scroll-area.tsx
2486
2500
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2487
- import * as React21 from "react";
2488
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
2489
- var ScrollArea = React21.forwardRef(
2501
+ import * as React22 from "react";
2502
+ import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
2503
+ var ScrollArea = React22.forwardRef(
2490
2504
  ({
2491
2505
  className,
2492
2506
  children,
@@ -2503,7 +2517,7 @@ var ScrollArea = React21.forwardRef(
2503
2517
  className: cn("relative overflow-hidden", className),
2504
2518
  ...props,
2505
2519
  children: [
2506
- /* @__PURE__ */ jsx25(
2520
+ /* @__PURE__ */ jsx26(
2507
2521
  ScrollAreaPrimitive.Viewport,
2508
2522
  {
2509
2523
  ref: viewportRef,
@@ -2512,14 +2526,14 @@ var ScrollArea = React21.forwardRef(
2512
2526
  children
2513
2527
  }
2514
2528
  ),
2515
- /* @__PURE__ */ jsx25(ScrollBar, { orientation, className: scrollBarClassName }),
2516
- /* @__PURE__ */ jsx25(ScrollAreaPrimitive.Corner, {})
2529
+ /* @__PURE__ */ jsx26(ScrollBar, { orientation, className: scrollBarClassName }),
2530
+ /* @__PURE__ */ jsx26(ScrollAreaPrimitive.Corner, {})
2517
2531
  ]
2518
2532
  }
2519
2533
  )
2520
2534
  );
2521
2535
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
2522
- var ScrollBar = React21.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx25(
2536
+ var ScrollBar = React22.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx26(
2523
2537
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2524
2538
  {
2525
2539
  ref,
@@ -2532,7 +2546,7 @@ var ScrollBar = React21.forwardRef(({ className, orientation = "vertical", ...pr
2532
2546
  className
2533
2547
  ),
2534
2548
  ...props,
2535
- children: /* @__PURE__ */ jsx25(
2549
+ children: /* @__PURE__ */ jsx26(
2536
2550
  ScrollAreaPrimitive.ScrollAreaThumb,
2537
2551
  {
2538
2552
  "data-slot": "scroll-area-thumb",
@@ -2544,7 +2558,7 @@ var ScrollBar = React21.forwardRef(({ className, orientation = "vertical", ...pr
2544
2558
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2545
2559
 
2546
2560
  // src/score-ring.tsx
2547
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
2561
+ import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
2548
2562
  var DEFAULT_SCORE_THRESHOLDS = {
2549
2563
  good: 75,
2550
2564
  warning: 50
@@ -2587,7 +2601,7 @@ function ScoreRing({
2587
2601
  "aria-label": `${label ?? "Score"}: ${pct === null ? "not available" : `${pct} out of 100`}`,
2588
2602
  children: [
2589
2603
  /* @__PURE__ */ jsxs15("svg", { viewBox: "0 0 100 100", className: "h-full w-full -rotate-90", children: [
2590
- /* @__PURE__ */ jsx26(
2604
+ /* @__PURE__ */ jsx27(
2591
2605
  "circle",
2592
2606
  {
2593
2607
  cx: "50",
@@ -2598,7 +2612,7 @@ function ScoreRing({
2598
2612
  fill: "none"
2599
2613
  }
2600
2614
  ),
2601
- pct !== null ? /* @__PURE__ */ jsx26(
2615
+ pct !== null ? /* @__PURE__ */ jsx27(
2602
2616
  "circle",
2603
2617
  {
2604
2618
  cx: "50",
@@ -2618,7 +2632,7 @@ function ScoreRing({
2618
2632
  ) : null
2619
2633
  ] }),
2620
2634
  /* @__PURE__ */ jsxs15("div", { className: "absolute flex flex-col items-center justify-center", children: [
2621
- /* @__PURE__ */ jsx26(
2635
+ /* @__PURE__ */ jsx27(
2622
2636
  "span",
2623
2637
  {
2624
2638
  className: cn(
@@ -2628,7 +2642,7 @@ function ScoreRing({
2628
2642
  children: pct === null ? "\u2014" : `${pct}${suffix}`
2629
2643
  }
2630
2644
  ),
2631
- label ? /* @__PURE__ */ jsx26("span", { className: "max-w-[74px] truncate text-[9px] font-semibold uppercase tracking-wide text-muted-foreground", children: label }) : null
2645
+ label ? /* @__PURE__ */ jsx27("span", { className: "max-w-[74px] truncate text-[9px] font-semibold uppercase tracking-wide text-muted-foreground", children: label }) : null
2632
2646
  ] })
2633
2647
  ]
2634
2648
  }
@@ -2636,7 +2650,7 @@ function ScoreRing({
2636
2650
  }
2637
2651
 
2638
2652
  // src/segmented-control.tsx
2639
- import { jsx as jsx27 } from "react/jsx-runtime";
2653
+ import { jsx as jsx28 } from "react/jsx-runtime";
2640
2654
  function SegmentedControl({
2641
2655
  value,
2642
2656
  onValueChange,
@@ -2651,7 +2665,7 @@ function SegmentedControl({
2651
2665
  md: "h-9 text-sm",
2652
2666
  lg: "h-10 text-base"
2653
2667
  };
2654
- return /* @__PURE__ */ jsx27(
2668
+ return /* @__PURE__ */ jsx28(
2655
2669
  "div",
2656
2670
  {
2657
2671
  className: cn(
@@ -2662,7 +2676,7 @@ function SegmentedControl({
2662
2676
  role: "tablist",
2663
2677
  children: data.map((option) => {
2664
2678
  const isActive = value === option.value;
2665
- return /* @__PURE__ */ jsx27(
2679
+ return /* @__PURE__ */ jsx28(
2666
2680
  "button",
2667
2681
  {
2668
2682
  type: "button",
@@ -2689,8 +2703,8 @@ function SegmentedControl({
2689
2703
  // src/select.tsx
2690
2704
  import * as SelectPrimitive from "@radix-ui/react-select";
2691
2705
  import { cva as cva4 } from "class-variance-authority";
2692
- import * as React22 from "react";
2693
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
2706
+ import * as React23 from "react";
2707
+ import { jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
2694
2708
  var Select = SelectPrimitive.Root;
2695
2709
  var SelectGroup = SelectPrimitive.Group;
2696
2710
  var SelectValue = SelectPrimitive.Value;
@@ -2709,7 +2723,7 @@ var selectTriggerVariants = cva4(
2709
2723
  }
2710
2724
  }
2711
2725
  );
2712
- var SelectTrigger = React22.forwardRef(({ className, children, hideArrow = false, size, ...props }, ref) => /* @__PURE__ */ jsxs16(
2726
+ var SelectTrigger = React23.forwardRef(({ className, children, hideArrow = false, size, ...props }, ref) => /* @__PURE__ */ jsxs16(
2713
2727
  SelectPrimitive.Trigger,
2714
2728
  {
2715
2729
  ref,
@@ -2717,12 +2731,12 @@ var SelectTrigger = React22.forwardRef(({ className, children, hideArrow = false
2717
2731
  ...props,
2718
2732
  children: [
2719
2733
  children,
2720
- !hideArrow && /* @__PURE__ */ jsx28(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx28(RadixChevronDownIcon, { className: "h-4 w-4 opacity-50" }) })
2734
+ !hideArrow && /* @__PURE__ */ jsx29(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx29(RadixChevronDownIcon, { className: "h-4 w-4 opacity-50" }) })
2721
2735
  ]
2722
2736
  }
2723
2737
  ));
2724
2738
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2725
- var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2739
+ var SelectScrollUpButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2726
2740
  SelectPrimitive.ScrollUpButton,
2727
2741
  {
2728
2742
  ref,
@@ -2731,11 +2745,11 @@ var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) =>
2731
2745
  className
2732
2746
  ),
2733
2747
  ...props,
2734
- children: /* @__PURE__ */ jsx28(RadixChevronUpIcon, {})
2748
+ children: /* @__PURE__ */ jsx29(RadixChevronUpIcon, {})
2735
2749
  }
2736
2750
  ));
2737
2751
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2738
- var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2752
+ var SelectScrollDownButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2739
2753
  SelectPrimitive.ScrollDownButton,
2740
2754
  {
2741
2755
  ref,
@@ -2744,13 +2758,13 @@ var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) =
2744
2758
  className
2745
2759
  ),
2746
2760
  ...props,
2747
- children: /* @__PURE__ */ jsx28(RadixChevronDownIcon, {})
2761
+ children: /* @__PURE__ */ jsx29(RadixChevronDownIcon, {})
2748
2762
  }
2749
2763
  ));
2750
2764
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2751
- var SelectContent = React22.forwardRef(({ className, children, position = "popper", container, ...props }, ref) => {
2765
+ var SelectContent = React23.forwardRef(({ className, children, position = "popper", container, ...props }, ref) => {
2752
2766
  const portalContainer = usePortalContainer(container);
2753
- return /* @__PURE__ */ jsx28(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxs16(
2767
+ return /* @__PURE__ */ jsx29(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxs16(
2754
2768
  SelectPrimitive.Content,
2755
2769
  {
2756
2770
  ref,
@@ -2762,8 +2776,8 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
2762
2776
  position,
2763
2777
  ...props,
2764
2778
  children: [
2765
- /* @__PURE__ */ jsx28(SelectScrollUpButton, {}),
2766
- /* @__PURE__ */ jsx28(
2779
+ /* @__PURE__ */ jsx29(SelectScrollUpButton, {}),
2780
+ /* @__PURE__ */ jsx29(
2767
2781
  SelectPrimitive.Viewport,
2768
2782
  {
2769
2783
  className: cn(
@@ -2773,13 +2787,13 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
2773
2787
  children
2774
2788
  }
2775
2789
  ),
2776
- /* @__PURE__ */ jsx28(SelectScrollDownButton, {})
2790
+ /* @__PURE__ */ jsx29(SelectScrollDownButton, {})
2777
2791
  ]
2778
2792
  }
2779
2793
  ) });
2780
2794
  });
2781
2795
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2782
- var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2796
+ var SelectLabel = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2783
2797
  SelectPrimitive.Label,
2784
2798
  {
2785
2799
  ref,
@@ -2788,7 +2802,7 @@ var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PUR
2788
2802
  }
2789
2803
  ));
2790
2804
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2791
- var SelectItem = React22.forwardRef(({ className, children, description, ...props }, ref) => /* @__PURE__ */ jsxs16(
2805
+ var SelectItem = React23.forwardRef(({ className, children, description, ...props }, ref) => /* @__PURE__ */ jsxs16(
2792
2806
  SelectPrimitive.Item,
2793
2807
  {
2794
2808
  ref,
@@ -2799,14 +2813,14 @@ var SelectItem = React22.forwardRef(({ className, children, description, ...prop
2799
2813
  ),
2800
2814
  ...props,
2801
2815
  children: [
2802
- /* @__PURE__ */ jsx28("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx28(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx28(CheckIcon, { className: "h-4 w-4" }) }) }),
2803
- /* @__PURE__ */ jsx28(SelectPrimitive.ItemText, { children }),
2804
- description ? /* @__PURE__ */ jsx28("span", { className: "block text-xs leading-snug text-muted-foreground", children: description }) : null
2816
+ /* @__PURE__ */ jsx29("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx29(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(CheckIcon, { className: "h-4 w-4" }) }) }),
2817
+ /* @__PURE__ */ jsx29(SelectPrimitive.ItemText, { children }),
2818
+ description ? /* @__PURE__ */ jsx29("span", { className: "block text-xs leading-snug text-muted-foreground", children: description }) : null
2805
2819
  ]
2806
2820
  }
2807
2821
  ));
2808
2822
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2809
- var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
2823
+ var SelectSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2810
2824
  SelectPrimitive.Separator,
2811
2825
  {
2812
2826
  ref,
@@ -2818,9 +2832,9 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2818
2832
 
2819
2833
  // src/separator.tsx
2820
2834
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
2821
- import * as React23 from "react";
2822
- import { jsx as jsx29 } from "react/jsx-runtime";
2823
- var Separator4 = React23.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx29(
2835
+ import * as React24 from "react";
2836
+ import { jsx as jsx30 } from "react/jsx-runtime";
2837
+ var Separator4 = React24.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx30(
2824
2838
  SeparatorPrimitive.Root,
2825
2839
  {
2826
2840
  ref,
@@ -2840,11 +2854,11 @@ Separator4.displayName = SeparatorPrimitive.Root.displayName;
2840
2854
  import * as SheetPrimitive from "@radix-ui/react-dialog";
2841
2855
  import { treeContainsComponent as treeContainsComponent4 } from "@ai-matrx/kit/react-tree";
2842
2856
  import { cva as cva5 } from "class-variance-authority";
2843
- import * as React24 from "react";
2844
- import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
2845
- var SheetContentBase = React24.forwardRef(({ ...props }, ref) => {
2857
+ import * as React25 from "react";
2858
+ import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
2859
+ var SheetContentBase = React25.forwardRef(({ ...props }, ref) => {
2846
2860
  const isModal = useRadixDialogModal();
2847
- return /* @__PURE__ */ jsx30(
2861
+ return /* @__PURE__ */ jsx31(
2848
2862
  SheetPrimitive.Content,
2849
2863
  {
2850
2864
  ...props,
@@ -2854,15 +2868,15 @@ var SheetContentBase = React24.forwardRef(({ ...props }, ref) => {
2854
2868
  );
2855
2869
  });
2856
2870
  SheetContentBase.displayName = "SheetContentBase";
2857
- var Sheet = React24.forwardRef(({ children, ...props }, _ref) => {
2871
+ var Sheet = React25.forwardRef(({ children, ...props }, _ref) => {
2858
2872
  const modal = props.modal ?? true;
2859
- return /* @__PURE__ */ jsx30(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx30(SheetPrimitive.Root, { ...props, modal, children }) });
2873
+ return /* @__PURE__ */ jsx31(RadixDialogModalProvider, { modal, children: /* @__PURE__ */ jsx31(SheetPrimitive.Root, { ...props, modal, children }) });
2860
2874
  });
2861
2875
  Sheet.displayName = "Sheet";
2862
2876
  var SheetTrigger = SheetPrimitive.Trigger;
2863
2877
  var SheetClose = SheetPrimitive.Close;
2864
2878
  var SheetPortal = SheetPrimitive.Portal;
2865
- var SheetOverlay = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2879
+ var SheetOverlay = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2866
2880
  SheetPrimitive.Overlay,
2867
2881
  {
2868
2882
  className: cn(
@@ -2891,7 +2905,7 @@ var sheetVariants = cva5(
2891
2905
  }
2892
2906
  }
2893
2907
  );
2894
- var SheetDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2908
+ var SheetDescription = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2895
2909
  SheetPrimitive.Description,
2896
2910
  {
2897
2911
  ref,
@@ -2900,7 +2914,7 @@ var SheetDescription = React24.forwardRef(({ className, ...props }, ref) => /* @
2900
2914
  }
2901
2915
  ));
2902
2916
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
2903
- var SheetContent = React24.forwardRef(
2917
+ var SheetContent = React25.forwardRef(
2904
2918
  ({
2905
2919
  side = "right",
2906
2920
  className,
@@ -2912,7 +2926,7 @@ var SheetContent = React24.forwardRef(
2912
2926
  }, ref) => {
2913
2927
  const hasDescription = treeContainsComponent4(children, SheetDescription) || treeContainsComponent4(children, SheetPrimitive.Description);
2914
2928
  return /* @__PURE__ */ jsxs17(SheetPortal, { children: [
2915
- !hideOverlay && /* @__PURE__ */ jsx30(SheetOverlay, { className: overlayClassName }),
2929
+ !hideOverlay && /* @__PURE__ */ jsx31(SheetOverlay, { className: overlayClassName }),
2916
2930
  /* @__PURE__ */ jsxs17(
2917
2931
  SheetContentBase,
2918
2932
  {
@@ -2922,8 +2936,8 @@ var SheetContent = React24.forwardRef(
2922
2936
  ...props,
2923
2937
  children: [
2924
2938
  !hideCloseButton && /* @__PURE__ */ jsxs17(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
2925
- /* @__PURE__ */ jsx30(Cross2Icon, { className: "h-4 w-4" }),
2926
- /* @__PURE__ */ jsx30("span", { className: "sr-only", children: "Close" })
2939
+ /* @__PURE__ */ jsx31(Cross2Icon, { className: "h-4 w-4" }),
2940
+ /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "Close" })
2927
2941
  ] }),
2928
2942
  children
2929
2943
  ]
@@ -2936,7 +2950,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
2936
2950
  var SheetHeader = ({
2937
2951
  className,
2938
2952
  ...props
2939
- }) => /* @__PURE__ */ jsx30(
2953
+ }) => /* @__PURE__ */ jsx31(
2940
2954
  "div",
2941
2955
  {
2942
2956
  className: cn(
@@ -2950,7 +2964,7 @@ SheetHeader.displayName = "SheetHeader";
2950
2964
  var SheetFooter = ({
2951
2965
  className,
2952
2966
  ...props
2953
- }) => /* @__PURE__ */ jsx30(
2967
+ }) => /* @__PURE__ */ jsx31(
2954
2968
  "div",
2955
2969
  {
2956
2970
  className: cn(
@@ -2961,7 +2975,7 @@ var SheetFooter = ({
2961
2975
  }
2962
2976
  );
2963
2977
  SheetFooter.displayName = "SheetFooter";
2964
- var SheetTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2978
+ var SheetTitle = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
2965
2979
  SheetPrimitive.Title,
2966
2980
  {
2967
2981
  ref,
@@ -2972,12 +2986,12 @@ var SheetTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE
2972
2986
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
2973
2987
 
2974
2988
  // src/skeleton.tsx
2975
- import { jsx as jsx31 } from "react/jsx-runtime";
2989
+ import { jsx as jsx32 } from "react/jsx-runtime";
2976
2990
  function Skeleton({
2977
2991
  className,
2978
2992
  ...props
2979
2993
  }) {
2980
- return /* @__PURE__ */ jsx31(
2994
+ return /* @__PURE__ */ jsx32(
2981
2995
  "div",
2982
2996
  {
2983
2997
  className: cn("animate-pulse rounded-md bg-primary/10", className),
@@ -2988,8 +3002,8 @@ function Skeleton({
2988
3002
 
2989
3003
  // src/switch.tsx
2990
3004
  import * as SwitchPrimitives from "@radix-ui/react-switch";
2991
- import * as React25 from "react";
2992
- import { jsx as jsx32 } from "react/jsx-runtime";
3005
+ import * as React26 from "react";
3006
+ import { jsx as jsx33 } from "react/jsx-runtime";
2993
3007
  var SWITCH_SIZES = {
2994
3008
  sm: {
2995
3009
  root: "h-4 w-9 border-border data-[state=unchecked]:bg-input",
@@ -3000,7 +3014,7 @@ var SWITCH_SIZES = {
3000
3014
  thumb: "h-4 w-4 data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
3001
3015
  }
3002
3016
  };
3003
- var Switch = React25.forwardRef(({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx32(
3017
+ var Switch = React26.forwardRef(({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx33(
3004
3018
  SwitchPrimitives.Root,
3005
3019
  {
3006
3020
  ref,
@@ -3011,7 +3025,7 @@ var Switch = React25.forwardRef(({ className, size = "md", ...props }, ref) => /
3011
3025
  className
3012
3026
  ),
3013
3027
  ...props,
3014
- children: /* @__PURE__ */ jsx32(
3028
+ children: /* @__PURE__ */ jsx33(
3015
3029
  SwitchPrimitives.Thumb,
3016
3030
  {
3017
3031
  "data-slot": "switch-thumb",
@@ -3027,7 +3041,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
3027
3041
 
3028
3042
  // src/tabbed-bottom-sheet.tsx
3029
3043
  import { useState as useState6 } from "react";
3030
- import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
3044
+ import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
3031
3045
  function TabbedBottomSheet({
3032
3046
  open,
3033
3047
  onOpenChange,
@@ -3041,7 +3055,7 @@ function TabbedBottomSheet({
3041
3055
  if (open) setSelectedTabId(null);
3042
3056
  }
3043
3057
  const selectedTab = selectedTabId ? tabs.find((tab) => tab.id === selectedTabId) : null;
3044
- return /* @__PURE__ */ jsx33(
3058
+ return /* @__PURE__ */ jsx34(
3045
3059
  BottomSheet,
3046
3060
  {
3047
3061
  open,
@@ -3049,7 +3063,7 @@ function TabbedBottomSheet({
3049
3063
  title,
3050
3064
  size: "full",
3051
3065
  children: /* @__PURE__ */ jsxs18("div", { className: "matrx-mobile-sheet flex min-h-0 flex-1 flex-col", children: [
3052
- /* @__PURE__ */ jsx33(
3066
+ /* @__PURE__ */ jsx34(
3053
3067
  BottomSheetHeader,
3054
3068
  {
3055
3069
  title: selectedTab ? selectedTab.label : title,
@@ -3057,19 +3071,19 @@ function TabbedBottomSheet({
3057
3071
  onBack: () => setSelectedTabId(null)
3058
3072
  }
3059
3073
  ),
3060
- selectedTab ? /* @__PURE__ */ jsx33("div", { className: "flex min-h-0 flex-1 flex-col overflow-hidden pb-safe", children: selectedTab.content }) : /* @__PURE__ */ jsx33(BottomSheetBody, { children: /* @__PURE__ */ jsx33("ul", { className: "divide-y divide-border", children: tabs.map((tab) => {
3074
+ selectedTab ? /* @__PURE__ */ jsx34("div", { className: "flex min-h-0 flex-1 flex-col overflow-hidden pb-safe", children: selectedTab.content }) : /* @__PURE__ */ jsx34(BottomSheetBody, { children: /* @__PURE__ */ jsx34("ul", { className: "divide-y divide-border", children: tabs.map((tab) => {
3061
3075
  const Icon2 = tab.icon;
3062
- return /* @__PURE__ */ jsx33("li", { children: /* @__PURE__ */ jsxs18(
3076
+ return /* @__PURE__ */ jsx34("li", { children: /* @__PURE__ */ jsxs18(
3063
3077
  "button",
3064
3078
  {
3065
3079
  type: "button",
3066
3080
  onClick: () => setSelectedTabId(tab.id),
3067
3081
  className: "flex w-full items-center gap-3 px-4 py-3.5 text-left transition-colors hover:bg-muted/60 active:bg-muted",
3068
3082
  children: [
3069
- Icon2 ? /* @__PURE__ */ jsx33(Icon2, { className: "h-5 w-5 shrink-0 text-muted-foreground" }) : null,
3070
- /* @__PURE__ */ jsx33("span", { className: "min-w-0 flex-1 text-base text-foreground", children: tab.label }),
3083
+ Icon2 ? /* @__PURE__ */ jsx34(Icon2, { className: "h-5 w-5 shrink-0 text-muted-foreground" }) : null,
3084
+ /* @__PURE__ */ jsx34("span", { className: "min-w-0 flex-1 text-base text-foreground", children: tab.label }),
3071
3085
  tab.trailing,
3072
- /* @__PURE__ */ jsx33(ChevronRightIcon, { className: "h-5 w-5 shrink-0 text-muted-foreground" })
3086
+ /* @__PURE__ */ jsx34(ChevronRightIcon, { className: "h-5 w-5 shrink-0 text-muted-foreground" })
3073
3087
  ]
3074
3088
  }
3075
3089
  ) }, tab.id);
@@ -3080,19 +3094,19 @@ function TabbedBottomSheet({
3080
3094
  }
3081
3095
 
3082
3096
  // src/table.tsx
3083
- import * as React26 from "react";
3084
- import { jsx as jsx34 } from "react/jsx-runtime";
3097
+ import * as React27 from "react";
3098
+ import { jsx as jsx35 } from "react/jsx-runtime";
3085
3099
  var TABLE_SIZES = {
3086
3100
  sm: { head: "px-2", cell: "p-2" },
3087
3101
  md: { head: "px-3", cell: "p-3" }
3088
3102
  };
3089
- var TableSizeContext = React26.createContext("md");
3103
+ var TableSizeContext = React27.createContext("md");
3090
3104
  function useTableSize() {
3091
- return React26.useContext(TableSizeContext);
3105
+ return React27.useContext(TableSizeContext);
3092
3106
  }
3093
- var Table = React26.forwardRef(
3107
+ var Table = React27.forwardRef(
3094
3108
  ({ className, size = "md", wrap = true, wrapperClassName, ...props }, ref) => {
3095
- const table = /* @__PURE__ */ jsx34(
3109
+ const table = /* @__PURE__ */ jsx35(
3096
3110
  "table",
3097
3111
  {
3098
3112
  ref,
@@ -3102,7 +3116,7 @@ var Table = React26.forwardRef(
3102
3116
  ...props
3103
3117
  }
3104
3118
  );
3105
- return /* @__PURE__ */ jsx34(TableSizeContext.Provider, { value: size, children: wrap ? /* @__PURE__ */ jsx34(
3119
+ return /* @__PURE__ */ jsx35(TableSizeContext.Provider, { value: size, children: wrap ? /* @__PURE__ */ jsx35(
3106
3120
  "div",
3107
3121
  {
3108
3122
  "data-slot": "table-wrapper",
@@ -3113,7 +3127,7 @@ var Table = React26.forwardRef(
3113
3127
  }
3114
3128
  );
3115
3129
  Table.displayName = "Table";
3116
- var TableHeader = React26.forwardRef(({ className, sticky = false, ...props }, ref) => /* @__PURE__ */ jsx34(
3130
+ var TableHeader = React27.forwardRef(({ className, sticky = false, ...props }, ref) => /* @__PURE__ */ jsx35(
3117
3131
  "thead",
3118
3132
  {
3119
3133
  ref,
@@ -3127,7 +3141,7 @@ var TableHeader = React26.forwardRef(({ className, sticky = false, ...props }, r
3127
3141
  }
3128
3142
  ));
3129
3143
  TableHeader.displayName = "TableHeader";
3130
- var TableBody = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3144
+ var TableBody = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3131
3145
  "tbody",
3132
3146
  {
3133
3147
  ref,
@@ -3137,7 +3151,7 @@ var TableBody = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3137
3151
  }
3138
3152
  ));
3139
3153
  TableBody.displayName = "TableBody";
3140
- var TableFooter = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3154
+ var TableFooter = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3141
3155
  "tfoot",
3142
3156
  {
3143
3157
  ref,
@@ -3150,7 +3164,7 @@ var TableFooter = React26.forwardRef(({ className, ...props }, ref) => /* @__PUR
3150
3164
  }
3151
3165
  ));
3152
3166
  TableFooter.displayName = "TableFooter";
3153
- var TableRow = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3167
+ var TableRow = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3154
3168
  "tr",
3155
3169
  {
3156
3170
  ref,
@@ -3163,9 +3177,9 @@ var TableRow = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3163
3177
  }
3164
3178
  ));
3165
3179
  TableRow.displayName = "TableRow";
3166
- var TableHead = React26.forwardRef(({ className, ...props }, ref) => {
3180
+ var TableHead = React27.forwardRef(({ className, ...props }, ref) => {
3167
3181
  const size = useTableSize();
3168
- return /* @__PURE__ */ jsx34(
3182
+ return /* @__PURE__ */ jsx35(
3169
3183
  "th",
3170
3184
  {
3171
3185
  ref,
@@ -3180,9 +3194,9 @@ var TableHead = React26.forwardRef(({ className, ...props }, ref) => {
3180
3194
  );
3181
3195
  });
3182
3196
  TableHead.displayName = "TableHead";
3183
- var TableCell = React26.forwardRef(({ className, ...props }, ref) => {
3197
+ var TableCell = React27.forwardRef(({ className, ...props }, ref) => {
3184
3198
  const size = useTableSize();
3185
- return /* @__PURE__ */ jsx34(
3199
+ return /* @__PURE__ */ jsx35(
3186
3200
  "td",
3187
3201
  {
3188
3202
  ref,
@@ -3197,7 +3211,7 @@ var TableCell = React26.forwardRef(({ className, ...props }, ref) => {
3197
3211
  );
3198
3212
  });
3199
3213
  TableCell.displayName = "TableCell";
3200
- var TableCaption = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3214
+ var TableCaption = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3201
3215
  "caption",
3202
3216
  {
3203
3217
  ref,
@@ -3210,11 +3224,11 @@ TableCaption.displayName = "TableCaption";
3210
3224
 
3211
3225
  // src/tabs.tsx
3212
3226
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3213
- import * as React27 from "react";
3214
- import { jsx as jsx35 } from "react/jsx-runtime";
3227
+ import * as React28 from "react";
3228
+ import { jsx as jsx36 } from "react/jsx-runtime";
3215
3229
  var Tabs = TabsPrimitive.Root;
3216
3230
  var TABS_TRIGGER_BASE = "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm";
3217
- var TabsList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3231
+ var TabsList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3218
3232
  TabsPrimitive.List,
3219
3233
  {
3220
3234
  ref,
@@ -3227,7 +3241,7 @@ var TabsList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3227
3241
  }
3228
3242
  ));
3229
3243
  TabsList.displayName = TabsPrimitive.List.displayName;
3230
- var TabsTrigger = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3244
+ var TabsTrigger = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3231
3245
  TabsPrimitive.Trigger,
3232
3246
  {
3233
3247
  ref,
@@ -3241,7 +3255,7 @@ var TabsTrigger = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
3241
3255
  }
3242
3256
  ));
3243
3257
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3244
- var TabsTriggerCore = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3258
+ var TabsTriggerCore = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3245
3259
  TabsPrimitive.Trigger,
3246
3260
  {
3247
3261
  ref,
@@ -3251,7 +3265,7 @@ var TabsTriggerCore = React27.forwardRef(({ className, ...props }, ref) => /* @_
3251
3265
  }
3252
3266
  ));
3253
3267
  TabsTriggerCore.displayName = TabsPrimitive.Trigger.displayName;
3254
- var TabsContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3268
+ var TabsContent = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
3255
3269
  TabsPrimitive.Content,
3256
3270
  {
3257
3271
  ref,
@@ -3267,8 +3281,8 @@ var TabsContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
3267
3281
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3268
3282
 
3269
3283
  // src/textarea.tsx
3270
- import * as React28 from "react";
3271
- import { jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
3284
+ import * as React29 from "react";
3285
+ import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
3272
3286
  var FILL_HEIGHT_REGEX = /(?:^|\s)(h-full|h-dvh|flex-1|grow)(?:\s|$)/;
3273
3287
  var FILL_WIDTH_REGEX = /(?:^|\s)(w-full|w-screen)(?:\s|$)/;
3274
3288
  function getStretchClasses(className) {
@@ -3281,7 +3295,7 @@ function getStretchClasses(className) {
3281
3295
  var TEXTAREA_ELEVATED_CLASS = "flex h-auto w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground shadow-textarea transition duration-400 placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50";
3282
3296
  var TEXTAREA_CONTROL_CLASS = "flex w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm text-foreground shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50";
3283
3297
  function useAutoGrow(ref, value, autoGrow = false, minHeight, maxHeight) {
3284
- React28.useEffect(() => {
3298
+ React29.useEffect(() => {
3285
3299
  if (!autoGrow || !ref.current) return;
3286
3300
  const textarea = ref.current;
3287
3301
  textarea.style.height = "auto";
@@ -3297,8 +3311,8 @@ function useAutoGrow(ref, value, autoGrow = false, minHeight, maxHeight) {
3297
3311
  }, [value, autoGrow, minHeight, maxHeight, ref]);
3298
3312
  }
3299
3313
  function useMergedTextareaRef(forwarded) {
3300
- const internal = React28.useRef(null);
3301
- const callback = React28.useCallback(
3314
+ const internal = React29.useRef(null);
3315
+ const callback = React29.useCallback(
3302
3316
  (node) => {
3303
3317
  internal.current = node;
3304
3318
  if (typeof forwarded === "function") forwarded(node);
@@ -3315,13 +3329,13 @@ function boxStyle(minHeight, maxHeight) {
3315
3329
  maxHeight: maxHeight ? `${maxHeight}px` : void 0
3316
3330
  };
3317
3331
  }
3318
- var Textarea = React28.forwardRef(
3332
+ var Textarea = React29.forwardRef(
3319
3333
  ({ className, autoGrow, minHeight, maxHeight, wrapperClassName, ...props }, forwarded) => {
3320
3334
  const { ref, callback } = useMergedTextareaRef(forwarded);
3321
3335
  const stretchClasses = getStretchClasses(className);
3322
3336
  const needsWrapper = Boolean(wrapperClassName || stretchClasses);
3323
3337
  useAutoGrow(ref, props.value, autoGrow, minHeight, maxHeight);
3324
- const textarea = /* @__PURE__ */ jsx36(
3338
+ const textarea = /* @__PURE__ */ jsx37(
3325
3339
  "textarea",
3326
3340
  {
3327
3341
  ref: callback,
@@ -3337,15 +3351,15 @@ var Textarea = React28.forwardRef(
3337
3351
  }
3338
3352
  );
3339
3353
  if (!needsWrapper) return textarea;
3340
- return /* @__PURE__ */ jsx36("div", { className: cn(stretchClasses, wrapperClassName), children: textarea });
3354
+ return /* @__PURE__ */ jsx37("div", { className: cn(stretchClasses, wrapperClassName), children: textarea });
3341
3355
  }
3342
3356
  );
3343
3357
  Textarea.displayName = "Textarea";
3344
- var BasicTextarea = React28.forwardRef(
3358
+ var BasicTextarea = React29.forwardRef(
3345
3359
  ({ className, autoGrow, minHeight, maxHeight, ...props }, forwarded) => {
3346
3360
  const { ref, callback } = useMergedTextareaRef(forwarded);
3347
3361
  useAutoGrow(ref, props.value, autoGrow, minHeight, maxHeight);
3348
- return /* @__PURE__ */ jsx36(
3362
+ return /* @__PURE__ */ jsx37(
3349
3363
  "textarea",
3350
3364
  {
3351
3365
  ref: callback,
@@ -3363,7 +3377,7 @@ var BasicTextarea = React28.forwardRef(
3363
3377
  }
3364
3378
  );
3365
3379
  BasicTextarea.displayName = "BasicTextarea";
3366
- var TextareaWithPrefix = React28.forwardRef(
3380
+ var TextareaWithPrefix = React29.forwardRef(
3367
3381
  ({
3368
3382
  prefix,
3369
3383
  className,
@@ -3380,8 +3394,8 @@ var TextareaWithPrefix = React28.forwardRef(
3380
3394
  {
3381
3395
  className: cn("relative", getStretchClasses(className), wrapperClassName),
3382
3396
  children: [
3383
- prefix ? /* @__PURE__ */ jsx36("div", { className: "pointer-events-none absolute left-3 top-3 z-10 text-muted-foreground", children: prefix }) : null,
3384
- /* @__PURE__ */ jsx36(
3397
+ prefix ? /* @__PURE__ */ jsx37("div", { className: "pointer-events-none absolute left-3 top-3 z-10 text-muted-foreground", children: prefix }) : null,
3398
+ /* @__PURE__ */ jsx37(
3385
3399
  "textarea",
3386
3400
  {
3387
3401
  ref: callback,
@@ -3460,13 +3474,13 @@ function useScrollFade() {
3460
3474
 
3461
3475
  // src/hover-card.tsx
3462
3476
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
3463
- import * as React29 from "react";
3464
- import { jsx as jsx37 } from "react/jsx-runtime";
3477
+ import * as React30 from "react";
3478
+ import { jsx as jsx38 } from "react/jsx-runtime";
3465
3479
  var HoverCard = HoverCardPrimitive.Root;
3466
3480
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
3467
- var HoverCardContent = React29.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => {
3481
+ var HoverCardContent = React30.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => {
3468
3482
  const resolved = usePortalContainer(container);
3469
- return /* @__PURE__ */ jsx37(HoverCardPrimitive.Portal, { container: resolved ?? null, children: /* @__PURE__ */ jsx37(
3483
+ return /* @__PURE__ */ jsx38(HoverCardPrimitive.Portal, { container: resolved ?? null, children: /* @__PURE__ */ jsx38(
3470
3484
  HoverCardPrimitive.Content,
3471
3485
  {
3472
3486
  ref,
@@ -3485,9 +3499,9 @@ HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
3485
3499
 
3486
3500
  // src/radio-group.tsx
3487
3501
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3488
- import * as React30 from "react";
3489
- import { jsx as jsx38 } from "react/jsx-runtime";
3490
- var RadioGroupSizeContext = React30.createContext("md");
3502
+ import * as React31 from "react";
3503
+ import { jsx as jsx39 } from "react/jsx-runtime";
3504
+ var RadioGroupSizeContext = React31.createContext("md");
3491
3505
  var CONTROL_CLASSES = {
3492
3506
  sm: "h-3.5 w-3.5",
3493
3507
  md: "h-4 w-4",
@@ -3498,7 +3512,7 @@ var DOT_CLASSES = {
3498
3512
  md: "h-1.5 w-1.5",
3499
3513
  lg: "h-2 w-2"
3500
3514
  };
3501
- var RadioGroup3 = React30.forwardRef(({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx38(RadioGroupSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx38(
3515
+ var RadioGroup3 = React31.forwardRef(({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx39(RadioGroupSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx39(
3502
3516
  RadioGroupPrimitive.Root,
3503
3517
  {
3504
3518
  ref,
@@ -3508,10 +3522,10 @@ var RadioGroup3 = React30.forwardRef(({ className, size = "md", ...props }, ref)
3508
3522
  }
3509
3523
  ) }));
3510
3524
  RadioGroup3.displayName = RadioGroupPrimitive.Root.displayName;
3511
- var RadioGroupItem = React30.forwardRef(({ className, size, ...props }, ref) => {
3512
- const groupSize = React30.useContext(RadioGroupSizeContext);
3525
+ var RadioGroupItem = React31.forwardRef(({ className, size, ...props }, ref) => {
3526
+ const groupSize = React31.useContext(RadioGroupSizeContext);
3513
3527
  const resolved = size ?? groupSize;
3514
- return /* @__PURE__ */ jsx38(
3528
+ return /* @__PURE__ */ jsx39(
3515
3529
  RadioGroupPrimitive.Item,
3516
3530
  {
3517
3531
  ref,
@@ -3528,7 +3542,7 @@ var RadioGroupItem = React30.forwardRef(({ className, size, ...props }, ref) =>
3528
3542
  className
3529
3543
  ),
3530
3544
  ...props,
3531
- children: /* @__PURE__ */ jsx38(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx38(
3545
+ children: /* @__PURE__ */ jsx39(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx39(
3532
3546
  "div",
3533
3547
  {
3534
3548
  className: cn("rounded-full bg-primary-foreground", DOT_CLASSES[resolved])
@@ -3541,7 +3555,7 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
3541
3555
 
3542
3556
  // src/resizable.tsx
3543
3557
  import { Group as Group4, Panel, Separator as Separator5 } from "react-resizable-panels";
3544
- import { jsx as jsx39 } from "react/jsx-runtime";
3558
+ import { jsx as jsx40 } from "react/jsx-runtime";
3545
3559
  var HANDLE_SIZES = {
3546
3560
  xs: "w-0.5 [&[aria-orientation=horizontal]]:h-0.5 [&[aria-orientation=horizontal]]:w-full",
3547
3561
  sm: "w-1 [&[aria-orientation=horizontal]]:h-1 [&[aria-orientation=horizontal]]:w-full",
@@ -3555,7 +3569,7 @@ var HANDLE_SIZES = {
3555
3569
  var ResizablePanelGroup = ({
3556
3570
  className,
3557
3571
  ...props
3558
- }) => /* @__PURE__ */ jsx39(
3572
+ }) => /* @__PURE__ */ jsx40(
3559
3573
  Group4,
3560
3574
  {
3561
3575
  "data-slot": "resizable-group",
@@ -3570,7 +3584,7 @@ var ResizableHandle = ({
3570
3584
  size = "xs",
3571
3585
  className,
3572
3586
  ...props
3573
- }) => /* @__PURE__ */ jsx39(
3587
+ }) => /* @__PURE__ */ jsx40(
3574
3588
  Separator5,
3575
3589
  {
3576
3590
  "data-slot": "resizable-handle",
@@ -3590,15 +3604,15 @@ var ResizableHandle = ({
3590
3604
  className
3591
3605
  ),
3592
3606
  ...props,
3593
- children: withHandle ? /* @__PURE__ */ jsx39("div", { className: "z-10 flex h-8 w-4 items-center justify-center rounded-sm border bg-border group-aria-[orientation=horizontal]/handle:h-4 group-aria-[orientation=horizontal]/handle:w-8", children: /* @__PURE__ */ jsx39(DragHandleDots2Icon, { className: "h-2.5 w-2.5 group-aria-[orientation=horizontal]/handle:rotate-90" }) }) : null
3607
+ children: withHandle ? /* @__PURE__ */ jsx40("div", { className: "z-10 flex h-8 w-4 items-center justify-center rounded-sm border bg-border group-aria-[orientation=horizontal]/handle:h-4 group-aria-[orientation=horizontal]/handle:w-8", children: /* @__PURE__ */ jsx40(DragHandleDots2Icon, { className: "h-2.5 w-2.5 group-aria-[orientation=horizontal]/handle:rotate-90" }) }) : null
3594
3608
  }
3595
3609
  );
3596
3610
  ResizableHandle.displayName = "ResizableHandle";
3597
3611
 
3598
3612
  // src/slider.tsx
3599
3613
  import * as SliderPrimitive from "@radix-ui/react-slider";
3600
- import * as React31 from "react";
3601
- import { jsx as jsx40, jsxs as jsxs20 } from "react/jsx-runtime";
3614
+ import * as React32 from "react";
3615
+ import { jsx as jsx41, jsxs as jsxs20 } from "react/jsx-runtime";
3602
3616
  var TRACK_CLASSES = {
3603
3617
  sm: "h-1",
3604
3618
  md: "h-1.5",
@@ -3609,7 +3623,7 @@ var THUMB_CLASSES = {
3609
3623
  md: "h-4 w-4",
3610
3624
  lg: "h-5 w-5"
3611
3625
  };
3612
- var Slider = React31.forwardRef(({ className, size = "md", ...props }, ref) => {
3626
+ var Slider = React32.forwardRef(({ className, size = "md", ...props }, ref) => {
3613
3627
  const thumbCount = Math.max(
3614
3628
  1,
3615
3629
  (props.value ?? props.defaultValue ?? [0]).length
@@ -3626,7 +3640,7 @@ var Slider = React31.forwardRef(({ className, size = "md", ...props }, ref) => {
3626
3640
  ),
3627
3641
  ...props,
3628
3642
  children: [
3629
- /* @__PURE__ */ jsx40(
3643
+ /* @__PURE__ */ jsx41(
3630
3644
  SliderPrimitive.Track,
3631
3645
  {
3632
3646
  "data-slot": "slider-track",
@@ -3635,7 +3649,7 @@ var Slider = React31.forwardRef(({ className, size = "md", ...props }, ref) => {
3635
3649
  TRACK_CLASSES[size],
3636
3650
  "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
3637
3651
  ),
3638
- children: /* @__PURE__ */ jsx40(
3652
+ children: /* @__PURE__ */ jsx41(
3639
3653
  SliderPrimitive.Range,
3640
3654
  {
3641
3655
  "data-slot": "slider-range",
@@ -3644,7 +3658,7 @@ var Slider = React31.forwardRef(({ className, size = "md", ...props }, ref) => {
3644
3658
  )
3645
3659
  }
3646
3660
  ),
3647
- Array.from({ length: thumbCount }, (_, index) => /* @__PURE__ */ jsx40(
3661
+ Array.from({ length: thumbCount }, (_, index) => /* @__PURE__ */ jsx41(
3648
3662
  SliderPrimitive.Thumb,
3649
3663
  {
3650
3664
  "data-slot": "slider-thumb",
@@ -3671,8 +3685,8 @@ Slider.displayName = SliderPrimitive.Root.displayName;
3671
3685
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
3672
3686
  import * as TogglePrimitive from "@radix-ui/react-toggle";
3673
3687
  import { cva as cva6 } from "class-variance-authority";
3674
- import * as React32 from "react";
3675
- import { jsx as jsx41 } from "react/jsx-runtime";
3688
+ import * as React33 from "react";
3689
+ import { jsx as jsx42 } from "react/jsx-runtime";
3676
3690
  var toggleVariants = cva6(
3677
3691
  "inline-flex cursor-pointer items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
3678
3692
  {
@@ -3693,7 +3707,7 @@ var toggleVariants = cva6(
3693
3707
  }
3694
3708
  }
3695
3709
  );
3696
- var Toggle = React32.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx41(
3710
+ var Toggle = React33.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx42(
3697
3711
  TogglePrimitive.Root,
3698
3712
  {
3699
3713
  ref,
@@ -3703,21 +3717,21 @@ var Toggle = React32.forwardRef(({ className, variant, size, ...props }, ref) =>
3703
3717
  }
3704
3718
  ));
3705
3719
  Toggle.displayName = TogglePrimitive.Root.displayName;
3706
- var ToggleGroupContext = React32.createContext({ size: "default", variant: "default" });
3707
- var ToggleGroup = React32.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx41(
3720
+ var ToggleGroupContext = React33.createContext({ size: "default", variant: "default" });
3721
+ var ToggleGroup = React33.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx42(
3708
3722
  ToggleGroupPrimitive.Root,
3709
3723
  {
3710
3724
  ref,
3711
3725
  "data-slot": "toggle-group",
3712
3726
  className: cn("flex items-center justify-center gap-1", className),
3713
3727
  ...props,
3714
- children: /* @__PURE__ */ jsx41(ToggleGroupContext.Provider, { value: { variant, size }, children })
3728
+ children: /* @__PURE__ */ jsx42(ToggleGroupContext.Provider, { value: { variant, size }, children })
3715
3729
  }
3716
3730
  ));
3717
3731
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
3718
- var ToggleGroupItem = React32.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3719
- const context = React32.useContext(ToggleGroupContext);
3720
- return /* @__PURE__ */ jsx41(
3732
+ var ToggleGroupItem = React33.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3733
+ const context = React33.useContext(ToggleGroupContext);
3734
+ return /* @__PURE__ */ jsx42(
3721
3735
  ToggleGroupPrimitive.Item,
3722
3736
  {
3723
3737
  ref,
@@ -3738,14 +3752,14 @@ ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
3738
3752
 
3739
3753
  // src/tooltip.tsx
3740
3754
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3741
- import * as React33 from "react";
3742
- import { jsx as jsx42 } from "react/jsx-runtime";
3755
+ import * as React34 from "react";
3756
+ import { jsx as jsx43 } from "react/jsx-runtime";
3743
3757
  var TooltipProvider = TooltipPrimitive.Provider;
3744
3758
  var Tooltip = TooltipPrimitive.Root;
3745
3759
  var TooltipTrigger = TooltipPrimitive.Trigger;
3746
- var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => {
3760
+ var TooltipContent = React34.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => {
3747
3761
  const resolved = usePortalContainer(container);
3748
- return /* @__PURE__ */ jsx42(TooltipPrimitive.Portal, { container: resolved ?? null, children: /* @__PURE__ */ jsx42(
3762
+ return /* @__PURE__ */ jsx43(TooltipPrimitive.Portal, { container: resolved ?? null, children: /* @__PURE__ */ jsx43(
3749
3763
  TooltipPrimitive.Content,
3750
3764
  {
3751
3765
  ref,