@bergetai/ui 0.14.0 → 0.14.2

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
@@ -1115,19 +1115,121 @@ var Skeleton2 = React11.forwardRef(({ className, ...props }, ref) => {
1115
1115
  });
1116
1116
  Skeleton2.displayName = "Skeleton";
1117
1117
 
1118
- // src/components/dialog/Dialog.tsx
1118
+ // src/components/progress/Progress.tsx
1119
1119
  import * as React12 from "react";
1120
+
1121
+ // src/primitives/progress.tsx
1122
+ import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
1123
+ import { cn as cn6 } from "cn";
1124
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
1125
+ function Progress({
1126
+ className,
1127
+ children,
1128
+ value,
1129
+ ...props
1130
+ }) {
1131
+ return /* @__PURE__ */ jsxs6(
1132
+ ProgressPrimitive.Root,
1133
+ {
1134
+ value,
1135
+ "data-slot": "progress",
1136
+ className: cn6("flex flex-wrap gap-3", className),
1137
+ ...props,
1138
+ children: [
1139
+ children,
1140
+ /* @__PURE__ */ jsx16(ProgressTrack, { children: /* @__PURE__ */ jsx16(ProgressIndicator, {}) })
1141
+ ]
1142
+ }
1143
+ );
1144
+ }
1145
+ function ProgressTrack({ className, ...props }) {
1146
+ return /* @__PURE__ */ jsx16(
1147
+ ProgressPrimitive.Track,
1148
+ {
1149
+ className: cn6(
1150
+ // bg-secondary, not bg-muted: dark --muted resolves to granite-950,
1151
+ // the same value as --background (Bedrock) — the track would be
1152
+ // invisible on page backgrounds. --secondary stays visible on both
1153
+ // the base background and card surfaces, in both themes.
1154
+ "relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-secondary",
1155
+ className
1156
+ ),
1157
+ "data-slot": "progress-track",
1158
+ ...props
1159
+ }
1160
+ );
1161
+ }
1162
+ function ProgressIndicator({
1163
+ className,
1164
+ ...props
1165
+ }) {
1166
+ return /* @__PURE__ */ jsx16(
1167
+ ProgressPrimitive.Indicator,
1168
+ {
1169
+ "data-slot": "progress-indicator",
1170
+ className: cn6("h-full bg-foreground transition-all", className),
1171
+ ...props
1172
+ }
1173
+ );
1174
+ }
1175
+ function ProgressLabel({ className, ...props }) {
1176
+ return /* @__PURE__ */ jsx16(
1177
+ ProgressPrimitive.Label,
1178
+ {
1179
+ className: cn6("text-sm font-medium", className),
1180
+ "data-slot": "progress-label",
1181
+ ...props
1182
+ }
1183
+ );
1184
+ }
1185
+ function ProgressValue({ className, ...props }) {
1186
+ return /* @__PURE__ */ jsx16(
1187
+ ProgressPrimitive.Value,
1188
+ {
1189
+ className: cn6(
1190
+ "ml-auto text-sm text-muted-foreground tabular-nums",
1191
+ className
1192
+ ),
1193
+ "data-slot": "progress-value",
1194
+ ...props
1195
+ }
1196
+ );
1197
+ }
1198
+
1199
+ // src/components/progress/Progress.tsx
1200
+ import { jsx as jsx17 } from "react/jsx-runtime";
1201
+ var Progress2 = React12.forwardRef(
1202
+ ({ className, value, ...props }, ref) => {
1203
+ const indeterminate = value == null;
1204
+ return /* @__PURE__ */ jsx17(
1205
+ Progress,
1206
+ {
1207
+ ref,
1208
+ value,
1209
+ className: cn(
1210
+ indeterminate && "[&_[data-slot=progress-indicator]]:w-1/3 [&_[data-slot=progress-indicator]]:animate-progress-indeterminate",
1211
+ className
1212
+ ),
1213
+ ...props
1214
+ }
1215
+ );
1216
+ }
1217
+ );
1218
+ Progress2.displayName = "Progress";
1219
+
1220
+ // src/components/dialog/Dialog.tsx
1221
+ import * as React13 from "react";
1120
1222
  import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
1121
1223
  import { X } from "lucide-react";
1122
- import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
1224
+ import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
1123
1225
  var Dialog = DialogPrimitive.Root;
