@bergetai/ui 0.13.0 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -71,20 +71,20 @@ __export(src_exports, {
71
71
  DialogTitle: () => DialogTitle,
72
72
  DialogTrigger: () => DialogTrigger,
73
73
  DropdownMenu: () => DropdownMenu,
74
- DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
75
- DropdownMenuContent: () => DropdownMenuContent,
74
+ DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem2,
75
+ DropdownMenuContent: () => DropdownMenuContent2,
76
76
  DropdownMenuGroup: () => DropdownMenuGroup,
77
- DropdownMenuItem: () => DropdownMenuItem,
78
- DropdownMenuLabel: () => DropdownMenuLabel,
77
+ DropdownMenuItem: () => DropdownMenuItem2,
78
+ DropdownMenuLabel: () => DropdownMenuLabel2,
79
79
  DropdownMenuPortal: () => DropdownMenuPortal,
80
80
  DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
81
- DropdownMenuRadioItem: () => DropdownMenuRadioItem,
82
- DropdownMenuSeparator: () => DropdownMenuSeparator,
83
- DropdownMenuShortcut: () => DropdownMenuShortcut,
81
+ DropdownMenuRadioItem: () => DropdownMenuRadioItem2,
82
+ DropdownMenuSeparator: () => DropdownMenuSeparator2,
83
+ DropdownMenuShortcut: () => DropdownMenuShortcut2,
84
84
  DropdownMenuSub: () => DropdownMenuSub,
85
- DropdownMenuSubContent: () => DropdownMenuSubContent,
86
- DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
87
- DropdownMenuTrigger: () => DropdownMenuTrigger,
85
+ DropdownMenuSubContent: () => DropdownMenuSubContent2,
86
+ DropdownMenuSubTrigger: () => DropdownMenuSubTrigger2,
87
+ DropdownMenuTrigger: () => DropdownMenuTrigger2,
88
88
  EU_COUNTRY_CODES: () => EU_COUNTRY_CODES,
89
89
  FOG_BRAND_PALETTE: () => FOG_BRAND_PALETTE,
90
90
  FeatureList: () => FeatureList,
@@ -176,6 +176,10 @@ __export(src_exports, {
176
176
  Textarea: () => Textarea,
177
177
  ThemeProvider: () => ThemeProvider,
178
178
  ThemeToggle: () => ThemeToggle,
179
+ Tooltip: () => Tooltip,
180
+ TooltipContent: () => TooltipContent2,
181
+ TooltipProvider: () => TooltipProvider,
182
+ TooltipTrigger: () => TooltipTrigger2,
179
183
  Typography: () => Typography,
180
184
  WindowFrame: () => WindowFrame,
181
185
  alertVariants: () => alertVariants2,
@@ -795,31 +799,25 @@ function CardFooter({ className, ...props }) {
795
799
 
796
800
  // src/components/card/Card.tsx
797
801
  var import_jsx_runtime7 = require("react/jsx-runtime");
798
- var cardVariants = (0, import_class_variance_authority3.cva)("rounded-berget-xs ring-0", {
802
+ var cardVariants = (0, import_class_variance_authority3.cva)("ring-0", {
799
803
  variants: {
800
804
  variant: {
801
805
  outlined: "bg-transparent border border-berget-border-subtle",
802
806
  filled: "bg-berget-card-filled-bg border border-berget-border-subtle"
803
- },
804
- padding: {
805
- none: "p-0",
806
- sm: "p-3 sm:p-4",
807
- md: "p-4 sm:p-6",
808
- lg: "p-6 sm:p-8"
809
807
  }
810
808
  },
811
809
  defaultVariants: {
812
- variant: "outlined",
813
- padding: "md"
810
+ variant: "outlined"
814
811
  }
815
812
  });
816
813
  var Card2 = React5.forwardRef(
817
- ({ className, variant, padding, children, ...props }, ref) => {
814
+ ({ className, variant, size, children, ...props }, ref) => {
818
815
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
819
816
  Card,
820
817
  {
821
818
  ref,
822
- className: cn(cardVariants({ variant, padding }), className),
819
+ size,
820
+ className: cn(cardVariants({ variant }), className),
823
821
  ...props,
824
822
  children
825
823
  }
@@ -1134,7 +1132,6 @@ var ModelCard = React9.forwardRef(
1134
1132
  Card2,
1135
1133
  {
1136
1134
  variant: "filled",
1137
- padding: "none",
1138
1135
  className: "relative flex h-full flex-col bg-berget-card-filled-bg p-5 transition-all hover:bg-[color-mix(in_oklab,var(--berget-brand-granite-100)_5%,var(--berget-card-filled-bg))] sm:p-6",
1139
1136
  children: [
1140
1137
  lifecycle && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute top-0 right-0 z-10 overflow-hidden rounded-bl-berget-sm", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
@@ -1462,168 +1459,460 @@ AlertDialogCancel.displayName = "AlertDialogCancel";
1462
1459
 
1463
1460
  // src/components/dropdown-menu/DropdownMenu.tsx
1464
1461
  var React13 = __toESM(require("react"), 1);
1462
+
1463
+ // src/primitives/dropdown-menu.tsx
1465
1464
  var import_menu = require("@base-ui/react/menu");
1465
+ var import_cn4 = require("cn");
1466
1466
  var import_lucide_react3 = require("lucide-react");
1467
1467
  var import_jsx_runtime16 = require("react/jsx-runtime");
1468
- var DropdownMenu = import_menu.Menu.Root;
1469
- var DropdownMenuTrigger = React13.forwardRef(
1470
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1471
- );
1472
- DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
1473
- var DropdownMenuGroup = import_menu.Menu.Group;
1474
- var DropdownMenuPortal = import_menu.Menu.Portal;
1475
- var DropdownMenuSub = import_menu.Menu.SubmenuRoot;
1476
- var DropdownMenuRadioGroup = import_menu.Menu.RadioGroup;
1477
- var DropdownMenuSubTrigger = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1478
- import_menu.Menu.SubmenuTrigger,
1479
- {
1480
- ref,
1481
- className: cn(
1482
- "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",
1483
- inset && "pl-8",
1484
- className
1485
- ),
1486
- render: asChildRender(asChild, children),
1487
- ...props,
1488
- children: asChild ? void 0 : /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
1489
- children,
1490
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronRight, { className: "ml-auto" })
1491
- ] })
1492
- }
1493
- ));
1494
- DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
1495
- var DropdownMenuSubContent = React13.forwardRef(
1496
- ({ className, side = "right", align = "start", alignOffset = -3, sideOffset = 0, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1468
+ function DropdownMenu({ ...props }) {
1469
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1470
+ }
1471
+ function DropdownMenuPortal({ ...props }) {
1472
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1473
+ }
1474
+ function DropdownMenuTrigger({ ...props }) {
1475
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1476
+ }
1477
+ function DropdownMenuContent({
1478
+ align = "start",
1479
+ alignOffset = 0,
1480
+ side = "bottom",
1481
+ sideOffset = 4,
1482
+ className,
1483
+ ...props
1484
+ }) {
1485
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1497
1486
  import_menu.Menu.Positioner,
1498
1487
  {
1499
- side,
1488
+ className: "isolate z-50 outline-none",
1500
1489
  align,
1501
1490
  alignOffset,
1491
+ side,
1502
1492
  sideOffset,
1503
- className: "isolate z-50 outline-none",
1504
1493
  children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1505
1494
  import_menu.Menu.Popup,
1506
1495
  {
1507
- ref,
1508
- className: cn(
1509
- "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]",
1510
- className
1511
- ),
1496
+ "data-slot": "dropdown-menu-content",
1497
+ className: (0, import_cn4.cn)("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),
1512
1498
  ...props
1513
1499
  }
1514
1500
  )
1515
1501
  }
1516
- ) })
1517
- );
1518
- DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
1519
- var DropdownMenuContent = React13.forwardRef(({ className, sideOffset = 4, align = "center", side, alignOffset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1520
- import_menu.Menu.Positioner,
1521
- {
1522
- side,
1523
- align,
1524
- alignOffset,
1525
- sideOffset,
1526
- className: "isolate z-50 outline-none",
1527
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1528
- import_menu.Menu.Popup,
1529
- {
1530
- ref,
1531
- className: cn(
1532
- "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]",
1533
- className
1502
+ ) });
1503
+ }
1504
+ function DropdownMenuGroup({ ...props }) {
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1506
+ }
1507
+ function DropdownMenuLabel({
1508
+ className,
1509
+ inset,
1510
+ ...props
1511
+ }) {
1512
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1513
+ import_menu.Menu.GroupLabel,
1514
+ {
1515
+ "data-slot": "dropdown-menu-label",
1516
+ "data-inset": inset,
1517
+ className: (0, import_cn4.cn)(
1518
+ "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1519
+ className
1520
+ ),
1521
+ ...props
1522
+ }
1523
+ );
1524
+ }
1525
+ function DropdownMenuItem({
1526
+ className,
1527
+ inset,
1528
+ variant = "default",
1529
+ ...props
1530
+ }) {
1531
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1532
+ import_menu.Menu.Item,
1533
+ {
1534
+ "data-slot": "dropdown-menu-item",
1535
+ "data-inset": inset,
1536
+ "data-variant": variant,
1537
+ className: (0, import_cn4.cn)(
1538
+ "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",
1539
+ className
1540
+ ),
1541
+ ...props
1542
+ }
1543
+ );
1544
+ }
1545
+ function DropdownMenuSub({ ...props }) {
1546
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1547
+ }
1548
+ function DropdownMenuSubTrigger({
1549
+ className,
1550
+ inset,
1551
+ children,
1552
+ ...props
1553
+ }) {
1554
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1555
+ import_menu.Menu.SubmenuTrigger,
1556
+ {
1557
+ "data-slot": "dropdown-menu-sub-trigger",
1558
+ "data-inset": inset,
1559
+ className: (0, import_cn4.cn)(
1560
+ "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",
1561
+ className
1562
+ ),
1563
+ ...props,
1564
+ children: [
1565
+ children,
1566
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1567
+ ]
1568
+ }
1569
+ );
1570
+ }
1571
+ function DropdownMenuSubContent({
1572
+ align = "start",
1573
+ alignOffset = -3,
1574
+ side = "right",
1575
+ sideOffset = 0,
1576
+ className,
1577
+ ...props
1578
+ }) {
1579
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1580
+ DropdownMenuContent,
1581
+ {
1582
+ "data-slot": "dropdown-menu-sub-content",
1583
+ className: (0, import_cn4.cn)("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),
1584
+ align,
1585
+ alignOffset,
1586
+ side,
1587
+ sideOffset,
1588
+ ...props
1589
+ }
1590
+ );
1591
+ }
1592
+ function DropdownMenuCheckboxItem({
1593
+ className,
1594
+ children,
1595
+ checked,
1596
+ inset,
1597
+ ...props
1598
+ }) {
1599
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1600
+ import_menu.Menu.CheckboxItem,
1601
+ {
1602
+ "data-slot": "dropdown-menu-checkbox-item",
1603
+ "data-inset": inset,
1604
+ className: (0, import_cn4.cn)(
1605
+ "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",
1606
+ className
1607
+ ),
1608
+ checked,
1609
+ ...props,
1610
+ children: [
1611
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1612
+ "span",
1613
+ {
1614
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1615
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
1616
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1617
+ import_lucide_react3.CheckIcon,
1618
+ {}
1619
+ ) })
1620
+ }
1534
1621
  ),
1535
- ...props
1536
- }
1537
- )
1538
- }
1539
- ) }));
1540
- DropdownMenuContent.displayName = "DropdownMenuContent";
1541
- var DropdownMenuItem = React13.forwardRef(({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1542
- import_menu.Menu.Item,
1543
- {
1544
- ref,
1545
- label: textValue,
1546
- className: cn(
1547
- "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",
1548
- inset && "pl-8",
1549
- className
1550
- ),
1551
- render: asChildRender(asChild, children),
1552
- ...props,
1553
- children: asChild ? void 0 : children
1554
- }
1555
- ));
1556
- DropdownMenuItem.displayName = "DropdownMenuItem";
1557
- var DropdownMenuCheckboxItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1558
- import_menu.Menu.CheckboxItem,
1559
- {
1560
- ref,
1561
- label: textValue,
1562
- className: cn(
1563
- "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",
1564
- className
1565
- ),
1566
- render: asChildRender(asChild, children),
1567
- ...props,
1568
- children: [
1569
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.Check, { className: "size-4" }) }) }),
1570
- asChild ? void 0 : children
1571
- ]
1572
- }
1573
- ));
1574
- DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
1575
- var DropdownMenuRadioItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1576
- import_menu.Menu.RadioItem,
1577
- {
1578
- ref,
1579
- label: textValue,
1580
- className: cn(
1581
- "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",
1582
- className
1583
- ),
1584
- render: asChildRender(asChild, children),
1585
- ...props,
1586
- children: [
1587
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.Circle, { className: "size-2 fill-current" }) }) }),
1588
- asChild ? void 0 : children
1589
- ]
1590
- }
1591
- ));
1592
- DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
1593
- var DropdownMenuLabel = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1594
- import_menu.Menu.GroupLabel,
1595
- {
1596
- ref,
1597
- className: cn(
1598
- "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1599
- inset && "pl-8",
1600
- className
1601
- ),
1602
- render: asChildRender(asChild, children),
1603
- ...props,
1604
- children: asChild ? void 0 : children
1605
- }
1606
- ));
1607
- DropdownMenuLabel.displayName = "DropdownMenuLabel";
1608
- var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1609
- import_menu.Menu.Separator,
1610
- {
1611
- ref,
1612
- className: cn("-mx-1 my-1 h-px bg-berget-separator", className),
1613
- ...props
1614
- }
1615
- ));
1616
- DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1617
- var DropdownMenuShortcut = ({ className, ...props }) => {
1622
+ children
1623
+ ]
1624
+ }
1625
+ );
1626
+ }
1627
+ function DropdownMenuRadioGroup({ ...props }) {
1628
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1629
+ import_menu.Menu.RadioGroup,
1630
+ {
1631
+ "data-slot": "dropdown-menu-radio-group",
1632
+ ...props
1633
+ }
1634
+ );
1635
+ }
1636
+ function DropdownMenuRadioItem({
1637
+ className,
1638
+ children,
1639
+ inset,
1640
+ ...props
1641
+ }) {
1642
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1643
+ import_menu.Menu.RadioItem,
1644
+ {
1645
+ "data-slot": "dropdown-menu-radio-item",
1646
+ "data-inset": inset,
1647
+ className: (0, import_cn4.cn)(
1648
+ "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",
1649
+ className
1650
+ ),
1651
+ ...props,
1652
+ children: [
1653
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1654
+ "span",
1655
+ {
1656
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1657
+ "data-slot": "dropdown-menu-radio-item-indicator",
1658
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1659
+ import_lucide_react3.CheckIcon,
1660
+ {}
1661
+ ) })
1662
+ }
1663
+ ),
1664
+ children
1665
+ ]
1666
+ }
1667
+ );
1668
+ }
1669
+ function DropdownMenuSeparator({
1670
+ className,
1671
+ ...props
1672
+ }) {
1673
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1674
+ import_menu.Menu.Separator,
1675
+ {
1676
+ "data-slot": "dropdown-menu-separator",
1677
+ className: (0, import_cn4.cn)("-mx-1 my-1 h-px bg-border", className),
1678
+ ...props
1679
+ }
1680
+ );
1681
+ }
1682
+ function DropdownMenuShortcut({
1683
+ className,
1684
+ ...props
1685
+ }) {
1618
1686
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1619
1687
  "span",
1620
1688
  {
1621
- className: cn("ml-auto text-xs tracking-widest text-berget-muted-foreground", className),
1689
+ "data-slot": "dropdown-menu-shortcut",
1690
+ className: (0, import_cn4.cn)(
1691
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1692
+ className
1693
+ ),
1694
+ ...props
1695
+ }
1696
+ );
1697
+ }
1698
+
1699
+ // src/components/dropdown-menu/DropdownMenu.tsx
1700
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1701
+ var DropdownMenuTrigger2 = React13.forwardRef(
1702
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1703
+ );
1704
+ DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1705
+ var DropdownMenuSubTrigger2 = React13.forwardRef(
1706
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1707
+ DropdownMenuSubTrigger,
1708
+ {
1709
+ ref,
1710
+ className: cn(
1711
+ // Berget density & radius; focus/accent styling comes from the primitive.
1712
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1713
+ inset && "pl-8",
1714
+ className
1715
+ ),
1716
+ render: asChildRender(asChild, children),
1717
+ ...props,
1718
+ children: asChild ? void 0 : children
1719
+ }
1720
+ )
1721
+ );
1722
+ DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1723
+ var DropdownMenuSubContent2 = React13.forwardRef(
1724
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1725
+ DropdownMenuSubContent,
1726
+ {
1727
+ ref,
1728
+ className: cn(
1729
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg",
1730
+ className
1731
+ ),
1732
+ ...props
1733
+ }
1734
+ )
1735
+ );
1736
+ DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1737
+ var DropdownMenuContent2 = React13.forwardRef(
1738
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1739
+ DropdownMenuContent,
1740
+ {
1741
+ ref,
1742
+ className: cn(
1743
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-md",
1744
+ className
1745
+ ),
1746
+ ...props
1747
+ }
1748
+ )
1749
+ );
1750
+ DropdownMenuContent2.displayName = "DropdownMenuContent";
1751
+ var DropdownMenuItem2 = React13.forwardRef(
1752
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1753
+ DropdownMenuItem,
1754
+ {
1755
+ ref,
1756
+ label: textValue,
1757
+ className: cn(
1758
+ // Berget density & radius; focus accent and destructive variant from the primitive.
1759
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1760
+ inset && "pl-8",
1761
+ className
1762
+ ),
1763
+ render: asChildRender(asChild, children),
1764
+ ...props,
1765
+ children: asChild ? void 0 : children
1766
+ }
1767
+ )
1768
+ );
1769
+ DropdownMenuItem2.displayName = "DropdownMenuItem";
1770
+ var DropdownMenuCheckboxItem2 = React13.forwardRef(
1771
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1772
+ DropdownMenuCheckboxItem,
1773
+ {
1774
+ ref,
1775
+ label: textValue,
1776
+ className: cn("rounded-berget-xs", className),
1777
+ render: asChildRender(asChild, children),
1778
+ ...props,
1779
+ children: asChild ? void 0 : children
1780
+ }
1781
+ )
1782
+ );
1783
+ DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1784
+ var DropdownMenuRadioItem2 = React13.forwardRef(
1785
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1786
+ DropdownMenuRadioItem,
1787
+ {
1788
+ ref,
1789
+ label: textValue,
1790
+ className: cn("rounded-berget-xs", className),
1791
+ render: asChildRender(asChild, children),
1792
+ ...props,
1793
+ children: asChild ? void 0 : children
1794
+ }
1795
+ )
1796
+ );
1797
+ DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1798
+ var DropdownMenuLabel2 = React13.forwardRef(
1799
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1800
+ DropdownMenuLabel,
1801
+ {
1802
+ ref,
1803
+ className: cn(
1804
+ "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1805
+ inset && "pl-8",
1806
+ className
1807
+ ),
1808
+ render: asChildRender(asChild, children),
1809
+ ...props,
1810
+ children: asChild ? void 0 : children
1811
+ }
1812
+ )
1813
+ );
1814
+ DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1815
+ var DropdownMenuSeparator2 = React13.forwardRef(
1816
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1817
+ DropdownMenuSeparator,
1818
+ {
1819
+ ref,
1820
+ className: cn("bg-berget-separator", className),
1821
+ ...props
1822
+ }
1823
+ )
1824
+ );
1825
+ DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1826
+ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1827
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1828
+ DropdownMenuShortcut,
1829
+ {
1830
+ className: cn("text-berget-muted-foreground", className),
1622
1831
  ...props
1623
1832
  }
