@bergetai/ui 0.13.1 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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,
@@ -827,28 +831,31 @@ var React6 = __toESM(require("react"), 1);
827
831
  var import_class_variance_authority4 = require("class-variance-authority");
828
832
  var import_jsx_runtime8 = require("react/jsx-runtime");
829
833
  var badgeVariants = (0, import_class_variance_authority4.cva)(
830
- "inline-flex items-center whitespace-nowrap rounded-full transition-colors focus:outline-none focus:ring-1 focus:ring-ring focus:ring-offset-2",
834
+ // Tinted status style: small uppercase label on a 15% brand tint.
835
+ // `variant`/`size` are kept for API compatibility but no longer change
836
+ // the appearance; `status` alone picks the tint.
837
+ "inline-flex flex-shrink-0 items-center whitespace-nowrap rounded-[4px] py-[0.15rem] px-2 text-[0.65rem] font-semibold uppercase tracking-[0.05em] transition-colors focus:outline-none focus:ring-1 focus:ring-ring focus:ring-offset-2",
831
838
  {
832
839
  variants: {
833
840
  variant: {
834
- default: "px-8",
835
- tag: "px-4",
836
- semantic: "px-3"
841
+ default: "",
842
+ tag: "",
843
+ semantic: ""
837
844
  },
838
845
  status: {
839
846
  default: "bg-berget-badge-default-bg text-berget-badge-default-fg",
840
847
  active: "bg-berget-badge-active-bg text-berget-badge-active-fg",
848
+ info: "bg-berget-badge-info-bg text-berget-badge-info-fg",
849
+ success: "bg-berget-badge-success-bg text-berget-badge-success-fg",
850
+ warning: "bg-berget-badge-warning-bg text-berget-badge-warning-fg",
851
+ error: "bg-berget-badge-error-bg text-berget-badge-error-fg",
841
852
  tagDefault: "bg-berget-badge-tag-default-bg text-berget-badge-tag-default-fg",
842
853
  tagActive: "bg-berget-badge-tag-active-bg text-berget-badge-tag-active-fg",
843
- tagGhost: "bg-berget-badge-tag-ghost-bg text-berget-badge-tag-ghost-fg",
844
- info: "berget-tint berget-tint-info",
845
- success: "berget-tint berget-tint-success",
846
- warning: "berget-tint berget-tint-warning",
847
- error: "berget-tint berget-tint-error"
854
+ tagGhost: "bg-berget-badge-tag-ghost-bg text-berget-badge-tag-ghost-fg"
848
855
  },
849
856
  size: {
850
- sm: "text-xs h-6",
851
- md: "text-sm h-6"
857
+ sm: "",
858
+ md: ""
852
859
  }
853
860
  },
854
861
  defaultVariants: {
@@ -1455,168 +1462,460 @@ AlertDialogCancel.displayName = "AlertDialogCancel";
1455
1462
 
1456
1463
  // src/components/dropdown-menu/DropdownMenu.tsx
1457
1464
  var React13 = __toESM(require("react"), 1);
1465
+
1466
+ // src/primitives/dropdown-menu.tsx
1458
1467
  var import_menu = require("@base-ui/react/menu");
1468
+ var import_cn4 = require("cn");
1459
1469
  var import_lucide_react3 = require("lucide-react");
1460
1470
  var import_jsx_runtime16 = require("react/jsx-runtime");
1461
- var DropdownMenu = import_menu.Menu.Root;
1462
- var DropdownMenuTrigger = React13.forwardRef(
1463
- ({ 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 })
1464
- );
1465
- DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
1466
- var DropdownMenuGroup = import_menu.Menu.Group;
1467
- var DropdownMenuPortal = import_menu.Menu.Portal;
1468
- var DropdownMenuSub = import_menu.Menu.SubmenuRoot;
1469
- var DropdownMenuRadioGroup = import_menu.Menu.RadioGroup;
1470
- var DropdownMenuSubTrigger = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1471
- import_menu.Menu.SubmenuTrigger,
1472
- {
1473
- ref,
1474
- className: cn(
1475
- "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",
1476
- inset && "pl-8",
1477
- className
1478
- ),
1479
- render: asChildRender(asChild, children),
1480
- ...props,
1481
- children: asChild ? void 0 : /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
1482
- children,
1483
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronRight, { className: "ml-auto" })
1484
- ] })
1485
- }
1486
- ));
1487
- DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
1488
- var DropdownMenuSubContent = React13.forwardRef(
1489
- ({ 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)(
1471
+ function DropdownMenu({ ...props }) {
1472
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1473
+ }
1474
+ function DropdownMenuPortal({ ...props }) {
1475
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1476
+ }
1477
+ function DropdownMenuTrigger({ ...props }) {
1478
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1479
+ }
1480
+ function DropdownMenuContent({
1481
+ align = "start",
1482
+ alignOffset = 0,
1483
+ side = "bottom",
1484
+ sideOffset = 4,
1485
+ className,
1486
+ ...props
1487
+ }) {
1488
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1490
1489
  import_menu.Menu.Positioner,
1491
1490
  {
1492
- side,
1491
+ className: "isolate z-50 outline-none",
1493
1492
  align,
1494
1493
  alignOffset,
1494
+ side,
1495
1495
  sideOffset,
1496
- className: "isolate z-50 outline-none",
1497
1496
  children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1498
1497
  import_menu.Menu.Popup,
1499
1498
  {
1500
- ref,
1501
- className: cn(
1502
- "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]",
1503
- className
1504
- ),
1499
+ "data-slot": "dropdown-menu-content",
1500
+ 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),
1505
1501
  ...props
1506
1502
  }
1507
1503
  )
1508
1504
  }
1509
- ) })
1510
- );
1511
- DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
1512
- 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)(
1513
- import_menu.Menu.Positioner,
1514
- {
1515
- side,
1516
- align,
1517
- alignOffset,
1518
- sideOffset,
1519
- className: "isolate z-50 outline-none",
1520
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1521
- import_menu.Menu.Popup,
1522
- {
1523
- ref,
1524
- className: cn(
1525
- "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]",
1526
- className
1505
+ ) });
1506
+ }
1507
+ function DropdownMenuGroup({ ...props }) {
1508
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1509
+ }
1510
+ function DropdownMenuLabel({
1511
+ className,
1512
+ inset,
1513
+ ...props
1514
+ }) {
1515
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1516
+ import_menu.Menu.GroupLabel,
1517
+ {
1518
+ "data-slot": "dropdown-menu-label",
1519
+ "data-inset": inset,
1520
+ className: (0, import_cn4.cn)(
1521
+ "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1522
+ className
1523
+ ),
1524
+ ...props
1525
+ }
1526
+ );
1527
+ }
1528
+ function DropdownMenuItem({
1529
+ className,
1530
+ inset,
1531
+ variant = "default",
1532
+ ...props
1533
+ }) {
1534
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1535
+ import_menu.Menu.Item,
1536
+ {
1537
+ "data-slot": "dropdown-menu-item",
1538
+ "data-inset": inset,
1539
+ "data-variant": variant,
1540
+ className: (0, import_cn4.cn)(
1541
+ "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",
1542
+ className
1543
+ ),
1544
+ ...props
1545
+ }
1546
+ );
1547
+ }
1548
+ function DropdownMenuSub({ ...props }) {
1549
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1550
+ }
1551
+ function DropdownMenuSubTrigger({
1552
+ className,
1553
+ inset,
1554
+ children,
1555
+ ...props
1556
+ }) {
1557
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1558
+ import_menu.Menu.SubmenuTrigger,
1559
+ {
1560
+ "data-slot": "dropdown-menu-sub-trigger",
1561
+ "data-inset": inset,
1562
+ className: (0, import_cn4.cn)(
1563
+ "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",
1564
+ className
1565
+ ),
1566
+ ...props,
1567
+ children: [
1568
+ children,
1569
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1570
+ ]
1571
+ }
1572
+ );
1573
+ }
1574
+ function DropdownMenuSubContent({
1575
+ align = "start",
1576
+ alignOffset = -3,
1577
+ side = "right",
1578
+ sideOffset = 0,
1579
+ className,
1580
+ ...props
1581
+ }) {
1582
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1583
+ DropdownMenuContent,
1584
+ {
1585
+ "data-slot": "dropdown-menu-sub-content",
1586
+ 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),
1587
+ align,
1588
+ alignOffset,
1589
+ side,
1590
+ sideOffset,
1591
+ ...props
1592
+ }
1593
+ );
1594
+ }
1595
+ function DropdownMenuCheckboxItem({
1596
+ className,
1597
+ children,
1598
+ checked,
1599
+ inset,
1600
+ ...props
1601
+ }) {
1602
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1603
+ import_menu.Menu.CheckboxItem,
1604
+ {
1605
+ "data-slot": "dropdown-menu-checkbox-item",
1606
+ "data-inset": inset,
1607
+ className: (0, import_cn4.cn)(
1608
+ "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",
1609
+ className
1610
+ ),
1611
+ checked,
1612
+ ...props,
1613
+ children: [
1614
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1615
+ "span",
1616
+ {
1617
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1618
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
1619
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1620
+ import_lucide_react3.CheckIcon,
1621
+ {}
1622
+ ) })
1623
+ }
1527
1624
  ),