1124
- var DialogTrigger = React12.forwardRef(
1125
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx16(DialogPrimitive.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1226
+ var DialogTrigger = React13.forwardRef(
1227
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx18(DialogPrimitive.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1126
1228
  );
1127
1229
  DialogTrigger.displayName = "DialogTrigger";
1128
1230
  var DialogPortal = DialogPrimitive.Portal;
1129
1231
  var DialogClose = DialogPrimitive.Close;
1130
- var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
1232
+ var DialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1131
1233
  DialogPrimitive.Backdrop,
1132
1234
  {
1133
1235
  ref,
@@ -1139,9 +1241,9 @@ var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__P
1139
1241
  }
1140
1242
  ));
1141
1243
  DialogOverlay.displayName = "DialogOverlay";
1142
- var DialogContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs6(DialogPortal, { children: [
1143
- /* @__PURE__ */ jsx16(DialogOverlay, {}),
1144
- /* @__PURE__ */ jsxs6(
1244
+ var DialogContent = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(DialogPortal, { children: [
1245
+ /* @__PURE__ */ jsx18(DialogOverlay, {}),
1246
+ /* @__PURE__ */ jsxs7(
1145
1247
  DialogPrimitive.Popup,
1146
1248
  {
1147
1249
  ref,
@@ -1152,18 +1254,18 @@ var DialogContent = React12.forwardRef(({ className, children, ...props }, ref)
1152
1254
  ...props,
1153
1255
  children: [
1154
1256
  children,
1155
- /* @__PURE__ */ jsxs6(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1156
- /* @__PURE__ */ jsx16(X, { className: "size-4" }),
1157
- /* @__PURE__ */ jsx16("span", { className: "sr-only", children: "Close" })
1257
+ /* @__PURE__ */ jsxs7(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1258
+ /* @__PURE__ */ jsx18(X, { className: "size-4" }),
1259
+ /* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Close" })
1158
1260
  ] })
1159
1261
  ]
1160
1262
  }
1161
1263
  )
1162
1264
  ] }));
1163
1265
  DialogContent.displayName = "DialogContent";
1164
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx16("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1266
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx18("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1165
1267
  DialogHeader.displayName = "DialogHeader";
1166
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx16(
1268
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx18(
1167
1269
  "div",
1168
1270
  {
1169
1271
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1171,21 +1273,21 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx16(
1171
1273
  }
1172
1274
  );
1173
1275
  DialogFooter.displayName = "DialogFooter";
1174
- var DialogTitle = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx16(
1276
+ var DialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx18(
1175
1277
  DialogPrimitive.Title,
1176
1278
  {
1177
1279
  ref,
1178
- render: /* @__PURE__ */ jsx16(Typography, { variant: "h5", color: "default", as: "h2", className }),
1280
+ render: /* @__PURE__ */ jsx18(Typography, { variant: "h5", color: "default", as: "h2", className }),
1179
1281
  ...props,
1180
1282
  children
1181
1283
  }
1182
1284
  ));
1183
1285
  DialogTitle.displayName = "DialogTitle";
1184
- var DialogDescription = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx16(
1286
+ var DialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx18(
1185
1287
  DialogPrimitive.Description,
1186
1288
  {
1187
1289
  ref,
1188
- render: /* @__PURE__ */ jsx16(Typography, { variant: "small", color: "muted", className }),
1290
+ render: /* @__PURE__ */ jsx18(Typography, { variant: "small", color: "muted", className }),
1189
1291
  ...props,
1190
1292
  children
1191
1293
  }
@@ -1193,16 +1295,16 @@ var DialogDescription = React12.forwardRef(({ className, children, ...props }, r
1193
1295
  DialogDescription.displayName = "DialogDescription";
1194
1296
 
1195
1297
  // src/components/alert-dialog/AlertDialog.tsx
1196
- import * as React13 from "react";
1298
+ import * as React14 from "react";
1197
1299
  import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
1198
- import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
1300
+ import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
1199
1301
  var AlertDialog = AlertDialogPrimitive.Root;
1200
- var AlertDialogTrigger = React13.forwardRef(
1201
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(AlertDialogPrimitive.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1302
+ var AlertDialogTrigger = React14.forwardRef(
1303
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(AlertDialogPrimitive.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1202
1304
  );
1203
1305
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
1204
1306
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
1205
- var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1307
+ var AlertDialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1206
1308
  AlertDialogPrimitive.Backdrop,
1207
1309
  {
1208
1310
  ref,
@@ -1214,9 +1316,9 @@ var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /*
1214
1316
  }
1215
1317
  ));
1216
1318
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
1217
- var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs7(AlertDialogPortal, { children: [
1218
- /* @__PURE__ */ jsx17(AlertDialogOverlay, {}),
1219
- /* @__PURE__ */ jsx17(
1319
+ var AlertDialogContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs8(AlertDialogPortal, { children: [
1320
+ /* @__PURE__ */ jsx19(AlertDialogOverlay, {}),
1321
+ /* @__PURE__ */ jsx19(
1220
1322
  AlertDialogPrimitive.Popup,
1221
1323
  {
1222
1324
  ref,
@@ -1229,9 +1331,9 @@ var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /*
1229
1331
  )
1230
1332
  ] }));
1231
1333
  AlertDialogContent.displayName = "AlertDialogContent";
1232
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx17("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1334
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx19("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1233
1335
  AlertDialogHeader.displayName = "AlertDialogHeader";
1234
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx17(
1336
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx19(
1235
1337
  "div",
1236
1338
  {
1237
1339
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1239,27 +1341,27 @@ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx17(
1239
1341
  }
1240
1342
  );
1241
1343
  AlertDialogFooter.displayName = "AlertDialogFooter";
1242
- var AlertDialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1344
+ var AlertDialogTitle = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1243
1345
  AlertDialogPrimitive.Title,
1244
1346
  {
1245
1347
  ref,
1246
- render: /* @__PURE__ */ jsx17(Typography, { variant: "h5", color: "default", as: "h2", className }),
1348
+ render: /* @__PURE__ */ jsx19(Typography, { variant: "h5", color: "default", as: "h2", className }),
1247
1349
  ...props,
1248
1350
  children
1249
1351
  }
1250
1352
  ));
1251
1353
  AlertDialogTitle.displayName = "AlertDialogTitle";
1252
- var AlertDialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1354
+ var AlertDialogDescription = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1253
1355
  AlertDialogPrimitive.Description,
1254
1356
  {
1255
1357
  ref,
1256
- render: /* @__PURE__ */ jsx17(Typography, { variant: "small", color: "muted", className }),
1358
+ render: /* @__PURE__ */ jsx19(Typography, { variant: "small", color: "muted", className }),
1257
1359
  ...props,
1258
1360
  children
1259
1361
  }
1260
1362
  ));
1261
1363
  AlertDialogDescription.displayName = "AlertDialogDescription";
1262
- var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1364
+ var AlertDialogAction = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1263
1365
  AlertDialogPrimitive.Close,
1264
1366
  {
1265
1367
  ref,
@@ -1270,7 +1372,7 @@ var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...p
1270
1372
  }
1271
1373
  ));
1272
1374
  AlertDialogAction.displayName = "AlertDialogAction";
1273
- var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1375
+ var AlertDialogCancel = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1274
1376
  AlertDialogPrimitive.Close,
1275
1377
  {
1276
1378
  ref,
@@ -1283,21 +1385,21 @@ var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...p
1283
1385
  AlertDialogCancel.displayName = "AlertDialogCancel";
1284
1386
 
1285
1387
  // src/components/dropdown-menu/DropdownMenu.tsx
1286
- import * as React14 from "react";
1388
+ import * as React15 from "react";
1287
1389
 
1288
1390
  // src/primitives/dropdown-menu.tsx
1289
1391
  import { Menu as MenuPrimitive } from "@base-ui/react/menu";
1290
- import { cn as cn6 } from "cn";
1392
+ import { cn as cn7 } from "cn";
1291
1393
  import { ChevronRightIcon, CheckIcon } from "lucide-react";
1292
- import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
1394
+ import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
1293
1395
  function DropdownMenu({ ...props }) {
1294
- return /* @__PURE__ */ jsx18(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1396
+ return /* @__PURE__ */ jsx20(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1295
1397
  }
1296
1398
  function DropdownMenuPortal({ ...props }) {
1297
- return /* @__PURE__ */ jsx18(MenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1399
+ return /* @__PURE__ */ jsx20(MenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1298
1400
  }
1299
1401
  function DropdownMenuTrigger({ ...props }) {
1300
- return /* @__PURE__ */ jsx18(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1402
+ return /* @__PURE__ */ jsx20(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1301
1403
  }
1302
1404
  function DropdownMenuContent({
1303
1405
  align = "start",
@@ -1307,7 +1409,7 @@ function DropdownMenuContent({
1307
1409
  className,
1308
1410
  ...props
1309
1411
  }) {
1310
- return /* @__PURE__ */ jsx18(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx18(
1412
+ return /* @__PURE__ */ jsx20(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx20(
1311
1413
  MenuPrimitive.Positioner,
1312
1414
  {
1313
1415
  className: "isolate z-50 outline-none",
@@ -1315,11 +1417,11 @@ function DropdownMenuContent({
1315
1417
  alignOffset,
1316
1418
  side,
1317
1419
  sideOffset,
1318
- children: /* @__PURE__ */ jsx18(
1420
+ children: /* @__PURE__ */ jsx20(
1319
1421
  MenuPrimitive.Popup,
1320
1422
  {
1321
1423
  "data-slot": "dropdown-menu-content",
1322
- className: cn6("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1424
+ className: cn7("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1323
1425
  ...props
1324
1426
  }
1325
1427
  )
@@ -1327,19 +1429,19 @@ function DropdownMenuContent({
1327
1429
  ) });
1328
1430
  }
1329
1431
  function DropdownMenuGroup({ ...props }) {
1330
- return /* @__PURE__ */ jsx18(MenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
1432
+ return /* @__PURE__ */ jsx20(MenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
1331
1433
  }
1332
1434
  function DropdownMenuLabel({
1333
1435
  className,
1334
1436
  inset,
1335
1437
  ...props
1336
1438
  }) {
1337
- return /* @__PURE__ */ jsx18(
1439
+ return /* @__PURE__ */ jsx20(
1338
1440
  MenuPrimitive.GroupLabel,
1339
1441
  {
1340
1442
  "data-slot": "dropdown-menu-label",
1341
1443
  "data-inset": inset,
1342
- className: cn6(
1444
+ className: cn7(
1343
1445
  "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1344
1446
  className
1345
1447
  ),
@@ -1353,13 +1455,13 @@ function DropdownMenuItem({
1353
1455
  variant = "default",
1354
1456
  ...props
1355
1457
  }) {
1356
- return /* @__PURE__ */ jsx18(
1458
+ return /* @__PURE__ */ jsx20(
1357
1459
  MenuPrimitive.Item,
1358
1460
  {
1359
1461
  "data-slot": "dropdown-menu-item",
1360
1462
  "data-inset": inset,
1361
1463
  "data-variant": variant,
1362
- className: cn6(
1464
+ className: cn7(
1363
1465
  "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
1364
1466
  className
1365
1467
  ),
@@ -1368,7 +1470,7 @@ function DropdownMenuItem({
1368
1470
  );
1369
1471
  }
1370
1472
  function DropdownMenuSub({ ...props }) {
1371
- return /* @__PURE__ */ jsx18(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1473
+ return /* @__PURE__ */ jsx20(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1372
1474
  }
1373
1475
  function DropdownMenuSubTrigger({
1374
1476
  className,
@@ -1376,19 +1478,19 @@ function DropdownMenuSubTrigger({
1376
1478
  children,
1377
1479
  ...props
1378
1480
  }) {
1379
- return /* @__PURE__ */ jsxs8(
1481
+ return /* @__PURE__ */ jsxs9(
1380
1482
  MenuPrimitive.SubmenuTrigger,
1381
1483
  {
1382
1484
  "data-slot": "dropdown-menu-sub-trigger",
1383
1485
  "data-inset": inset,
1384
- className: cn6(
1486
+ className: cn7(
1385
1487
  "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1386
1488
  className
1387
1489
  ),
1388
1490
  ...props,
1389
1491
  children: [
1390
1492
  children,
1391
- /* @__PURE__ */ jsx18(ChevronRightIcon, { className: "ml-auto" })
1493
+ /* @__PURE__ */ jsx20(ChevronRightIcon, { className: "ml-auto" })
1392
1494
  ]
1393
1495
  }
1394
1496
  );
@@ -1401,11 +1503,11 @@ function DropdownMenuSubContent({
1401
1503
  className,
1402
1504
  ...props
1403
1505
  }) {
1404
- return /* @__PURE__ */ jsx18(
1506
+ return /* @__PURE__ */ jsx20(
1405
1507
  DropdownMenuContent,
1406
1508
  {
1407
1509
  "data-slot": "dropdown-menu-sub-content",
1408
- className: cn6("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1510
+ className: cn7("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1409
1511
  align,
1410
1512
  alignOffset,
1411
1513
  side,
@@ -1421,24 +1523,24 @@ function DropdownMenuCheckboxItem({
1421
1523
  inset,
1422
1524
  ...props
1423
1525
  }) {
1424
- return /* @__PURE__ */ jsxs8(
1526
+ return /* @__PURE__ */ jsxs9(
1425
1527
  MenuPrimitive.CheckboxItem,
1426
1528
  {
1427
1529
  "data-slot": "dropdown-menu-checkbox-item",
1428
1530
  "data-inset": inset,
1429
- className: cn6(
1531
+ className: cn7(
1430
1532
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1431
1533
  className
1432
1534
  ),
1433
1535
  checked,
1434
1536
  ...props,
1435
1537
  children: [
1436
- /* @__PURE__ */ jsx18(
1538
+ /* @__PURE__ */ jsx20(
1437
1539
  "span",
1438
1540
  {
1439
1541
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1440
1542
  "data-slot": "dropdown-menu-checkbox-item-indicator",
1441
- children: /* @__PURE__ */ jsx18(MenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx18(
1543
+ children: /* @__PURE__ */ jsx20(MenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx20(
1442
1544
  CheckIcon,
1443
1545
  {}
1444
1546
  ) })
@@ -1450,7 +1552,7 @@ function DropdownMenuCheckboxItem({
1450
1552
  );
1451
1553
  }
1452
1554
  function DropdownMenuRadioGroup({ ...props }) {
1453
- return /* @__PURE__ */ jsx18(
1555
+ return /* @__PURE__ */ jsx20(
1454
1556
  MenuPrimitive.RadioGroup,
1455
1557
  {
1456
1558
  "data-slot": "dropdown-menu-radio-group",
@@ -1464,23 +1566,23 @@ function DropdownMenuRadioItem({
1464
1566
  inset,
1465
1567
  ...props
1466
1568
  }) {
1467
- return /* @__PURE__ */ jsxs8(
1569
+ return /* @__PURE__ */ jsxs9(
1468
1570
  MenuPrimitive.RadioItem,
1469
1571
  {
1470
1572
  "data-slot": "dropdown-menu-radio-item",
1471
1573
  "data-inset": inset,
1472
- className: cn6(
1574
+ className: cn7(
1473
1575
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1474
1576
  className
1475
1577
  ),
1476
1578
  ...props,
1477
1579
  children: [
1478
- /* @__PURE__ */ jsx18(
1580
+ /* @__PURE__ */ jsx20(
1479
1581
  "span",
1480
1582
  {
1481
1583
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1482
1584
  "data-slot": "dropdown-menu-radio-item-indicator",
1483
- children: /* @__PURE__ */ jsx18(MenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx18(
1585
+ children: /* @__PURE__ */ jsx20(MenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx20(
1484
1586
  CheckIcon,
1485
1587
  {}
1486
1588
  ) })
@@ -1495,11 +1597,11 @@ function DropdownMenuSeparator({
1495
1597
  className,
1496
1598
  ...props
1497
1599
  }) {
1498
- return /* @__PURE__ */ jsx18(
1600
+ return /* @__PURE__ */ jsx20(
1499
1601
  MenuPrimitive.Separator,
1500
1602
  {
1501
1603
  "data-slot": "dropdown-menu-separator",
1502
- className: cn6("-mx-1 my-1 h-px bg-border", className),
1604
+ className: cn7("-mx-1 my-1 h-px bg-border", className),
1503
1605
  ...props
1504
1606
  }
1505
1607
  );
@@ -1508,11 +1610,11 @@ function DropdownMenuShortcut({
1508
1610
  className,
1509
1611
  ...props
1510
1612
  }) {
1511
- return /* @__PURE__ */ jsx18(
1613
+ return /* @__PURE__ */ jsx20(
1512
1614
  "span",
1513
1615
  {
1514
1616
  "data-slot": "dropdown-menu-shortcut",
1515
- className: cn6(
1617
+ className: cn7(
1516
1618
  "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1517
1619
  className
1518
1620
  ),
@@ -1522,13 +1624,13 @@ function DropdownMenuShortcut({
1522
1624
  }
1523
1625
 
1524
1626
  // src/components/dropdown-menu/DropdownMenu.tsx
1525
- import { jsx as jsx19 } from "react/jsx-runtime";
1526
- var DropdownMenuTrigger2 = React14.forwardRef(
1527
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1627
+ import { jsx as jsx21 } from "react/jsx-runtime";
1628
+ var DropdownMenuTrigger2 = React15.forwardRef(
1629
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx21(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1528
1630
  );
1529
1631
  DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1530
- var DropdownMenuSubTrigger2 = React14.forwardRef(
1531
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1632
+ var DropdownMenuSubTrigger2 = React15.forwardRef(
1633
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx21(
1532
1634
  DropdownMenuSubTrigger,
1533
1635
  {
1534
1636
  ref,
@@ -1545,8 +1647,8 @@ var DropdownMenuSubTrigger2 = React14.forwardRef(
1545
1647
  )
1546
1648
  );
1547
1649
  DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1548
- var DropdownMenuSubContent2 = React14.forwardRef(
1549
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1650
+ var DropdownMenuSubContent2 = React15.forwardRef(
1651
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1550
1652
  DropdownMenuSubContent,
1551
1653
  {
1552
1654
  ref,
@@ -1559,8 +1661,8 @@ var DropdownMenuSubContent2 = React14.forwardRef(
1559
1661
  )
1560
1662
  );
1561
1663
  DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1562
- var DropdownMenuContent2 = React14.forwardRef(
1563
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1664
+ var DropdownMenuContent2 = React15.forwardRef(
1665
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1564
1666
  DropdownMenuContent,
1565
1667
  {
1566
1668
  ref,
@@ -1573,8 +1675,8 @@ var DropdownMenuContent2 = React14.forwardRef(
1573
1675
  )
1574
1676
  );
1575
1677
  DropdownMenuContent2.displayName = "DropdownMenuContent";
1576
- var DropdownMenuItem2 = React14.forwardRef(
1577
- ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ jsx19(
1678
+ var DropdownMenuItem2 = React15.forwardRef(
1679
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ jsx21(
1578
1680
  DropdownMenuItem,
1579
1681
  {
1580
1682
  ref,
@@ -1592,8 +1694,8 @@ var DropdownMenuItem2 = React14.forwardRef(
1592
1694
  )
1593
1695
  );
1594
1696
  DropdownMenuItem2.displayName = "DropdownMenuItem";
1595
- var DropdownMenuCheckboxItem2 = React14.forwardRef(
1596
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx19(
1697
+ var DropdownMenuCheckboxItem2 = React15.forwardRef(
1698
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx21(
1597
1699
  DropdownMenuCheckboxItem,
1598
1700
  {
1599
1701
  ref,
@@ -1606,8 +1708,8 @@ var DropdownMenuCheckboxItem2 = React14.forwardRef(
1606
1708
  )
1607
1709
  );
1608
1710
  DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1609
- var DropdownMenuRadioItem2 = React14.forwardRef(
1610
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx19(
1711
+ var DropdownMenuRadioItem2 = React15.forwardRef(
1712
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx21(
1611
1713
  DropdownMenuRadioItem,
1612
1714
  {
1613
1715
  ref,
@@ -1620,8 +1722,8 @@ var DropdownMenuRadioItem2 = React14.forwardRef(
1620
1722
  )
1621
1723
  );
1622
1724
  DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1623
- var DropdownMenuLabel2 = React14.forwardRef(
1624
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(
1725
+ var DropdownMenuLabel2 = React15.forwardRef(
1726
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx21(
1625
1727
  DropdownMenuLabel,
1626
1728
  {
1627
1729
  ref,
@@ -1637,8 +1739,8 @@ var DropdownMenuLabel2 = React14.forwardRef(
1637
1739
  )
1638
1740
  );
1639
1741
  DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1640
- var DropdownMenuSeparator2 = React14.forwardRef(
1641
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1742
+ var DropdownMenuSeparator2 = React15.forwardRef(
1743
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1642
1744
  DropdownMenuSeparator,
1643
1745
  {
1644
1746
  ref,
@@ -1649,7 +1751,7 @@ var DropdownMenuSeparator2 = React14.forwardRef(
1649
1751
  );
1650
1752
  DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1651
1753
  var DropdownMenuShortcut2 = ({ className, ...props }) => {
1652
- return /* @__PURE__ */ jsx19(
1754
+ return /* @__PURE__ */ jsx21(
1653
1755
  DropdownMenuShortcut,
1654
1756
  {
1655
1757
  className: cn("text-berget-muted-foreground", className),
@@ -1660,17 +1762,17 @@ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1660
1762
  DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1661
1763
 
1662
1764
  // src/components/tooltip/Tooltip.tsx
1663
- import * as React15 from "react";
1765
+ import * as React16 from "react";
1664
1766
 
1665
1767
  // src/primitives/tooltip.tsx
1666
1768
  import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
1667
- import { cn as cn7 } from "cn";
1668
- import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
1769
+ import { cn as cn8 } from "cn";
1770
+ import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
1669
1771
  function TooltipProvider({
1670
1772
  delay = 0,
1671
1773
  ...props
1672
1774
  }) {
1673
- return /* @__PURE__ */ jsx20(
1775
+ return /* @__PURE__ */ jsx22(
1674
1776
  TooltipPrimitive.Provider,
1675
1777
  {
1676
1778
  "data-slot": "tooltip-provider",
@@ -1680,10 +1782,10 @@ function TooltipProvider({
1680
1782
  );
1681
1783
  }
1682
1784
  function Tooltip({ ...props }) {
1683
- return /* @__PURE__ */ jsx20(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
1785
+ return /* @__PURE__ */ jsx22(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
1684
1786
  }
1685
1787
  function TooltipTrigger({ ...props }) {
1686
- return /* @__PURE__ */ jsx20(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1788
+ return /* @__PURE__ */ jsx22(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1687
1789
  }
1688
1790
  function TooltipContent({
1689
1791
  className,
@@ -1694,7 +1796,7 @@ function TooltipContent({
1694
1796
  children,
1695
1797
  ...props
1696
1798
  }) {
1697
- return /* @__PURE__ */ jsx20(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx20(
1799
+ return /* @__PURE__ */ jsx22(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx22(
1698
1800
  TooltipPrimitive.Positioner,
1699
1801
  {
1700
1802
  align,
@@ -1702,18 +1804,18 @@ function TooltipContent({
1702
1804
  side,
1703
1805
  sideOffset,
1704
1806
  className: "isolate z-50",
1705
- children: /* @__PURE__ */ jsxs9(
1807
+ children: /* @__PURE__ */ jsxs10(
1706
1808
  TooltipPrimitive.Popup,
1707
1809
  {
1708
1810
  "data-slot": "tooltip-content",
1709
- className: cn7(
1811
+ className: cn8(
1710
1812
  "z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
1711
1813
  className
1712
1814
  ),
1713
1815
  ...props,
1714
1816
  children: [
1715
1817
  children,
1716
- /* @__PURE__ */ jsx20(TooltipPrimitive.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
1818
+ /* @__PURE__ */ jsx22(TooltipPrimitive.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
1717
1819
  ]
1718
1820
  }
1719
1821
  )
@@ -1722,13 +1824,13 @@ function TooltipContent({
1722
1824
  }
1723
1825
 
1724
1826
  // src/components/tooltip/Tooltip.tsx
1725
- import { jsx as jsx21 } from "react/jsx-runtime";
1726
- var TooltipTrigger2 = React15.forwardRef(
1727
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx21(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1827
+ import { jsx as jsx23 } from "react/jsx-runtime";
1828
+ var TooltipTrigger2 = React16.forwardRef(
1829
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx23(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1728
1830
  );
1729
1831
  TooltipTrigger2.displayName = "TooltipTrigger";
1730
- var TooltipContent2 = React15.forwardRef(
1731
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1832
+ var TooltipContent2 = React16.forwardRef(
1833
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
1732
1834
  TooltipContent,
1733
1835
  {
1734
1836
  ref,
@@ -1747,18 +1849,18 @@ import { ChevronDown } from "lucide-react";
1747
1849
  // src/primitives/navigation-menu.tsx
1748
1850
  import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
1749
1851
  import { cva as cva7 } from "class-variance-authority";
1750
- import { cn as cn8 } from "cn";
1852
+ import { cn as cn9 } from "cn";
1751
1853
  import { ChevronDownIcon } from "lucide-react";
1752
- import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
1854
+ import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
1753
1855
  function NavigationMenuList({
1754
1856
  className,
1755
1857
  ...props
1756
1858
  }) {
1757
- return /* @__PURE__ */ jsx22(
1859
+ return /* @__PURE__ */ jsx24(
1758
1860
  NavigationMenuPrimitive.List,
1759
1861
  {
1760
1862
  "data-slot": "navigation-menu-list",
1761
- className: cn8(
1863
+ className: cn9(
1762
1864
  "group flex flex-1 list-none items-center justify-center gap-0",
1763
1865
  className
1764
1866
  ),
@@ -1770,11 +1872,11 @@ function NavigationMenuItem({
1770
1872
  className,
1771
1873
  ...props
1772
1874
  }) {
1773
- return /* @__PURE__ */ jsx22(
1875
+ return /* @__PURE__ */ jsx24(
1774
1876
  NavigationMenuPrimitive.Item,
1775
1877
  {
1776
1878
  "data-slot": "navigation-menu-item",
1777
- className: cn8("relative", className),
1879
+ className: cn9("relative", className),
1778
1880
  ...props
1779
1881
  }
1780
1882
  );
@@ -1786,11 +1888,11 @@ function NavigationMenuContent({
1786
1888
  className,
1787
1889
  ...props
1788
1890
  }) {
1789
- return /* @__PURE__ */ jsx22(
1891
+ return /* @__PURE__ */ jsx24(
1790
1892
  NavigationMenuPrimitive.Content,
1791
1893
  {
1792
1894
  "data-slot": "navigation-menu-content",
1793
- className: cn8(
1895
+ className: cn9(
1794
1896
  "data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:duration-300 data-ending-style:opacity-0 data-starting-style:opacity-0 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",
1795
1897
  className
1796
1898
  ),
@@ -1802,29 +1904,29 @@ function NavigationMenuIndicator({
1802
1904
  className,
1803
1905
  ...props
1804
1906
  }) {
1805
- return /* @__PURE__ */ jsx22(
1907
+ return /* @__PURE__ */ jsx24(
1806
1908
  NavigationMenuPrimitive.Icon,
1807
1909
  {
1808
1910
  "data-slot": "navigation-menu-indicator",
1809
- className: cn8(
1911
+ className: cn9(
1810
1912
  "top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",
1811
1913
  className
1812
1914
  ),
1813
1915
  ...props,
1814
- children: /* @__PURE__ */ jsx22("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1916
+ children: /* @__PURE__ */ jsx24("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1815
1917
  }
1816
1918
  );
1817
1919
  }
1818
1920
 
1819
1921
  // src/components/navigation-menu/NavigationMenu.tsx
1820
- import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
1922
+ import { jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
1821
1923
  function NavigationMenu({
1822
1924
  align = "start",
1823
1925
  className,
1824
1926
  children,
1825
1927
  ...props
1826
1928
  }) {
1827
- return /* @__PURE__ */ jsxs11(
1929
+ return /* @__PURE__ */ jsxs12(
1828
1930
  NavigationMenuPrimitive2.Root,
1829
1931
  {
1830
1932
  "data-slot": "navigation-menu",
@@ -1835,7 +1937,7 @@ function NavigationMenu({
1835
1937
  ...props,
1836
1938
  children: [
1837
1939
  children,
1838
- /* @__PURE__ */ jsx23(NavigationMenuPositioner, { align })
1940
+ /* @__PURE__ */ jsx25(NavigationMenuPositioner, { align })
1839
1941
  ]
1840
1942
  }
1841
1943
  );
@@ -1848,7 +1950,7 @@ function NavigationMenuTrigger({
1848
1950
  children,
1849
1951
  ...props
1850
1952
  }) {
1851
- return /* @__PURE__ */ jsxs11(
1953
+ return /* @__PURE__ */ jsxs12(
1852
1954
  NavigationMenuPrimitive2.Trigger,
1853
1955
  {
1854
1956
  "data-slot": "navigation-menu-trigger",
@@ -1857,7 +1959,7 @@ function NavigationMenuTrigger({
1857
1959
  children: [
1858
1960
  children,
1859
1961
  " ",
1860
- /* @__PURE__ */ jsx23(
1962
+ /* @__PURE__ */ jsx25(
1861
1963
  ChevronDown,
1862
1964
  {
1863
1965
  className: "relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180",
@@ -1869,7 +1971,7 @@ function NavigationMenuTrigger({
1869
1971
  );
1870
1972
  }
1871
1973
  function NavigationMenuLink({ className, ...props }) {
1872
- return /* @__PURE__ */ jsx23(
1974
+ return /* @__PURE__ */ jsx25(
1873
1975
  NavigationMenuPrimitive2.Link,
1874
1976
  {
1875
1977
  "data-slot": "navigation-menu-link",
@@ -1889,7 +1991,7 @@ function NavigationMenuPositioner({
1889
1991
  alignOffset = 0,
1890
1992
  ...props
1891
1993
  }) {
1892
- return /* @__PURE__ */ jsx23(NavigationMenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx23(
1994
+ return /* @__PURE__ */ jsx25(NavigationMenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx25(
1893
1995
  NavigationMenuPrimitive2.Positioner,
1894
1996
  {
1895
1997
  side,
@@ -1901,24 +2003,24 @@ function NavigationMenuPositioner({
1901
2003
  className
1902
2004
  ),
1903
2005
  ...props,
1904
- children: /* @__PURE__ */ jsx23(NavigationMenuPrimitive2.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ jsx23(NavigationMenuPrimitive2.Viewport, { className: "relative size-full overflow-hidden" }) })
2006
+ children: /* @__PURE__ */ jsx25(NavigationMenuPrimitive2.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ jsx25(NavigationMenuPrimitive2.Viewport, { className: "relative size-full overflow-hidden" }) })
1905
2007
  }
1906
2008
  ) });
1907
2009
  }
1908
2010
 
1909
2011
  // src/primitives/sidebar.tsx
1910
- import * as React17 from "react";
2012
+ import * as React18 from "react";
1911
2013
  import { mergeProps } from "@base-ui/react/merge-props";
1912
2014
  import { useRender } from "@base-ui/react/use-render";
1913
2015
  import { cva as cva9 } from "class-variance-authority";
1914
- import { cn as cn12 } from "cn";
2016
+ import { cn as cn13 } from "cn";
1915
2017
 
1916
2018
  // src/hooks/use-mobile.tsx
1917
- import * as React16 from "react";
2019
+ import * as React17 from "react";
1918
2020
  var MOBILE_BREAKPOINT = 768;
1919
2021
  function useIsMobile() {
1920
- const [isMobile, setIsMobile] = React16.useState(void 0);
1921
- React16.useEffect(() => {
2022
+ const [isMobile, setIsMobile] = React17.useState(void 0);
2023
+ React17.useEffect(() => {
1922
2024
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1923
2025
  const onChange = () => {
1924
2026
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1932,15 +2034,15 @@ function useIsMobile() {
1932
2034
 
1933
2035
  // src/primitives/input.tsx
1934
2036
  import { Input as InputPrimitive } from "@base-ui/react/input";
1935
- import { cn as cn9 } from "cn";
1936
- import { jsx as jsx24 } from "react/jsx-runtime";
2037
+ import { cn as cn10 } from "cn";
2038
+ import { jsx as jsx26 } from "react/jsx-runtime";
1937
2039
  function Input({ className, type, ...props }) {
1938
- return /* @__PURE__ */ jsx24(
2040
+ return /* @__PURE__ */ jsx26(
1939
2041
  InputPrimitive,
1940
2042
  {
1941
2043
  type,
1942
2044
  "data-slot": "input",
1943
- className: cn9(
2045
+ className: cn10(
1944
2046
  "h-8 w-full min-w-0 rounded-lg border border-input bg-input/30 px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
1945
2047
  className
1946
2048
  ),
@@ -1951,19 +2053,19 @@ function Input({ className, type, ...props }) {
1951
2053
 
1952
2054
  // src/primitives/separator.tsx
1953
2055
  import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
1954
- import { cn as cn10 } from "cn";
1955
- import { jsx as jsx25 } from "react/jsx-runtime";
2056
+ import { cn as cn11 } from "cn";
2057
+ import { jsx as jsx27 } from "react/jsx-runtime";
1956
2058
  function Separator({
1957
2059
  className,
1958
2060
  orientation = "horizontal",
1959
2061
  ...props
1960
2062
  }) {
1961
- return /* @__PURE__ */ jsx25(
2063
+ return /* @__PURE__ */ jsx27(
1962
2064
  SeparatorPrimitive,
1963
2065
  {
1964
2066
  "data-slot": "separator",
1965
2067
  orientation,
1966
- className: cn10(
2068
+ className: cn11(
1967
2069
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
1968
2070
  className
1969
2071
  ),
@@ -1974,21 +2076,21 @@ function Separator({
1974
2076
 
1975
2077
  // src/primitives/sheet.tsx
1976
2078
  import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
1977
- import { cn as cn11 } from "cn";
2079
+ import { cn as cn12 } from "cn";
1978
2080
  import { XIcon } from "lucide-react";
1979
- import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
2081
+ import { jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
1980
2082
  function Sheet({ ...props }) {
1981
- return /* @__PURE__ */ jsx26(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
2083
+ return /* @__PURE__ */ jsx28(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
1982
2084
  }
1983
2085
  function SheetPortal({ ...props }) {
1984
- return /* @__PURE__ */ jsx26(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
2086
+ return /* @__PURE__ */ jsx28(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
1985
2087
  }
1986
2088
  function SheetOverlay({ className, ...props }) {
1987
- return /* @__PURE__ */ jsx26(
2089
+ return /* @__PURE__ */ jsx28(
1988
2090
  SheetPrimitive.Backdrop,
1989
2091
  {
1990
2092
  "data-slot": "sheet-overlay",
1991
- className: cn11(
2093
+ className: cn12(
1992
2094
  "fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
1993
2095
  className
1994
2096
  ),
@@ -2003,25 +2105,25 @@ function SheetContent({
2003
2105
  showCloseButton = true,
2004
2106
  ...props
2005
2107
  }) {
2006
- return /* @__PURE__ */ jsxs12(SheetPortal, { children: [
2007
- /* @__PURE__ */ jsx26(SheetOverlay, {}),
2008
- /* @__PURE__ */ jsxs12(
2108
+ return /* @__PURE__ */ jsxs13(SheetPortal, { children: [
2109
+ /* @__PURE__ */ jsx28(SheetOverlay, {}),
2110
+ /* @__PURE__ */ jsxs13(
2009
2111
  SheetPrimitive.Popup,
2010
2112
  {
2011
2113
  "data-slot": "sheet-content",
2012
2114
  "data-side": side,
2013
- className: cn11(
2115
+ className: cn12(
2014
2116
  "fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
2015
2117
  className
2016
2118
  ),
2017
2119
  ...props,
2018
2120
  children: [
2019
2121
  children,
2020
- showCloseButton && /* @__PURE__ */ jsxs12(
2122
+ showCloseButton && /* @__PURE__ */ jsxs13(
2021
2123
  SheetPrimitive.Close,
2022
2124
  {
2023
2125
  "data-slot": "sheet-close",
2024
- render: /* @__PURE__ */ jsx26(
2126
+ render: /* @__PURE__ */ jsx28(
2025
2127
  Button,
2026
2128
  {
2027
2129
  variant: "ghost",
@@ -2030,11 +2132,11 @@ function SheetContent({
2030
2132
  }
2031
2133
  ),
2032
2134
  children: [
2033
- /* @__PURE__ */ jsx26(
2135
+ /* @__PURE__ */ jsx28(
2034
2136
  XIcon,
2035
2137
  {}
2036
2138
  ),
2037
- /* @__PURE__ */ jsx26("span", { className: "sr-only", children: "Close" })
2139
+ /* @__PURE__ */ jsx28("span", { className: "sr-only", children: "Close" })
2038
2140
  ]
2039
2141
  }
2040
2142
  )
@@ -2044,21 +2146,21 @@ function SheetContent({
2044
2146
  ] });
2045
2147
  }
2046
2148
  function SheetHeader({ className, ...props }) {
2047
- return /* @__PURE__ */ jsx26(
2149
+ return /* @__PURE__ */ jsx28(
2048
2150
  "div",
2049
2151
  {
2050
2152
  "data-slot": "sheet-header",
2051
- className: cn11("flex flex-col gap-0.5 p-4", className),
2153
+ className: cn12("flex flex-col gap-0.5 p-4", className),
2052
2154
  ...props
2053
2155
  }
2054
2156
  );
2055
2157
  }
2056
2158
  function SheetTitle({ className, ...props }) {
2057
- return /* @__PURE__ */ jsx26(
2159
+ return /* @__PURE__ */ jsx28(
2058
2160
  SheetPrimitive.Title,
2059
2161
  {
2060
2162
  "data-slot": "sheet-title",
2061
- className: cn11(
2163
+ className: cn12(
2062
2164
  "text-base font-medium text-foreground",
2063
2165
  className
2064
2166
  ),
@@ -2070,11 +2172,11 @@ function SheetDescription({
2070
2172
  className,
2071
2173
  ...props
2072
2174
  }) {
2073
- return /* @__PURE__ */ jsx26(
2175
+ return /* @__PURE__ */ jsx28(
2074
2176
  SheetPrimitive.Description,
2075
2177
  {
2076
2178
  "data-slot": "sheet-description",
2077
- className: cn11("text-sm text-muted-foreground", className),
2179
+ className: cn12("text-sm text-muted-foreground", className),
2078
2180
  ...props
2079
2181
  }
2080
2182
  );
@@ -2082,16 +2184,16 @@ function SheetDescription({
2082
2184
 
2083
2185
  // src/primitives/sidebar.tsx
2084
2186
  import { PanelLeftIcon } from "lucide-react";
2085
- import { jsx as jsx27, jsxs as jsxs13 } from "react/jsx-runtime";
2187
+ import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
2086
2188
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2087
2189
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2088
2190
  var SIDEBAR_WIDTH = "16rem";
2089
2191
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2090
2192
  var SIDEBAR_WIDTH_ICON = "3rem";
2091
2193
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2092
- var SidebarContext = React17.createContext(null);
2194
+ var SidebarContext = React18.createContext(null);
2093
2195
  function useSidebar() {
2094
- const context = React17.useContext(SidebarContext);
2196
+ const context = React18.useContext(SidebarContext);
2095
2197
  if (!context) {
2096
2198
  throw new Error("useSidebar must be used within a SidebarProvider.");
2097
2199
  }
@@ -2107,10 +2209,10 @@ function SidebarProvider({
2107
2209
  ...props
2108
2210
  }) {
2109
2211
  const isMobile = useIsMobile();
2110
- const [openMobile, setOpenMobile] = React17.useState(false);
2111
- const [_open, _setOpen] = React17.useState(defaultOpen);
2212
+ const [openMobile, setOpenMobile] = React18.useState(false);
2213
+ const [_open, _setOpen] = React18.useState(defaultOpen);
2112
2214
  const open = openProp ?? _open;
2113
- const setOpen = React17.useCallback(
2215
+ const setOpen = React18.useCallback(
2114
2216
  (value) => {
2115
2217
  const openState = typeof value === "function" ? value(open) : value;
2116
2218
  if (setOpenProp) {
@@ -2122,10 +2224,10 @@ function SidebarProvider({
2122
2224
  },
2123
2225
  [setOpenProp, open]
2124
2226
  );
2125
- const toggleSidebar = React17.useCallback(() => {
2227
+ const toggleSidebar = React18.useCallback(() => {
2126
2228
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2127
2229
  }, [isMobile, setOpen, setOpenMobile]);
2128
- React17.useEffect(() => {
2230
+ React18.useEffect(() => {
2129
2231
  const handleKeyDown = (event) => {
2130
2232
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2131
2233
  event.preventDefault();
@@ -2136,7 +2238,7 @@ function SidebarProvider({
2136
2238
  return () => window.removeEventListener("keydown", handleKeyDown);
2137
2239
  }, [toggleSidebar]);
2138
2240
  const state = open ? "expanded" : "collapsed";
2139
- const contextValue = React17.useMemo(
2241
+ const contextValue = React18.useMemo(
2140
2242
  () => ({
2141
2243
  state,
2142
2244
  open,
@@ -2148,7 +2250,7 @@ function SidebarProvider({
2148
2250
  }),
2149
2251
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2150
2252
  );
2151
- return /* @__PURE__ */ jsx27(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx27(
2253
+ return /* @__PURE__ */ jsx29(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx29(
2152
2254
  "div",
2153
2255
  {
2154
2256
  "data-slot": "sidebar-wrapper",
@@ -2157,7 +2259,7 @@ function SidebarProvider({
2157
2259
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2158
2260
  ...style
2159
2261
  },
2160
- className: cn12(
2262
+ className: cn13(
2161
2263
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2162
2264
  className
2163
2265
  ),
@@ -2177,11 +2279,11 @@ function Sidebar({
2177
2279
  }) {
2178
2280
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2179
2281
  if (collapsible === "none") {
2180
- return /* @__PURE__ */ jsx27(
2282
+ return /* @__PURE__ */ jsx29(
2181
2283
  "div",
2182
2284
  {
2183
2285
  "data-slot": "sidebar",
2184
- className: cn12(
2286
+ className: cn13(
2185
2287
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2186
2288
  className
2187
2289
  ),
@@ -2191,7 +2293,7 @@ function Sidebar({
2191
2293
  );
2192
2294
  }
2193
2295
  if (isMobile) {
2194
- return /* @__PURE__ */ jsx27(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs13(
2296
+ return /* @__PURE__ */ jsx29(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs14(
2195
2297
  SheetContent,
2196
2298
  {
2197
2299
  dir,
@@ -2204,16 +2306,16 @@ function Sidebar({
2204
2306
  },
2205
2307
  side,
2206
2308
  children: [
2207
- /* @__PURE__ */ jsxs13(SheetHeader, { className: "sr-only", children: [
2208
- /* @__PURE__ */ jsx27(SheetTitle, { children: "Sidebar" }),
2209
- /* @__PURE__ */ jsx27(SheetDescription, { children: "Displays the mobile sidebar." })
2309
+ /* @__PURE__ */ jsxs14(SheetHeader, { className: "sr-only", children: [
2310
+ /* @__PURE__ */ jsx29(SheetTitle, { children: "Sidebar" }),
2311
+ /* @__PURE__ */ jsx29(SheetDescription, { children: "Displays the mobile sidebar." })
2210
2312
  ] }),
2211
- /* @__PURE__ */ jsx27("div", { className: "flex h-full w-full flex-col", children })
2313
+ /* @__PURE__ */ jsx29("div", { className: "flex h-full w-full flex-col", children })
2212
2314
  ]
2213
2315
  }
2214
2316
  ) });
2215
2317
  }
2216
- return /* @__PURE__ */ jsxs13(
2318
+ return /* @__PURE__ */ jsxs14(
2217
2319
  "div",
2218
2320
  {
2219
2321
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -2223,11 +2325,11 @@ function Sidebar({
2223
2325
  "data-side": side,
2224
2326
  "data-slot": "sidebar",
2225
2327
  children: [
2226
- /* @__PURE__ */ jsx27(
2328
+ /* @__PURE__ */ jsx29(
2227
2329
  "div",
2228
2330
  {
2229
2331
  "data-slot": "sidebar-gap",
2230
- className: cn12(
2332
+ className: cn13(
2231
2333
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2232
2334
  "group-data-[collapsible=offcanvas]:w-0",
2233
2335
  "group-data-[side=right]:rotate-180",
@@ -2235,19 +2337,19 @@ function Sidebar({
2235
2337
  )
2236
2338
  }
2237
2339
  ),
2238
- /* @__PURE__ */ jsx27(
2340
+ /* @__PURE__ */ jsx29(
2239
2341
  "div",
2240
2342
  {
2241
2343
  "data-slot": "sidebar-container",
2242
2344
  "data-side": side,
2243
- className: cn12(
2345
+ className: cn13(
2244
2346
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex",
2245
2347
  // Adjust the padding for floating and inset variants.
2246
2348
  variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
2247
2349
  className
2248
2350
  ),
2249
2351
  ...props,
2250
- children: /* @__PURE__ */ jsx27(
2352
+ children: /* @__PURE__ */ jsx29(
2251
2353
  "div",
2252
2354
  {
2253
2355
  "data-sidebar": "sidebar",
@@ -2268,29 +2370,29 @@ function SidebarTrigger({
2268
2370
  ...props
2269
2371
  }) {
2270
2372
  const { toggleSidebar } = useSidebar();
2271
- return /* @__PURE__ */ jsxs13(
2373
+ return /* @__PURE__ */ jsxs14(
2272
2374
  Button,
2273
2375
  {
2274
2376
  "data-sidebar": "trigger",
2275
2377
  "data-slot": "sidebar-trigger",
2276
2378
  variant: "ghost",
2277
2379
  size: "icon-sm",
2278
- className: cn12(className),
2380
+ className: cn13(className),
2279
2381
  onClick: (event) => {
2280
2382
  onClick?.(event);
2281
2383
  toggleSidebar();
2282
2384
  },
2283
2385
  ...props,
2284
2386
  children: [
2285
- /* @__PURE__ */ jsx27(PanelLeftIcon, {}),
2286
- /* @__PURE__ */ jsx27("span", { className: "sr-only", children: "Toggle Sidebar" })
2387
+ /* @__PURE__ */ jsx29(PanelLeftIcon, {}),
2388
+ /* @__PURE__ */ jsx29("span", { className: "sr-only", children: "Toggle Sidebar" })
2287
2389
  ]
2288
2390
  }
2289
2391
  );
2290
2392
  }
2291
2393
  function SidebarRail({ className, ...props }) {
2292
2394
  const { toggleSidebar } = useSidebar();
2293
- return /* @__PURE__ */ jsx27(
2395
+ return /* @__PURE__ */ jsx29(
2294
2396
  "button",
2295
2397
  {
2296
2398
  "data-sidebar": "rail",
@@ -2299,7 +2401,7 @@ function SidebarRail({ className, ...props }) {
2299
2401
  tabIndex: -1,
2300
2402
  onClick: toggleSidebar,
2301
2403
  title: "Toggle Sidebar",
2302
- className: cn12(
2404
+ className: cn13(
2303
2405
  "absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2",
2304
2406
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2305
2407
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2313,11 +2415,11 @@ function SidebarRail({ className, ...props }) {
2313
2415
  );
2314
2416
  }
2315
2417
  function SidebarInset({ className, ...props }) {
2316
- return /* @__PURE__ */ jsx27(
2418
+ return /* @__PURE__ */ jsx29(
2317
2419
  "main",
2318
2420
  {
2319
2421
  "data-slot": "sidebar-inset",
2320
- className: cn12(
2422
+ className: cn13(
2321
2423
  "relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
2322
2424
  className
2323
2425
  ),
@@ -2329,34 +2431,34 @@ function SidebarInput({
2329
2431
  className,
2330
2432
  ...props
2331
2433
  }) {
2332
- return /* @__PURE__ */ jsx27(
2434
+ return /* @__PURE__ */ jsx29(
2333
2435
  Input,
2334
2436
  {
2335
2437
  "data-slot": "sidebar-input",
2336
2438
  "data-sidebar": "input",
2337
- className: cn12("h-8 w-full bg-background shadow-none", className),
2439
+ className: cn13("h-8 w-full bg-background shadow-none", className),
2338
2440
  ...props
2339
2441
  }
2340
2442
  );
2341
2443
  }
2342
2444
  function SidebarHeader({ className, ...props }) {
2343
- return /* @__PURE__ */ jsx27(
2445
+ return /* @__PURE__ */ jsx29(
2344
2446
  "div",
2345
2447
  {
2346
2448
  "data-slot": "sidebar-header",
2347
2449
  "data-sidebar": "header",
2348
- className: cn12("flex flex-col gap-2 p-2", className),
2450
+ className: cn13("flex flex-col gap-2 p-2", className),
2349
2451
  ...props
2350
2452
  }
2351
2453
  );
2352
2454
  }
2353
2455
  function SidebarFooter({ className, ...props }) {
2354
- return /* @__PURE__ */ jsx27(
2456
+ return /* @__PURE__ */ jsx29(
2355
2457
  "div",
2356
2458
  {
2357
2459
  "data-slot": "sidebar-footer",
2358
2460
  "data-sidebar": "footer",
2359
- className: cn12("flex flex-col gap-2 p-2", className),
2461
+ className: cn13("flex flex-col gap-2 p-2", className),
2360
2462
  ...props
2361
2463
  }
2362
2464
  );
@@ -2365,23 +2467,23 @@ function SidebarSeparator({
2365
2467
  className,
2366
2468
  ...props
2367
2469
  }) {
2368
- return /* @__PURE__ */ jsx27(
2470
+ return /* @__PURE__ */ jsx29(
2369
2471
  Separator,
2370
2472
  {
2371
2473
  "data-slot": "sidebar-separator",
2372
2474
  "data-sidebar": "separator",
2373
- className: cn12("mx-2 w-auto bg-sidebar-border", className),
2475
+ className: cn13("mx-2 w-auto bg-sidebar-border", className),
2374
2476
  ...props
2375
2477
  }
2376
2478
  );
2377
2479
  }
2378
2480
  function SidebarContent({ className, ...props }) {
2379
- return /* @__PURE__ */ jsx27(
2481
+ return /* @__PURE__ */ jsx29(
2380
2482
  "div",
2381
2483
  {
2382
2484
  "data-slot": "sidebar-content",
2383
2485
  "data-sidebar": "content",
2384
- className: cn12(
2486
+ className: cn13(
2385
2487
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2386
2488
  className
2387
2489
  ),
@@ -2390,12 +2492,12 @@ function SidebarContent({ className, ...props }) {
2390
2492
  );
2391
2493
  }
2392
2494
  function SidebarGroup({ className, ...props }) {
2393
- return /* @__PURE__ */ jsx27(
2495
+ return /* @__PURE__ */ jsx29(
2394
2496
  "div",
2395
2497
  {
2396
2498
  "data-slot": "sidebar-group",
2397
2499
  "data-sidebar": "group",
2398
- className: cn12("relative flex w-full min-w-0 flex-col p-2", className),
2500
+ className: cn13("relative flex w-full min-w-0 flex-col p-2", className),
2399
2501
  ...props
2400
2502
  }
2401
2503
  );
@@ -2409,7 +2511,7 @@ function SidebarGroupLabel({
2409
2511
  defaultTagName: "div",
2410
2512
  props: mergeProps(
2411
2513
  {
2412
- className: cn12(
2514
+ className: cn13(
2413
2515
  "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
2414
2516
  className
2415
2517
  )
@@ -2432,7 +2534,7 @@ function SidebarGroupAction({
2432
2534
  defaultTagName: "button",
2433
2535
  props: mergeProps(
2434
2536
  {
2435
- className: cn12(
2537
+ className: cn13(
2436
2538
  "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2437
2539
  className
2438
2540
  )
@@ -2450,34 +2552,34 @@ function SidebarGroupContent({
2450
2552
  className,
2451
2553
  ...props
2452
2554
  }) {
2453
- return /* @__PURE__ */ jsx27(
2555
+ return /* @__PURE__ */ jsx29(
2454
2556
  "div",
2455
2557
  {
2456
2558
  "data-slot": "sidebar-group-content",
2457
2559
  "data-sidebar": "group-content",
2458
- className: cn12("w-full text-sm", className),
2560
+ className: cn13("w-full text-sm", className),
2459
2561
  ...props
2460
2562
  }
2461
2563
  );
2462
2564
  }
2463
2565
  function SidebarMenu({ className, ...props }) {
2464
- return /* @__PURE__ */ jsx27(
2566
+ return /* @__PURE__ */ jsx29(
2465
2567
  "ul",
2466
2568
  {
2467
2569
  "data-slot": "sidebar-menu",
2468
2570
  "data-sidebar": "menu",
2469
- className: cn12("flex w-full min-w-0 flex-col gap-0", className),
2571
+ className: cn13("flex w-full min-w-0 flex-col gap-0", className),
2470
2572
  ...props
2471
2573
  }
2472
2574
  );
2473
2575
  }
2474
2576
  function SidebarMenuItem({ className, ...props }) {
2475
- return /* @__PURE__ */ jsx27(
2577
+ return /* @__PURE__ */ jsx29(
2476
2578
  "li",
2477
2579
  {
2478
2580
  "data-slot": "sidebar-menu-item",
2479
2581
  "data-sidebar": "menu-item",
2480
- className: cn12("group/menu-item relative", className),
2582
+ className: cn13("group/menu-item relative", className),
2481
2583
  ...props
2482
2584
  }
2483
2585
  );
@@ -2516,11 +2618,11 @@ function SidebarMenuButton({
2516
2618
  defaultTagName: "button",
2517
2619
  props: mergeProps(
2518
2620
  {
2519
- className: cn12(sidebarMenuButtonVariants({ variant, size }), className)
2621
+ className: cn13(sidebarMenuButtonVariants({ variant, size }), className)
2520
2622
  },
2521
2623
  props
2522
2624
  ),
2523
- render: !tooltip ? render : /* @__PURE__ */ jsx27(TooltipTrigger, { render }),
2625
+ render: !tooltip ? render : /* @__PURE__ */ jsx29(TooltipTrigger, { render }),
2524
2626
  state: {
2525
2627
  slot: "sidebar-menu-button",
2526
2628
  sidebar: "menu-button",
@@ -2536,9 +2638,9 @@ function SidebarMenuButton({
2536
2638
  children: tooltip
2537
2639
  };
2538
2640
  }
2539
- return /* @__PURE__ */ jsxs13(Tooltip, { children: [
2641
+ return /* @__PURE__ */ jsxs14(Tooltip, { children: [
2540
2642
  comp,
2541
- /* @__PURE__ */ jsx27(
2643
+ /* @__PURE__ */ jsx29(
2542
2644
  TooltipContent,
2543
2645
  {
2544
2646
  side: "right",
@@ -2559,7 +2661,7 @@ function SidebarMenuAction({
2559
2661
  defaultTagName: "button",
2560
2662
  props: mergeProps(
2561
2663
  {
2562
- className: cn12(
2664
+ className: cn13(
2563
2665
  "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2564
2666
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0",
2565
2667
  className
@@ -2578,12 +2680,12 @@ function SidebarMenuBadge({
2578
2680
  className,
2579
2681
  ...props
2580
2682
  }) {
2581
- return /* @__PURE__ */ jsx27(
2683
+ return /* @__PURE__ */ jsx29(
2582
2684
  "div",
2583
2685
  {
2584
2686
  "data-slot": "sidebar-menu-badge",
2585
2687
  "data-sidebar": "menu-badge",
2586
- className: cn12(
2688
+ className: cn13(
2587
2689
  "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",
2588
2690
  className
2589
2691
  ),
@@ -2596,25 +2698,25 @@ function SidebarMenuSkeleton({
2596
2698
  showIcon = false,
2597
2699
  ...props
2598
2700
  }) {
2599
- const [width] = React17.useState(() => {
2701
+ const [width] = React18.useState(() => {
2600
2702
  return `${Math.floor(Math.random() * 40) + 50}%`;
2601
2703
  });
2602
- return /* @__PURE__ */ jsxs13(
2704
+ return /* @__PURE__ */ jsxs14(
2603
2705
  "div",
2604
2706
  {
2605
2707
  "data-slot": "sidebar-menu-skeleton",
2606
2708
  "data-sidebar": "menu-skeleton",
2607
- className: cn12("flex h-8 items-center gap-2 rounded-md px-2", className),
2709
+ className: cn13("flex h-8 items-center gap-2 rounded-md px-2", className),
2608
2710
  ...props,
2609
2711
  children: [
2610
- showIcon && /* @__PURE__ */ jsx27(
2712
+ showIcon && /* @__PURE__ */ jsx29(
2611
2713
  Skeleton,
2612
2714
  {
2613
2715
  className: "size-4 rounded-md",
2614
2716
  "data-sidebar": "menu-skeleton-icon"
2615
2717
  }
2616
2718
  ),
2617
- /* @__PURE__ */ jsx27(
2719
+ /* @__PURE__ */ jsx29(
2618
2720
  Skeleton,
2619
2721
  {
2620
2722
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2629,12 +2731,12 @@ function SidebarMenuSkeleton({
2629
2731
  );
2630
2732
  }
2631
2733
  function SidebarMenuSub({ className, ...props }) {
2632
- return /* @__PURE__ */ jsx27(
2734
+ return /* @__PURE__ */ jsx29(
2633
2735
  "ul",
2634
2736
  {
2635
2737
  "data-slot": "sidebar-menu-sub",
2636
2738
  "data-sidebar": "menu-sub",
2637
- className: cn12(
2739
+ className: cn13(
2638
2740
  "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",
2639
2741
  className
2640
2742
  ),
@@ -2646,12 +2748,12 @@ function SidebarMenuSubItem({
2646
2748
  className,
2647
2749
  ...props
2648
2750
  }) {
2649
- return /* @__PURE__ */ jsx27(
2751
+ return /* @__PURE__ */ jsx29(
2650
2752
  "li",
2651
2753
  {
2652
2754
  "data-slot": "sidebar-menu-sub-item",
2653
2755
  "data-sidebar": "menu-sub-item",
2654
- className: cn12("group/menu-sub-item relative", className),
2756
+ className: cn13("group/menu-sub-item relative", className),
2655
2757
  ...props
2656
2758
  }
2657
2759
  );
@@ -2667,7 +2769,7 @@ function SidebarMenuSubButton({
2667
2769
  defaultTagName: "a",
2668
2770
  props: mergeProps(
2669
2771
  {
2670
- className: cn12(
2772
+ className: cn13(
2671
2773
  "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
2672
2774
  className
2673
2775
  )
@@ -2685,7 +2787,7 @@ function SidebarMenuSubButton({
2685
2787
  }
2686
2788
 
2687
2789
  // src/components/sidebar/Sidebar.tsx
2688
- import { jsx as jsx28, jsxs as jsxs14 } from "react/jsx-runtime";
2790
+ import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
2689
2791
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2690
2792
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2691
2793
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2693,7 +2795,7 @@ function SidebarGroupLabel2({
2693
2795
  className,
2694
2796
  ...props
2695
2797
  }) {
2696
- return /* @__PURE__ */ jsx28(
2798
+ return /* @__PURE__ */ jsx30(
2697
2799
  SidebarGroupLabel,
2698
2800
  {
2699
2801
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2706,7 +2808,7 @@ function SidebarProvider2({
2706
2808
  style,
2707
2809
  ...props
2708
2810
  }) {
2709
- return /* @__PURE__ */ jsx28(
2811
+ return /* @__PURE__ */ jsx30(
2710
2812
  SidebarProvider,
2711
2813
  {
2712
2814
  className,
@@ -2719,10 +2821,10 @@ function SidebarProvider2({
2719
2821
  );
2720
2822
  }
2721
2823
  function SidebarInset2({ className, ...props }) {
2722
- return /* @__PURE__ */ jsx28(SidebarInset, { className: cn("min-w-0", className), ...props });
2824
+ return /* @__PURE__ */ jsx30(SidebarInset, { className: cn("min-w-0", className), ...props });
2723
2825
  }
2724
2826
  function SidebarGroup2({ className, ...props }) {
2725
- return /* @__PURE__ */ jsx28(
2827
+ return /* @__PURE__ */ jsx30(
2726
2828
  SidebarGroup,
2727
2829
  {
2728
2830
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2734,7 +2836,7 @@ function SidebarFooter2({
2734
2836
  className,
2735
2837
  ...props
2736
2838
  }) {
2737
- return /* @__PURE__ */ jsx28(
2839
+ return /* @__PURE__ */ jsx30(
2738
2840
  SidebarFooter,
2739
2841
  {
2740
2842
  className: cn(
@@ -2749,7 +2851,7 @@ function SidebarHeader2({
2749
2851
  className,
2750
2852
  ...props
2751
2853
  }) {
2752
- return /* @__PURE__ */ jsx28(
2854
+ return /* @__PURE__ */ jsx30(
2753
2855
  SidebarHeader,
2754
2856
  {
2755
2857
  className: cn(
@@ -2761,8 +2863,8 @@ function SidebarHeader2({
2761
2863
  );
2762
2864
  }
2763
2865
  function SidebarLogo() {
2764
- return /* @__PURE__ */ jsx28(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ jsxs14("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2765
- /* @__PURE__ */ jsx28(
2866
+ return /* @__PURE__ */ jsx30(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ jsxs15("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2867
+ /* @__PURE__ */ jsx30(
2766
2868
  BergetLogo,
2767
2869
  {
2768
2870
  variant: "logotype",
@@ -2770,11 +2872,11 @@ function SidebarLogo() {
2770
2872
  className: "shrink-0 transition-[opacity,visibility] duration-150 group-data-[collapsible=icon]:pointer-events-none group-data-[collapsible=icon]:invisible group-data-[collapsible=icon]:opacity-0"
2771
2873
  }
2772
2874
  ),
2773
- /* @__PURE__ */ jsx28("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ jsx28(BergetLogo, { variant: "symbol", size: 32 }) })
2875
+ /* @__PURE__ */ jsx30("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ jsx30(BergetLogo, { variant: "symbol", size: 32 }) })
2774
2876
  ] }) });
2775
2877
  }
2776
2878
  function SidebarPageHeader({ className, ...props }) {
2777
- return /* @__PURE__ */ jsx28(
2879
+ return /* @__PURE__ */ jsx30(
2778
2880
  "header",
2779
2881
  {
2780
2882
  className: cn(
@@ -2786,7 +2888,7 @@ function SidebarPageHeader({ className, ...props }) {
2786
2888
  );
2787
2889
  }
2788
2890
  function SidebarMenuButton2({ className, ...props }) {
2789
- return /* @__PURE__ */ jsx28(
2891
+ return /* @__PURE__ */ jsx30(
2790
2892
  SidebarMenuButton,
2791
2893
  {
2792
2894
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -2795,7 +2897,7 @@ function SidebarMenuButton2({ className, ...props }) {
2795
2897
  );
2796
2898
  }
2797
2899
  function SidebarMenuSubButton2({ className, ...props }) {
2798
- return /* @__PURE__ */ jsx28(
2900
+ return /* @__PURE__ */ jsx30(
2799
2901
  SidebarMenuSubButton,
2800
2902
  {
2801
2903
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -2805,22 +2907,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
2805
2907
  }
2806
2908
 
2807
2909
  // src/components/table/Table.tsx
2808
- import * as React18 from "react";
2910
+ import * as React19 from "react";
2809
2911
 
2810
2912
  // src/primitives/table.tsx
2811
- import { cn as cn13 } from "cn";
2812
- import { jsx as jsx29 } from "react/jsx-runtime";
2913
+ import { cn as cn14 } from "cn";
2914
+ import { jsx as jsx31 } from "react/jsx-runtime";
2813
2915
  function Table({ className, ...props }) {
2814
- return /* @__PURE__ */ jsx29(
2916
+ return /* @__PURE__ */ jsx31(
2815
2917
  "div",
2816
2918
  {
2817
2919
  "data-slot": "table-container",
2818
2920
  className: "relative w-full overflow-x-auto",
2819
- children: /* @__PURE__ */ jsx29(
2921
+ children: /* @__PURE__ */ jsx31(
2820
2922
  "table",
2821
2923
  {
2822
2924
  "data-slot": "table",
2823
- className: cn13("w-full caption-bottom text-sm", className),
2925
+ className: cn14("w-full caption-bottom text-sm", className),
2824
2926
  ...props
2825
2927
  }
2826
2928
  )
@@ -2828,31 +2930,31 @@ function Table({ className, ...props }) {
2828
2930
  );
2829
2931
  }
2830
2932
  function TableHeader({ className, ...props }) {
2831
- return /* @__PURE__ */ jsx29(
2933
+ return /* @__PURE__ */ jsx31(
2832
2934
  "thead",
2833
2935
  {
2834
2936
  "data-slot": "table-header",
2835
- className: cn13("[&_tr]:border-b", className),
2937
+ className: cn14("[&_tr]:border-b", className),
2836
2938
  ...props
2837
2939
  }
2838
2940
  );
2839
2941
  }
2840
2942
  function TableBody({ className, ...props }) {
2841
- return /* @__PURE__ */ jsx29(
2943
+ return /* @__PURE__ */ jsx31(
2842
2944
  "tbody",
2843
2945
  {
2844
2946
  "data-slot": "table-body",
2845
- className: cn13("[&_tr:last-child]:border-0", className),
2947
+ className: cn14("[&_tr:last-child]:border-0", className),
2846
2948
  ...props
2847
2949
  }
2848
2950
  );
2849
2951
  }
2850
2952
  function TableFooter({ className, ...props }) {
2851
- return /* @__PURE__ */ jsx29(
2953
+ return /* @__PURE__ */ jsx31(
2852
2954
  "tfoot",
2853
2955
  {
2854
2956
  "data-slot": "table-footer",
2855
- className: cn13(
2957
+ className: cn14(
2856
2958
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
2857
2959
  className
2858
2960
  ),
@@ -2861,11 +2963,11 @@ function TableFooter({ className, ...props }) {
2861
2963
  );
2862
2964
  }
2863
2965
  function TableRow({ className, ...props }) {
2864
- return /* @__PURE__ */ jsx29(
2966
+ return /* @__PURE__ */ jsx31(
2865
2967
  "tr",
2866
2968
  {
2867
2969
  "data-slot": "table-row",
2868
- className: cn13(
2970
+ className: cn14(
2869
2971
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
2870
2972
  className
2871
2973
  ),
@@ -2874,11 +2976,11 @@ function TableRow({ className, ...props }) {
2874
2976
  );
2875
2977
  }
2876
2978
  function TableHead({ className, ...props }) {
2877
- return /* @__PURE__ */ jsx29(
2979
+ return /* @__PURE__ */ jsx31(
2878
2980
  "th",
2879
2981
  {
2880
2982
  "data-slot": "table-head",
2881
- className: cn13(
2983
+ className: cn14(
2882
2984
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
2883
2985
  className
2884
2986
  ),
@@ -2887,11 +2989,11 @@ function TableHead({ className, ...props }) {
2887
2989
  );
2888
2990
  }
2889
2991
  function TableCell({ className, ...props }) {
2890
- return /* @__PURE__ */ jsx29(
2992
+ return /* @__PURE__ */ jsx31(
2891
2993
  "td",
2892
2994
  {
2893
2995
  "data-slot": "table-cell",
2894
- className: cn13(
2996
+ className: cn14(
2895
2997
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
2896
2998
  className
2897
2999
  ),
@@ -2903,23 +3005,23 @@ function TableCaption({
2903
3005
  className,
2904
3006
  ...props
2905
3007
  }) {
2906
- return /* @__PURE__ */ jsx29(
3008
+ return /* @__PURE__ */ jsx31(
2907
3009
  "caption",
2908
3010
  {
2909
3011
  "data-slot": "table-caption",
2910
- className: cn13("mt-4 text-sm text-muted-foreground", className),
3012
+ className: cn14("mt-4 text-sm text-muted-foreground", className),
2911
3013
  ...props
2912
3014
  }
2913
3015
  );
2914
3016
  }
2915
3017
 
2916
3018
  // src/components/table/Table.tsx
2917
- import { jsx as jsx30 } from "react/jsx-runtime";
2918
- var Table2 = React18.forwardRef(
2919
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx30(Table, { ref, className, ...props })
3019
+ import { jsx as jsx32 } from "react/jsx-runtime";
3020
+ var Table2 = React19.forwardRef(
3021
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx32(Table, { ref, className, ...props })
2920
3022
  );
2921
3023
  Table2.displayName = "Table";
2922
- var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3024
+ var TableHeader2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2923
3025
  TableHeader,
2924
3026
  {
2925
3027
  ref,
@@ -2928,7 +3030,7 @@ var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
2928
3030
  }
2929
3031
  ));
2930
3032
  TableHeader2.displayName = "TableHeader";
2931
- var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3033
+ var TableBody2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2932
3034
  TableBody,
2933
3035
  {
2934
3036
  ref,
@@ -2937,7 +3039,7 @@ var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
2937
3039
  }
2938
3040
  ));
2939
3041
  TableBody2.displayName = "TableBody";
2940
- var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3042
+ var TableFooter2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2941
3043
  TableFooter,
2942
3044
  {
2943
3045
  ref,
@@ -2949,8 +3051,8 @@ var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
2949
3051
  }
2950
3052
  ));
2951
3053
  TableFooter2.displayName = "TableFooter";
2952
- var TableRow2 = React18.forwardRef(
2953
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3054
+ var TableRow2 = React19.forwardRef(
3055
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2954
3056
  TableRow,
2955
3057
  {
2956
3058
  ref,
@@ -2963,7 +3065,7 @@ var TableRow2 = React18.forwardRef(
2963
3065
  )
2964
3066
  );
2965
3067
  TableRow2.displayName = "TableRow";
2966
- var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3068
+ var TableHead2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2967
3069
  TableHead,
2968
3070
  {
2969
3071
  ref,
@@ -2975,7 +3077,7 @@ var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
2975
3077
  }
2976
3078
  ));
2977
3079
  TableHead2.displayName = "TableHead";
2978
- var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3080
+ var TableCell2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2979
3081
  TableCell,
2980
3082
  {
2981
3083
  ref,
@@ -2984,7 +3086,7 @@ var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
2984
3086
  }
2985
3087
  ));
2986
3088
  TableCell2.displayName = "TableCell";
2987
- var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
3089
+ var TableCaption2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2988
3090
  TableCaption,
2989
3091
  {
2990
3092
  ref,
@@ -2995,21 +3097,21 @@ var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__P
2995
3097
  TableCaption2.displayName = "TableCaption";
2996
3098
 
2997
3099
  // src/components/item/Item.tsx
2998
- import * as React19 from "react";
3100
+ import * as React20 from "react";
2999
3101
 
3000
3102
  // src/primitives/item.tsx
3001
3103
  import { mergeProps as mergeProps2 } from "@base-ui/react/merge-props";
3002
3104
  import { useRender as useRender2 } from "@base-ui/react/use-render";
3003
3105
  import { cva as cva10 } from "class-variance-authority";
3004
- import { cn as cn14 } from "cn";
3005
- import { jsx as jsx31 } from "react/jsx-runtime";
3106
+ import { cn as cn15 } from "cn";
3107
+ import { jsx as jsx33 } from "react/jsx-runtime";
3006
3108
  function ItemGroup({ className, ...props }) {
3007
- return /* @__PURE__ */ jsx31(
3109
+ return /* @__PURE__ */ jsx33(
3008
3110
  "div",
3009
3111
  {
3010
3112
  role: "list",
3011
3113
  "data-slot": "item-group",
3012
- className: cn14(
3114
+ className: cn15(
3013
3115
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
3014
3116
  className
3015
3117
  ),
@@ -3021,12 +3123,12 @@ function ItemSeparator({
3021
3123
  className,
3022
3124
  ...props
3023
3125
  }) {
3024
- return /* @__PURE__ */ jsx31(
3126
+ return /* @__PURE__ */ jsx33(
3025
3127
  Separator,
3026
3128
  {
3027
3129
  "data-slot": "item-separator",
3028
3130
  orientation: "horizontal",
3029
- className: cn14("my-2", className),
3131
+ className: cn15("my-2", className),
3030
3132
  ...props
3031
3133
  }
3032
3134
  );
@@ -3063,7 +3165,7 @@ function Item({
3063
3165
  defaultTagName: "div",
3064
3166
  props: mergeProps2(
3065
3167
  {
3066
- className: cn14(itemVariants({ variant, size, className }))
3168
+ className: cn15(itemVariants({ variant, size, className }))
3067
3169
  },
3068
3170
  props
3069
3171
  ),
@@ -3095,22 +3197,22 @@ function ItemMedia({
3095
3197
  variant = "default",
3096
3198
  ...props
3097
3199
  }) {
3098
- return /* @__PURE__ */ jsx31(
3200
+ return /* @__PURE__ */ jsx33(
3099
3201
  "div",
3100
3202
  {
3101
3203
  "data-slot": "item-media",
3102
3204
  "data-variant": variant,
3103
- className: cn14(itemMediaVariants({ variant, className })),
3205
+ className: cn15(itemMediaVariants({ variant, className })),
3104
3206
  ...props
3105
3207
  }
3106
3208
  );
3107
3209
  }
3108
3210
  function ItemContent({ className, ...props }) {
3109
- return /* @__PURE__ */ jsx31(
3211
+ return /* @__PURE__ */ jsx33(
3110
3212
  "div",
3111
3213
  {
3112
3214
  "data-slot": "item-content",
3113
- className: cn14(
3215
+ className: cn15(
3114
3216
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
3115
3217
  className
3116
3218
  ),
@@ -3119,11 +3221,11 @@ function ItemContent({ className, ...props }) {
3119
3221
  );
3120
3222
  }
3121
3223
  function ItemTitle({ className, ...props }) {
3122
- return /* @__PURE__ */ jsx31(
3224
+ return /* @__PURE__ */ jsx33(
3123
3225
  "div",
3124
3226
  {
3125
3227
  "data-slot": "item-title",
3126
- className: cn14(
3228
+ className: cn15(
3127
3229
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
3128
3230
  className
3129
3231
  ),
@@ -3132,11 +3234,11 @@ function ItemTitle({ className, ...props }) {
3132
3234
  );
3133
3235
  }
3134
3236
  function ItemDescription({ className, ...props }) {
3135
- return /* @__PURE__ */ jsx31(
3237
+ return /* @__PURE__ */ jsx33(
3136
3238
  "p",
3137
3239
  {
3138
3240
  "data-slot": "item-description",
3139
- className: cn14(
3241
+ className: cn15(
3140
3242
  "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3141
3243
  className
3142
3244
  ),
@@ -3145,21 +3247,21 @@ function ItemDescription({ className, ...props }) {
3145
3247
  );
3146
3248
  }
3147
3249
  function ItemActions({ className, ...props }) {
3148
- return /* @__PURE__ */ jsx31(
3250
+ return /* @__PURE__ */ jsx33(
3149
3251
  "div",
3150
3252
  {
3151
3253
  "data-slot": "item-actions",
3152
- className: cn14("flex items-center gap-2", className),
3254
+ className: cn15("flex items-center gap-2", className),
3153
3255
  ...props
3154
3256
  }
3155
3257
  );
3156
3258
  }
3157
3259
  function ItemHeader({ className, ...props }) {
3158
- return /* @__PURE__ */ jsx31(
3260
+ return /* @__PURE__ */ jsx33(
3159
3261
  "div",
3160
3262
  {
3161
3263
  "data-slot": "item-header",
3162
- className: cn14(
3264
+ className: cn15(
3163
3265
  "flex basis-full items-center justify-between gap-2",
3164
3266
  className
3165
3267
  ),
@@ -3168,11 +3270,11 @@ function ItemHeader({ className, ...props }) {
3168
3270
  );
3169
3271
  }
3170
3272
  function ItemFooter({ className, ...props }) {
3171
- return /* @__PURE__ */ jsx31(
3273
+ return /* @__PURE__ */ jsx33(
3172
3274
  "div",
3173
3275
  {
3174
3276
  "data-slot": "item-footer",
3175
- className: cn14(
3277
+ className: cn15(
3176
3278
  "flex basis-full items-center justify-between gap-2",
3177
3279
  className
3178
3280
  ),
@@ -3182,9 +3284,9 @@ function ItemFooter({ className, ...props }) {
3182
3284
  }
3183
3285
 
3184
3286
  // src/components/item/Item.tsx
3185
- import { jsx as jsx32 } from "react/jsx-runtime";
3287
+ import { jsx as jsx34 } from "react/jsx-runtime";
3186
3288
  function Item2({ className, asChild, children, ...props }) {
3187
- return /* @__PURE__ */ jsx32(
3289
+ return /* @__PURE__ */ jsx34(
3188
3290
  Item,
3189
3291
  {
3190
3292
  render: asChild ? children : void 0,
@@ -3203,8 +3305,8 @@ function Item2({ className, asChild, children, ...props }) {
3203
3305
  }
3204
3306
  );
3205
3307
  }
3206
- var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3207
- return /* @__PURE__ */ jsx32(
3308
+ var ItemMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3309
+ return /* @__PURE__ */ jsx34(
3208
3310
  ItemMedia,
3209
3311
  {
3210
3312
  ref,
@@ -3214,8 +3316,8 @@ var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3214
3316
  );
3215
3317
  });
3216
3318
  ItemMedia2.displayName = "ItemMedia";
3217
- var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3218
- return /* @__PURE__ */ jsx32(
3319
+ var ItemTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3320
+ return /* @__PURE__ */ jsx34(
3219
3321
  ItemTitle,
3220
3322
  {
3221
3323
  ref,
@@ -3225,8 +3327,8 @@ var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3225
3327
  );
3226
3328
  });
3227
3329
  ItemTitle2.displayName = "ItemTitle";
3228
- var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3229
- return /* @__PURE__ */ jsx32(
3330
+ var ItemDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3331
+ return /* @__PURE__ */ jsx34(
3230
3332
  ItemDescription,
3231
3333
  {
3232
3334
  ref,
@@ -3236,8 +3338,8 @@ var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3236
3338
  );
3237
3339
  });
3238
3340
  ItemDescription2.displayName = "ItemDescription";
3239
- var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3240
- return /* @__PURE__ */ jsx32(
3341
+ var ItemSeparator2 = React20.forwardRef(({ className, ...props }, ref) => {
3342
+ return /* @__PURE__ */ jsx34(
3241
3343
  ItemSeparator,
3242
3344
  {
3243
3345
  ref,
@@ -3249,18 +3351,18 @@ var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3249
3351
  ItemSeparator2.displayName = "ItemSeparator";
3250
3352
 
3251
3353
  // src/components/empty/Empty.tsx
3252
- import * as React20 from "react";
3354
+ import * as React21 from "react";
3253
3355
 
3254
3356
  // src/primitives/empty.tsx
3255
3357
  import { cva as cva11 } from "class-variance-authority";
3256
- import { cn as cn15 } from "cn";
3257
- import { jsx as jsx33 } from "react/jsx-runtime";
3358
+ import { cn as cn16 } from "cn";
3359
+ import { jsx as jsx35 } from "react/jsx-runtime";
3258
3360
  function Empty({ className, ...props }) {
3259
- return /* @__PURE__ */ jsx33(
3361
+ return /* @__PURE__ */ jsx35(
3260
3362
  "div",
3261
3363
  {
3262
3364
  "data-slot": "empty",
3263
- className: cn15(
3365
+ className: cn16(
3264
3366
  "flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
3265
3367
  className
3266
3368
  ),
@@ -3269,11 +3371,11 @@ function Empty({ className, ...props }) {
3269
3371
  );
3270
3372
  }
3271
3373
  function EmptyHeader({ className, ...props }) {
3272
- return /* @__PURE__ */ jsx33(
3374
+ return /* @__PURE__ */ jsx35(
3273
3375
  "div",
3274
3376
  {
3275
3377
  "data-slot": "empty-header",
3276
- className: cn15("flex max-w-sm flex-col items-center gap-2", className),
3378
+ className: cn16("flex max-w-sm flex-col items-center gap-2", className),
3277
3379
  ...props
3278
3380
  }
3279
3381
  );
@@ -3297,22 +3399,22 @@ function EmptyMedia({
3297
3399
  variant = "default",
3298
3400
  ...props
3299
3401
  }) {
3300
- return /* @__PURE__ */ jsx33(
3402
+ return /* @__PURE__ */ jsx35(
3301
3403
  "div",
3302
3404
  {
3303
3405
  "data-slot": "empty-icon",
3304
3406
  "data-variant": variant,
3305
- className: cn15(emptyMediaVariants({ variant, className })),
3407
+ className: cn16(emptyMediaVariants({ variant, className })),
3306
3408
  ...props
3307
3409
  }
3308
3410
  );
3309
3411
  }
3310
3412
  function EmptyTitle({ className, ...props }) {
3311
- return /* @__PURE__ */ jsx33(
3413
+ return /* @__PURE__ */ jsx35(
3312
3414
  "div",
3313
3415
  {
3314
3416
  "data-slot": "empty-title",
3315
- className: cn15(
3417
+ className: cn16(
3316
3418
  "text-sm font-medium tracking-tight",
3317
3419
  className
3318
3420
  ),
@@ -3321,11 +3423,11 @@ function EmptyTitle({ className, ...props }) {
3321
3423
  );
3322
3424
  }
3323
3425
  function EmptyDescription({ className, ...props }) {
3324
- return /* @__PURE__ */ jsx33(
3426
+ return /* @__PURE__ */ jsx35(
3325
3427
  "div",
3326
3428
  {
3327
3429
  "data-slot": "empty-description",
3328
- className: cn15(
3430
+ className: cn16(
3329
3431
  "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3330
3432
  className
3331
3433
  ),
@@ -3334,11 +3436,11 @@ function EmptyDescription({ className, ...props }) {
3334
3436
  );
3335
3437
  }
3336
3438
  function EmptyContent({ className, ...props }) {
3337
- return /* @__PURE__ */ jsx33(
3439
+ return /* @__PURE__ */ jsx35(
3338
3440
  "div",
3339
3441
  {
3340
3442
  "data-slot": "empty-content",
3341
- className: cn15(
3443
+ className: cn16(
3342
3444
  "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
3343
3445
  className
3344
3446
  ),
@@ -3348,12 +3450,12 @@ function EmptyContent({ className, ...props }) {
3348
3450
  }
3349
3451
 
3350
3452
  // src/components/empty/Empty.tsx
3351
- import { jsx as jsx34 } from "react/jsx-runtime";
3453
+ import { jsx as jsx36 } from "react/jsx-runtime";
3352
3454
  function Empty2({ className, ...props }) {
3353
- return /* @__PURE__ */ jsx34(Empty, { className, ...props });
3455
+ return /* @__PURE__ */ jsx36(Empty, { className, ...props });
3354
3456
  }
3355
- var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3356
- return /* @__PURE__ */ jsx34(
3457
+ var EmptyMedia2 = React21.forwardRef(({ className, ...props }, ref) => {
3458
+ return /* @__PURE__ */ jsx36(
3357
3459
  EmptyMedia,
3358
3460
  {
3359
3461
  ref,
@@ -3366,8 +3468,8 @@ var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3366
3468
  );
3367
3469
  });
3368
3470
  EmptyMedia2.displayName = "EmptyMedia";
3369
- var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3370
- return /* @__PURE__ */ jsx34(
3471
+ var EmptyTitle2 = React21.forwardRef(({ className, ...props }, ref) => {
3472
+ return /* @__PURE__ */ jsx36(
3371
3473
  EmptyTitle,
3372
3474
  {
3373
3475
  ref,
@@ -3377,8 +3479,8 @@ var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3377
3479
  );
3378
3480
  });
3379
3481
  EmptyTitle2.displayName = "EmptyTitle";
3380
- var EmptyDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3381
- return /* @__PURE__ */ jsx34(
3482
+ var EmptyDescription2 = React21.forwardRef(({ className, ...props }, ref) => {
3483
+ return /* @__PURE__ */ jsx36(
3382
3484
  EmptyDescription,
3383
3485
  {
3384
3486
  ref,
@@ -3391,22 +3493,22 @@ EmptyDescription2.displayName = "EmptyDescription";
3391
3493
 
3392
3494
  // src/components/search-input/SearchInput.tsx
3393
3495
  import { Search } from "lucide-react";
3394
- import { jsx as jsx35, jsxs as jsxs15 } from "react/jsx-runtime";
3496
+ import { jsx as jsx37, jsxs as jsxs16 } from "react/jsx-runtime";
3395
3497
  var SearchInput = ({
3396
3498
  type = "search",
3397
3499
  placeholder = "Search...",
3398
3500
  className,
3399
3501
  ref,
3400
3502
  ...props
3401
- }) => /* @__PURE__ */ jsxs15("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3402
- /* @__PURE__ */ jsx35(
3503
+ }) => /* @__PURE__ */ jsxs16("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3504
+ /* @__PURE__ */ jsx37(
3403
3505
  Search,
3404
3506
  {
3405
3507
  "aria-hidden": "true",
3406
3508
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3407
3509
  }
3408
3510
  ),
3409
- /* @__PURE__ */ jsx35(
3511
+ /* @__PURE__ */ jsx37(
3410
3512
  Input,
3411
3513
  {
3412
3514
  ref,
@@ -3420,32 +3522,32 @@ var SearchInput = ({
3420
3522
  SearchInput.displayName = "SearchInput";
3421
3523
 
3422
3524
  // src/components/checkbox/Checkbox.tsx
3423
- import * as React21 from "react";
3525
+ import * as React22 from "react";
3424
3526
  import { Checkbox as CheckboxPrimitive2 } from "@base-ui/react/checkbox";
3425
3527
  import { Check } from "lucide-react";
3426
3528
  import { cva as cva12 } from "class-variance-authority";
3427
3529
 
3428
3530
  // src/primitives/checkbox.tsx
3429
3531
  import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
3430
- import { cn as cn16 } from "cn";
3532
+ import { cn as cn17 } from "cn";
3431
3533
  import { CheckIcon as CheckIcon2 } from "lucide-react";
3432
- import { jsx as jsx36 } from "react/jsx-runtime";
3534
+ import { jsx as jsx38 } from "react/jsx-runtime";
3433
3535
  function Checkbox({ className, ...props }) {
3434
- return /* @__PURE__ */ jsx36(
3536
+ return /* @__PURE__ */ jsx38(
3435
3537
  CheckboxPrimitive.Root,
3436
3538
  {
3437
3539
  "data-slot": "checkbox",
3438
- className: cn16(
3540
+ className: cn17(
3439
3541
  "peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
3440
3542
  className
3441
3543
  ),
3442
3544
  ...props,
3443
- children: /* @__PURE__ */ jsx36(
3545
+ children: /* @__PURE__ */ jsx38(
3444
3546
  CheckboxPrimitive.Indicator,
3445
3547
  {
3446
3548
  "data-slot": "checkbox-indicator",
3447
3549
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3448
- children: /* @__PURE__ */ jsx36(
3550
+ children: /* @__PURE__ */ jsx38(
3449
3551
  CheckIcon2,
3450
3552
  {}
3451
3553
  )
@@ -3456,7 +3558,7 @@ function Checkbox({ className, ...props }) {
3456
3558
  }
3457
3559
 
3458
3560
  // src/components/checkbox/Checkbox.tsx
3459
- import { jsx as jsx37, jsxs as jsxs16 } from "react/jsx-runtime";
3561
+ import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
3460
3562
  var checkboxVariants = cva12(
3461
3563
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3462
3564
  {
@@ -3478,7 +3580,7 @@ var checkboxVariants = cva12(
3478
3580
  }
3479
3581
  }
3480
3582
  );
3481
- var Checkbox2 = React21.forwardRef(
3583
+ var Checkbox2 = React22.forwardRef(
3482
3584
  ({
3483
3585
  "aria-label": ariaLabel,
3484
3586
  className,
@@ -3491,11 +3593,11 @@ var Checkbox2 = React21.forwardRef(
3491
3593
  disabled,
3492
3594
  ...props
3493
3595
  }, ref) => {
3494
- const generatedId = React21.useId();
3596
+ const generatedId = React22.useId();
3495
3597
  const checkboxId = id || generatedId;
3496
3598
  const errorId = `${checkboxId}-error`;
3497
- return /* @__PURE__ */ jsxs16("div", { className: "flex items-start gap-3", children: [
3498
- /* @__PURE__ */ jsx37("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx37(
3599
+ return /* @__PURE__ */ jsxs17("div", { className: "flex items-start gap-3", children: [
3600
+ /* @__PURE__ */ jsx39("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx39(
3499
3601
  Checkbox,
3500
3602
  {
3501
3603
  ref,
@@ -3511,7 +3613,7 @@ var Checkbox2 = React21.forwardRef(
3511
3613
  className
3512
3614
  ),
3513
3615
  ...props,
3514
- children: /* @__PURE__ */ jsx37(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx37(
3616
+ children: /* @__PURE__ */ jsx39(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx39(
3515
3617
  Check,
3516
3618
  {
3517
3619
  className: "h-4 w-4 text-current stroke-current",
@@ -3520,8 +3622,8 @@ var Checkbox2 = React21.forwardRef(
3520
3622
  ) })
3521
3623
  }
3522
3624
  ) }),
3523
- (label || description || error) && /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1", children: [
3524
- label && /* @__PURE__ */ jsx37(
3625
+ (label || description || error) && /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1", children: [
3626
+ label && /* @__PURE__ */ jsx39(
3525
3627
  "label",
3526
3628
  {
3527
3629
  htmlFor: checkboxId,
@@ -3533,8 +3635,8 @@ var Checkbox2 = React21.forwardRef(
3533
3635
  children: label
3534
3636
  }
3535
3637
  ),
3536
- description && /* @__PURE__ */ jsx37(Typography, { variant: "xs", color: "muted", children: description }),
3537
- error && /* @__PURE__ */ jsx37(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3638
+ description && /* @__PURE__ */ jsx39(Typography, { variant: "xs", color: "muted", children: description }),
3639
+ error && /* @__PURE__ */ jsx39(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3538
3640
  ] })
3539
3641
  ] });
3540
3642
  }
@@ -3542,10 +3644,10 @@ var Checkbox2 = React21.forwardRef(
3542
3644
  Checkbox2.displayName = "Checkbox";
3543
3645
 
3544
3646
  // src/components/switch/Switch.tsx
3545
- import * as React22 from "react";
3647
+ import * as React23 from "react";
3546
3648
  import { Switch as SwitchPrimitives } from "@base-ui/react/switch";
3547
3649
  import { cva as cva13 } from "class-variance-authority";
3548
- import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
3650
+ import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
3549
3651
  var switchRootVariants = cva13(
3550
3652
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-berget-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
3551
3653
  {
@@ -3582,7 +3684,7 @@ var switchThumbVariants = cva13(
3582
3684
  }
3583
3685
  }
3584
3686
  );
3585
- var Switch = React22.forwardRef(
3687
+ var Switch = React23.forwardRef(
3586
3688
  ({
3587
3689
  "aria-label": ariaLabel,
3588
3690
  className,
@@ -3595,11 +3697,11 @@ var Switch = React22.forwardRef(
3595
3697
  disabled,
3596
3698
  ...props
3597
3699
  }, ref) => {
3598
- const generatedId = React22.useId();
3700
+ const generatedId = React23.useId();
3599
3701
  const switchId = id || generatedId;
3600
3702
  const errorId = `${switchId}-error`;
3601
- return /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3602
- /* @__PURE__ */ jsx38(
3703
+ return /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3704
+ /* @__PURE__ */ jsx40(
3603
3705
  SwitchPrimitives.Root,
3604
3706
  {
3605
3707
  ref,
@@ -3614,11 +3716,11 @@ var Switch = React22.forwardRef(
3614
3716
  className
3615
3717
  ),
3616
3718
  ...props,
3617
- children: /* @__PURE__ */ jsx38(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3719
+ children: /* @__PURE__ */ jsx40(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3618
3720
  }
3619
3721
  ),
3620
- (label || description || error) && /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1", children: [
3621
- label && /* @__PURE__ */ jsx38(
3722
+ (label || description || error) && /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-1", children: [
3723
+ label && /* @__PURE__ */ jsx40(
3622
3724
  "label",
3623
3725
  {
3624
3726
  htmlFor: switchId,
@@ -3629,8 +3731,8 @@ var Switch = React22.forwardRef(
3629
3731
  children: label
3630
3732
  }
3631
3733
  ),
3632
- description && /* @__PURE__ */ jsx38(Typography, { variant: "xs", color: "muted", children: description }),
3633
- error && /* @__PURE__ */ jsx38(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3734
+ description && /* @__PURE__ */ jsx40(Typography, { variant: "xs", color: "muted", children: description }),
3735
+ error && /* @__PURE__ */ jsx40(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3634
3736
  ] })
3635
3737
  ] });
3636
3738
  }
@@ -3639,26 +3741,26 @@ Switch.displayName = "Switch";
3639
3741
 
3640
3742
  // src/primitives/select.tsx
3641
3743
  import { Select as SelectPrimitive } from "@base-ui/react/select";
3642
- import { cn as cn17 } from "cn";
3744
+ import { cn as cn18 } from "cn";
3643
3745
  import { ChevronDownIcon as ChevronDownIcon2, CheckIcon as CheckIcon3, ChevronUpIcon } from "lucide-react";
3644
- import { jsx as jsx39, jsxs as jsxs18 } from "react/jsx-runtime";
3746
+ import { jsx as jsx41, jsxs as jsxs19 } from "react/jsx-runtime";
3645
3747
  var Select = SelectPrimitive.Root;
3646
3748
  function SelectGroup({ className, ...props }) {
3647
- return /* @__PURE__ */ jsx39(
3749
+ return /* @__PURE__ */ jsx41(
3648
3750
  SelectPrimitive.Group,
3649
3751
  {
3650
3752
  "data-slot": "select-group",
3651
- className: cn17("scroll-my-1 p-1", className),
3753
+ className: cn18("scroll-my-1 p-1", className),
3652
3754
  ...props
3653
3755
  }
3654
3756
  );
3655
3757
  }
3656
3758
  function SelectValue({ className, ...props }) {
3657
- return /* @__PURE__ */ jsx39(
3759
+ return /* @__PURE__ */ jsx41(
3658
3760
  SelectPrimitive.Value,
3659
3761
  {
3660
3762
  "data-slot": "select-value",
3661
- className: cn17("flex flex-1 text-left", className),
3763
+ className: cn18("flex flex-1 text-left", className),
3662
3764
  ...props
3663
3765
  }
3664
3766
  );
@@ -3669,22 +3771,22 @@ function SelectTrigger({
3669
3771
  children,
3670
3772
  ...props
3671
3773
  }) {
3672
- return /* @__PURE__ */ jsxs18(
3774
+ return /* @__PURE__ */ jsxs19(
3673
3775
  SelectPrimitive.Trigger,
3674
3776
  {
3675
3777
  "data-slot": "select-trigger",
3676
3778
  "data-size": size,
3677
- className: cn17(
3779
+ className: cn18(
3678
3780
  "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-input/30 py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3679
3781
  className
3680
3782
  ),
3681
3783
  ...props,
3682
3784
  children: [
3683
3785
  children,
3684
- /* @__PURE__ */ jsx39(
3786
+ /* @__PURE__ */ jsx41(
3685
3787
  SelectPrimitive.Icon,
3686
3788
  {
3687
- render: /* @__PURE__ */ jsx39(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3789
+ render: /* @__PURE__ */ jsx41(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3688
3790
  }
3689
3791
  )
3690
3792
  ]
@@ -3701,7 +3803,7 @@ function SelectContent({
3701
3803
  alignItemWithTrigger = true,
3702
3804
  ...props
3703
3805
  }) {
3704
- return /* @__PURE__ */ jsx39(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx39(
3806
+ return /* @__PURE__ */ jsx41(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
3705
3807
  SelectPrimitive.Positioner,
3706
3808
  {
3707
3809
  side,
@@ -3710,17 +3812,17 @@ function SelectContent({
3710
3812
  alignOffset,
3711
3813
  alignItemWithTrigger,
3712
3814
  className: "isolate z-50",
3713
- children: /* @__PURE__ */ jsxs18(
3815
+ children: /* @__PURE__ */ jsxs19(
3714
3816
  SelectPrimitive.Popup,
3715
3817
  {
3716
3818
  "data-slot": "select-content",
3717
3819
  "data-align-trigger": alignItemWithTrigger,
3718
- className: cn17("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3820
+ className: cn18("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3719
3821
  ...props,
3720
3822
  children: [
3721
- /* @__PURE__ */ jsx39(SelectScrollUpButton, {}),
3722
- /* @__PURE__ */ jsx39(SelectPrimitive.List, { children }),
3723
- /* @__PURE__ */ jsx39(SelectScrollDownButton, {})
3823
+ /* @__PURE__ */ jsx41(SelectScrollUpButton, {}),
3824
+ /* @__PURE__ */ jsx41(SelectPrimitive.List, { children }),
3825
+ /* @__PURE__ */ jsx41(SelectScrollDownButton, {})
3724
3826
  ]
3725
3827
  }
3726
3828
  )
@@ -3731,11 +3833,11 @@ function SelectLabel({
3731
3833
  className,
3732
3834
  ...props
3733
3835
  }) {
3734
- return /* @__PURE__ */ jsx39(
3836
+ return /* @__PURE__ */ jsx41(
3735
3837
  SelectPrimitive.GroupLabel,
3736
3838
  {
3737
3839
  "data-slot": "select-label",
3738
- className: cn17("px-1.5 py-1 text-xs text-muted-foreground", className),
3840
+ className: cn18("px-1.5 py-1 text-xs text-muted-foreground", className),
3739
3841
  ...props
3740
3842
  }
3741
3843
  );
@@ -3745,22 +3847,22 @@ function SelectItem({
3745
3847
  children,
3746
3848
  ...props
3747
3849
  }) {
3748
- return /* @__PURE__ */ jsxs18(
3850
+ return /* @__PURE__ */ jsxs19(
3749
3851
  SelectPrimitive.Item,
3750
3852
  {
3751
3853
  "data-slot": "select-item",
3752
- className: cn17(
3854
+ className: cn18(
3753
3855
  "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
3754
3856
  className
3755
3857
  ),
3756
3858
  ...props,
3757
3859
  children: [
3758
- /* @__PURE__ */ jsx39(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3759
- /* @__PURE__ */ jsx39(
3860
+ /* @__PURE__ */ jsx41(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3861
+ /* @__PURE__ */ jsx41(
3760
3862
  SelectPrimitive.ItemIndicator,
3761
3863
  {
3762
- render: /* @__PURE__ */ jsx39("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3763
- children: /* @__PURE__ */ jsx39(CheckIcon3, { className: "pointer-events-none" })
3864
+ render: /* @__PURE__ */ jsx41("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3865
+ children: /* @__PURE__ */ jsx41(CheckIcon3, { className: "pointer-events-none" })
3764
3866
  }
3765
3867
  )
3766
3868
  ]
@@ -3771,11 +3873,11 @@ function SelectSeparator({
3771
3873
  className,
3772
3874
  ...props
3773
3875
  }) {
3774
- return /* @__PURE__ */ jsx39(
3876
+ return /* @__PURE__ */ jsx41(
3775
3877
  SelectPrimitive.Separator,
3776
3878
  {
3777
3879
  "data-slot": "select-separator",
3778
- className: cn17("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3880
+ className: cn18("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3779
3881
  ...props
3780
3882
  }
3781
3883
  );
@@ -3784,16 +3886,16 @@ function SelectScrollUpButton({
3784
3886
  className,
3785
3887
  ...props
3786
3888
  }) {
3787
- return /* @__PURE__ */ jsx39(
3889
+ return /* @__PURE__ */ jsx41(
3788
3890
  SelectPrimitive.ScrollUpArrow,
3789
3891
  {
3790
3892
  "data-slot": "select-scroll-up-button",
3791
- className: cn17(
3893
+ className: cn18(
3792
3894
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3793
3895
  className
3794
3896
  ),
3795
3897
  ...props,
3796
- children: /* @__PURE__ */ jsx39(
3898
+ children: /* @__PURE__ */ jsx41(
3797
3899
  ChevronUpIcon,
3798
3900
  {}
3799
3901
  )
@@ -3804,16 +3906,16 @@ function SelectScrollDownButton({
3804
3906
  className,
3805
3907
  ...props
3806
3908
  }) {
3807
- return /* @__PURE__ */ jsx39(
3909
+ return /* @__PURE__ */ jsx41(
3808
3910
  SelectPrimitive.ScrollDownArrow,
3809
3911
  {
3810
3912
  "data-slot": "select-scroll-down-button",
3811
- className: cn17(
3913
+ className: cn18(
3812
3914
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3813
3915
  className
3814
3916
  ),
3815
3917
  ...props,
3816
- children: /* @__PURE__ */ jsx39(
3918
+ children: /* @__PURE__ */ jsx41(
3817
3919
  ChevronDownIcon2,
3818
3920
  {}
3819
3921
  )
@@ -3822,19 +3924,19 @@ function SelectScrollDownButton({
3822
3924
  }
3823
3925
 
3824
3926
  // src/components/country-select/CountrySelect.tsx
3825
- import * as React24 from "react";
3927
+ import * as React25 from "react";
3826
3928
  import { ChevronDown as ChevronDown2, Globe } from "lucide-react";
3827
3929
 
3828
3930
  // src/components/icon/Icon.tsx
3829
- import * as React23 from "react";
3830
- import { jsx as jsx40 } from "react/jsx-runtime";
3931
+ import * as React24 from "react";
3932
+ import { jsx as jsx42 } from "react/jsx-runtime";
3831
3933
  var iconStrokeMap = {
3832
3934
  12: 1.4,
3833
3935
  16: 1.4,
3834
3936
  24: 1.6,
3835
3937
  32: 1.8
3836
3938
  };
3837
- var Icon = React23.forwardRef(
3939
+ var Icon = React24.forwardRef(
3838
3940
  ({
3839
3941
  icon: IconComponent,
3840
3942
  size,
@@ -3846,7 +3948,7 @@ var Icon = React23.forwardRef(
3846
3948
  const strokeWidth = iconStrokeMap[size];
3847
3949
  const sizeClass = size === 12 ? "w-3 h-3" : size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3848
3950
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
3849
- return /* @__PURE__ */ jsx40(
3951
+ return /* @__PURE__ */ jsx42(
3850
3952
  IconComponent,
3851
3953
  {
3852
3954
  ref,
@@ -3862,13 +3964,13 @@ Icon.displayName = "Icon";
3862
3964
 
3863
3965
  // src/primitives/popover.tsx
3864
3966
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
3865
- import { cn as cn18 } from "cn";
3866
- import { jsx as jsx41 } from "react/jsx-runtime";
3967
+ import { cn as cn19 } from "cn";
3968
+ import { jsx as jsx43 } from "react/jsx-runtime";
3867
3969
  function Popover({ ...props }) {
3868
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3970
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3869
3971
  }
3870
3972
  function PopoverTrigger({ ...props }) {
3871
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3973
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3872
3974
  }
3873
3975
  function PopoverContent({
3874
3976
  className,
@@ -3878,7 +3980,7 @@ function PopoverContent({
3878
3980
  sideOffset = 4,
3879
3981
  ...props
3880
3982
  }) {
3881
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
3983
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx43(
3882
3984
  PopoverPrimitive.Positioner,
3883
3985
  {
3884
3986
  align,
@@ -3886,11 +3988,11 @@ function PopoverContent({
3886
3988
  side,
3887
3989
  sideOffset,
3888
3990
  className: "isolate z-50",
3889
- children: /* @__PURE__ */ jsx41(
3991
+ children: /* @__PURE__ */ jsx43(
3890
3992
  PopoverPrimitive.Popup,
3891
3993
  {
3892
3994
  "data-slot": "popover-content",
3893
- className: cn18(
3995
+ className: cn19(
3894
3996
  "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
3895
3997
  className
3896
3998
  ),
@@ -3903,27 +4005,27 @@ function PopoverContent({
3903
4005
 
3904
4006
  // src/primitives/command.tsx
3905
4007
  import { Command as CommandPrimitive } from "cmdk";
3906
- import { cn as cn22 } from "cn";
4008
+ import { cn as cn23 } from "cn";
3907
4009
 
3908
4010
  // src/primitives/dialog.tsx
3909
4011
  import { Dialog as DialogPrimitive2 } from "@base-ui/react/dialog";
3910
- import { cn as cn19 } from "cn";
4012
+ import { cn as cn20 } from "cn";
3911
4013
  import { XIcon as XIcon2 } from "lucide-react";
3912
- import { jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
4014
+ import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
3913
4015
 
3914
4016
  // src/primitives/input-group.tsx
3915
4017
  import { cva as cva14 } from "class-variance-authority";
3916
- import { cn as cn21 } from "cn";
4018
+ import { cn as cn22 } from "cn";
3917
4019
 
3918
4020
  // src/primitives/textarea.tsx
3919
- import { cn as cn20 } from "cn";
3920
- import { jsx as jsx43 } from "react/jsx-runtime";
4021
+ import { cn as cn21 } from "cn";
4022
+ import { jsx as jsx45 } from "react/jsx-runtime";
3921
4023
  function Textarea({ className, ...props }) {
3922
- return /* @__PURE__ */ jsx43(
4024
+ return /* @__PURE__ */ jsx45(
3923
4025
  "textarea",
3924
4026
  {
3925
4027
  "data-slot": "textarea",
3926
- className: cn20(
4028
+ className: cn21(
3927
4029
  "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-input/30 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
3928
4030
  className
3929
4031
  ),
@@ -3933,14 +4035,14 @@ function Textarea({ className, ...props }) {
3933
4035
  }
3934
4036
 
3935
4037
  // src/primitives/input-group.tsx
3936
- import { jsx as jsx44 } from "react/jsx-runtime";
4038
+ import { jsx as jsx46 } from "react/jsx-runtime";
3937
4039
  function InputGroup({ className, ...props }) {
3938
- return /* @__PURE__ */ jsx44(
4040
+ return /* @__PURE__ */ jsx46(
3939
4041
  "div",
3940
4042
  {
3941
4043
  "data-slot": "input-group",
3942
4044
  role: "group",
3943
- className: cn21(
4045
+ className: cn22(
3944
4046
  "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
3945
4047
  className
3946
4048
  ),
@@ -3969,13 +4071,13 @@ function InputGroupAddon({
3969
4071
  align = "inline-start",
3970
4072
  ...props
3971
4073
  }) {
3972
- return /* @__PURE__ */ jsx44(
4074
+ return /* @__PURE__ */ jsx46(
3973
4075
  "div",
3974
4076
  {
3975
4077
  role: "group",
3976
4078
  "data-slot": "input-group-addon",
3977
4079
  "data-align": align,
3978
- className: cn21(inputGroupAddonVariants({ align }), className),
4080
+ className: cn22(inputGroupAddonVariants({ align }), className),
3979
4081
  onClick: (e) => {
3980
4082
  if (e.target.closest("button")) {
3981
4083
  return;
@@ -4005,16 +4107,16 @@ var inputGroupButtonVariants = cva14(
4005
4107
 
4006
4108
  // src/primitives/command.tsx
4007
4109
  import { SearchIcon, CheckIcon as CheckIcon4 } from "lucide-react";
4008
- import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4110
+ import { jsx as jsx47, jsxs as jsxs21 } from "react/jsx-runtime";
4009
4111
  function Command({
4010
4112
  className,
4011
4113
  ...props
4012
4114
  }) {
4013
- return /* @__PURE__ */ jsx45(
4115
+ return /* @__PURE__ */ jsx47(
4014
4116
  CommandPrimitive,
4015
4117
  {
4016
4118
  "data-slot": "command",
4017
- className: cn22(
4119
+ className: cn23(
4018
4120
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
4019
4121
  className
4020
4122
  ),
@@ -4026,30 +4128,30 @@ function CommandInput({
4026
4128
  className,
4027
4129
  ...props
4028
4130
  }) {
4029
- return /* @__PURE__ */ jsx45("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ jsxs20(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4030
- /* @__PURE__ */ jsx45(
4131
+ return /* @__PURE__ */ jsx47("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ jsxs21(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4132
+ /* @__PURE__ */ jsx47(
4031
4133
  CommandPrimitive.Input,
4032
4134
  {
4033
4135
  "data-slot": "command-input",
4034
- className: cn22(
4136
+ className: cn23(
4035
4137
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
4036
4138
  className
4037
4139
  ),
4038
4140
  ...props
4039
4141
  }
4040
4142
  ),
4041
- /* @__PURE__ */ jsx45(InputGroupAddon, { children: /* @__PURE__ */ jsx45(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4143
+ /* @__PURE__ */ jsx47(InputGroupAddon, { children: /* @__PURE__ */ jsx47(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4042
4144
  ] }) });
4043
4145
  }
4044
4146
  function CommandList({
4045
4147
  className,
4046
4148
  ...props
4047
4149
  }) {
4048
- return /* @__PURE__ */ jsx45(
4150
+ return /* @__PURE__ */ jsx47(
4049
4151
  CommandPrimitive.List,
4050
4152
  {
4051
4153
  "data-slot": "command-list",
4052
- className: cn22(
4154
+ className: cn23(
4053
4155
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
4054
4156
  className
4055
4157
  ),
@@ -4061,11 +4163,11 @@ function CommandEmpty({
4061
4163
  className,
4062
4164
  ...props
4063
4165
  }) {
4064
- return /* @__PURE__ */ jsx45(
4166
+ return /* @__PURE__ */ jsx47(
4065
4167
  CommandPrimitive.Empty,
4066
4168
  {
4067
4169
  "data-slot": "command-empty",
4068
- className: cn22("py-6 text-center text-sm", className),
4170
+ className: cn23("py-6 text-center text-sm", className),
4069
4171
  ...props
4070
4172
  }
4071
4173
  );
@@ -4074,11 +4176,11 @@ function CommandGroup({
4074
4176
  className,
4075
4177
  ...props
4076
4178
  }) {
4077
- return /* @__PURE__ */ jsx45(
4179
+ return /* @__PURE__ */ jsx47(
4078
4180
  CommandPrimitive.Group,
4079
4181
  {
4080
4182
  "data-slot": "command-group",
4081
- className: cn22(
4183
+ className: cn23(
4082
4184
  "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",
4083
4185
  className
4084
4186
  ),
@@ -4091,18 +4193,18 @@ function CommandItem({
4091
4193
  children,
4092
4194
  ...props
4093
4195
  }) {
4094
- return /* @__PURE__ */ jsxs20(
4196
+ return /* @__PURE__ */ jsxs21(
4095
4197
  CommandPrimitive.Item,
4096
4198
  {
4097
4199
  "data-slot": "command-item",
4098
- className: cn22(
4200
+ className: cn23(
4099
4201
  "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",
4100
4202
  className
4101
4203
  ),
4102
4204
  ...props,
4103
4205
  children: [
4104
4206
  children,
4105
- /* @__PURE__ */ jsx45(CheckIcon4, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4207
+ /* @__PURE__ */ jsx47(CheckIcon4, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4106
4208
  ]
4107
4209
  }
4108
4210
  );
@@ -4250,8 +4352,8 @@ var isEUCountry = (countryCode) => {
4250
4352
  };
4251
4353
 
4252
4354
  // src/components/country-select/CountrySelect.tsx
4253
- import { Fragment as Fragment2, jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4254
- var CountrySelect = React24.forwardRef(
4355
+ import { Fragment as Fragment2, jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
4356
+ var CountrySelect = React25.forwardRef(
4255
4357
  ({
4256
4358
  value,
4257
4359
  onValueChange,
@@ -4261,14 +4363,14 @@ var CountrySelect = React24.forwardRef(
4261
4363
  align = "center",
4262
4364
  sideOffset = 4
4263
4365
  }, ref) => {
4264
- const [open, setOpen] = React24.useState(false);
4265
- const selectedCountry = React24.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4266
- return /* @__PURE__ */ jsxs21(Popover, { open, onOpenChange: setOpen, children: [
4267
- /* @__PURE__ */ jsxs21(
4366
+ const [open, setOpen] = React25.useState(false);
4367
+ const selectedCountry = React25.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4368
+ return /* @__PURE__ */ jsxs22(Popover, { open, onOpenChange: setOpen, children: [
4369
+ /* @__PURE__ */ jsxs22(
4268
4370
  PopoverTrigger,
4269
4371
  {
4270
4372
  ref,
4271
- render: /* @__PURE__ */ jsx46(
4373
+ render: /* @__PURE__ */ jsx48(
4272
4374
  "button",
4273
4375
  {
4274
4376
  type: "button",
@@ -4290,16 +4392,16 @@ var CountrySelect = React24.forwardRef(
4290
4392
  }
4291
4393
  ),
4292
4394
  children: [
4293
- /* @__PURE__ */ jsx46("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs21(Fragment2, { children: [
4294
- /* @__PURE__ */ jsx46("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4295
- /* @__PURE__ */ jsx46("span", { className: "truncate", children: selectedCountry.name }),
4296
- /* @__PURE__ */ jsxs21("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4395
+ /* @__PURE__ */ jsx48("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs22(Fragment2, { children: [
4396
+ /* @__PURE__ */ jsx48("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4397
+ /* @__PURE__ */ jsx48("span", { className: "truncate", children: selectedCountry.name }),
4398
+ /* @__PURE__ */ jsxs22("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4297
4399
  "(",
4298
4400
  selectedCountry.code,
4299
4401
  ")"
4300
4402
  ] })
4301
- ] }) : /* @__PURE__ */ jsxs21(Fragment2, { children: [
4302
- /* @__PURE__ */ jsx46(
4403
+ ] }) : /* @__PURE__ */ jsxs22(Fragment2, { children: [
4404
+ /* @__PURE__ */ jsx48(
4303
4405
  Icon,
4304
4406
  {
4305
4407
  icon: Globe,
@@ -4307,9 +4409,9 @@ var CountrySelect = React24.forwardRef(
4307
4409
  className: "flex-shrink-0 text-berget-muted-foreground"
4308
4410
  }
4309
4411
  ),
4310
- /* @__PURE__ */ jsx46("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4412
+ /* @__PURE__ */ jsx48("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4311
4413
  ] }) }),
4312
- /* @__PURE__ */ jsx46(
4414
+ /* @__PURE__ */ jsx48(
4313
4415
  Icon,
4314
4416
  {
4315
4417
  icon: ChevronDown2,
@@ -4324,17 +4426,17 @@ var CountrySelect = React24.forwardRef(
4324
4426
  ]
4325
4427
  }
4326
4428
  ),
4327
- /* @__PURE__ */ jsx46(
4429
+ /* @__PURE__ */ jsx48(
4328
4430
  PopoverContent,
4329
4431
  {
4330
4432
  align,
4331
4433
  sideOffset,
4332
4434
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4333
- children: /* @__PURE__ */ jsxs21(Command, { children: [
4334
- /* @__PURE__ */ jsx46(CommandInput, { placeholder: "Search country..." }),
4335
- /* @__PURE__ */ jsxs21(CommandList, { children: [
4336
- /* @__PURE__ */ jsx46(CommandEmpty, { children: "No countries found." }),
4337
- /* @__PURE__ */ jsx46(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs21(
4435
+ children: /* @__PURE__ */ jsxs22(Command, { children: [
4436
+ /* @__PURE__ */ jsx48(CommandInput, { placeholder: "Search country..." }),
4437
+ /* @__PURE__ */ jsxs22(CommandList, { children: [
4438
+ /* @__PURE__ */ jsx48(CommandEmpty, { children: "No countries found." }),
4439
+ /* @__PURE__ */ jsx48(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs22(
4338
4440
  CommandItem,
4339
4441
  {
4340
4442
  value: `${country.name} ${country.code}`,
@@ -4348,12 +4450,12 @@ var CountrySelect = React24.forwardRef(
4348
4450
  value === country.code && "bg-berget-brand-granite-800/40"
4349
4451
  ),
4350
4452
  children: [
4351
- /* @__PURE__ */ jsx46("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4352
- /* @__PURE__ */ jsxs21("div", { className: "flex-1 min-w-0", children: [
4353
- /* @__PURE__ */ jsx46("div", { className: "text-sm truncate", children: country.name }),
4354
- /* @__PURE__ */ jsx46("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4453
+ /* @__PURE__ */ jsx48("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4454
+ /* @__PURE__ */ jsxs22("div", { className: "flex-1 min-w-0", children: [
4455
+ /* @__PURE__ */ jsx48("div", { className: "text-sm truncate", children: country.name }),
4456
+ /* @__PURE__ */ jsx48("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4355
4457
  ] }),
4356
- value === country.code && /* @__PURE__ */ jsx46("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4458
+ value === country.code && /* @__PURE__ */ jsx48("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4357
4459
  ]
4358
4460
  },
4359
4461
  country.code
@@ -4368,14 +4470,14 @@ var CountrySelect = React24.forwardRef(
4368
4470
  CountrySelect.displayName = "CountrySelect";
4369
4471
 
4370
4472
  // src/primitives/label.tsx
4371
- import { cn as cn23 } from "cn";
4372
- import { jsx as jsx47 } from "react/jsx-runtime";
4473
+ import { cn as cn24 } from "cn";
4474
+ import { jsx as jsx49 } from "react/jsx-runtime";
4373
4475
  function Label({ className, ...props }) {
4374
- return /* @__PURE__ */ jsx47(
4476
+ return /* @__PURE__ */ jsx49(
4375
4477
  "label",
4376
4478
  {
4377
4479
  "data-slot": "label",
4378
- className: cn23(
4480
+ className: cn24(
4379
4481
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
4380
4482
  className
4381
4483
  ),
@@ -4387,14 +4489,14 @@ function Label({ className, ...props }) {
4387
4489
  // src/primitives/field.tsx
4388
4490
  import { useMemo as useMemo4 } from "react";
4389
4491
  import { cva as cva15 } from "class-variance-authority";
4390
- import { cn as cn24 } from "cn";
4391
- import { jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
4492
+ import { cn as cn25 } from "cn";
4493
+ import { jsx as jsx50, jsxs as jsxs23 } from "react/jsx-runtime";
4392
4494
  function FieldSet({ className, ...props }) {
4393
- return /* @__PURE__ */ jsx48(
4495
+ return /* @__PURE__ */ jsx50(
4394
4496
  "fieldset",
4395
4497
  {
4396
4498
  "data-slot": "field-set",
4397
- className: cn24(
4499
+ className: cn25(
4398
4500
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4399
4501
  className
4400
4502
  ),
@@ -4407,12 +4509,12 @@ function FieldLegend({
4407
4509
  variant = "legend",
4408
4510
  ...props
4409
4511
  }) {
4410
- return /* @__PURE__ */ jsx48(
4512
+ return /* @__PURE__ */ jsx50(
4411
4513
  "legend",
4412
4514
  {
4413
4515
  "data-slot": "field-legend",
4414
4516
  "data-variant": variant,
4415
- className: cn24(
4517
+ className: cn25(
4416
4518
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4417
4519
  className
4418
4520
  ),
@@ -4421,11 +4523,11 @@ function FieldLegend({
4421
4523
  );
4422
4524
  }
4423
4525
  function FieldGroup({ className, ...props }) {
4424
- return /* @__PURE__ */ jsx48(
4526
+ return /* @__PURE__ */ jsx50(
4425
4527
  "div",
4426
4528
  {
4427
4529
  "data-slot": "field-group",
4428
- className: cn24(
4530
+ className: cn25(
4429
4531
  "group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
4430
4532
  className
4431
4533
  ),
@@ -4453,23 +4555,23 @@ function Field({
4453
4555
  orientation = "vertical",
4454
4556
  ...props
4455
4557
  }) {
4456
- return /* @__PURE__ */ jsx48(
4558
+ return /* @__PURE__ */ jsx50(
4457
4559
  "div",
4458
4560
  {
4459
4561
  role: "group",
4460
4562
  "data-slot": "field",
4461
4563
  "data-orientation": orientation,
4462
- className: cn24(fieldVariants({ orientation }), className),
4564
+ className: cn25(fieldVariants({ orientation }), className),
4463
4565
  ...props
4464
4566
  }
4465
4567
  );
4466
4568
  }
4467
4569
  function FieldContent({ className, ...props }) {
4468
- return /* @__PURE__ */ jsx48(
4570
+ return /* @__PURE__ */ jsx50(
4469
4571
  "div",
4470
4572
  {
4471
4573
  "data-slot": "field-content",
4472
- className: cn24(
4574
+ className: cn25(
4473
4575
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4474
4576
  className
4475
4577
  ),
@@ -4481,11 +4583,11 @@ function FieldLabel({
4481
4583
  className,
4482
4584
  ...props
4483
4585
  }) {
4484
- return /* @__PURE__ */ jsx48(
4586
+ return /* @__PURE__ */ jsx50(
4485
4587
  Label,
4486
4588
  {
4487
4589
  "data-slot": "field-label",
4488
- className: cn24(
4590
+ className: cn25(
4489
4591
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
4490
4592
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4491
4593
  className
@@ -4495,11 +4597,11 @@ function FieldLabel({
4495
4597
  );
4496
4598
  }
4497
4599
  function FieldTitle({ className, ...props }) {
4498
- return /* @__PURE__ */ jsx48(
4600
+ return /* @__PURE__ */ jsx50(
4499
4601
  "div",
4500
4602
  {
4501
4603
  "data-slot": "field-label",
4502
- className: cn24(
4604
+ className: cn25(
4503
4605
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4504
4606
  className
4505
4607
  ),
@@ -4508,11 +4610,11 @@ function FieldTitle({ className, ...props }) {
4508
4610
  );
4509
4611
  }
4510
4612
  function FieldDescription({ className, ...props }) {
4511
- return /* @__PURE__ */ jsx48(
4613
+ return /* @__PURE__ */ jsx50(
4512
4614
  "p",
4513
4615
  {
4514
4616
  "data-slot": "field-description",
4515
- className: cn24(
4617
+ className: cn25(
4516
4618
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4517
4619
  "last:mt-0 nth-last-2:-mt-1",
4518
4620
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4527,19 +4629,19 @@ function FieldSeparator({
4527
4629
  className,
4528
4630
  ...props
4529
4631
  }) {
4530
- return /* @__PURE__ */ jsxs22(
4632
+ return /* @__PURE__ */ jsxs23(
4531
4633
  "div",
4532
4634
  {
4533
4635
  "data-slot": "field-separator",
4534
4636
  "data-content": !!children,
4535
- className: cn24(
4637
+ className: cn25(
4536
4638
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4537
4639
  className
4538
4640
  ),
4539
4641
  ...props,
4540
4642
  children: [
4541
- /* @__PURE__ */ jsx48(Separator, { className: "absolute inset-0 top-1/2" }),
4542
- children && /* @__PURE__ */ jsx48(
4643
+ /* @__PURE__ */ jsx50(Separator, { className: "absolute inset-0 top-1/2" }),
4644
+ children && /* @__PURE__ */ jsx50(
4543
4645
  "span",
4544
4646
  {
4545
4647
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4570,19 +4672,19 @@ function FieldError({
4570
4672
  if (uniqueErrors?.length == 1) {
4571
4673
  return uniqueErrors[0]?.message;
4572
4674
  }
4573
- return /* @__PURE__ */ jsx48("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4574
- (error, index) => error?.message && /* @__PURE__ */ jsx48("li", { children: error.message }, index)
4675
+ return /* @__PURE__ */ jsx50("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4676
+ (error, index) => error?.message && /* @__PURE__ */ jsx50("li", { children: error.message }, index)
4575
4677
  ) });
4576
4678
  }, [children, errors]);
4577
4679
  if (!content) {
4578
4680
  return null;
4579
4681
  }
4580
- return /* @__PURE__ */ jsx48(
4682
+ return /* @__PURE__ */ jsx50(
4581
4683
  "div",
4582
4684
  {
4583
4685
  role: "alert",
4584
4686
  "data-slot": "field-error",
4585
- className: cn24("text-sm font-normal text-destructive", className),
4687
+ className: cn25("text-sm font-normal text-destructive", className),
4586
4688
  ...props,
4587
4689
  children: content
4588
4690
  }
@@ -4590,10 +4692,10 @@ function FieldError({
4590
4692
  }
4591
4693
 
4592
4694
  // src/components/link/Link.tsx
4593
- import * as React25 from "react";
4695
+ import * as React26 from "react";
4594
4696
  import { cva as cva16 } from "class-variance-authority";
4595
4697
  import { ExternalLink } from "lucide-react";
4596
- import { jsx as jsx49, jsxs as jsxs23 } from "react/jsx-runtime";
4698
+ import { jsx as jsx51, jsxs as jsxs24 } from "react/jsx-runtime";
4597
4699
  var linkVariants = cva16(
4598
4700
  "inline-flex cursor-pointer items-center gap-2 transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
4599
4701
  {
@@ -4618,7 +4720,7 @@ var linkVariants = cva16(
4618
4720
  }
4619
4721
  }
4620
4722
  );
4621
- var Link = React25.forwardRef(
4723
+ var Link = React26.forwardRef(
4622
4724
  ({
4623
4725
  className,
4624
4726
  variant,
@@ -4631,7 +4733,7 @@ var Link = React25.forwardRef(
4631
4733
  ...props
4632
4734
  }, ref) => {
4633
4735
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
4634
- return /* @__PURE__ */ jsxs23(
4736
+ return /* @__PURE__ */ jsxs24(
4635
4737
  "a",
4636
4738
  {
4637
4739
  ref,
@@ -4647,8 +4749,8 @@ var Link = React25.forwardRef(
4647
4749
  },
4648
4750
  children: [
4649
4751
  children,
4650
- icon && /* @__PURE__ */ jsx49("span", { className: "inline-flex items-center", children: icon }),
4651
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx49("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx49(Icon, { icon: ExternalLink, size: 16 }) })
4752
+ icon && /* @__PURE__ */ jsx51("span", { className: "inline-flex items-center", children: icon }),
4753
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx51("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx51(Icon, { icon: ExternalLink, size: 16 }) })
4652
4754
  ]
4653
4755
  }
4654
4756
  );
@@ -4657,7 +4759,7 @@ var Link = React25.forwardRef(
4657
4759
  Link.displayName = "Link";
4658
4760
 
4659
4761
  // src/components/container/Container.tsx
4660
- import * as React26 from "react";
4762
+ import * as React27 from "react";
4661
4763
  import { mergeProps as mergeProps3 } from "@base-ui/react/merge-props";
4662
4764
  import { useRender as useRender3 } from "@base-ui/react/use-render";
4663
4765
  import { cva as cva17 } from "class-variance-authority";
@@ -4682,7 +4784,7 @@ var containerVariants = cva17("w-full mx-auto", {
4682
4784
  padding: "md"
4683
4785
  }
4684
4786
  });
4685
- var Container = React26.forwardRef(
4787
+ var Container = React27.forwardRef(
4686
4788
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4687
4789
  return useRender3({
4688
4790
  ref,
@@ -4701,7 +4803,7 @@ var Container = React26.forwardRef(
4701
4803
  Container.displayName = "Container";
4702
4804
 
4703
4805
  // src/components/grid/Grid.tsx
4704
- import * as React27 from "react";
4806
+ import * as React28 from "react";
4705
4807
  import { cva as cva18 } from "class-variance-authority";
4706
4808
  import { mergeProps as mergeProps4 } from "@base-ui/react/merge-props";
4707
4809
  import { useRender as useRender4 } from "@base-ui/react/use-render";
@@ -4727,7 +4829,7 @@ var gridVariants = cva18("grid", {
4727
4829
  justify: "start"
4728
4830
  }
4729
4831
  });
4730
- var Grid = React27.forwardRef(
4832
+ var Grid = React28.forwardRef(
4731
4833
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4732
4834
  return useRender4({
4733
4835
  ref,
@@ -4754,7 +4856,7 @@ var Grid = React27.forwardRef(
4754
4856
  Grid.displayName = "Grid";
4755
4857
 
4756
4858
  // src/components/box/Box.tsx
4757
- import * as React28 from "react";
4859
+ import * as React29 from "react";
4758
4860
  import { cva as cva19 } from "class-variance-authority";
4759
4861
  import { mergeProps as mergeProps5 } from "@base-ui/react/merge-props";
4760
4862
  import { useRender as useRender5 } from "@base-ui/react/use-render";
@@ -4794,7 +4896,7 @@ var boxVariants = cva19("flex", {
4794
4896
  wrap: "nowrap"
4795
4897
  }
4796
4898
  });
4797
- var Box = React28.forwardRef(
4899
+ var Box = React29.forwardRef(
4798
4900
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
4799
4901
  return useRender5({
4800
4902
  ref,
@@ -4817,22 +4919,22 @@ var Box = React28.forwardRef(
4817
4919
  Box.displayName = "Box";
4818
4920
 
4819
4921
  // src/components/language-select/LanguageSelect.tsx
4820
- import * as React29 from "react";
4922
+ import * as React30 from "react";
4821
4923
  import { Globe as Globe2 } from "lucide-react";
4822
- import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
4823
- var LanguageSelect = React29.forwardRef(
4924
+ import { jsx as jsx52, jsxs as jsxs25 } from "react/jsx-runtime";
4925
+ var LanguageSelect = React30.forwardRef(
4824
4926
  ({ className, options, value, onValueChange }, ref) => {
4825
- return /* @__PURE__ */ jsxs24(DropdownMenu, { children: [
4826
- /* @__PURE__ */ jsx50(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ jsxs24(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4827
- /* @__PURE__ */ jsx50("span", { className: "sr-only", children: "Select language" }),
4828
- /* @__PURE__ */ jsx50(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4927
+ return /* @__PURE__ */ jsxs25(DropdownMenu, { children: [
4928
+ /* @__PURE__ */ jsx52(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ jsxs25(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4929
+ /* @__PURE__ */ jsx52("span", { className: "sr-only", children: "Select language" }),
4930
+ /* @__PURE__ */ jsx52(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4829
4931
  ] }) }),
4830
- /* @__PURE__ */ jsx50(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ jsx50(
4932
+ /* @__PURE__ */ jsx52(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ jsx52(
4831
4933
  DropdownMenuRadioGroup,
4832
4934
  {
4833
4935
  value,
4834
4936
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
4835
- children: options.map((option) => /* @__PURE__ */ jsx50(
4937
+ children: options.map((option) => /* @__PURE__ */ jsx52(
4836
4938
  DropdownMenuRadioItem2,
4837
4939
  {
4838
4940
  value: option.value,
@@ -4850,12 +4952,12 @@ var LanguageSelect = React29.forwardRef(
4850
4952
  LanguageSelect.displayName = "LanguageSelect";
4851
4953
 
4852
4954
  // src/components/list/List.tsx
4853
- import * as React31 from "react";
4955
+ import * as React32 from "react";
4854
4956
 
4855
4957
  // src/components/divider/Divider.tsx
4856
- import * as React30 from "react";
4958
+ import * as React31 from "react";
4857
4959
  import { cva as cva20 } from "class-variance-authority";
4858
- import { jsx as jsx51, jsxs as jsxs25 } from "react/jsx-runtime";
4960
+ import { jsx as jsx53, jsxs as jsxs26 } from "react/jsx-runtime";
4859
4961
  var dividerVariants = cva20("", {
4860
4962
  variants: {
4861
4963
  variant: {
@@ -4876,7 +4978,7 @@ var dividerVariants = cva20("", {
4876
4978
  size: "thin"
4877
4979
  }
4878
4980
  });
4879
- var Divider = React30.forwardRef(
4981
+ var Divider = React31.forwardRef(
4880
4982
  ({
4881
4983
  className,
4882
4984
  orientation = "horizontal",
@@ -4887,16 +4989,16 @@ var Divider = React30.forwardRef(
4887
4989
  ...props
4888
4990
  }, ref) => {
4889
4991
  if (label) {
4890
- return /* @__PURE__ */ jsxs25("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4891
- labelPosition !== "right" && /* @__PURE__ */ jsx51(
4992
+ return /* @__PURE__ */ jsxs26("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4993
+ labelPosition !== "right" && /* @__PURE__ */ jsx53(
4892
4994
  Separator,
4893
4995
  {
4894
4996
  orientation: "horizontal",
4895
4997
  className: cn(dividerVariants({ variant, size }), "flex-1")
4896
4998
  }
4897
4999
  ),
4898
- /* @__PURE__ */ jsx51(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4899
- labelPosition !== "left" && /* @__PURE__ */ jsx51(
5000
+ /* @__PURE__ */ jsx53(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
5001
+ labelPosition !== "left" && /* @__PURE__ */ jsx53(
4900
5002
  Separator,
4901
5003
  {
4902
5004
  orientation: "horizontal",
@@ -4905,7 +5007,7 @@ var Divider = React30.forwardRef(
4905
5007
  )
4906
5008
  ] });
4907
5009
  }
4908
- return /* @__PURE__ */ jsx51(
5010
+ return /* @__PURE__ */ jsx53(
4909
5011
  Separator,
4910
5012
  {
4911
5013
  ref,
@@ -4923,19 +5025,19 @@ Divider.displayName = "Divider";
4923
5025
 
4924
5026
  // src/components/list/List.tsx
4925
5027
  import { Check as Check2 } from "lucide-react";
4926
- import { jsx as jsx52, jsxs as jsxs26 } from "react/jsx-runtime";
4927
- var List = React31.forwardRef(
5028
+ import { jsx as jsx54, jsxs as jsxs27 } from "react/jsx-runtime";
5029
+ var List = React32.forwardRef(
4928
5030
  ({ className, children, ...props }, ref) => {
4929
- const childrenArray = React31.Children.toArray(children);
4930
- return /* @__PURE__ */ jsx52("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs26(React31.Fragment, { children: [
5031
+ const childrenArray = React32.Children.toArray(children);
5032
+ return /* @__PURE__ */ jsx54("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs27(React32.Fragment, { children: [
4931
5033
  child,
4932
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx52(Divider, { variant: "subtle" })
5034
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx54(Divider, { variant: "subtle" })
4933
5035
  ] }, index)) });
4934
5036
  }
4935
5037
  );
4936
5038
  List.displayName = "List";
4937
- var ListItem = React31.forwardRef(
4938
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs26(
5039
+ var ListItem = React32.forwardRef(
5040
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs27(
4939
5041
  "div",
4940
5042
  {
4941
5043
  ref,
@@ -4946,15 +5048,15 @@ var ListItem = React31.forwardRef(
4946
5048
  ),
4947
5049
  ...props,
4948
5050
  children: [
4949
- icon && /* @__PURE__ */ jsx52("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4950
- /* @__PURE__ */ jsx52("div", { className: "flex-1 min-w-0", children })
5051
+ icon && /* @__PURE__ */ jsx54("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
5052
+ /* @__PURE__ */ jsx54("div", { className: "flex-1 min-w-0", children })
4951
5053
  ]
4952
5054
  }
4953
5055
  )
4954
5056
  );
4955
5057
  ListItem.displayName = "ListItem";
4956
- var ListHeader = React31.forwardRef(
4957
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx52(
5058
+ var ListHeader = React32.forwardRef(
5059
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx54(
4958
5060
  "div",
4959
5061
  {
4960
5062
  ref,
@@ -4965,11 +5067,11 @@ var ListHeader = React31.forwardRef(
4965
5067
  )
4966
5068
  );
4967
5069
  ListHeader.displayName = "ListHeader";
4968
- var FeatureList = React31.forwardRef(
5070
+ var FeatureList = React32.forwardRef(
4969
5071
  ({ items, variant = "bullet", className, ...props }, ref) => {
4970
- return /* @__PURE__ */ jsx52("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs26("li", { className: "flex items-start gap-fluid-md", children: [
4971
- variant === "bullet" ? /* @__PURE__ */ jsx52("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx52("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx52(Icon, { icon: Check2, size: 24, className: "text-berget-logo-light" }) }),
4972
- /* @__PURE__ */ jsx52(Typography, { variant: "body", color: "muted", children: item })
5072
+ return /* @__PURE__ */ jsx54("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs27("li", { className: "flex items-start gap-fluid-md", children: [
5073
+ variant === "bullet" ? /* @__PURE__ */ jsx54("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx54("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx54(Icon, { icon: Check2, size: 24, className: "text-berget-logo-light" }) }),
5074
+ /* @__PURE__ */ jsx54(Typography, { variant: "body", color: "muted", children: item })
4973
5075
  ] }, index)) });
4974
5076
  }
4975
5077
  );
@@ -4978,7 +5080,7 @@ FeatureList.displayName = "FeatureList";
4978
5080
  // src/components/code-block/CodeBlock.tsx
4979
5081
  import { useState as useState5, useEffect as useEffect4, useCallback as useCallback4 } from "react";
4980
5082
  import { Copy, Check as Check3 } from "lucide-react";
4981
- import { jsx as jsx53, jsxs as jsxs27 } from "react/jsx-runtime";
5083
+ import { jsx as jsx55, jsxs as jsxs28 } from "react/jsx-runtime";
4982
5084
  function CodeBlock({ code, language = "text", title, className }) {
4983
5085
  const [html, setHtml] = useState5(null);
4984
5086
  const [copied, setCopied] = useState5(false);
@@ -4994,16 +5096,16 @@ function CodeBlock({ code, language = "text", title, className }) {
4994
5096
  setCopied(true);
4995
5097
  setTimeout(() => setCopied(false), 2e3);
4996
5098
  }, [code]);
4997
- const copyButton = /* @__PURE__ */ jsx53(
5099
+ const copyButton = /* @__PURE__ */ jsx55(
4998
5100
  "button",
4999
5101
  {
5000
5102
  onClick: handleCopy,
5001
5103
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
5002
5104
  "aria-label": "Copy code",
5003
- children: copied ? /* @__PURE__ */ jsx53(Check3, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx53(Copy, { className: "w-3.5 h-3.5" })
5105
+ children: copied ? /* @__PURE__ */ jsx55(Check3, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx55(Copy, { className: "w-3.5 h-3.5" })
5004
5106
  }
5005
5107
  );
5006
- return /* @__PURE__ */ jsxs27(
5108
+ return /* @__PURE__ */ jsxs28(
5007
5109
  "div",
5008
5110
  {
5009
5111
  className: cn(
@@ -5011,25 +5113,25 @@ function CodeBlock({ code, language = "text", title, className }) {
5011
5113
  className
5012
5114
  ),
5013
5115
  children: [
5014
- title && /* @__PURE__ */ jsx53("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ jsx53("span", { className: "text-berget-muted-foreground", children: title }) }),
5015
- /* @__PURE__ */ jsx53("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5016
- html ? /* @__PURE__ */ jsx53(
5116
+ title && /* @__PURE__ */ jsx55("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ jsx55("span", { className: "text-berget-muted-foreground", children: title }) }),
5117
+ /* @__PURE__ */ jsx55("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5118
+ html ? /* @__PURE__ */ jsx55(
5017
5119
  "div",
5018
5120
  {
5019
5121
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
5020
5122
  dangerouslySetInnerHTML: { __html: html }
5021
5123
  }
5022
- ) : /* @__PURE__ */ jsx53("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx53("code", { children: code }) })
5124
+ ) : /* @__PURE__ */ jsx55("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx55("code", { children: code }) })
5023
5125
  ]
5024
5126
  }
5025
5127
  );
5026
5128
  }
5027
5129
 
5028
5130
  // src/components/window-frame/WindowFrame.tsx
5029
- import * as React32 from "react";
5131
+ import * as React33 from "react";
5030
5132
  import { useState as useState6 } from "react";
5031
- import { jsx as jsx54, jsxs as jsxs28 } from "react/jsx-runtime";
5032
- var WindowFrame = React32.forwardRef(
5133
+ import { jsx as jsx56, jsxs as jsxs29 } from "react/jsx-runtime";
5134
+ var WindowFrame = React33.forwardRef(
5033
5135
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
5034
5136
  const [internalActive, setInternalActive] = useState6(tabs?.[0]?.id ?? "");
5035
5137
  const currentTab = activeTab ?? internalActive;
@@ -5040,7 +5142,7 @@ var WindowFrame = React32.forwardRef(
5040
5142
  setInternalActive(id);
5041
5143
  }
5042
5144
  };
5043
- return /* @__PURE__ */ jsxs28(
5145
+ return /* @__PURE__ */ jsxs29(
5044
5146
  "div",
5045
5147
  {
5046
5148
  ref,
@@ -5050,13 +5152,13 @@ var WindowFrame = React32.forwardRef(
5050
5152
  ),
5051
5153
  ...props,
5052
5154
  children: [
5053
- /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5054
- /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5055
- /* @__PURE__ */ jsx54("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5056
- /* @__PURE__ */ jsx54("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5057
- /* @__PURE__ */ jsx54("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5155
+ /* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5156
+ /* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5157
+ /* @__PURE__ */ jsx56("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5158
+ /* @__PURE__ */ jsx56("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5159
+ /* @__PURE__ */ jsx56("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5058
5160
  ] }),
5059
- tabs && tabs.length > 0 ? /* @__PURE__ */ jsx54("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx54(
5161
+ tabs && tabs.length > 0 ? /* @__PURE__ */ jsx56("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx56(
5060
5162
  "button",
5061
5163
  {
5062
5164
  type: "button",
@@ -5068,9 +5170,9 @@ var WindowFrame = React32.forwardRef(
5068
5170
  children: tab.label
5069
5171
  },
5070
5172
  tab.id
5071
- )) }) : /* @__PURE__ */ jsx54("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5173
+ )) }) : /* @__PURE__ */ jsx56("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5072
5174
  ] }),
5073
- /* @__PURE__ */ jsx54("div", { children })
5175
+ /* @__PURE__ */ jsx56("div", { children })
5074
5176
  ]
5075
5177
  }
5076
5178
  );
@@ -5080,7 +5182,7 @@ WindowFrame.displayName = "WindowFrame";
5080
5182
 
5081
5183
  // src/components/fog-illustration/FogIllustration.tsx
5082
5184
  import { useEffect as useEffect5, useRef } from "react";
5083
- import { jsx as jsx55 } from "react/jsx-runtime";
5185
+ import { jsx as jsx57 } from "react/jsx-runtime";
5084
5186
  var FOG_BRAND_PALETTE = {
5085
5187
  ink: "#171a1a",
5086
5188
  milk: "#f7f5ed",
@@ -5393,7 +5495,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5393
5495
  gl.deleteFramebuffer(fbo);
5394
5496
  };
5395
5497
  }, []);
5396
- return /* @__PURE__ */ jsx55("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5498
+ return /* @__PURE__ */ jsx57("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5397
5499
  };
5398
5500
  export {
5399
5501
  Alert2 as Alert,
@@ -5500,6 +5602,11 @@ export {
5500
5602
  NavigationMenuList,
5501
5603
  NavigationMenuPositioner,
5502
5604
  NavigationMenuTrigger,
5605
+ Progress2 as Progress,
5606
+ ProgressIndicator,
5607
+ ProgressLabel,
5608
+ ProgressTrack,
5609
+ ProgressValue,
5503
5610
  SearchInput,
5504
5611
  Select,
5505
5612
  SelectContent,