1624
1833
  );
1625
1834
  };
1626
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1835
+ DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1836
+
1837
+ // src/components/tooltip/Tooltip.tsx
1838
+ var React14 = __toESM(require("react"), 1);
1839
+
1840
+ // src/primitives/tooltip.tsx
1841
+ var import_tooltip = require("@base-ui/react/tooltip");
1842
+ var import_cn5 = require("cn");
1843
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1844
+ function TooltipProvider({
1845
+ delay = 0,
1846
+ ...props
1847
+ }) {
1848
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1849
+ import_tooltip.Tooltip.Provider,
1850
+ {
1851
+ "data-slot": "tooltip-provider",
1852
+ delay,
1853
+ ...props
1854
+ }
1855
+ );
1856
+ }
1857
+ function Tooltip({ ...props }) {
1858
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1859
+ }
1860
+ function TooltipTrigger({ ...props }) {
1861
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1862
+ }
1863
+ function TooltipContent({
1864
+ className,
1865
+ side = "top",
1866
+ sideOffset = 4,
1867
+ align = "center",
1868
+ alignOffset = 0,
1869
+ children,
1870
+ ...props
1871
+ }) {
1872
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1873
+ import_tooltip.Tooltip.Positioner,
1874
+ {
1875
+ align,
1876
+ alignOffset,
1877
+ side,
1878
+ sideOffset,
1879
+ className: "isolate z-50",
1880
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1881
+ import_tooltip.Tooltip.Popup,
1882
+ {
1883
+ "data-slot": "tooltip-content",
1884
+ className: (0, import_cn5.cn)(
1885
+ "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",
1886
+ className
1887
+ ),
1888
+ ...props,
1889
+ children: [
1890
+ children,
1891
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.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" })
1892
+ ]
1893
+ }
1894
+ )
1895
+ }
1896
+ ) });
1897
+ }
1898
+
1899
+ // src/components/tooltip/Tooltip.tsx
1900
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1901
+ var TooltipTrigger2 = React14.forwardRef(
1902
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1903
+ );
1904
+ TooltipTrigger2.displayName = "TooltipTrigger";
1905
+ var TooltipContent2 = React14.forwardRef(
1906
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1907
+ TooltipContent,
1908
+ {
1909
+ ref,
1910
+ className: cn("rounded-berget-xs shadow-berget-md", className),
1911
+ ...props
1912
+ }
1913
+ )
1914
+ );
1915
+ TooltipContent2.displayName = "TooltipContent";
1627
1916
 
1628
1917
  // src/components/navigation-menu/NavigationMenu.tsx
1629
1918
  var import_navigation_menu2 = require("@base-ui/react/navigation-menu");
@@ -1633,18 +1922,18 @@ var import_lucide_react5 = require("lucide-react");
1633
1922
  // src/primitives/navigation-menu.tsx
1634
1923
  var import_navigation_menu = require("@base-ui/react/navigation-menu");
1635
1924
  var import_class_variance_authority7 = require("class-variance-authority");
1636
- var import_cn4 = require("cn");
1925
+ var import_cn6 = require("cn");
1637
1926
  var import_lucide_react4 = require("lucide-react");