1528
- ...props
1529
- }
1530
- )
1531
- }
1532
- ) }));
1533
- DropdownMenuContent.displayName = "DropdownMenuContent";
1534
- var DropdownMenuItem = React13.forwardRef(({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1535
- import_menu.Menu.Item,
1536
- {
1537
- ref,
1538
- label: textValue,
1539
- className: cn(
1540
- "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",
1541
- inset && "pl-8",
1542
- className
1543
- ),
1544
- render: asChildRender(asChild, children),
1545
- ...props,
1546
- children: asChild ? void 0 : children
1547
- }
1548
- ));
1549
- DropdownMenuItem.displayName = "DropdownMenuItem";
1550
- var DropdownMenuCheckboxItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1551
- import_menu.Menu.CheckboxItem,
1552
- {
1553
- ref,
1554
- label: textValue,
1555
- className: cn(
1556
- "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",
1557
- className
1558
- ),
1559
- render: asChildRender(asChild, children),
1560
- ...props,
1561
- children: [
1562
- /* @__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" }) }) }),
1563
- asChild ? void 0 : children
1564
- ]
1565
- }
1566
- ));
1567
- DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
1568
- var DropdownMenuRadioItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1569
- import_menu.Menu.RadioItem,
1570
- {
1571
- ref,
1572
- label: textValue,
1573
- className: cn(
1574
- "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",
1575
- className
1576
- ),
1577
- render: asChildRender(asChild, children),
1578
- ...props,
1579
- children: [
1580
- /* @__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" }) }) }),
1581
- asChild ? void 0 : children
1582
- ]
1583
- }
1584
- ));
1585
- DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
1586
- var DropdownMenuLabel = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1587
- import_menu.Menu.GroupLabel,
1588
- {
1589
- ref,
1590
- className: cn(
1591
- "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1592
- inset && "pl-8",
1593
- className
1594
- ),
1595
- render: asChildRender(asChild, children),
1596
- ...props,
1597
- children: asChild ? void 0 : children
1598
- }
1599
- ));
1600
- DropdownMenuLabel.displayName = "DropdownMenuLabel";
1601
- var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1602
- import_menu.Menu.Separator,
1603
- {
1604
- ref,
1605
- className: cn("-mx-1 my-1 h-px bg-berget-separator", className),
1606
- ...props
1607
- }
1608
- ));
1609
- DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1610
- var DropdownMenuShortcut = ({ className, ...props }) => {
1625
+ children
1626
+ ]
1627
+ }
1628
+ );
1629
+ }
1630
+ function DropdownMenuRadioGroup({ ...props }) {
1631
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1632
+ import_menu.Menu.RadioGroup,
1633
+ {
1634
+ "data-slot": "dropdown-menu-radio-group",
1635
+ ...props
1636
+ }
1637
+ );
1638
+ }
1639
+ function DropdownMenuRadioItem({
1640
+ className,
1641
+ children,
1642
+ inset,
1643
+ ...props
1644
+ }) {
1645
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1646
+ import_menu.Menu.RadioItem,
1647
+ {
1648
+ "data-slot": "dropdown-menu-radio-item",
1649
+ "data-inset": inset,
1650
+ className: (0, import_cn4.cn)(
1651
+ "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",
1652
+ className
1653
+ ),
1654
+ ...props,
1655
+ children: [
1656
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1657
+ "span",
1658
+ {
1659
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
1660
+ "data-slot": "dropdown-menu-radio-item-indicator",
1661
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1662
+ import_lucide_react3.CheckIcon,
1663
+ {}
1664
+ ) })
1665
+ }
1666
+ ),
1667
+ children
1668
+ ]
1669
+ }
1670
+ );
1671
+ }
1672
+ function DropdownMenuSeparator({
1673
+ className,
1674
+ ...props
1675
+ }) {
1676
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1677
+ import_menu.Menu.Separator,
1678
+ {
1679
+ "data-slot": "dropdown-menu-separator",
1680
+ className: (0, import_cn4.cn)("-mx-1 my-1 h-px bg-border", className),
1681
+ ...props
1682
+ }
1683
+ );
1684
+ }
1685
+ function DropdownMenuShortcut({
1686
+ className,
1687
+ ...props
1688
+ }) {
1611
1689
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1612
1690
  "span",
1613
1691
  {
1614
- className: cn("ml-auto text-xs tracking-widest text-berget-muted-foreground", className),
1692
+ "data-slot": "dropdown-menu-shortcut",
1693
+ className: (0, import_cn4.cn)(
1694
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1695
+ className
1696
+ ),
1697
+ ...props
1698
+ }
1699
+ );
1700
+ }
1701
+
1702
+ // src/components/dropdown-menu/DropdownMenu.tsx
1703
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1704
+ var DropdownMenuTrigger2 = React13.forwardRef(
1705
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1706
+ );
1707
+ DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1708
+ var DropdownMenuSubTrigger2 = React13.forwardRef(
1709
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1710
+ DropdownMenuSubTrigger,
1711
+ {
1712
+ ref,
1713
+ className: cn(
1714
+ // Berget density & radius; focus/accent styling comes from the primitive.
1715
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1716
+ inset && "pl-8",
1717
+ className
1718
+ ),
1719
+ render: asChildRender(asChild, children),
1720
+ ...props,
1721
+ children: asChild ? void 0 : children
1722
+ }
1723
+ )
1724
+ );
1725
+ DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1726
+ var DropdownMenuSubContent2 = React13.forwardRef(
1727
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1728
+ DropdownMenuSubContent,
1729
+ {
1730
+ ref,
1731
+ className: cn(
1732
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg",
1733
+ className
1734
+ ),
1735
+ ...props
1736
+ }
1737
+ )
1738
+ );
1739
+ DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1740
+ var DropdownMenuContent2 = React13.forwardRef(
1741
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1742
+ DropdownMenuContent,
1743
+ {
1744
+ ref,
1745
+ className: cn(
1746
+ "rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-md",
1747
+ className
1748
+ ),
1749
+ ...props
1750
+ }
1751
+ )
1752
+ );
1753
+ DropdownMenuContent2.displayName = "DropdownMenuContent";
1754
+ var DropdownMenuItem2 = React13.forwardRef(
1755
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1756
+ DropdownMenuItem,
1757
+ {
1758
+ ref,
1759
+ label: textValue,
1760
+ className: cn(
1761
+ // Berget density & radius; focus accent and destructive variant from the primitive.
1762
+ "gap-2 rounded-berget-xs px-2 py-1.5",
1763
+ inset && "pl-8",
1764
+ className
1765
+ ),
1766
+ render: asChildRender(asChild, children),
1767
+ ...props,
1768
+ children: asChild ? void 0 : children
1769
+ }
1770
+ )
1771
+ );
1772
+ DropdownMenuItem2.displayName = "DropdownMenuItem";
1773
+ var DropdownMenuCheckboxItem2 = React13.forwardRef(
1774
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1775
+ DropdownMenuCheckboxItem,
1776
+ {
1777
+ ref,
1778
+ label: textValue,
1779
+ className: cn("rounded-berget-xs", className),
1780
+ render: asChildRender(asChild, children),
1781
+ ...props,
1782
+ children: asChild ? void 0 : children
1783
+ }
1784
+ )
1785
+ );
1786
+ DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1787
+ var DropdownMenuRadioItem2 = React13.forwardRef(
1788
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1789
+ DropdownMenuRadioItem,
1790
+ {
1791
+ ref,
1792
+ label: textValue,
1793
+ className: cn("rounded-berget-xs", className),
1794
+ render: asChildRender(asChild, children),
1795
+ ...props,
1796
+ children: asChild ? void 0 : children
1797
+ }
1798
+ )
1799
+ );
1800
+ DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1801
+ var DropdownMenuLabel2 = React13.forwardRef(
1802
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1803
+ DropdownMenuLabel,
1804
+ {
1805
+ ref,
1806
+ className: cn(
1807
+ "px-2 py-1.5 text-sm font-semibold text-berget-foreground",
1808
+ inset && "pl-8",
1809
+ className
1810
+ ),
1811
+ render: asChildRender(asChild, children),
1812
+ ...props,
1813
+ children: asChild ? void 0 : children
1814
+ }
1815
+ )
1816
+ );
1817
+ DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1818
+ var DropdownMenuSeparator2 = React13.forwardRef(
1819
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1820
+ DropdownMenuSeparator,
1821
+ {
1822
+ ref,
1823
+ className: cn("bg-berget-separator", className),
1824
+ ...props
1825
+ }
1826
+ )
1827
+ );
1828
+ DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1829
+ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1830
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1831
+ DropdownMenuShortcut,
1832
+ {
1833
+ className: cn("text-berget-muted-foreground", className),
1615
1834
  ...props
1616
1835
  }
1617
1836
  );
1618
1837
  };
1619
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1838
+ DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1839
+
1840
+ // src/components/tooltip/Tooltip.tsx
1841
+ var React14 = __toESM(require("react"), 1);
1842
+
1843
+ // src/primitives/tooltip.tsx
1844
+ var import_tooltip = require("@base-ui/react/tooltip");
1845
+ var import_cn5 = require("cn");
1846
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1847
+ function TooltipProvider({
1848
+ delay = 0,
1849
+ ...props
1850
+ }) {
1851
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1852
+ import_tooltip.Tooltip.Provider,
1853
+ {
1854
+ "data-slot": "tooltip-provider",
1855
+ delay,
1856
+ ...props
1857
+ }
1858
+ );
1859
+ }
1860
+ function Tooltip({ ...props }) {
1861
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1862
+ }
1863
+ function TooltipTrigger({ ...props }) {
1864
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1865
+ }
1866
+ function TooltipContent({
1867
+ className,
1868
+ side = "top",
1869
+ sideOffset = 4,
1870
+ align = "center",
1871
+ alignOffset = 0,
1872
+ children,
1873
+ ...props
1874
+ }) {
1875
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1876
+ import_tooltip.Tooltip.Positioner,
1877
+ {
1878
+ align,
1879
+ alignOffset,
1880
+ side,
1881
+ sideOffset,
1882
+ className: "isolate z-50",
1883
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1884
+ import_tooltip.Tooltip.Popup,
1885
+ {
1886
+ "data-slot": "tooltip-content",
1887
+ className: (0, import_cn5.cn)(
1888
+ "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",
1889
+ className
1890
+ ),
1891
+ ...props,
1892
+ children: [
1893
+ children,
1894
+ /* @__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" })
1895
+ ]
1896
+ }
1897
+ )
1898
+ }
1899
+ ) });
1900
+ }
1901
+
1902
+ // src/components/tooltip/Tooltip.tsx
1903
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1904
+ var TooltipTrigger2 = React14.forwardRef(
1905
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1906
+ );
1907
+ TooltipTrigger2.displayName = "TooltipTrigger";
1908
+ var TooltipContent2 = React14.forwardRef(
1909
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1910
+ TooltipContent,
1911
+ {
1912
+ ref,
1913
+ className: cn("rounded-berget-xs shadow-berget-md", className),
1914
+ ...props
1915
+ }
1916
+ )
1917
+ );
1918
+ TooltipContent2.displayName = "TooltipContent";
1620
1919
 
1621
1920
  // src/components/navigation-menu/NavigationMenu.tsx
1622
1921
  var import_navigation_menu2 = require("@base-ui/react/navigation-menu");
@@ -1626,18 +1925,18 @@ var import_lucide_react5 = require("lucide-react");
1626
1925
  // src/primitives/navigation-menu.tsx
1627
1926
  var import_navigation_menu = require("@base-ui/react/navigation-menu");
1628
1927
  var import_class_variance_authority7 = require("class-variance-authority");
1629
- var import_cn4 = require("cn");
1928
+ var import_cn6 = require("cn");
1630
1929
  var import_lucide_react4 = require("lucide-react");
1631
- var import_jsx_runtime17 = require("react/jsx-runtime");
1930
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1632
1931
  function NavigationMenuList({
1633
1932
  className,
1634
1933
  ...props
1635
1934
  }) {
1636
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1935
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1637
1936
  import_navigation_menu.NavigationMenu.List,
1638
1937
  {
1639
1938
  "data-slot": "navigation-menu-list",
1640
- className: (0, import_cn4.cn)(
1939
+ className: (0, import_cn6.cn)(
1641
1940
  "group flex flex-1 list-none items-center justify-center gap-0",
1642
1941
  className
1643
1942
  ),
@@ -1649,11 +1948,11 @@ function NavigationMenuItem({
1649
1948
  className,
1650
1949
  ...props
1651
1950
  }) {
1652
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1951
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1653
1952
  import_navigation_menu.NavigationMenu.Item,
1654
1953
  {
1655
1954
  "data-slot": "navigation-menu-item",
1656
- className: (0, import_cn4.cn)("relative", className),
1955
+ className: (0, import_cn6.cn)("relative", className),
1657
1956
  ...props
1658
1957
  }
1659
1958
  );
@@ -1665,11 +1964,11 @@ function NavigationMenuContent({
1665
1964
  className,
1666
1965
  ...props
1667
1966
  }) {
1668
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1967
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1669
1968
  import_navigation_menu.NavigationMenu.Content,
1670
1969
  {
1671
1970
  "data-slot": "navigation-menu-content",
1672
- className: (0, import_cn4.cn)(
1971
+ className: (0, import_cn6.cn)(
1673
1972
  "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",
1674
1973
  className
1675
1974
  ),
@@ -1681,29 +1980,29 @@ function NavigationMenuIndicator({
1681
1980
  className,
1682
1981
  ...props
1683
1982
  }) {
1684
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1685
1984
  import_navigation_menu.NavigationMenu.Icon,
1686
1985
  {
1687
1986
  "data-slot": "navigation-menu-indicator",
1688
- className: (0, import_cn4.cn)(
1987
+ className: (0, import_cn6.cn)(
1689
1988
  "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",
1690
1989
  className
1691
1990
  ),
1692
1991
  ...props,
1693
- 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" })
1992
+ 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" })
1694
1993
  }
1695
1994
  );
1696
1995
  }
1697
1996
 
1698
1997
  // src/components/navigation-menu/NavigationMenu.tsx
1699
- var import_jsx_runtime18 = require("react/jsx-runtime");
1998
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1700
1999
  function NavigationMenu({
1701
2000
  align = "start",
1702
2001
  className,
1703
2002
  children,
1704
2003
  ...props
1705
2004
  }) {
1706
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2005
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1707
2006
  import_navigation_menu2.NavigationMenu.Root,
1708
2007
  {
1709
2008
  "data-slot": "navigation-menu",
@@ -1714,7 +2013,7 @@ function NavigationMenu({
1714
2013
  ...props,
1715
2014
  children: [
1716
2015
  children,
1717
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(NavigationMenuPositioner, { align })
2016
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(NavigationMenuPositioner, { align })
1718
2017
  ]
1719
2018
  }
1720
2019
  );
@@ -1727,7 +2026,7 @@ function NavigationMenuTrigger({
1727
2026
  children,
1728
2027
  ...props
1729
2028
  }) {
1730
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2029
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1731
2030
  import_navigation_menu2.NavigationMenu.Trigger,
1732
2031
  {
1733
2032
  "data-slot": "navigation-menu-trigger",
@@ -1736,7 +2035,7 @@ function NavigationMenuTrigger({
1736
2035
  children: [
1737
2036
  children,
1738
2037
  " ",
1739
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2038
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1740
2039
  import_lucide_react5.ChevronDown,
1741
2040
  {
1742
2041
  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",
@@ -1748,7 +2047,7 @@ function NavigationMenuTrigger({
1748
2047
  );
1749
2048
  }
1750
2049
  function NavigationMenuLink({ className, ...props }) {
1751
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2050
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1752
2051
  import_navigation_menu2.NavigationMenu.Link,
1753
2052
  {
1754
2053
  "data-slot": "navigation-menu-link",
@@ -1768,7 +2067,7 @@ function NavigationMenuPositioner({
1768
2067
  alignOffset = 0,
1769
2068
  ...props
1770
2069
  }) {
1771
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2070
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1772
2071
  import_navigation_menu2.NavigationMenu.Positioner,
1773
2072
  {
1774
2073
  side,
@@ -1780,24 +2079,24 @@ function NavigationMenuPositioner({
1780
2079
  className
1781
2080
  ),
1782
2081
  ...props,
1783
- 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" }) })
2082
+ 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" }) })
1784
2083
  }
1785
2084
  ) });
1786
2085
  }
1787
2086
 
1788
2087
  // src/primitives/sidebar.tsx
1789
- var React15 = __toESM(require("react"), 1);
2088
+ var React16 = __toESM(require("react"), 1);
1790
2089
  var import_merge_props = require("@base-ui/react/merge-props");
1791
2090
  var import_use_render = require("@base-ui/react/use-render");
1792
2091
  var import_class_variance_authority9 = require("class-variance-authority");
1793
- var import_cn10 = require("cn");
2092
+ var import_cn11 = require("cn");
1794
2093
 
1795
2094
  // src/hooks/use-mobile.tsx
1796
- var React14 = __toESM(require("react"), 1);
2095
+ var React15 = __toESM(require("react"), 1);
1797
2096
  var MOBILE_BREAKPOINT = 768;
1798
2097
  function useIsMobile() {
1799
- const [isMobile, setIsMobile] = React14.useState(void 0);
1800
- React14.useEffect(() => {
2098
+ const [isMobile, setIsMobile] = React15.useState(void 0);
2099
+ React15.useEffect(() => {
1801
2100
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1802
2101
  const onChange = () => {
1803
2102
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1811,15 +2110,15 @@ function useIsMobile() {
1811
2110
 
1812
2111
  // src/primitives/input.tsx
1813
2112
  var import_input = require("@base-ui/react/input");
1814
- var import_cn5 = require("cn");
1815
- var import_jsx_runtime19 = require("react/jsx-runtime");
2113
+ var import_cn7 = require("cn");
2114
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1816
2115
  function Input({ className, type, ...props }) {
1817
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2116
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1818
2117
  import_input.Input,
1819
2118
  {
1820
2119
  type,
1821
2120
  "data-slot": "input",
1822
- className: (0, import_cn5.cn)(
2121
+ className: (0, import_cn7.cn)(
1823
2122
  "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",
1824
2123
  className
1825
2124
  ),
@@ -1830,19 +2129,19 @@ function Input({ className, type, ...props }) {
1830
2129
 
1831
2130
  // src/primitives/separator.tsx
1832
2131
  var import_separator = require("@base-ui/react/separator");
1833
- var import_cn6 = require("cn");
1834
- var import_jsx_runtime20 = require("react/jsx-runtime");
2132
+ var import_cn8 = require("cn");
2133
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1835
2134
  function Separator({
1836
2135
  className,
1837
2136
  orientation = "horizontal",
1838
2137
  ...props
1839
2138
  }) {
1840
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2139
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1841
2140
  import_separator.Separator,
1842
2141
  {
1843
2142
  "data-slot": "separator",
1844
2143
  orientation,
1845
- className: (0, import_cn6.cn)(
2144
+ className: (0, import_cn8.cn)(
1846
2145
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
1847
2146
  className
1848
2147
  ),
@@ -1853,21 +2152,21 @@ function Separator({
1853
2152
 
1854
2153
  // src/primitives/sheet.tsx
1855
2154
  var import_dialog2 = require("@base-ui/react/dialog");
1856
- var import_cn7 = require("cn");
2155
+ var import_cn9 = require("cn");
1857
2156
  var import_lucide_react6 = require("lucide-react");
1858
- var import_jsx_runtime21 = require("react/jsx-runtime");
2157
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1859
2158
  function Sheet({ ...props }) {
1860
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2159
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
1861
2160
  }
1862
2161
  function SheetPortal({ ...props }) {
1863
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2162
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
1864
2163
  }
1865
2164
  function SheetOverlay({ className, ...props }) {
1866
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2165
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1867
2166
  import_dialog2.Dialog.Backdrop,
1868
2167
  {
1869
2168
  "data-slot": "sheet-overlay",
1870
- className: (0, import_cn7.cn)(
2169
+ className: (0, import_cn9.cn)(
1871
2170
  "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",
1872
2171
  className
1873
2172
  ),
@@ -1882,25 +2181,25 @@ function SheetContent({
1882
2181
  showCloseButton = true,
1883
2182
  ...props
1884
2183
  }) {
1885
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(SheetPortal, { children: [
1886
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SheetOverlay, {}),
1887
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2184
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetPortal, { children: [
2185
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetOverlay, {}),
2186
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1888
2187
  import_dialog2.Dialog.Popup,
1889
2188
  {
1890
2189
  "data-slot": "sheet-content",
1891
2190
  "data-side": side,
1892
- className: (0, import_cn7.cn)(
2191
+ className: (0, import_cn9.cn)(
1893
2192
  "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",
1894
2193
  className
1895
2194
  ),
1896
2195
  ...props,
1897
2196
  children: [
1898
2197
  children,
1899
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
2198
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1900
2199
  import_dialog2.Dialog.Close,
1901
2200
  {
1902
2201
  "data-slot": "sheet-close",
1903
- render: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2202
+ render: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1904
2203
  Button,
1905
2204
  {
1906
2205
  variant: "ghost",
@@ -1909,11 +2208,11 @@ function SheetContent({
1909
2208
  }
1910
2209
  ),
1911
2210
  children: [
1912
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2211
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1913
2212
  import_lucide_react6.XIcon,
1914
2213
  {}
1915
2214
  ),
1916
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "sr-only", children: "Close" })
2215
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Close" })
1917
2216
  ]
1918
2217
  }
1919
2218
  )
@@ -1923,21 +2222,21 @@ function SheetContent({
1923
2222
  ] });
1924
2223
  }
1925
2224
  function SheetHeader({ className, ...props }) {
1926
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2225
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1927
2226
  "div",
1928
2227
  {
1929
2228
  "data-slot": "sheet-header",
1930
- className: (0, import_cn7.cn)("flex flex-col gap-0.5 p-4", className),
2229
+ className: (0, import_cn9.cn)("flex flex-col gap-0.5 p-4", className),
1931
2230
  ...props
1932
2231
  }
1933
2232
  );
1934
2233
  }
1935
2234
  function SheetTitle({ className, ...props }) {
1936
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2235
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1937
2236
  import_dialog2.Dialog.Title,
1938
2237
  {
1939
2238
  "data-slot": "sheet-title",
1940
- className: (0, import_cn7.cn)(
2239
+ className: (0, import_cn9.cn)(
1941
2240
  "text-base font-medium text-foreground",
1942
2241
  className
1943
2242
  ),
@@ -1949,88 +2248,42 @@ function SheetDescription({
1949
2248
  className,
1950
2249
  ...props
1951
2250
  }) {
1952
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1953
- import_dialog2.Dialog.Description,
1954
- {
1955
- "data-slot": "sheet-description",
1956
- className: (0, import_cn7.cn)("text-sm text-muted-foreground", className),
1957
- ...props
1958
- }
1959
- );
1960
- }
1961
-
1962
- // src/primitives/skeleton.tsx
1963
- var import_cn8 = require("cn");
1964
- var import_jsx_runtime22 = require("react/jsx-runtime");
1965
- function Skeleton({ className, ...props }) {
1966
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1967
- "div",
1968
- {
1969
- "data-slot": "skeleton",
1970
- className: (0, import_cn8.cn)("animate-pulse rounded-md bg-muted", className),
1971
- ...props
1972
- }
1973
- );
1974
- }
1975
-
1976
- // src/primitives/tooltip.tsx
1977
- var import_tooltip = require("@base-ui/react/tooltip");
1978
- var import_cn9 = require("cn");
1979
- var import_jsx_runtime23 = require("react/jsx-runtime");
1980
- function Tooltip({ ...props }) {
1981
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1982
- }
1983
- function TooltipTrigger({ ...props }) {
1984
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1985
- }
1986
- function TooltipContent({
1987
- className,
1988
- side = "top",
1989
- sideOffset = 4,
1990
- align = "center",
1991
- alignOffset = 0,
1992
- children,
1993
- ...props
1994
- }) {
1995
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1996
- import_tooltip.Tooltip.Positioner,
1997
- {
1998
- align,
1999
- alignOffset,
2000
- side,
2001
- sideOffset,
2002
- className: "isolate z-50",
2003
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2004
- import_tooltip.Tooltip.Popup,
2005
- {
2006
- "data-slot": "tooltip-content",
2007
- className: (0, import_cn9.cn)(
2008
- "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",
2009
- className
2010
- ),
2011
- ...props,
2012
- children: [
2013
- children,
2014
- /* @__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" })
2015
- ]
2016
- }
2017
- )
2251
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2252
+ import_dialog2.Dialog.Description,
2253
+ {
2254
+ "data-slot": "sheet-description",
2255
+ className: (0, import_cn9.cn)("text-sm text-muted-foreground", className),
2256
+ ...props
2018
2257
  }
2019
- ) });
2258
+ );
2259
+ }
2260
+
2261
+ // src/primitives/skeleton.tsx
2262
+ var import_cn10 = require("cn");
2263
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2264
+ function Skeleton({ className, ...props }) {
2265
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2266
+ "div",
2267
+ {
2268
+ "data-slot": "skeleton",
2269
+ className: (0, import_cn10.cn)("animate-pulse rounded-md bg-muted", className),
2270
+ ...props
2271
+ }
2272
+ );
2020
2273
  }
2021
2274
 
2022
2275
  // src/primitives/sidebar.tsx
2023
2276
  var import_lucide_react7 = require("lucide-react");
2024
- var import_jsx_runtime24 = require("react/jsx-runtime");
2277
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2025
2278
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2026
2279
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2027
2280
  var SIDEBAR_WIDTH = "16rem";
2028
2281
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2029
2282
  var SIDEBAR_WIDTH_ICON = "3rem";
2030
2283
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2031
- var SidebarContext = React15.createContext(null);
2284
+ var SidebarContext = React16.createContext(null);
2032
2285
  function useSidebar() {
2033
- const context = React15.useContext(SidebarContext);
2286
+ const context = React16.useContext(SidebarContext);
2034
2287
  if (!context) {
2035
2288
  throw new Error("useSidebar must be used within a SidebarProvider.");
2036
2289
  }
@@ -2046,10 +2299,10 @@ function SidebarProvider({
2046
2299
  ...props
2047
2300
  }) {
2048
2301
  const isMobile = useIsMobile();
2049
- const [openMobile, setOpenMobile] = React15.useState(false);
2050
- const [_open, _setOpen] = React15.useState(defaultOpen);
2302
+ const [openMobile, setOpenMobile] = React16.useState(false);
2303
+ const [_open, _setOpen] = React16.useState(defaultOpen);
2051
2304
  const open = openProp ?? _open;
2052
- const setOpen = React15.useCallback(
2305
+ const setOpen = React16.useCallback(
2053
2306
  (value) => {
2054
2307
  const openState = typeof value === "function" ? value(open) : value;
2055
2308
  if (setOpenProp) {
@@ -2061,10 +2314,10 @@ function SidebarProvider({
2061
2314
  },
2062
2315
  [setOpenProp, open]
2063
2316
  );
2064
- const toggleSidebar = React15.useCallback(() => {
2317
+ const toggleSidebar = React16.useCallback(() => {
2065
2318
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2066
2319
  }, [isMobile, setOpen, setOpenMobile]);
2067
- React15.useEffect(() => {
2320
+ React16.useEffect(() => {
2068
2321
  const handleKeyDown = (event) => {
2069
2322
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2070
2323
  event.preventDefault();
@@ -2075,7 +2328,7 @@ function SidebarProvider({
2075
2328
  return () => window.removeEventListener("keydown", handleKeyDown);
2076
2329
  }, [toggleSidebar]);
2077
2330
  const state = open ? "expanded" : "collapsed";
2078
- const contextValue = React15.useMemo(
2331
+ const contextValue = React16.useMemo(
2079
2332
  () => ({
2080
2333
  state,
2081
2334
  open,
@@ -2087,7 +2340,7 @@ function SidebarProvider({
2087
2340
  }),
2088
2341
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2089
2342
  );
2090
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2343
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2091
2344
  "div",
2092
2345
  {
2093
2346
  "data-slot": "sidebar-wrapper",
@@ -2096,7 +2349,7 @@ function SidebarProvider({
2096
2349
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2097
2350
  ...style
2098
2351
  },
2099
- className: (0, import_cn10.cn)(
2352
+ className: (0, import_cn11.cn)(
2100
2353
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2101
2354
  className
2102
2355
  ),
@@ -2116,11 +2369,11 @@ function Sidebar({
2116
2369
  }) {
2117
2370
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2118
2371
  if (collapsible === "none") {
2119
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2372
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2120
2373
  "div",
2121
2374
  {
2122
2375
  "data-slot": "sidebar",
2123
- className: (0, import_cn10.cn)(
2376
+ className: (0, import_cn11.cn)(
2124
2377
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2125
2378
  className
2126
2379
  ),
@@ -2130,7 +2383,7 @@ function Sidebar({
2130
2383
  );
2131
2384
  }
2132
2385
  if (isMobile) {
2133
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2386
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2134
2387
  SheetContent,
2135
2388
  {
2136
2389
  dir,
@@ -2143,16 +2396,16 @@ function Sidebar({
2143
2396
  },
2144
2397
  side,
2145
2398
  children: [
2146
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetHeader, { className: "sr-only", children: [
2147
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetTitle, { children: "Sidebar" }),
2148
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2399
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SheetHeader, { className: "sr-only", children: [
2400
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetTitle, { children: "Sidebar" }),
2401
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2149
2402
  ] }),
2150
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "flex h-full w-full flex-col", children })
2403
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex h-full w-full flex-col", children })
2151
2404
  ]
2152
2405
  }
2153
2406
  ) });
2154
2407
  }
2155
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2408
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2156
2409
  "div",
2157
2410
  {
2158
2411
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -2162,11 +2415,11 @@ function Sidebar({
2162
2415
  "data-side": side,
2163
2416
  "data-slot": "sidebar",
2164
2417
  children: [
2165
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2418
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2166
2419
  "div",
2167
2420
  {
2168
2421
  "data-slot": "sidebar-gap",
2169
- className: (0, import_cn10.cn)(
2422
+ className: (0, import_cn11.cn)(
2170
2423
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2171
2424
  "group-data-[collapsible=offcanvas]:w-0",
2172
2425
  "group-data-[side=right]:rotate-180",
@@ -2174,19 +2427,19 @@ function Sidebar({
2174
2427
  )
2175
2428
  }
2176
2429
  ),
2177
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2430
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2178
2431
  "div",
2179
2432
  {
2180
2433
  "data-slot": "sidebar-container",
2181
2434
  "data-side": side,
2182
- className: (0, import_cn10.cn)(
2435
+ className: (0, import_cn11.cn)(
2183
2436
  "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",
2184
2437
  // Adjust the padding for floating and inset variants.
2185
2438
  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",
2186
2439
  className
2187
2440
  ),
2188
2441
  ...props,
2189
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2442
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2190
2443
  "div",
2191
2444
  {
2192
2445
  "data-sidebar": "sidebar",
@@ -2207,29 +2460,29 @@ function SidebarTrigger({
2207
2460
  ...props
2208
2461
  }) {
2209
2462
  const { toggleSidebar } = useSidebar();
2210
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2463
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2211
2464
  Button,
2212
2465
  {
2213
2466
  "data-sidebar": "trigger",
2214
2467
  "data-slot": "sidebar-trigger",
2215
2468
  variant: "ghost",
2216
2469
  size: "icon-sm",
2217
- className: (0, import_cn10.cn)(className),
2470
+ className: (0, import_cn11.cn)(className),
2218
2471
  onClick: (event) => {
2219
2472
  onClick?.(event);
2220
2473
  toggleSidebar();
2221
2474
  },
2222
2475
  ...props,
2223
2476
  children: [
2224
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2225
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2477
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2478
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2226
2479
  ]
2227
2480
  }
2228
2481
  );
2229
2482
  }
2230
2483
  function SidebarRail({ className, ...props }) {
2231
2484
  const { toggleSidebar } = useSidebar();
2232
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2485
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2233
2486
  "button",
2234
2487
  {
2235
2488
  "data-sidebar": "rail",
@@ -2238,7 +2491,7 @@ function SidebarRail({ className, ...props }) {
2238
2491
  tabIndex: -1,
2239
2492
  onClick: toggleSidebar,
2240
2493
  title: "Toggle Sidebar",
2241
- className: (0, import_cn10.cn)(
2494
+ className: (0, import_cn11.cn)(
2242
2495
  "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",
2243
2496
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2244
2497
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2252,11 +2505,11 @@ function SidebarRail({ className, ...props }) {
2252
2505
  );
2253
2506
  }
2254
2507
  function SidebarInset({ className, ...props }) {
2255
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2508
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2256
2509
  "main",
2257
2510
  {
2258
2511
  "data-slot": "sidebar-inset",
2259
- className: (0, import_cn10.cn)(
2512
+ className: (0, import_cn11.cn)(
2260
2513
  "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",
2261
2514
  className
2262
2515
  ),
@@ -2268,34 +2521,34 @@ function SidebarInput({
2268
2521
  className,
2269
2522
  ...props
2270
2523
  }) {
2271
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2524
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2272
2525
  Input,
2273
2526
  {
2274
2527
  "data-slot": "sidebar-input",
2275
2528
  "data-sidebar": "input",
2276
- className: (0, import_cn10.cn)("h-8 w-full bg-background shadow-none", className),
2529
+ className: (0, import_cn11.cn)("h-8 w-full bg-background shadow-none", className),
2277
2530
  ...props
2278
2531
  }
2279
2532
  );
2280
2533
  }
2281
2534
  function SidebarHeader({ className, ...props }) {
2282
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2535
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2283
2536
  "div",
2284
2537
  {
2285
2538
  "data-slot": "sidebar-header",
2286
2539
  "data-sidebar": "header",
2287
- className: (0, import_cn10.cn)("flex flex-col gap-2 p-2", className),
2540
+ className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2288
2541
  ...props
2289
2542
  }
2290
2543
  );
2291
2544
  }
2292
2545
  function SidebarFooter({ className, ...props }) {
2293
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2546
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2294
2547
  "div",
2295
2548
  {
2296
2549
  "data-slot": "sidebar-footer",
2297
2550
  "data-sidebar": "footer",
2298
- className: (0, import_cn10.cn)("flex flex-col gap-2 p-2", className),
2551
+ className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2299
2552
  ...props
2300
2553
  }
2301
2554
  );
@@ -2304,23 +2557,23 @@ function SidebarSeparator({
2304
2557
  className,
2305
2558
  ...props
2306
2559
  }) {
2307
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2560
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2308
2561
  Separator,
2309
2562
  {
2310
2563
  "data-slot": "sidebar-separator",
2311
2564
  "data-sidebar": "separator",
2312
- className: (0, import_cn10.cn)("mx-2 w-auto bg-sidebar-border", className),
2565
+ className: (0, import_cn11.cn)("mx-2 w-auto bg-sidebar-border", className),
2313
2566
  ...props
2314
2567
  }
2315
2568
  );
2316
2569
  }
2317
2570
  function SidebarContent({ className, ...props }) {
2318
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2571
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2319
2572
  "div",
2320
2573
  {
2321
2574
  "data-slot": "sidebar-content",
2322
2575
  "data-sidebar": "content",
2323
- className: (0, import_cn10.cn)(
2576
+ className: (0, import_cn11.cn)(
2324
2577
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2325
2578
  className
2326
2579
  ),
@@ -2329,12 +2582,12 @@ function SidebarContent({ className, ...props }) {
2329
2582
  );
2330
2583
  }
2331
2584
  function SidebarGroup({ className, ...props }) {
2332
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2585
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2333
2586
  "div",
2334
2587
  {
2335
2588
  "data-slot": "sidebar-group",
2336
2589
  "data-sidebar": "group",
2337
- className: (0, import_cn10.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2590
+ className: (0, import_cn11.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2338
2591
  ...props
2339
2592
  }
2340
2593
  );
@@ -2348,7 +2601,7 @@ function SidebarGroupLabel({
2348
2601
  defaultTagName: "div",
2349
2602
  props: (0, import_merge_props.mergeProps)(
2350
2603
  {
2351
- className: (0, import_cn10.cn)(
2604
+ className: (0, import_cn11.cn)(
2352
2605
  "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",
2353
2606
  className
2354
2607
  )
@@ -2371,7 +2624,7 @@ function SidebarGroupAction({
2371
2624
  defaultTagName: "button",
2372
2625
  props: (0, import_merge_props.mergeProps)(
2373
2626
  {
2374
- className: (0, import_cn10.cn)(
2627
+ className: (0, import_cn11.cn)(
2375
2628
  "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",
2376
2629
  className
2377
2630
  )
@@ -2389,34 +2642,34 @@ function SidebarGroupContent({
2389
2642
  className,
2390
2643
  ...props
2391
2644
  }) {
2392
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2645
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2393
2646
  "div",
2394
2647
  {
2395
2648
  "data-slot": "sidebar-group-content",
2396
2649
  "data-sidebar": "group-content",
2397
- className: (0, import_cn10.cn)("w-full text-sm", className),
2650
+ className: (0, import_cn11.cn)("w-full text-sm", className),
2398
2651
  ...props
2399
2652
  }
2400
2653
  );
2401
2654
  }
2402
2655
  function SidebarMenu({ className, ...props }) {
2403
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2656
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2404
2657
  "ul",
2405
2658
  {
2406
2659
  "data-slot": "sidebar-menu",
2407
2660
  "data-sidebar": "menu",
2408
- className: (0, import_cn10.cn)("flex w-full min-w-0 flex-col gap-0", className),
2661
+ className: (0, import_cn11.cn)("flex w-full min-w-0 flex-col gap-0", className),
2409
2662
  ...props
2410
2663
  }
2411
2664
  );
2412
2665
  }
2413
2666
  function SidebarMenuItem({ className, ...props }) {
2414
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2667
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2415
2668
  "li",
2416
2669
  {
2417
2670
  "data-slot": "sidebar-menu-item",
2418
2671
  "data-sidebar": "menu-item",
2419
- className: (0, import_cn10.cn)("group/menu-item relative", className),
2672
+ className: (0, import_cn11.cn)("group/menu-item relative", className),
2420
2673
  ...props
2421
2674
  }
2422
2675
  );
@@ -2455,11 +2708,11 @@ function SidebarMenuButton({
2455
2708
  defaultTagName: "button",
2456
2709
  props: (0, import_merge_props.mergeProps)(
2457
2710
  {
2458
- className: (0, import_cn10.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2711
+ className: (0, import_cn11.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2459
2712
  },
2460
2713
  props
2461
2714
  ),
2462
- render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(TooltipTrigger, { render }),
2715
+ render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(TooltipTrigger, { render }),
2463
2716
  state: {
2464
2717
  slot: "sidebar-menu-button",
2465
2718
  sidebar: "menu-button",
@@ -2475,9 +2728,9 @@ function SidebarMenuButton({
2475
2728
  children: tooltip
2476
2729
  };
2477
2730
  }
2478
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Tooltip, { children: [
2731
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Tooltip, { children: [
2479
2732
  comp,
2480
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2733
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2481
2734
  TooltipContent,
2482
2735
  {
2483
2736
  side: "right",
@@ -2498,7 +2751,7 @@ function SidebarMenuAction({
2498
2751
  defaultTagName: "button",
2499
2752
  props: (0, import_merge_props.mergeProps)(
2500
2753
  {
2501
- className: (0, import_cn10.cn)(
2754
+ className: (0, import_cn11.cn)(
2502
2755
  "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",
2503
2756
  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",
2504
2757
  className
@@ -2517,12 +2770,12 @@ function SidebarMenuBadge({
2517
2770
  className,
2518
2771
  ...props
2519
2772
  }) {
2520
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2773
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2521
2774
  "div",
2522
2775
  {
2523
2776
  "data-slot": "sidebar-menu-badge",
2524
2777
  "data-sidebar": "menu-badge",
2525
- className: (0, import_cn10.cn)(
2778
+ className: (0, import_cn11.cn)(
2526
2779
  "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",
2527
2780
  className
2528
2781
  ),
@@ -2535,25 +2788,25 @@ function SidebarMenuSkeleton({
2535
2788
  showIcon = false,
2536
2789
  ...props
2537
2790
  }) {
2538
- const [width] = React15.useState(() => {
2791
+ const [width] = React16.useState(() => {
2539
2792
  return `${Math.floor(Math.random() * 40) + 50}%`;
2540
2793
  });
2541
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2794
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2542
2795
  "div",
2543
2796
  {
2544
2797
  "data-slot": "sidebar-menu-skeleton",
2545
2798
  "data-sidebar": "menu-skeleton",
2546
- className: (0, import_cn10.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2799
+ className: (0, import_cn11.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2547
2800
  ...props,
2548
2801
  children: [
2549
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2802
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2550
2803
  Skeleton,
2551
2804
  {
2552
2805
  className: "size-4 rounded-md",
2553
2806
  "data-sidebar": "menu-skeleton-icon"
2554
2807
  }
2555
2808
  ),
2556
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2809
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2557
2810
  Skeleton,
2558
2811
  {
2559
2812
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2568,12 +2821,12 @@ function SidebarMenuSkeleton({
2568
2821
  );
2569
2822
  }
2570
2823
  function SidebarMenuSub({ className, ...props }) {
2571
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2824
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2572
2825
  "ul",
2573
2826
  {
2574
2827
  "data-slot": "sidebar-menu-sub",
2575
2828
  "data-sidebar": "menu-sub",
2576
- className: (0, import_cn10.cn)(
2829
+ className: (0, import_cn11.cn)(
2577
2830
  "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",
2578
2831
  className
2579
2832
  ),
@@ -2585,12 +2838,12 @@ function SidebarMenuSubItem({
2585
2838
  className,
2586
2839
  ...props
2587
2840
  }) {
2588
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2841
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2589
2842
  "li",
2590
2843
  {
2591
2844
  "data-slot": "sidebar-menu-sub-item",
2592
2845
  "data-sidebar": "menu-sub-item",
2593
- className: (0, import_cn10.cn)("group/menu-sub-item relative", className),
2846
+ className: (0, import_cn11.cn)("group/menu-sub-item relative", className),
2594
2847
  ...props
2595
2848
  }
2596
2849
  );
@@ -2606,7 +2859,7 @@ function SidebarMenuSubButton({
2606
2859
  defaultTagName: "a",
2607
2860
  props: (0, import_merge_props.mergeProps)(
2608
2861
  {
2609
- className: (0, import_cn10.cn)(
2862
+ className: (0, import_cn11.cn)(
2610
2863
  "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",
2611
2864
  className
2612
2865
  )
@@ -2624,7 +2877,7 @@ function SidebarMenuSubButton({
2624
2877
  }
2625
2878
 
2626
2879
  // src/components/sidebar/Sidebar.tsx
2627
- var import_jsx_runtime25 = require("react/jsx-runtime");
2880
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2628
2881
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2629
2882
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2630
2883
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2632,7 +2885,7 @@ function SidebarGroupLabel2({
2632
2885
  className,
2633
2886
  ...props
2634
2887
  }) {
2635
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2888
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2636
2889
  SidebarGroupLabel,
2637
2890
  {
2638
2891
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2645,7 +2898,7 @@ function SidebarProvider2({
2645
2898
  style,
2646
2899
  ...props
2647
2900
  }) {
2648
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2901
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2649
2902
  SidebarProvider,
2650
2903
  {
2651
2904
  className,
@@ -2658,7 +2911,7 @@ function SidebarProvider2({
2658
2911
  );
2659
2912
  }
2660
2913
  function SidebarGroup2({ className, ...props }) {
2661
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2914
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2662
2915
  SidebarGroup,
2663
2916
  {
2664
2917
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2670,7 +2923,7 @@ function SidebarFooter2({
2670
2923
  className,
2671
2924
  ...props
2672
2925
  }) {
2673
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2926
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2674
2927
  SidebarFooter,
2675
2928
  {
2676
2929
  className: cn(
@@ -2685,7 +2938,7 @@ function SidebarHeader2({
2685
2938
  className,
2686
2939
  ...props
2687
2940
  }) {
2688
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2941
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2689
2942
  SidebarHeader,
2690
2943
  {
2691
2944
  className: cn(
@@ -2697,8 +2950,8 @@ function SidebarHeader2({
2697
2950
  );
2698
2951
  }
2699
2952
  function SidebarLogo() {
2700
- 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: [
2701
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2953
+ 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: [
2954
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2702
2955
  BergetLogo,
2703
2956
  {
2704
2957
  variant: "logotype",
@@ -2706,11 +2959,11 @@ function SidebarLogo() {
2706
2959
  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"
2707
2960
  }
2708
2961
  ),
2709
- /* @__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 }) })
2962
+ /* @__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 }) })
2710
2963
  ] }) });
2711
2964
  }
2712
2965
  function SidebarPageHeader({ className, ...props }) {
2713
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2966
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2714
2967
  "header",
2715
2968
  {
2716
2969
  className: cn(
@@ -2722,7 +2975,7 @@ function SidebarPageHeader({ className, ...props }) {
2722
2975
  );
2723
2976
  }
2724
2977
  function SidebarMenuButton2({ className, ...props }) {
2725
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2978
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2726
2979
  SidebarMenuButton,
2727
2980
  {
2728
2981
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -2731,7 +2984,7 @@ function SidebarMenuButton2({ className, ...props }) {
2731
2984
  );
2732
2985
  }
2733
2986
  function SidebarMenuSubButton2({ className, ...props }) {
2734
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2987
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2735
2988
  SidebarMenuSubButton,
2736
2989
  {
2737
2990
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -2741,22 +2994,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
2741
2994
  }
2742
2995
 
2743
2996
  // src/components/table/Table.tsx
2744
- var React16 = __toESM(require("react"), 1);
2997
+ var React17 = __toESM(require("react"), 1);
2745
2998
 
2746
2999
  // src/primitives/table.tsx
2747
- var import_cn11 = require("cn");
2748
- var import_jsx_runtime26 = require("react/jsx-runtime");
3000
+ var import_cn12 = require("cn");
3001
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2749
3002
  function Table({ className, ...props }) {
2750
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3003
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2751
3004
  "div",
2752
3005
  {
2753
3006
  "data-slot": "table-container",
2754
3007
  className: "relative w-full overflow-x-auto",
2755
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3008
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2756
3009
  "table",
2757
3010
  {
2758
3011
  "data-slot": "table",
2759
- className: (0, import_cn11.cn)("w-full caption-bottom text-sm", className),
3012
+ className: (0, import_cn12.cn)("w-full caption-bottom text-sm", className),
2760
3013
  ...props
2761
3014
  }
2762
3015
  )
@@ -2764,31 +3017,31 @@ function Table({ className, ...props }) {
2764
3017
  );
2765
3018
  }
2766
3019
  function TableHeader({ className, ...props }) {
2767
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3020
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2768
3021
  "thead",
2769
3022
  {
2770
3023
  "data-slot": "table-header",
2771
- className: (0, import_cn11.cn)("[&_tr]:border-b", className),
3024
+ className: (0, import_cn12.cn)("[&_tr]:border-b", className),
2772
3025
  ...props
2773
3026
  }
2774
3027
  );
2775
3028
  }
2776
3029
  function TableBody({ className, ...props }) {
2777
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3030
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2778
3031
  "tbody",
2779
3032
  {
2780
3033
  "data-slot": "table-body",
2781
- className: (0, import_cn11.cn)("[&_tr:last-child]:border-0", className),
3034
+ className: (0, import_cn12.cn)("[&_tr:last-child]:border-0", className),
2782
3035
  ...props
2783
3036
  }
2784
3037
  );
2785
3038
  }
2786
3039
  function TableFooter({ className, ...props }) {
2787
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3040
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2788
3041
  "tfoot",
2789
3042
  {
2790
3043
  "data-slot": "table-footer",
2791
- className: (0, import_cn11.cn)(
3044
+ className: (0, import_cn12.cn)(
2792
3045
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
2793
3046
  className
2794
3047
  ),
@@ -2797,11 +3050,11 @@ function TableFooter({ className, ...props }) {
2797
3050
  );
2798
3051
  }
2799
3052
  function TableRow({ className, ...props }) {
2800
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3053
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2801
3054
  "tr",
2802
3055
  {
2803
3056
  "data-slot": "table-row",
2804
- className: (0, import_cn11.cn)(
3057
+ className: (0, import_cn12.cn)(
2805
3058
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
2806
3059
  className
2807
3060
  ),
@@ -2810,11 +3063,11 @@ function TableRow({ className, ...props }) {
2810
3063
  );
2811
3064
  }
2812
3065
  function TableHead({ className, ...props }) {
2813
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3066
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2814
3067
  "th",
2815
3068
  {
2816
3069
  "data-slot": "table-head",
2817
- className: (0, import_cn11.cn)(
3070
+ className: (0, import_cn12.cn)(
2818
3071
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
2819
3072
  className
2820
3073
  ),
@@ -2823,11 +3076,11 @@ function TableHead({ className, ...props }) {
2823
3076
  );
2824
3077
  }
2825
3078
  function TableCell({ className, ...props }) {
2826
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3079
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2827
3080
  "td",
2828
3081
  {
2829
3082
  "data-slot": "table-cell",
2830
- className: (0, import_cn11.cn)(
3083
+ className: (0, import_cn12.cn)(
2831
3084
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
2832
3085
  className
2833
3086
  ),
@@ -2839,23 +3092,23 @@ function TableCaption({
2839
3092
  className,
2840
3093
  ...props
2841
3094
  }) {
2842
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3095
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2843
3096
  "caption",
2844
3097
  {
2845
3098
  "data-slot": "table-caption",
2846
- className: (0, import_cn11.cn)("mt-4 text-sm text-muted-foreground", className),
3099
+ className: (0, import_cn12.cn)("mt-4 text-sm text-muted-foreground", className),
2847
3100
  ...props
2848
3101
  }
2849
3102
  );
2850
3103
  }
2851
3104
 
2852
3105
  // src/components/table/Table.tsx
2853
- var import_jsx_runtime27 = require("react/jsx-runtime");
2854
- var Table2 = React16.forwardRef(
2855
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Table, { ref, className, ...props })
3106
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3107
+ var Table2 = React17.forwardRef(
3108
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Table, { ref, className, ...props })
2856
3109
  );
2857
3110
  Table2.displayName = "Table";
2858
- var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3111
+ var TableHeader2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2859
3112
  TableHeader,
2860
3113
  {
2861
3114
  ref,
@@ -2864,7 +3117,7 @@ var TableHeader2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2864
3117
  }
2865
3118
  ));
2866
3119
  TableHeader2.displayName = "TableHeader";
2867
- var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3120
+ var TableBody2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2868
3121
  TableBody,
2869
3122
  {
2870
3123
  ref,
@@ -2873,7 +3126,7 @@ var TableBody2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2873
3126
  }
2874
3127
  ));
2875
3128
  TableBody2.displayName = "TableBody";
2876
- var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3129
+ var TableFooter2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2877
3130
  TableFooter,
2878
3131
  {
2879
3132
  ref,
@@ -2885,8 +3138,8 @@ var TableFooter2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
2885
3138
  }
2886
3139
  ));
2887
3140
  TableFooter2.displayName = "TableFooter";
2888
- var TableRow2 = React16.forwardRef(
2889
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3141
+ var TableRow2 = React17.forwardRef(
3142
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2890
3143
  TableRow,
2891
3144
  {
2892
3145
  ref,
@@ -2899,7 +3152,7 @@ var TableRow2 = React16.forwardRef(
2899
3152
  )
2900
3153
  );
2901
3154
  TableRow2.displayName = "TableRow";
2902
- var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3155
+ var TableHead2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2903
3156
  TableHead,
2904
3157
  {
2905
3158
  ref,
@@ -2911,7 +3164,7 @@ var TableHead2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2911
3164
  }
2912
3165
  ));
2913
3166
  TableHead2.displayName = "TableHead";
2914
- var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3167
+ var TableCell2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2915
3168
  TableCell,
2916
3169
  {
2917
3170
  ref,
@@ -2920,7 +3173,7 @@ var TableCell2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
2920
3173
  }
2921
3174
  ));
2922
3175
  TableCell2.displayName = "TableCell";
2923
- var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3176
+ var TableCaption2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2924
3177
  TableCaption,
2925
3178
  {
2926
3179
  ref,
@@ -2931,21 +3184,21 @@ var TableCaption2 = React16.forwardRef(({ className, ...props }, ref) => /* @__P
2931
3184
  TableCaption2.displayName = "TableCaption";
2932
3185
 
2933
3186
  // src/components/item/Item.tsx
2934
- var React17 = __toESM(require("react"), 1);
3187
+ var React18 = __toESM(require("react"), 1);
2935
3188
 
2936
3189
  // src/primitives/item.tsx
2937
3190
  var import_merge_props2 = require("@base-ui/react/merge-props");
2938
3191
  var import_use_render2 = require("@base-ui/react/use-render");
2939
3192
  var import_class_variance_authority10 = require("class-variance-authority");
2940
- var import_cn12 = require("cn");
2941
- var import_jsx_runtime28 = require("react/jsx-runtime");
3193
+ var import_cn13 = require("cn");
3194
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2942
3195
  function ItemGroup({ className, ...props }) {
2943
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3196
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2944
3197
  "div",
2945
3198
  {
2946
3199
  role: "list",
2947
3200
  "data-slot": "item-group",
2948
- className: (0, import_cn12.cn)(
3201
+ className: (0, import_cn13.cn)(
2949
3202
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
2950
3203
  className
2951
3204
  ),
@@ -2957,12 +3210,12 @@ function ItemSeparator({
2957
3210
  className,
2958
3211
  ...props
2959
3212
  }) {
2960
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3213
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2961
3214
  Separator,
2962
3215
  {
2963
3216
  "data-slot": "item-separator",
2964
3217
  orientation: "horizontal",
2965
- className: (0, import_cn12.cn)("my-2", className),
3218
+ className: (0, import_cn13.cn)("my-2", className),
2966
3219
  ...props
2967
3220
  }
2968
3221
  );
@@ -2999,7 +3252,7 @@ function Item({
2999
3252
  defaultTagName: "div",
3000
3253
  props: (0, import_merge_props2.mergeProps)(
3001
3254
  {
3002
- className: (0, import_cn12.cn)(itemVariants({ variant, size, className }))
3255
+ className: (0, import_cn13.cn)(itemVariants({ variant, size, className }))
3003
3256
  },
3004
3257
  props
3005
3258
  ),
@@ -3031,22 +3284,22 @@ function ItemMedia({
3031
3284
  variant = "default",
3032
3285
  ...props
3033
3286
  }) {
3034
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3287
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3035
3288
  "div",
3036
3289
  {
3037
3290
  "data-slot": "item-media",
3038
3291
  "data-variant": variant,
3039
- className: (0, import_cn12.cn)(itemMediaVariants({ variant, className })),
3292
+ className: (0, import_cn13.cn)(itemMediaVariants({ variant, className })),
3040
3293
  ...props
3041
3294
  }
3042
3295
  );
3043
3296
  }
3044
3297
  function ItemContent({ className, ...props }) {
3045
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3298
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3046
3299
  "div",
3047
3300
  {
3048
3301
  "data-slot": "item-content",
3049
- className: (0, import_cn12.cn)(
3302
+ className: (0, import_cn13.cn)(
3050
3303
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
3051
3304
  className
3052
3305
  ),
@@ -3055,11 +3308,11 @@ function ItemContent({ className, ...props }) {
3055
3308
  );
3056
3309
  }
3057
3310
  function ItemTitle({ className, ...props }) {
3058
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3311
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3059
3312
  "div",
3060
3313
  {
3061
3314
  "data-slot": "item-title",
3062
- className: (0, import_cn12.cn)(
3315
+ className: (0, import_cn13.cn)(
3063
3316
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
3064
3317
  className
3065
3318
  ),
@@ -3068,11 +3321,11 @@ function ItemTitle({ className, ...props }) {
3068
3321
  );
3069
3322
  }
3070
3323
  function ItemDescription({ className, ...props }) {
3071
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3324
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3072
3325
  "p",
3073
3326
  {
3074
3327
  "data-slot": "item-description",
3075
- className: (0, import_cn12.cn)(
3328
+ className: (0, import_cn13.cn)(
3076
3329
  "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",
3077
3330
  className
3078
3331
  ),
@@ -3081,21 +3334,21 @@ function ItemDescription({ className, ...props }) {
3081
3334
  );
3082
3335
  }
3083
3336
  function ItemActions({ className, ...props }) {
3084
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3337
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3085
3338
  "div",
3086
3339
  {
3087
3340
  "data-slot": "item-actions",
3088
- className: (0, import_cn12.cn)("flex items-center gap-2", className),
3341
+ className: (0, import_cn13.cn)("flex items-center gap-2", className),
3089
3342
  ...props
3090
3343
  }
3091
3344
  );
3092
3345
  }
3093
3346
  function ItemHeader({ className, ...props }) {
3094
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3347
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3095
3348
  "div",
3096
3349
  {
3097
3350
  "data-slot": "item-header",
3098
- className: (0, import_cn12.cn)(
3351
+ className: (0, import_cn13.cn)(
3099
3352
  "flex basis-full items-center justify-between gap-2",
3100
3353
  className
3101
3354
  ),
@@ -3104,11 +3357,11 @@ function ItemHeader({ className, ...props }) {
3104
3357
  );
3105
3358
  }
3106
3359
  function ItemFooter({ className, ...props }) {
3107
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3360
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3108
3361
  "div",
3109
3362
  {
3110
3363
  "data-slot": "item-footer",
3111
- className: (0, import_cn12.cn)(
3364
+ className: (0, import_cn13.cn)(
3112
3365
  "flex basis-full items-center justify-between gap-2",
3113
3366
  className
3114
3367
  ),
@@ -3118,9 +3371,9 @@ function ItemFooter({ className, ...props }) {
3118
3371
  }
3119
3372
 
3120
3373
  // src/components/item/Item.tsx
3121
- var import_jsx_runtime29 = require("react/jsx-runtime");
3374
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3122
3375
  function Item2({ className, asChild, children, ...props }) {
3123
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3376
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3124
3377
  Item,
3125
3378
  {
3126
3379
  render: asChild ? children : void 0,
@@ -3139,8 +3392,8 @@ function Item2({ className, asChild, children, ...props }) {
3139
3392
  }
3140
3393
  );
3141
3394
  }
3142
- var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
3143
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3395
+ var ItemMedia2 = React18.forwardRef(({ className, ...props }, ref) => {
3396
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3144
3397
  ItemMedia,
3145
3398
  {
3146
3399
  ref,
@@ -3150,8 +3403,8 @@ var ItemMedia2 = React17.forwardRef(({ className, ...props }, ref) => {
3150
3403
  );
3151
3404
  });
3152
3405
  ItemMedia2.displayName = "ItemMedia";
3153
- var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
3154
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3406
+ var ItemTitle2 = React18.forwardRef(({ className, ...props }, ref) => {
3407
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3155
3408
  ItemTitle,
3156
3409
  {
3157
3410
  ref,
@@ -3161,8 +3414,8 @@ var ItemTitle2 = React17.forwardRef(({ className, ...props }, ref) => {
3161
3414
  );
3162
3415
  });
3163
3416
  ItemTitle2.displayName = "ItemTitle";
3164
- var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
3165
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3417
+ var ItemDescription2 = React18.forwardRef(({ className, ...props }, ref) => {
3418
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3166
3419
  ItemDescription,
3167
3420
  {
3168
3421
  ref,
@@ -3172,8 +3425,8 @@ var ItemDescription2 = React17.forwardRef(({ className, ...props }, ref) => {
3172
3425
  );
3173
3426
  });
3174
3427
  ItemDescription2.displayName = "ItemDescription";
3175
- var ItemSeparator2 = React17.forwardRef(({ className, ...props }, ref) => {
3176
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3428
+ var ItemSeparator2 = React18.forwardRef(({ className, ...props }, ref) => {
3429
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3177
3430
  ItemSeparator,
3178
3431
  {
3179
3432
  ref,
@@ -3186,22 +3439,22 @@ ItemSeparator2.displayName = "ItemSeparator";
3186
3439
 
3187
3440
  // src/components/search-input/SearchInput.tsx
3188
3441
  var import_lucide_react8 = require("lucide-react");
3189
- var import_jsx_runtime30 = require("react/jsx-runtime");
3442
+ var import_jsx_runtime32 = require("react/jsx-runtime");
3190
3443
  var SearchInput = ({
3191
3444
  type = "search",
3192
3445
  placeholder = "Search...",
3193
3446
  className,
3194
3447
  ref,
3195
3448
  ...props
3196
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3197
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3449
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3450
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3198
3451
  import_lucide_react8.Search,
3199
3452
  {
3200
3453
  "aria-hidden": "true",
3201
3454
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3202
3455
  }
3203
3456
  ),
3204
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3457
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3205
3458
  Input,
3206
3459
  {
3207
3460
  ref,
@@ -3215,32 +3468,32 @@ var SearchInput = ({
3215
3468
  SearchInput.displayName = "SearchInput";
3216
3469
 
3217
3470
  // src/components/checkbox/Checkbox.tsx
3218
- var React18 = __toESM(require("react"), 1);
3471
+ var React19 = __toESM(require("react"), 1);
3219
3472
  var import_checkbox2 = require("@base-ui/react/checkbox");
3220
3473
  var import_lucide_react10 = require("lucide-react");
3221
3474
  var import_class_variance_authority11 = require("class-variance-authority");
3222
3475
 
3223
3476
  // src/primitives/checkbox.tsx
3224
3477
  var import_checkbox = require("@base-ui/react/checkbox");
3225
- var import_cn13 = require("cn");
3478
+ var import_cn14 = require("cn");
3226
3479
  var import_lucide_react9 = require("lucide-react");
3227
- var import_jsx_runtime31 = require("react/jsx-runtime");
3480
+ var import_jsx_runtime33 = require("react/jsx-runtime");
3228
3481
  function Checkbox({ className, ...props }) {
3229
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3482
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3230
3483
  import_checkbox.Checkbox.Root,
3231
3484
  {
3232
3485
  "data-slot": "checkbox",
3233
- className: (0, import_cn13.cn)(
3486
+ className: (0, import_cn14.cn)(
3234
3487
  "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",
3235
3488
  className
3236
3489
  ),
3237
3490
  ...props,
3238
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3491
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3239
3492
  import_checkbox.Checkbox.Indicator,
3240
3493
  {
3241
3494
  "data-slot": "checkbox-indicator",
3242
3495
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3243
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3496
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3244
3497
  import_lucide_react9.CheckIcon,
3245
3498
  {}
3246
3499
  )
@@ -3251,7 +3504,7 @@ function Checkbox({ className, ...props }) {
3251
3504
  }
3252
3505
 
3253
3506
  // src/components/checkbox/Checkbox.tsx
3254
- var import_jsx_runtime32 = require("react/jsx-runtime");
3507
+ var import_jsx_runtime34 = require("react/jsx-runtime");
3255
3508
  var checkboxVariants = (0, import_class_variance_authority11.cva)(
3256
3509
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3257
3510
  {
@@ -3273,7 +3526,7 @@ var checkboxVariants = (0, import_class_variance_authority11.cva)(
3273
3526
  }
3274
3527
  }
3275
3528
  );
3276
- var Checkbox2 = React18.forwardRef(
3529
+ var Checkbox2 = React19.forwardRef(
3277
3530
  ({
3278
3531
  "aria-label": ariaLabel,
3279
3532
  className,
@@ -3286,11 +3539,11 @@ var Checkbox2 = React18.forwardRef(
3286
3539
  disabled,
3287
3540
  ...props
3288
3541
  }, ref) => {
3289
- const generatedId = React18.useId();
3542
+ const generatedId = React19.useId();
3290
3543
  const checkboxId = id || generatedId;
3291
3544
  const errorId = `${checkboxId}-error`;
3292
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-start gap-3", children: [
3293
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3545
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-start gap-3", children: [
3546
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3294
3547
  Checkbox,
3295
3548
  {
3296
3549
  ref,
@@ -3306,7 +3559,7 @@ var Checkbox2 = React18.forwardRef(
3306
3559
  className
3307
3560
  ),
3308
3561
  ...props,
3309
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3562
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3310
3563
  import_lucide_react10.Check,
3311
3564
  {
3312
3565
  className: "h-4 w-4 text-current stroke-current",
@@ -3315,8 +3568,8 @@ var Checkbox2 = React18.forwardRef(
3315
3568
  ) })
3316
3569
  }
3317
3570
  ) }),
3318
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-1", children: [
3319
- label && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3571
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col gap-1", children: [
3572
+ label && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3320
3573
  "label",
3321
3574
  {
3322
3575
  htmlFor: checkboxId,
@@ -3328,8 +3581,8 @@ var Checkbox2 = React18.forwardRef(
3328
3581
  children: label
3329
3582
  }
3330
3583
  ),
3331
- description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3332
- error && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3584
+ description && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3585
+ error && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3333
3586
  ] })
3334
3587
  ] });
3335
3588
  }
@@ -3337,10 +3590,10 @@ var Checkbox2 = React18.forwardRef(
3337
3590
  Checkbox2.displayName = "Checkbox";
3338
3591
 
3339
3592
  // src/components/switch/Switch.tsx
3340
- var React19 = __toESM(require("react"), 1);
3593
+ var React20 = __toESM(require("react"), 1);
3341
3594
  var import_switch = require("@base-ui/react/switch");
3342
3595
  var import_class_variance_authority12 = require("class-variance-authority");
3343
- var import_jsx_runtime33 = require("react/jsx-runtime");
3596
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3344
3597
  var switchRootVariants = (0, import_class_variance_authority12.cva)(
3345
3598
  "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",
3346
3599
  {
@@ -3377,7 +3630,7 @@ var switchThumbVariants = (0, import_class_variance_authority12.cva)(
3377
3630
  }
3378
3631
  }
3379
3632
  );
3380
- var Switch = React19.forwardRef(
3633
+ var Switch = React20.forwardRef(
3381
3634
  ({
3382
3635
  "aria-label": ariaLabel,
3383
3636
  className,
@@ -3390,11 +3643,11 @@ var Switch = React19.forwardRef(
3390
3643
  disabled,
3391
3644
  ...props
3392
3645
  }, ref) => {
3393
- const generatedId = React19.useId();
3646
+ const generatedId = React20.useId();
3394
3647
  const switchId = id || generatedId;
3395
3648
  const errorId = `${switchId}-error`;
3396
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-3", children: [
3397
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3649
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-3", children: [
3650
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3398
3651
  import_switch.Switch.Root,
3399
3652
  {
3400
3653
  ref,
@@ -3409,11 +3662,11 @@ var Switch = React19.forwardRef(
3409
3662
  className
3410
3663
  ),
3411
3664
  ...props,
3412
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3665
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3413
3666
  }
3414
3667
  ),
3415
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-1", children: [
3416
- label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3668
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col gap-1", children: [
3669
+ label && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3417
3670
  "label",
3418
3671
  {
3419
3672
  htmlFor: switchId,
@@ -3424,8 +3677,8 @@ var Switch = React19.forwardRef(
3424
3677
  children: label
3425
3678
  }
3426
3679
  ),
3427
- description && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3428
- error && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3680
+ description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3681
+ error && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3429
3682
  ] })
3430
3683
  ] });
3431
3684
  }
@@ -3434,26 +3687,26 @@ Switch.displayName = "Switch";
3434
3687
 
3435
3688
  // src/primitives/select.tsx
3436
3689
  var import_select = require("@base-ui/react/select");
3437
- var import_cn14 = require("cn");
3690
+ var import_cn15 = require("cn");
3438
3691
  var import_lucide_react11 = require("lucide-react");
3439
- var import_jsx_runtime34 = require("react/jsx-runtime");
3692
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3440
3693
  var Select = import_select.Select.Root;
3441
3694
  function SelectGroup({ className, ...props }) {
3442
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3695
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3443
3696
  import_select.Select.Group,
3444
3697
  {
3445
3698
  "data-slot": "select-group",
3446
- className: (0, import_cn14.cn)("scroll-my-1 p-1", className),
3699
+ className: (0, import_cn15.cn)("scroll-my-1 p-1", className),
3447
3700
  ...props
3448
3701
  }
3449
3702
  );
3450
3703
  }
3451
3704
  function SelectValue({ className, ...props }) {
3452
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3705
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3453
3706
  import_select.Select.Value,
3454
3707
  {
3455
3708
  "data-slot": "select-value",
3456
- className: (0, import_cn14.cn)("flex flex-1 text-left", className),
3709
+ className: (0, import_cn15.cn)("flex flex-1 text-left", className),
3457
3710
  ...props
3458
3711
  }
3459
3712
  );
@@ -3464,22 +3717,22 @@ function SelectTrigger({
3464
3717
  children,
3465
3718
  ...props
3466
3719
  }) {
3467
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3720
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3468
3721
  import_select.Select.Trigger,
3469
3722
  {
3470
3723
  "data-slot": "select-trigger",
3471
3724
  "data-size": size,
3472
- className: (0, import_cn14.cn)(
3725
+ className: (0, import_cn15.cn)(
3473
3726
  "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",
3474
3727
  className
3475
3728
  ),
3476
3729
  ...props,
3477
3730
  children: [
3478
3731
  children,
3479
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3732
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3480
3733
  import_select.Select.Icon,
3481
3734
  {
3482
- render: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3735
+ render: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3483
3736
  }
3484
3737
  )
3485
3738
  ]
@@ -3496,7 +3749,7 @@ function SelectContent({
3496
3749
  alignItemWithTrigger = true,
3497
3750
  ...props
3498
3751
  }) {
3499
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3752
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3500
3753
  import_select.Select.Positioner,
3501
3754
  {
3502
3755
  side,
@@ -3505,17 +3758,17 @@ function SelectContent({
3505
3758
  alignOffset,
3506
3759
  alignItemWithTrigger,
3507
3760
  className: "isolate z-50",
3508
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3761
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3509
3762
  import_select.Select.Popup,
3510
3763
  {
3511
3764
  "data-slot": "select-content",
3512
3765
  "data-align-trigger": alignItemWithTrigger,
3513
- 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),
3766
+ 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),
3514
3767
  ...props,
3515
3768
  children: [
3516
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollUpButton, {}),
3517
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.List, { children }),
3518
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollDownButton, {})
3769
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SelectScrollUpButton, {}),
3770
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.List, { children }),
3771
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SelectScrollDownButton, {})
3519
3772
  ]
3520
3773
  }
3521
3774
  )
@@ -3526,11 +3779,11 @@ function SelectLabel({
3526
3779
  className,
3527
3780
  ...props
3528
3781
  }) {
3529
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3782
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3530
3783
  import_select.Select.GroupLabel,
3531
3784
  {
3532
3785
  "data-slot": "select-label",
3533
- className: (0, import_cn14.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3786
+ className: (0, import_cn15.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3534
3787
  ...props
3535
3788
  }
3536
3789
  );
@@ -3540,22 +3793,22 @@ function SelectItem({
3540
3793
  children,
3541
3794
  ...props
3542
3795
  }) {
3543
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3796
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3544
3797
  import_select.Select.Item,
3545
3798
  {
3546
3799
  "data-slot": "select-item",
3547
- className: (0, import_cn14.cn)(
3800
+ className: (0, import_cn15.cn)(
3548
3801
  "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",
3549
3802
  className
3550
3803
  ),
3551
3804
  ...props,
3552
3805
  children: [
3553
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3554
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3806
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3807
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3555
3808
  import_select.Select.ItemIndicator,
3556
3809
  {
3557
- render: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3558
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3810
+ render: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3811
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3559
3812
  }
3560
3813
  )
3561
3814
  ]
@@ -3566,11 +3819,11 @@ function SelectSeparator({
3566
3819
  className,
3567
3820
  ...props
3568
3821
  }) {
3569
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3822
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3570
3823
  import_select.Select.Separator,
3571
3824
  {
3572
3825
  "data-slot": "select-separator",
3573
- className: (0, import_cn14.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3826
+ className: (0, import_cn15.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3574
3827
  ...props
3575
3828
  }
3576
3829
  );
@@ -3579,16 +3832,16 @@ function SelectScrollUpButton({
3579
3832
  className,
3580
3833
  ...props
3581
3834
  }) {
3582
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3835
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3583
3836
  import_select.Select.ScrollUpArrow,
3584
3837
  {
3585
3838
  "data-slot": "select-scroll-up-button",
3586
- className: (0, import_cn14.cn)(
3839
+ className: (0, import_cn15.cn)(
3587
3840
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3588
3841
  className
3589
3842
  ),
3590
3843
  ...props,
3591
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3844
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3592
3845
  import_lucide_react11.ChevronUpIcon,
3593
3846
  {}
3594
3847
  )
@@ -3599,16 +3852,16 @@ function SelectScrollDownButton({
3599
3852
  className,
3600
3853
  ...props
3601
3854
  }) {
3602
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3855
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3603
3856
  import_select.Select.ScrollDownArrow,
3604
3857
  {
3605
3858
  "data-slot": "select-scroll-down-button",
3606
- className: (0, import_cn14.cn)(
3859
+ className: (0, import_cn15.cn)(
3607
3860
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
3608
3861
  className
3609
3862
  ),
3610
3863
  ...props,
3611
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3864
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3612
3865
  import_lucide_react11.ChevronDownIcon,
3613
3866
  {}
3614
3867
  )
@@ -3617,18 +3870,19 @@ function SelectScrollDownButton({
3617
3870
  }
3618
3871
 
3619
3872
  // src/components/country-select/CountrySelect.tsx
3620
- var React21 = __toESM(require("react"), 1);
3873
+ var React22 = __toESM(require("react"), 1);
3621
3874
  var import_lucide_react14 = require("lucide-react");
3622
3875
 
3623
3876
  // src/components/icon/Icon.tsx
3624
- var React20 = __toESM(require("react"), 1);
3625
- var import_jsx_runtime35 = require("react/jsx-runtime");
3877
+ var React21 = __toESM(require("react"), 1);
3878
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3626
3879
  var iconStrokeMap = {
3880
+ 12: 1.4,
3627
3881
  16: 1.4,
3628
3882
  24: 1.6,
3629
3883
  32: 1.8
3630
3884
  };
3631
- var Icon = React20.forwardRef(
3885
+ var Icon = React21.forwardRef(
3632
3886
  ({
3633
3887
  icon: IconComponent,
3634
3888
  size,
@@ -3638,9 +3892,9 @@ var Icon = React20.forwardRef(
3638
3892
  ...props
3639
3893
  }, ref) => {
3640
3894
  const strokeWidth = iconStrokeMap[size];
3641
- const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3895
+ const sizeClass = size === 12 ? "w-3 h-3" : size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
3642
3896
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
3643
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3897
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3644
3898
  IconComponent,
3645
3899
  {
3646
3900
  ref,
@@ -3656,13 +3910,13 @@ Icon.displayName = "Icon";
3656
3910
 
3657
3911
  // src/primitives/popover.tsx
3658
3912
  var import_popover = require("@base-ui/react/popover");
3659
- var import_cn15 = require("cn");
3660
- var import_jsx_runtime36 = require("react/jsx-runtime");
3913
+ var import_cn16 = require("cn");
3914
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3661
3915
  function Popover({ ...props }) {
3662
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
3916
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
3663
3917
  }
3664
3918
  function PopoverTrigger({ ...props }) {
3665
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
3919
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
3666
3920
  }
3667
3921
  function PopoverContent({
3668
3922
  className,
@@ -3672,7 +3926,7 @@ function PopoverContent({
3672
3926
  sideOffset = 4,
3673
3927
  ...props
3674
3928
  }) {
3675
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3929
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3676
3930
  import_popover.Popover.Positioner,
3677
3931
  {
3678
3932
  align,
@@ -3680,11 +3934,11 @@ function PopoverContent({
3680
3934
  side,
3681
3935
  sideOffset,
3682
3936
  className: "isolate z-50",
3683
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3937
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3684
3938
  import_popover.Popover.Popup,
3685
3939
  {
3686
3940
  "data-slot": "popover-content",
3687
- className: (0, import_cn15.cn)(
3941
+ className: (0, import_cn16.cn)(
3688
3942
  "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",
3689
3943
  className
3690
3944
  ),
@@ -3697,27 +3951,27 @@ function PopoverContent({
3697
3951
 
3698
3952
  // src/primitives/command.tsx
3699
3953
  var import_cmdk = require("cmdk");
3700
- var import_cn19 = require("cn");
3954
+ var import_cn20 = require("cn");
3701
3955
 
3702
3956
  // src/primitives/dialog.tsx
3703
3957
  var import_dialog3 = require("@base-ui/react/dialog");
3704
- var import_cn16 = require("cn");
3958
+ var import_cn17 = require("cn");
3705
3959
  var import_lucide_react12 = require("lucide-react");
3706
- var import_jsx_runtime37 = require("react/jsx-runtime");
3960
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3707
3961
 
3708
3962
  // src/primitives/input-group.tsx
3709
3963
  var import_class_variance_authority13 = require("class-variance-authority");
3710
- var import_cn18 = require("cn");
3964
+ var import_cn19 = require("cn");
3711
3965
 
3712
3966
  // src/primitives/textarea.tsx
3713
- var import_cn17 = require("cn");
3714
- var import_jsx_runtime38 = require("react/jsx-runtime");
3967
+ var import_cn18 = require("cn");
3968
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3715
3969
  function Textarea({ className, ...props }) {
3716
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3970
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3717
3971
  "textarea",
3718
3972
  {
3719
3973
  "data-slot": "textarea",
3720
- className: (0, import_cn17.cn)(
3974
+ className: (0, import_cn18.cn)(
3721
3975
  "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",
3722
3976
  className
3723
3977
  ),
@@ -3727,14 +3981,14 @@ function Textarea({ className, ...props }) {
3727
3981
  }
3728
3982
 
3729
3983
  // src/primitives/input-group.tsx
3730
- var import_jsx_runtime39 = require("react/jsx-runtime");
3984
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3731
3985
  function InputGroup({ className, ...props }) {
3732
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3986
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3733
3987
  "div",
3734
3988
  {
3735
3989
  "data-slot": "input-group",
3736
3990
  role: "group",
3737
- className: (0, import_cn18.cn)(
3991
+ className: (0, import_cn19.cn)(
3738
3992
  "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",
3739
3993
  className
3740
3994
  ),
@@ -3763,13 +4017,13 @@ function InputGroupAddon({
3763
4017
  align = "inline-start",
3764
4018
  ...props
3765
4019
  }) {
3766
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4020
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3767
4021
  "div",
3768
4022
  {
3769
4023
  role: "group",
3770
4024
  "data-slot": "input-group-addon",
3771
4025
  "data-align": align,
3772
- className: (0, import_cn18.cn)(inputGroupAddonVariants({ align }), className),
4026
+ className: (0, import_cn19.cn)(inputGroupAddonVariants({ align }), className),
3773
4027
  onClick: (e) => {
3774
4028
  if (e.target.closest("button")) {
3775
4029
  return;
@@ -3799,16 +4053,16 @@ var inputGroupButtonVariants = (0, import_class_variance_authority13.cva)(
3799
4053
 
3800
4054
  // src/primitives/command.tsx
3801
4055
  var import_lucide_react13 = require("lucide-react");
3802
- var import_jsx_runtime40 = require("react/jsx-runtime");
4056
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3803
4057
  function Command({
3804
4058
  className,
3805
4059
  ...props
3806
4060
  }) {
3807
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4061
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3808
4062
  import_cmdk.Command,
3809
4063
  {
3810
4064
  "data-slot": "command",
3811
- className: (0, import_cn19.cn)(
4065
+ className: (0, import_cn20.cn)(
3812
4066
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
3813
4067
  className
3814
4068
  ),
@@ -3820,30 +4074,30 @@ function CommandInput({
3820
4074
  className,
3821
4075
  ...props
3822
4076
  }) {
3823
- 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: [
3824
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4077
+ 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: [
4078
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3825
4079
  import_cmdk.Command.Input,
3826
4080
  {
3827
4081
  "data-slot": "command-input",
3828
- className: (0, import_cn19.cn)(
4082
+ className: (0, import_cn20.cn)(
3829
4083
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
3830
4084
  className
3831
4085
  ),
3832
4086
  ...props
3833
4087
  }
3834
4088
  ),
3835
- /* @__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" }) })
4089
+ /* @__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" }) })
3836
4090
  ] }) });
3837
4091
  }
3838
4092
  function CommandList({
3839
4093
  className,
3840
4094
  ...props
3841
4095
  }) {
3842
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4096
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3843
4097
  import_cmdk.Command.List,
3844
4098
  {
3845
4099
  "data-slot": "command-list",
3846
- className: (0, import_cn19.cn)(
4100
+ className: (0, import_cn20.cn)(
3847
4101
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
3848
4102
  className
3849
4103
  ),
@@ -3855,11 +4109,11 @@ function CommandEmpty({
3855
4109
  className,
3856
4110
  ...props
3857
4111
  }) {
3858
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4112
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3859
4113
  import_cmdk.Command.Empty,
3860
4114
  {
3861
4115
  "data-slot": "command-empty",
3862
- className: (0, import_cn19.cn)("py-6 text-center text-sm", className),
4116
+ className: (0, import_cn20.cn)("py-6 text-center text-sm", className),
3863
4117
  ...props
3864
4118
  }
3865
4119
  );
@@ -3868,11 +4122,11 @@ function CommandGroup({
3868
4122
  className,
3869
4123
  ...props
3870
4124
  }) {
3871
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4125
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3872
4126
  import_cmdk.Command.Group,
3873
4127
  {
3874
4128
  "data-slot": "command-group",
3875
- className: (0, import_cn19.cn)(
4129
+ className: (0, import_cn20.cn)(
3876
4130
  "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",
3877
4131
  className
3878
4132
  ),
@@ -3885,18 +4139,18 @@ function CommandItem({
3885
4139
  children,
3886
4140
  ...props
3887
4141
  }) {
3888
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
4142
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3889
4143
  import_cmdk.Command.Item,
3890
4144
  {
3891
4145
  "data-slot": "command-item",
3892
- className: (0, import_cn19.cn)(
4146
+ className: (0, import_cn20.cn)(
3893
4147
  "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",
3894
4148
  className
3895
4149
  ),
3896
4150
  ...props,
3897
4151
  children: [
3898
4152
  children,
3899
- /* @__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" })
4153
+ /* @__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" })
3900
4154
  ]
3901
4155
  }
3902
4156
  );
@@ -4044,8 +4298,8 @@ var isEUCountry = (countryCode) => {
4044
4298
  };
4045
4299
 
4046
4300
  // src/components/country-select/CountrySelect.tsx
4047
- var import_jsx_runtime41 = require("react/jsx-runtime");
4048
- var CountrySelect = React21.forwardRef(
4301
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4302
+ var CountrySelect = React22.forwardRef(
4049
4303
  ({
4050
4304
  value,
4051
4305
  onValueChange,
@@ -4055,14 +4309,14 @@ var CountrySelect = React21.forwardRef(
4055
4309
  align = "center",
4056
4310
  sideOffset = 4
4057
4311
  }, ref) => {
4058
- const [open, setOpen] = React21.useState(false);
4059
- const selectedCountry = React21.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4060
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4061
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4312
+ const [open, setOpen] = React22.useState(false);
4313
+ const selectedCountry = React22.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4314
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4315
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4062
4316
  PopoverTrigger,
4063
4317
  {
4064
4318
  ref,
4065
- render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4319
+ render: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4066
4320
  "button",
4067
4321
  {
4068
4322
  type: "button",
@@ -4084,16 +4338,16 @@ var CountrySelect = React21.forwardRef(
4084
4338
  }
4085
4339
  ),
4086
4340
  children: [
4087
- /* @__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: [
4088
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4089
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4090
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4341
+ /* @__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: [
4342
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4343
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4344
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4091
4345
  "(",
4092
4346
  selectedCountry.code,
4093
4347
  ")"
4094
4348
  ] })
4095
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
4096
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4349
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
4350
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4097
4351
  Icon,
4098
4352
  {
4099
4353
  icon: import_lucide_react14.Globe,
@@ -4101,9 +4355,9 @@ var CountrySelect = React21.forwardRef(
4101
4355
  className: "flex-shrink-0 text-berget-muted-foreground"
4102
4356
  }
4103
4357
  ),
4104
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4358
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4105
4359
  ] }) }),
4106
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4360
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4107
4361
  Icon,
4108
4362
  {
4109
4363
  icon: import_lucide_react14.ChevronDown,
@@ -4118,17 +4372,17 @@ var CountrySelect = React21.forwardRef(
4118
4372
  ]
4119
4373
  }
4120
4374
  ),
4121
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4375
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4122
4376
  PopoverContent,
4123
4377
  {
4124
4378
  align,
4125
4379
  sideOffset,
4126
4380
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4127
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Command, { children: [
4128
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandInput, { placeholder: "Search country..." }),
4129
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CommandList, { children: [
4130
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandEmpty, { children: "No countries found." }),
4131
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4381
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Command, { children: [
4382
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandInput, { placeholder: "Search country..." }),
4383
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(CommandList, { children: [
4384
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandEmpty, { children: "No countries found." }),
4385
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4132
4386
  CommandItem,
4133
4387
  {
4134
4388
  value: `${country.name} ${country.code}`,
@@ -4142,12 +4396,12 @@ var CountrySelect = React21.forwardRef(
4142
4396
  value === country.code && "bg-berget-brand-granite-800/40"
4143
4397
  ),
4144
4398
  children: [
4145
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4146
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-1 min-w-0", children: [
4147
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "text-sm truncate", children: country.name }),
4148
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4399
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4400
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex-1 min-w-0", children: [
4401
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "text-sm truncate", children: country.name }),
4402
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4149
4403
  ] }),
4150
- 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" })
4404
+ 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" })
4151
4405
  ]
4152
4406
  },
4153
4407
  country.code
@@ -4162,14 +4416,14 @@ var CountrySelect = React21.forwardRef(
4162
4416
  CountrySelect.displayName = "CountrySelect";
4163
4417
 
4164
4418
  // src/primitives/label.tsx
4165
- var import_cn20 = require("cn");
4166
- var import_jsx_runtime42 = require("react/jsx-runtime");
4419
+ var import_cn21 = require("cn");
4420
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4167
4421
  function Label({ className, ...props }) {
4168
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4422
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4169
4423
  "label",
4170
4424
  {
4171
4425
  "data-slot": "label",
4172
- className: (0, import_cn20.cn)(
4426
+ className: (0, import_cn21.cn)(
4173
4427
  "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",
4174
4428
  className
4175
4429
  ),
@@ -4181,14 +4435,14 @@ function Label({ className, ...props }) {
4181
4435
  // src/primitives/field.tsx
4182
4436
  var import_react = require("react");
4183
4437
  var import_class_variance_authority14 = require("class-variance-authority");
4184
- var import_cn21 = require("cn");
4185
- var import_jsx_runtime43 = require("react/jsx-runtime");
4438
+ var import_cn22 = require("cn");
4439
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4186
4440
  function FieldSet({ className, ...props }) {
4187
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4441
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4188
4442
  "fieldset",
4189
4443
  {
4190
4444
  "data-slot": "field-set",
4191
- className: (0, import_cn21.cn)(
4445
+ className: (0, import_cn22.cn)(
4192
4446
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4193
4447
  className
4194
4448
  ),
@@ -4201,12 +4455,12 @@ function FieldLegend({
4201
4455
  variant = "legend",
4202
4456
  ...props
4203
4457
  }) {
4204
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4458
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4205
4459
  "legend",
4206
4460
  {
4207
4461
  "data-slot": "field-legend",
4208
4462
  "data-variant": variant,
4209
- className: (0, import_cn21.cn)(
4463
+ className: (0, import_cn22.cn)(
4210
4464
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4211
4465
  className
4212
4466
  ),
@@ -4215,11 +4469,11 @@ function FieldLegend({
4215
4469
  );
4216
4470
  }
4217
4471
  function FieldGroup({ className, ...props }) {
4218
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4472
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4219
4473
  "div",
4220
4474
  {
4221
4475
  "data-slot": "field-group",
4222
- className: (0, import_cn21.cn)(
4476
+ className: (0, import_cn22.cn)(
4223
4477
  "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",
4224
4478
  className
4225
4479
  ),
@@ -4247,23 +4501,23 @@ function Field({
4247
4501
  orientation = "vertical",
4248
4502
  ...props
4249
4503
  }) {
4250
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4504
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4251
4505
  "div",
4252
4506
  {
4253
4507
  role: "group",
4254
4508
  "data-slot": "field",
4255
4509
  "data-orientation": orientation,
4256
- className: (0, import_cn21.cn)(fieldVariants({ orientation }), className),
4510
+ className: (0, import_cn22.cn)(fieldVariants({ orientation }), className),
4257
4511
  ...props
4258
4512
  }
4259
4513
  );
4260
4514
  }
4261
4515
  function FieldContent({ className, ...props }) {
4262
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4516
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4263
4517
  "div",
4264
4518
  {
4265
4519
  "data-slot": "field-content",
4266
- className: (0, import_cn21.cn)(
4520
+ className: (0, import_cn22.cn)(
4267
4521
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4268
4522
  className
4269
4523
  ),
@@ -4275,11 +4529,11 @@ function FieldLabel({
4275
4529
  className,
4276
4530
  ...props
4277
4531
  }) {
4278
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4532
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4279
4533
  Label,
4280
4534
  {
4281
4535
  "data-slot": "field-label",
4282
- className: (0, import_cn21.cn)(
4536
+ className: (0, import_cn22.cn)(
4283
4537
  "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",
4284
4538
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4285
4539
  className
@@ -4289,11 +4543,11 @@ function FieldLabel({
4289
4543
  );
4290
4544
  }
4291
4545
  function FieldTitle({ className, ...props }) {
4292
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4546
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4293
4547
  "div",
4294
4548
  {
4295
4549
  "data-slot": "field-label",
4296
- className: (0, import_cn21.cn)(
4550
+ className: (0, import_cn22.cn)(
4297
4551
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4298
4552
  className
4299
4553
  ),
@@ -4302,11 +4556,11 @@ function FieldTitle({ className, ...props }) {
4302
4556
  );
4303
4557
  }
4304
4558
  function FieldDescription({ className, ...props }) {
4305
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4559
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4306
4560
  "p",
4307
4561
  {
4308
4562
  "data-slot": "field-description",
4309
- className: (0, import_cn21.cn)(
4563
+ className: (0, import_cn22.cn)(
4310
4564
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4311
4565
  "last:mt-0 nth-last-2:-mt-1",
4312
4566
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4321,19 +4575,19 @@ function FieldSeparator({
4321
4575
  className,
4322
4576
  ...props
4323
4577
  }) {
4324
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4578
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4325
4579
  "div",
4326
4580
  {
4327
4581
  "data-slot": "field-separator",
4328
4582
  "data-content": !!children,
4329
- className: (0, import_cn21.cn)(
4583
+ className: (0, import_cn22.cn)(
4330
4584
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4331
4585
  className
4332
4586
  ),
4333
4587
  ...props,
4334
4588
  children: [
4335
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4336
- children && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4589
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4590
+ children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4337
4591
  "span",
4338
4592
  {
4339
4593
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4364,19 +4618,19 @@ function FieldError({
4364
4618
  if (uniqueErrors?.length == 1) {
4365
4619
  return uniqueErrors[0]?.message;
4366
4620
  }
4367
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4368
- (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: error.message }, index)
4621
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4622
+ (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("li", { children: error.message }, index)
4369
4623
  ) });
4370
4624
  }, [children, errors]);
4371
4625
  if (!content) {
4372
4626
  return null;
4373
4627
  }
4374
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4628
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4375
4629
  "div",
4376
4630
  {
4377
4631
  role: "alert",
4378
4632
  "data-slot": "field-error",
4379
- className: (0, import_cn21.cn)("text-sm font-normal text-destructive", className),
4633
+ className: (0, import_cn22.cn)("text-sm font-normal text-destructive", className),
4380
4634
  ...props,
4381
4635
  children: content
4382
4636
  }
@@ -4384,10 +4638,10 @@ function FieldError({
4384
4638
  }
4385
4639
 
4386
4640
  // src/components/link/Link.tsx
4387
- var React22 = __toESM(require("react"), 1);
4641
+ var React23 = __toESM(require("react"), 1);
4388
4642
  var import_class_variance_authority15 = require("class-variance-authority");
4389
4643
  var import_lucide_react15 = require("lucide-react");
4390
- var import_jsx_runtime44 = require("react/jsx-runtime");
4644
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4391
4645
  var linkVariants = (0, import_class_variance_authority15.cva)(
4392
4646
  "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",
4393
4647
  {
@@ -4412,7 +4666,7 @@ var linkVariants = (0, import_class_variance_authority15.cva)(
4412
4666
  }
4413
4667
  }
4414
4668
  );
4415
- var Link = React22.forwardRef(
4669
+ var Link = React23.forwardRef(
4416
4670
  ({
4417
4671
  className,
4418
4672
  variant,
@@ -4425,7 +4679,7 @@ var Link = React22.forwardRef(
4425
4679
  ...props
4426
4680
  }, ref) => {
4427
4681
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
4428
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4682
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4429
4683
  "a",
4430
4684
  {
4431
4685
  ref,
@@ -4441,8 +4695,8 @@ var Link = React22.forwardRef(
4441
4695
  },
4442
4696
  children: [
4443
4697
  children,
4444
- icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "inline-flex items-center", children: icon }),
4445
- 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 }) })
4698
+ icon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "inline-flex items-center", children: icon }),
4699
+ 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 }) })
4446
4700
  ]
4447
4701
  }
4448
4702
  );
@@ -4451,7 +4705,7 @@ var Link = React22.forwardRef(
4451
4705
  Link.displayName = "Link";
4452
4706
 
4453
4707
  // src/components/container/Container.tsx
4454
- var React23 = __toESM(require("react"), 1);
4708
+ var React24 = __toESM(require("react"), 1);
4455
4709
  var import_merge_props3 = require("@base-ui/react/merge-props");
4456
4710
  var import_use_render3 = require("@base-ui/react/use-render");
4457
4711
  var import_class_variance_authority16 = require("class-variance-authority");
@@ -4476,7 +4730,7 @@ var containerVariants = (0, import_class_variance_authority16.cva)("w-full mx-au
4476
4730
  padding: "md"
4477
4731
  }
4478
4732
  });
4479
- var Container = React23.forwardRef(
4733
+ var Container = React24.forwardRef(
4480
4734
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4481
4735
  return (0, import_use_render3.useRender)({
4482
4736
  ref,
@@ -4495,7 +4749,7 @@ var Container = React23.forwardRef(
4495
4749
  Container.displayName = "Container";
4496
4750
 
4497
4751
  // src/components/grid/Grid.tsx
4498
- var React24 = __toESM(require("react"), 1);
4752
+ var React25 = __toESM(require("react"), 1);
4499
4753
  var import_class_variance_authority17 = require("class-variance-authority");
4500
4754
  var import_merge_props4 = require("@base-ui/react/merge-props");
4501
4755
  var import_use_render4 = require("@base-ui/react/use-render");
@@ -4521,7 +4775,7 @@ var gridVariants = (0, import_class_variance_authority17.cva)("grid", {
4521
4775
  justify: "start"
4522
4776
  }
4523
4777
  });
4524
- var Grid = React24.forwardRef(
4778
+ var Grid = React25.forwardRef(
4525
4779
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4526
4780
  return (0, import_use_render4.useRender)({
4527
4781
  ref,
@@ -4548,7 +4802,7 @@ var Grid = React24.forwardRef(
4548
4802
  Grid.displayName = "Grid";
4549
4803
 
4550
4804
  // src/components/box/Box.tsx
4551
- var React25 = __toESM(require("react"), 1);
4805
+ var React26 = __toESM(require("react"), 1);
4552
4806
  var import_class_variance_authority18 = require("class-variance-authority");
4553
4807
  var import_merge_props5 = require("@base-ui/react/merge-props");
4554
4808
  var import_use_render5 = require("@base-ui/react/use-render");
@@ -4588,7 +4842,7 @@ var boxVariants = (0, import_class_variance_authority18.cva)("flex", {
4588
4842
  wrap: "nowrap"
4589
4843
  }
4590
4844
  });
4591
- var Box = React25.forwardRef(
4845
+ var Box = React26.forwardRef(
4592
4846
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
4593
4847
  return (0, import_use_render5.useRender)({
4594
4848
  ref,
@@ -4611,23 +4865,23 @@ var Box = React25.forwardRef(
4611
4865
  Box.displayName = "Box";
4612
4866
 
4613
4867
  // src/components/language-select/LanguageSelect.tsx
4614
- var React26 = __toESM(require("react"), 1);
4868
+ var React27 = __toESM(require("react"), 1);
4615
4869
  var import_lucide_react16 = require("lucide-react");
4616
- var import_jsx_runtime45 = require("react/jsx-runtime");
4617
- var LanguageSelect = React26.forwardRef(
4870
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4871
+ var LanguageSelect = React27.forwardRef(
4618
4872
  ({ className, options, value, onValueChange }, ref) => {
4619
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(DropdownMenu, { children: [
4620
- /* @__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: [
4621
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "sr-only", children: "Select language" }),
4622
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
4873
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenu, { children: [
4874
+ /* @__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: [
4875
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "sr-only", children: "Select language" }),
4876
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
4623
4877
  ] }) }),
4624
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DropdownMenuContent, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4878
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4625
4879
  DropdownMenuRadioGroup,
4626
4880
  {
4627
4881
  value,
4628
4882
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
4629
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4630
- DropdownMenuRadioItem,
4883
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4884
+ DropdownMenuRadioItem2,
4631
4885
  {
4632
4886
  value: option.value,
4633
4887
  disabled: option.disabled,
@@ -4644,12 +4898,12 @@ var LanguageSelect = React26.forwardRef(
4644
4898
  LanguageSelect.displayName = "LanguageSelect";
4645
4899
 
4646
4900
  // src/components/list/List.tsx
4647
- var React28 = __toESM(require("react"), 1);
4901
+ var React29 = __toESM(require("react"), 1);
4648
4902
 
4649
4903
  // src/components/divider/Divider.tsx
4650
- var React27 = __toESM(require("react"), 1);
4904
+ var React28 = __toESM(require("react"), 1);
4651
4905
  var import_class_variance_authority19 = require("class-variance-authority");
4652
- var import_jsx_runtime46 = require("react/jsx-runtime");
4906
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4653
4907
  var dividerVariants = (0, import_class_variance_authority19.cva)("", {
4654
4908
  variants: {
4655
4909
  variant: {
@@ -4670,7 +4924,7 @@ var dividerVariants = (0, import_class_variance_authority19.cva)("", {
4670
4924
  size: "thin"
4671
4925
  }
4672
4926
  });
4673
- var Divider = React27.forwardRef(
4927
+ var Divider = React28.forwardRef(
4674
4928
  ({
4675
4929
  className,
4676
4930
  orientation = "horizontal",
@@ -4681,16 +4935,16 @@ var Divider = React27.forwardRef(
4681
4935
  ...props
4682
4936
  }, ref) => {
4683
4937
  if (label) {
4684
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4685
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4938
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
4939
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4686
4940
  Separator,
4687
4941
  {
4688
4942
  orientation: "horizontal",
4689
4943
  className: cn(dividerVariants({ variant, size }), "flex-1")
4690
4944
  }
4691
4945
  ),
4692
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4693
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4946
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
4947
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4694
4948
  Separator,
4695
4949
  {
4696
4950
  orientation: "horizontal",
@@ -4699,7 +4953,7 @@ var Divider = React27.forwardRef(
4699
4953
  )
4700
4954
  ] });
4701
4955
  }
4702
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4956
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4703
4957
  Separator,
4704
4958
  {
4705
4959
  ref,
@@ -4717,19 +4971,19 @@ Divider.displayName = "Divider";
4717
4971
 
4718
4972
  // src/components/list/List.tsx
4719
4973
  var import_lucide_react17 = require("lucide-react");
4720
- var import_jsx_runtime47 = require("react/jsx-runtime");
4721
- var List = React28.forwardRef(
4974
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4975
+ var List = React29.forwardRef(
4722
4976
  ({ className, children, ...props }, ref) => {
4723
- const childrenArray = React28.Children.toArray(children);
4724
- 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: [
4977
+ const childrenArray = React29.Children.toArray(children);
4978
+ 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: [
4725
4979
  child,
4726
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Divider, { variant: "subtle" })
4980
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Divider, { variant: "subtle" })
4727
4981
  ] }, index)) });
4728
4982
  }
4729
4983
  );
4730
4984
  List.displayName = "List";
4731
- var ListItem = React28.forwardRef(
4732
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4985
+ var ListItem = React29.forwardRef(
4986
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4733
4987
  "div",
4734
4988
  {
4735
4989
  ref,
@@ -4740,15 +4994,15 @@ var ListItem = React28.forwardRef(
4740
4994
  ),
4741
4995
  ...props,
4742
4996
  children: [
4743
- icon && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4744
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-1 min-w-0", children })
4997
+ icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
4998
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-1 min-w-0", children })
4745
4999
  ]
4746
5000
  }
4747
5001
  )
4748
5002
  );
4749
5003
  ListItem.displayName = "ListItem";
4750
- var ListHeader = React28.forwardRef(
4751
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5004
+ var ListHeader = React29.forwardRef(
5005
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4752
5006
  "div",
4753
5007
  {
4754
5008
  ref,
@@ -4759,11 +5013,11 @@ var ListHeader = React28.forwardRef(
4759
5013
  )
4760
5014
  );
4761
5015
  ListHeader.displayName = "ListHeader";
4762
- var FeatureList = React28.forwardRef(
5016
+ var FeatureList = React29.forwardRef(
4763
5017
  ({ items, variant = "bullet", className, ...props }, ref) => {
4764
- 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: [
4765
- 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" }) }),
4766
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Typography, { variant: "body", color: "muted", children: item })
5018
+ 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: [
5019
+ 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" }) }),
5020
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typography, { variant: "body", color: "muted", children: item })
4767
5021
  ] }, index)) });
4768
5022
  }
4769
5023
  );
@@ -4812,7 +5066,7 @@ function getHighlighter() {
4812
5066
  }
4813
5067
 
4814
5068
  // src/components/code-block/CodeBlock.tsx
4815
- var import_jsx_runtime48 = require("react/jsx-runtime");
5069
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4816
5070
  function CodeBlock({ code, language = "text", title, className }) {
4817
5071
  const [html, setHtml] = (0, import_react2.useState)(null);
4818
5072
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -4828,16 +5082,16 @@ function CodeBlock({ code, language = "text", title, className }) {
4828
5082
  setCopied(true);
4829
5083
  setTimeout(() => setCopied(false), 2e3);
4830
5084
  }, [code]);
4831
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5085
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4832
5086
  "button",
4833
5087
  {
4834
5088
  onClick: handleCopy,
4835
5089
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
4836
5090
  "aria-label": "Copy code",
4837
- 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" })
5091
+ 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" })
4838
5092
  }
4839
5093
  );
4840
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5094
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4841
5095
  "div",
4842
5096
  {
4843
5097
  className: cn(
@@ -4845,25 +5099,25 @@ function CodeBlock({ code, language = "text", title, className }) {
4845
5099
  className
4846
5100
  ),
4847
5101
  children: [
4848
- 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 }) }),
4849
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4850
- html ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5102
+ 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 }) }),
5103
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5104
+ html ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4851
5105
  "div",
4852
5106
  {
4853
5107
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
4854
5108
  dangerouslySetInnerHTML: { __html: html }
4855
5109
  }
4856
- ) : /* @__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 }) })
5110
+ ) : /* @__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 }) })
4857
5111
  ]
4858
5112
  }
4859
5113
  );
4860
5114
  }
4861
5115
 
4862
5116
  // src/components/window-frame/WindowFrame.tsx
4863
- var React29 = __toESM(require("react"), 1);
5117
+ var React30 = __toESM(require("react"), 1);
4864
5118
  var import_react3 = require("react");
4865
- var import_jsx_runtime49 = require("react/jsx-runtime");
4866
- var WindowFrame = React29.forwardRef(
5119
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5120
+ var WindowFrame = React30.forwardRef(
4867
5121
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
4868
5122
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
4869
5123
  const currentTab = activeTab ?? internalActive;
@@ -4874,7 +5128,7 @@ var WindowFrame = React29.forwardRef(
4874
5128
  setInternalActive(id);
4875
5129
  }
4876
5130
  };
4877
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5131
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4878
5132
  "div",
4879
5133
  {
4880
5134
  ref,
@@ -4884,13 +5138,13 @@ var WindowFrame = React29.forwardRef(
4884
5138
  ),
4885
5139
  ...props,
4886
5140
  children: [
4887
- /* @__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: [
4888
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
4889
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
4890
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
4891
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5141
+ /* @__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: [
5142
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5143
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5144
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5145
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
4892
5146
  ] }),
4893
- 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)(
5147
+ 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)(
4894
5148
  "button",
4895
5149
  {
4896
5150
  type: "button",
@@ -4902,9 +5156,9 @@ var WindowFrame = React29.forwardRef(
4902
5156
  children: tab.label
4903
5157
  },
4904
5158
  tab.id
4905
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5159
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4906
5160
  ] }),
4907
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children })
5161
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { children })
4908
5162
  ]
4909
5163
  }
4910
5164
  );
@@ -4914,7 +5168,7 @@ WindowFrame.displayName = "WindowFrame";
4914
5168
 
4915
5169
  // src/components/fog-illustration/FogIllustration.tsx
4916
5170
  var import_react4 = require("react");
4917
- var import_jsx_runtime50 = require("react/jsx-runtime");
5171
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4918
5172
  var FOG_BRAND_PALETTE = {
4919
5173
  ink: "#171a1a",
4920
5174
  milk: "#f7f5ed",
@@ -5227,7 +5481,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5227
5481
  gl.deleteFramebuffer(fbo);
5228
5482
  };
5229
5483
  }, []);
5230
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5484
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5231
5485
  };
5232
5486
  // Annotate the CommonJS export names for ESM import in node:
5233
5487
  0 && (module.exports = {
@@ -5377,6 +5631,10 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5377
5631
  Textarea,
5378
5632
  ThemeProvider,
5379
5633
  ThemeToggle,
5634
+ Tooltip,
5635
+ TooltipContent,
5636
+ TooltipProvider,
5637
+ TooltipTrigger,
5380
5638
  Typography,
5381
5639
  WindowFrame,
5382
5640
  alertVariants,