@bergetai/ui 0.13.1 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1257,168 +1257,460 @@ AlertDialogCancel.displayName = "AlertDialogCancel";
1257
1257
 
1258
1258
  // src/components/dropdown-menu/DropdownMenu.tsx
1259
1259
  import * as React13 from "react";
1260
- import { Menu as DropdownMenuPrimitive } from "@base-ui/react/menu";
1261
- import { Check, ChevronRight, Circle } from "lucide-react";
1262
- import { Fragment as Fragment2, jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
1263
- var DropdownMenu = DropdownMenuPrimitive.Root;
1264
- var DropdownMenuTrigger = React13.forwardRef(
1265
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx16(DropdownMenuPrimitive.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1266
- );
1267
- DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
1268
- var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1269
- var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1270
- var DropdownMenuSub = DropdownMenuPrimitive.SubmenuRoot;
1271
- var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1272
- var DropdownMenuSubTrigger = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx16(
1273
- DropdownMenuPrimitive.SubmenuTrigger,
1274
- {
1275
- ref,
1276
- className: cn(
1277
- "flex cursor-default select-none items-center gap-2 rounded-berget-xs px-2 py-1.5 text-sm outline-none transition-colors focus:bg-berget-surface-hover data-popup-open:bg-berget-surface-hover [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1278
- inset && "pl-8",
1279
- className
1280
- ),
1281
- render: asChildRender(asChild, children),
1282
- ...props,
1283
- children: asChild ? void 0 : /* @__PURE__ */ jsxs8(Fragment2, { children: [
1284
- children,
1285
- /* @__PURE__ */ jsx16(ChevronRight, { className: "ml-auto" })
1286
- ] })
1287
- }
1288
- ));
1289
- DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
1290
- var DropdownMenuSubContent = React13.forwardRef(
1291
- ({ className, side = "right", align = "start", alignOffset = -3, sideOffset = 0, ...props }, ref) => /* @__PURE__ */ jsx16(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
1292
- DropdownMenuPrimitive.Positioner,
1260
+
1261
+ // src/primitives/dropdown-menu.tsx
1262
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
1263
+ import { cn as cn5 } from "cn";
1264
+ import { ChevronRightIcon, CheckIcon } from "lucide-react";
1265
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
1266
+ function DropdownMenu({ ...props }) {
1267
+ return /* @__PURE__ */ jsx16(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1268
+ }
1269
+ function DropdownMenuPortal({ ...props }) {
1270
+ return /* @__PURE__ */ jsx16(MenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1271
+ }
1272
+ function DropdownMenuTrigger({ ...props }) {
1273
+ return /* @__PURE__ */ jsx16(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1274
+ }
1275
+ function DropdownMenuContent({
1276
+ align = "start",
1277
+ alignOffset = 0,
1278
+ side = "bottom",
1279
+ sideOffset = 4,
1280
+ className,
1281
+ ...props
1282
+ }) {
1283
+ return /* @__PURE__ */ jsx16(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
1284
+ MenuPrimitive.Positioner,
1293
1285
  {
1294
- side,
1286
+ className: "isolate z-50 outline-none",
1295
1287
  align,
1296
1288
  alignOffset,
1289
+ side,
1297
1290
  sideOffset,
1298
- className: "isolate z-50 outline-none",
1299
1291
  children: /* @__PURE__ */ jsx16(
1300
- DropdownMenuPrimitive.Popup,
1292
+ MenuPrimitive.Popup,
1301
1293
  {
1302
- ref,
1303
- className: cn(
1304
- "z-50 min-w-[8rem] overflow-hidden rounded-berget-xs border border-berget-border bg-berget-popover p-1 text-berget-popover-foreground shadow-berget-lg transition-[opacity,transform] data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--transform-origin]",
1305
- className
1306
- ),
1294
+ "data-slot": "dropdown-menu-content",
1295
+ className: cn5("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),
1307
1296
  ...props
1308
1297
  }
1309
1298
  )
1310
1299
  }
1311
- ) })
1312
- );
1313
- DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
1314
- var DropdownMenuContent = React13.forwardRef(({ className, sideOffset = 4, align = "center", side, alignOffset, ...props }, ref) => /* @__PURE__ */ jsx16(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
1315
- DropdownMenuPrimitive.Positioner,
1316
- {
1317
- side,
1318
- align,
1319
- alignOffset,
1320
- sideOffset,
1321
- className: "isolate z-50 outline-none",
1322
- children: /* @__PURE__ */ jsx16(
1323
- DropdownMenuPrimitive.Popup,
1324
- {
1325
- ref,
1326
- className: cn(
1327
- "z-50 max-h-[var(--available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-berget-xs border border-berget-border bg-berget-popover p-1 text-berget-popover-foreground shadow-berget-md transition-[opacity,transform] data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--transform-origin]",
1328
- className
1300
+ ) });
1301
+ }
1302
+ function DropdownMenuGroup({ ...props }) {
1303
+ return /* @__PURE__ */ jsx16(MenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
1304
+ }
1305
+ function DropdownMenuLabel({
1306
+ className,
1307
+ inset,
1308
+ ...props
1309
+ }) {
1310
+ return /* @__PURE__ */ jsx16(
1311
+ MenuPrimitive.GroupLabel,
1312
+ {
1313
+ "data-slot": "dropdown-menu-label",
1314
+ "data-inset": inset,
1315
+ className: cn5(
1316
+ "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1317
+ className
1318
+ ),
1319
+ ...props
1320
+ }
1321
+ );
1322
+ }
1323
+ function DropdownMenuItem({
1324
+ className,
1325
+ inset,
1326
+ variant = "default",
1327
+ ...props
1328
+ }) {
1329
+ return /* @__PURE__ */ jsx16(
1330
+ MenuPrimitive.Item,
1331
+ {
1332
+ "data-slot": "dropdown-menu-item",
1333
+ "data-inset": inset,
1334
+ "data-variant": variant,
1335
+ className: cn5(
1336
+ "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",
1337
+ className
1338
+ ),
1339
+ ...props
1340
+ }
1341
+ );
1342
+ }
1343
+ function DropdownMenuSub({ ...props }) {
1344
+ return /* @__PURE__ */ jsx16(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1345
+ }
1346
+ function DropdownMenuSubTrigger({
1347
+ className,
1348
+ inset,
1349
+ children,
1350
+ ...props
1351
+ }) {
1352
+ return /* @__PURE__ */ jsxs8(
1353
+ MenuPrimitive.SubmenuTrigger,
1354
+ {
1355
+ "data-slot": "dropdown-menu-sub-trigger",
1356
+ "data-inset": inset,
1357
+ className: cn5(
1358
+ "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",
1359
+ className
1360
+ ),
1361
+ ...props,
1362
+ children: [
1363
+ children,
1364
+ /* @__PURE__ */ jsx16(ChevronRightIcon, { className: "ml-auto" })
1365
+ ]
1366
+ }
1367
+ );
1368
+ }
1369
+ function DropdownMenuSubContent({
1370
+ align = "start",
1371
+ alignOffset = -3,
1372
+ side = "right",
1373
+ sideOffset = 0,
1374
+ className,
1375
+ ...props
1376
+ }) {
1377
+ return /* @__PURE__ */ jsx16(
1378
+ DropdownMenuContent,
1379
+ {
1380
+ "data-slot": "dropdown-menu-sub-content",
1381
+ className: cn5("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),
1382
+ align,
1383
+ alignOffset,
1384
+ side,
1385
+ sideOffset,
1386
+ ...props
1387
+ }
1388
+ );
1389
+ }
1390
+ function DropdownMenuCheckboxItem({
1391
+ className,
1392
+ children,
1393
+ checked,
1394
+ inset,
1395
+ ...props
1396
+ }) {
1397
+ return /* @__PURE__ */ jsxs8(
1398
+ MenuPrimitive.CheckboxItem,
1399
+ {
1400
+ "data-slot": "dropdown-menu-checkbox-item",
1401
+ "data-inset": inset,
1402
+ className: cn5(
1403
+ "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",
1404
+ className
1405
+ ),
1406
+ checked,
1407
+ ...props,
1408
+ children: [
1409
+ /* @__PURE__ */ jsx16(
1410
+ "span",
1411
+ {
1412
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1413
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
1414
+ children: /* @__PURE__ */ jsx16(MenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx16(
1415
+ CheckIcon,
1416
+ {}
1417
+ ) })
1418
+ }
1329
1419
  ),
1330
- ...props
1331
- }
1332
- )
1333
- }
1334
- ) }));
1335
- DropdownMenuContent.displayName = "DropdownMenuContent";
1336
- var DropdownMenuItem = React13.forwardRef(({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ jsx16(
1337
- DropdownMenuPrimitive.Item,
1338
- {
1339
- ref,
1340
- label: textValue,
1341
- className: cn(
1342
- "relative flex cursor-default select-none items-center gap-2 rounded-berget-xs px-2 py-1.5 text-sm outline-none transition-colors focus:bg-berget-surface-hover data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1343
- inset && "pl-8",
1344
- className
1345
- ),
1346
- render: asChildRender(asChild, children),
1347
- ...props,
1348
- children: asChild ? void 0 : children
1349
- }
1350
- ));
1351
- DropdownMenuItem.displayName = "DropdownMenuItem";
1352
- var DropdownMenuCheckboxItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsxs8(
1353
- DropdownMenuPrimitive.CheckboxItem,
1354
- {
1355
- ref,
1356
- label: textValue,
1357
- className: cn(
1358
- "relative flex cursor-default select-none items-center rounded-berget-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-berget-surface-hover data-disabled:pointer-events-none data-disabled:opacity-50",
1359
- className
1360
- ),
1361
- render: asChildRender(asChild, children),
1362
- ...props,
1363
- children: [
1364
- /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(DropdownMenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx16(Check, { className: "size-4" }) }) }),
1365
- asChild ? void 0 : children
1366
- ]
1367
- }
1368
- ));
1369
- DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
1370
- var DropdownMenuRadioItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsxs8(
1371
- DropdownMenuPrimitive.RadioItem,
1372
- {
1373
- ref,
1374
- label: textValue,
1375
- className: cn(
1376
- "relative flex cursor-default select-none items-center rounded-berget-xs py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-berget-surface-hover data-disabled:pointer-events-none data-disabled:opacity-50",
1377
- className
1378
- ),
1379
- render: asChildRender(asChild, children),
1380
- ...props,
1381
- children: [
1382
- /* @__PURE__ */ jsx16("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx16(DropdownMenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx16(Circle, { className: "size-2 fill-current" }) }) }),
1383
- asChild ? void 0 : children
1384
- ]
1385
- }
1386
- ));
1387
- DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
1388
- var DropdownMenuLabel = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx16(
1389
- DropdownMenuPrimitive.GroupLabel,
1390
- {
1391
- ref,
1392
- className: cn(
1393
- "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1394
- inset && "pl-8",
1395
- className
1396
- ),
1397
- render: asChildRender(asChild, children),
1398
- ...props,
1399
- children: asChild ? void 0 : children
1400
- }
1401
- ));
1402
- DropdownMenuLabel.displayName = "DropdownMenuLabel";
1403
- var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
1404
- DropdownMenuPrimitive.Separator,
1405
- {
1406
- ref,
1407
- className: cn("-mx-1 my-1 h-px bg-berget-separator", className),
1408
- ...props
1409
- }
1410
- ));
1411
- DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1412
- var DropdownMenuShortcut = ({ className, ...props }) => {
1420
+ children
1421
+ ]
1422
+ }
1423
+ );
1424
+ }
1425
+ function DropdownMenuRadioGroup({ ...props }) {
1426
+ return /* @__PURE__ */ jsx16(
1427
+ MenuPrimitive.RadioGroup,
1428
+ {
1429
+ "data-slot": "dropdown-menu-radio-group",
1430
+ ...props
1431
+ }
1432
+ );
1433
+ }
1434
+ function DropdownMenuRadioItem({
1435
+ className,
1436
+ children,
1437
+ inset,
1438
+ ...props
1439
+ }) {
1440
+ return /* @__PURE__ */ jsxs8(
1441
+ MenuPrimitive.RadioItem,
1442
+ {
1443
+ "data-slot": "dropdown-menu-radio-item",
1444
+ "data-inset": inset,
1445
+ className: cn5(
1446
+ "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",
1447
+ className
1448
+ ),
1449
+ ...props,
1450
+ children: [
1451
+ /* @__PURE__ */ jsx16(
1452
+ "span",
1453
+ {
1454
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1455
+ "data-slot": "dropdown-menu-radio-item-indicator",
1456
+ children: /* @__PURE__ */ jsx16(MenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx16(
1457
+ CheckIcon,
1458
+ {}
1459
+ ) })
1460
+ }
1461
+ ),
1462
+ children
1463
+ ]
1464
+ }
1465
+ );
1466
+ }
1467
+ function DropdownMenuSeparator({
1468
+ className,
1469
+ ...props
1470
+ }) {
1471
+ return /* @__PURE__ */ jsx16(
1472
+ MenuPrimitive.Separator,
1473
+ {
1474
+ "data-slot": "dropdown-menu-separator",
1475
+ className: cn5("-mx-1 my-1 h-px bg-border", className),
1476
+ ...props
1477
+ }
1478
+ );
1479
+ }
1480
+ function DropdownMenuShortcut({
1481
+ className,
1482
+ ...props
1483
+ }) {
1413
1484
  return /* @__PURE__ */ jsx16(
1414
1485
  "span",
1415
1486
  {
1416
- className: cn("ml-auto text-xs tracking-widest text-berget-muted-foreground", className),
1487
+ "data-slot": "dropdown-menu-shortcut",
1488
+ className: cn5(
1489
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1490
+ className
1491
+ ),
1492
+ ...props
1493
+ }
1494
+ );
1495
+ }
1496
+
1497
+ // src/components/dropdown-menu/DropdownMenu.tsx
1498
+ import { jsx as jsx17 } from "react/jsx-runtime";
1499
+ var DropdownMenuTrigger2 = React13.forwardRef(
1500
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1501
+ );
1502
+ DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1503
+ var DropdownMenuSubTrigger2 = React13.forwardRef(
1504
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1505
+ DropdownMenuSubTrigger,
1506
+ {
1507
+ ref,
1508
+ className: cn(
1509
+ // Berget density & radius; focus/accent styling comes from the primitive.
1510
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1511
+ inset && "pl-8",
1512
+ className
1513
+ ),
1514
+ render: asChildRender(asChild, children),
1515
+ ...props,
1516
+ children: asChild ? void 0 : children
1517
+ }
1518
+ )
1519
+ );
1520
+ DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1521
+ var DropdownMenuSubContent2 = React13.forwardRef(
1522
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1523
+ DropdownMenuSubContent,
1524
+ {
1525
+ ref,
1526
+ className: cn(
1527
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg",
1528
+ className
1529
+ ),
1530
+ ...props
1531
+ }
1532
+ )
1533
+ );
1534
+ DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1535
+ var DropdownMenuContent2 = React13.forwardRef(
1536
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1537
+ DropdownMenuContent,
1538
+ {
1539
+ ref,
1540
+ className: cn(
1541
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-md",
1542
+ className
1543
+ ),
1544
+ ...props
1545
+ }
1546
+ )
1547
+ );
1548
+ DropdownMenuContent2.displayName = "DropdownMenuContent";
1549
+ var DropdownMenuItem2 = React13.forwardRef(
1550
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ jsx17(
1551
+ DropdownMenuItem,
1552
+ {
1553
+ ref,
1554
+ label: textValue,
1555
+ className: cn(
1556
+ // Berget density & radius; focus accent and destructive variant from the primitive.
1557
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1558
+ inset && "pl-8",
1559
+ className
1560
+ ),
1561
+ render: asChildRender(asChild, children),
1562
+ ...props,
1563
+ children: asChild ? void 0 : children
1564
+ }
1565
+ )
1566
+ );
1567
+ DropdownMenuItem2.displayName = "DropdownMenuItem";
1568
+ var DropdownMenuCheckboxItem2 = React13.forwardRef(
1569
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx17(
1570
+ DropdownMenuCheckboxItem,
1571
+ {
1572
+ ref,
1573
+ label: textValue,
1574
+ className: cn("rounded-berget-xs", className),
1575
+ render: asChildRender(asChild, children),
1576
+ ...props,
1577
+ children: asChild ? void 0 : children
1578
+ }
1579
+ )
1580
+ );
1581
+ DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1582
+ var DropdownMenuRadioItem2 = React13.forwardRef(
1583
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ jsx17(
1584
+ DropdownMenuRadioItem,
1585
+ {
1586
+ ref,
1587
+ label: textValue,
1588
+ className: cn("rounded-berget-xs", className),
1589
+ render: asChildRender(asChild, children),
1590
+ ...props,
1591
+ children: asChild ? void 0 : children
1592
+ }
1593
+ )
1594
+ );
1595
+ DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1596
+ var DropdownMenuLabel2 = React13.forwardRef(
1597
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ jsx17(
1598
+ DropdownMenuLabel,
1599
+ {
1600
+ ref,
1601
+ className: cn(
1602
+ "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1603
+ inset && "pl-8",
1604
+ className
1605
+ ),
1606
+ render: asChildRender(asChild, children),
1607
+ ...props,
1608
+ children: asChild ? void 0 : children
1609
+ }
1610
+ )
1611
+ );
1612
+ DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1613
+ var DropdownMenuSeparator2 = React13.forwardRef(
1614
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1615
+ DropdownMenuSeparator,
1616
+ {
1617
+ ref,
1618
+ className: cn("bg-berget-separator", className),
1619
+ ...props
1620
+ }
1621
+ )
1622
+ );
1623
+ DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1624
+ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1625
+ return /* @__PURE__ */ jsx17(
1626
+ DropdownMenuShortcut,
1627
+ {
1628
+ className: cn("text-berget-muted-foreground", className),
1417
1629
  ...props
1418
1630
  }
1419
1631
  );