1638
- var import_jsx_runtime17 = require("react/jsx-runtime");
1927
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1639
1928
  function NavigationMenuList({
1640
1929
  className,
1641
1930
  ...props
1642
1931
  }) {
1643
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1932
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1644
1933
  import_navigation_menu.NavigationMenu.List,
1645
1934
  {
1646
1935
  "data-slot": "navigation-menu-list",
1647
- className: (0, import_cn4.cn)(
1936
+ className: (0, import_cn6.cn)(
1648
1937
  "group flex flex-1 list-none items-center justify-center gap-0",
1649
1938
  className
1650
1939
  ),
@@ -1656,11 +1945,11 @@ function NavigationMenuItem({
1656
1945
  className,
1657
1946
  ...props
1658
1947
  }) {
1659
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1948
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1660
1949
  import_navigation_menu.NavigationMenu.Item,
1661
1950
  {
1662
1951
  "data-slot": "navigation-menu-item",
1663
- className: (0, import_cn4.cn)("relative", className),
1952
+ className: (0, import_cn6.cn)("relative", className),
1664
1953
  ...props
1665
1954
  }
1666
1955
  );
@@ -1672,11 +1961,11 @@ function NavigationMenuContent({
1672
1961
  className,
1673
1962
  ...props
1674
1963
  }) {
1675
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1964
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1676
1965
  import_navigation_menu.NavigationMenu.Content,
1677
1966
  {
1678
1967
  "data-slot": "navigation-menu-content",
1679
- className: (0, import_cn4.cn)(
1968
+ className: (0, import_cn6.cn)(
1680
1969
  "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",
1681
1970
  className
1682
1971
  ),
@@ -1688,29 +1977,29 @@ function NavigationMenuIndicator({
1688
1977
  className,
1689
1978
  ...props
1690
1979
  }) {
1691
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1980
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1692
1981
  import_navigation_menu.NavigationMenu.Icon,
1693
1982
  {
1694
1983
  "data-slot": "navigation-menu-indicator",
1695
- className: (0, import_cn4.cn)(
1984
+ className: (0, import_cn6.cn)(
1696
1985
  "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",
1697
1986
  className
1698
1987
  ),
1699
1988
  ...props,
1700
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1989
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1701
1990
  }
1702
1991
  );
1703
1992
  }
1704
1993
 
1705
1994
  // src/components/navigation-menu/NavigationMenu.tsx
1706
- var import_jsx_runtime18 = require("react/jsx-runtime");
1995
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1707
1996
  function NavigationMenu({
1708
1997
  align = "start",
1709
1998
  className,
1710
1999
  children,
1711
2000
  ...props
1712
2001
  }) {
1713
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2002
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1714
2003
  import_navigation_menu2.NavigationMenu.Root,
1715
2004
  {
1716
2005
  "data-slot": "navigation-menu",
@@ -1721,7 +2010,7 @@ function NavigationMenu({
1721
2010
  ...props,
1722
2011
  children: [
1723
2012
  children,
1724
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(NavigationMenuPositioner, { align })
2013
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(NavigationMenuPositioner, { align })
1725
2014
  ]
1726
2015
  }
1727
2016
  );
@@ -1734,7 +2023,7 @@ function NavigationMenuTrigger({
1734
2023
  children,
1735
2024
  ...props
1736
2025
  }) {
1737
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2026
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1738
2027
  import_navigation_menu2.NavigationMenu.Trigger,
1739
2028
  {
1740
2029
  "data-slot": "navigation-menu-trigger",
@@ -1743,7 +2032,7 @@ function NavigationMenuTrigger({
1743
2032
  children: [
1744
2033
  children,
1745
2034
  " ",
1746
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2035
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1747
2036
  import_lucide_react5.ChevronDown,
1748
2037
  {
1749
2038
  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",
@@ -1755,7 +2044,7 @@ function NavigationMenuTrigger({
1755
2044
  );
1756
2045
  }
1757
2046
  function NavigationMenuLink({ className, ...props }) {
1758
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2047
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1759
2048
  import_navigation_menu2.NavigationMenu.Link,
1760
2049
  {
1761
2050
  "data-slot": "navigation-menu-link",
@@ -1775,7 +2064,7 @@ function NavigationMenuPositioner({
1775
2064
  alignOffset = 0,
1776
2065
  ...props
1777
2066
  }) {
1778
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2067
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1779
2068
  import_navigation_menu2.NavigationMenu.Positioner,
1780
2069
  {
1781
2070
  side,
@@ -1787,24 +2076,24 @@ function NavigationMenuPositioner({
1787
2076
  className
1788
2077
  ),
1789
2078
  ...props,
1790
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.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__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
2079
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_navigation_menu2.NavigationMenu.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__ */ (0, import_jsx_runtime21.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
1791
2080
  }
1792
2081
  ) });
1793
2082
  }
1794
2083
 
1795
2084
  // src/primitives/sidebar.tsx
1796
- var React15 = __toESM(require("react"), 1);
2085
+ var React16 = __toESM(require("react"), 1);
1797
2086
  var import_merge_props = require("@base-ui/react/merge-props");
1798
2087
  var import_use_render = require("@base-ui/react/use-render");
1799
2088
  var import_class_variance_authority9 = require("class-variance-authority");
1800
- var import_cn10 = require("cn");
2089
+ var import_cn11 = require("cn");
1801
2090
 
1802
2091
  // src/hooks/use-mobile.tsx
1803
- var React14 = __toESM(require("react"), 1);
2092
+ var React15 = __toESM(require("react"), 1);
1804
2093
  var MOBILE_BREAKPOINT = 768;
1805
2094
  function useIsMobile() {
1806
- const [isMobile, setIsMobile] = React14.useState(void 0);
1807
- React14.useEffect(() => {
2095
+ const [isMobile, setIsMobile] = React15.useState(void 0);
2096
+ React15.useEffect(() => {
1808
2097
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1809
2098
  const onChange = () => {
1810
2099
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1818,16 +2107,16 @@ function useIsMobile() {
1818
2107
 
1819
2108
  // src/primitives/input.tsx
1820
2109
  var import_input = require("@base-ui/react/input");
1821
- var import_cn5 = require("cn");
1822
- var import_jsx_runtime19 = require("react/jsx-runtime");
2110
+ var import_cn7 = require("cn");
2111
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1823
2112
  function Input({ className, type, ...props }) {
1824
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2113
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1825
2114
  import_input.Input,
1826
2115
  {
1827
2116
  type,
1828
2117
  "data-slot": "input",
1829
- className: (0, import_cn5.cn)(
1830
- "h-8 w-full min-w-0 rounded-lg border border-input bg-berget-brand-granite-900 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-berget-brand-moss-400 focus-visible:ring-3 focus-visible:ring-berget-brand-moss-300/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",
2118
+ className: (0, import_cn7.cn)(
2119
+ "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",
1831
2120
  className
1832
2121
  ),
1833
2122
  ...props
@@ -1837,19 +2126,19 @@ function Input({ className, type, ...props }) {
1837
2126
 
1838
2127
  // src/primitives/separator.tsx
1839
2128
  var import_separator = require("@base-ui/react/separator");
1840
- var import_cn6 = require("cn");
1841
- var import_jsx_runtime20 = require("react/jsx-runtime");
2129
+ var import_cn8 = require("cn");
2130
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1842
2131
  function Separator({
1843
2132
  className,
1844
2133
  orientation = "horizontal",
1845
2134
  ...props
1846
2135
  }) {
1847
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2136
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1848
2137
  import_separator.Separator,
1849
2138
  {
1850
2139
  "data-slot": "separator",
1851
2140
  orientation,
1852
- className: (0, import_cn6.cn)(
2141
+ className: (0, import_cn8.cn)(
1853
2142
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
1854
2143
  className
1855
2144
  ),
@@ -1860,21 +2149,21 @@ function Separator({
1860
2149
 
1861
2150
  // src/primitives/sheet.tsx
1862
2151
  var import_dialog2 = require("@base-ui/react/dialog");
1863
- var import_cn7 = require("cn");
2152
+ var import_cn9 = require("cn");
1864
2153
  var import_lucide_react6 = require("lucide-react");
1865
- var import_jsx_runtime21 = require("react/jsx-runtime");
2154
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1866
2155
  function Sheet({ ...props }) {
1867
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2156
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
1868
2157
  }
1869
2158
  function SheetPortal({ ...props }) {
1870
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2159
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
1871
2160
  }
1872
2161
  function SheetOverlay({ className, ...props }) {
1873
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2162
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1874
2163
  import_dialog2.Dialog.Backdrop,
1875
2164
  {
1876
2165
  "data-slot": "sheet-overlay",
1877
- className: (0, import_cn7.cn)(
2166
+ className: (0, import_cn9.cn)(
1878
2167
  "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",
1879
2168
  className
1880
2169
  ),
@@ -1889,25 +2178,25 @@ function SheetContent({
1889
2178
  showCloseButton = true,
1890
2179
  ...props
1891
2180
  }) {
1892
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(SheetPortal, { children: [
1893
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SheetOverlay, {}),
1894
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2181
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetPortal, { children: [
2182
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetOverlay, {}),
2183
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1895
2184
  import_dialog2.Dialog.Popup,
1896
2185
  {
1897
2186
  "data-slot": "sheet-content",
1898
2187
  "data-side": side,
1899
- className: (0, import_cn7.cn)(
2188
+ className: (0, import_cn9.cn)(
1900
2189
  "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",
1901
2190
  className
1902
2191
  ),
1903
2192
  ...props,
1904
2193
  children: [
1905
2194
  children,
1906
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2195
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1907
2196
  import_dialog2.Dialog.Close,
1908
2197
  {
1909
2198
  "data-slot": "sheet-close",
1910
- render: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2199
+ render: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1911
2200
  Button,
1912
2201
  {
1913
2202
  variant: "ghost",
@@ -1916,11 +2205,11 @@ function SheetContent({
1916
2205
  }
1917
2206
  ),
1918
2207
  children: [
1919
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2208
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1920
2209
  import_lucide_react6.XIcon,
1921
2210
  {}
1922
2211
  ),
1923
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "sr-only", children: "Close" })
2212
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Close" })
1924
2213
  ]
1925
2214
  }
1926
2215
  )
@@ -1930,21 +2219,21 @@ function SheetContent({
1930
2219
  ] });
1931
2220
  }
1932
2221
  function SheetHeader({ className, ...props }) {
1933
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2222
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1934
2223
  "div",
1935
2224
  {
1936
2225
  "data-slot": "sheet-header",
1937
- className: (0, import_cn7.cn)("flex flex-col gap-0.5 p-4", className),
2226
+ className: (0, import_cn9.cn)("flex flex-col gap-0.5 p-4", className),
1938
2227
  ...props
1939
2228
  }
1940
2229
  );
1941
2230
  }
1942
2231
  function SheetTitle({ className, ...props }) {
1943
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2232
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1944
2233
  import_dialog2.Dialog.Title,
1945
2234
  {
1946
2235
  "data-slot": "sheet-title",
1947
- className: (0, import_cn7.cn)(
2236
+ className: (0, import_cn9.cn)(
1948
2237
  "text-base font-medium text-foreground",
1949
2238
  className
1950
2239
  ),
@@ -1956,88 +2245,42 @@ function SheetDescription({
1956
2245
  className,
1957
2246
  ...props
1958
2247
  }) {
1959
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1960
- import_dialog2.Dialog.Description,
1961
- {
1962
- "data-slot": "sheet-description",
1963
- className: (0, import_cn7.cn)("text-sm text-muted-foreground", className),
1964
- ...props
1965
- }
1966
- );
1967
- }
1968
-
1969
- // src/primitives/skeleton.tsx
1970
- var import_cn8 = require("cn");
1971
- var import_jsx_runtime22 = require("react/jsx-runtime");
1972
- function Skeleton({ className, ...props }) {
1973
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1974
- "div",
1975
- {
1976
- "data-slot": "skeleton",
1977
- className: (0, import_cn8.cn)("animate-pulse rounded-md bg-muted", className),
1978
- ...props
1979
- }
1980
- );
1981
- }
1982
-
1983
- // src/primitives/tooltip.tsx
1984
- var import_tooltip = require("@base-ui/react/tooltip");
1985
- var import_cn9 = require("cn");
1986
- var import_jsx_runtime23 = require("react/jsx-runtime");
1987
- function Tooltip({ ...props }) {
1988
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1989
- }
1990
- function TooltipTrigger({ ...props }) {
1991
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1992
- }
1993
- function TooltipContent({
1994
- className,
1995
- side = "top",
1996
- sideOffset = 4,
1997
- align = "center",
1998
- alignOffset = 0,
1999
- children,
2000
- ...props
2001
- }) {
2002
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2003
- import_tooltip.Tooltip.Positioner,
2004
- {
2005
- align,
2006
- alignOffset,
2007
- side,
2008
- sideOffset,
2009
- className: "isolate z-50",
2010
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2011
- import_tooltip.Tooltip.Popup,
2012
- {
2013
- "data-slot": "tooltip-content",
2014
- className: (0, import_cn9.cn)(
2015
- "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",
2016
- className
2017
- ),
2018
- ...props,
2019
- children: [
2020
- children,
2021
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.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" })
2022
- ]
2023
- }
2024
- )
2248
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2249
+ import_dialog2.Dialog.Description,
2250
+ {
2251
+ "data-slot": "sheet-description",
2252
+ className: (0, import_cn9.cn)("text-sm text-muted-foreground", className),
2253
+ ...props
2025
2254
  }
2026
- ) });
2255
+ );
2256
+ }
2257
+
2258
+ // src/primitives/skeleton.tsx
2259
+ var import_cn10 = require("cn");
2260
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2261
+ function Skeleton({ className, ...props }) {
2262
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2263
+ "div",
2264
+ {
2265
+ "data-slot": "skeleton",
2266
+ className: (0, import_cn10.cn)("animate-pulse rounded-md bg-muted", className),
2267
+ ...props
2268
+ }
2269
+ );
2027
2270
  }
2028
2271
 
2029
2272
  // src/primitives/sidebar.tsx
2030
2273
  var import_lucide_react7 = require("lucide-react");
2031
- var import_jsx_runtime24 = require("react/jsx-runtime");
2274
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2032
2275
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2033
2276
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2034
2277
  var SIDEBAR_WIDTH = "16rem";
2035
2278
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2036
2279
  var SIDEBAR_WIDTH_ICON = "3rem";
2037
2280
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2038
- var SidebarContext = React15.createContext(null);
2281
+ var SidebarContext = React16.createContext(null);
2039
2282
  function useSidebar() {
2040
- const context = React15.useContext(SidebarContext);
2283
+ const context = React16.useContext(SidebarContext);
2041
2284
  if (!context) {
2042
2285
  throw new Error("useSidebar must be used within a SidebarProvider.");
2043
2286
  }
@@ -2053,10 +2296,10 @@ function SidebarProvider({
2053
2296
  ...props
2054
2297
  }) {
2055
2298
  const isMobile = useIsMobile();
2056
- const [openMobile, setOpenMobile] = React15.useState(false);
2057
- const [_open, _setOpen] = React15.useState(defaultOpen);
2299
+ const [openMobile, setOpenMobile] = React16.useState(false);
2300
+ const [_open, _setOpen] = React16.useState(defaultOpen);
2058
2301
  const open = openProp ?? _open;
2059
- const setOpen = React15.useCallback(
2302
+ const setOpen = React16.useCallback(
2060
2303
  (value) => {
2061
2304
  const openState = typeof value === "function" ? value(open) : value;
2062
2305
  if (setOpenProp) {
@@ -2068,10 +2311,10 @@ function SidebarProvider({
2068
2311
  },
2069
2312
  [setOpenProp, open]
2070
2313
  );
2071
- const toggleSidebar = React15.useCallback(() => {
2314
+ const toggleSidebar = React16.useCallback(() => {
2072
2315
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2073
2316
  }, [isMobile, setOpen, setOpenMobile]);
2074
- React15.useEffect(() => {
2317
+ React16.useEffect(() => {
2075
2318
  const handleKeyDown = (event) => {
2076
2319
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2077
2320
  event.preventDefault();
@@ -2082,7 +2325,7 @@ function SidebarProvider({
2082
2325
  return () => window.removeEventListener("keydown", handleKeyDown);
2083
2326
  }, [toggleSidebar]);
2084
2327
  const state = open ? "expanded" : "collapsed";
2085
- const contextValue = React15.useMemo(
2328
+ const contextValue = React16.useMemo(
2086
2329
  () => ({
2087
2330
  state,
2088
2331
  open,
@@ -2094,7 +2337,7 @@ function SidebarProvider({
2094
2337
  }),
2095
2338
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2096
2339
  );
2097
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2340
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2098
2341
  "div",
2099
2342
  {
2100
2343
  "data-slot": "sidebar-wrapper",
@@ -2103,7 +2346,7 @@ function SidebarProvider({
2103
2346
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2104
2347
  ...style
2105
2348
  },
2106
- className: (0, import_cn10.cn)(
2349
+ className: (0, import_cn11.cn)(
2107
2350
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2108
2351
  className
2109
2352
  ),
@@ -2123,11 +2366,11 @@ function Sidebar({
2123
2366
  }) {
2124
2367
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2125
2368
  if (collapsible === "none") {
2126
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2369
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2127
2370
  "div",
2128
2371
  {
2129
2372
  "data-slot": "sidebar",
2130
- className: (0, import_cn10.cn)(
2373
+ className: (0, import_cn11.cn)(
2131
2374
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2132
2375
  className
2133
2376
  ),
@@ -2137,7 +2380,7 @@ function Sidebar({
2137
2380
  );
2138
2381
  }
2139
2382
  if (isMobile) {
2140
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2383
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2141
2384
  SheetContent,
2142
2385
  {
2143
2386
  dir,
@@ -2150,16 +2393,16 @@ function Sidebar({
2150
2393
  },
2151
2394
  side,
2152
2395
  children: [
2153
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetHeader, { className: "sr-only", children: [
2154
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetTitle, { children: "Sidebar" }),
2155
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2396
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SheetHeader, { className: "sr-only", children: [
2397
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetTitle, { children: "Sidebar" }),
2398
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2156
2399
  ] }),
2157
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "flex h-full w-full flex-col", children })
2400
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex h-full w-full flex-col", children })
2158
2401
  ]
2159
2402
  }
2160
2403
  ) });
2161
2404
  }
2162
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2405
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2163
2406
  "div",
2164
2407
  {
2165
2408
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -2169,11 +2412,11 @@ function Sidebar({
2169
2412
  "data-side": side,
2170
2413
  "data-slot": "sidebar",
2171
2414
  children: [
2172
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2415
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2173
2416
  "div",
2174
2417
  {
2175
2418
  "data-slot": "sidebar-gap",
2176
- className: (0, import_cn10.cn)(
2419
+ className: (0, import_cn11.cn)(
2177
2420
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2178
2421
  "group-data-[collapsible=offcanvas]:w-0",
2179
2422
  "group-data-[side=right]:rotate-180",
@@ -2181,19 +2424,19 @@ function Sidebar({
2181
2424
  )
2182
2425
  }
2183
2426
  ),
2184
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2427
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2185
2428
  "div",
2186
2429
  {
2187
2430
  "data-slot": "sidebar-container",
2188
2431
  "data-side": side,
2189
- className: (0, import_cn10.cn)(
2432
+ className: (0, import_cn11.cn)(
2190
2433
  "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",
2191
2434
  // Adjust the padding for floating and inset variants.
2192
2435
  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",
2193
2436
  className
2194
2437
  ),
2195
2438
  ...props,
2196
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2439
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2197
2440
  "div",
2198
2441
  {
2199
2442
  "data-sidebar": "sidebar",
@@ -2214,29 +2457,29 @@ function SidebarTrigger({
2214
2457
  ...props
2215
2458
  }) {
2216
2459
  const { toggleSidebar } = useSidebar();
2217
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2460
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2218
2461
  Button,
2219
2462
  {
2220
2463
  "data-sidebar": "trigger",
2221
2464
  "data-slot": "sidebar-trigger",
2222
2465
  variant: "ghost",
2223
2466
  size: "icon-sm",
2224
- className: (0, import_cn10.cn)(className),
2467
+ className: (0, import_cn11.cn)(className),
2225
2468
  onClick: (event) => {
2226
2469
  onClick?.(event);
2227
2470
  toggleSidebar();
2228
2471
  },
2229
2472
  ...props,
2230
2473
  children: [
2231
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2232
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2474
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2475
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2233
2476
  ]
2234
2477
  }
2235
2478
  );
2236
2479
  }
2237
2480
  function SidebarRail({ className, ...props }) {
2238
2481
  const { toggleSidebar } = useSidebar();
2239
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2482
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2240
2483
  "button",
2241
2484
  {
2242
2485
  "data-sidebar": "rail",
@@ -2245,7 +2488,7 @@ function SidebarRail({ className, ...props }) {
2245
2488
  tabIndex: -1,
2246
2489
  onClick: toggleSidebar,
2247
2490
  title: "Toggle Sidebar",
2248
- className: (0, import_cn10.cn)(
2491
+ className: (0, import_cn11.cn)(
2249
2492
  "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",
2250
2493
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2251
2494
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2259,11 +2502,11 @@ function SidebarRail({ className, ...props }) {
2259
2502
  );
2260
2503
  }
2261
2504
  function SidebarInset({ className, ...props }) {
2262
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2505
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2263
2506
  "main",
2264
2507
  {
2265
2508
  "data-slot": "sidebar-inset",
2266
- className: (0, import_cn10.cn)(
2509
+ className: (0, import_cn11.cn)(
2267
2510
  "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",
2268
2511
  className
2269
2512
  ),
@@ -2275,34 +2518,34 @@ function SidebarInput({
2275
2518
  className,
2276
2519
  ...props
2277
2520
  }) {
2278
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2521
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2279
2522
  Input,
2280
2523
  {
2281
2524
  "data-slot": "sidebar-input",
2282
2525
  "data-sidebar": "input",
2283
- className: (0, import_cn10.cn)("h-8 w-full bg-background shadow-none", className),
2526
+ className: (0, import_cn11.cn)("h-8 w-full bg-background shadow-none", className),
2284
2527
  ...props
2285
2528
  }
2286
2529
  );
2287
2530
  }
2288
2531
  function SidebarHeader({ className, ...props }) {
2289
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2532
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2290
2533
  "div",
2291
2534
  {
2292
2535
  "data-slot": "sidebar-header",
2293
2536
  "data-sidebar": "header",
2294
- className: (0, import_cn10.cn)("flex flex-col gap-2 p-2", className),
2537
+ className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2295
2538
  ...props
2296
2539
  }
2297
2540
  );
2298
2541
  }
2299
2542
  function SidebarFooter({ className, ...props }) {
2300
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2301
2544
  "div",
2302
2545
  {
2303
2546
  "data-slot": "sidebar-footer",
2304
2547
  "data-sidebar": "footer",
2305
- className: (0, import_cn10.cn)("flex flex-col gap-2 p-2", className),
2548
+ className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2306
2549
  ...props
2307
2550
  }
2308
2551
  );
@@ -2311,23 +2554,23 @@ function SidebarSeparator({
2311
2554
  className,
2312
2555
  ...props
2313
2556
  }) {
2314
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2557
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2315
2558
  Separator,
2316
2559
  {
2317
2560
  "data-slot": "sidebar-separator",
2318
2561
  "data-sidebar": "separator",
2319
- className: (0, import_cn10.cn)("mx-2 w-auto bg-sidebar-border", className),
2562
+ className: (0, import_cn11.cn)("mx-2 w-auto bg-sidebar-border", className),
2320
2563
  ...props
2321
2564
  }
2322
2565
  );
2323
2566
  }
2324
2567
  function SidebarContent({ className, ...props }) {
2325
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2568
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2326
2569
  "div",
2327
2570
  {
2328
2571
  "data-slot": "sidebar-content",
2329
2572
  "data-sidebar": "content",
2330
- className: (0, import_cn10.cn)(
2573
+ className: (0, import_cn11.cn)(
2331
2574
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2332
2575
  className
2333
2576
  ),
@@ -2336,12 +2579,12 @@ function SidebarContent({ className, ...props }) {
2336
2579
  );
2337
2580
  }
2338
2581
  function SidebarGroup({ className, ...props }) {
2339
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2582
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2340
2583
  "div",
2341
2584
  {
2342
2585
  "data-slot": "sidebar-group",
2343
2586
  "data-sidebar": "group",
2344
- className: (0, import_cn10.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2587
+ className: (0, import_cn11.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2345
2588
  ...props
2346
2589
  }
2347
2590
  );
@@ -2355,7 +2598,7 @@ function SidebarGroupLabel({
2355
2598
  defaultTagName: "div",
2356
2599
  props: (0, import_merge_props.mergeProps)(
2357
2600
  {
2358
- className: (0, import_cn10.cn)(
2601
+ className: (0, import_cn11.cn)(
2359
2602
  "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",
2360
2603
  className
2361
2604
  )
@@ -2378,7 +2621,7 @@ function SidebarGroupAction({
2378
2621
  defaultTagName: "button",
2379
2622
  props: (0, import_merge_props.mergeProps)(
2380
2623
  {
2381
- className: (0, import_cn10.cn)(
2624
+ className: (0, import_cn11.cn)(
2382
2625
  "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",
2383
2626
  className
2384
2627
  )
@@ -2396,34 +2639,34 @@ function SidebarGroupContent({
2396
2639
  className,
2397
2640
  ...props
2398
2641
  }) {
2399
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2642
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2400
2643
  "div",
2401
2644
  {
2402
2645
  "data-slot": "sidebar-group-content",
2403
2646
  "data-sidebar": "group-content",
2404
- className: (0, import_cn10.cn)("w-full text-sm", className),
2647
+ className: (0, import_cn11.cn)("w-full text-sm", className),
2405
2648
  ...props
2406
2649
  }
2407
2650
  );
2408
2651
  }
2409
2652
  function SidebarMenu({ className, ...props }) {
2410
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2653
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2411
2654
  "ul",
2412
2655
  {
2413
2656
  "data-slot": "sidebar-menu",
2414
2657
  "data-sidebar": "menu",
2415
- className: (0, import_cn10.cn)("flex w-full min-w-0 flex-col gap-0", className),
2658
+ className: (0, import_cn11.cn)("flex w-full min-w-0 flex-col gap-0", className),
2416
2659
  ...props
2417
2660
  }
2418
2661
  );
2419
2662
  }
2420
2663
  function SidebarMenuItem({ className, ...props }) {
2421
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2664
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2422
2665
  "li",
2423
2666
  {
2424
2667
  "data-slot": "sidebar-menu-item",
2425
2668
  "data-sidebar": "menu-item",
2426
- className: (0, import_cn10.cn)("group/menu-item relative", className),
2669
+ className: (0, import_cn11.cn)("group/menu-item relative", className),
2427
2670
  ...props
2428
2671
  }
2429
2672
  );
@@ -2462,11 +2705,11 @@ function SidebarMenuButton({
2462
2705
  defaultTagName: "button",
2463
2706
  props: (0, import_merge_props.mergeProps)(
2464
2707
  {
2465
- className: (0, import_cn10.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2708
+ className: (0, import_cn11.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2466
2709
  },
2467
2710
  props
2468
2711
  ),
2469
- render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(TooltipTrigger, { render }),
2712
+ render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(TooltipTrigger, { render }),
2470
2713
  state: {
2471
2714
  slot: "sidebar-menu-button",
2472
2715
  sidebar: "menu-button",
@@ -2482,9 +2725,9 @@ function SidebarMenuButton({
2482
2725
  children: tooltip
2483
2726
  };
2484
2727
  }
2485
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Tooltip, { children: [
2728
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Tooltip, { children: [
2486
2729
  comp,
2487
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2730
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2488
2731
  TooltipContent,
2489
2732
  {
2490
2733
  side: "right",
@@ -2505,7 +2748,7 @@ function SidebarMenuAction({
2505
2748
  defaultTagName: "button",
2506
2749
  props: (0, import_merge_props.mergeProps)(
2507
2750
  {
2508
- className: (0, import_cn10.cn)(
2751
+ className: (0, import_cn11.cn)(
2509
2752
  "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",
2510
2753
  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",
2511
2754
  className
@@ -2524,12 +2767,12 @@ function SidebarMenuBadge({
2524
2767
  className,
2525
2768
  ...props
2526
2769
  }) {
2527
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2770
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2528
2771
  "div",
2529
2772
  {
2530
2773
  "data-slot": "sidebar-menu-badge",
2531
2774
  "data-sidebar": "menu-badge",
2532
- className: (0, import_cn10.cn)(
2775
+ className: (0, import_cn11.cn)(
2533
2776
  "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",
2534
2777
  className
2535
2778
  ),
@@ -2542,25 +2785,25 @@ function SidebarMenuSkeleton({
2542
2785
  showIcon = false,
2543
2786
  ...props
2544
2787
  }) {
2545
- const [width] = React15.useState(() => {
2788
+ const [width] = React16.useState(() => {
2546
2789
  return `${Math.floor(Math.random() * 40) + 50}%`;
2547
2790
  });
2548
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2791
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2549
2792
  "div",
2550
2793
  {
2551
2794
  "data-slot": "sidebar-menu-skeleton",
2552
2795
  "data-sidebar": "menu-skeleton",
2553
- className: (0, import_cn10.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2796
+ className: (0, import_cn11.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2554
2797
  ...props,
2555
2798
  children: [
2556
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2799
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2557
2800
  Skeleton,
2558
2801
  {
2559
2802
  className: "size-4 rounded-md",
2560
2803
  "data-sidebar": "menu-skeleton-icon"
2561
2804
  }
2562
2805
  ),
2563
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2806
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2564
2807
  Skeleton,
2565
2808
  {
2566
2809
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2575,12 +2818,12 @@ function SidebarMenuSkeleton({
2575
2818
  );
2576
2819
  }
2577
2820
  function SidebarMenuSub({ className, ...props }) {
2578
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2821
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2579
2822
  "ul",
2580
2823
  {
2581
2824
  "data-slot": "sidebar-menu-sub",
2582
2825
  "data-sidebar": "menu-sub",
2583
- className: (0, import_cn10.cn)(
2826
+ className: (0, import_cn11.cn)(
2584
2827
  "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",
2585
2828
  className
2586
2829
  ),
@@ -2592,12 +2835,12 @@ function SidebarMenuSubItem({
2592
2835
  className,
2593
2836
  ...props
2594
2837
  }) {
2595
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2838
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2596
2839
  "li",
2597
2840
  {
2598
2841
  "data-slot": "sidebar-menu-sub-item",
2599
2842
  "data-sidebar": "menu-sub-item",
2600
- className: (0, import_cn10.cn)("group/menu-sub-item relative", className),
2843
+ className: (0, import_cn11.cn)("group/menu-sub-item relative", className),
2601
2844
  ...props
2602
2845
  }
2603
2846
  );
@@ -2613,7 +2856,7 @@ function SidebarMenuSubButton({
2613
2856
  defaultTagName: "a",
2614
2857
  props: (0, import_merge_props.mergeProps)(
2615
2858
  {
2616
- className: (0, import_cn10.cn)(
2859
+ className: (0, import_cn11.cn)(
2617
2860
  "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",
2618
2861
  className
2619
2862
  )
@@ -2631,7 +2874,7 @@ function SidebarMenuSubButton({
2631
2874
  }
2632
2875
 
2633
2876
  // src/components/sidebar/Sidebar.tsx
2634
- var import_jsx_runtime25 = require("react/jsx-runtime");
2877
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2635
2878
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2636
2879
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2637
2880
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2639,7 +2882,7 @@ function SidebarGroupLabel2({
2639
2882
  className,
2640
2883
  ...props
2641
2884
  }) {
2642
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2885
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2643
2886
  SidebarGroupLabel,
2644
2887
  {
2645
2888
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2652,7 +2895,7 @@ function SidebarProvider2({
2652
2895
  style,
2653
2896
  ...props
2654
2897
  }) {
2655
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2898
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2656
2899
  SidebarProvider,
2657
2900
  {
2658
2901
  className,
@@ -2665,7 +2908,7 @@ function SidebarProvider2({
2665
2908
  );
2666
2909
  }
2667
2910
  function SidebarGroup2({ className, ...props }) {
2668
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2911
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2669
2912
  SidebarGroup,
2670
2913
  {
2671
2914
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2677,7 +2920,7 @@ function SidebarFooter2({
2677
2920
  className,
2678
2921
  ...props
2679
2922
  }) {
2680
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2923
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2681
2924
  SidebarFooter,
2682
2925
  {
2683
2926
  className: cn(
@@ -2692,7 +2935,7 @@ function SidebarHeader2({
2692
2935
  className,
2693
2936
  ...props
2694
2937
  }) {
2695
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2938
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2696
2939
  SidebarHeader,
2697
2940
  {
2698
2941
  className: cn(
@@ -2704,8 +2947,8 @@ function SidebarHeader2({
2704
2947
  );
2705
2948
  }
2706
2949
  function SidebarLogo() {
2707
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2708
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2950
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2951
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2709
2952
  BergetLogo,
2710
2953
  {
2711
2954
  variant: "logotype",
@@ -2713,11 +2956,11 @@ function SidebarLogo() {
2713
2956
  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"
2714
2957
  }
2715
2958
  ),
2716
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("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__ */ (0, import_jsx_runtime25.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
2959
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("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__ */ (0, import_jsx_runtime27.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
2717
2960
  ] }) });
2718
2961
  }
2719
2962
  function SidebarPageHeader({ className, ...props }) {
2720
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2963
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2721
2964
  "header",
2722
2965
  {
2723
2966
  className: cn(
@@ -2729,7 +2972,7 @@ function SidebarPageHeader({ className, ...props }) {
2729
2972
  );
2730
2973
  }
2731
2974
  function SidebarMenuButton2({ className, ...props }) {
2732
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2975
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2733
2976
  SidebarMenuButton,
2734
2977
  {
2735
2978
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -2738,7 +2981,7 @@ function SidebarMenuButton2({ className, ...props }) {
2738
2981
  );
2739
2982
  }
2740
2983
  function SidebarMenuSubButton2({ className, ...props }) {
2741
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2984
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2742
2985
  SidebarMenuSubButton,
2743
2986
  {
2744
2987
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -2748,22 +2991,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
2748
2991
  }
2749
2992
 
2750
2993
  // src/components/table/Table.tsx
2751
- var React16 = __toESM(require("react"), 1);
2994
+ var React17 = __toESM(require("react"), 1);
2752
2995
 
2753
2996
  // src/primitives/table.tsx
2754
- var import_cn11 = require("cn");
2755
- var import_jsx_runtime26 = require("react/jsx-runtime");
2997
+ var import_cn12 = require("cn");
2998
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2756
2999
  function Table({ className, ...props }) {
2757
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3000
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2758
3001
  "div",
2759
3002
  {
2760
3003
  "data-slot": "table-container",
2761
3004
  className: "relative w-full overflow-x-auto",
2762
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3005
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2763
3006
  "table",
2764
3007
  {
2765
3008
  "data-slot": "table",
2766
- className: (0, import_cn11.cn)("w-full caption-bottom text-sm", className),
3009
+ className: (0, import_cn12.cn)("w-full caption-bottom text-sm", className),
2767
3010
  ...props
2768
3011
  }
2769
3012
  )
@@ -2771,31 +3014,31 @@ function Table({ className, ...props }) {
2771
3014
  );
2772
3015
  }
2773
3016
  function TableHeader({ className, ...props }) {
2774
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3017
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2775
3018
  "thead",
2776
3019
  {
2777
3020
  "data-slot": "table-header",
2778
- className: (0, import_cn11.cn)("[&_tr]:border-b", className),
3021
+ className: (0, import_cn12.cn)("[&_tr]:border-b", className),
2779
3022
  ...props
2780
3023
  }
2781
3024
  );
2782
3025
  }
2783
3026
  function TableBody({ className, ...props }) {
2784
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3027
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2785
3028
  "tbody",
2786
3029
  {
2787
3030
  "data-slot": "table-body",
2788
- className: (0, import_cn11.cn)("[&_tr:last-child]:border-0", className),
3031
+ className: (0, import_cn12.cn)("[&_tr:last-child]:border-0", className),
2789
3032
  ...props
2790
3033
  }
2791
3034
  );
2792
3035
  }
2793
3036
  function TableFooter({ className, ...props }) {
2794
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3037
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2795
3038
  "tfoot",
2796
3039
  {
2797
3040
  "data-slot": "table-footer",
2798
- className: (0, import_cn11.cn)(
3041
+ className: (0, import_cn12.cn)(
2799
3042
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
2800
3043
  className
2801
3044
  ),
@@ -2804,11 +3047,11 @@ function TableFooter({ className, ...props }) {
2804
3047
  );
2805
3048
  }
2806
3049
  function TableRow({ className, ...props }) {
2807
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3050
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2808
3051
  "tr",
2809
3052
  {
2810
3053
  "data-slot": "table-row",
2811
- className: (0, import_cn11.cn)(
3054
+ className: (0, import_cn12.cn)(
2812
3055
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
2813
3056
  className
2814
3057
  ),
@@ -2817,11 +3060,11 @@ function TableRow({ className, ...props }) {
2817
3060
  );
2818
3061
  }
2819
3062
  function TableHead({ className, ...props }) {
2820
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3063
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2821
3064
  "th",
2822
3065
  {
2823
3066
  "data-slot": "table-head",
2824
- className: (0, import_cn11.cn)(
3067
+ className: (0, import_cn12.cn)(
2825
3068
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
2826
3069
  className
2827
3070
  ),
@@ -2830,11 +3073,11 @@ function TableHead({ className, ...props }) {
2830
3073
  );
2831
3074
  }
2832
3075
  function TableCell({ className, ...props }) {
2833
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3076
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2834
3077
  "td",
2835
3078
  {
2836
3079
  "data-slot": "table-cell",
2837
- className: (0, import_cn11.cn)(
3080
+ className: (0, import_cn12.cn)(
2838
3081
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
2839
3082
  className
2840
3083
  ),
@@ -2846,23 +3089,23 @@ function TableCaption({
2846
3089
  className,
2847
3090
  ...props
2848
3091
  }) {
2849
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3092
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2850
3093
  "caption",
2851
3094
  {
2852
3095
  "data-slot": "table-caption",
2853
- className: (0, import_cn11.cn)("mt-4 text-sm text-muted-foreground", className),
3096
+ className: (0, import_cn12.cn)("mt-4 text-sm text-muted-foreground", className),
2854
3097
  ...props
2855
3098
  }
2856
3099
  );
2857
3100
  }
2858
3101
 
2859
3102
  // src/components/table/Table.tsx
2860
- var import_jsx_runtime27 = require("react/jsx-runtime");
2861
- var Table2 = React16.forwardRef(
2862
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Table, { ref, className, ...props })
3103
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3104
+ var Table2 = React17.forwardRef(
3105
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Table, { ref, className, ...props })
2863
3106
  );
2864
3107
  Table2.displayName = "Table";
2865
- var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3108
+ var TableHeader2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2866
3109
  TableHeader,
2867
3110
  {
2868
3111
  ref,
@@ -2871,7 +3114,7 @@ var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2871
3114
  }
2872
3115
  ));
2873
3116
  TableHeader2.displayName = "TableHeader";
2874
- var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3117
+ var TableBody2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2875
3118
  TableBody,
2876
3119
  {
2877
3120
  ref,
@@ -2880,7 +3123,7 @@ var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2880
3123
  }
2881
3124
  ));
2882
3125
  TableBody2.displayName = "TableBody";
2883
- var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3126
+ var TableFooter2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2884
3127
  TableFooter,
2885
3128
  {
2886
3129
  ref,
@@ -2892,8 +3135,8 @@ var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2892
3135
  }
2893
3136
  ));
2894
3137
  TableFooter2.displayName = "TableFooter";
2895
- var TableRow2 = React16.forwardRef(
2896
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3138
+ var TableRow2 = React17.forwardRef(
3139
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2897
3140
  TableRow,
2898
3141
  {
2899
3142
  ref,
@@ -2906,7 +3149,7 @@ var TableRow2 = React16.forwardRef(
2906
3149
  )
2907
3150
  );
2908
3151
  TableRow2.displayName = "TableRow";
2909
- var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3152
+ var TableHead2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2910
3153
  TableHead,
2911
3154
  {
2912
3155
  ref,
@@ -2918,7 +3161,7 @@ var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2918
3161
  }
2919
3162
  ));
2920
3163
  TableHead2.displayName = "TableHead";
2921
- var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3164
+ var TableCell2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2922
3165
  TableCell,
2923
3166
  {
2924
3167
  ref,
@@ -2927,7 +3170,7 @@ var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2927
3170
  }
2928
3171
  ));
2929
3172
  TableCell2.displayName = "TableCell";
2930
- var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3173
+ var TableCaption2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2931
3174
  TableCaption,
2932
3175
  {
2933
3176
  ref,
@@ -2938,21 +3181,21 @@ var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__P
2938
3181
  TableCaption2.displayName = "TableCaption";
2939
3182
 
2940
3183
  // src/components/item/Item.tsx
2941
- var React17 = __toESM(require("react"), 1);
3184
+ var React18 = __toESM(require("react"), 1);
2942
3185
 
2943
3186
  // src/primitives/item.tsx
2944
3187
  var import_merge_props2 = require("@base-ui/react/merge-props");
2945
3188
  var import_use_render2 = require("@base-ui/react/use-render");
2946
3189
  var import_class_variance_authority10 = require("class-variance-authority");
2947
- var import_cn12 = require("cn");
2948
- var import_jsx_runtime28 = require("react/jsx-runtime");
3190
+ var import_cn13 = require("cn");
3191
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2949
3192
  function ItemGroup({ className, ...props }) {
2950
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3193
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2951
3194
  "div",
2952
3195
  {
2953
3196
  role: "list",
2954
3197
  "data-slot": "item-group",
2955
- className: (0, import_cn12.cn)(
3198
+ className: (0, import_cn13.cn)(
2956
3199
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
2957
3200
  className
2958
3201
  ),
@@ -2964,12 +3207,12 @@ function ItemSeparator({
2964
3207
  className,
2965
3208
  ...props
2966
3209
  }) {
2967
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3210
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2968
3211
  Separator,
2969
3212
  {
2970
3213
  "data-slot": "item-separator",
2971
3214
  orientation: "horizontal",
2972
- className: (0, import_cn12.cn)("my-2", className),
3215
+ className: (0, import_cn13.cn)("my-2", className),
2973
3216
  ...props
2974
3217
  }
2975
3218
  );
@@ -3006,7 +3249,7 @@ function Item({
3006
3249
  defaultTagName: "div",
3007
3250
  props: (0, import_merge_props2.mergeProps)(
3008
3251
  {
3009
- className: (0, import_cn12.cn)(itemVariants({ variant, size, className }))
3252
+ className: (0, import_cn13.cn)(itemVariants({ variant, size, className }))
3010
3253
  },
3011
3254
  props
3012
3255
  ),
@@ -3038,22 +3281,22 @@ function ItemMedia({
3038
3281
  variant = "default",
3039
3282
  ...props
3040
3283
  }) {
3041
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3284
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3042
3285
  "div",
3043
3286
  {
3044
3287
  "data-slot": "item-media",
3045
3288
  "data-variant": variant,
3046
- className: (0, import_cn12.cn)(itemMediaVariants({ variant, className })),
3289
+ className: (0, import_cn13.cn)(itemMediaVariants({ variant, className })),
3047
3290
  ...props
3048
3291
  }
3049
3292
  );
3050
3293
  }
3051
3294
  function ItemContent({ className, ...props }) {
3052
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3295
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3053
3296
  "div",
3054
3297
  {
3055
3298
  "data-slot": "item-content",
3056
- className: (0, import_cn12.cn)(
3299
+ className: (0, import_cn13.cn)(
3057
3300
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
3058
3301
  className
3059
3302
  ),
@@ -3062,11 +3305,11 @@ function ItemContent({ className, ...props }) {
3062
3305
  );
3063
3306
  }
3064
3307
  function ItemTitle({ className, ...props }) {
3065
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3308
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3066
3309
  "div",
3067
3310
  {
3068
3311
  "data-slot": "item-title",
3069
- className: (0, import_cn12.cn)(
3312
+ className: (0, import_cn13.cn)(
3070
3313
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
3071
3314
  className
3072
3315
  ),
@@ -3075,11 +3318,11 @@ function ItemTitle({ className, ...props }) {
3075
3318
  );
3076
3319
  }
3077
3320
  function ItemDescription({ className, ...props }) {
3078
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3321
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3079
3322
  "p",
3080
3323
  {
3081
3324
  "data-slot": "item-description",
3082
- className: (0, import_cn12.cn)(
3325
+ className: (0, import_cn13.cn)(
3083
3326
  "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",
3084
3327
  className
3085
3328
  ),
@@ -3088,21 +3331,21 @@ function ItemDescription({ className, ...props }) {
3088
3331
  );
3089
3332
  }
3090
3333
  function ItemActions({ className, ...props }) {
3091
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3334
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3092
3335
  "div",
3093
3336
  {
3094
3337
  "data-slot": "item-actions",
3095
- className: (0, import_cn12.cn)("flex items-center gap-2", className),
3338
+ className: (0, import_cn13.cn)("flex items-center gap-2", className),
3096
3339
  ...props
3097
3340
  }
3098
3341
  );
3099
3342
  }
3100
3343
  function ItemHeader({ className, ...props }) {
3101
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3344
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3102
3345
  "div",
3103
3346
  {
3104
3347
  "data-slot": "item-header",
3105
- className: (0, import_cn12.cn)(
3348
+ className: (0, import_cn13.cn)(
3106
3349
  "flex basis-full items-center justify-between gap-2",
3107
3350
  className
3108
3351
  ),
@@ -3111,11 +3354,11 @@ function ItemHeader({ className, ...props }) {
3111
3354
  );
3112
3355
  }
3113
3356
  function ItemFooter({ className, ...props }) {
3114
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3357
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3115
3358
  "div",
3116
3359
  {
3117
3360
  "data-slot": "item-footer",
3118
- className: (0, import_cn12.cn)(
3361
+ className: (0, import_cn13.cn)(
3119
3362
  "flex basis-full items-center justify-between gap-2",
3120
3363
  className
3121
3364
  ),
@@ -3125,9 +3368,9 @@ function ItemFooter({ className, ...props }) {
3125
3368
  }
3126
3369
 
3127
3370
  // src/components/item/Item.tsx
3128
- var import_jsx_runtime29 = require("react/jsx-runtime");
3371
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3129
3372
  function Item2({ className, asChild, children, ...props }) {
3130
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3373
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3131
3374
  Item,
3132
3375
  {
3133
3376
  render: asChild ? children : void 0,
@@ -3146,8 +3389,8 @@ function Item2({ className, asChild, children, ...props }) {
3146
3389
  }
3147
3390
  );
3148
3391
  }
3149
- var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
3150
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3392
+ var ItemMedia2 = React18.forwardRef(({ className, ...props }, ref) => {
3393
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3151
3394
  ItemMedia,
3152
3395
  {
3153
3396
  ref,
@@ -3157,8 +3400,8 @@ var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
3157
3400
  );
3158
3401
  });
3159
3402
  ItemMedia2.displayName = "ItemMedia";
3160
- var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
3161
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3403
+ var ItemTitle2 = React18.forwardRef(({ className, ...props }, ref) => {
3404
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3162
3405
  ItemTitle,
3163
3406
  {
3164
3407
  ref,
@@ -3168,8 +3411,8 @@ var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
3168
3411
  );
3169
3412
  });
3170
3413
  ItemTitle2.displayName = "ItemTitle";
3171
- var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
3172
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3414
+ var ItemDescription2 = React18.forwardRef(({ className, ...props }, ref) => {
3415
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3173
3416
  ItemDescription,
3174
3417
  {
3175
3418
  ref,
@@ -3179,8 +3422,8 @@ var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
3179
3422
  );
3180
3423
  });
3181
3424
  ItemDescription2.displayName = "ItemDescription";
3182
- var ItemSeparator2 = React17.forwardRef(({ className, ...props }, ref) => {
3183
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3425
+ var ItemSeparator2 = React18.forwardRef(({ className, ...props }, ref) => {
3426
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3184
3427
  ItemSeparator,
3185
3428
  {
3186
3429
  ref,
@@ -3193,22 +3436,22 @@ ItemSeparator2.displayName = "ItemSeparator";
3193
3436
 
3194
3437
  // src/components/search-input/SearchInput.tsx
3195
3438
  var import_lucide_react8 = require("lucide-react");
3196
- var import_jsx_runtime30 = require("react/jsx-runtime");
3439
+ var import_jsx_runtime32 = require("react/jsx-runtime");
3197
3440
  var SearchInput = ({
3198
3441
  type = "search",
3199
3442
  placeholder = "Search...",
3200
3443
  className,
3201
3444
  ref,
3202
3445
  ...props
3203
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3204
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3446
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3447
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3205
3448
  import_lucide_react8.Search,
3206
3449
  {
3207
3450
  "aria-hidden": "true",
3208
3451
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3209
3452
  }
3210
3453
  ),
3211
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3454
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3212
3455
  Input,
3213
3456
  {
3214
3457
  ref,
@@ -3222,32 +3465,32 @@ var SearchInput = ({
3222
3465
  SearchInput.displayName = "SearchInput";
3223
3466
 
3224
3467
  // src/components/checkbox/Checkbox.tsx
3225
- var React18 = __toESM(require("react"), 1);
3468
+ var React19 = __toESM(require("react"), 1);
3226
3469
  var import_checkbox2 = require("@base-ui/react/checkbox");
3227
3470
  var import_lucide_react10 = require("lucide-react");
3228
3471
  var import_class_variance_authority11 = require("class-variance-authority");
3229
3472
 
3230
3473
  // src/primitives/checkbox.tsx
3231
3474
  var import_checkbox = require("@base-ui/react/checkbox");
3232
- var import_cn13 = require("cn");
3475
+ var import_cn14 = require("cn");
3233
3476
  var import_lucide_react9 = require("lucide-react");
3234
- var import_jsx_runtime31 = require("react/jsx-runtime");
3477
+ var import_jsx_runtime33 = require("react/jsx-runtime");
3235
3478
  function Checkbox({ className, ...props }) {
3236
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3479
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3237
3480
  import_checkbox.Checkbox.Root,
3238
3481
  {
3239
3482
  "data-slot": "checkbox",
3240
- className: (0, import_cn13.cn)(
3483
+ className: (0, import_cn14.cn)(
3241
3484
  "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",
3242
3485
  className
3243
3486
  ),
3244
3487
  ...props,
3245
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3488
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3246
3489
  import_checkbox.Checkbox.Indicator,
3247
3490
  {
3248
3491
  "data-slot": "checkbox-indicator",
3249
3492
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3250
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3493
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3251
3494
  import_lucide_react9.CheckIcon,
3252
3495
  {}
3253
3496
  )
@@ -3258,7 +3501,7 @@ function Checkbox({ className, ...props }) {
3258
3501
  }
3259
3502
 
3260
3503
  // src/components/checkbox/Checkbox.tsx
3261
- var import_jsx_runtime32 = require("react/jsx-runtime");
3504
+ var import_jsx_runtime34 = require("react/jsx-runtime");
3262
3505
  var checkboxVariants = (0, import_class_variance_authority11.cva)(
3263
3506
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3264
3507
  {
@@ -3280,7 +3523,7 @@ var checkboxVariants = (0, import_class_variance_authority11.cva)(
3280
3523
  }
3281
3524
  }
3282
3525
  );
3283
- var Checkbox2 = React18.forwardRef(
3526
+ var Checkbox2 = React19.forwardRef(
3284
3527
  ({
3285
3528
  "aria-label": ariaLabel,
3286
3529
  className,
@@ -3293,17 +3536,16 @@ var Checkbox2 = React18.forwardRef(
3293
3536
  disabled,
3294
3537
  ...props
3295
3538
  }, ref) => {
3296
- const generatedId = React18.useId();
3539
+ const generatedId = React19.useId();
3297
3540
  const checkboxId = id || generatedId;
3298
3541
  const errorId = `${checkboxId}-error`;
3299
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-start gap-3", children: [
3300
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3542
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-start gap-3", children: [
3543
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3301
3544
  Checkbox,
3302
3545
  {
3303
3546
  ref,
3304
3547
  id: checkboxId,
3305
3548
  disabled,
3306
- nativeButton: true,
3307
3549
  "aria-invalid": !!error,
3308
3550
  "aria-describedby": error ? errorId : void 0,
3309
3551
  "aria-label": ariaLabel || label || void 0,
@@ -3314,7 +3556,7 @@ var Checkbox2 = React18.forwardRef(
3314
3556
  className
3315
3557
  ),
3316
3558
  ...props,
3317
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3559
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3318
3560
  import_lucide_react10.Check,
3319
3561
  {
3320
3562
  className: "h-4 w-4 text-current stroke-current",
@@ -3323,8 +3565,8 @@ var Checkbox2 = React18.forwardRef(
3323
3565
  ) })
3324
3566
  }
3325
3567
  ) }),
3326
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-1", children: [
3327
- label && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3568
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col gap-1", children: [
3569
+ label && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3328
3570
  "label",
3329
3571
  {
3330
3572
  htmlFor: checkboxId,
@@ -3336,8 +3578,8 @@ var Checkbox2 = React18.forwardRef(
3336
3578
  children: label
3337
3579
  }
3338
3580
  ),
3339
- description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3340
- error && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3581
+ description && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3582
+ error && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3341
3583
  ] })
3342
3584
  ] });
3343
3585
  }
@@ -3345,10 +3587,10 @@ var Checkbox2 = React18.forwardRef(
3345
3587
  Checkbox2.displayName = "Checkbox";
3346
3588
 
3347
3589
  // src/components/switch/Switch.tsx
3348
- var React19 = __toESM(require("react"), 1);
3590
+ var React20 = __toESM(require("react"), 1);
3349
3591
  var import_switch = require("@base-ui/react/switch");
3350
3592
  var import_class_variance_authority12 = require("class-variance-authority");
3351
- var import_jsx_runtime33 = require("react/jsx-runtime");
3593
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3352
3594
  var switchRootVariants = (0, import_class_variance_authority12.cva)(
3353
3595
  "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",
3354
3596
  {
@@ -3385,7 +3627,7 @@ var switchThumbVariants = (0, import_class_variance_authority12.cva)(
3385
3627
  }
3386
3628
  }
3387
3629
  );
3388
- var Switch = React19.forwardRef(
3630
+ var Switch = React20.forwardRef(
3389
3631
  ({
3390
3632
  "aria-label": ariaLabel,
3391
3633
  className,
@@ -3398,17 +3640,16 @@ var Switch = React19.forwardRef(
3398
3640
  disabled,
3399
3641
  ...props
3400
3642
  }, ref) => {
3401
- const generatedId = React19.useId();
3643
+ const generatedId = React20.useId();
3402
3644
  const switchId = id || generatedId;
3403
3645
  const errorId = `${switchId}-error`;
3404
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-3", children: [
3405
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3646
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-3", children: [
3647
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3406
3648
  import_switch.Switch.Root,
3407
3649
  {
3408
3650
  ref,
3409
3651
  id: switchId,
3410
3652
  disabled,
3411
- nativeButton: true,
3412
3653
  "aria-invalid": !!error,
3413
3654
  "aria-describedby": error ? errorId : void 0,
3414
3655
  "aria-label": ariaLabel || label || void 0,
@@ -3418,11 +3659,11 @@ var Switch = React19.forwardRef(
3418
3659
  className
3419
3660
  ),
3420
3661
  ...props,
3421
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3662
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3422
3663
  }
3423
3664
  ),
3424
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-1", children: [
3425
- label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3665
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col gap-1", children: [
3666
+ label && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3426
3667
  "label",
3427
3668
  {
3428
3669
  htmlFor: switchId,
@@ -3433,8 +3674,8 @@ var Switch = React19.forwardRef(
3433
3674
  children: label
3434
3675
  }
3435
3676
  ),
3436
- description && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3437
- error && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3677
+ description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3678
+ error && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3438
3679
  ] })
3439
3680
  ] });
3440
3681
  }
@@ -3443,26 +3684,26 @@ Switch.displayName = "Switch";
3443
3684
 
3444
3685
  // src/primitives/select.tsx
3445
3686
  var import_select = require("@base-ui/react/select");
3446
- var import_cn14 = require("cn");
3687
+ var import_cn15 = require("cn");
3447
3688
  var import_lucide_react11 = require("lucide-react");
3448
- var import_jsx_runtime34 = require("react/jsx-runtime");
3689
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3449
3690
  var Select = import_select.Select.Root;
3450
3691
  function SelectGroup({ className, ...props }) {
3451
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3692
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3452
3693
  import_select.Select.Group,
3453
3694
  {
3454
3695
  "data-slot": "select-group",
3455
- className: (0, import_cn14.cn)("scroll-my-1 p-1", className),
3696
+ className: (0, import_cn15.cn)("scroll-my-1 p-1", className),
3456
3697
  ...props
3457
3698
  }
3458
3699
  );
3459
3700
  }
3460
3701
  function SelectValue({ className, ...props }) {
3461
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3702
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3462
3703
  import_select.Select.Value,
3463
3704
  {
3464
3705
  "data-slot": "select-value",
3465
- className: (0, import_cn14.cn)("flex flex-1 text-left", className),
3706
+ className: (0, import_cn15.cn)("flex flex-1 text-left", className),
3466
3707
  ...props
3467
3708
  }
3468
3709
  );
@@ -3473,22 +3714,22 @@ function SelectTrigger({
3473
3714
  children,
3474
3715
  ...props
3475
3716
  }) {
3476
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3717
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3477
3718
  import_select.Select.Trigger,
3478
3719
  {
3479
3720
  "data-slot": "select-trigger",
3480
3721
  "data-size": size,
3481
- className: (0, import_cn14.cn)(
3482
- "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-berget-brand-granite-900 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",
3722
+ className: (0, import_cn15.cn)(
3723
+ "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",
3483
3724
  className
3484
3725
  ),
3485
3726
  ...props,
3486
3727
  children: [
3487
3728
  children,
3488
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3729
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3489
3730
  import_select.Select.Icon,
3490
3731
  {
3491
- render: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3732
+ render: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3492
3733
  }
3493
3734
  )
3494
3735
  ]
@@ -3505,7 +3746,7 @@ function SelectContent({
3505
3746
  alignItemWithTrigger = true,
3506
3747
  ...props
3507
3748
  }) {
3508
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3749
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3509
3750
  import_select.Select.Positioner,
3510
3751
  {
3511
3752
  side,
@@ -3514,17 +3755,17 @@ function SelectContent({
3514
3755
  alignOffset,
3515
3756
  alignItemWithTrigger,
3516
3757
  className: "isolate z-50",
3517
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3758
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3518
3759
  import_select.Select.Popup,
3519
3760
  {
3520
3761
  "data-slot": "select-content",
3521
3762
  "data-align-trigger": alignItemWithTrigger,
3522
- className: (0, import_cn14.cn)("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),
3763
+ className: (0, import_cn15.cn)("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),
3523
3764
  ...props,
3524
3765
  children: [
3525
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollUpButton, {}),
3526
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.List, { children }),
3527
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollDownButton, {})
3766
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SelectScrollUpButton, {}),
3767
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.List, { children }),
3768
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SelectScrollDownButton, {})
3528
3769
  ]
3529
3770
  }
3530
3771
  )
@@ -3535,11 +3776,11 @@ function SelectLabel({
3535
3776
  className,
3536
3777
  ...props
3537
3778
  }) {
3538
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3779
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3539
3780
  import_select.Select.GroupLabel,
3540
3781
  {
3541
3782
  "data-slot": "select-label",
3542
- className: (0, import_cn14.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3783
+ className: (0, import_cn15.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3543
3784
  ...props
3544
3785
  }
3545
3786
  );
@@ -3549,22 +3790,22 @@ function SelectItem({
3549
3790
  children,
3550
3791
  ...props
3551
3792
  }) {
3552
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3793
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3553
3794
  import_select.Select.Item,
3554
3795
  {
3555
3796
  "data-slot": "select-item",
3556
- className: (0, import_cn14.cn)(
3797
+ className: (0, import_cn15.cn)(
3557
3798
  "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",
3558
3799
  className
3559
3800
  ),
3560
3801
  ...props,
3561
3802
  children: [
3562
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3563
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3803
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3804
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3564
3805
  import_select.Select.ItemIndicator,
3565
3806
  {
3566
- render: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3567
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3807
+ render: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3808
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3568
3809
  }
3569
3810
  )
3570
3811
  ]
@@ -3575,11 +3816,11 @@ function SelectSeparator({
3575
3816
  className,
3576
3817
  ...props
3577
3818
  }) {
3578
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3819
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3579
3820
  import_select.Select.Separator,
3580
3821
  {
3581
3822
  "data-slot": "select-separator",
3582
- className: (0, import_cn14.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3823
+ className: (0, import_cn15.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3583
3824
  ...props
3584
3825
  }
3585
3826
  );
@@ -3588,16 +3829,16 @@ function SelectScrollUpButton({
3588
3829
  className,
3589
3830
  ...props
3590
3831
  }) {
3591
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3832
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3592
3833
  import_select.Select.ScrollUpArrow,
3593
3834
  {
3594
3835
  "data-slot": "select-scroll-up-button",
3595
- className: (0, import_cn14.cn)(
3836
+ className: (0, import_cn15.cn)(
3596
3837
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3597
3838
  className
3598
3839
  ),
3599
3840
  ...props,
3600
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3841
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3601
3842
  import_lucide_react11.ChevronUpIcon,
3602
3843
  {}
3603
3844
  )
@@ -3608,16 +3849,16 @@ function SelectScrollDownButton({
3608
3849
  className,
3609
3850
  ...props
3610
3851
  }) {
3611
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3852
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3612
3853
  import_select.Select.ScrollDownArrow,
3613
3854
  {
3614
3855
  "data-slot": "select-scroll-down-button",
3615
- className: (0, import_cn14.cn)(
3856
+ className: (0, import_cn15.cn)(
3616
3857
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3617
3858
  className
3618
3859
  ),
3619
3860
  ...props,
3620
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3861
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3621
3862
  import_lucide_react11.ChevronDownIcon,
3622
3863
  {}
3623
3864
  )
@@ -3626,18 +3867,18 @@ function SelectScrollDownButton({
3626
3867
  }
3627
3868
 
3628
3869
  // src/components/country-select/CountrySelect.tsx
3629
- var React21 = __toESM(require("react"), 1);
3870
+ var React22 = __toESM(require("react"), 1);
3630
3871
  var import_lucide_react14 = require("lucide-react");
3631
3872
 
3632
3873
  // src/components/icon/Icon.tsx
3633
- var React20 = __toESM(require("react"), 1);
3634
- var import_jsx_runtime35 = require("react/jsx-runtime");
3874
+ var React21 = __toESM(require("react"), 1);
3875
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3635
3876
  var iconStrokeMap = {
3636
3877
  16: 1.4,
3637
3878
  24: 1.6,
3638
3879
  32: 1.8
3639
3880
  };
3640
- var Icon = React20.forwardRef(
3881
+ var Icon = React21.forwardRef(
3641
3882
  ({
3642
3883
  icon: IconComponent,
3643
3884
  size,
@@ -3649,7 +3890,7 @@ var Icon = React20.forwardRef(
3649
3890
  const strokeWidth = iconStrokeMap[size];
3650
3891
  const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3651
3892
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
3652
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3893
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3653
3894
  IconComponent,
3654
3895
  {
3655
3896
  ref,
@@ -3665,13 +3906,13 @@ Icon.displayName = "Icon";
3665
3906
 
3666
3907
  // src/primitives/popover.tsx
3667
3908
  var import_popover = require("@base-ui/react/popover");
3668
- var import_cn15 = require("cn");
3669
- var import_jsx_runtime36 = require("react/jsx-runtime");
3909
+ var import_cn16 = require("cn");
3910
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3670
3911
  function Popover({ ...props }) {
3671
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
3912
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
3672
3913
  }
3673
3914
  function PopoverTrigger({ ...props }) {
3674
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
3915
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
3675
3916
  }
3676
3917
  function PopoverContent({
3677
3918
  className,
@@ -3681,7 +3922,7 @@ function PopoverContent({
3681
3922
  sideOffset = 4,
3682
3923
  ...props
3683
3924
  }) {
3684
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3925
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3685
3926
  import_popover.Popover.Positioner,
3686
3927
  {
3687
3928
  align,
@@ -3689,11 +3930,11 @@ function PopoverContent({
3689
3930
  side,
3690
3931
  sideOffset,
3691
3932
  className: "isolate z-50",
3692
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3933
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3693
3934
  import_popover.Popover.Popup,
3694
3935
  {
3695
3936
  "data-slot": "popover-content",
3696
- className: (0, import_cn15.cn)(
3937
+ className: (0, import_cn16.cn)(
3697
3938
  "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",
3698
3939
  className
3699
3940
  ),
@@ -3706,28 +3947,28 @@ function PopoverContent({
3706
3947
 
3707
3948
  // src/primitives/command.tsx
3708
3949
  var import_cmdk = require("cmdk");
3709
- var import_cn19 = require("cn");
3950
+ var import_cn20 = require("cn");
3710
3951
 
3711
3952
  // src/primitives/dialog.tsx
3712
3953
  var import_dialog3 = require("@base-ui/react/dialog");
3713
- var import_cn16 = require("cn");
3954
+ var import_cn17 = require("cn");
3714
3955
  var import_lucide_react12 = require("lucide-react");
3715
- var import_jsx_runtime37 = require("react/jsx-runtime");
3956
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3716
3957
 
3717
3958
  // src/primitives/input-group.tsx
3718
3959
  var import_class_variance_authority13 = require("class-variance-authority");
3719
- var import_cn18 = require("cn");
3960
+ var import_cn19 = require("cn");
3720
3961
 
3721
3962
  // src/primitives/textarea.tsx
3722
- var import_cn17 = require("cn");
3723
- var import_jsx_runtime38 = require("react/jsx-runtime");
3963
+ var import_cn18 = require("cn");
3964
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3724
3965
  function Textarea({ className, ...props }) {
3725
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3966
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3726
3967
  "textarea",
3727
3968
  {
3728
3969
  "data-slot": "textarea",
3729
- className: (0, import_cn17.cn)(
3730
- "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-berget-brand-granite-900 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-berget-brand-moss-400 focus-visible:ring-3 focus-visible:ring-berget-brand-moss-300/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",
3970
+ className: (0, import_cn18.cn)(
3971
+ "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",
3731
3972
  className
3732
3973
  ),
3733
3974
  ...props
@@ -3736,14 +3977,14 @@ function Textarea({ className, ...props }) {
3736
3977
  }
3737
3978
 
3738
3979
  // src/primitives/input-group.tsx
3739
- var import_jsx_runtime39 = require("react/jsx-runtime");
3980
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3740
3981
  function InputGroup({ className, ...props }) {
3741
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3982
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3742
3983
  "div",
3743
3984
  {
3744
3985
  "data-slot": "input-group",
3745
3986
  role: "group",
3746
- className: (0, import_cn18.cn)(
3987
+ className: (0, import_cn19.cn)(
3747
3988
  "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",
3748
3989
  className
3749
3990
  ),
@@ -3772,13 +4013,13 @@ function InputGroupAddon({
3772
4013
  align = "inline-start",
3773
4014
  ...props
3774
4015
  }) {
3775
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4016
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3776
4017
  "div",
3777
4018
  {
3778
4019
  role: "group",
3779
4020
  "data-slot": "input-group-addon",
3780
4021
  "data-align": align,
3781
- className: (0, import_cn18.cn)(inputGroupAddonVariants({ align }), className),
4022
+ className: (0, import_cn19.cn)(inputGroupAddonVariants({ align }), className),
3782
4023
  onClick: (e) => {
3783
4024
  if (e.target.closest("button")) {
3784
4025
  return;
@@ -3808,16 +4049,16 @@ var inputGroupButtonVariants = (0, import_class_variance_authority13.cva)(
3808
4049
 
3809
4050
  // src/primitives/command.tsx
3810
4051
  var import_lucide_react13 = require("lucide-react");
3811
- var import_jsx_runtime40 = require("react/jsx-runtime");
4052
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3812
4053
  function Command({
3813
4054
  className,
3814
4055
  ...props
3815
4056
  }) {
3816
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4057
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3817
4058
  import_cmdk.Command,
3818
4059
  {
3819
4060
  "data-slot": "command",
3820
- className: (0, import_cn19.cn)(
4061
+ className: (0, import_cn20.cn)(
3821
4062
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
3822
4063
  className
3823
4064
  ),
@@ -3829,30 +4070,30 @@ function CommandInput({
3829
4070
  className,
3830
4071
  ...props
3831
4072
  }) {
3832
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
3833
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4073
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4074
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3834
4075
  import_cmdk.Command.Input,
3835
4076
  {
3836
4077
  "data-slot": "command-input",
3837
- className: (0, import_cn19.cn)(
4078
+ className: (0, import_cn20.cn)(
3838
4079
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
3839
4080
  className
3840
4081
  ),
3841
4082
  ...props
3842
4083
  }
3843
4084
  ),
3844
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4085
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
3845
4086
  ] }) });
3846
4087
  }
3847
4088
  function CommandList({
3848
4089
  className,
3849
4090
  ...props
3850
4091
  }) {
3851
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4092
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3852
4093
  import_cmdk.Command.List,
3853
4094
  {
3854
4095
  "data-slot": "command-list",
3855
- className: (0, import_cn19.cn)(
4096
+ className: (0, import_cn20.cn)(
3856
4097
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
3857
4098
  className
3858
4099
  ),
@@ -3864,11 +4105,11 @@ function CommandEmpty({
3864
4105
  className,
3865
4106
  ...props
3866
4107
  }) {
3867
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4108
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3868
4109
  import_cmdk.Command.Empty,
3869
4110
  {
3870
4111
  "data-slot": "command-empty",
3871
- className: (0, import_cn19.cn)("py-6 text-center text-sm", className),
4112
+ className: (0, import_cn20.cn)("py-6 text-center text-sm", className),
3872
4113
  ...props
3873
4114
  }
3874
4115
  );
@@ -3877,11 +4118,11 @@ function CommandGroup({
3877
4118
  className,
3878
4119
  ...props
3879
4120
  }) {
3880
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4121
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3881
4122
  import_cmdk.Command.Group,
3882
4123
  {
3883
4124
  "data-slot": "command-group",
3884
- className: (0, import_cn19.cn)(
4125
+ className: (0, import_cn20.cn)(
3885
4126
  "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",
3886
4127
  className
3887
4128
  ),
@@ -3894,18 +4135,18 @@ function CommandItem({
3894
4135
  children,
3895
4136
  ...props
3896
4137
  }) {
3897
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4138
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3898
4139
  import_cmdk.Command.Item,
3899
4140
  {
3900
4141
  "data-slot": "command-item",
3901
- className: (0, import_cn19.cn)(
4142
+ className: (0, import_cn20.cn)(
3902
4143
  "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",
3903
4144
  className
3904
4145
  ),
3905
4146
  ...props,
3906
4147
  children: [
3907
4148
  children,
3908
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4149
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
3909
4150
  ]
3910
4151
  }
3911
4152
  );
@@ -4053,8 +4294,8 @@ var isEUCountry = (countryCode) => {
4053
4294
  };
4054
4295
 
4055
4296
  // src/components/country-select/CountrySelect.tsx
4056
- var import_jsx_runtime41 = require("react/jsx-runtime");
4057
- var CountrySelect = React21.forwardRef(
4297
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4298
+ var CountrySelect = React22.forwardRef(
4058
4299
  ({
4059
4300
  value,
4060
4301
  onValueChange,
@@ -4064,14 +4305,14 @@ var CountrySelect = React21.forwardRef(
4064
4305
  align = "center",
4065
4306
  sideOffset = 4
4066
4307
  }, ref) => {
4067
- const [open, setOpen] = React21.useState(false);
4068
- const selectedCountry = React21.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4069
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4070
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4308
+ const [open, setOpen] = React22.useState(false);
4309
+ const selectedCountry = React22.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4310
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4311
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4071
4312
  PopoverTrigger,
4072
4313
  {
4073
4314
  ref,
4074
- render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4315
+ render: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4075
4316
  "button",
4076
4317
  {
4077
4318
  type: "button",
@@ -4093,16 +4334,16 @@ var CountrySelect = React21.forwardRef(
4093
4334
  }
4094
4335
  ),
4095
4336
  children: [
4096
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
4097
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4098
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4099
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4337
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
4338
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4339
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4340
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4100
4341
  "(",
4101
4342
  selectedCountry.code,
4102
4343
  ")"
4103
4344
  ] })
4104
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
4105
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4345
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
4346
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4106
4347
  Icon,
4107
4348
  {
4108
4349
  icon: import_lucide_react14.Globe,
@@ -4110,9 +4351,9 @@ var CountrySelect = React21.forwardRef(
4110
4351
  className: "flex-shrink-0 text-berget-muted-foreground"
4111
4352
  }
4112
4353
  ),
4113
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4354
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4114
4355
  ] }) }),
4115
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4356
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4116
4357
  Icon,
4117
4358
  {
4118
4359
  icon: import_lucide_react14.ChevronDown,
@@ -4127,17 +4368,17 @@ var CountrySelect = React21.forwardRef(
4127
4368
  ]
4128
4369
  }
4129
4370
  ),
4130
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4371
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4131
4372
  PopoverContent,
4132
4373
  {
4133
4374
  align,
4134
4375
  sideOffset,
4135
4376
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4136
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Command, { children: [
4137
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandInput, { placeholder: "Search country..." }),
4138
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CommandList, { children: [
4139
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandEmpty, { children: "No countries found." }),
4140
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4377
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Command, { children: [
4378
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandInput, { placeholder: "Search country..." }),
4379
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(CommandList, { children: [
4380
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandEmpty, { children: "No countries found." }),
4381
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4141
4382
  CommandItem,
4142
4383
  {
4143
4384
  value: `${country.name} ${country.code}`,
@@ -4151,12 +4392,12 @@ var CountrySelect = React21.forwardRef(
4151
4392
  value === country.code && "bg-berget-brand-granite-800/40"
4152
4393
  ),
4153
4394
  children: [
4154
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4155
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-1 min-w-0", children: [
4156
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "text-sm truncate", children: country.name }),
4157
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4395
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4396
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex-1 min-w-0", children: [
4397
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "text-sm truncate", children: country.name }),
4398
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4158
4399
  ] }),
4159
- value === country.code && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4400
+ value === country.code && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4160
4401
  ]
4161
4402
  },
4162
4403
  country.code
@@ -4171,14 +4412,14 @@ var CountrySelect = React21.forwardRef(
4171
4412
  CountrySelect.displayName = "CountrySelect";
4172
4413
 
4173
4414
  // src/primitives/label.tsx
4174
- var import_cn20 = require("cn");
4175
- var import_jsx_runtime42 = require("react/jsx-runtime");
4415
+ var import_cn21 = require("cn");
4416
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4176
4417
  function Label({ className, ...props }) {
4177
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4418
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4178
4419
  "label",
4179
4420
  {
4180
4421
  "data-slot": "label",
4181
- className: (0, import_cn20.cn)(
4422
+ className: (0, import_cn21.cn)(
4182
4423
  "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",
4183
4424
  className
4184
4425
  ),
@@ -4190,14 +4431,14 @@ function Label({ className, ...props }) {
4190
4431
  // src/primitives/field.tsx
4191
4432
  var import_react = require("react");
4192
4433
  var import_class_variance_authority14 = require("class-variance-authority");
4193
- var import_cn21 = require("cn");
4194
- var import_jsx_runtime43 = require("react/jsx-runtime");
4434
+ var import_cn22 = require("cn");
4435
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4195
4436
  function FieldSet({ className, ...props }) {
4196
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4437
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4197
4438
  "fieldset",
4198
4439
  {
4199
4440
  "data-slot": "field-set",
4200
- className: (0, import_cn21.cn)(
4441
+ className: (0, import_cn22.cn)(
4201
4442
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4202
4443
  className
4203
4444
  ),
@@ -4210,12 +4451,12 @@ function FieldLegend({
4210
4451
  variant = "legend",
4211
4452
  ...props
4212
4453
  }) {
4213
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4454
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4214
4455
  "legend",
4215
4456
  {
4216
4457
  "data-slot": "field-legend",
4217
4458
  "data-variant": variant,
4218
- className: (0, import_cn21.cn)(
4459
+ className: (0, import_cn22.cn)(
4219
4460
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4220
4461
  className
4221
4462
  ),
@@ -4224,11 +4465,11 @@ function FieldLegend({
4224
4465
  );
4225
4466
  }
4226
4467
  function FieldGroup({ className, ...props }) {
4227
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4468
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4228
4469
  "div",
4229
4470
  {
4230
4471
  "data-slot": "field-group",
4231
- className: (0, import_cn21.cn)(
4472
+ className: (0, import_cn22.cn)(
4232
4473
  "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",
4233
4474
  className
4234
4475
  ),
@@ -4256,23 +4497,23 @@ function Field({
4256
4497
  orientation = "vertical",
4257
4498
  ...props
4258
4499
  }) {
4259
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4500
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4260
4501
  "div",
4261
4502
  {
4262
4503
  role: "group",
4263
4504
  "data-slot": "field",
4264
4505
  "data-orientation": orientation,
4265
- className: (0, import_cn21.cn)(fieldVariants({ orientation }), className),
4506
+ className: (0, import_cn22.cn)(fieldVariants({ orientation }), className),
4266
4507
  ...props
4267
4508
  }
4268
4509
  );
4269
4510
  }
4270
4511
  function FieldContent({ className, ...props }) {
4271
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4512
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4272
4513
  "div",
4273
4514
  {
4274
4515
  "data-slot": "field-content",
4275
- className: (0, import_cn21.cn)(
4516
+ className: (0, import_cn22.cn)(
4276
4517
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4277
4518
  className
4278
4519
  ),
@@ -4284,11 +4525,11 @@ function FieldLabel({
4284
4525
  className,
4285
4526
  ...props
4286
4527
  }) {
4287
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4528
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4288
4529
  Label,
4289
4530
  {
4290
4531
  "data-slot": "field-label",
4291
- className: (0, import_cn21.cn)(
4532
+ className: (0, import_cn22.cn)(
4292
4533
  "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",
4293
4534
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4294
4535
  className
@@ -4298,11 +4539,11 @@ function FieldLabel({
4298
4539
  );
4299
4540
  }
4300
4541
  function FieldTitle({ className, ...props }) {
4301
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4542
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4302
4543
  "div",
4303
4544
  {
4304
4545
  "data-slot": "field-label",
4305
- className: (0, import_cn21.cn)(
4546
+ className: (0, import_cn22.cn)(
4306
4547
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4307
4548
  className
4308
4549
  ),
@@ -4311,11 +4552,11 @@ function FieldTitle({ className, ...props }) {
4311
4552
  );
4312
4553
  }
4313
4554
  function FieldDescription({ className, ...props }) {
4314
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4555
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4315
4556
  "p",
4316
4557
  {
4317
4558
  "data-slot": "field-description",
4318
- className: (0, import_cn21.cn)(
4559
+ className: (0, import_cn22.cn)(
4319
4560
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4320
4561
  "last:mt-0 nth-last-2:-mt-1",
4321
4562
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4330,19 +4571,19 @@ function FieldSeparator({
4330
4571
  className,
4331
4572
  ...props
4332
4573
  }) {
4333
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4574
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4334
4575
  "div",
4335
4576
  {
4336
4577
  "data-slot": "field-separator",
4337
4578
  "data-content": !!children,
4338
- className: (0, import_cn21.cn)(
4579
+ className: (0, import_cn22.cn)(
4339
4580
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4340
4581
  className
4341
4582
  ),
4342
4583
  ...props,
4343
4584
  children: [
4344
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4345
- children && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4585
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4586
+ children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4346
4587
  "span",
4347
4588
  {
4348
4589
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4373,19 +4614,19 @@ function FieldError({
4373
4614
  if (uniqueErrors?.length == 1) {
4374
4615
  return uniqueErrors[0]?.message;
4375
4616
  }
4376
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4377
- (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: error.message }, index)
4617
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4618
+ (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("li", { children: error.message }, index)
4378
4619
  ) });
4379
4620
  }, [children, errors]);
4380
4621
  if (!content) {
4381
4622
  return null;
4382
4623
  }
4383
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4624
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4384
4625
  "div",
4385
4626
  {
4386
4627
  role: "alert",
4387
4628
  "data-slot": "field-error",
4388
- className: (0, import_cn21.cn)("text-sm font-normal text-destructive", className),
4629
+ className: (0, import_cn22.cn)("text-sm font-normal text-destructive", className),
4389
4630
  ...props,
4390
4631
  children: content
4391
4632
  }
@@ -4393,10 +4634,10 @@ function FieldError({
4393
4634
  }
4394
4635
 
4395
4636
  // src/components/link/Link.tsx
4396
- var React22 = __toESM(require("react"), 1);
4637
+ var React23 = __toESM(require("react"), 1);
4397
4638
  var import_class_variance_authority15 = require("class-variance-authority");
4398
4639
  var import_lucide_react15 = require("lucide-react");
4399
- var import_jsx_runtime44 = require("react/jsx-runtime");
4640
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4400
4641
  var linkVariants = (0, import_class_variance_authority15.cva)(
4401
4642
  "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",
4402
4643
  {
@@ -4421,7 +4662,7 @@ var linkVariants = (0, import_class_variance_authority15.cva)(
4421
4662
  }
4422
4663
  }
4423
4664
  );
4424
- var Link = React22.forwardRef(
4665
+ var Link = React23.forwardRef(
4425
4666
  ({
4426
4667
  className,
4427
4668
  variant,
@@ -4434,7 +4675,7 @@ var Link = React22.forwardRef(
4434
4675
  ...props
4435
4676
  }, ref) => {
4436
4677
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
4437
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4678
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4438
4679
  "a",
4439
4680
  {
4440
4681
  ref,
@@ -4450,8 +4691,8 @@ var Link = React22.forwardRef(
4450
4691
  },
4451
4692
  children: [
4452
4693
  children,
4453
- icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "inline-flex items-center", children: icon }),
4454
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4694
+ icon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "inline-flex items-center", children: icon }),
4695
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4455
4696
  ]
4456
4697
  }
4457
4698
  );
@@ -4460,7 +4701,7 @@ var Link = React22.forwardRef(
4460
4701
  Link.displayName = "Link";
4461
4702
 
4462
4703
  // src/components/container/Container.tsx
4463
- var React23 = __toESM(require("react"), 1);
4704
+ var React24 = __toESM(require("react"), 1);
4464
4705
  var import_merge_props3 = require("@base-ui/react/merge-props");
4465
4706
  var import_use_render3 = require("@base-ui/react/use-render");
4466
4707
  var import_class_variance_authority16 = require("class-variance-authority");
@@ -4485,7 +4726,7 @@ var containerVariants = (0, import_class_variance_authority16.cva)("w-full mx-au
4485
4726
  padding: "md"
4486
4727
  }
4487
4728
  });
4488
- var Container = React23.forwardRef(
4729
+ var Container = React24.forwardRef(
4489
4730
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4490
4731
  return (0, import_use_render3.useRender)({
4491
4732
  ref,
@@ -4504,7 +4745,7 @@ var Container = React23.forwardRef(
4504
4745
  Container.displayName = "Container";
4505
4746
 
4506
4747
  // src/components/grid/Grid.tsx
4507
- var React24 = __toESM(require("react"), 1);
4748
+ var React25 = __toESM(require("react"), 1);
4508
4749
  var import_class_variance_authority17 = require("class-variance-authority");
4509
4750
  var import_merge_props4 = require("@base-ui/react/merge-props");
4510
4751
  var import_use_render4 = require("@base-ui/react/use-render");
@@ -4530,7 +4771,7 @@ var gridVariants = (0, import_class_variance_authority17.cva)("grid", {
4530
4771
  justify: "start"
4531
4772
  }
4532
4773
  });
4533
- var Grid = React24.forwardRef(
4774
+ var Grid = React25.forwardRef(
4534
4775
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4535
4776
  return (0, import_use_render4.useRender)({
4536
4777
  ref,
@@ -4557,7 +4798,7 @@ var Grid = React24.forwardRef(
4557
4798
  Grid.displayName = "Grid";
4558
4799
 
4559
4800
  // src/components/box/Box.tsx
4560
- var React25 = __toESM(require("react"), 1);
4801
+ var React26 = __toESM(require("react"), 1);
4561
4802
  var import_class_variance_authority18 = require("class-variance-authority");
4562
4803
  var import_merge_props5 = require("@base-ui/react/merge-props");
4563
4804
  var import_use_render5 = require("@base-ui/react/use-render");
@@ -4597,7 +4838,7 @@ var boxVariants = (0, import_class_variance_authority18.cva)("flex", {
4597
4838
  wrap: "nowrap"
4598
4839
  }
4599
4840
  });
4600
- var Box = React25.forwardRef(
4841
+ var Box = React26.forwardRef(
4601
4842
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
4602
4843
  return (0, import_use_render5.useRender)({
4603
4844
  ref,
@@ -4620,23 +4861,23 @@ var Box = React25.forwardRef(
4620
4861
  Box.displayName = "Box";
4621
4862
 
4622
4863
  // src/components/language-select/LanguageSelect.tsx
4623
- var React26 = __toESM(require("react"), 1);
4864
+ var React27 = __toESM(require("react"), 1);
4624
4865
  var import_lucide_react16 = require("lucide-react");
4625
- var import_jsx_runtime45 = require("react/jsx-runtime");
4626
- var LanguageSelect = React26.forwardRef(
4866
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4867
+ var LanguageSelect = React27.forwardRef(
4627
4868
  ({ className, options, value, onValueChange }, ref) => {
4628
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(DropdownMenu, { children: [
4629
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DropdownMenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4630
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "sr-only", children: "Select language" }),
4631
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
4869
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenu, { children: [
4870
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
4871
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "sr-only", children: "Select language" }),
4872
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
4632
4873
  ] }) }),
4633
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DropdownMenuContent, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4874
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4634
4875
  DropdownMenuRadioGroup,
4635
4876
  {
4636
4877
  value,
4637
4878
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
4638
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4639
- DropdownMenuRadioItem,
4879
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4880
+ DropdownMenuRadioItem2,
4640
4881
  {
4641
4882
  value: option.value,
4642
4883
  disabled: option.disabled,
@@ -4653,12 +4894,12 @@ var LanguageSelect = React26.forwardRef(
4653
4894
  LanguageSelect.displayName = "LanguageSelect";
4654
4895
 
4655
4896
  // src/components/list/List.tsx
4656
- var React28 = __toESM(require("react"), 1);
4897
+ var React29 = __toESM(require("react"), 1);
4657
4898
 
4658
4899
  // src/components/divider/Divider.tsx
4659
- var React27 = __toESM(require("react"), 1);
4900
+ var React28 = __toESM(require("react"), 1);
4660
4901
  var import_class_variance_authority19 = require("class-variance-authority");
4661
- var import_jsx_runtime46 = require("react/jsx-runtime");
4902
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4662
4903
  var dividerVariants = (0, import_class_variance_authority19.cva)("", {
4663
4904
  variants: {
4664
4905
  variant: {
@@ -4679,7 +4920,7 @@ var dividerVariants = (0, import_class_variance_authority19.cva)("", {
4679
4920
  size: "thin"
4680
4921
  }
4681
4922
  });
4682
- var Divider = React27.forwardRef(
4923
+ var Divider = React28.forwardRef(
4683
4924
  ({
4684
4925
  className,
4685
4926
  orientation = "horizontal",
@@ -4690,16 +4931,16 @@ var Divider = React27.forwardRef(
4690
4931
  ...props
4691
4932
  }, ref) => {
4692
4933
  if (label) {
4693
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4694
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4934
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4935
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4695
4936
  Separator,
4696
4937
  {
4697
4938
  orientation: "horizontal",
4698
4939
  className: cn(dividerVariants({ variant, size }), "flex-1")
4699
4940
  }
4700
4941
  ),
4701
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4702
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4942
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4943
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4703
4944
  Separator,
4704
4945
  {
4705
4946
  orientation: "horizontal",
@@ -4708,7 +4949,7 @@ var Divider = React27.forwardRef(
4708
4949
  )
4709
4950
  ] });
4710
4951
  }
4711
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4952
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4712
4953
  Separator,
4713
4954
  {
4714
4955
  ref,
@@ -4726,19 +4967,19 @@ Divider.displayName = "Divider";
4726
4967
 
4727
4968
  // src/components/list/List.tsx
4728
4969
  var import_lucide_react17 = require("lucide-react");
4729
- var import_jsx_runtime47 = require("react/jsx-runtime");
4730
- var List = React28.forwardRef(
4970
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4971
+ var List = React29.forwardRef(
4731
4972
  ({ className, children, ...props }, ref) => {
4732
- const childrenArray = React28.Children.toArray(children);
4733
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(React28.Fragment, { children: [
4973
+ const childrenArray = React29.Children.toArray(children);
4974
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(React29.Fragment, { children: [
4734
4975
  child,
4735
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Divider, { variant: "subtle" })
4976
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Divider, { variant: "subtle" })
4736
4977
  ] }, index)) });
4737
4978
  }
4738
4979
  );
4739
4980
  List.displayName = "List";
4740
- var ListItem = React28.forwardRef(
4741
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4981
+ var ListItem = React29.forwardRef(
4982
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4742
4983
  "div",
4743
4984
  {
4744
4985
  ref,
@@ -4749,15 +4990,15 @@ var ListItem = React28.forwardRef(
4749
4990
  ),
4750
4991
  ...props,
4751
4992
  children: [
4752
- icon && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4753
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-1 min-w-0", children })
4993
+ icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4994
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-1 min-w-0", children })
4754
4995
  ]
4755
4996
  }
4756
4997
  )
4757
4998
  );
4758
4999
  ListItem.displayName = "ListItem";
4759
- var ListHeader = React28.forwardRef(
4760
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5000
+ var ListHeader = React29.forwardRef(
5001
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4761
5002
  "div",
4762
5003
  {
4763
5004
  ref,
@@ -4768,11 +5009,11 @@ var ListHeader = React28.forwardRef(
4768
5009
  )
4769
5010
  );
4770
5011
  ListHeader.displayName = "ListHeader";
4771
- var FeatureList = React28.forwardRef(
5012
+ var FeatureList = React29.forwardRef(
4772
5013
  ({ items, variant = "bullet", className, ...props }, ref) => {
4773
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
4774
- variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
4775
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typography, { variant: "body", color: "muted", children: item })
5014
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
5015
+ variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
5016
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typography, { variant: "body", color: "muted", children: item })
4776
5017
  ] }, index)) });
4777
5018
  }
4778
5019
  );
@@ -4821,7 +5062,7 @@ function getHighlighter() {
4821
5062
  }
4822
5063
 
4823
5064
  // src/components/code-block/CodeBlock.tsx
4824
- var import_jsx_runtime48 = require("react/jsx-runtime");
5065
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4825
5066
  function CodeBlock({ code, language = "text", title, className }) {
4826
5067
  const [html, setHtml] = (0, import_react2.useState)(null);
4827
5068
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -4837,16 +5078,16 @@ function CodeBlock({ code, language = "text", title, className }) {
4837
5078
  setCopied(true);
4838
5079
  setTimeout(() => setCopied(false), 2e3);
4839
5080
  }, [code]);
4840
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5081
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4841
5082
  "button",
4842
5083
  {
4843
5084
  onClick: handleCopy,
4844
5085
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
4845
5086
  "aria-label": "Copy code",
4846
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
5087
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
4847
5088
  }
4848
5089
  );
4849
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5090
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4850
5091
  "div",
4851
5092
  {
4852
5093
  className: cn(
@@ -4854,25 +5095,25 @@ function CodeBlock({ code, language = "text", title, className }) {
4854
5095
  className
4855
5096
  ),
4856
5097
  children: [
4857
- title && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("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__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
4858
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4859
- html ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5098
+ title && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("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__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
5099
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5100
+ html ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4860
5101
  "div",
4861
5102
  {
4862
5103
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
4863
5104
  dangerouslySetInnerHTML: { __html: html }
4864
5105
  }
4865
- ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("code", { children: code }) })
5106
+ ) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("code", { children: code }) })
4866
5107
  ]
4867
5108
  }
4868
5109
  );
4869
5110
  }
4870
5111
 
4871
5112
  // src/components/window-frame/WindowFrame.tsx
4872
- var React29 = __toESM(require("react"), 1);
5113
+ var React30 = __toESM(require("react"), 1);
4873
5114
  var import_react3 = require("react");
4874
- var import_jsx_runtime49 = require("react/jsx-runtime");
4875
- var WindowFrame = React29.forwardRef(
5115
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5116
+ var WindowFrame = React30.forwardRef(
4876
5117
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
4877
5118
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
4878
5119
  const currentTab = activeTab ?? internalActive;
@@ -4883,7 +5124,7 @@ var WindowFrame = React29.forwardRef(
4883
5124
  setInternalActive(id);
4884
5125
  }
4885
5126
  };
4886
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5127
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4887
5128
  "div",
4888
5129
  {
4889
5130
  ref,
@@ -4893,13 +5134,13 @@ var WindowFrame = React29.forwardRef(
4893
5134
  ),
4894
5135
  ...props,
4895
5136
  children: [
4896
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
4897
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
4898
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
4899
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
4900
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5137
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5138
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5139
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5140
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5141
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
4901
5142
  ] }),
4902
- tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5143
+ tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4903
5144
  "button",
4904
5145
  {
4905
5146
  type: "button",
@@ -4911,9 +5152,9 @@ var WindowFrame = React29.forwardRef(
4911
5152
  children: tab.label
4912
5153
  },
4913
5154
  tab.id
4914
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5155
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4915
5156
  ] }),
4916
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children })
5157
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { children })
4917
5158
  ]
4918
5159
  }
4919
5160
  );
@@ -4923,7 +5164,7 @@ WindowFrame.displayName = "WindowFrame";
4923
5164
 
4924
5165
  // src/components/fog-illustration/FogIllustration.tsx
4925
5166
  var import_react4 = require("react");
4926
- var import_jsx_runtime50 = require("react/jsx-runtime");
5167
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4927
5168
  var FOG_BRAND_PALETTE = {
4928
5169
  ink: "#171a1a",
4929
5170
  milk: "#f7f5ed",
@@ -5236,7 +5477,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5236
5477
  gl.deleteFramebuffer(fbo);
5237
5478
  };
5238
5479
  }, []);
5239
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5480
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5240
5481
  };
5241
5482
  // Annotate the CommonJS export names for ESM import in node:
5242
5483
  0 && (module.exports = {
@@ -5386,6 +5627,10 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5386
5627
  Textarea,
5387
5628
  ThemeProvider,
5388
5629
  ThemeToggle,
5630
+ Tooltip,
5631
+ TooltipContent,
5632
+ TooltipProvider,
5633
+ TooltipTrigger,
5389
5634
  Typography,
5390
5635
  WindowFrame,
5391
5636
  alertVariants,