@bergetai/ui 0.13.1 → 0.13.3

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