1420
1632
  };
1421
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1633
+ DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1634
+
1635
+ // src/components/tooltip/Tooltip.tsx
1636
+ import * as React14 from "react";
1637
+
1638
+ // src/primitives/tooltip.tsx
1639
+ import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
1640
+ import { cn as cn6 } from "cn";
1641
+ import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
1642
+ function TooltipProvider({
1643
+ delay = 0,
1644
+ ...props
1645
+ }) {
1646
+ return /* @__PURE__ */ jsx18(
1647
+ TooltipPrimitive.Provider,
1648
+ {
1649
+ "data-slot": "tooltip-provider",
1650
+ delay,
1651
+ ...props
1652
+ }
1653
+ );
1654
+ }
1655
+ function Tooltip({ ...props }) {
1656
+ return /* @__PURE__ */ jsx18(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
1657
+ }
1658
+ function TooltipTrigger({ ...props }) {
1659
+ return /* @__PURE__ */ jsx18(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1660
+ }
1661
+ function TooltipContent({
1662
+ className,
1663
+ side = "top",
1664
+ sideOffset = 4,
1665
+ align = "center",
1666
+ alignOffset = 0,
1667
+ children,
1668
+ ...props
1669
+ }) {
1670
+ return /* @__PURE__ */ jsx18(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx18(
1671
+ TooltipPrimitive.Positioner,
1672
+ {
1673
+ align,
1674
+ alignOffset,
1675
+ side,
1676
+ sideOffset,
1677
+ className: "isolate z-50",
1678
+ children: /* @__PURE__ */ jsxs9(
1679
+ TooltipPrimitive.Popup,
1680
+ {
1681
+ "data-slot": "tooltip-content",
1682
+ className: cn6(
1683
+ "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",
1684
+ className
1685
+ ),
1686
+ ...props,
1687
+ children: [
1688
+ children,
1689
+ /* @__PURE__ */ jsx18(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" })
1690
+ ]
1691
+ }
1692
+ )
1693
+ }
1694
+ ) });
1695
+ }
1696
+
1697
+ // src/components/tooltip/Tooltip.tsx
1698
+ import { jsx as jsx19 } from "react/jsx-runtime";
1699
+ var TooltipTrigger2 = React14.forwardRef(
1700
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ jsx19(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1701
+ );
1702
+ TooltipTrigger2.displayName = "TooltipTrigger";
1703
+ var TooltipContent2 = React14.forwardRef(
1704
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1705
+ TooltipContent,
1706
+ {
1707
+ ref,
1708
+ className: cn("rounded-berget-xs shadow-berget-md", className),
1709
+ ...props
1710
+ }
1711
+ )
1712
+ );
1713
+ TooltipContent2.displayName = "TooltipContent";
1422
1714
 
1423
1715
  // src/components/navigation-menu/NavigationMenu.tsx
1424
1716
  import { NavigationMenu as NavigationMenuPrimitive2 } from "@base-ui/react/navigation-menu";
@@ -1428,18 +1720,18 @@ import { ChevronDown } from "lucide-react";
1428
1720
  // src/primitives/navigation-menu.tsx
1429
1721
  import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
1430
1722
  import { cva as cva7 } from "class-variance-authority";
1431
- import { cn as cn5 } from "cn";
1723
+ import { cn as cn7 } from "cn";
1432
1724
  import { ChevronDownIcon } from "lucide-react";
1433
- import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
1725
+ import { jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
1434
1726
  function NavigationMenuList({
1435
1727
  className,
1436
1728
  ...props
1437
1729
  }) {
1438
- return /* @__PURE__ */ jsx17(
1730
+ return /* @__PURE__ */ jsx20(
1439
1731
  NavigationMenuPrimitive.List,
1440
1732
  {
1441
1733
  "data-slot": "navigation-menu-list",
1442
- className: cn5(
1734
+ className: cn7(
1443
1735
  "group flex flex-1 list-none items-center justify-center gap-0",
1444
1736
  className
1445
1737
  ),
@@ -1451,11 +1743,11 @@ function NavigationMenuItem({
1451
1743
  className,
1452
1744
  ...props
1453
1745
  }) {
1454
- return /* @__PURE__ */ jsx17(
1746
+ return /* @__PURE__ */ jsx20(
1455
1747
  NavigationMenuPrimitive.Item,
1456
1748
  {
1457
1749
  "data-slot": "navigation-menu-item",
1458
- className: cn5("relative", className),
1750
+ className: cn7("relative", className),
1459
1751
  ...props
1460
1752
  }
1461
1753
  );
@@ -1467,11 +1759,11 @@ function NavigationMenuContent({
1467
1759
  className,
1468
1760
  ...props
1469
1761
  }) {
1470
- return /* @__PURE__ */ jsx17(
1762
+ return /* @__PURE__ */ jsx20(
1471
1763
  NavigationMenuPrimitive.Content,
1472
1764
  {
1473
1765
  "data-slot": "navigation-menu-content",
1474
- className: cn5(
1766
+ className: cn7(
1475
1767
  "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",
1476
1768
  className
1477
1769
  ),
@@ -1483,29 +1775,29 @@ function NavigationMenuIndicator({
1483
1775
  className,
1484
1776
  ...props
1485
1777
  }) {
1486
- return /* @__PURE__ */ jsx17(
1778
+ return /* @__PURE__ */ jsx20(
1487
1779
  NavigationMenuPrimitive.Icon,
1488
1780
  {
1489
1781
  "data-slot": "navigation-menu-indicator",
1490
- className: cn5(
1782
+ className: cn7(
1491
1783
  "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",
1492
1784
  className
1493
1785
  ),
1494
1786
  ...props,
1495
- children: /* @__PURE__ */ jsx17("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1787
+ children: /* @__PURE__ */ jsx20("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1496
1788
  }
1497
1789
  );
1498
1790
  }
1499
1791
 
1500
1792
  // src/components/navigation-menu/NavigationMenu.tsx
1501
- import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
1793
+ import { jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
1502
1794
  function NavigationMenu({
1503
1795
  align = "start",
1504
1796
  className,
1505
1797
  children,
1506
1798
  ...props
1507
1799
  }) {
1508
- return /* @__PURE__ */ jsxs10(
1800
+ return /* @__PURE__ */ jsxs11(
1509
1801
  NavigationMenuPrimitive2.Root,
1510
1802
  {
1511
1803
  "data-slot": "navigation-menu",
@@ -1516,7 +1808,7 @@ function NavigationMenu({
1516
1808
  ...props,
1517
1809
  children: [
1518
1810
  children,
1519
- /* @__PURE__ */ jsx18(NavigationMenuPositioner, { align })
1811
+ /* @__PURE__ */ jsx21(NavigationMenuPositioner, { align })
1520
1812
  ]
1521
1813
  }
1522
1814
  );
@@ -1529,7 +1821,7 @@ function NavigationMenuTrigger({
1529
1821
  children,
1530
1822
  ...props
1531
1823
  }) {
1532
- return /* @__PURE__ */ jsxs10(
1824
+ return /* @__PURE__ */ jsxs11(
1533
1825
  NavigationMenuPrimitive2.Trigger,
1534
1826
  {
1535
1827
  "data-slot": "navigation-menu-trigger",
@@ -1538,7 +1830,7 @@ function NavigationMenuTrigger({
1538
1830
  children: [
1539
1831
  children,
1540
1832
  " ",
1541
- /* @__PURE__ */ jsx18(
1833
+ /* @__PURE__ */ jsx21(
1542
1834
  ChevronDown,
1543
1835
  {
1544
1836
  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",
@@ -1550,7 +1842,7 @@ function NavigationMenuTrigger({
1550
1842
  );
1551
1843
  }
1552
1844
  function NavigationMenuLink({ className, ...props }) {
1553
- return /* @__PURE__ */ jsx18(
1845
+ return /* @__PURE__ */ jsx21(
1554
1846
  NavigationMenuPrimitive2.Link,
1555
1847
  {
1556
1848
  "data-slot": "navigation-menu-link",
@@ -1570,7 +1862,7 @@ function NavigationMenuPositioner({
1570
1862
  alignOffset = 0,
1571
1863
  ...props
1572
1864
  }) {
1573
- return /* @__PURE__ */ jsx18(NavigationMenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx18(
1865
+ return /* @__PURE__ */ jsx21(NavigationMenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx21(
1574
1866
  NavigationMenuPrimitive2.Positioner,
1575
1867
  {
1576
1868
  side,
@@ -1582,24 +1874,24 @@ function NavigationMenuPositioner({
1582
1874
  className
1583
1875
  ),
1584
1876
  ...props,
1585
- children: /* @__PURE__ */ jsx18(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__ */ jsx18(NavigationMenuPrimitive2.Viewport, { className: "relative size-full overflow-hidden" }) })
1877
+ children: /* @__PURE__ */ jsx21(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__ */ jsx21(NavigationMenuPrimitive2.Viewport, { className: "relative size-full overflow-hidden" }) })
1586
1878
  }
1587
1879
  ) });
1588
1880
  }
1589
1881
 
1590
1882
  // src/primitives/sidebar.tsx
1591
- import * as React15 from "react";
1883
+ import * as React16 from "react";
1592
1884
  import { mergeProps } from "@base-ui/react/merge-props";
1593
1885
  import { useRender } from "@base-ui/react/use-render";
1594
1886
  import { cva as cva9 } from "class-variance-authority";
1595
- import { cn as cn11 } from "cn";
1887
+ import { cn as cn12 } from "cn";
1596
1888
 
1597
1889
  // src/hooks/use-mobile.tsx
1598
- import * as React14 from "react";
1890
+ import * as React15 from "react";
1599
1891
  var MOBILE_BREAKPOINT = 768;
1600
1892
  function useIsMobile() {
1601
- const [isMobile, setIsMobile] = React14.useState(void 0);
1602
- React14.useEffect(() => {
1893
+ const [isMobile, setIsMobile] = React15.useState(void 0);
1894
+ React15.useEffect(() => {
1603
1895
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1604
1896
  const onChange = () => {
1605
1897
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1613,15 +1905,15 @@ function useIsMobile() {
1613
1905
 
1614
1906
  // src/primitives/input.tsx
1615
1907
  import { Input as InputPrimitive } from "@base-ui/react/input";
1616
- import { cn as cn6 } from "cn";
1617
- import { jsx as jsx19 } from "react/jsx-runtime";
1908
+ import { cn as cn8 } from "cn";
1909
+ import { jsx as jsx22 } from "react/jsx-runtime";
1618
1910
  function Input({ className, type, ...props }) {
1619
- return /* @__PURE__ */ jsx19(
1911
+ return /* @__PURE__ */ jsx22(
1620
1912
  InputPrimitive,
1621
1913
  {
1622
1914
  type,
1623
1915
  "data-slot": "input",
1624
- className: cn6(
1916
+ className: cn8(
1625
1917
  "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",
1626
1918
  className
1627
1919
  ),
@@ -1632,19 +1924,19 @@ function Input({ className, type, ...props }) {
1632
1924
 
1633
1925
  // src/primitives/separator.tsx
1634
1926
  import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
1635
- import { cn as cn7 } from "cn";
1636
- import { jsx as jsx20 } from "react/jsx-runtime";
1927
+ import { cn as cn9 } from "cn";
1928
+ import { jsx as jsx23 } from "react/jsx-runtime";
1637
1929
  function Separator({
1638
1930
  className,
1639
1931
  orientation = "horizontal",
1640
1932
  ...props
1641
1933
  }) {
1642
- return /* @__PURE__ */ jsx20(
1934
+ return /* @__PURE__ */ jsx23(
1643
1935
  SeparatorPrimitive,
1644
1936
  {
1645
1937
  "data-slot": "separator",
1646
1938
  orientation,
1647
- className: cn7(
1939
+ className: cn9(
1648
1940
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
1649
1941
  className
1650
1942
  ),
@@ -1655,21 +1947,21 @@ function Separator({
1655
1947
 
1656
1948
  // src/primitives/sheet.tsx
1657
1949
  import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
1658
- import { cn as cn8 } from "cn";
1950
+ import { cn as cn10 } from "cn";
1659
1951
  import { XIcon } from "lucide-react";
1660
- import { jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
1952
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
1661
1953
  function Sheet({ ...props }) {
1662
- return /* @__PURE__ */ jsx21(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
1954
+ return /* @__PURE__ */ jsx24(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
1663
1955
  }
1664
1956
  function SheetPortal({ ...props }) {
1665
- return /* @__PURE__ */ jsx21(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
1957
+ return /* @__PURE__ */ jsx24(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
1666
1958
  }
1667
1959
  function SheetOverlay({ className, ...props }) {
1668
- return /* @__PURE__ */ jsx21(
1960
+ return /* @__PURE__ */ jsx24(
1669
1961
  SheetPrimitive.Backdrop,
1670
1962
  {
1671
1963
  "data-slot": "sheet-overlay",
1672
- className: cn8(
1964
+ className: cn10(
1673
1965
  "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",
1674
1966
  className
1675
1967
  ),
@@ -1684,25 +1976,25 @@ function SheetContent({
1684
1976
  showCloseButton = true,
1685
1977
  ...props
1686
1978
  }) {
1687
- return /* @__PURE__ */ jsxs11(SheetPortal, { children: [
1688
- /* @__PURE__ */ jsx21(SheetOverlay, {}),
1689
- /* @__PURE__ */ jsxs11(
1979
+ return /* @__PURE__ */ jsxs12(SheetPortal, { children: [
1980
+ /* @__PURE__ */ jsx24(SheetOverlay, {}),
1981
+ /* @__PURE__ */ jsxs12(
1690
1982
  SheetPrimitive.Popup,
1691
1983
  {
1692
1984
  "data-slot": "sheet-content",
1693
1985
  "data-side": side,
1694
- className: cn8(
1986
+ className: cn10(
1695
1987
  "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",
1696
1988
  className
1697
1989
  ),
1698
1990
  ...props,
1699
1991
  children: [
1700
1992
  children,
1701
- showCloseButton && /* @__PURE__ */ jsxs11(
1993
+ showCloseButton && /* @__PURE__ */ jsxs12(
1702
1994
  SheetPrimitive.Close,
1703
1995
  {
1704
1996
  "data-slot": "sheet-close",
1705
- render: /* @__PURE__ */ jsx21(
1997
+ render: /* @__PURE__ */ jsx24(
1706
1998
  Button,
1707
1999
  {
1708
2000
  variant: "ghost",
@@ -1711,11 +2003,11 @@ function SheetContent({
1711
2003
  }
1712
2004
  ),
1713
2005
  children: [
1714
- /* @__PURE__ */ jsx21(
2006
+ /* @__PURE__ */ jsx24(
1715
2007
  XIcon,
1716
2008
  {}
1717
2009
  ),
1718
- /* @__PURE__ */ jsx21("span", { className: "sr-only", children: "Close" })
2010
+ /* @__PURE__ */ jsx24("span", { className: "sr-only", children: "Close" })
1719
2011
  ]
1720
2012
  }
1721
2013
  )
@@ -1725,21 +2017,21 @@ function SheetContent({
1725
2017
  ] });
1726
2018
  }
1727
2019
  function SheetHeader({ className, ...props }) {
1728
- return /* @__PURE__ */ jsx21(
2020
+ return /* @__PURE__ */ jsx24(
1729
2021
  "div",
1730
2022
  {
1731
2023
  "data-slot": "sheet-header",
1732
- className: cn8("flex flex-col gap-0.5 p-4", className),
2024
+ className: cn10("flex flex-col gap-0.5 p-4", className),
1733
2025
  ...props
1734
2026
  }
1735
2027
  );
1736
2028
  }
1737
2029
  function SheetTitle({ className, ...props }) {
1738
- return /* @__PURE__ */ jsx21(
2030
+ return /* @__PURE__ */ jsx24(
1739
2031
  SheetPrimitive.Title,
1740
2032
  {
1741
2033
  "data-slot": "sheet-title",
1742
- className: cn8(
2034
+ className: cn10(
1743
2035
  "text-base font-medium text-foreground",
1744
2036
  className
1745
2037
  ),
@@ -1751,88 +2043,42 @@ function SheetDescription({
1751
2043
  className,
1752
2044
  ...props
1753
2045
  }) {
1754
- return /* @__PURE__ */ jsx21(
2046
+ return /* @__PURE__ */ jsx24(
1755
2047
  SheetPrimitive.Description,
1756
2048
  {
1757
2049
  "data-slot": "sheet-description",
1758
- className: cn8("text-sm text-muted-foreground", className),
2050
+ className: cn10("text-sm text-muted-foreground", className),
1759
2051
  ...props
1760
2052
  }
1761
2053
  );
1762
2054
  }
1763
2055
 
1764
2056
  // src/primitives/skeleton.tsx
1765
- import { cn as cn9 } from "cn";
1766
- import { jsx as jsx22 } from "react/jsx-runtime";
2057
+ import { cn as cn11 } from "cn";
2058
+ import { jsx as jsx25 } from "react/jsx-runtime";
1767
2059
  function Skeleton({ className, ...props }) {
1768
- return /* @__PURE__ */ jsx22(
2060
+ return /* @__PURE__ */ jsx25(
1769
2061
  "div",
1770
2062
  {
1771
2063
  "data-slot": "skeleton",
1772
- className: cn9("animate-pulse rounded-md bg-muted", className),
2064
+ className: cn11("animate-pulse rounded-md bg-muted", className),
1773
2065
  ...props
1774
2066
  }
1775
2067
  );
1776
2068
  }
1777
2069
 
1778
- // src/primitives/tooltip.tsx
1779
- import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
1780
- import { cn as cn10 } from "cn";
1781
- import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
1782
- function Tooltip({ ...props }) {
1783
- return /* @__PURE__ */ jsx23(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
1784
- }
1785
- function TooltipTrigger({ ...props }) {
1786
- return /* @__PURE__ */ jsx23(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1787
- }
1788
- function TooltipContent({
1789
- className,
1790
- side = "top",
1791
- sideOffset = 4,
1792
- align = "center",
1793
- alignOffset = 0,
1794
- children,
1795
- ...props
1796
- }) {
1797
- return /* @__PURE__ */ jsx23(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx23(
1798
- TooltipPrimitive.Positioner,
1799
- {
1800
- align,
1801
- alignOffset,
1802
- side,
1803
- sideOffset,
1804
- className: "isolate z-50",
1805
- children: /* @__PURE__ */ jsxs12(
1806
- TooltipPrimitive.Popup,
1807
- {
1808
- "data-slot": "tooltip-content",
1809
- className: cn10(
1810
- "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",
1811
- className
1812
- ),
1813
- ...props,
1814
- children: [
1815
- children,
1816
- /* @__PURE__ */ jsx23(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" })
1817
- ]
1818
- }
1819
- )
1820
- }
1821
- ) });
1822
- }
1823
-
1824
2070
  // src/primitives/sidebar.tsx
1825
2071
  import { PanelLeftIcon } from "lucide-react";
1826
- import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
2072
+ import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
1827
2073
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
1828
2074
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
1829
2075
  var SIDEBAR_WIDTH = "16rem";
1830
2076
  var SIDEBAR_WIDTH_MOBILE = "18rem";
1831
2077
  var SIDEBAR_WIDTH_ICON = "3rem";
1832
2078
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
1833
- var SidebarContext = React15.createContext(null);
2079
+ var SidebarContext = React16.createContext(null);
1834
2080
  function useSidebar() {
1835
- const context = React15.useContext(SidebarContext);
2081
+ const context = React16.useContext(SidebarContext);
1836
2082
  if (!context) {
1837
2083
  throw new Error("useSidebar must be used within a SidebarProvider.");
1838
2084
  }
@@ -1848,10 +2094,10 @@ function SidebarProvider({
1848
2094
  ...props
1849
2095
  }) {
1850
2096
  const isMobile = useIsMobile();
1851
- const [openMobile, setOpenMobile] = React15.useState(false);
1852
- const [_open, _setOpen] = React15.useState(defaultOpen);
2097
+ const [openMobile, setOpenMobile] = React16.useState(false);
2098
+ const [_open, _setOpen] = React16.useState(defaultOpen);
1853
2099
  const open = openProp ?? _open;
1854
- const setOpen = React15.useCallback(
2100
+ const setOpen = React16.useCallback(
1855
2101
  (value) => {
1856
2102
  const openState = typeof value === "function" ? value(open) : value;
1857
2103
  if (setOpenProp) {
@@ -1863,10 +2109,10 @@ function SidebarProvider({
1863
2109
  },
1864
2110
  [setOpenProp, open]
1865
2111
  );
1866
- const toggleSidebar = React15.useCallback(() => {
2112
+ const toggleSidebar = React16.useCallback(() => {
1867
2113
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
1868
2114
  }, [isMobile, setOpen, setOpenMobile]);
1869
- React15.useEffect(() => {
2115
+ React16.useEffect(() => {
1870
2116
  const handleKeyDown = (event) => {
1871
2117
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
1872
2118
  event.preventDefault();
@@ -1877,7 +2123,7 @@ function SidebarProvider({
1877
2123
  return () => window.removeEventListener("keydown", handleKeyDown);
1878
2124
  }, [toggleSidebar]);
1879
2125
  const state = open ? "expanded" : "collapsed";
1880
- const contextValue = React15.useMemo(
2126
+ const contextValue = React16.useMemo(
1881
2127
  () => ({
1882
2128
  state,
1883
2129
  open,
@@ -1889,7 +2135,7 @@ function SidebarProvider({
1889
2135
  }),
1890
2136
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
1891
2137
  );
1892
- return /* @__PURE__ */ jsx24(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx24(
2138
+ return /* @__PURE__ */ jsx26(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx26(
1893
2139
  "div",
1894
2140
  {
1895
2141
  "data-slot": "sidebar-wrapper",
@@ -1898,7 +2144,7 @@ function SidebarProvider({
1898
2144
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
1899
2145
  ...style
1900
2146
  },
1901
- className: cn11(
2147
+ className: cn12(
1902
2148
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
1903
2149
  className
1904
2150
  ),
@@ -1918,11 +2164,11 @@ function Sidebar({
1918
2164
  }) {
1919
2165
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
1920
2166
  if (collapsible === "none") {
1921
- return /* @__PURE__ */ jsx24(
2167
+ return /* @__PURE__ */ jsx26(
1922
2168
  "div",
1923
2169
  {
1924
2170
  "data-slot": "sidebar",
1925
- className: cn11(
2171
+ className: cn12(
1926
2172
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
1927
2173
  className
1928
2174
  ),
@@ -1932,7 +2178,7 @@ function Sidebar({
1932
2178
  );
1933
2179
  }
1934
2180
  if (isMobile) {
1935
- return /* @__PURE__ */ jsx24(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs13(
2181
+ return /* @__PURE__ */ jsx26(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs13(
1936
2182
  SheetContent,
1937
2183
  {
1938
2184
  dir,
@@ -1946,10 +2192,10 @@ function Sidebar({
1946
2192
  side,
1947
2193
  children: [
1948
2194
  /* @__PURE__ */ jsxs13(SheetHeader, { className: "sr-only", children: [
1949
- /* @__PURE__ */ jsx24(SheetTitle, { children: "Sidebar" }),
1950
- /* @__PURE__ */ jsx24(SheetDescription, { children: "Displays the mobile sidebar." })
2195
+ /* @__PURE__ */ jsx26(SheetTitle, { children: "Sidebar" }),
2196
+ /* @__PURE__ */ jsx26(SheetDescription, { children: "Displays the mobile sidebar." })
1951
2197
  ] }),
1952
- /* @__PURE__ */ jsx24("div", { className: "flex h-full w-full flex-col", children })
2198
+ /* @__PURE__ */ jsx26("div", { className: "flex h-full w-full flex-col", children })
1953
2199
  ]
1954
2200
  }
1955
2201
  ) });
@@ -1964,11 +2210,11 @@ function Sidebar({
1964
2210
  "data-side": side,
1965
2211
  "data-slot": "sidebar",
1966
2212
  children: [
1967
- /* @__PURE__ */ jsx24(
2213
+ /* @__PURE__ */ jsx26(
1968
2214
  "div",
1969
2215
  {
1970
2216
  "data-slot": "sidebar-gap",
1971
- className: cn11(
2217
+ className: cn12(
1972
2218
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
1973
2219
  "group-data-[collapsible=offcanvas]:w-0",
1974
2220
  "group-data-[side=right]:rotate-180",
@@ -1976,19 +2222,19 @@ function Sidebar({
1976
2222
  )
1977
2223
  }
1978
2224
  ),
1979
- /* @__PURE__ */ jsx24(
2225
+ /* @__PURE__ */ jsx26(
1980
2226
  "div",
1981
2227
  {
1982
2228
  "data-slot": "sidebar-container",
1983
2229
  "data-side": side,
1984
- className: cn11(
2230
+ className: cn12(
1985
2231
  "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",
1986
2232
  // Adjust the padding for floating and inset variants.
1987
2233
  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",
1988
2234
  className
1989
2235
  ),
1990
2236
  ...props,
1991
- children: /* @__PURE__ */ jsx24(
2237
+ children: /* @__PURE__ */ jsx26(
1992
2238
  "div",
1993
2239
  {
1994
2240
  "data-sidebar": "sidebar",
@@ -2016,22 +2262,22 @@ function SidebarTrigger({
2016
2262
  "data-slot": "sidebar-trigger",
2017
2263
  variant: "ghost",
2018
2264
  size: "icon-sm",
2019
- className: cn11(className),
2265
+ className: cn12(className),
2020
2266
  onClick: (event) => {
2021
2267
  onClick?.(event);
2022
2268
  toggleSidebar();
2023
2269
  },
2024
2270
  ...props,
2025
2271
  children: [
2026
- /* @__PURE__ */ jsx24(PanelLeftIcon, {}),
2027
- /* @__PURE__ */ jsx24("span", { className: "sr-only", children: "Toggle Sidebar" })
2272
+ /* @__PURE__ */ jsx26(PanelLeftIcon, {}),
2273
+ /* @__PURE__ */ jsx26("span", { className: "sr-only", children: "Toggle Sidebar" })
2028
2274
  ]
2029
2275
  }
2030
2276
  );
2031
2277
  }
2032
2278
  function SidebarRail({ className, ...props }) {
2033
2279
  const { toggleSidebar } = useSidebar();
2034
- return /* @__PURE__ */ jsx24(
2280
+ return /* @__PURE__ */ jsx26(
2035
2281
  "button",
2036
2282
  {
2037
2283
  "data-sidebar": "rail",
@@ -2040,7 +2286,7 @@ function SidebarRail({ className, ...props }) {
2040
2286
  tabIndex: -1,
2041
2287
  onClick: toggleSidebar,
2042
2288
  title: "Toggle Sidebar",
2043
- className: cn11(
2289
+ className: cn12(
2044
2290
  "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",
2045
2291
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2046
2292
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2054,11 +2300,11 @@ function SidebarRail({ className, ...props }) {
2054
2300
  );
2055
2301
  }
2056
2302
  function SidebarInset({ className, ...props }) {
2057
- return /* @__PURE__ */ jsx24(
2303
+ return /* @__PURE__ */ jsx26(
2058
2304
  "main",
2059
2305
  {
2060
2306
  "data-slot": "sidebar-inset",
2061
- className: cn11(
2307
+ className: cn12(
2062
2308
  "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",
2063
2309
  className
2064
2310
  ),
@@ -2070,34 +2316,34 @@ function SidebarInput({
2070
2316
  className,
2071
2317
  ...props
2072
2318
  }) {
2073
- return /* @__PURE__ */ jsx24(
2319
+ return /* @__PURE__ */ jsx26(
2074
2320
  Input,
2075
2321
  {
2076
2322
  "data-slot": "sidebar-input",
2077
2323
  "data-sidebar": "input",
2078
- className: cn11("h-8 w-full bg-background shadow-none", className),
2324
+ className: cn12("h-8 w-full bg-background shadow-none", className),
2079
2325
  ...props
2080
2326
  }
2081
2327
  );
2082
2328
  }
2083
2329
  function SidebarHeader({ className, ...props }) {
2084
- return /* @__PURE__ */ jsx24(
2330
+ return /* @__PURE__ */ jsx26(
2085
2331
  "div",
2086
2332
  {
2087
2333
  "data-slot": "sidebar-header",
2088
2334
  "data-sidebar": "header",
2089
- className: cn11("flex flex-col gap-2 p-2", className),
2335
+ className: cn12("flex flex-col gap-2 p-2", className),
2090
2336
  ...props
2091
2337
  }
2092
2338
  );
2093
2339
  }
2094
2340
  function SidebarFooter({ className, ...props }) {
2095
- return /* @__PURE__ */ jsx24(
2341
+ return /* @__PURE__ */ jsx26(
2096
2342
  "div",
2097
2343
  {
2098
2344
  "data-slot": "sidebar-footer",
2099
2345
  "data-sidebar": "footer",
2100
- className: cn11("flex flex-col gap-2 p-2", className),
2346
+ className: cn12("flex flex-col gap-2 p-2", className),
2101
2347
  ...props
2102
2348
  }
2103
2349
  );
@@ -2106,23 +2352,23 @@ function SidebarSeparator({
2106
2352
  className,
2107
2353
  ...props
2108
2354
  }) {
2109
- return /* @__PURE__ */ jsx24(
2355
+ return /* @__PURE__ */ jsx26(
2110
2356
  Separator,
2111
2357
  {
2112
2358
  "data-slot": "sidebar-separator",
2113
2359
  "data-sidebar": "separator",
2114
- className: cn11("mx-2 w-auto bg-sidebar-border", className),
2360
+ className: cn12("mx-2 w-auto bg-sidebar-border", className),
2115
2361
  ...props
2116
2362
  }
2117
2363
  );
2118
2364
  }
2119
2365
  function SidebarContent({ className, ...props }) {
2120
- return /* @__PURE__ */ jsx24(
2366
+ return /* @__PURE__ */ jsx26(
2121
2367
  "div",
2122
2368
  {
2123
2369
  "data-slot": "sidebar-content",
2124
2370
  "data-sidebar": "content",
2125
- className: cn11(
2371
+ className: cn12(
2126
2372
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2127
2373
  className
2128
2374
  ),
@@ -2131,12 +2377,12 @@ function SidebarContent({ className, ...props }) {
2131
2377
  );
2132
2378
  }
2133
2379
  function SidebarGroup({ className, ...props }) {
2134
- return /* @__PURE__ */ jsx24(
2380
+ return /* @__PURE__ */ jsx26(
2135
2381
  "div",
2136
2382
  {
2137
2383
  "data-slot": "sidebar-group",
2138
2384
  "data-sidebar": "group",
2139
- className: cn11("relative flex w-full min-w-0 flex-col p-2", className),
2385
+ className: cn12("relative flex w-full min-w-0 flex-col p-2", className),
2140
2386
  ...props
2141
2387
  }
2142
2388
  );
@@ -2150,7 +2396,7 @@ function SidebarGroupLabel({
2150
2396
  defaultTagName: "div",
2151
2397
  props: mergeProps(
2152
2398
  {
2153
- className: cn11(
2399
+ className: cn12(
2154
2400
  "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",
2155
2401
  className
2156
2402
  )
@@ -2173,7 +2419,7 @@ function SidebarGroupAction({
2173
2419
  defaultTagName: "button",
2174
2420
  props: mergeProps(
2175
2421
  {
2176
- className: cn11(
2422
+ className: cn12(
2177
2423
  "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",
2178
2424
  className
2179
2425
  )
@@ -2191,34 +2437,34 @@ function SidebarGroupContent({
2191
2437
  className,
2192
2438
  ...props
2193
2439
  }) {
2194
- return /* @__PURE__ */ jsx24(
2440
+ return /* @__PURE__ */ jsx26(
2195
2441
  "div",
2196
2442
  {
2197
2443
  "data-slot": "sidebar-group-content",
2198
2444
  "data-sidebar": "group-content",
2199
- className: cn11("w-full text-sm", className),
2445
+ className: cn12("w-full text-sm", className),
2200
2446
  ...props
2201
2447
  }
2202
2448
  );
2203
2449
  }
2204
2450
  function SidebarMenu({ className, ...props }) {
2205
- return /* @__PURE__ */ jsx24(
2451
+ return /* @__PURE__ */ jsx26(
2206
2452
  "ul",
2207
2453
  {
2208
2454
  "data-slot": "sidebar-menu",
2209
2455
  "data-sidebar": "menu",
2210
- className: cn11("flex w-full min-w-0 flex-col gap-0", className),
2456
+ className: cn12("flex w-full min-w-0 flex-col gap-0", className),
2211
2457
  ...props
2212
2458
  }
2213
2459
  );
2214
2460
  }
2215
2461
  function SidebarMenuItem({ className, ...props }) {
2216
- return /* @__PURE__ */ jsx24(
2462
+ return /* @__PURE__ */ jsx26(
2217
2463
  "li",
2218
2464
  {
2219
2465
  "data-slot": "sidebar-menu-item",
2220
2466
  "data-sidebar": "menu-item",
2221
- className: cn11("group/menu-item relative", className),
2467
+ className: cn12("group/menu-item relative", className),
2222
2468
  ...props
2223
2469
  }
2224
2470
  );
@@ -2257,11 +2503,11 @@ function SidebarMenuButton({
2257
2503
  defaultTagName: "button",
2258
2504
  props: mergeProps(
2259
2505
  {
2260
- className: cn11(sidebarMenuButtonVariants({ variant, size }), className)
2506
+ className: cn12(sidebarMenuButtonVariants({ variant, size }), className)
2261
2507
  },
2262
2508
  props
2263
2509
  ),
2264
- render: !tooltip ? render : /* @__PURE__ */ jsx24(TooltipTrigger, { render }),
2510
+ render: !tooltip ? render : /* @__PURE__ */ jsx26(TooltipTrigger, { render }),
2265
2511
  state: {
2266
2512
  slot: "sidebar-menu-button",
2267
2513
  sidebar: "menu-button",
@@ -2279,7 +2525,7 @@ function SidebarMenuButton({
2279
2525
  }
2280
2526
  return /* @__PURE__ */ jsxs13(Tooltip, { children: [
2281
2527
  comp,
2282
- /* @__PURE__ */ jsx24(
2528
+ /* @__PURE__ */ jsx26(
2283
2529
  TooltipContent,
2284
2530
  {
2285
2531
  side: "right",
@@ -2300,7 +2546,7 @@ function SidebarMenuAction({
2300
2546
  defaultTagName: "button",
2301
2547
  props: mergeProps(
2302
2548
  {
2303
- className: cn11(
2549
+ className: cn12(
2304
2550
  "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",
2305
2551
  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",
2306
2552
  className
@@ -2319,12 +2565,12 @@ function SidebarMenuBadge({
2319
2565
  className,
2320
2566
  ...props
2321
2567
  }) {
2322
- return /* @__PURE__ */ jsx24(
2568
+ return /* @__PURE__ */ jsx26(
2323
2569
  "div",
2324
2570
  {
2325
2571
  "data-slot": "sidebar-menu-badge",
2326
2572
  "data-sidebar": "menu-badge",
2327
- className: cn11(
2573
+ className: cn12(
2328
2574
  "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",
2329
2575
  className
2330
2576
  ),
@@ -2337,7 +2583,7 @@ function SidebarMenuSkeleton({
2337
2583
  showIcon = false,
2338
2584
  ...props
2339
2585
  }) {
2340
- const [width] = React15.useState(() => {
2586
+ const [width] = React16.useState(() => {
2341
2587
  return `${Math.floor(Math.random() * 40) + 50}%`;
2342
2588
  });
2343
2589
  return /* @__PURE__ */ jsxs13(
@@ -2345,17 +2591,17 @@ function SidebarMenuSkeleton({
2345
2591
  {
2346
2592
  "data-slot": "sidebar-menu-skeleton",
2347
2593
  "data-sidebar": "menu-skeleton",
2348
- className: cn11("flex h-8 items-center gap-2 rounded-md px-2", className),
2594
+ className: cn12("flex h-8 items-center gap-2 rounded-md px-2", className),
2349
2595
  ...props,
2350
2596
  children: [
2351
- showIcon && /* @__PURE__ */ jsx24(
2597
+ showIcon && /* @__PURE__ */ jsx26(
2352
2598
  Skeleton,
2353
2599
  {
2354
2600
  className: "size-4 rounded-md",
2355
2601
  "data-sidebar": "menu-skeleton-icon"
2356
2602
  }
2357
2603
  ),
2358
- /* @__PURE__ */ jsx24(
2604
+ /* @__PURE__ */ jsx26(
2359
2605
  Skeleton,
2360
2606
  {
2361
2607
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2370,12 +2616,12 @@ function SidebarMenuSkeleton({
2370
2616
  );
2371
2617
  }
2372
2618
  function SidebarMenuSub({ className, ...props }) {
2373
- return /* @__PURE__ */ jsx24(
2619
+ return /* @__PURE__ */ jsx26(
2374
2620
  "ul",
2375
2621
  {
2376
2622
  "data-slot": "sidebar-menu-sub",
2377
2623
  "data-sidebar": "menu-sub",
2378
- className: cn11(
2624
+ className: cn12(
2379
2625
  "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",
2380
2626
  className
2381
2627
  ),
@@ -2387,12 +2633,12 @@ function SidebarMenuSubItem({
2387
2633
  className,
2388
2634
  ...props
2389
2635
  }) {
2390
- return /* @__PURE__ */ jsx24(
2636
+ return /* @__PURE__ */ jsx26(
2391
2637
  "li",
2392
2638
  {
2393
2639
  "data-slot": "sidebar-menu-sub-item",
2394
2640
  "data-sidebar": "menu-sub-item",
2395
- className: cn11("group/menu-sub-item relative", className),
2641
+ className: cn12("group/menu-sub-item relative", className),
2396
2642
  ...props
2397
2643
  }
2398
2644
  );
@@ -2408,7 +2654,7 @@ function SidebarMenuSubButton({
2408
2654
  defaultTagName: "a",
2409
2655
  props: mergeProps(
2410
2656
  {
2411
- className: cn11(
2657
+ className: cn12(
2412
2658
  "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",
2413
2659
  className
2414
2660
  )
@@ -2426,7 +2672,7 @@ function SidebarMenuSubButton({
2426
2672
  }
2427
2673
 
2428
2674
  // src/components/sidebar/Sidebar.tsx
2429
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
2675
+ import { jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
2430
2676
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2431
2677
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2432
2678
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2434,7 +2680,7 @@ function SidebarGroupLabel2({
2434
2680
  className,
2435
2681
  ...props
2436
2682
  }) {
2437
- return /* @__PURE__ */ jsx25(
2683
+ return /* @__PURE__ */ jsx27(
2438
2684
  SidebarGroupLabel,
2439
2685
  {
2440
2686
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2447,7 +2693,7 @@ function SidebarProvider2({
2447
2693
  style,
2448
2694
  ...props
2449
2695
  }) {
2450
- return /* @__PURE__ */ jsx25(
2696
+ return /* @__PURE__ */ jsx27(
2451
2697
  SidebarProvider,
2452
2698
  {
2453
2699
  className,
@@ -2460,7 +2706,7 @@ function SidebarProvider2({
2460
2706
  );
2461
2707
  }
2462
2708
  function SidebarGroup2({ className, ...props }) {
2463
- return /* @__PURE__ */ jsx25(
2709
+ return /* @__PURE__ */ jsx27(
2464
2710
  SidebarGroup,
2465
2711
  {
2466
2712
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2472,7 +2718,7 @@ function SidebarFooter2({
2472
2718
  className,
2473
2719
  ...props
2474
2720
  }) {
2475
- return /* @__PURE__ */ jsx25(
2721
+ return /* @__PURE__ */ jsx27(
2476
2722
  SidebarFooter,
2477
2723
  {
2478
2724
  className: cn(
@@ -2487,7 +2733,7 @@ function SidebarHeader2({
2487
2733
  className,
2488
2734
  ...props
2489
2735
  }) {
2490
- return /* @__PURE__ */ jsx25(
2736
+ return /* @__PURE__ */ jsx27(
2491
2737
  SidebarHeader,
2492
2738
  {
2493
2739
  className: cn(
@@ -2499,8 +2745,8 @@ function SidebarHeader2({
2499
2745
  );
2500
2746
  }
2501
2747
  function SidebarLogo() {
2502
- return /* @__PURE__ */ jsx25(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ jsxs14("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2503
- /* @__PURE__ */ jsx25(
2748
+ return /* @__PURE__ */ jsx27(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ jsxs14("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2749
+ /* @__PURE__ */ jsx27(
2504
2750
  BergetLogo,
2505
2751
  {
2506
2752
  variant: "logotype",
@@ -2508,11 +2754,11 @@ function SidebarLogo() {
2508
2754
  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"
2509
2755
  }
2510
2756
  ),
2511
- /* @__PURE__ */ jsx25("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__ */ jsx25(BergetLogo, { variant: "symbol", size: 32 }) })
2757
+ /* @__PURE__ */ jsx27("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__ */ jsx27(BergetLogo, { variant: "symbol", size: 32 }) })
2512
2758
  ] }) });
2513
2759
  }
2514
2760
  function SidebarPageHeader({ className, ...props }) {
2515
- return /* @__PURE__ */ jsx25(
2761
+ return /* @__PURE__ */ jsx27(
2516
2762
  "header",
2517
2763
  {
2518
2764
  className: cn(
@@ -2524,7 +2770,7 @@ function SidebarPageHeader({ className, ...props }) {
2524
2770
  );
2525
2771
  }
2526
2772
  function SidebarMenuButton2({ className, ...props }) {
2527
- return /* @__PURE__ */ jsx25(
2773
+ return /* @__PURE__ */ jsx27(
2528
2774
  SidebarMenuButton,
2529
2775
  {
2530
2776
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -2533,7 +2779,7 @@ function SidebarMenuButton2({ className, ...props }) {
2533
2779
  );
2534
2780
  }
2535
2781
  function SidebarMenuSubButton2({ className, ...props }) {
2536
- return /* @__PURE__ */ jsx25(
2782
+ return /* @__PURE__ */ jsx27(
2537
2783
  SidebarMenuSubButton,
2538
2784
  {
2539
2785
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -2543,22 +2789,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
2543
2789
  }
2544
2790
 
2545
2791
  // src/components/table/Table.tsx
2546
- import * as React16 from "react";
2792
+ import * as React17 from "react";
2547
2793
 
2548
2794
  // src/primitives/table.tsx
2549
- import { cn as cn12 } from "cn";
2550
- import { jsx as jsx26 } from "react/jsx-runtime";
2795
+ import { cn as cn13 } from "cn";
2796
+ import { jsx as jsx28 } from "react/jsx-runtime";
2551
2797
  function Table({ className, ...props }) {
2552
- return /* @__PURE__ */ jsx26(
2798
+ return /* @__PURE__ */ jsx28(
2553
2799
  "div",
2554
2800
  {
2555
2801
  "data-slot": "table-container",
2556
2802
  className: "relative w-full overflow-x-auto",
2557
- children: /* @__PURE__ */ jsx26(
2803
+ children: /* @__PURE__ */ jsx28(
2558
2804
  "table",
2559
2805
  {
2560
2806
  "data-slot": "table",
2561
- className: cn12("w-full caption-bottom text-sm", className),
2807
+ className: cn13("w-full caption-bottom text-sm", className),
2562
2808
  ...props
2563
2809
  }
2564
2810
  )
@@ -2566,31 +2812,31 @@ function Table({ className, ...props }) {
2566
2812
  );
2567
2813
  }
2568
2814
  function TableHeader({ className, ...props }) {
2569
- return /* @__PURE__ */ jsx26(
2815
+ return /* @__PURE__ */ jsx28(
2570
2816
  "thead",
2571
2817
  {
2572
2818
  "data-slot": "table-header",
2573
- className: cn12("[&_tr]:border-b", className),
2819
+ className: cn13("[&_tr]:border-b", className),
2574
2820
  ...props
2575
2821
  }
2576
2822
  );
2577
2823
  }
2578
2824
  function TableBody({ className, ...props }) {
2579
- return /* @__PURE__ */ jsx26(
2825
+ return /* @__PURE__ */ jsx28(
2580
2826
  "tbody",
2581
2827
  {
2582
2828
  "data-slot": "table-body",
2583
- className: cn12("[&_tr:last-child]:border-0", className),
2829
+ className: cn13("[&_tr:last-child]:border-0", className),
2584
2830
  ...props
2585
2831
  }
2586
2832
  );
2587
2833
  }
2588
2834
  function TableFooter({ className, ...props }) {
2589
- return /* @__PURE__ */ jsx26(
2835
+ return /* @__PURE__ */ jsx28(
2590
2836
  "tfoot",
2591
2837
  {
2592
2838
  "data-slot": "table-footer",
2593
- className: cn12(
2839
+ className: cn13(
2594
2840
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
2595
2841
  className
2596
2842
  ),
@@ -2599,11 +2845,11 @@ function TableFooter({ className, ...props }) {
2599
2845
  );
2600
2846
  }
2601
2847
  function TableRow({ className, ...props }) {
2602
- return /* @__PURE__ */ jsx26(
2848
+ return /* @__PURE__ */ jsx28(
2603
2849
  "tr",
2604
2850
  {
2605
2851
  "data-slot": "table-row",
2606
- className: cn12(
2852
+ className: cn13(
2607
2853
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
2608
2854
  className
2609
2855
  ),
@@ -2612,11 +2858,11 @@ function TableRow({ className, ...props }) {
2612
2858
  );
2613
2859
  }
2614
2860
  function TableHead({ className, ...props }) {
2615
- return /* @__PURE__ */ jsx26(
2861
+ return /* @__PURE__ */ jsx28(
2616
2862
  "th",
2617
2863
  {
2618
2864
  "data-slot": "table-head",
2619
- className: cn12(
2865
+ className: cn13(
2620
2866
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
2621
2867
  className
2622
2868
  ),
@@ -2625,11 +2871,11 @@ function TableHead({ className, ...props }) {
2625
2871
  );
2626
2872
  }
2627
2873
  function TableCell({ className, ...props }) {
2628
- return /* @__PURE__ */ jsx26(
2874
+ return /* @__PURE__ */ jsx28(
2629
2875
  "td",
2630
2876
  {
2631
2877
  "data-slot": "table-cell",
2632
- className: cn12(
2878
+ className: cn13(
2633
2879
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
2634
2880
  className
2635
2881
  ),
@@ -2641,23 +2887,23 @@ function TableCaption({
2641
2887
  className,
2642
2888
  ...props
2643
2889
  }) {
2644
- return /* @__PURE__ */ jsx26(
2890
+ return /* @__PURE__ */ jsx28(
2645
2891
  "caption",
2646
2892
  {
2647
2893
  "data-slot": "table-caption",
2648
- className: cn12("mt-4 text-sm text-muted-foreground", className),
2894
+ className: cn13("mt-4 text-sm text-muted-foreground", className),
2649
2895
  ...props
2650
2896
  }
2651
2897
  );
2652
2898
  }
2653
2899
 
2654
2900
  // src/components/table/Table.tsx
2655
- import { jsx as jsx27 } from "react/jsx-runtime";
2656
- var Table2 = React16.forwardRef(
2657
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx27(Table, { ref, className, ...props })
2901
+ import { jsx as jsx29 } from "react/jsx-runtime";
2902
+ var Table2 = React17.forwardRef(
2903
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx29(Table, { ref, className, ...props })
2658
2904
  );
2659
2905
  Table2.displayName = "Table";
2660
- var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2906
+ var TableHeader2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2661
2907
  TableHeader,
2662
2908
  {
2663
2909
  ref,
@@ -2666,7 +2912,7 @@ var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2666
2912
  }
2667
2913
  ));
2668
2914
  TableHeader2.displayName = "TableHeader";
2669
- var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2915
+ var TableBody2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2670
2916
  TableBody,
2671
2917
  {
2672
2918
  ref,
@@ -2675,7 +2921,7 @@ var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2675
2921
  }
2676
2922
  ));
2677
2923
  TableBody2.displayName = "TableBody";
2678
- var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2924
+ var TableFooter2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2679
2925
  TableFooter,
2680
2926
  {
2681
2927
  ref,
@@ -2687,8 +2933,8 @@ var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2687
2933
  }
2688
2934
  ));
2689
2935
  TableFooter2.displayName = "TableFooter";
2690
- var TableRow2 = React16.forwardRef(
2691
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2936
+ var TableRow2 = React17.forwardRef(
2937
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2692
2938
  TableRow,
2693
2939
  {
2694
2940
  ref,
@@ -2701,7 +2947,7 @@ var TableRow2 = React16.forwardRef(
2701
2947
  )
2702
2948
  );
2703
2949
  TableRow2.displayName = "TableRow";
2704
- var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2950
+ var TableHead2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2705
2951
  TableHead,
2706
2952
  {
2707
2953
  ref,
@@ -2713,7 +2959,7 @@ var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2713
2959
  }
2714
2960
  ));
2715
2961
  TableHead2.displayName = "TableHead";
2716
- var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2962
+ var TableCell2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2717
2963
  TableCell,
2718
2964
  {
2719
2965
  ref,
@@ -2722,7 +2968,7 @@ var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2722
2968
  }
2723
2969
  ));
2724
2970
  TableCell2.displayName = "TableCell";
2725
- var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2971
+ var TableCaption2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2726
2972
  TableCaption,
2727
2973
  {
2728
2974
  ref,
@@ -2733,21 +2979,21 @@ var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__P
2733
2979
  TableCaption2.displayName = "TableCaption";
2734
2980
 
2735
2981
  // src/components/item/Item.tsx
2736
- import * as React17 from "react";
2982
+ import * as React18 from "react";
2737
2983
 
2738
2984
  // src/primitives/item.tsx
2739
2985
  import { mergeProps as mergeProps2 } from "@base-ui/react/merge-props";
2740
2986
  import { useRender as useRender2 } from "@base-ui/react/use-render";
2741
2987
  import { cva as cva10 } from "class-variance-authority";
2742
- import { cn as cn13 } from "cn";
2743
- import { jsx as jsx28 } from "react/jsx-runtime";
2988
+ import { cn as cn14 } from "cn";
2989
+ import { jsx as jsx30 } from "react/jsx-runtime";
2744
2990
  function ItemGroup({ className, ...props }) {
2745
- return /* @__PURE__ */ jsx28(
2991
+ return /* @__PURE__ */ jsx30(
2746
2992
  "div",
2747
2993
  {
2748
2994
  role: "list",
2749
2995
  "data-slot": "item-group",
2750
- className: cn13(
2996
+ className: cn14(
2751
2997
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
2752
2998
  className
2753
2999
  ),
@@ -2759,12 +3005,12 @@ function ItemSeparator({
2759
3005
  className,
2760
3006
  ...props
2761
3007
  }) {
2762
- return /* @__PURE__ */ jsx28(
3008
+ return /* @__PURE__ */ jsx30(
2763
3009
  Separator,
2764
3010
  {
2765
3011
  "data-slot": "item-separator",
2766
3012
  orientation: "horizontal",
2767
- className: cn13("my-2", className),
3013
+ className: cn14("my-2", className),
2768
3014
  ...props
2769
3015
  }
2770
3016
  );
@@ -2801,7 +3047,7 @@ function Item({
2801
3047
  defaultTagName: "div",
2802
3048
  props: mergeProps2(
2803
3049
  {
2804
- className: cn13(itemVariants({ variant, size, className }))
3050
+ className: cn14(itemVariants({ variant, size, className }))
2805
3051
  },
2806
3052
  props
2807
3053
  ),
@@ -2833,22 +3079,22 @@ function ItemMedia({
2833
3079
  variant = "default",
2834
3080
  ...props
2835
3081
  }) {
2836
- return /* @__PURE__ */ jsx28(
3082
+ return /* @__PURE__ */ jsx30(
2837
3083
  "div",
2838
3084
  {
2839
3085
  "data-slot": "item-media",
2840
3086
  "data-variant": variant,
2841
- className: cn13(itemMediaVariants({ variant, className })),
3087
+ className: cn14(itemMediaVariants({ variant, className })),
2842
3088
  ...props
2843
3089
  }
2844
3090
  );
2845
3091
  }
2846
3092
  function ItemContent({ className, ...props }) {
2847
- return /* @__PURE__ */ jsx28(
3093
+ return /* @__PURE__ */ jsx30(
2848
3094
  "div",
2849
3095
  {
2850
3096
  "data-slot": "item-content",
2851
- className: cn13(
3097
+ className: cn14(
2852
3098
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
2853
3099
  className
2854
3100
  ),
@@ -2857,11 +3103,11 @@ function ItemContent({ className, ...props }) {
2857
3103
  );
2858
3104
  }
2859
3105
  function ItemTitle({ className, ...props }) {
2860
- return /* @__PURE__ */ jsx28(
3106
+ return /* @__PURE__ */ jsx30(
2861
3107
  "div",
2862
3108
  {
2863
3109
  "data-slot": "item-title",
2864
- className: cn13(
3110
+ className: cn14(
2865
3111
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
2866
3112
  className
2867
3113
  ),
@@ -2870,11 +3116,11 @@ function ItemTitle({ className, ...props }) {
2870
3116
  );
2871
3117
  }
2872
3118
  function ItemDescription({ className, ...props }) {
2873
- return /* @__PURE__ */ jsx28(
3119
+ return /* @__PURE__ */ jsx30(
2874
3120
  "p",
2875
3121
  {
2876
3122
  "data-slot": "item-description",
2877
- className: cn13(
3123
+ className: cn14(
2878
3124
  "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",
2879
3125
  className
2880
3126
  ),
@@ -2883,21 +3129,21 @@ function ItemDescription({ className, ...props }) {
2883
3129
  );
2884
3130
  }
2885
3131
  function ItemActions({ className, ...props }) {
2886
- return /* @__PURE__ */ jsx28(
3132
+ return /* @__PURE__ */ jsx30(
2887
3133
  "div",
2888
3134
  {
2889
3135
  "data-slot": "item-actions",
2890
- className: cn13("flex items-center gap-2", className),
3136
+ className: cn14("flex items-center gap-2", className),
2891
3137
  ...props
2892
3138
  }
2893
3139
  );
2894
3140
  }
2895
3141
  function ItemHeader({ className, ...props }) {
2896
- return /* @__PURE__ */ jsx28(
3142
+ return /* @__PURE__ */ jsx30(
2897
3143
  "div",
2898
3144
  {
2899
3145
  "data-slot": "item-header",
2900
- className: cn13(
3146
+ className: cn14(
2901
3147
  "flex basis-full items-center justify-between gap-2",
2902
3148
  className
2903
3149
  ),
@@ -2906,11 +3152,11 @@ function ItemHeader({ className, ...props }) {
2906
3152
  );
2907
3153
  }
2908
3154
  function ItemFooter({ className, ...props }) {
2909
- return /* @__PURE__ */ jsx28(
3155
+ return /* @__PURE__ */ jsx30(
2910
3156
  "div",
2911
3157
  {
2912
3158
  "data-slot": "item-footer",
2913
- className: cn13(
3159
+ className: cn14(
2914
3160
  "flex basis-full items-center justify-between gap-2",
2915
3161
  className
2916
3162
  ),
@@ -2920,9 +3166,9 @@ function ItemFooter({ className, ...props }) {
2920
3166
  }
2921
3167
 
2922
3168
  // src/components/item/Item.tsx
2923
- import { jsx as jsx29 } from "react/jsx-runtime";
3169
+ import { jsx as jsx31 } from "react/jsx-runtime";
2924
3170
  function Item2({ className, asChild, children, ...props }) {
2925
- return /* @__PURE__ */ jsx29(
3171
+ return /* @__PURE__ */ jsx31(
2926
3172
  Item,
2927
3173
  {
2928
3174
  render: asChild ? children : void 0,
@@ -2941,8 +3187,8 @@ function Item2({ className, asChild, children, ...props }) {
2941
3187
  }
2942
3188
  );
2943
3189
  }
2944
- var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
2945
- return /* @__PURE__ */ jsx29(
3190
+ var ItemMedia2 = React18.forwardRef(({ className, ...props }, ref) => {
3191
+ return /* @__PURE__ */ jsx31(
2946
3192
  ItemMedia,
2947
3193
  {
2948
3194
  ref,
@@ -2952,8 +3198,8 @@ var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
2952
3198
  );
2953
3199
  });
2954
3200
  ItemMedia2.displayName = "ItemMedia";
2955
- var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
2956
- return /* @__PURE__ */ jsx29(
3201
+ var ItemTitle2 = React18.forwardRef(({ className, ...props }, ref) => {
3202
+ return /* @__PURE__ */ jsx31(
2957
3203
  ItemTitle,
2958
3204
  {
2959
3205
  ref,
@@ -2963,8 +3209,8 @@ var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
2963
3209
  );
2964
3210
  });
2965
3211
  ItemTitle2.displayName = "ItemTitle";
2966
- var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
2967
- return /* @__PURE__ */ jsx29(
3212
+ var ItemDescription2 = React18.forwardRef(({ className, ...props }, ref) => {
3213
+ return /* @__PURE__ */ jsx31(
2968
3214
  ItemDescription,
2969
3215
  {
2970
3216
  ref,
@@ -2974,8 +3220,8 @@ var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
2974
3220
  );
2975
3221
  });
2976
3222
  ItemDescription2.displayName = "ItemDescription";
2977
- var ItemSeparator2 = React17.forwardRef(({ className, ...props }, ref) => {
2978
- return /* @__PURE__ */ jsx29(
3223
+ var ItemSeparator2 = React18.forwardRef(({ className, ...props }, ref) => {
3224
+ return /* @__PURE__ */ jsx31(
2979
3225
  ItemSeparator,
2980
3226
  {
2981
3227
  ref,
@@ -2988,7 +3234,7 @@ ItemSeparator2.displayName = "ItemSeparator";
2988
3234
 
2989
3235
  // src/components/search-input/SearchInput.tsx
2990
3236
  import { Search } from "lucide-react";
2991
- import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
3237
+ import { jsx as jsx32, jsxs as jsxs15 } from "react/jsx-runtime";
2992
3238
  var SearchInput = ({
2993
3239
  type = "search",
2994
3240
  placeholder = "Search...",
@@ -2996,14 +3242,14 @@ var SearchInput = ({
2996
3242
  ref,
2997
3243
  ...props
2998
3244
  }) => /* @__PURE__ */ jsxs15("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
2999
- /* @__PURE__ */ jsx30(
3245
+ /* @__PURE__ */ jsx32(
3000
3246
  Search,
3001
3247
  {
3002
3248
  "aria-hidden": "true",
3003
3249
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3004
3250
  }
3005
3251
  ),
3006
- /* @__PURE__ */ jsx30(
3252
+ /* @__PURE__ */ jsx32(
3007
3253
  Input,
3008
3254
  {
3009
3255
  ref,
@@ -3017,33 +3263,33 @@ var SearchInput = ({
3017
3263
  SearchInput.displayName = "SearchInput";
3018
3264
 
3019
3265
  // src/components/checkbox/Checkbox.tsx
3020
- import * as React18 from "react";
3266
+ import * as React19 from "react";
3021
3267
  import { Checkbox as CheckboxPrimitive2 } from "@base-ui/react/checkbox";
3022
- import { Check as Check2 } from "lucide-react";
3268
+ import { Check } from "lucide-react";
3023
3269
  import { cva as cva11 } from "class-variance-authority";
3024
3270
 
3025
3271
  // src/primitives/checkbox.tsx
3026
3272
  import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
3027
- import { cn as cn14 } from "cn";
3028
- import { CheckIcon } from "lucide-react";
3029
- import { jsx as jsx31 } from "react/jsx-runtime";
3273
+ import { cn as cn15 } from "cn";
3274
+ import { CheckIcon as CheckIcon2 } from "lucide-react";
3275
+ import { jsx as jsx33 } from "react/jsx-runtime";
3030
3276
  function Checkbox({ className, ...props }) {
3031
- return /* @__PURE__ */ jsx31(
3277
+ return /* @__PURE__ */ jsx33(
3032
3278
  CheckboxPrimitive.Root,
3033
3279
  {
3034
3280
  "data-slot": "checkbox",
3035
- className: cn14(
3281
+ className: cn15(
3036
3282
  "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",
3037
3283
  className
3038
3284
  ),
3039
3285
  ...props,
3040
- children: /* @__PURE__ */ jsx31(
3286
+ children: /* @__PURE__ */ jsx33(
3041
3287
  CheckboxPrimitive.Indicator,
3042
3288
  {
3043
3289
  "data-slot": "checkbox-indicator",
3044
3290
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3045
- children: /* @__PURE__ */ jsx31(
3046
- CheckIcon,
3291
+ children: /* @__PURE__ */ jsx33(
3292
+ CheckIcon2,
3047
3293
  {}
3048
3294
  )
3049
3295
  }
@@ -3053,7 +3299,7 @@ function Checkbox({ className, ...props }) {
3053
3299
  }
3054
3300
 
3055
3301
  // src/components/checkbox/Checkbox.tsx
3056
- import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
3302
+ import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
3057
3303
  var checkboxVariants = cva11(
3058
3304
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3059
3305
  {
@@ -3075,7 +3321,7 @@ var checkboxVariants = cva11(
3075
3321
  }
3076
3322
  }
3077
3323
  );
3078
- var Checkbox2 = React18.forwardRef(
3324
+ var Checkbox2 = React19.forwardRef(
3079
3325
  ({
3080
3326
  "aria-label": ariaLabel,
3081
3327
  className,
@@ -3088,11 +3334,11 @@ var Checkbox2 = React18.forwardRef(
3088
3334
  disabled,
3089
3335
  ...props
3090
3336
  }, ref) => {
3091
- const generatedId = React18.useId();
3337
+ const generatedId = React19.useId();
3092
3338
  const checkboxId = id || generatedId;
3093
3339
  const errorId = `${checkboxId}-error`;
3094
3340
  return /* @__PURE__ */ jsxs16("div", { className: "flex items-start gap-3", children: [
3095
- /* @__PURE__ */ jsx32("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx32(
3341
+ /* @__PURE__ */ jsx34("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ jsx34(
3096
3342
  Checkbox,
3097
3343
  {
3098
3344
  ref,
@@ -3108,8 +3354,8 @@ var Checkbox2 = React18.forwardRef(
3108
3354
  className
3109
3355
  ),
3110
3356
  ...props,
3111
- children: /* @__PURE__ */ jsx32(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx32(
3112
- Check2,
3357
+ children: /* @__PURE__ */ jsx34(CheckboxPrimitive2.Indicator, { children: /* @__PURE__ */ jsx34(
3358
+ Check,
3113
3359
  {
3114
3360
  className: "h-4 w-4 text-current stroke-current",
3115
3361
  style: { color: "currentColor", stroke: "currentColor" }
@@ -3118,7 +3364,7 @@ var Checkbox2 = React18.forwardRef(
3118
3364
  }
3119
3365
  ) }),
3120
3366
  (label || description || error) && /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1", children: [
3121
- label && /* @__PURE__ */ jsx32(
3367
+ label && /* @__PURE__ */ jsx34(
3122
3368
  "label",
3123
3369
  {
3124
3370
  htmlFor: checkboxId,
@@ -3130,8 +3376,8 @@ var Checkbox2 = React18.forwardRef(
3130
3376
  children: label
3131
3377
  }
3132
3378
  ),
3133
- description && /* @__PURE__ */ jsx32(Typography, { variant: "xs", color: "muted", children: description }),
3134
- error && /* @__PURE__ */ jsx32(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3379
+ description && /* @__PURE__ */ jsx34(Typography, { variant: "xs", color: "muted", children: description }),
3380
+ error && /* @__PURE__ */ jsx34(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3135
3381
  ] })
3136
3382
  ] });
3137
3383
  }
@@ -3139,10 +3385,10 @@ var Checkbox2 = React18.forwardRef(
3139
3385
  Checkbox2.displayName = "Checkbox";
3140
3386
 
3141
3387
  // src/components/switch/Switch.tsx
3142
- import * as React19 from "react";
3388
+ import * as React20 from "react";
3143
3389
  import { Switch as SwitchPrimitives } from "@base-ui/react/switch";
3144
3390
  import { cva as cva12 } from "class-variance-authority";
3145
- import { jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
3391
+ import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
3146
3392
  var switchRootVariants = cva12(
3147
3393
  "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",
3148
3394
  {
@@ -3179,7 +3425,7 @@ var switchThumbVariants = cva12(
3179
3425
  }
3180
3426
  }
3181
3427
  );
3182
- var Switch = React19.forwardRef(
3428
+ var Switch = React20.forwardRef(
3183
3429
  ({
3184
3430
  "aria-label": ariaLabel,
3185
3431
  className,
@@ -3192,11 +3438,11 @@ var Switch = React19.forwardRef(
3192
3438
  disabled,
3193
3439
  ...props
3194
3440
  }, ref) => {
3195
- const generatedId = React19.useId();
3441
+ const generatedId = React20.useId();
3196
3442
  const switchId = id || generatedId;
3197
3443
  const errorId = `${switchId}-error`;
3198
3444
  return /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3199
- /* @__PURE__ */ jsx33(
3445
+ /* @__PURE__ */ jsx35(
3200
3446
  SwitchPrimitives.Root,
3201
3447
  {
3202
3448
  ref,
@@ -3211,11 +3457,11 @@ var Switch = React19.forwardRef(
3211
3457
  className
3212
3458
  ),
3213
3459
  ...props,
3214
- children: /* @__PURE__ */ jsx33(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3460
+ children: /* @__PURE__ */ jsx35(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
3215
3461
  }
3216
3462
  ),
3217
3463
  (label || description || error) && /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1", children: [
3218
- label && /* @__PURE__ */ jsx33(
3464
+ label && /* @__PURE__ */ jsx35(
3219
3465
  "label",
3220
3466
  {
3221
3467
  htmlFor: switchId,
@@ -3226,8 +3472,8 @@ var Switch = React19.forwardRef(
3226
3472
  children: label
3227
3473
  }
3228
3474
  ),
3229
- description && /* @__PURE__ */ jsx33(Typography, { variant: "xs", color: "muted", children: description }),
3230
- error && /* @__PURE__ */ jsx33(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3475
+ description && /* @__PURE__ */ jsx35(Typography, { variant: "xs", color: "muted", children: description }),
3476
+ error && /* @__PURE__ */ jsx35(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3231
3477
  ] })
3232
3478
  ] });
3233
3479
  }
@@ -3236,26 +3482,26 @@ Switch.displayName = "Switch";
3236
3482
 
3237
3483
  // src/primitives/select.tsx
3238
3484
  import { Select as SelectPrimitive } from "@base-ui/react/select";
3239
- import { cn as cn15 } from "cn";
3240
- import { ChevronDownIcon as ChevronDownIcon2, CheckIcon as CheckIcon2, ChevronUpIcon } from "lucide-react";
3241
- import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
3485
+ import { cn as cn16 } from "cn";
3486
+ import { ChevronDownIcon as ChevronDownIcon2, CheckIcon as CheckIcon3, ChevronUpIcon } from "lucide-react";
3487
+ import { jsx as jsx36, jsxs as jsxs18 } from "react/jsx-runtime";
3242
3488
  var Select = SelectPrimitive.Root;
3243
3489
  function SelectGroup({ className, ...props }) {
3244
- return /* @__PURE__ */ jsx34(
3490
+ return /* @__PURE__ */ jsx36(
3245
3491
  SelectPrimitive.Group,
3246
3492
  {
3247
3493
  "data-slot": "select-group",
3248
- className: cn15("scroll-my-1 p-1", className),
3494
+ className: cn16("scroll-my-1 p-1", className),
3249
3495
  ...props
3250
3496
  }
3251
3497
  );
3252
3498
  }
3253
3499
  function SelectValue({ className, ...props }) {
3254
- return /* @__PURE__ */ jsx34(
3500
+ return /* @__PURE__ */ jsx36(
3255
3501
  SelectPrimitive.Value,
3256
3502
  {
3257
3503
  "data-slot": "select-value",
3258
- className: cn15("flex flex-1 text-left", className),
3504
+ className: cn16("flex flex-1 text-left", className),
3259
3505
  ...props
3260
3506
  }
3261
3507
  );
@@ -3271,17 +3517,17 @@ function SelectTrigger({
3271
3517
  {
3272
3518
  "data-slot": "select-trigger",
3273
3519
  "data-size": size,
3274
- className: cn15(
3520
+ className: cn16(
3275
3521
  "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",
3276
3522
  className
3277
3523
  ),
3278
3524
  ...props,
3279
3525
  children: [
3280
3526
  children,
3281
- /* @__PURE__ */ jsx34(
3527
+ /* @__PURE__ */ jsx36(
3282
3528
  SelectPrimitive.Icon,
3283
3529
  {
3284
- render: /* @__PURE__ */ jsx34(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3530
+ render: /* @__PURE__ */ jsx36(ChevronDownIcon2, { className: "pointer-events-none size-4 text-muted-foreground" })
3285
3531
  }
3286
3532
  )
3287
3533
  ]
@@ -3298,7 +3544,7 @@ function SelectContent({
3298
3544
  alignItemWithTrigger = true,
3299
3545
  ...props
3300
3546
  }) {
3301
- return /* @__PURE__ */ jsx34(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx34(
3547
+ return /* @__PURE__ */ jsx36(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx36(
3302
3548
  SelectPrimitive.Positioner,
3303
3549
  {
3304
3550
  side,
@@ -3312,12 +3558,12 @@ function SelectContent({
3312
3558
  {
3313
3559
  "data-slot": "select-content",
3314
3560
  "data-align-trigger": alignItemWithTrigger,
3315
- className: cn15("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),
3561
+ className: cn16("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),
3316
3562
  ...props,
3317
3563
  children: [
3318
- /* @__PURE__ */ jsx34(SelectScrollUpButton, {}),
3319
- /* @__PURE__ */ jsx34(SelectPrimitive.List, { children }),
3320
- /* @__PURE__ */ jsx34(SelectScrollDownButton, {})
3564
+ /* @__PURE__ */ jsx36(SelectScrollUpButton, {}),
3565
+ /* @__PURE__ */ jsx36(SelectPrimitive.List, { children }),
3566
+ /* @__PURE__ */ jsx36(SelectScrollDownButton, {})
3321
3567
  ]
3322
3568
  }
3323
3569
  )
@@ -3328,11 +3574,11 @@ function SelectLabel({
3328
3574
  className,
3329
3575
  ...props
3330
3576
  }) {
3331
- return /* @__PURE__ */ jsx34(
3577
+ return /* @__PURE__ */ jsx36(
3332
3578
  SelectPrimitive.GroupLabel,
3333
3579
  {
3334
3580
  "data-slot": "select-label",
3335
- className: cn15("px-1.5 py-1 text-xs text-muted-foreground", className),
3581
+ className: cn16("px-1.5 py-1 text-xs text-muted-foreground", className),
3336
3582
  ...props
3337
3583
  }
3338
3584
  );
@@ -3346,18 +3592,18 @@ function SelectItem({
3346
3592
  SelectPrimitive.Item,
3347
3593
  {
3348
3594
  "data-slot": "select-item",
3349
- className: cn15(
3595
+ className: cn16(
3350
3596
  "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",
3351
3597
  className
3352
3598
  ),
3353
3599
  ...props,
3354
3600
  children: [
3355
- /* @__PURE__ */ jsx34(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3356
- /* @__PURE__ */ jsx34(
3601
+ /* @__PURE__ */ jsx36(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3602
+ /* @__PURE__ */ jsx36(
3357
3603
  SelectPrimitive.ItemIndicator,
3358
3604
  {
3359
- render: /* @__PURE__ */ jsx34("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3360
- children: /* @__PURE__ */ jsx34(CheckIcon2, { className: "pointer-events-none" })
3605
+ render: /* @__PURE__ */ jsx36("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3606
+ children: /* @__PURE__ */ jsx36(CheckIcon3, { className: "pointer-events-none" })
3361
3607
  }
3362
3608
  )
3363
3609
  ]
@@ -3368,11 +3614,11 @@ function SelectSeparator({
3368
3614
  className,
3369
3615
  ...props
3370
3616
  }) {
3371
- return /* @__PURE__ */ jsx34(
3617
+ return /* @__PURE__ */ jsx36(
3372
3618
  SelectPrimitive.Separator,
3373
3619
  {
3374
3620
  "data-slot": "select-separator",
3375
- className: cn15("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3621
+ className: cn16("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3376
3622
  ...props
3377
3623
  }
3378
3624
  );
@@ -3381,16 +3627,16 @@ function SelectScrollUpButton({
3381
3627
  className,
3382
3628
  ...props
3383
3629
  }) {
3384
- return /* @__PURE__ */ jsx34(
3630
+ return /* @__PURE__ */ jsx36(
3385
3631
  SelectPrimitive.ScrollUpArrow,
3386
3632
  {
3387
3633
  "data-slot": "select-scroll-up-button",
3388
- className: cn15(
3634
+ className: cn16(
3389
3635
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3390
3636
  className
3391
3637
  ),
3392
3638
  ...props,
3393
- children: /* @__PURE__ */ jsx34(
3639
+ children: /* @__PURE__ */ jsx36(
3394
3640
  ChevronUpIcon,
3395
3641
  {}
3396
3642
  )
@@ -3401,16 +3647,16 @@ function SelectScrollDownButton({
3401
3647
  className,
3402
3648
  ...props
3403
3649
  }) {
3404
- return /* @__PURE__ */ jsx34(
3650
+ return /* @__PURE__ */ jsx36(
3405
3651
  SelectPrimitive.ScrollDownArrow,
3406
3652
  {
3407
3653
  "data-slot": "select-scroll-down-button",
3408
- className: cn15(
3654
+ className: cn16(
3409
3655
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3410
3656
  className
3411
3657
  ),
3412
3658
  ...props,
3413
- children: /* @__PURE__ */ jsx34(
3659
+ children: /* @__PURE__ */ jsx36(
3414
3660
  ChevronDownIcon2,
3415
3661
  {}
3416
3662
  )
@@ -3419,18 +3665,18 @@ function SelectScrollDownButton({
3419
3665
  }
3420
3666
 
3421
3667
  // src/components/country-select/CountrySelect.tsx
3422
- import * as React21 from "react";
3668
+ import * as React22 from "react";
3423
3669
  import { ChevronDown as ChevronDown2, Globe } from "lucide-react";
3424
3670
 
3425
3671
  // src/components/icon/Icon.tsx
3426
- import * as React20 from "react";
3427
- import { jsx as jsx35 } from "react/jsx-runtime";
3672
+ import * as React21 from "react";
3673
+ import { jsx as jsx37 } from "react/jsx-runtime";
3428
3674
  var iconStrokeMap = {
3429
3675
  16: 1.4,
3430
3676
  24: 1.6,
3431
3677
  32: 1.8
3432
3678
  };
3433
- var Icon = React20.forwardRef(
3679
+ var Icon = React21.forwardRef(
3434
3680
  ({
3435
3681
  icon: IconComponent,
3436
3682
  size,
@@ -3442,7 +3688,7 @@ var Icon = React20.forwardRef(
3442
3688
  const strokeWidth = iconStrokeMap[size];
3443
3689
  const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3444
3690
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
3445
- return /* @__PURE__ */ jsx35(
3691
+ return /* @__PURE__ */ jsx37(
3446
3692
  IconComponent,
3447
3693
  {
3448
3694
  ref,
@@ -3458,13 +3704,13 @@ Icon.displayName = "Icon";
3458
3704
 
3459
3705
  // src/primitives/popover.tsx
3460
3706
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
3461
- import { cn as cn16 } from "cn";
3462
- import { jsx as jsx36 } from "react/jsx-runtime";
3707
+ import { cn as cn17 } from "cn";
3708
+ import { jsx as jsx38 } from "react/jsx-runtime";
3463
3709
  function Popover({ ...props }) {
3464
- return /* @__PURE__ */ jsx36(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3710
+ return /* @__PURE__ */ jsx38(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
3465
3711
  }
3466
3712
  function PopoverTrigger({ ...props }) {
3467
- return /* @__PURE__ */ jsx36(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3713
+ return /* @__PURE__ */ jsx38(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
3468
3714
  }
3469
3715
  function PopoverContent({
3470
3716
  className,
@@ -3474,7 +3720,7 @@ function PopoverContent({
3474
3720
  sideOffset = 4,
3475
3721
  ...props
3476
3722
  }) {
3477
- return /* @__PURE__ */ jsx36(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx36(
3723
+ return /* @__PURE__ */ jsx38(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx38(
3478
3724
  PopoverPrimitive.Positioner,
3479
3725
  {
3480
3726
  align,
@@ -3482,11 +3728,11 @@ function PopoverContent({
3482
3728
  side,
3483
3729
  sideOffset,
3484
3730
  className: "isolate z-50",
3485
- children: /* @__PURE__ */ jsx36(
3731
+ children: /* @__PURE__ */ jsx38(
3486
3732
  PopoverPrimitive.Popup,
3487
3733
  {
3488
3734
  "data-slot": "popover-content",
3489
- className: cn16(
3735
+ className: cn17(
3490
3736
  "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",
3491
3737
  className
3492
3738
  ),
@@ -3499,27 +3745,27 @@ function PopoverContent({
3499
3745
 
3500
3746
  // src/primitives/command.tsx
3501
3747
  import { Command as CommandPrimitive } from "cmdk";
3502
- import { cn as cn20 } from "cn";
3748
+ import { cn as cn21 } from "cn";
3503
3749
 
3504
3750
  // src/primitives/dialog.tsx
3505
3751
  import { Dialog as DialogPrimitive2 } from "@base-ui/react/dialog";
3506
- import { cn as cn17 } from "cn";
3752
+ import { cn as cn18 } from "cn";
3507
3753
  import { XIcon as XIcon2 } from "lucide-react";
3508
- import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
3754
+ import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
3509
3755
 
3510
3756
  // src/primitives/input-group.tsx
3511
3757
  import { cva as cva13 } from "class-variance-authority";
3512
- import { cn as cn19 } from "cn";
3758
+ import { cn as cn20 } from "cn";
3513
3759
 
3514
3760
  // src/primitives/textarea.tsx
3515
- import { cn as cn18 } from "cn";
3516
- import { jsx as jsx38 } from "react/jsx-runtime";
3761
+ import { cn as cn19 } from "cn";
3762
+ import { jsx as jsx40 } from "react/jsx-runtime";
3517
3763
  function Textarea({ className, ...props }) {
3518
- return /* @__PURE__ */ jsx38(
3764
+ return /* @__PURE__ */ jsx40(
3519
3765
  "textarea",
3520
3766
  {
3521
3767
  "data-slot": "textarea",
3522
- className: cn18(
3768
+ className: cn19(
3523
3769
  "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",
3524
3770
  className
3525
3771
  ),
@@ -3529,14 +3775,14 @@ function Textarea({ className, ...props }) {
3529
3775
  }
3530
3776
 
3531
3777
  // src/primitives/input-group.tsx
3532
- import { jsx as jsx39 } from "react/jsx-runtime";
3778
+ import { jsx as jsx41 } from "react/jsx-runtime";
3533
3779
  function InputGroup({ className, ...props }) {
3534
- return /* @__PURE__ */ jsx39(
3780
+ return /* @__PURE__ */ jsx41(
3535
3781
  "div",
3536
3782
  {
3537
3783
  "data-slot": "input-group",
3538
3784
  role: "group",
3539
- className: cn19(
3785
+ className: cn20(
3540
3786
  "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",
3541
3787
  className
3542
3788
  ),
@@ -3565,13 +3811,13 @@ function InputGroupAddon({
3565
3811
  align = "inline-start",
3566
3812
  ...props
3567
3813
  }) {
3568
- return /* @__PURE__ */ jsx39(
3814
+ return /* @__PURE__ */ jsx41(
3569
3815
  "div",
3570
3816
  {
3571
3817
  role: "group",
3572
3818
  "data-slot": "input-group-addon",
3573
3819
  "data-align": align,
3574
- className: cn19(inputGroupAddonVariants({ align }), className),
3820
+ className: cn20(inputGroupAddonVariants({ align }), className),
3575
3821
  onClick: (e) => {
3576
3822
  if (e.target.closest("button")) {
3577
3823
  return;
@@ -3600,17 +3846,17 @@ var inputGroupButtonVariants = cva13(
3600
3846
  );
3601
3847
 
3602
3848
  // src/primitives/command.tsx
3603
- import { SearchIcon, CheckIcon as CheckIcon3 } from "lucide-react";
3604
- import { jsx as jsx40, jsxs as jsxs20 } from "react/jsx-runtime";
3849
+ import { SearchIcon, CheckIcon as CheckIcon4 } from "lucide-react";
3850
+ import { jsx as jsx42, jsxs as jsxs20 } from "react/jsx-runtime";
3605
3851
  function Command({
3606
3852
  className,
3607
3853
  ...props
3608
3854
  }) {
3609
- return /* @__PURE__ */ jsx40(
3855
+ return /* @__PURE__ */ jsx42(
3610
3856
  CommandPrimitive,
3611
3857
  {
3612
3858
  "data-slot": "command",
3613
- className: cn20(
3859
+ className: cn21(
3614
3860
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
3615
3861
  className
3616
3862
  ),
@@ -3622,30 +3868,30 @@ function CommandInput({
3622
3868
  className,
3623
3869
  ...props
3624
3870
  }) {
3625
- return /* @__PURE__ */ jsx40("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: [
3626
- /* @__PURE__ */ jsx40(
3871
+ return /* @__PURE__ */ jsx42("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: [
3872
+ /* @__PURE__ */ jsx42(
3627
3873
  CommandPrimitive.Input,
3628
3874
  {
3629
3875
  "data-slot": "command-input",
3630
- className: cn20(
3876
+ className: cn21(
3631
3877
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
3632
3878
  className
3633
3879
  ),
3634
3880
  ...props
3635
3881
  }
3636
3882
  ),
3637
- /* @__PURE__ */ jsx40(InputGroupAddon, { children: /* @__PURE__ */ jsx40(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
3883
+ /* @__PURE__ */ jsx42(InputGroupAddon, { children: /* @__PURE__ */ jsx42(SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
3638
3884
  ] }) });
3639
3885
  }
3640
3886
  function CommandList({
3641
3887
  className,
3642
3888
  ...props
3643
3889
  }) {
3644
- return /* @__PURE__ */ jsx40(
3890
+ return /* @__PURE__ */ jsx42(
3645
3891
  CommandPrimitive.List,
3646
3892
  {
3647
3893
  "data-slot": "command-list",
3648
- className: cn20(
3894
+ className: cn21(
3649
3895
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
3650
3896
  className
3651
3897
  ),
@@ -3657,11 +3903,11 @@ function CommandEmpty({
3657
3903
  className,
3658
3904
  ...props
3659
3905
  }) {
3660
- return /* @__PURE__ */ jsx40(
3906
+ return /* @__PURE__ */ jsx42(
3661
3907
  CommandPrimitive.Empty,
3662
3908
  {
3663
3909
  "data-slot": "command-empty",
3664
- className: cn20("py-6 text-center text-sm", className),
3910
+ className: cn21("py-6 text-center text-sm", className),
3665
3911
  ...props
3666
3912
  }
3667
3913
  );
@@ -3670,11 +3916,11 @@ function CommandGroup({
3670
3916
  className,
3671
3917
  ...props
3672
3918
  }) {
3673
- return /* @__PURE__ */ jsx40(
3919
+ return /* @__PURE__ */ jsx42(
3674
3920
  CommandPrimitive.Group,
3675
3921
  {
3676
3922
  "data-slot": "command-group",
3677
- className: cn20(
3923
+ className: cn21(
3678
3924
  "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",
3679
3925
  className
3680
3926
  ),
@@ -3691,14 +3937,14 @@ function CommandItem({
3691
3937
  CommandPrimitive.Item,
3692
3938
  {
3693
3939
  "data-slot": "command-item",
3694
- className: cn20(
3940
+ className: cn21(
3695
3941
  "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",
3696
3942
  className
3697
3943
  ),
3698
3944
  ...props,
3699
3945
  children: [
3700
3946
  children,
3701
- /* @__PURE__ */ jsx40(CheckIcon3, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
3947
+ /* @__PURE__ */ jsx42(CheckIcon4, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
3702
3948
  ]
3703
3949
  }
3704
3950
  );
@@ -3846,8 +4092,8 @@ var isEUCountry = (countryCode) => {
3846
4092
  };
3847
4093
 
3848
4094
  // src/components/country-select/CountrySelect.tsx
3849
- import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
3850
- var CountrySelect = React21.forwardRef(
4095
+ import { Fragment as Fragment2, jsx as jsx43, jsxs as jsxs21 } from "react/jsx-runtime";
4096
+ var CountrySelect = React22.forwardRef(
3851
4097
  ({
3852
4098
  value,
3853
4099
  onValueChange,
@@ -3857,14 +4103,14 @@ var CountrySelect = React21.forwardRef(
3857
4103
  align = "center",
3858
4104
  sideOffset = 4
3859
4105
  }, ref) => {
3860
- const [open, setOpen] = React21.useState(false);
3861
- const selectedCountry = React21.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4106
+ const [open, setOpen] = React22.useState(false);
4107
+ const selectedCountry = React22.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
3862
4108
  return /* @__PURE__ */ jsxs21(Popover, { open, onOpenChange: setOpen, children: [
3863
4109
  /* @__PURE__ */ jsxs21(
3864
4110
  PopoverTrigger,
3865
4111
  {
3866
4112
  ref,
3867
- render: /* @__PURE__ */ jsx41(
4113
+ render: /* @__PURE__ */ jsx43(
3868
4114
  "button",
3869
4115
  {
3870
4116
  type: "button",
@@ -3886,16 +4132,16 @@ var CountrySelect = React21.forwardRef(
3886
4132
  }
3887
4133
  ),
3888
4134
  children: [
3889
- /* @__PURE__ */ jsx41("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs21(Fragment3, { children: [
3890
- /* @__PURE__ */ jsx41("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
3891
- /* @__PURE__ */ jsx41("span", { className: "truncate", children: selectedCountry.name }),
4135
+ /* @__PURE__ */ jsx43("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ jsxs21(Fragment2, { children: [
4136
+ /* @__PURE__ */ jsx43("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4137
+ /* @__PURE__ */ jsx43("span", { className: "truncate", children: selectedCountry.name }),
3892
4138
  /* @__PURE__ */ jsxs21("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
3893
4139
  "(",
3894
4140
  selectedCountry.code,
3895
4141
  ")"
3896
4142
  ] })
3897
- ] }) : /* @__PURE__ */ jsxs21(Fragment3, { children: [
3898
- /* @__PURE__ */ jsx41(
4143
+ ] }) : /* @__PURE__ */ jsxs21(Fragment2, { children: [
4144
+ /* @__PURE__ */ jsx43(
3899
4145
  Icon,
3900
4146
  {
3901
4147
  icon: Globe,
@@ -3903,9 +4149,9 @@ var CountrySelect = React21.forwardRef(
3903
4149
  className: "flex-shrink-0 text-berget-muted-foreground"
3904
4150
  }
3905
4151
  ),
3906
- /* @__PURE__ */ jsx41("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4152
+ /* @__PURE__ */ jsx43("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
3907
4153
  ] }) }),
3908
- /* @__PURE__ */ jsx41(
4154
+ /* @__PURE__ */ jsx43(
3909
4155
  Icon,
3910
4156
  {
3911
4157
  icon: ChevronDown2,
@@ -3920,17 +4166,17 @@ var CountrySelect = React21.forwardRef(
3920
4166
  ]
3921
4167
  }
3922
4168
  ),
3923
- /* @__PURE__ */ jsx41(
4169
+ /* @__PURE__ */ jsx43(
3924
4170
  PopoverContent,
3925
4171
  {
3926
4172
  align,
3927
4173
  sideOffset,
3928
4174
  className: "w-[var(--radix-popover-trigger-width)] p-0",
3929
4175
  children: /* @__PURE__ */ jsxs21(Command, { children: [
3930
- /* @__PURE__ */ jsx41(CommandInput, { placeholder: "Search country..." }),
4176
+ /* @__PURE__ */ jsx43(CommandInput, { placeholder: "Search country..." }),
3931
4177
  /* @__PURE__ */ jsxs21(CommandList, { children: [
3932
- /* @__PURE__ */ jsx41(CommandEmpty, { children: "No countries found." }),
3933
- /* @__PURE__ */ jsx41(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs21(
4178
+ /* @__PURE__ */ jsx43(CommandEmpty, { children: "No countries found." }),
4179
+ /* @__PURE__ */ jsx43(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ jsxs21(
3934
4180
  CommandItem,
3935
4181
  {
3936
4182
  value: `${country.name} ${country.code}`,
@@ -3944,12 +4190,12 @@ var CountrySelect = React21.forwardRef(
3944
4190
  value === country.code && "bg-berget-brand-granite-800/40"
3945
4191
  ),
3946
4192
  children: [
3947
- /* @__PURE__ */ jsx41("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4193
+ /* @__PURE__ */ jsx43("span", { className: "text-xl flex-shrink-0", children: country.flag }),
3948
4194
  /* @__PURE__ */ jsxs21("div", { className: "flex-1 min-w-0", children: [
3949
- /* @__PURE__ */ jsx41("div", { className: "text-sm truncate", children: country.name }),
3950
- /* @__PURE__ */ jsx41("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4195
+ /* @__PURE__ */ jsx43("div", { className: "text-sm truncate", children: country.name }),
4196
+ /* @__PURE__ */ jsx43("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
3951
4197
  ] }),
3952
- value === country.code && /* @__PURE__ */ jsx41("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4198
+ value === country.code && /* @__PURE__ */ jsx43("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
3953
4199
  ]
3954
4200
  },
3955
4201
  country.code
@@ -3964,14 +4210,14 @@ var CountrySelect = React21.forwardRef(
3964
4210
  CountrySelect.displayName = "CountrySelect";
3965
4211
 
3966
4212
  // src/primitives/label.tsx
3967
- import { cn as cn21 } from "cn";
3968
- import { jsx as jsx42 } from "react/jsx-runtime";
4213
+ import { cn as cn22 } from "cn";
4214
+ import { jsx as jsx44 } from "react/jsx-runtime";
3969
4215
  function Label({ className, ...props }) {
3970
- return /* @__PURE__ */ jsx42(
4216
+ return /* @__PURE__ */ jsx44(
3971
4217
  "label",
3972
4218
  {
3973
4219
  "data-slot": "label",
3974
- className: cn21(
4220
+ className: cn22(
3975
4221
  "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",
3976
4222
  className
3977
4223
  ),
@@ -3983,14 +4229,14 @@ function Label({ className, ...props }) {
3983
4229
  // src/primitives/field.tsx
3984
4230
  import { useMemo as useMemo4 } from "react";
3985
4231
  import { cva as cva14 } from "class-variance-authority";
3986
- import { cn as cn22 } from "cn";
3987
- import { jsx as jsx43, jsxs as jsxs22 } from "react/jsx-runtime";
4232
+ import { cn as cn23 } from "cn";
4233
+ import { jsx as jsx45, jsxs as jsxs22 } from "react/jsx-runtime";
3988
4234
  function FieldSet({ className, ...props }) {
3989
- return /* @__PURE__ */ jsx43(
4235
+ return /* @__PURE__ */ jsx45(
3990
4236
  "fieldset",
3991
4237
  {
3992
4238
  "data-slot": "field-set",
3993
- className: cn22(
4239
+ className: cn23(
3994
4240
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
3995
4241
  className
3996
4242
  ),
@@ -4003,12 +4249,12 @@ function FieldLegend({
4003
4249
  variant = "legend",
4004
4250
  ...props
4005
4251
  }) {
4006
- return /* @__PURE__ */ jsx43(
4252
+ return /* @__PURE__ */ jsx45(
4007
4253
  "legend",
4008
4254
  {
4009
4255
  "data-slot": "field-legend",
4010
4256
  "data-variant": variant,
4011
- className: cn22(
4257
+ className: cn23(
4012
4258
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4013
4259
  className
4014
4260
  ),
@@ -4017,11 +4263,11 @@ function FieldLegend({
4017
4263
  );
4018
4264
  }
4019
4265
  function FieldGroup({ className, ...props }) {
4020
- return /* @__PURE__ */ jsx43(
4266
+ return /* @__PURE__ */ jsx45(
4021
4267
  "div",
4022
4268
  {
4023
4269
  "data-slot": "field-group",
4024
- className: cn22(
4270
+ className: cn23(
4025
4271
  "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",
4026
4272
  className
4027
4273
  ),
@@ -4049,23 +4295,23 @@ function Field({
4049
4295
  orientation = "vertical",
4050
4296
  ...props
4051
4297
  }) {
4052
- return /* @__PURE__ */ jsx43(
4298
+ return /* @__PURE__ */ jsx45(
4053
4299
  "div",
4054
4300
  {
4055
4301
  role: "group",
4056
4302
  "data-slot": "field",
4057
4303
  "data-orientation": orientation,
4058
- className: cn22(fieldVariants({ orientation }), className),
4304
+ className: cn23(fieldVariants({ orientation }), className),
4059
4305
  ...props
4060
4306
  }
4061
4307
  );
4062
4308
  }
4063
4309
  function FieldContent({ className, ...props }) {
4064
- return /* @__PURE__ */ jsx43(
4310
+ return /* @__PURE__ */ jsx45(
4065
4311
  "div",
4066
4312
  {
4067
4313
  "data-slot": "field-content",
4068
- className: cn22(
4314
+ className: cn23(
4069
4315
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4070
4316
  className
4071
4317
  ),
@@ -4077,11 +4323,11 @@ function FieldLabel({
4077
4323
  className,
4078
4324
  ...props
4079
4325
  }) {
4080
- return /* @__PURE__ */ jsx43(
4326
+ return /* @__PURE__ */ jsx45(
4081
4327
  Label,
4082
4328
  {
4083
4329
  "data-slot": "field-label",
4084
- className: cn22(
4330
+ className: cn23(
4085
4331
  "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",
4086
4332
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4087
4333
  className
@@ -4091,11 +4337,11 @@ function FieldLabel({
4091
4337
  );
4092
4338
  }
4093
4339
  function FieldTitle({ className, ...props }) {
4094
- return /* @__PURE__ */ jsx43(
4340
+ return /* @__PURE__ */ jsx45(
4095
4341
  "div",
4096
4342
  {
4097
4343
  "data-slot": "field-label",
4098
- className: cn22(
4344
+ className: cn23(
4099
4345
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4100
4346
  className
4101
4347
  ),
@@ -4104,11 +4350,11 @@ function FieldTitle({ className, ...props }) {
4104
4350
  );
4105
4351
  }
4106
4352
  function FieldDescription({ className, ...props }) {
4107
- return /* @__PURE__ */ jsx43(
4353
+ return /* @__PURE__ */ jsx45(
4108
4354
  "p",
4109
4355
  {
4110
4356
  "data-slot": "field-description",
4111
- className: cn22(
4357
+ className: cn23(
4112
4358
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4113
4359
  "last:mt-0 nth-last-2:-mt-1",
4114
4360
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4128,14 +4374,14 @@ function FieldSeparator({
4128
4374
  {
4129
4375
  "data-slot": "field-separator",
4130
4376
  "data-content": !!children,
4131
- className: cn22(
4377
+ className: cn23(
4132
4378
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4133
4379
  className
4134
4380
  ),
4135
4381
  ...props,
4136
4382
  children: [
4137
- /* @__PURE__ */ jsx43(Separator, { className: "absolute inset-0 top-1/2" }),
4138
- children && /* @__PURE__ */ jsx43(
4383
+ /* @__PURE__ */ jsx45(Separator, { className: "absolute inset-0 top-1/2" }),
4384
+ children && /* @__PURE__ */ jsx45(
4139
4385
  "span",
4140
4386
  {
4141
4387
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4166,19 +4412,19 @@ function FieldError({
4166
4412
  if (uniqueErrors?.length == 1) {
4167
4413
  return uniqueErrors[0]?.message;
4168
4414
  }
4169
- return /* @__PURE__ */ jsx43("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4170
- (error, index) => error?.message && /* @__PURE__ */ jsx43("li", { children: error.message }, index)
4415
+ return /* @__PURE__ */ jsx45("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4416
+ (error, index) => error?.message && /* @__PURE__ */ jsx45("li", { children: error.message }, index)
4171
4417
  ) });
4172
4418
  }, [children, errors]);
4173
4419
  if (!content) {
4174
4420
  return null;
4175
4421
  }
4176
- return /* @__PURE__ */ jsx43(
4422
+ return /* @__PURE__ */ jsx45(
4177
4423
  "div",
4178
4424
  {
4179
4425
  role: "alert",
4180
4426
  "data-slot": "field-error",
4181
- className: cn22("text-sm font-normal text-destructive", className),
4427
+ className: cn23("text-sm font-normal text-destructive", className),
4182
4428
  ...props,
4183
4429
  children: content
4184
4430
  }
@@ -4186,10 +4432,10 @@ function FieldError({
4186
4432
  }
4187
4433
 
4188
4434
  // src/components/link/Link.tsx
4189
- import * as React22 from "react";
4435
+ import * as React23 from "react";
4190
4436
  import { cva as cva15 } from "class-variance-authority";
4191
4437
  import { ExternalLink } from "lucide-react";
4192
- import { jsx as jsx44, jsxs as jsxs23 } from "react/jsx-runtime";
4438
+ import { jsx as jsx46, jsxs as jsxs23 } from "react/jsx-runtime";
4193
4439
  var linkVariants = cva15(
4194
4440
  "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",
4195
4441
  {
@@ -4214,7 +4460,7 @@ var linkVariants = cva15(
4214
4460
  }
4215
4461
  }
4216
4462
  );
4217
- var Link = React22.forwardRef(
4463
+ var Link = React23.forwardRef(
4218
4464
  ({
4219
4465
  className,
4220
4466
  variant,
@@ -4243,8 +4489,8 @@ var Link = React22.forwardRef(
4243
4489
  },
4244
4490
  children: [
4245
4491
  children,
4246
- icon && /* @__PURE__ */ jsx44("span", { className: "inline-flex items-center", children: icon }),
4247
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx44("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx44(Icon, { icon: ExternalLink, size: 16 }) })
4492
+ icon && /* @__PURE__ */ jsx46("span", { className: "inline-flex items-center", children: icon }),
4493
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ jsx46("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ jsx46(Icon, { icon: ExternalLink, size: 16 }) })
4248
4494
  ]
4249
4495
  }
4250
4496
  );
@@ -4253,7 +4499,7 @@ var Link = React22.forwardRef(
4253
4499
  Link.displayName = "Link";
4254
4500
 
4255
4501
  // src/components/container/Container.tsx
4256
- import * as React23 from "react";
4502
+ import * as React24 from "react";
4257
4503
  import { mergeProps as mergeProps3 } from "@base-ui/react/merge-props";
4258
4504
  import { useRender as useRender3 } from "@base-ui/react/use-render";
4259
4505
  import { cva as cva16 } from "class-variance-authority";
@@ -4278,7 +4524,7 @@ var containerVariants = cva16("w-full mx-auto", {
4278
4524
  padding: "md"
4279
4525
  }
4280
4526
  });
4281
- var Container = React23.forwardRef(
4527
+ var Container = React24.forwardRef(
4282
4528
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4283
4529
  return useRender3({
4284
4530
  ref,
@@ -4297,7 +4543,7 @@ var Container = React23.forwardRef(
4297
4543
  Container.displayName = "Container";
4298
4544
 
4299
4545
  // src/components/grid/Grid.tsx
4300
- import * as React24 from "react";
4546
+ import * as React25 from "react";
4301
4547
  import { cva as cva17 } from "class-variance-authority";
4302
4548
  import { mergeProps as mergeProps4 } from "@base-ui/react/merge-props";
4303
4549
  import { useRender as useRender4 } from "@base-ui/react/use-render";
@@ -4323,7 +4569,7 @@ var gridVariants = cva17("grid", {
4323
4569
  justify: "start"
4324
4570
  }
4325
4571
  });
4326
- var Grid = React24.forwardRef(
4572
+ var Grid = React25.forwardRef(
4327
4573
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4328
4574
  return useRender4({
4329
4575
  ref,
@@ -4350,7 +4596,7 @@ var Grid = React24.forwardRef(
4350
4596
  Grid.displayName = "Grid";
4351
4597
 
4352
4598
  // src/components/box/Box.tsx
4353
- import * as React25 from "react";
4599
+ import * as React26 from "react";
4354
4600
  import { cva as cva18 } from "class-variance-authority";
4355
4601
  import { mergeProps as mergeProps5 } from "@base-ui/react/merge-props";
4356
4602
  import { useRender as useRender5 } from "@base-ui/react/use-render";
@@ -4390,7 +4636,7 @@ var boxVariants = cva18("flex", {
4390
4636
  wrap: "nowrap"
4391
4637
  }
4392
4638
  });
4393
- var Box = React25.forwardRef(
4639
+ var Box = React26.forwardRef(
4394
4640
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
4395
4641
  return useRender5({
4396
4642
  ref,
@@ -4413,23 +4659,23 @@ var Box = React25.forwardRef(
4413
4659
  Box.displayName = "Box";
4414
4660
 
4415
4661
  // src/components/language-select/LanguageSelect.tsx
4416
- import * as React26 from "react";
4662
+ import * as React27 from "react";
4417
4663
  import { Globe as Globe2 } from "lucide-react";
4418
- import { jsx as jsx45, jsxs as jsxs24 } from "react/jsx-runtime";
4419
- var LanguageSelect = React26.forwardRef(
4664
+ import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
4665
+ var LanguageSelect = React27.forwardRef(
4420
4666
  ({ className, options, value, onValueChange }, ref) => {
4421
4667
  return /* @__PURE__ */ jsxs24(DropdownMenu, { children: [
4422
- /* @__PURE__ */ jsx45(DropdownMenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ jsxs24(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4423
- /* @__PURE__ */ jsx45("span", { className: "sr-only", children: "Select language" }),
4424
- /* @__PURE__ */ jsx45(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4668
+ /* @__PURE__ */ jsx47(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ jsxs24(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4669
+ /* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Select language" }),
4670
+ /* @__PURE__ */ jsx47(Icon, { icon: Globe2, size: 16, "aria-hidden": true })
4425
4671
  ] }) }),
4426
- /* @__PURE__ */ jsx45(DropdownMenuContent, { align: "start", children: /* @__PURE__ */ jsx45(
4672
+ /* @__PURE__ */ jsx47(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ jsx47(
4427
4673
  DropdownMenuRadioGroup,
4428
4674
  {
4429
4675
  value,
4430
4676
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
4431
- children: options.map((option) => /* @__PURE__ */ jsx45(
4432
- DropdownMenuRadioItem,
4677
+ children: options.map((option) => /* @__PURE__ */ jsx47(
4678
+ DropdownMenuRadioItem2,
4433
4679
  {
4434
4680
  value: option.value,
4435
4681
  disabled: option.disabled,
@@ -4446,12 +4692,12 @@ var LanguageSelect = React26.forwardRef(
4446
4692
  LanguageSelect.displayName = "LanguageSelect";
4447
4693
 
4448
4694
  // src/components/list/List.tsx
4449
- import * as React28 from "react";
4695
+ import * as React29 from "react";
4450
4696
 
4451
4697
  // src/components/divider/Divider.tsx
4452
- import * as React27 from "react";
4698
+ import * as React28 from "react";
4453
4699
  import { cva as cva19 } from "class-variance-authority";
4454
- import { jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
4700
+ import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
4455
4701
  var dividerVariants = cva19("", {
4456
4702
  variants: {
4457
4703
  variant: {
@@ -4472,7 +4718,7 @@ var dividerVariants = cva19("", {
4472
4718
  size: "thin"
4473
4719
  }
4474
4720
  });
4475
- var Divider = React27.forwardRef(
4721
+ var Divider = React28.forwardRef(
4476
4722
  ({
4477
4723
  className,
4478
4724
  orientation = "horizontal",
@@ -4484,15 +4730,15 @@ var Divider = React27.forwardRef(
4484
4730
  }, ref) => {
4485
4731
  if (label) {
4486
4732
  return /* @__PURE__ */ jsxs25("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4487
- labelPosition !== "right" && /* @__PURE__ */ jsx46(
4733
+ labelPosition !== "right" && /* @__PURE__ */ jsx48(
4488
4734
  Separator,
4489
4735
  {
4490
4736
  orientation: "horizontal",
4491
4737
  className: cn(dividerVariants({ variant, size }), "flex-1")
4492
4738
  }
4493
4739
  ),
4494
- /* @__PURE__ */ jsx46(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4495
- labelPosition !== "left" && /* @__PURE__ */ jsx46(
4740
+ /* @__PURE__ */ jsx48(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4741
+ labelPosition !== "left" && /* @__PURE__ */ jsx48(
4496
4742
  Separator,
4497
4743
  {
4498
4744
  orientation: "horizontal",
@@ -4501,7 +4747,7 @@ var Divider = React27.forwardRef(
4501
4747
  )
4502
4748
  ] });
4503
4749
  }
4504
- return /* @__PURE__ */ jsx46(
4750
+ return /* @__PURE__ */ jsx48(
4505
4751
  Separator,
4506
4752
  {
4507
4753
  ref,
@@ -4518,19 +4764,19 @@ var Divider = React27.forwardRef(
4518
4764
  Divider.displayName = "Divider";
4519
4765
 
4520
4766
  // src/components/list/List.tsx
4521
- import { Check as Check3 } from "lucide-react";
4522
- import { jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
4523
- var List = React28.forwardRef(
4767
+ import { Check as Check2 } from "lucide-react";
4768
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
4769
+ var List = React29.forwardRef(
4524
4770
  ({ className, children, ...props }, ref) => {
4525
- const childrenArray = React28.Children.toArray(children);
4526
- return /* @__PURE__ */ jsx47("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs26(React28.Fragment, { children: [
4771
+ const childrenArray = React29.Children.toArray(children);
4772
+ return /* @__PURE__ */ jsx49("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs26(React29.Fragment, { children: [
4527
4773
  child,
4528
- index < childrenArray.length - 1 && /* @__PURE__ */ jsx47(Divider, { variant: "subtle" })
4774
+ index < childrenArray.length - 1 && /* @__PURE__ */ jsx49(Divider, { variant: "subtle" })
4529
4775
  ] }, index)) });
4530
4776
  }
4531
4777
  );
4532
4778
  List.displayName = "List";
4533
- var ListItem = React28.forwardRef(
4779
+ var ListItem = React29.forwardRef(
4534
4780
  ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ jsxs26(
4535
4781
  "div",
4536
4782
  {
@@ -4542,15 +4788,15 @@ var ListItem = React28.forwardRef(
4542
4788
  ),
4543
4789
  ...props,
4544
4790
  children: [
4545
- icon && /* @__PURE__ */ jsx47("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4546
- /* @__PURE__ */ jsx47("div", { className: "flex-1 min-w-0", children })
4791
+ icon && /* @__PURE__ */ jsx49("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4792
+ /* @__PURE__ */ jsx49("div", { className: "flex-1 min-w-0", children })
4547
4793
  ]
4548
4794
  }
4549
4795
  )
4550
4796
  );
4551
4797
  ListItem.displayName = "ListItem";
4552
- var ListHeader = React28.forwardRef(
4553
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx47(
4798
+ var ListHeader = React29.forwardRef(
4799
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx49(
4554
4800
  "div",
4555
4801
  {
4556
4802
  ref,
@@ -4561,11 +4807,11 @@ var ListHeader = React28.forwardRef(
4561
4807
  )
4562
4808
  );
4563
4809
  ListHeader.displayName = "ListHeader";
4564
- var FeatureList = React28.forwardRef(
4810
+ var FeatureList = React29.forwardRef(
4565
4811
  ({ items, variant = "bullet", className, ...props }, ref) => {
4566
- return /* @__PURE__ */ jsx47("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: [
4567
- variant === "bullet" ? /* @__PURE__ */ jsx47("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx47("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx47(Icon, { icon: Check3, size: 24, className: "text-berget-logo-light" }) }),
4568
- /* @__PURE__ */ jsx47(Typography, { variant: "body", color: "muted", children: item })
4812
+ return /* @__PURE__ */ jsx49("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: [
4813
+ variant === "bullet" ? /* @__PURE__ */ jsx49("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ jsx49("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ jsx49(Icon, { icon: Check2, size: 24, className: "text-berget-logo-light" }) }),
4814
+ /* @__PURE__ */ jsx49(Typography, { variant: "body", color: "muted", children: item })
4569
4815
  ] }, index)) });
4570
4816
  }
4571
4817
  );
@@ -4573,8 +4819,8 @@ FeatureList.displayName = "FeatureList";
4573
4819
 
4574
4820
  // src/components/code-block/CodeBlock.tsx
4575
4821
  import { useState as useState5, useEffect as useEffect4, useCallback as useCallback4 } from "react";
4576
- import { Copy, Check as Check4 } from "lucide-react";
4577
- import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
4822
+ import { Copy, Check as Check3 } from "lucide-react";
4823
+ import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
4578
4824
  function CodeBlock({ code, language = "text", title, className }) {
4579
4825
  const [html, setHtml] = useState5(null);
4580
4826
  const [copied, setCopied] = useState5(false);
@@ -4590,13 +4836,13 @@ function CodeBlock({ code, language = "text", title, className }) {
4590
4836
  setCopied(true);
4591
4837
  setTimeout(() => setCopied(false), 2e3);
4592
4838
  }, [code]);
4593
- const copyButton = /* @__PURE__ */ jsx48(
4839
+ const copyButton = /* @__PURE__ */ jsx50(
4594
4840
  "button",
4595
4841
  {
4596
4842
  onClick: handleCopy,
4597
4843
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
4598
4844
  "aria-label": "Copy code",
4599
- children: copied ? /* @__PURE__ */ jsx48(Check4, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx48(Copy, { className: "w-3.5 h-3.5" })
4845
+ children: copied ? /* @__PURE__ */ jsx50(Check3, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx50(Copy, { className: "w-3.5 h-3.5" })
4600
4846
  }
4601
4847
  );
4602
4848
  return /* @__PURE__ */ jsxs27(
@@ -4607,25 +4853,25 @@ function CodeBlock({ code, language = "text", title, className }) {
4607
4853
  className
4608
4854
  ),
4609
4855
  children: [
4610
- title && /* @__PURE__ */ jsx48("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__ */ jsx48("span", { className: "text-berget-muted-foreground", children: title }) }),
4611
- /* @__PURE__ */ jsx48("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4612
- html ? /* @__PURE__ */ jsx48(
4856
+ title && /* @__PURE__ */ jsx50("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__ */ jsx50("span", { className: "text-berget-muted-foreground", children: title }) }),
4857
+ /* @__PURE__ */ jsx50("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4858
+ html ? /* @__PURE__ */ jsx50(
4613
4859
  "div",
4614
4860
  {
4615
4861
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
4616
4862
  dangerouslySetInnerHTML: { __html: html }
4617
4863
  }
4618
- ) : /* @__PURE__ */ jsx48("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx48("code", { children: code }) })
4864
+ ) : /* @__PURE__ */ jsx50("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ jsx50("code", { children: code }) })
4619
4865
  ]
4620
4866
  }
4621
4867
  );
4622
4868
  }
4623
4869
 
4624
4870
  // src/components/window-frame/WindowFrame.tsx
4625
- import * as React29 from "react";
4871
+ import * as React30 from "react";
4626
4872
  import { useState as useState6 } from "react";
4627
- import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
4628
- var WindowFrame = React29.forwardRef(
4873
+ import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
4874
+ var WindowFrame = React30.forwardRef(
4629
4875
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
4630
4876
  const [internalActive, setInternalActive] = useState6(tabs?.[0]?.id ?? "");
4631
4877
  const currentTab = activeTab ?? internalActive;
@@ -4648,11 +4894,11 @@ var WindowFrame = React29.forwardRef(
4648
4894
  children: [
4649
4895
  /* @__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: [
4650
4896
  /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
4651
- /* @__PURE__ */ jsx49("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
4652
- /* @__PURE__ */ jsx49("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
4653
- /* @__PURE__ */ jsx49("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
4897
+ /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
4898
+ /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
4899
+ /* @__PURE__ */ jsx51("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
4654
4900
  ] }),
4655
- tabs && tabs.length > 0 ? /* @__PURE__ */ jsx49("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx49(
4901
+ tabs && tabs.length > 0 ? /* @__PURE__ */ jsx51("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ jsx51(
4656
4902
  "button",
4657
4903
  {
4658
4904
  type: "button",
@@ -4664,9 +4910,9 @@ var WindowFrame = React29.forwardRef(
4664
4910
  children: tab.label
4665
4911
  },
4666
4912
  tab.id
4667
- )) }) : /* @__PURE__ */ jsx49("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4913
+ )) }) : /* @__PURE__ */ jsx51("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4668
4914
  ] }),
4669
- /* @__PURE__ */ jsx49("div", { children })
4915
+ /* @__PURE__ */ jsx51("div", { children })
4670
4916
  ]
4671
4917
  }
4672
4918
  );
@@ -4676,7 +4922,7 @@ WindowFrame.displayName = "WindowFrame";
4676
4922
 
4677
4923
  // src/components/fog-illustration/FogIllustration.tsx
4678
4924
  import { useEffect as useEffect5, useRef } from "react";
4679
- import { jsx as jsx50 } from "react/jsx-runtime";
4925
+ import { jsx as jsx52 } from "react/jsx-runtime";
4680
4926
  var FOG_BRAND_PALETTE = {
4681
4927
  ink: "#171a1a",
4682
4928
  milk: "#f7f5ed",
@@ -4989,7 +5235,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
4989
5235
  gl.deleteFramebuffer(fbo);
4990
5236
  };
4991
5237
  }, []);
4992
- return /* @__PURE__ */ jsx50("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5238
+ return /* @__PURE__ */ jsx52("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
4993
5239
  };
4994
5240
  export {
4995
5241
  Alert2 as Alert,
@@ -5033,20 +5279,20 @@ export {
5033
5279
  DialogTitle,
5034
5280
  DialogTrigger,
5035
5281
  DropdownMenu,
5036
- DropdownMenuCheckboxItem,
5037
- DropdownMenuContent,
5282
+ DropdownMenuCheckboxItem2 as DropdownMenuCheckboxItem,
5283
+ DropdownMenuContent2 as DropdownMenuContent,
5038
5284
  DropdownMenuGroup,
5039
- DropdownMenuItem,
5040
- DropdownMenuLabel,
5285
+ DropdownMenuItem2 as DropdownMenuItem,
5286
+ DropdownMenuLabel2 as DropdownMenuLabel,
5041
5287
  DropdownMenuPortal,
5042
5288
  DropdownMenuRadioGroup,
5043
- DropdownMenuRadioItem,
5044
- DropdownMenuSeparator,
5045
- DropdownMenuShortcut,
5289
+ DropdownMenuRadioItem2 as DropdownMenuRadioItem,
5290
+ DropdownMenuSeparator2 as DropdownMenuSeparator,
5291
+ DropdownMenuShortcut2 as DropdownMenuShortcut,
5046
5292
  DropdownMenuSub,
5047
- DropdownMenuSubContent,
5048
- DropdownMenuSubTrigger,
5049
- DropdownMenuTrigger,
5293
+ DropdownMenuSubContent2 as DropdownMenuSubContent,
5294
+ DropdownMenuSubTrigger2 as DropdownMenuSubTrigger,
5295
+ DropdownMenuTrigger2 as DropdownMenuTrigger,
5050
5296
  EU_COUNTRY_CODES,
5051
5297
  FOG_BRAND_PALETTE,
5052
5298
  FeatureList,
@@ -5138,6 +5384,10 @@ export {
5138
5384
  Textarea,
5139
5385
  ThemeProvider,
5140
5386
  ThemeToggle,
5387
+ Tooltip,
5388
+ TooltipContent2 as TooltipContent,
5389
+ TooltipProvider,
5390
+ TooltipTrigger2 as TooltipTrigger,
5141
5391
  Typography,
5142
5392
  WindowFrame,
5143
5393
  alertVariants2 as alertVariants,