@bergetai/ui 0.14.0 → 0.14.1

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