@nerds-with-charisma/revit-ui 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1401,6 +1401,7 @@ import {
1401
1401
  FormProvider,
1402
1402
  useFormContext
1403
1403
  } from "react-hook-form";
1404
+ import { useForm } from "react-hook-form";
1404
1405
  import { jsx as jsx76 } from "react/jsx-runtime";
1405
1406
  var Form = FormProvider;
1406
1407
  var FormFieldContext = createContext({});
@@ -1429,35 +1430,44 @@ var useFormField = () => {
1429
1430
  };
1430
1431
  };
1431
1432
 
1432
- // src/components/form-item.tsx
1433
- import { useId } from "react";
1434
- import { jsx as jsx77 } from "react/jsx-runtime";
1435
- var FormItem = ({ className, ...props }) => {
1436
- const id = useId();
1437
- return /* @__PURE__ */ jsx77(FormItemContext, { value: { id }, children: /* @__PURE__ */ jsx77("div", { "data-id": "FormItem", className: cn("flex flex-col gap-2", className), ...props }) });
1438
- };
1439
-
1440
- // src/components/form-label.tsx
1441
- import { jsx as jsx78 } from "react/jsx-runtime";
1442
- var FormLabel = ({ className, ...props }) => {
1443
- const { error, formItemId } = useFormField();
1444
- return /* @__PURE__ */ jsx78(
1445
- Label2,
1446
- {
1447
- "data-id": "FormLabel",
1448
- htmlFor: formItemId,
1449
- className: cn(error && "text-destructive", className),
1450
- ...props
1451
- }
1452
- );
1433
+ // src/components/password-input.tsx
1434
+ import { Eye, EyeOff } from "lucide-react";
1435
+ import { useState } from "react";
1436
+ import { jsx as jsx77, jsxs as jsxs11 } from "react/jsx-runtime";
1437
+ var PasswordInput = ({
1438
+ className,
1439
+ showPasswordToggle = true,
1440
+ ...props
1441
+ }) => {
1442
+ const [isVisible, isVisibleSetter] = useState(false);
1443
+ return /* @__PURE__ */ jsxs11("div", { className: "relative", "data-id": "PasswordInput", children: [
1444
+ /* @__PURE__ */ jsx77(
1445
+ Input,
1446
+ {
1447
+ type: isVisible ? "text" : "password",
1448
+ className: cn(showPasswordToggle && "pr-12", className),
1449
+ ...props
1450
+ }
1451
+ ),
1452
+ showPasswordToggle ? /* @__PURE__ */ jsx77(
1453
+ "button",
1454
+ {
1455
+ type: "button",
1456
+ className: "absolute top-1/2 right-4 -translate-y-1/2 text-muted-foreground hover:text-foreground",
1457
+ "aria-label": isVisible ? "Hide password" : "Show password",
1458
+ onClick: () => isVisibleSetter((current) => !current),
1459
+ children: isVisible ? /* @__PURE__ */ jsx77(EyeOff, { className: "size-5" }) : /* @__PURE__ */ jsx77(Eye, { className: "size-5" })
1460
+ }
1461
+ ) : null
1462
+ ] });
1453
1463
  };
1454
1464
 
1455
1465
  // src/components/form-control.tsx
1456
1466
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1457
- import { jsx as jsx79 } from "react/jsx-runtime";
1467
+ import { jsx as jsx78 } from "react/jsx-runtime";
1458
1468
  var FormControl = ({ ...props }) => {
1459
1469
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1460
- return /* @__PURE__ */ jsx79(
1470
+ return /* @__PURE__ */ jsx78(
1461
1471
  Slot3,
1462
1472
  {
1463
1473
  "data-id": "FormControl",
@@ -1470,10 +1480,10 @@ var FormControl = ({ ...props }) => {
1470
1480
  };
1471
1481
 
1472
1482
  // src/components/form-description.tsx
1473
- import { jsx as jsx80 } from "react/jsx-runtime";
1483
+ import { jsx as jsx79 } from "react/jsx-runtime";
1474
1484
  var FormDescription = ({ className, ...props }) => {
1475
1485
  const { formDescriptionId } = useFormField();
1476
- return /* @__PURE__ */ jsx80(
1486
+ return /* @__PURE__ */ jsx79(
1477
1487
  "p",
1478
1488
  {
1479
1489
  "data-id": "FormDescription",
@@ -1484,15 +1494,38 @@ var FormDescription = ({ className, ...props }) => {
1484
1494
  );
1485
1495
  };
1486
1496
 
1487
- // src/components/form-message.tsx
1497
+ // src/components/form-item.tsx
1498
+ import { useId } from "react";
1499
+ import { jsx as jsx80 } from "react/jsx-runtime";
1500
+ var FormItem = ({ className, ...props }) => {
1501
+ const id = useId();
1502
+ return /* @__PURE__ */ jsx80(FormItemContext, { value: { id }, children: /* @__PURE__ */ jsx80("div", { "data-id": "FormItem", className: cn("flex flex-col gap-2", className), ...props }) });
1503
+ };
1504
+
1505
+ // src/components/form-label.tsx
1488
1506
  import { jsx as jsx81 } from "react/jsx-runtime";
1507
+ var FormLabel = ({ className, ...props }) => {
1508
+ const { error, formItemId } = useFormField();
1509
+ return /* @__PURE__ */ jsx81(
1510
+ Label2,
1511
+ {
1512
+ "data-id": "FormLabel",
1513
+ htmlFor: formItemId,
1514
+ className: cn(error && "text-destructive", className),
1515
+ ...props
1516
+ }
1517
+ );
1518
+ };
1519
+
1520
+ // src/components/form-message.tsx
1521
+ import { jsx as jsx82 } from "react/jsx-runtime";
1489
1522
  var FormMessage = ({ className, children, ...props }) => {
1490
1523
  const { error, formMessageId } = useFormField();
1491
1524
  const body = error ? String(error.message ?? "") : children;
1492
1525
  if (!body) {
1493
1526
  return null;
1494
1527
  }
1495
- return /* @__PURE__ */ jsx81(
1528
+ return /* @__PURE__ */ jsx82(
1496
1529
  "p",
1497
1530
  {
1498
1531
  "data-id": "FormMessage",
@@ -1504,11 +1537,154 @@ var FormMessage = ({ className, children, ...props }) => {
1504
1537
  );
1505
1538
  };
1506
1539
 
1540
+ // src/components/revit-form.tsx
1541
+ import { jsx as jsx83, jsxs as jsxs12 } from "react/jsx-runtime";
1542
+ var RevitFormFieldControl = ({
1543
+ field,
1544
+ config
1545
+ }) => {
1546
+ switch (config.type) {
1547
+ case "input":
1548
+ return /* @__PURE__ */ jsx83(
1549
+ Input,
1550
+ {
1551
+ placeholder: config.placeholder,
1552
+ ...config.inputProps,
1553
+ name: field.name,
1554
+ value: field.value ?? "",
1555
+ onBlur: field.onBlur,
1556
+ onChange: field.onChange
1557
+ }
1558
+ );
1559
+ case "password":
1560
+ return /* @__PURE__ */ jsx83(
1561
+ PasswordInput,
1562
+ {
1563
+ placeholder: config.placeholder,
1564
+ showPasswordToggle: config.showPasswordToggle ?? true,
1565
+ ...config.inputProps,
1566
+ name: field.name,
1567
+ value: field.value ?? "",
1568
+ onBlur: field.onBlur,
1569
+ onChange: field.onChange
1570
+ }
1571
+ );
1572
+ case "textarea":
1573
+ return /* @__PURE__ */ jsx83(
1574
+ Textarea,
1575
+ {
1576
+ placeholder: config.placeholder,
1577
+ ...config.textareaProps,
1578
+ name: field.name,
1579
+ value: field.value ?? "",
1580
+ onBlur: field.onBlur,
1581
+ onChange: field.onChange
1582
+ }
1583
+ );
1584
+ case "checkbox":
1585
+ return /* @__PURE__ */ jsx83(
1586
+ Checkbox,
1587
+ {
1588
+ checked: Boolean(field.value),
1589
+ name: field.name,
1590
+ onBlur: field.onBlur,
1591
+ onCheckedChange: field.onChange
1592
+ }
1593
+ );
1594
+ case "switch":
1595
+ return /* @__PURE__ */ jsx83(
1596
+ Switch,
1597
+ {
1598
+ checked: Boolean(field.value),
1599
+ name: field.name,
1600
+ onBlur: field.onBlur,
1601
+ onCheckedChange: field.onChange
1602
+ }
1603
+ );
1604
+ case "select":
1605
+ return /* @__PURE__ */ jsxs12(Select, { onValueChange: field.onChange, value: field.value ?? "", children: [
1606
+ /* @__PURE__ */ jsx83(FormControl, { children: /* @__PURE__ */ jsx83(SelectTrigger, { children: /* @__PURE__ */ jsx83(SelectValue, { placeholder: config.placeholder }) }) }),
1607
+ /* @__PURE__ */ jsx83(SelectContent, { children: config.options.map((option, index) => /* @__PURE__ */ jsx83(SelectItem, { value: option.value, children: option.label }, `${config.name}-${option.value}--${index}`)) })
1608
+ ] });
1609
+ case "radio":
1610
+ return /* @__PURE__ */ jsx83(RadioGroup, { onValueChange: field.onChange, value: field.value ?? "", children: config.options.map((option, index) => {
1611
+ const optionId = `${config.name}-${option.value}--${index}`;
1612
+ return /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2", children: [
1613
+ /* @__PURE__ */ jsx83(RadioGroupItem, { id: optionId, value: option.value }),
1614
+ /* @__PURE__ */ jsx83(Label2, { htmlFor: optionId, children: option.label })
1615
+ ] }, optionId);
1616
+ }) });
1617
+ default:
1618
+ return null;
1619
+ }
1620
+ };
1621
+ var isInlineField = (type) => type === "checkbox" || type === "switch";
1622
+ var RevitFormFieldLabel = ({ config }) => {
1623
+ if (config.type !== "password" || !config.forgotPassword) {
1624
+ return /* @__PURE__ */ jsx83(FormLabel, { children: config.label });
1625
+ }
1626
+ const forgotLabel = config.forgotPassword.label ?? "Forgot Password?";
1627
+ const linkClassName = "text-sm font-normal text-muted-foreground hover:text-foreground";
1628
+ return /* @__PURE__ */ jsxs12("div", { className: "flex items-center justify-between", children: [
1629
+ /* @__PURE__ */ jsx83(FormLabel, { className: "mb-0", children: config.label }),
1630
+ config.forgotPassword.href ? /* @__PURE__ */ jsx83("a", { className: linkClassName, href: config.forgotPassword.href, children: forgotLabel }) : /* @__PURE__ */ jsx83("button", { className: linkClassName, type: "button", onClick: config.forgotPassword.onClick, children: forgotLabel })
1631
+ ] });
1632
+ };
1633
+ var RevitForm = ({
1634
+ className,
1635
+ defaultValues,
1636
+ fieldClassName,
1637
+ fields,
1638
+ hideSubmit = false,
1639
+ onSubmit,
1640
+ resolver,
1641
+ submitLabel = "Submit"
1642
+ }) => {
1643
+ const form = useForm({
1644
+ defaultValues,
1645
+ resolver
1646
+ });
1647
+ return /* @__PURE__ */ jsx83(Form, { ...form, children: /* @__PURE__ */ jsxs12(
1648
+ "form",
1649
+ {
1650
+ className: cn("flex flex-col gap-4", className),
1651
+ "data-id": "RevitForm",
1652
+ onSubmit: form.handleSubmit(onSubmit),
1653
+ children: [
1654
+ fields.map((config) => /* @__PURE__ */ jsx83(
1655
+ FormField,
1656
+ {
1657
+ control: form.control,
1658
+ name: config.name,
1659
+ render: ({ field }) => /* @__PURE__ */ jsxs12(
1660
+ FormItem,
1661
+ {
1662
+ className: cn(isInlineField(config.type) && "flex flex-row items-center gap-3 space-y-0", fieldClassName),
1663
+ children: [
1664
+ !isInlineField(config.type) ? /* @__PURE__ */ jsx83(RevitFormFieldLabel, { config }) : null,
1665
+ config.type === "select" ? /* @__PURE__ */ jsx83(RevitFormFieldControl, { config, field }) : /* @__PURE__ */ jsx83(FormControl, { children: /* @__PURE__ */ jsx83(RevitFormFieldControl, { config, field }) }),
1666
+ isInlineField(config.type) ? /* @__PURE__ */ jsxs12("div", { className: "space-y-1 leading-none", children: [
1667
+ /* @__PURE__ */ jsx83(FormLabel, { className: "font-normal", children: config.label }),
1668
+ config.description ? /* @__PURE__ */ jsx83(FormDescription, { children: config.description }) : null
1669
+ ] }) : config.description ? /* @__PURE__ */ jsx83(FormDescription, { children: config.description }) : null,
1670
+ /* @__PURE__ */ jsx83(FormMessage, {})
1671
+ ]
1672
+ }
1673
+ )
1674
+ },
1675
+ config.name
1676
+ )),
1677
+ !hideSubmit ? /* @__PURE__ */ jsx83(Button, { type: "submit", children: submitLabel }) : null
1678
+ ]
1679
+ }
1680
+ ) });
1681
+ };
1682
+
1507
1683
  // src/components/toaster.tsx
1508
1684
  import { Toaster as SonnerToaster, toast } from "sonner";
1509
- import { jsx as jsx82 } from "react/jsx-runtime";
1685
+ import { jsx as jsx84 } from "react/jsx-runtime";
1510
1686
  var Toaster = ({ ...props }) => {
1511
- return /* @__PURE__ */ jsx82(
1687
+ return /* @__PURE__ */ jsx84(
1512
1688
  SonnerToaster,
1513
1689
  {
1514
1690
  "data-id": "Toaster",
@@ -1529,9 +1705,9 @@ var Toaster = ({ ...props }) => {
1529
1705
 
1530
1706
  // src/components/command.tsx
1531
1707
  import { Command as CommandPrimitive } from "cmdk";
1532
- import { jsx as jsx83 } from "react/jsx-runtime";
1708
+ import { jsx as jsx85 } from "react/jsx-runtime";
1533
1709
  var Command = ({ className, ...props }) => {
1534
- return /* @__PURE__ */ jsx83(
1710
+ return /* @__PURE__ */ jsx85(
1535
1711
  CommandPrimitive,
1536
1712
  {
1537
1713
  "data-id": "Command",
@@ -1547,11 +1723,11 @@ var Command = ({ className, ...props }) => {
1547
1723
  // src/components/command-input.tsx
1548
1724
  import { Command as CommandPrimitive2 } from "cmdk";
1549
1725
  import { Search } from "lucide-react";
1550
- import { jsx as jsx84, jsxs as jsxs11 } from "react/jsx-runtime";
1726
+ import { jsx as jsx86, jsxs as jsxs13 } from "react/jsx-runtime";
1551
1727
  var CommandInput = ({ className, ...props }) => {
1552
- return /* @__PURE__ */ jsxs11("div", { className: "flex items-center border-b border-border px-3", "data-id": "CommandInputWrap", children: [
1553
- /* @__PURE__ */ jsx84(Search, { className: "mr-2 size-4 shrink-0 opacity-50" }),
1554
- /* @__PURE__ */ jsx84(
1728
+ return /* @__PURE__ */ jsxs13("div", { className: "flex items-center border-b border-border px-3", "data-id": "CommandInputWrap", children: [
1729
+ /* @__PURE__ */ jsx86(Search, { className: "mr-2 size-4 shrink-0 opacity-50" }),
1730
+ /* @__PURE__ */ jsx86(
1555
1731
  CommandPrimitive2.Input,
1556
1732
  {
1557
1733
  "data-id": "CommandInput",
@@ -1567,9 +1743,9 @@ var CommandInput = ({ className, ...props }) => {
1567
1743
 
1568
1744
  // src/components/command-list.tsx
1569
1745
  import { Command as CommandPrimitive3 } from "cmdk";
1570
- import { jsx as jsx85 } from "react/jsx-runtime";
1746
+ import { jsx as jsx87 } from "react/jsx-runtime";
1571
1747
  var CommandList = ({ className, ...props }) => {
1572
- return /* @__PURE__ */ jsx85(
1748
+ return /* @__PURE__ */ jsx87(
1573
1749
  CommandPrimitive3.List,
1574
1750
  {
1575
1751
  "data-id": "CommandList",
@@ -1581,9 +1757,9 @@ var CommandList = ({ className, ...props }) => {
1581
1757
 
1582
1758
  // src/components/command-empty.tsx
1583
1759
  import { Command as CommandPrimitive4 } from "cmdk";
1584
- import { jsx as jsx86 } from "react/jsx-runtime";
1760
+ import { jsx as jsx88 } from "react/jsx-runtime";
1585
1761
  var CommandEmpty = ({ className, ...props }) => {
1586
- return /* @__PURE__ */ jsx86(
1762
+ return /* @__PURE__ */ jsx88(
1587
1763
  CommandPrimitive4.Empty,
1588
1764
  {
1589
1765
  "data-id": "CommandEmpty",
@@ -1595,9 +1771,9 @@ var CommandEmpty = ({ className, ...props }) => {
1595
1771
 
1596
1772
  // src/components/command-group.tsx
1597
1773
  import { Command as CommandPrimitive5 } from "cmdk";
1598
- import { jsx as jsx87 } from "react/jsx-runtime";
1774
+ import { jsx as jsx89 } from "react/jsx-runtime";
1599
1775
  var CommandGroup = ({ className, ...props }) => {
1600
- return /* @__PURE__ */ jsx87(
1776
+ return /* @__PURE__ */ jsx89(
1601
1777
  CommandPrimitive5.Group,
1602
1778
  {
1603
1779
  "data-id": "CommandGroup",
@@ -1612,9 +1788,9 @@ var CommandGroup = ({ className, ...props }) => {
1612
1788
 
1613
1789
  // src/components/command-item.tsx
1614
1790
  import { Command as CommandPrimitive6 } from "cmdk";
1615
- import { jsx as jsx88 } from "react/jsx-runtime";
1791
+ import { jsx as jsx90 } from "react/jsx-runtime";
1616
1792
  var CommandItem = ({ className, ...props }) => {
1617
- return /* @__PURE__ */ jsx88(
1793
+ return /* @__PURE__ */ jsx90(
1618
1794
  CommandPrimitive6.Item,
1619
1795
  {
1620
1796
  "data-id": "CommandItem",
@@ -1628,9 +1804,9 @@ var CommandItem = ({ className, ...props }) => {
1628
1804
  };
1629
1805
 
1630
1806
  // src/components/combobox.tsx
1631
- import { useState } from "react";
1807
+ import { useState as useState2 } from "react";
1632
1808
  import { Check as Check3, ChevronsUpDown } from "lucide-react";
1633
- import { jsx as jsx89, jsxs as jsxs12 } from "react/jsx-runtime";
1809
+ import { jsx as jsx91, jsxs as jsxs14 } from "react/jsx-runtime";
1634
1810
  var Combobox = ({
1635
1811
  options,
1636
1812
  value,
@@ -1639,10 +1815,10 @@ var Combobox = ({
1639
1815
  emptyText = "No results.",
1640
1816
  className
1641
1817
  }) => {
1642
- const [open, openSetter] = useState(false);
1818
+ const [open, openSetter] = useState2(false);
1643
1819
  const selected = options.find((option) => option.value === value);
1644
- return /* @__PURE__ */ jsxs12(Popover, { open, onOpenChange: openSetter, children: [
1645
- /* @__PURE__ */ jsx89(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs12(
1820
+ return /* @__PURE__ */ jsxs14(Popover, { open, onOpenChange: openSetter, children: [
1821
+ /* @__PURE__ */ jsx91(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs14(
1646
1822
  Button,
1647
1823
  {
1648
1824
  "data-id": "Combobox",
@@ -1652,15 +1828,15 @@ var Combobox = ({
1652
1828
  className: cn("w-full justify-between normal-case tracking-normal", className),
1653
1829
  children: [
1654
1830
  selected?.label ?? placeholder,
1655
- /* @__PURE__ */ jsx89(ChevronsUpDown, { className: "size-4 opacity-50" })
1831
+ /* @__PURE__ */ jsx91(ChevronsUpDown, { className: "size-4 opacity-50" })
1656
1832
  ]
1657
1833
  }
1658
1834
  ) }),
1659
- /* @__PURE__ */ jsx89(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] p-0", children: /* @__PURE__ */ jsxs12(Command, { children: [
1660
- /* @__PURE__ */ jsx89(CommandInput, { placeholder }),
1661
- /* @__PURE__ */ jsxs12(CommandList, { children: [
1662
- /* @__PURE__ */ jsx89(CommandEmpty, { children: emptyText }),
1663
- options.map((option) => /* @__PURE__ */ jsxs12(
1835
+ /* @__PURE__ */ jsx91(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] p-0", children: /* @__PURE__ */ jsxs14(Command, { children: [
1836
+ /* @__PURE__ */ jsx91(CommandInput, { placeholder }),
1837
+ /* @__PURE__ */ jsxs14(CommandList, { children: [
1838
+ /* @__PURE__ */ jsx91(CommandEmpty, { children: emptyText }),
1839
+ options.map((option) => /* @__PURE__ */ jsxs14(
1664
1840
  CommandItem,
1665
1841
  {
1666
1842
  value: option.value,
@@ -1669,7 +1845,7 @@ var Combobox = ({
1669
1845
  openSetter(false);
1670
1846
  },
1671
1847
  children: [
1672
- /* @__PURE__ */ jsx89(Check3, { className: cn("mr-2 size-4", value === option.value ? "opacity-100" : "opacity-0") }),
1848
+ /* @__PURE__ */ jsx91(Check3, { className: cn("mr-2 size-4", value === option.value ? "opacity-100" : "opacity-0") }),
1673
1849
  option.label
1674
1850
  ]
1675
1851
  },
@@ -1696,9 +1872,9 @@ var overlayPanel = `z-50 overflow-hidden rounded-lg border border-border bg-popo
1696
1872
  var menuItem = `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`;
1697
1873
 
1698
1874
  // src/components/context-menu-content.tsx
1699
- import { jsx as jsx90 } from "react/jsx-runtime";
1875
+ import { jsx as jsx92 } from "react/jsx-runtime";
1700
1876
  var ContextMenuContent = ({ className, ...props }) => {
1701
- return /* @__PURE__ */ jsx90(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx90(
1877
+ return /* @__PURE__ */ jsx92(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx92(
1702
1878
  ContextMenuPrimitive3.Content,
1703
1879
  {
1704
1880
  "data-id": "ContextMenuContent",
@@ -1710,9 +1886,9 @@ var ContextMenuContent = ({ className, ...props }) => {
1710
1886
 
1711
1887
  // src/components/context-menu-item.tsx
1712
1888
  import * as ContextMenuPrimitive4 from "@radix-ui/react-context-menu";
1713
- import { jsx as jsx91 } from "react/jsx-runtime";
1889
+ import { jsx as jsx93 } from "react/jsx-runtime";
1714
1890
  var ContextMenuItem = ({ className, ...props }) => {
1715
- return /* @__PURE__ */ jsx91(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
1891
+ return /* @__PURE__ */ jsx93(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
1716
1892
  };
1717
1893
 
1718
1894
  // src/components/alert-dialog.tsx
@@ -1728,9 +1904,9 @@ import * as AlertDialogPrimitive4 from "@radix-ui/react-alert-dialog";
1728
1904
 
1729
1905
  // src/components/alert-dialog-overlay.tsx
1730
1906
  import * as AlertDialogPrimitive3 from "@radix-ui/react-alert-dialog";
1731
- import { jsx as jsx92 } from "react/jsx-runtime";
1907
+ import { jsx as jsx94 } from "react/jsx-runtime";
1732
1908
  var AlertDialogOverlay = ({ className, ...props }) => {
1733
- return /* @__PURE__ */ jsx92(
1909
+ return /* @__PURE__ */ jsx94(
1734
1910
  AlertDialogPrimitive3.Overlay,
1735
1911
  {
1736
1912
  "data-id": "AlertDialogOverlay",
@@ -1744,11 +1920,11 @@ var AlertDialogOverlay = ({ className, ...props }) => {
1744
1920
  };
1745
1921
 
1746
1922
  // src/components/alert-dialog-content.tsx
1747
- import { jsx as jsx93, jsxs as jsxs13 } from "react/jsx-runtime";
1923
+ import { jsx as jsx95, jsxs as jsxs15 } from "react/jsx-runtime";
1748
1924
  var AlertDialogContent = ({ className, ...props }) => {
1749
- return /* @__PURE__ */ jsxs13(AlertDialogPrimitive4.Portal, { children: [
1750
- /* @__PURE__ */ jsx93(AlertDialogOverlay, {}),
1751
- /* @__PURE__ */ jsx93(
1925
+ return /* @__PURE__ */ jsxs15(AlertDialogPrimitive4.Portal, { children: [
1926
+ /* @__PURE__ */ jsx95(AlertDialogOverlay, {}),
1927
+ /* @__PURE__ */ jsx95(
1752
1928
  AlertDialogPrimitive4.Content,
1753
1929
  {
1754
1930
  "data-id": "AlertDialogContent",
@@ -1763,15 +1939,15 @@ var AlertDialogContent = ({ className, ...props }) => {
1763
1939
  };
1764
1940
 
1765
1941
  // src/components/alert-dialog-header.tsx
1766
- import { jsx as jsx94 } from "react/jsx-runtime";
1942
+ import { jsx as jsx96 } from "react/jsx-runtime";
1767
1943
  var AlertDialogHeader = ({ className, ...props }) => {
1768
- return /* @__PURE__ */ jsx94("div", { "data-id": "AlertDialogHeader", className: cn("flex flex-col gap-2", className), ...props });
1944
+ return /* @__PURE__ */ jsx96("div", { "data-id": "AlertDialogHeader", className: cn("flex flex-col gap-2", className), ...props });
1769
1945
  };
1770
1946
 
1771
1947
  // src/components/alert-dialog-footer.tsx
1772
- import { jsx as jsx95 } from "react/jsx-runtime";
1948
+ import { jsx as jsx97 } from "react/jsx-runtime";
1773
1949
  var AlertDialogFooter = ({ className, ...props }) => {
1774
- return /* @__PURE__ */ jsx95(
1950
+ return /* @__PURE__ */ jsx97(
1775
1951
  "div",
1776
1952
  {
1777
1953
  "data-id": "AlertDialogFooter",
@@ -1783,9 +1959,9 @@ var AlertDialogFooter = ({ className, ...props }) => {
1783
1959
 
1784
1960
  // src/components/alert-dialog-title.tsx
1785
1961
  import * as AlertDialogPrimitive5 from "@radix-ui/react-alert-dialog";
1786
- import { jsx as jsx96 } from "react/jsx-runtime";
1962
+ import { jsx as jsx98 } from "react/jsx-runtime";
1787
1963
  var AlertDialogTitle = ({ className, ...props }) => {
1788
- return /* @__PURE__ */ jsx96(
1964
+ return /* @__PURE__ */ jsx98(
1789
1965
  AlertDialogPrimitive5.Title,
1790
1966
  {
1791
1967
  "data-id": "AlertDialogTitle",
@@ -1797,9 +1973,9 @@ var AlertDialogTitle = ({ className, ...props }) => {
1797
1973
 
1798
1974
  // src/components/alert-dialog-description.tsx
1799
1975
  import * as AlertDialogPrimitive6 from "@radix-ui/react-alert-dialog";
1800
- import { jsx as jsx97 } from "react/jsx-runtime";
1976
+ import { jsx as jsx99 } from "react/jsx-runtime";
1801
1977
  var AlertDialogDescription = ({ className, ...props }) => {
1802
- return /* @__PURE__ */ jsx97(
1978
+ return /* @__PURE__ */ jsx99(
1803
1979
  AlertDialogPrimitive6.Description,
1804
1980
  {
1805
1981
  "data-id": "AlertDialogDescription",
@@ -1811,9 +1987,9 @@ var AlertDialogDescription = ({ className, ...props }) => {
1811
1987
 
1812
1988
  // src/components/alert-dialog-action.tsx
1813
1989
  import * as AlertDialogPrimitive7 from "@radix-ui/react-alert-dialog";
1814
- import { jsx as jsx98 } from "react/jsx-runtime";
1990
+ import { jsx as jsx100 } from "react/jsx-runtime";
1815
1991
  var AlertDialogAction = ({ className, ...props }) => {
1816
- return /* @__PURE__ */ jsx98(
1992
+ return /* @__PURE__ */ jsx100(
1817
1993
  AlertDialogPrimitive7.Action,
1818
1994
  {
1819
1995
  "data-id": "AlertDialogAction",
@@ -1825,9 +2001,9 @@ var AlertDialogAction = ({ className, ...props }) => {
1825
2001
 
1826
2002
  // src/components/alert-dialog-cancel.tsx
1827
2003
  import * as AlertDialogPrimitive8 from "@radix-ui/react-alert-dialog";
1828
- import { jsx as jsx99 } from "react/jsx-runtime";
2004
+ import { jsx as jsx101 } from "react/jsx-runtime";
1829
2005
  var AlertDialogCancel = ({ className, ...props }) => {
1830
- return /* @__PURE__ */ jsx99(
2006
+ return /* @__PURE__ */ jsx101(
1831
2007
  AlertDialogPrimitive8.Cancel,
1832
2008
  {
1833
2009
  "data-id": "AlertDialogCancel",
@@ -1847,14 +2023,14 @@ var HoverCardTrigger = HoverCardPrimitive2.Trigger;
1847
2023
 
1848
2024
  // src/components/hover-card-content.tsx
1849
2025
  import * as HoverCardPrimitive3 from "@radix-ui/react-hover-card";
1850
- import { jsx as jsx100 } from "react/jsx-runtime";
2026
+ import { jsx as jsx102 } from "react/jsx-runtime";
1851
2027
  var HoverCardContent = ({
1852
2028
  className,
1853
2029
  align = "center",
1854
2030
  sideOffset = 8,
1855
2031
  ...props
1856
2032
  }) => {
1857
- return /* @__PURE__ */ jsx100(
2033
+ return /* @__PURE__ */ jsx102(
1858
2034
  HoverCardPrimitive3.Content,
1859
2035
  {
1860
2036
  "data-id": "HoverCardContent",
@@ -1872,15 +2048,15 @@ var HoverCardContent = ({
1872
2048
 
1873
2049
  // src/components/progress.tsx
1874
2050
  import * as ProgressPrimitive from "@radix-ui/react-progress";
1875
- import { jsx as jsx101 } from "react/jsx-runtime";
2051
+ import { jsx as jsx103 } from "react/jsx-runtime";
1876
2052
  var Progress = ({ className, value, ...props }) => {
1877
- return /* @__PURE__ */ jsx101(
2053
+ return /* @__PURE__ */ jsx103(
1878
2054
  ProgressPrimitive.Root,
1879
2055
  {
1880
2056
  "data-id": "Progress",
1881
2057
  className: cn("relative h-2 w-full overflow-hidden rounded-pill bg-muted", className),
1882
2058
  ...props,
1883
- children: /* @__PURE__ */ jsx101(
2059
+ children: /* @__PURE__ */ jsx103(
1884
2060
  ProgressPrimitive.Indicator,
1885
2061
  {
1886
2062
  className: `h-full w-full flex-1 bg-primary ${motion.surface}`,
@@ -1894,7 +2070,7 @@ var Progress = ({ className, value, ...props }) => {
1894
2070
  // src/components/toggle.tsx
1895
2071
  import * as TogglePrimitive from "@radix-ui/react-toggle";
1896
2072
  import { cva as cva10 } from "class-variance-authority";
1897
- import { jsx as jsx102 } from "react/jsx-runtime";
2073
+ import { jsx as jsx104 } from "react/jsx-runtime";
1898
2074
  var toggleVariants = cva10(
1899
2075
  `inline-flex items-center justify-center gap-2 rounded-pill font-sans text-sm font-semibold ${motion.surface} hover:bg-muted focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground`,
1900
2076
  {
@@ -1916,7 +2092,7 @@ var toggleVariants = cva10(
1916
2092
  }
1917
2093
  );
1918
2094
  var Toggle = ({ className, variant, size, ...props }) => {
1919
- return /* @__PURE__ */ jsx102(
2095
+ return /* @__PURE__ */ jsx104(
1920
2096
  TogglePrimitive.Root,
1921
2097
  {
1922
2098
  "data-id": "Toggle",
@@ -1929,19 +2105,19 @@ var Toggle = ({ className, variant, size, ...props }) => {
1929
2105
  // src/components/toggle-group.tsx
1930
2106
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
1931
2107
  import { createContext as createContext2, useContext as useContext2 } from "react";
1932
- import { jsx as jsx103 } from "react/jsx-runtime";
2108
+ import { jsx as jsx105 } from "react/jsx-runtime";
1933
2109
  var ToggleGroupContext = createContext2({
1934
2110
  size: "default",
1935
2111
  variant: "default"
1936
2112
  });
1937
2113
  var ToggleGroup = ({ className, variant, size, children, ...props }) => {
1938
- return /* @__PURE__ */ jsx103(
2114
+ return /* @__PURE__ */ jsx105(
1939
2115
  ToggleGroupPrimitive.Root,
1940
2116
  {
1941
2117
  "data-id": "ToggleGroup",
1942
2118
  className: cn("flex items-center gap-1", className),
1943
2119
  ...props,
1944
- children: /* @__PURE__ */ jsx103(ToggleGroupContext, { value: { variant, size }, children })
2120
+ children: /* @__PURE__ */ jsx105(ToggleGroupContext, { value: { variant, size }, children })
1945
2121
  }
1946
2122
  );
1947
2123
  };
@@ -1949,10 +2125,10 @@ var useToggleGroup = () => useContext2(ToggleGroupContext);
1949
2125
 
1950
2126
  // src/components/toggle-group-item.tsx
1951
2127
  import * as ToggleGroupPrimitive2 from "@radix-ui/react-toggle-group";
1952
- import { jsx as jsx104 } from "react/jsx-runtime";
2128
+ import { jsx as jsx106 } from "react/jsx-runtime";
1953
2129
  var ToggleGroupItem = ({ className, children, ...props }) => {
1954
2130
  const { variant, size } = useToggleGroup();
1955
- return /* @__PURE__ */ jsx104(
2131
+ return /* @__PURE__ */ jsx106(
1956
2132
  ToggleGroupPrimitive2.Item,
1957
2133
  {
1958
2134
  "data-id": "ToggleGroupItem",
@@ -1965,16 +2141,16 @@ var ToggleGroupItem = ({ className, children, ...props }) => {
1965
2141
 
1966
2142
  // src/components/scroll-area.tsx
1967
2143
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
1968
- import { jsx as jsx105, jsxs as jsxs14 } from "react/jsx-runtime";
2144
+ import { jsx as jsx107, jsxs as jsxs16 } from "react/jsx-runtime";
1969
2145
  var ScrollArea = ({ className, children, ...props }) => {
1970
- return /* @__PURE__ */ jsxs14(ScrollAreaPrimitive.Root, { "data-id": "ScrollArea", className: cn("relative overflow-hidden", className), ...props, children: [
1971
- /* @__PURE__ */ jsx105(ScrollAreaPrimitive.Viewport, { className: "size-full rounded-[inherit]", children }),
1972
- /* @__PURE__ */ jsx105(ScrollBar, {}),
1973
- /* @__PURE__ */ jsx105(ScrollAreaPrimitive.Corner, {})
2146
+ return /* @__PURE__ */ jsxs16(ScrollAreaPrimitive.Root, { "data-id": "ScrollArea", className: cn("relative overflow-hidden", className), ...props, children: [
2147
+ /* @__PURE__ */ jsx107(ScrollAreaPrimitive.Viewport, { className: "size-full rounded-[inherit]", children }),
2148
+ /* @__PURE__ */ jsx107(ScrollBar, {}),
2149
+ /* @__PURE__ */ jsx107(ScrollAreaPrimitive.Corner, {})
1974
2150
  ] });
1975
2151
  };
1976
2152
  var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
1977
- return /* @__PURE__ */ jsx105(
2153
+ return /* @__PURE__ */ jsx107(
1978
2154
  ScrollAreaPrimitive.ScrollAreaScrollbar,
1979
2155
  {
1980
2156
  "data-id": "ScrollBar",
@@ -1986,7 +2162,7 @@ var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
1986
2162
  className
1987
2163
  ),
1988
2164
  ...props,
1989
- children: /* @__PURE__ */ jsx105(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
2165
+ children: /* @__PURE__ */ jsx107(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
1990
2166
  }
1991
2167
  );
1992
2168
  };
@@ -2001,9 +2177,9 @@ var CollapsibleTrigger2 = CollapsiblePrimitive2.CollapsibleTrigger;
2001
2177
 
2002
2178
  // src/components/collapsible-content.tsx
2003
2179
  import * as CollapsiblePrimitive3 from "@radix-ui/react-collapsible";
2004
- import { jsx as jsx106 } from "react/jsx-runtime";
2180
+ import { jsx as jsx108 } from "react/jsx-runtime";
2005
2181
  var CollapsibleContent2 = ({ className, ...props }) => {
2006
- return /* @__PURE__ */ jsx106(
2182
+ return /* @__PURE__ */ jsx108(
2007
2183
  CollapsiblePrimitive3.CollapsibleContent,
2008
2184
  {
2009
2185
  "data-id": "CollapsibleContent",
@@ -2015,9 +2191,9 @@ var CollapsibleContent2 = ({ className, ...props }) => {
2015
2191
 
2016
2192
  // src/components/calendar.tsx
2017
2193
  import { DayPicker } from "react-day-picker";
2018
- import { jsx as jsx107 } from "react/jsx-runtime";
2194
+ import { jsx as jsx109 } from "react/jsx-runtime";
2019
2195
  var Calendar = ({ className, ...props }) => {
2020
- return /* @__PURE__ */ jsx107(
2196
+ return /* @__PURE__ */ jsx109(
2021
2197
  DayPicker,
2022
2198
  {
2023
2199
  "data-id": "Calendar",
@@ -2030,17 +2206,17 @@ var Calendar = ({ className, ...props }) => {
2030
2206
  // src/components/date-picker.tsx
2031
2207
  import { format } from "date-fns";
2032
2208
  import { CalendarIcon } from "lucide-react";
2033
- import { useState as useState2 } from "react";
2034
- import { jsx as jsx108, jsxs as jsxs15 } from "react/jsx-runtime";
2209
+ import { useState as useState3 } from "react";
2210
+ import { jsx as jsx110, jsxs as jsxs17 } from "react/jsx-runtime";
2035
2211
  var DatePicker = ({
2036
2212
  value,
2037
2213
  onValueChange,
2038
2214
  placeholder = "Pick a date",
2039
2215
  className
2040
2216
  }) => {
2041
- const [open, openSetter] = useState2(false);
2042
- return /* @__PURE__ */ jsxs15(Popover, { open, onOpenChange: openSetter, children: [
2043
- /* @__PURE__ */ jsx108(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
2217
+ const [open, openSetter] = useState3(false);
2218
+ return /* @__PURE__ */ jsxs17(Popover, { open, onOpenChange: openSetter, children: [
2219
+ /* @__PURE__ */ jsx110(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs17(
2044
2220
  Button,
2045
2221
  {
2046
2222
  "data-id": "DatePicker",
@@ -2051,12 +2227,12 @@ var DatePicker = ({
2051
2227
  className
2052
2228
  ),
2053
2229
  children: [
2054
- /* @__PURE__ */ jsx108(CalendarIcon, { className: "size-4" }),
2230
+ /* @__PURE__ */ jsx110(CalendarIcon, { className: "size-4" }),
2055
2231
  value ? format(value, "PPP") : placeholder
2056
2232
  ]
2057
2233
  }
2058
2234
  ) }),
2059
- /* @__PURE__ */ jsx108(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx108(
2235
+ /* @__PURE__ */ jsx110(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx110(
2060
2236
  Calendar,
2061
2237
  {
2062
2238
  mode: "single",
@@ -2072,9 +2248,9 @@ var DatePicker = ({
2072
2248
 
2073
2249
  // src/components/chart-container.tsx
2074
2250
  import { ResponsiveContainer } from "recharts";
2075
- import { jsx as jsx109 } from "react/jsx-runtime";
2251
+ import { jsx as jsx111 } from "react/jsx-runtime";
2076
2252
  var ChartContainer = ({ className, children, ...props }) => {
2077
- return /* @__PURE__ */ jsx109("div", { "data-id": "ChartContainer", className: cn("h-64 w-full", className), ...props, children: /* @__PURE__ */ jsx109(ResponsiveContainer, { width: "100%", height: "100%", children }) });
2253
+ return /* @__PURE__ */ jsx111("div", { "data-id": "ChartContainer", className: cn("h-64 w-full", className), ...props, children: /* @__PURE__ */ jsx111(ResponsiveContainer, { width: "100%", height: "100%", children }) });
2078
2254
  };
2079
2255
 
2080
2256
  // src/components/chart-tooltip.tsx
@@ -2084,7 +2260,7 @@ import { Tooltip as Tooltip2 } from "recharts";
2084
2260
  import useEmblaCarousel from "embla-carousel-react";
2085
2261
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight3 } from "lucide-react";
2086
2262
  import { createContext as createContext3, useContext as useContext3 } from "react";
2087
- import { jsx as jsx110, jsxs as jsxs16 } from "react/jsx-runtime";
2263
+ import { jsx as jsx112, jsxs as jsxs18 } from "react/jsx-runtime";
2088
2264
  var CarouselContext = createContext3(null);
2089
2265
  var useCarousel = () => {
2090
2266
  const context = useContext3(CarouselContext);
@@ -2107,7 +2283,7 @@ var Carousel = ({ className, opts, children, ...props }) => {
2107
2283
  scrollNext();
2108
2284
  }
2109
2285
  };
2110
- return /* @__PURE__ */ jsx110(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx110(
2286
+ return /* @__PURE__ */ jsx112(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx112(
2111
2287
  "div",
2112
2288
  {
2113
2289
  "data-id": "Carousel",
@@ -2122,10 +2298,10 @@ var Carousel = ({ className, opts, children, ...props }) => {
2122
2298
  };
2123
2299
  var CarouselContent = ({ className, ...props }) => {
2124
2300
  const { carouselRef } = useCarousel();
2125
- return /* @__PURE__ */ jsx110("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx110("div", { "data-id": "CarouselContent", className: cn("flex", className), ...props }) });
2301
+ return /* @__PURE__ */ jsx112("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx112("div", { "data-id": "CarouselContent", className: cn("flex", className), ...props }) });
2126
2302
  };
2127
2303
  var CarouselItem = ({ className, ...props }) => {
2128
- return /* @__PURE__ */ jsx110(
2304
+ return /* @__PURE__ */ jsx112(
2129
2305
  "div",
2130
2306
  {
2131
2307
  "data-id": "CarouselItem",
@@ -2138,7 +2314,7 @@ var CarouselItem = ({ className, ...props }) => {
2138
2314
  };
2139
2315
  var CarouselPrevious = ({ className, ...props }) => {
2140
2316
  const { scrollPrev } = useCarousel();
2141
- return /* @__PURE__ */ jsxs16(
2317
+ return /* @__PURE__ */ jsxs18(
2142
2318
  Button,
2143
2319
  {
2144
2320
  "data-id": "CarouselPrevious",
@@ -2148,15 +2324,15 @@ var CarouselPrevious = ({ className, ...props }) => {
2148
2324
  onClick: scrollPrev,
2149
2325
  ...props,
2150
2326
  children: [
2151
- /* @__PURE__ */ jsx110(ChevronLeft2, {}),
2152
- /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Previous slide" })
2327
+ /* @__PURE__ */ jsx112(ChevronLeft2, {}),
2328
+ /* @__PURE__ */ jsx112("span", { className: "sr-only", children: "Previous slide" })
2153
2329
  ]
2154
2330
  }
2155
2331
  );
2156
2332
  };
2157
2333
  var CarouselNext = ({ className, ...props }) => {
2158
2334
  const { scrollNext } = useCarousel();
2159
- return /* @__PURE__ */ jsxs16(
2335
+ return /* @__PURE__ */ jsxs18(
2160
2336
  Button,
2161
2337
  {
2162
2338
  "data-id": "CarouselNext",
@@ -2166,8 +2342,8 @@ var CarouselNext = ({ className, ...props }) => {
2166
2342
  onClick: scrollNext,
2167
2343
  ...props,
2168
2344
  children: [
2169
- /* @__PURE__ */ jsx110(ChevronRight3, {}),
2170
- /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Next slide" })
2345
+ /* @__PURE__ */ jsx112(ChevronRight3, {}),
2346
+ /* @__PURE__ */ jsx112("span", { className: "sr-only", children: "Next slide" })
2171
2347
  ]
2172
2348
  }
2173
2349
  );
@@ -2175,13 +2351,13 @@ var CarouselNext = ({ className, ...props }) => {
2175
2351
 
2176
2352
  // src/components/drawer.tsx
2177
2353
  import { Drawer as VaulDrawer } from "vaul";
2178
- import { jsx as jsx111, jsxs as jsxs17 } from "react/jsx-runtime";
2354
+ import { jsx as jsx113, jsxs as jsxs19 } from "react/jsx-runtime";
2179
2355
  var Drawer = VaulDrawer.Root;
2180
2356
  var DrawerTrigger = VaulDrawer.Trigger;
2181
2357
  var DrawerClose = VaulDrawer.Close;
2182
2358
  var DrawerPortal = VaulDrawer.Portal;
2183
2359
  var DrawerOverlay = ({ className, ...props }) => {
2184
- return /* @__PURE__ */ jsx111(
2360
+ return /* @__PURE__ */ jsx113(
2185
2361
  VaulDrawer.Overlay,
2186
2362
  {
2187
2363
  "data-id": "DrawerOverlay",
@@ -2191,9 +2367,9 @@ var DrawerOverlay = ({ className, ...props }) => {
2191
2367
  );
2192
2368
  };
2193
2369
  var DrawerContent = ({ className, children, ...props }) => {
2194
- return /* @__PURE__ */ jsxs17(VaulDrawer.Portal, { children: [
2195
- /* @__PURE__ */ jsx111(DrawerOverlay, {}),
2196
- /* @__PURE__ */ jsxs17(
2370
+ return /* @__PURE__ */ jsxs19(VaulDrawer.Portal, { children: [
2371
+ /* @__PURE__ */ jsx113(DrawerOverlay, {}),
2372
+ /* @__PURE__ */ jsxs19(
2197
2373
  VaulDrawer.Content,
2198
2374
  {
2199
2375
  "data-id": "DrawerContent",
@@ -2203,7 +2379,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2203
2379
  ),
2204
2380
  ...props,
2205
2381
  children: [
2206
- /* @__PURE__ */ jsx111("div", { className: "mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted" }),
2382
+ /* @__PURE__ */ jsx113("div", { className: "mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted" }),
2207
2383
  children
2208
2384
  ]
2209
2385
  }
@@ -2211,7 +2387,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2211
2387
  ] });
2212
2388
  };
2213
2389
  var DrawerTitle = ({ className, ...props }) => {
2214
- return /* @__PURE__ */ jsx111(
2390
+ return /* @__PURE__ */ jsx113(
2215
2391
  VaulDrawer.Title,
2216
2392
  {
2217
2393
  "data-id": "DrawerTitle",
@@ -2224,7 +2400,7 @@ var DrawerDescription = ({
2224
2400
  className,
2225
2401
  ...props
2226
2402
  }) => {
2227
- return /* @__PURE__ */ jsx111(
2403
+ return /* @__PURE__ */ jsx113(
2228
2404
  VaulDrawer.Description,
2229
2405
  {
2230
2406
  "data-id": "DrawerDescription",
@@ -2236,9 +2412,9 @@ var DrawerDescription = ({
2236
2412
 
2237
2413
  // src/components/menubar.tsx
2238
2414
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
2239
- import { jsx as jsx112 } from "react/jsx-runtime";
2415
+ import { jsx as jsx114 } from "react/jsx-runtime";
2240
2416
  var Menubar = ({ className, ...props }) => {
2241
- return /* @__PURE__ */ jsx112(
2417
+ return /* @__PURE__ */ jsx114(
2242
2418
  MenubarPrimitive.Root,
2243
2419
  {
2244
2420
  "data-id": "Menubar",
@@ -2252,7 +2428,7 @@ var MenubarTrigger = ({
2252
2428
  className,
2253
2429
  ...props
2254
2430
  }) => {
2255
- return /* @__PURE__ */ jsx112(
2431
+ return /* @__PURE__ */ jsx114(
2256
2432
  MenubarPrimitive.Trigger,
2257
2433
  {
2258
2434
  "data-id": "MenubarTrigger",
@@ -2268,7 +2444,7 @@ var MenubarContent = ({
2268
2444
  className,
2269
2445
  ...props
2270
2446
  }) => {
2271
- return /* @__PURE__ */ jsx112(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx112(
2447
+ return /* @__PURE__ */ jsx114(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx114(
2272
2448
  MenubarPrimitive.Content,
2273
2449
  {
2274
2450
  "data-id": "MenubarContent",
@@ -2278,13 +2454,13 @@ var MenubarContent = ({
2278
2454
  ) });
2279
2455
  };
2280
2456
  var MenubarItem = ({ className, ...props }) => {
2281
- return /* @__PURE__ */ jsx112(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2457
+ return /* @__PURE__ */ jsx114(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2282
2458
  };
2283
2459
  var MenubarSeparator = ({
2284
2460
  className,
2285
2461
  ...props
2286
2462
  }) => {
2287
- return /* @__PURE__ */ jsx112(
2463
+ return /* @__PURE__ */ jsx114(
2288
2464
  MenubarPrimitive.Separator,
2289
2465
  {
2290
2466
  "data-id": "MenubarSeparator",
@@ -2297,13 +2473,13 @@ var MenubarSeparator = ({
2297
2473
  // src/components/navigation-menu.tsx
2298
2474
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2299
2475
  import { ChevronDown as ChevronDown4 } from "lucide-react";
2300
- import { jsx as jsx113, jsxs as jsxs18 } from "react/jsx-runtime";
2476
+ import { jsx as jsx115, jsxs as jsxs20 } from "react/jsx-runtime";
2301
2477
  var NavigationMenu = ({
2302
2478
  className,
2303
2479
  children,
2304
2480
  ...props
2305
2481
  }) => {
2306
- return /* @__PURE__ */ jsxs18(
2482
+ return /* @__PURE__ */ jsxs20(
2307
2483
  NavigationMenuPrimitive.Root,
2308
2484
  {
2309
2485
  "data-id": "NavigationMenu",
@@ -2311,7 +2487,7 @@ var NavigationMenu = ({
2311
2487
  ...props,
2312
2488
  children: [
2313
2489
  children,
2314
- /* @__PURE__ */ jsx113(
2490
+ /* @__PURE__ */ jsx115(
2315
2491
  NavigationMenuPrimitive.Viewport,
2316
2492
  {
2317
2493
  className: cn(
@@ -2328,7 +2504,7 @@ var NavigationMenuList = ({
2328
2504
  className,
2329
2505
  ...props
2330
2506
  }) => {
2331
- return /* @__PURE__ */ jsx113(
2507
+ return /* @__PURE__ */ jsx115(
2332
2508
  NavigationMenuPrimitive.List,
2333
2509
  {
2334
2510
  "data-id": "NavigationMenuList",
@@ -2343,7 +2519,7 @@ var NavigationMenuTrigger = ({
2343
2519
  children,
2344
2520
  ...props
2345
2521
  }) => {
2346
- return /* @__PURE__ */ jsxs18(
2522
+ return /* @__PURE__ */ jsxs20(
2347
2523
  NavigationMenuPrimitive.Trigger,
2348
2524
  {
2349
2525
  "data-id": "NavigationMenuTrigger",
@@ -2354,7 +2530,7 @@ var NavigationMenuTrigger = ({
2354
2530
  ...props,
2355
2531
  children: [
2356
2532
  children,
2357
- /* @__PURE__ */ jsx113(ChevronDown4, { className: "size-3" })
2533
+ /* @__PURE__ */ jsx115(ChevronDown4, { className: "size-3" })
2358
2534
  ]
2359
2535
  }
2360
2536
  );
@@ -2363,7 +2539,7 @@ var NavigationMenuContent = ({
2363
2539
  className,
2364
2540
  ...props
2365
2541
  }) => {
2366
- return /* @__PURE__ */ jsx113(
2542
+ return /* @__PURE__ */ jsx115(
2367
2543
  NavigationMenuPrimitive.Content,
2368
2544
  {
2369
2545
  "data-id": "NavigationMenuContent",
@@ -2376,13 +2552,13 @@ var NavigationMenuLink = NavigationMenuPrimitive.Link;
2376
2552
 
2377
2553
  // src/components/resizable.tsx
2378
2554
  import { Group as Group2, Panel, Separator as Separator5 } from "react-resizable-panels";
2379
- import { jsx as jsx114 } from "react/jsx-runtime";
2555
+ import { jsx as jsx116 } from "react/jsx-runtime";
2380
2556
  var ResizablePanelGroup = ({ className, ...props }) => {
2381
- return /* @__PURE__ */ jsx114(Group2, { "data-id": "ResizablePanelGroup", className: cn("flex h-full w-full", className), ...props });
2557
+ return /* @__PURE__ */ jsx116(Group2, { "data-id": "ResizablePanelGroup", className: cn("flex h-full w-full", className), ...props });
2382
2558
  };
2383
2559
  var ResizablePanel = Panel;
2384
2560
  var ResizableHandle = ({ className, ...props }) => {
2385
- return /* @__PURE__ */ jsx114(
2561
+ return /* @__PURE__ */ jsx116(
2386
2562
  Separator5,
2387
2563
  {
2388
2564
  "data-id": "ResizableHandle",
@@ -2398,9 +2574,9 @@ import {
2398
2574
  createContext as createContext4,
2399
2575
  useContext as useContext4,
2400
2576
  useMemo,
2401
- useState as useState3
2577
+ useState as useState4
2402
2578
  } from "react";
2403
- import { jsx as jsx115, jsxs as jsxs19 } from "react/jsx-runtime";
2579
+ import { jsx as jsx117, jsxs as jsxs21 } from "react/jsx-runtime";
2404
2580
  var SidebarContext = createContext4(null);
2405
2581
  var useSidebar = () => {
2406
2582
  const context = useContext4(SidebarContext);
@@ -2416,9 +2592,9 @@ var SidebarProvider = ({
2416
2592
  children,
2417
2593
  ...props
2418
2594
  }) => {
2419
- const [isOpen, isOpenSetter] = useState3(defaultOpen);
2595
+ const [isOpen, isOpenSetter] = useState4(defaultOpen);
2420
2596
  const value = useMemo(() => ({ isOpen, isOpenSetter }), [isOpen]);
2421
- return /* @__PURE__ */ jsx115(SidebarContext, { value, children: /* @__PURE__ */ jsx115(
2597
+ return /* @__PURE__ */ jsx117(SidebarContext, { value, children: /* @__PURE__ */ jsx117(
2422
2598
  "div",
2423
2599
  {
2424
2600
  "data-id": "SidebarProvider",
@@ -2434,7 +2610,7 @@ var SidebarProvider = ({
2434
2610
  };
2435
2611
  var Sidebar = ({ className, children, ...props }) => {
2436
2612
  const { isOpen } = useSidebar();
2437
- return /* @__PURE__ */ jsx115(
2613
+ return /* @__PURE__ */ jsx117(
2438
2614
  "aside",
2439
2615
  {
2440
2616
  "data-id": "Sidebar",
@@ -2450,11 +2626,11 @@ var Sidebar = ({ className, children, ...props }) => {
2450
2626
  );
2451
2627
  };
2452
2628
  var SidebarInset = ({ className, ...props }) => {
2453
- return /* @__PURE__ */ jsx115("main", { "data-id": "SidebarInset", className: cn("flex flex-1 flex-col", className), ...props });
2629
+ return /* @__PURE__ */ jsx117("main", { "data-id": "SidebarInset", className: cn("flex flex-1 flex-col", className), ...props });
2454
2630
  };
2455
2631
  var SidebarTrigger = ({ className, ...props }) => {
2456
2632
  const { isOpen, isOpenSetter } = useSidebar();
2457
- return /* @__PURE__ */ jsxs19(
2633
+ return /* @__PURE__ */ jsxs21(
2458
2634
  Button,
2459
2635
  {
2460
2636
  "data-id": "SidebarTrigger",
@@ -2464,29 +2640,29 @@ var SidebarTrigger = ({ className, ...props }) => {
2464
2640
  onClick: () => isOpenSetter(!isOpen),
2465
2641
  ...props,
2466
2642
  children: [
2467
- /* @__PURE__ */ jsx115(PanelLeft, {}),
2468
- /* @__PURE__ */ jsx115("span", { className: "sr-only", children: "Toggle sidebar" })
2643
+ /* @__PURE__ */ jsx117(PanelLeft, {}),
2644
+ /* @__PURE__ */ jsx117("span", { className: "sr-only", children: "Toggle sidebar" })
2469
2645
  ]
2470
2646
  }
2471
2647
  );
2472
2648
  };
2473
2649
  var SidebarHeader = ({ className, ...props }) => {
2474
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2650
+ return /* @__PURE__ */ jsx117("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2475
2651
  };
2476
2652
  var SidebarContent = ({ className, ...props }) => {
2477
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarContent", className: cn("flex-1 p-2", className), ...props });
2653
+ return /* @__PURE__ */ jsx117("div", { "data-id": "SidebarContent", className: cn("flex-1 p-2", className), ...props });
2478
2654
  };
2479
2655
  var SidebarFooter = ({ className, ...props }) => {
2480
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2656
+ return /* @__PURE__ */ jsx117("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2481
2657
  };
2482
2658
  var SidebarMenu = ({ className, ...props }) => {
2483
- return /* @__PURE__ */ jsx115("ul", { "data-id": "SidebarMenu", className: cn("flex flex-col gap-1", className), ...props });
2659
+ return /* @__PURE__ */ jsx117("ul", { "data-id": "SidebarMenu", className: cn("flex flex-col gap-1", className), ...props });
2484
2660
  };
2485
2661
  var SidebarMenuItem = ({ className, ...props }) => {
2486
- return /* @__PURE__ */ jsx115("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2662
+ return /* @__PURE__ */ jsx117("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2487
2663
  };
2488
2664
  var SidebarMenuButton = ({ className, ...props }) => {
2489
- return /* @__PURE__ */ jsx115(
2665
+ return /* @__PURE__ */ jsx117(
2490
2666
  "button",
2491
2667
  {
2492
2668
  "data-id": "SidebarMenuButton",
@@ -2502,9 +2678,9 @@ var SidebarMenuButton = ({ className, ...props }) => {
2502
2678
  // src/components/input-otp.tsx
2503
2679
  import { OTPInput, OTPInputContext } from "input-otp";
2504
2680
  import { useContext as useContext5 } from "react";
2505
- import { jsx as jsx116, jsxs as jsxs20 } from "react/jsx-runtime";
2681
+ import { jsx as jsx118, jsxs as jsxs22 } from "react/jsx-runtime";
2506
2682
  var InputOTP = ({ className, containerClassName, ...props }) => {
2507
- return /* @__PURE__ */ jsx116(
2683
+ return /* @__PURE__ */ jsx118(
2508
2684
  OTPInput,
2509
2685
  {
2510
2686
  "data-id": "InputOTP",
@@ -2515,7 +2691,7 @@ var InputOTP = ({ className, containerClassName, ...props }) => {
2515
2691
  );
2516
2692
  };
2517
2693
  var InputOTPGroup = ({ className, ...props }) => {
2518
- return /* @__PURE__ */ jsx116("div", { "data-id": "InputOTPGroup", className: cn("flex items-center gap-2", className), ...props });
2694
+ return /* @__PURE__ */ jsx118("div", { "data-id": "InputOTPGroup", className: cn("flex items-center gap-2", className), ...props });
2519
2695
  };
2520
2696
  var InputOTPSlot = ({
2521
2697
  index,
@@ -2524,7 +2700,7 @@ var InputOTPSlot = ({
2524
2700
  }) => {
2525
2701
  const inputOTPContext = useContext5(OTPInputContext);
2526
2702
  const slot = inputOTPContext.slots[index];
2527
- return /* @__PURE__ */ jsxs20(
2703
+ return /* @__PURE__ */ jsxs22(
2528
2704
  "div",
2529
2705
  {
2530
2706
  "data-id": "InputOTPSlot",
@@ -2537,7 +2713,7 @@ var InputOTPSlot = ({
2537
2713
  ...props,
2538
2714
  children: [
2539
2715
  slot?.char,
2540
- slot?.hasFakeCaret ? /* @__PURE__ */ jsx116("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx116("div", { className: "h-4 w-px animate-pulse bg-foreground" }) }) : null
2716
+ slot?.hasFakeCaret ? /* @__PURE__ */ jsx118("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx118("div", { className: "h-4 w-px animate-pulse bg-foreground" }) }) : null
2541
2717
  ]
2542
2718
  }
2543
2719
  );
@@ -2560,15 +2736,15 @@ var surfaces = {
2560
2736
  };
2561
2737
 
2562
2738
  // src/components/frost-panel.tsx
2563
- import { jsx as jsx117 } from "react/jsx-runtime";
2739
+ import { jsx as jsx119 } from "react/jsx-runtime";
2564
2740
  var FrostPanel = ({ className, ...props }) => {
2565
- return /* @__PURE__ */ jsx117("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2741
+ return /* @__PURE__ */ jsx119("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2566
2742
  };
2567
2743
 
2568
2744
  // src/components/frost-nav.tsx
2569
- import { jsx as jsx118 } from "react/jsx-runtime";
2745
+ import { jsx as jsx120 } from "react/jsx-runtime";
2570
2746
  var FrostNav = ({ className, isOnLight = false, ...props }) => {
2571
- return /* @__PURE__ */ jsx118(
2747
+ return /* @__PURE__ */ jsx120(
2572
2748
  "nav",
2573
2749
  {
2574
2750
  "data-id": "FrostNav",
@@ -2580,26 +2756,26 @@ var FrostNav = ({ className, isOnLight = false, ...props }) => {
2580
2756
  };
2581
2757
 
2582
2758
  // src/components/frost-tile.tsx
2583
- import { jsx as jsx119 } from "react/jsx-runtime";
2759
+ import { jsx as jsx121 } from "react/jsx-runtime";
2584
2760
  var FrostTile = ({ className, ...props }) => {
2585
- return /* @__PURE__ */ jsx119("div", { "data-id": "FrostTile", className: cn("group", surfaces.frostTile, className), ...props });
2761
+ return /* @__PURE__ */ jsx121("div", { "data-id": "FrostTile", className: cn("group", surfaces.frostTile, className), ...props });
2586
2762
  };
2587
2763
 
2588
2764
  // src/components/frost-fab.tsx
2589
- import { jsx as jsx120 } from "react/jsx-runtime";
2765
+ import { jsx as jsx122 } from "react/jsx-runtime";
2590
2766
  var FrostFab = ({ className, ...props }) => {
2591
- return /* @__PURE__ */ jsx120("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2767
+ return /* @__PURE__ */ jsx122("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2592
2768
  };
2593
2769
 
2594
2770
  // src/components/brand-gradient.tsx
2595
- import { jsx as jsx121 } from "react/jsx-runtime";
2771
+ import { jsx as jsx123 } from "react/jsx-runtime";
2596
2772
  var BrandGradient = ({ className, ...props }) => {
2597
- return /* @__PURE__ */ jsx121("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2773
+ return /* @__PURE__ */ jsx123("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2598
2774
  };
2599
2775
 
2600
2776
  // src/components/image-scrim.tsx
2601
2777
  import { cva as cva11 } from "class-variance-authority";
2602
- import { jsx as jsx122 } from "react/jsx-runtime";
2778
+ import { jsx as jsx124 } from "react/jsx-runtime";
2603
2779
  var imageScrimVariants = cva11("pointer-events-none absolute inset-0", {
2604
2780
  variants: {
2605
2781
  variant: {
@@ -2613,7 +2789,7 @@ var imageScrimVariants = cva11("pointer-events-none absolute inset-0", {
2613
2789
  }
2614
2790
  });
2615
2791
  var ImageScrim = ({ className, variant, ...props }) => {
2616
- return /* @__PURE__ */ jsx122(
2792
+ return /* @__PURE__ */ jsx124(
2617
2793
  "div",
2618
2794
  {
2619
2795
  "data-id": "ImageScrim",
@@ -2626,7 +2802,7 @@ var ImageScrim = ({ className, variant, ...props }) => {
2626
2802
 
2627
2803
  // src/components/search-bar.tsx
2628
2804
  import { Search as Search2 } from "lucide-react";
2629
- import { jsx as jsx123, jsxs as jsxs21 } from "react/jsx-runtime";
2805
+ import { jsx as jsx125, jsxs as jsxs23 } from "react/jsx-runtime";
2630
2806
  var SearchBar = ({
2631
2807
  className,
2632
2808
  placeholder = "Search",
@@ -2634,7 +2810,7 @@ var SearchBar = ({
2634
2810
  defaultValue,
2635
2811
  onValueChange,
2636
2812
  onSearch,
2637
- submitLabel = /* @__PURE__ */ jsx123(Search2, { className: "size-4" }),
2813
+ submitLabel = /* @__PURE__ */ jsx125(Search2, { className: "size-4" }),
2638
2814
  ...props
2639
2815
  }) => {
2640
2816
  const onSubmit = (event) => {
@@ -2643,7 +2819,7 @@ var SearchBar = ({
2643
2819
  const nextValue = String(formData.get("q") ?? "");
2644
2820
  onSearch?.(nextValue);
2645
2821
  };
2646
- return /* @__PURE__ */ jsxs21(
2822
+ return /* @__PURE__ */ jsxs23(
2647
2823
  "form",
2648
2824
  {
2649
2825
  "data-id": "SearchBar",
@@ -2653,7 +2829,7 @@ var SearchBar = ({
2653
2829
  className
2654
2830
  ),
2655
2831
  children: [
2656
- /* @__PURE__ */ jsx123(
2832
+ /* @__PURE__ */ jsx125(
2657
2833
  Input,
2658
2834
  {
2659
2835
  name: "q",
@@ -2666,14 +2842,14 @@ var SearchBar = ({
2666
2842
  ...props
2667
2843
  }
2668
2844
  ),
2669
- /* @__PURE__ */ jsx123(Button, { type: "submit", size: "icon", className: "rounded-none", "aria-label": "Search", children: submitLabel })
2845
+ /* @__PURE__ */ jsx125(Button, { type: "submit", size: "icon", className: "rounded-none", "aria-label": "Search", children: submitLabel })
2670
2846
  ]
2671
2847
  }
2672
2848
  );
2673
2849
  };
2674
2850
 
2675
2851
  // src/components/confirm-dialog.tsx
2676
- import { jsx as jsx124, jsxs as jsxs22 } from "react/jsx-runtime";
2852
+ import { jsx as jsx126, jsxs as jsxs24 } from "react/jsx-runtime";
2677
2853
  var ConfirmDialog = ({
2678
2854
  trigger,
2679
2855
  title,
@@ -2682,29 +2858,29 @@ var ConfirmDialog = ({
2682
2858
  cancelLabel = "Cancel",
2683
2859
  onConfirm
2684
2860
  }) => {
2685
- return /* @__PURE__ */ jsxs22(AlertDialog, { children: [
2686
- /* @__PURE__ */ jsx124(AlertDialogTrigger, { asChild: true, children: trigger }),
2687
- /* @__PURE__ */ jsxs22(AlertDialogContent, { "data-id": "ConfirmDialog", children: [
2688
- /* @__PURE__ */ jsxs22(AlertDialogHeader, { children: [
2689
- /* @__PURE__ */ jsx124(AlertDialogTitle, { children: title }),
2690
- description ? /* @__PURE__ */ jsx124(AlertDialogDescription, { children: description }) : null
2861
+ return /* @__PURE__ */ jsxs24(AlertDialog, { children: [
2862
+ /* @__PURE__ */ jsx126(AlertDialogTrigger, { asChild: true, children: trigger }),
2863
+ /* @__PURE__ */ jsxs24(AlertDialogContent, { "data-id": "ConfirmDialog", children: [
2864
+ /* @__PURE__ */ jsxs24(AlertDialogHeader, { children: [
2865
+ /* @__PURE__ */ jsx126(AlertDialogTitle, { children: title }),
2866
+ description ? /* @__PURE__ */ jsx126(AlertDialogDescription, { children: description }) : null
2691
2867
  ] }),
2692
- /* @__PURE__ */ jsxs22(AlertDialogFooter, { children: [
2693
- /* @__PURE__ */ jsx124(AlertDialogCancel, { children: cancelLabel }),
2694
- /* @__PURE__ */ jsx124(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2868
+ /* @__PURE__ */ jsxs24(AlertDialogFooter, { children: [
2869
+ /* @__PURE__ */ jsx126(AlertDialogCancel, { children: cancelLabel }),
2870
+ /* @__PURE__ */ jsx126(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2695
2871
  ] })
2696
2872
  ] })
2697
2873
  ] });
2698
2874
  };
2699
2875
 
2700
2876
  // src/components/command-dialog.tsx
2701
- import { jsx as jsx125 } from "react/jsx-runtime";
2877
+ import { jsx as jsx127 } from "react/jsx-runtime";
2702
2878
  var CommandDialog = ({ children, contentClassName, ...props }) => {
2703
- return /* @__PURE__ */ jsx125(Dialog, { ...props, children: /* @__PURE__ */ jsx125(DialogContent, { "data-id": "CommandDialog", className: cn("overflow-hidden p-0", contentClassName), children: /* @__PURE__ */ jsx125(Command, { className: "[&_[data-id=CommandInputWrap]]:h-12", children }) }) });
2879
+ return /* @__PURE__ */ jsx127(Dialog, { ...props, children: /* @__PURE__ */ jsx127(DialogContent, { "data-id": "CommandDialog", className: cn("overflow-hidden p-0", contentClassName), children: /* @__PURE__ */ jsx127(Command, { className: "[&_[data-id=CommandInputWrap]]:h-12", children }) }) });
2704
2880
  };
2705
2881
 
2706
2882
  // src/components/pagination-bar.tsx
2707
- import { jsx as jsx126, jsxs as jsxs23 } from "react/jsx-runtime";
2883
+ import { jsx as jsx128, jsxs as jsxs25 } from "react/jsx-runtime";
2708
2884
  var PaginationBar = ({
2709
2885
  page,
2710
2886
  pageCount,
@@ -2714,8 +2890,8 @@ var PaginationBar = ({
2714
2890
  }) => {
2715
2891
  const pages = Array.from({ length: pageCount }, (_, index) => index + 1);
2716
2892
  const visible = pages.filter((item) => item === 1 || item === pageCount || Math.abs(item - page) <= 1);
2717
- return /* @__PURE__ */ jsx126(Pagination, { "data-id": "PaginationBar", className, ...props, children: /* @__PURE__ */ jsxs23(PaginationContent, { children: [
2718
- /* @__PURE__ */ jsx126(PaginationItem, { children: /* @__PURE__ */ jsx126(
2893
+ return /* @__PURE__ */ jsx128(Pagination, { "data-id": "PaginationBar", className, ...props, children: /* @__PURE__ */ jsxs25(PaginationContent, { children: [
2894
+ /* @__PURE__ */ jsx128(PaginationItem, { children: /* @__PURE__ */ jsx128(
2719
2895
  PaginationPrevious,
2720
2896
  {
2721
2897
  href: "#",
@@ -2729,9 +2905,9 @@ var PaginationBar = ({
2729
2905
  ) }),
2730
2906
  visible.map((item, index) => {
2731
2907
  const previous = visible[index - 1];
2732
- return /* @__PURE__ */ jsxs23(PaginationItem, { children: [
2733
- previous && item - previous > 1 ? /* @__PURE__ */ jsx126(PaginationEllipsis, {}) : null,
2734
- /* @__PURE__ */ jsx126(
2908
+ return /* @__PURE__ */ jsxs25(PaginationItem, { children: [
2909
+ previous && item - previous > 1 ? /* @__PURE__ */ jsx128(PaginationEllipsis, {}) : null,
2910
+ /* @__PURE__ */ jsx128(
2735
2911
  PaginationLink,
2736
2912
  {
2737
2913
  href: "#",
@@ -2745,7 +2921,7 @@ var PaginationBar = ({
2745
2921
  )
2746
2922
  ] }, `pagination-${item}--${index}`);
2747
2923
  }),
2748
- /* @__PURE__ */ jsx126(PaginationItem, { children: /* @__PURE__ */ jsx126(
2924
+ /* @__PURE__ */ jsx128(PaginationItem, { children: /* @__PURE__ */ jsx128(
2749
2925
  PaginationNext,
2750
2926
  {
2751
2927
  href: "#",
@@ -2896,11 +3072,11 @@ var revitTokens = {
2896
3072
  };
2897
3073
 
2898
3074
  // src/theme/RevitUIProvider.tsx
2899
- import { Fragment, jsx as jsx127, jsxs as jsxs24 } from "react/jsx-runtime";
3075
+ import { Fragment, jsx as jsx129, jsxs as jsxs26 } from "react/jsx-runtime";
2900
3076
  var RevitUIProvider = ({ tokens = revitTokens, children }) => {
2901
- return /* @__PURE__ */ jsxs24(Fragment, { children: [
2902
- /* @__PURE__ */ jsx127("style", { "data-id": "RevitUITheme", dangerouslySetInnerHTML: { __html: tokensToStylesheet(tokens) } }),
2903
- /* @__PURE__ */ jsx127("div", { "data-id": "RevitUIProvider", className: "revit-ui font-sans", children })
3077
+ return /* @__PURE__ */ jsxs26(Fragment, { children: [
3078
+ /* @__PURE__ */ jsx129("style", { "data-id": "RevitUITheme", dangerouslySetInnerHTML: { __html: tokensToStylesheet(tokens) } }),
3079
+ /* @__PURE__ */ jsx129("div", { "data-id": "RevitUIProvider", className: "revit-ui font-sans", children })
2904
3080
  ] });
2905
3081
  };
2906
3082
  export {
@@ -3024,6 +3200,7 @@ export {
3024
3200
  PaginationLink,
3025
3201
  PaginationNext,
3026
3202
  PaginationPrevious,
3203
+ PasswordInput,
3027
3204
  Popover,
3028
3205
  PopoverContent,
3029
3206
  PopoverTrigger,
@@ -3033,6 +3210,7 @@ export {
3033
3210
  ResizableHandle,
3034
3211
  ResizablePanel,
3035
3212
  ResizablePanelGroup,
3213
+ RevitForm,
3036
3214
  RevitUIProvider,
3037
3215
  ScrollArea,
3038
3216
  ScrollBar,
@@ -3101,6 +3279,7 @@ export {
3101
3279
  toggleVariants,
3102
3280
  tokensToCssVars,
3103
3281
  tokensToStylesheet,
3282
+ useForm,
3104
3283
  useFormField,
3105
3284
  useSidebar
3106
3285
  };