@nerds-with-charisma/revit-ui 0.1.0 → 0.3.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,267 @@ 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
+
1683
+ // src/components/field.tsx
1684
+ import { Slot as Slot4 } from "@radix-ui/react-slot";
1685
+ import { useId as useId2 } from "react";
1686
+ import { jsx as jsx84, jsxs as jsxs13 } from "react/jsx-runtime";
1687
+ var Field = ({
1688
+ children,
1689
+ className,
1690
+ description,
1691
+ error,
1692
+ htmlFor,
1693
+ label,
1694
+ required = false
1695
+ }) => {
1696
+ const generatedId = useId2();
1697
+ const fieldId = htmlFor ?? generatedId;
1698
+ const descriptionId = description ? `${fieldId}-description` : void 0;
1699
+ const errorId = error ? `${fieldId}-error` : void 0;
1700
+ return /* @__PURE__ */ jsxs13("div", { "data-id": "Field", className: cn("flex flex-col gap-2", className), children: [
1701
+ /* @__PURE__ */ jsxs13(Label2, { htmlFor: fieldId, children: [
1702
+ label,
1703
+ required ? /* @__PURE__ */ jsx84("span", { className: "text-destructive", children: " *" }) : null
1704
+ ] }),
1705
+ /* @__PURE__ */ jsx84(
1706
+ Slot4,
1707
+ {
1708
+ "aria-describedby": [descriptionId, errorId].filter(Boolean).join(" ") || void 0,
1709
+ "aria-invalid": error ? true : void 0,
1710
+ id: fieldId,
1711
+ children
1712
+ }
1713
+ ),
1714
+ description ? /* @__PURE__ */ jsx84("p", { className: "text-sm text-muted-foreground", id: descriptionId, children: description }) : null,
1715
+ error ? /* @__PURE__ */ jsx84("p", { className: "text-sm font-medium text-destructive", id: errorId, children: error }) : null
1716
+ ] });
1717
+ };
1718
+
1719
+ // src/components/heading.tsx
1720
+ import { cva as cva10 } from "class-variance-authority";
1721
+ import { jsx as jsx85 } from "react/jsx-runtime";
1722
+ var headingVariants = cva10("font-sans", {
1723
+ variants: {
1724
+ variant: {
1725
+ page: "text-2xl font-semibold tracking-tight text-foreground",
1726
+ title: "text-xl font-semibold leading-none tracking-tight text-foreground",
1727
+ section: "text-lg font-semibold tracking-tight text-foreground",
1728
+ eyebrow: "text-xs font-bold uppercase tracking-[0.22em] text-brand-gold",
1729
+ subtitle: "text-sm font-normal tracking-normal text-muted-foreground"
1730
+ }
1731
+ },
1732
+ defaultVariants: {
1733
+ variant: "title"
1734
+ }
1735
+ });
1736
+ var defaultTag = {
1737
+ page: "h1",
1738
+ title: "h2",
1739
+ section: "h3",
1740
+ eyebrow: "h2",
1741
+ subtitle: "p"
1742
+ };
1743
+ var Heading = ({ as, className, variant = "title", ...props }) => {
1744
+ const Comp = as ?? defaultTag[variant ?? "title"];
1745
+ return /* @__PURE__ */ jsx85(Comp, { "data-id": "Heading", className: cn(headingVariants({ variant }), className), ...props });
1746
+ };
1747
+
1748
+ // src/components/link.tsx
1749
+ import { Slot as Slot5 } from "@radix-ui/react-slot";
1750
+ import { cva as cva11 } from "class-variance-authority";
1751
+ import { jsx as jsx86 } from "react/jsx-runtime";
1752
+ var linkVariants = cva11(`font-sans ${motion.surface} underline-offset-4`, {
1753
+ variants: {
1754
+ variant: {
1755
+ default: "text-foreground underline hover:text-primary",
1756
+ muted: "text-muted-foreground no-underline hover:text-foreground hover:underline",
1757
+ primary: "font-semibold text-primary no-underline hover:underline"
1758
+ },
1759
+ size: {
1760
+ default: "text-sm",
1761
+ sm: "text-xs",
1762
+ base: "text-base"
1763
+ }
1764
+ },
1765
+ defaultVariants: {
1766
+ variant: "default",
1767
+ size: "default"
1768
+ }
1769
+ });
1770
+ var Link = ({ asChild, className, size, variant, ...props }) => {
1771
+ const Comp = asChild ? Slot5 : "a";
1772
+ return /* @__PURE__ */ jsx86(Comp, { "data-id": "Link", className: cn(linkVariants({ variant, size }), className), ...props });
1773
+ };
1774
+
1775
+ // src/components/text.tsx
1776
+ import { cva as cva12 } from "class-variance-authority";
1777
+ import { jsx as jsx87 } from "react/jsx-runtime";
1778
+ var textVariants = cva12("font-sans", {
1779
+ variants: {
1780
+ variant: {
1781
+ body: "text-base font-normal tracking-normal text-foreground",
1782
+ sm: "text-sm font-normal tracking-normal text-foreground",
1783
+ muted: "text-sm font-normal tracking-normal text-muted-foreground",
1784
+ lead: "text-lg font-normal tracking-normal text-foreground",
1785
+ label: "text-sm font-medium leading-none text-foreground"
1786
+ }
1787
+ },
1788
+ defaultVariants: {
1789
+ variant: "body"
1790
+ }
1791
+ });
1792
+ var Text = ({ className, variant, ...props }) => {
1793
+ return /* @__PURE__ */ jsx87("p", { "data-id": "Text", className: cn(textVariants({ variant }), className), ...props });
1794
+ };
1795
+
1507
1796
  // src/components/toaster.tsx
1508
1797
  import { Toaster as SonnerToaster, toast } from "sonner";
1509
- import { jsx as jsx82 } from "react/jsx-runtime";
1798
+ import { jsx as jsx88 } from "react/jsx-runtime";
1510
1799
  var Toaster = ({ ...props }) => {
1511
- return /* @__PURE__ */ jsx82(
1800
+ return /* @__PURE__ */ jsx88(
1512
1801
  SonnerToaster,
1513
1802
  {
1514
1803
  "data-id": "Toaster",
@@ -1529,9 +1818,9 @@ var Toaster = ({ ...props }) => {
1529
1818
 
1530
1819
  // src/components/command.tsx
1531
1820
  import { Command as CommandPrimitive } from "cmdk";
1532
- import { jsx as jsx83 } from "react/jsx-runtime";
1821
+ import { jsx as jsx89 } from "react/jsx-runtime";
1533
1822
  var Command = ({ className, ...props }) => {
1534
- return /* @__PURE__ */ jsx83(
1823
+ return /* @__PURE__ */ jsx89(
1535
1824
  CommandPrimitive,
1536
1825
  {
1537
1826
  "data-id": "Command",
@@ -1547,11 +1836,11 @@ var Command = ({ className, ...props }) => {
1547
1836
  // src/components/command-input.tsx
1548
1837
  import { Command as CommandPrimitive2 } from "cmdk";
1549
1838
  import { Search } from "lucide-react";
1550
- import { jsx as jsx84, jsxs as jsxs11 } from "react/jsx-runtime";
1839
+ import { jsx as jsx90, jsxs as jsxs14 } from "react/jsx-runtime";
1551
1840
  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(
1841
+ return /* @__PURE__ */ jsxs14("div", { className: "flex items-center border-b border-border px-3", "data-id": "CommandInputWrap", children: [
1842
+ /* @__PURE__ */ jsx90(Search, { className: "mr-2 size-4 shrink-0 opacity-50" }),
1843
+ /* @__PURE__ */ jsx90(
1555
1844
  CommandPrimitive2.Input,
1556
1845
  {
1557
1846
  "data-id": "CommandInput",
@@ -1567,9 +1856,9 @@ var CommandInput = ({ className, ...props }) => {
1567
1856
 
1568
1857
  // src/components/command-list.tsx
1569
1858
  import { Command as CommandPrimitive3 } from "cmdk";
1570
- import { jsx as jsx85 } from "react/jsx-runtime";
1859
+ import { jsx as jsx91 } from "react/jsx-runtime";
1571
1860
  var CommandList = ({ className, ...props }) => {
1572
- return /* @__PURE__ */ jsx85(
1861
+ return /* @__PURE__ */ jsx91(
1573
1862
  CommandPrimitive3.List,
1574
1863
  {
1575
1864
  "data-id": "CommandList",
@@ -1581,9 +1870,9 @@ var CommandList = ({ className, ...props }) => {
1581
1870
 
1582
1871
  // src/components/command-empty.tsx
1583
1872
  import { Command as CommandPrimitive4 } from "cmdk";
1584
- import { jsx as jsx86 } from "react/jsx-runtime";
1873
+ import { jsx as jsx92 } from "react/jsx-runtime";
1585
1874
  var CommandEmpty = ({ className, ...props }) => {
1586
- return /* @__PURE__ */ jsx86(
1875
+ return /* @__PURE__ */ jsx92(
1587
1876
  CommandPrimitive4.Empty,
1588
1877
  {
1589
1878
  "data-id": "CommandEmpty",
@@ -1595,9 +1884,9 @@ var CommandEmpty = ({ className, ...props }) => {
1595
1884
 
1596
1885
  // src/components/command-group.tsx
1597
1886
  import { Command as CommandPrimitive5 } from "cmdk";
1598
- import { jsx as jsx87 } from "react/jsx-runtime";
1887
+ import { jsx as jsx93 } from "react/jsx-runtime";
1599
1888
  var CommandGroup = ({ className, ...props }) => {
1600
- return /* @__PURE__ */ jsx87(
1889
+ return /* @__PURE__ */ jsx93(
1601
1890
  CommandPrimitive5.Group,
1602
1891
  {
1603
1892
  "data-id": "CommandGroup",
@@ -1612,9 +1901,9 @@ var CommandGroup = ({ className, ...props }) => {
1612
1901
 
1613
1902
  // src/components/command-item.tsx
1614
1903
  import { Command as CommandPrimitive6 } from "cmdk";
1615
- import { jsx as jsx88 } from "react/jsx-runtime";
1904
+ import { jsx as jsx94 } from "react/jsx-runtime";
1616
1905
  var CommandItem = ({ className, ...props }) => {
1617
- return /* @__PURE__ */ jsx88(
1906
+ return /* @__PURE__ */ jsx94(
1618
1907
  CommandPrimitive6.Item,
1619
1908
  {
1620
1909
  "data-id": "CommandItem",
@@ -1628,9 +1917,9 @@ var CommandItem = ({ className, ...props }) => {
1628
1917
  };
1629
1918
 
1630
1919
  // src/components/combobox.tsx
1631
- import { useState } from "react";
1920
+ import { useState as useState2 } from "react";
1632
1921
  import { Check as Check3, ChevronsUpDown } from "lucide-react";
1633
- import { jsx as jsx89, jsxs as jsxs12 } from "react/jsx-runtime";
1922
+ import { jsx as jsx95, jsxs as jsxs15 } from "react/jsx-runtime";
1634
1923
  var Combobox = ({
1635
1924
  options,
1636
1925
  value,
@@ -1639,10 +1928,10 @@ var Combobox = ({
1639
1928
  emptyText = "No results.",
1640
1929
  className
1641
1930
  }) => {
1642
- const [open, openSetter] = useState(false);
1931
+ const [open, openSetter] = useState2(false);
1643
1932
  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(
1933
+ return /* @__PURE__ */ jsxs15(Popover, { open, onOpenChange: openSetter, children: [
1934
+ /* @__PURE__ */ jsx95(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
1646
1935
  Button,
1647
1936
  {
1648
1937
  "data-id": "Combobox",
@@ -1652,15 +1941,15 @@ var Combobox = ({
1652
1941
  className: cn("w-full justify-between normal-case tracking-normal", className),
1653
1942
  children: [
1654
1943
  selected?.label ?? placeholder,
1655
- /* @__PURE__ */ jsx89(ChevronsUpDown, { className: "size-4 opacity-50" })
1944
+ /* @__PURE__ */ jsx95(ChevronsUpDown, { className: "size-4 opacity-50" })
1656
1945
  ]
1657
1946
  }
1658
1947
  ) }),
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(
1948
+ /* @__PURE__ */ jsx95(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] p-0", children: /* @__PURE__ */ jsxs15(Command, { children: [
1949
+ /* @__PURE__ */ jsx95(CommandInput, { placeholder }),
1950
+ /* @__PURE__ */ jsxs15(CommandList, { children: [
1951
+ /* @__PURE__ */ jsx95(CommandEmpty, { children: emptyText }),
1952
+ options.map((option) => /* @__PURE__ */ jsxs15(
1664
1953
  CommandItem,
1665
1954
  {
1666
1955
  value: option.value,
@@ -1669,7 +1958,7 @@ var Combobox = ({
1669
1958
  openSetter(false);
1670
1959
  },
1671
1960
  children: [
1672
- /* @__PURE__ */ jsx89(Check3, { className: cn("mr-2 size-4", value === option.value ? "opacity-100" : "opacity-0") }),
1961
+ /* @__PURE__ */ jsx95(Check3, { className: cn("mr-2 size-4", value === option.value ? "opacity-100" : "opacity-0") }),
1673
1962
  option.label
1674
1963
  ]
1675
1964
  },
@@ -1696,9 +1985,9 @@ var overlayPanel = `z-50 overflow-hidden rounded-lg border border-border bg-popo
1696
1985
  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
1986
 
1698
1987
  // src/components/context-menu-content.tsx
1699
- import { jsx as jsx90 } from "react/jsx-runtime";
1988
+ import { jsx as jsx96 } from "react/jsx-runtime";
1700
1989
  var ContextMenuContent = ({ className, ...props }) => {
1701
- return /* @__PURE__ */ jsx90(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx90(
1990
+ return /* @__PURE__ */ jsx96(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx96(
1702
1991
  ContextMenuPrimitive3.Content,
1703
1992
  {
1704
1993
  "data-id": "ContextMenuContent",
@@ -1710,9 +1999,9 @@ var ContextMenuContent = ({ className, ...props }) => {
1710
1999
 
1711
2000
  // src/components/context-menu-item.tsx
1712
2001
  import * as ContextMenuPrimitive4 from "@radix-ui/react-context-menu";
1713
- import { jsx as jsx91 } from "react/jsx-runtime";
2002
+ import { jsx as jsx97 } from "react/jsx-runtime";
1714
2003
  var ContextMenuItem = ({ className, ...props }) => {
1715
- return /* @__PURE__ */ jsx91(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
2004
+ return /* @__PURE__ */ jsx97(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
1716
2005
  };
1717
2006
 
1718
2007
  // src/components/alert-dialog.tsx
@@ -1728,9 +2017,9 @@ import * as AlertDialogPrimitive4 from "@radix-ui/react-alert-dialog";
1728
2017
 
1729
2018
  // src/components/alert-dialog-overlay.tsx
1730
2019
  import * as AlertDialogPrimitive3 from "@radix-ui/react-alert-dialog";
1731
- import { jsx as jsx92 } from "react/jsx-runtime";
2020
+ import { jsx as jsx98 } from "react/jsx-runtime";
1732
2021
  var AlertDialogOverlay = ({ className, ...props }) => {
1733
- return /* @__PURE__ */ jsx92(
2022
+ return /* @__PURE__ */ jsx98(
1734
2023
  AlertDialogPrimitive3.Overlay,
1735
2024
  {
1736
2025
  "data-id": "AlertDialogOverlay",
@@ -1744,11 +2033,11 @@ var AlertDialogOverlay = ({ className, ...props }) => {
1744
2033
  };
1745
2034
 
1746
2035
  // src/components/alert-dialog-content.tsx
1747
- import { jsx as jsx93, jsxs as jsxs13 } from "react/jsx-runtime";
2036
+ import { jsx as jsx99, jsxs as jsxs16 } from "react/jsx-runtime";
1748
2037
  var AlertDialogContent = ({ className, ...props }) => {
1749
- return /* @__PURE__ */ jsxs13(AlertDialogPrimitive4.Portal, { children: [
1750
- /* @__PURE__ */ jsx93(AlertDialogOverlay, {}),
1751
- /* @__PURE__ */ jsx93(
2038
+ return /* @__PURE__ */ jsxs16(AlertDialogPrimitive4.Portal, { children: [
2039
+ /* @__PURE__ */ jsx99(AlertDialogOverlay, {}),
2040
+ /* @__PURE__ */ jsx99(
1752
2041
  AlertDialogPrimitive4.Content,
1753
2042
  {
1754
2043
  "data-id": "AlertDialogContent",
@@ -1763,15 +2052,15 @@ var AlertDialogContent = ({ className, ...props }) => {
1763
2052
  };
1764
2053
 
1765
2054
  // src/components/alert-dialog-header.tsx
1766
- import { jsx as jsx94 } from "react/jsx-runtime";
2055
+ import { jsx as jsx100 } from "react/jsx-runtime";
1767
2056
  var AlertDialogHeader = ({ className, ...props }) => {
1768
- return /* @__PURE__ */ jsx94("div", { "data-id": "AlertDialogHeader", className: cn("flex flex-col gap-2", className), ...props });
2057
+ return /* @__PURE__ */ jsx100("div", { "data-id": "AlertDialogHeader", className: cn("flex flex-col gap-2", className), ...props });
1769
2058
  };
1770
2059
 
1771
2060
  // src/components/alert-dialog-footer.tsx
1772
- import { jsx as jsx95 } from "react/jsx-runtime";
2061
+ import { jsx as jsx101 } from "react/jsx-runtime";
1773
2062
  var AlertDialogFooter = ({ className, ...props }) => {
1774
- return /* @__PURE__ */ jsx95(
2063
+ return /* @__PURE__ */ jsx101(
1775
2064
  "div",
1776
2065
  {
1777
2066
  "data-id": "AlertDialogFooter",
@@ -1783,9 +2072,9 @@ var AlertDialogFooter = ({ className, ...props }) => {
1783
2072
 
1784
2073
  // src/components/alert-dialog-title.tsx
1785
2074
  import * as AlertDialogPrimitive5 from "@radix-ui/react-alert-dialog";
1786
- import { jsx as jsx96 } from "react/jsx-runtime";
2075
+ import { jsx as jsx102 } from "react/jsx-runtime";
1787
2076
  var AlertDialogTitle = ({ className, ...props }) => {
1788
- return /* @__PURE__ */ jsx96(
2077
+ return /* @__PURE__ */ jsx102(
1789
2078
  AlertDialogPrimitive5.Title,
1790
2079
  {
1791
2080
  "data-id": "AlertDialogTitle",
@@ -1797,9 +2086,9 @@ var AlertDialogTitle = ({ className, ...props }) => {
1797
2086
 
1798
2087
  // src/components/alert-dialog-description.tsx
1799
2088
  import * as AlertDialogPrimitive6 from "@radix-ui/react-alert-dialog";
1800
- import { jsx as jsx97 } from "react/jsx-runtime";
2089
+ import { jsx as jsx103 } from "react/jsx-runtime";
1801
2090
  var AlertDialogDescription = ({ className, ...props }) => {
1802
- return /* @__PURE__ */ jsx97(
2091
+ return /* @__PURE__ */ jsx103(
1803
2092
  AlertDialogPrimitive6.Description,
1804
2093
  {
1805
2094
  "data-id": "AlertDialogDescription",
@@ -1811,9 +2100,9 @@ var AlertDialogDescription = ({ className, ...props }) => {
1811
2100
 
1812
2101
  // src/components/alert-dialog-action.tsx
1813
2102
  import * as AlertDialogPrimitive7 from "@radix-ui/react-alert-dialog";
1814
- import { jsx as jsx98 } from "react/jsx-runtime";
2103
+ import { jsx as jsx104 } from "react/jsx-runtime";
1815
2104
  var AlertDialogAction = ({ className, ...props }) => {
1816
- return /* @__PURE__ */ jsx98(
2105
+ return /* @__PURE__ */ jsx104(
1817
2106
  AlertDialogPrimitive7.Action,
1818
2107
  {
1819
2108
  "data-id": "AlertDialogAction",
@@ -1825,9 +2114,9 @@ var AlertDialogAction = ({ className, ...props }) => {
1825
2114
 
1826
2115
  // src/components/alert-dialog-cancel.tsx
1827
2116
  import * as AlertDialogPrimitive8 from "@radix-ui/react-alert-dialog";
1828
- import { jsx as jsx99 } from "react/jsx-runtime";
2117
+ import { jsx as jsx105 } from "react/jsx-runtime";
1829
2118
  var AlertDialogCancel = ({ className, ...props }) => {
1830
- return /* @__PURE__ */ jsx99(
2119
+ return /* @__PURE__ */ jsx105(
1831
2120
  AlertDialogPrimitive8.Cancel,
1832
2121
  {
1833
2122
  "data-id": "AlertDialogCancel",
@@ -1847,14 +2136,14 @@ var HoverCardTrigger = HoverCardPrimitive2.Trigger;
1847
2136
 
1848
2137
  // src/components/hover-card-content.tsx
1849
2138
  import * as HoverCardPrimitive3 from "@radix-ui/react-hover-card";
1850
- import { jsx as jsx100 } from "react/jsx-runtime";
2139
+ import { jsx as jsx106 } from "react/jsx-runtime";
1851
2140
  var HoverCardContent = ({
1852
2141
  className,
1853
2142
  align = "center",
1854
2143
  sideOffset = 8,
1855
2144
  ...props
1856
2145
  }) => {
1857
- return /* @__PURE__ */ jsx100(
2146
+ return /* @__PURE__ */ jsx106(
1858
2147
  HoverCardPrimitive3.Content,
1859
2148
  {
1860
2149
  "data-id": "HoverCardContent",
@@ -1872,15 +2161,15 @@ var HoverCardContent = ({
1872
2161
 
1873
2162
  // src/components/progress.tsx
1874
2163
  import * as ProgressPrimitive from "@radix-ui/react-progress";
1875
- import { jsx as jsx101 } from "react/jsx-runtime";
2164
+ import { jsx as jsx107 } from "react/jsx-runtime";
1876
2165
  var Progress = ({ className, value, ...props }) => {
1877
- return /* @__PURE__ */ jsx101(
2166
+ return /* @__PURE__ */ jsx107(
1878
2167
  ProgressPrimitive.Root,
1879
2168
  {
1880
2169
  "data-id": "Progress",
1881
2170
  className: cn("relative h-2 w-full overflow-hidden rounded-pill bg-muted", className),
1882
2171
  ...props,
1883
- children: /* @__PURE__ */ jsx101(
2172
+ children: /* @__PURE__ */ jsx107(
1884
2173
  ProgressPrimitive.Indicator,
1885
2174
  {
1886
2175
  className: `h-full w-full flex-1 bg-primary ${motion.surface}`,
@@ -1893,9 +2182,9 @@ var Progress = ({ className, value, ...props }) => {
1893
2182
 
1894
2183
  // src/components/toggle.tsx
1895
2184
  import * as TogglePrimitive from "@radix-ui/react-toggle";
1896
- import { cva as cva10 } from "class-variance-authority";
1897
- import { jsx as jsx102 } from "react/jsx-runtime";
1898
- var toggleVariants = cva10(
2185
+ import { cva as cva13 } from "class-variance-authority";
2186
+ import { jsx as jsx108 } from "react/jsx-runtime";
2187
+ var toggleVariants = cva13(
1899
2188
  `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
2189
  {
1901
2190
  variants: {
@@ -1916,7 +2205,7 @@ var toggleVariants = cva10(
1916
2205
  }
1917
2206
  );
1918
2207
  var Toggle = ({ className, variant, size, ...props }) => {
1919
- return /* @__PURE__ */ jsx102(
2208
+ return /* @__PURE__ */ jsx108(
1920
2209
  TogglePrimitive.Root,
1921
2210
  {
1922
2211
  "data-id": "Toggle",
@@ -1929,19 +2218,19 @@ var Toggle = ({ className, variant, size, ...props }) => {
1929
2218
  // src/components/toggle-group.tsx
1930
2219
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
1931
2220
  import { createContext as createContext2, useContext as useContext2 } from "react";
1932
- import { jsx as jsx103 } from "react/jsx-runtime";
2221
+ import { jsx as jsx109 } from "react/jsx-runtime";
1933
2222
  var ToggleGroupContext = createContext2({
1934
2223
  size: "default",
1935
2224
  variant: "default"
1936
2225
  });
1937
2226
  var ToggleGroup = ({ className, variant, size, children, ...props }) => {
1938
- return /* @__PURE__ */ jsx103(
2227
+ return /* @__PURE__ */ jsx109(
1939
2228
  ToggleGroupPrimitive.Root,
1940
2229
  {
1941
2230
  "data-id": "ToggleGroup",
1942
2231
  className: cn("flex items-center gap-1", className),
1943
2232
  ...props,
1944
- children: /* @__PURE__ */ jsx103(ToggleGroupContext, { value: { variant, size }, children })
2233
+ children: /* @__PURE__ */ jsx109(ToggleGroupContext, { value: { variant, size }, children })
1945
2234
  }
1946
2235
  );
1947
2236
  };
@@ -1949,10 +2238,10 @@ var useToggleGroup = () => useContext2(ToggleGroupContext);
1949
2238
 
1950
2239
  // src/components/toggle-group-item.tsx
1951
2240
  import * as ToggleGroupPrimitive2 from "@radix-ui/react-toggle-group";
1952
- import { jsx as jsx104 } from "react/jsx-runtime";
2241
+ import { jsx as jsx110 } from "react/jsx-runtime";
1953
2242
  var ToggleGroupItem = ({ className, children, ...props }) => {
1954
2243
  const { variant, size } = useToggleGroup();
1955
- return /* @__PURE__ */ jsx104(
2244
+ return /* @__PURE__ */ jsx110(
1956
2245
  ToggleGroupPrimitive2.Item,
1957
2246
  {
1958
2247
  "data-id": "ToggleGroupItem",
@@ -1965,16 +2254,16 @@ var ToggleGroupItem = ({ className, children, ...props }) => {
1965
2254
 
1966
2255
  // src/components/scroll-area.tsx
1967
2256
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
1968
- import { jsx as jsx105, jsxs as jsxs14 } from "react/jsx-runtime";
2257
+ import { jsx as jsx111, jsxs as jsxs17 } from "react/jsx-runtime";
1969
2258
  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, {})
2259
+ return /* @__PURE__ */ jsxs17(ScrollAreaPrimitive.Root, { "data-id": "ScrollArea", className: cn("relative overflow-hidden", className), ...props, children: [
2260
+ /* @__PURE__ */ jsx111(ScrollAreaPrimitive.Viewport, { className: "size-full rounded-[inherit]", children }),
2261
+ /* @__PURE__ */ jsx111(ScrollBar, {}),
2262
+ /* @__PURE__ */ jsx111(ScrollAreaPrimitive.Corner, {})
1974
2263
  ] });
1975
2264
  };
1976
2265
  var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
1977
- return /* @__PURE__ */ jsx105(
2266
+ return /* @__PURE__ */ jsx111(
1978
2267
  ScrollAreaPrimitive.ScrollAreaScrollbar,
1979
2268
  {
1980
2269
  "data-id": "ScrollBar",
@@ -1986,7 +2275,7 @@ var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
1986
2275
  className
1987
2276
  ),
1988
2277
  ...props,
1989
- children: /* @__PURE__ */ jsx105(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
2278
+ children: /* @__PURE__ */ jsx111(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
1990
2279
  }
1991
2280
  );
1992
2281
  };
@@ -2001,9 +2290,9 @@ var CollapsibleTrigger2 = CollapsiblePrimitive2.CollapsibleTrigger;
2001
2290
 
2002
2291
  // src/components/collapsible-content.tsx
2003
2292
  import * as CollapsiblePrimitive3 from "@radix-ui/react-collapsible";
2004
- import { jsx as jsx106 } from "react/jsx-runtime";
2293
+ import { jsx as jsx112 } from "react/jsx-runtime";
2005
2294
  var CollapsibleContent2 = ({ className, ...props }) => {
2006
- return /* @__PURE__ */ jsx106(
2295
+ return /* @__PURE__ */ jsx112(
2007
2296
  CollapsiblePrimitive3.CollapsibleContent,
2008
2297
  {
2009
2298
  "data-id": "CollapsibleContent",
@@ -2015,9 +2304,9 @@ var CollapsibleContent2 = ({ className, ...props }) => {
2015
2304
 
2016
2305
  // src/components/calendar.tsx
2017
2306
  import { DayPicker } from "react-day-picker";
2018
- import { jsx as jsx107 } from "react/jsx-runtime";
2307
+ import { jsx as jsx113 } from "react/jsx-runtime";
2019
2308
  var Calendar = ({ className, ...props }) => {
2020
- return /* @__PURE__ */ jsx107(
2309
+ return /* @__PURE__ */ jsx113(
2021
2310
  DayPicker,
2022
2311
  {
2023
2312
  "data-id": "Calendar",
@@ -2030,17 +2319,17 @@ var Calendar = ({ className, ...props }) => {
2030
2319
  // src/components/date-picker.tsx
2031
2320
  import { format } from "date-fns";
2032
2321
  import { CalendarIcon } from "lucide-react";
2033
- import { useState as useState2 } from "react";
2034
- import { jsx as jsx108, jsxs as jsxs15 } from "react/jsx-runtime";
2322
+ import { useState as useState3 } from "react";
2323
+ import { jsx as jsx114, jsxs as jsxs18 } from "react/jsx-runtime";
2035
2324
  var DatePicker = ({
2036
2325
  value,
2037
2326
  onValueChange,
2038
2327
  placeholder = "Pick a date",
2039
2328
  className
2040
2329
  }) => {
2041
- const [open, openSetter] = useState2(false);
2042
- return /* @__PURE__ */ jsxs15(Popover, { open, onOpenChange: openSetter, children: [
2043
- /* @__PURE__ */ jsx108(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
2330
+ const [open, openSetter] = useState3(false);
2331
+ return /* @__PURE__ */ jsxs18(Popover, { open, onOpenChange: openSetter, children: [
2332
+ /* @__PURE__ */ jsx114(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs18(
2044
2333
  Button,
2045
2334
  {
2046
2335
  "data-id": "DatePicker",
@@ -2051,12 +2340,12 @@ var DatePicker = ({
2051
2340
  className
2052
2341
  ),
2053
2342
  children: [
2054
- /* @__PURE__ */ jsx108(CalendarIcon, { className: "size-4" }),
2343
+ /* @__PURE__ */ jsx114(CalendarIcon, { className: "size-4" }),
2055
2344
  value ? format(value, "PPP") : placeholder
2056
2345
  ]
2057
2346
  }
2058
2347
  ) }),
2059
- /* @__PURE__ */ jsx108(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx108(
2348
+ /* @__PURE__ */ jsx114(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx114(
2060
2349
  Calendar,
2061
2350
  {
2062
2351
  mode: "single",
@@ -2072,9 +2361,9 @@ var DatePicker = ({
2072
2361
 
2073
2362
  // src/components/chart-container.tsx
2074
2363
  import { ResponsiveContainer } from "recharts";
2075
- import { jsx as jsx109 } from "react/jsx-runtime";
2364
+ import { jsx as jsx115 } from "react/jsx-runtime";
2076
2365
  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 }) });
2366
+ return /* @__PURE__ */ jsx115("div", { "data-id": "ChartContainer", className: cn("h-64 w-full", className), ...props, children: /* @__PURE__ */ jsx115(ResponsiveContainer, { width: "100%", height: "100%", children }) });
2078
2367
  };
2079
2368
 
2080
2369
  // src/components/chart-tooltip.tsx
@@ -2084,7 +2373,7 @@ import { Tooltip as Tooltip2 } from "recharts";
2084
2373
  import useEmblaCarousel from "embla-carousel-react";
2085
2374
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight3 } from "lucide-react";
2086
2375
  import { createContext as createContext3, useContext as useContext3 } from "react";
2087
- import { jsx as jsx110, jsxs as jsxs16 } from "react/jsx-runtime";
2376
+ import { jsx as jsx116, jsxs as jsxs19 } from "react/jsx-runtime";
2088
2377
  var CarouselContext = createContext3(null);
2089
2378
  var useCarousel = () => {
2090
2379
  const context = useContext3(CarouselContext);
@@ -2107,7 +2396,7 @@ var Carousel = ({ className, opts, children, ...props }) => {
2107
2396
  scrollNext();
2108
2397
  }
2109
2398
  };
2110
- return /* @__PURE__ */ jsx110(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx110(
2399
+ return /* @__PURE__ */ jsx116(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx116(
2111
2400
  "div",
2112
2401
  {
2113
2402
  "data-id": "Carousel",
@@ -2122,10 +2411,10 @@ var Carousel = ({ className, opts, children, ...props }) => {
2122
2411
  };
2123
2412
  var CarouselContent = ({ className, ...props }) => {
2124
2413
  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 }) });
2414
+ return /* @__PURE__ */ jsx116("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx116("div", { "data-id": "CarouselContent", className: cn("flex", className), ...props }) });
2126
2415
  };
2127
2416
  var CarouselItem = ({ className, ...props }) => {
2128
- return /* @__PURE__ */ jsx110(
2417
+ return /* @__PURE__ */ jsx116(
2129
2418
  "div",
2130
2419
  {
2131
2420
  "data-id": "CarouselItem",
@@ -2138,7 +2427,7 @@ var CarouselItem = ({ className, ...props }) => {
2138
2427
  };
2139
2428
  var CarouselPrevious = ({ className, ...props }) => {
2140
2429
  const { scrollPrev } = useCarousel();
2141
- return /* @__PURE__ */ jsxs16(
2430
+ return /* @__PURE__ */ jsxs19(
2142
2431
  Button,
2143
2432
  {
2144
2433
  "data-id": "CarouselPrevious",
@@ -2148,15 +2437,15 @@ var CarouselPrevious = ({ className, ...props }) => {
2148
2437
  onClick: scrollPrev,
2149
2438
  ...props,
2150
2439
  children: [
2151
- /* @__PURE__ */ jsx110(ChevronLeft2, {}),
2152
- /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Previous slide" })
2440
+ /* @__PURE__ */ jsx116(ChevronLeft2, {}),
2441
+ /* @__PURE__ */ jsx116("span", { className: "sr-only", children: "Previous slide" })
2153
2442
  ]
2154
2443
  }
2155
2444
  );
2156
2445
  };
2157
2446
  var CarouselNext = ({ className, ...props }) => {
2158
2447
  const { scrollNext } = useCarousel();
2159
- return /* @__PURE__ */ jsxs16(
2448
+ return /* @__PURE__ */ jsxs19(
2160
2449
  Button,
2161
2450
  {
2162
2451
  "data-id": "CarouselNext",
@@ -2166,8 +2455,8 @@ var CarouselNext = ({ className, ...props }) => {
2166
2455
  onClick: scrollNext,
2167
2456
  ...props,
2168
2457
  children: [
2169
- /* @__PURE__ */ jsx110(ChevronRight3, {}),
2170
- /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Next slide" })
2458
+ /* @__PURE__ */ jsx116(ChevronRight3, {}),
2459
+ /* @__PURE__ */ jsx116("span", { className: "sr-only", children: "Next slide" })
2171
2460
  ]
2172
2461
  }
2173
2462
  );
@@ -2175,13 +2464,13 @@ var CarouselNext = ({ className, ...props }) => {
2175
2464
 
2176
2465
  // src/components/drawer.tsx
2177
2466
  import { Drawer as VaulDrawer } from "vaul";
2178
- import { jsx as jsx111, jsxs as jsxs17 } from "react/jsx-runtime";
2467
+ import { jsx as jsx117, jsxs as jsxs20 } from "react/jsx-runtime";
2179
2468
  var Drawer = VaulDrawer.Root;
2180
2469
  var DrawerTrigger = VaulDrawer.Trigger;
2181
2470
  var DrawerClose = VaulDrawer.Close;
2182
2471
  var DrawerPortal = VaulDrawer.Portal;
2183
2472
  var DrawerOverlay = ({ className, ...props }) => {
2184
- return /* @__PURE__ */ jsx111(
2473
+ return /* @__PURE__ */ jsx117(
2185
2474
  VaulDrawer.Overlay,
2186
2475
  {
2187
2476
  "data-id": "DrawerOverlay",
@@ -2191,9 +2480,9 @@ var DrawerOverlay = ({ className, ...props }) => {
2191
2480
  );
2192
2481
  };
2193
2482
  var DrawerContent = ({ className, children, ...props }) => {
2194
- return /* @__PURE__ */ jsxs17(VaulDrawer.Portal, { children: [
2195
- /* @__PURE__ */ jsx111(DrawerOverlay, {}),
2196
- /* @__PURE__ */ jsxs17(
2483
+ return /* @__PURE__ */ jsxs20(VaulDrawer.Portal, { children: [
2484
+ /* @__PURE__ */ jsx117(DrawerOverlay, {}),
2485
+ /* @__PURE__ */ jsxs20(
2197
2486
  VaulDrawer.Content,
2198
2487
  {
2199
2488
  "data-id": "DrawerContent",
@@ -2203,7 +2492,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2203
2492
  ),
2204
2493
  ...props,
2205
2494
  children: [
2206
- /* @__PURE__ */ jsx111("div", { className: "mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted" }),
2495
+ /* @__PURE__ */ jsx117("div", { className: "mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted" }),
2207
2496
  children
2208
2497
  ]
2209
2498
  }
@@ -2211,7 +2500,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2211
2500
  ] });
2212
2501
  };
2213
2502
  var DrawerTitle = ({ className, ...props }) => {
2214
- return /* @__PURE__ */ jsx111(
2503
+ return /* @__PURE__ */ jsx117(
2215
2504
  VaulDrawer.Title,
2216
2505
  {
2217
2506
  "data-id": "DrawerTitle",
@@ -2224,7 +2513,7 @@ var DrawerDescription = ({
2224
2513
  className,
2225
2514
  ...props
2226
2515
  }) => {
2227
- return /* @__PURE__ */ jsx111(
2516
+ return /* @__PURE__ */ jsx117(
2228
2517
  VaulDrawer.Description,
2229
2518
  {
2230
2519
  "data-id": "DrawerDescription",
@@ -2236,9 +2525,9 @@ var DrawerDescription = ({
2236
2525
 
2237
2526
  // src/components/menubar.tsx
2238
2527
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
2239
- import { jsx as jsx112 } from "react/jsx-runtime";
2528
+ import { jsx as jsx118 } from "react/jsx-runtime";
2240
2529
  var Menubar = ({ className, ...props }) => {
2241
- return /* @__PURE__ */ jsx112(
2530
+ return /* @__PURE__ */ jsx118(
2242
2531
  MenubarPrimitive.Root,
2243
2532
  {
2244
2533
  "data-id": "Menubar",
@@ -2252,7 +2541,7 @@ var MenubarTrigger = ({
2252
2541
  className,
2253
2542
  ...props
2254
2543
  }) => {
2255
- return /* @__PURE__ */ jsx112(
2544
+ return /* @__PURE__ */ jsx118(
2256
2545
  MenubarPrimitive.Trigger,
2257
2546
  {
2258
2547
  "data-id": "MenubarTrigger",
@@ -2268,7 +2557,7 @@ var MenubarContent = ({
2268
2557
  className,
2269
2558
  ...props
2270
2559
  }) => {
2271
- return /* @__PURE__ */ jsx112(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx112(
2560
+ return /* @__PURE__ */ jsx118(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx118(
2272
2561
  MenubarPrimitive.Content,
2273
2562
  {
2274
2563
  "data-id": "MenubarContent",
@@ -2278,13 +2567,13 @@ var MenubarContent = ({
2278
2567
  ) });
2279
2568
  };
2280
2569
  var MenubarItem = ({ className, ...props }) => {
2281
- return /* @__PURE__ */ jsx112(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2570
+ return /* @__PURE__ */ jsx118(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2282
2571
  };
2283
2572
  var MenubarSeparator = ({
2284
2573
  className,
2285
2574
  ...props
2286
2575
  }) => {
2287
- return /* @__PURE__ */ jsx112(
2576
+ return /* @__PURE__ */ jsx118(
2288
2577
  MenubarPrimitive.Separator,
2289
2578
  {
2290
2579
  "data-id": "MenubarSeparator",
@@ -2297,13 +2586,13 @@ var MenubarSeparator = ({
2297
2586
  // src/components/navigation-menu.tsx
2298
2587
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2299
2588
  import { ChevronDown as ChevronDown4 } from "lucide-react";
2300
- import { jsx as jsx113, jsxs as jsxs18 } from "react/jsx-runtime";
2589
+ import { jsx as jsx119, jsxs as jsxs21 } from "react/jsx-runtime";
2301
2590
  var NavigationMenu = ({
2302
2591
  className,
2303
2592
  children,
2304
2593
  ...props
2305
2594
  }) => {
2306
- return /* @__PURE__ */ jsxs18(
2595
+ return /* @__PURE__ */ jsxs21(
2307
2596
  NavigationMenuPrimitive.Root,
2308
2597
  {
2309
2598
  "data-id": "NavigationMenu",
@@ -2311,7 +2600,7 @@ var NavigationMenu = ({
2311
2600
  ...props,
2312
2601
  children: [
2313
2602
  children,
2314
- /* @__PURE__ */ jsx113(
2603
+ /* @__PURE__ */ jsx119(
2315
2604
  NavigationMenuPrimitive.Viewport,
2316
2605
  {
2317
2606
  className: cn(
@@ -2328,7 +2617,7 @@ var NavigationMenuList = ({
2328
2617
  className,
2329
2618
  ...props
2330
2619
  }) => {
2331
- return /* @__PURE__ */ jsx113(
2620
+ return /* @__PURE__ */ jsx119(
2332
2621
  NavigationMenuPrimitive.List,
2333
2622
  {
2334
2623
  "data-id": "NavigationMenuList",
@@ -2343,7 +2632,7 @@ var NavigationMenuTrigger = ({
2343
2632
  children,
2344
2633
  ...props
2345
2634
  }) => {
2346
- return /* @__PURE__ */ jsxs18(
2635
+ return /* @__PURE__ */ jsxs21(
2347
2636
  NavigationMenuPrimitive.Trigger,
2348
2637
  {
2349
2638
  "data-id": "NavigationMenuTrigger",
@@ -2354,7 +2643,7 @@ var NavigationMenuTrigger = ({
2354
2643
  ...props,
2355
2644
  children: [
2356
2645
  children,
2357
- /* @__PURE__ */ jsx113(ChevronDown4, { className: "size-3" })
2646
+ /* @__PURE__ */ jsx119(ChevronDown4, { className: "size-3" })
2358
2647
  ]
2359
2648
  }
2360
2649
  );
@@ -2363,7 +2652,7 @@ var NavigationMenuContent = ({
2363
2652
  className,
2364
2653
  ...props
2365
2654
  }) => {
2366
- return /* @__PURE__ */ jsx113(
2655
+ return /* @__PURE__ */ jsx119(
2367
2656
  NavigationMenuPrimitive.Content,
2368
2657
  {
2369
2658
  "data-id": "NavigationMenuContent",
@@ -2376,13 +2665,13 @@ var NavigationMenuLink = NavigationMenuPrimitive.Link;
2376
2665
 
2377
2666
  // src/components/resizable.tsx
2378
2667
  import { Group as Group2, Panel, Separator as Separator5 } from "react-resizable-panels";
2379
- import { jsx as jsx114 } from "react/jsx-runtime";
2668
+ import { jsx as jsx120 } from "react/jsx-runtime";
2380
2669
  var ResizablePanelGroup = ({ className, ...props }) => {
2381
- return /* @__PURE__ */ jsx114(Group2, { "data-id": "ResizablePanelGroup", className: cn("flex h-full w-full", className), ...props });
2670
+ return /* @__PURE__ */ jsx120(Group2, { "data-id": "ResizablePanelGroup", className: cn("flex h-full w-full", className), ...props });
2382
2671
  };
2383
2672
  var ResizablePanel = Panel;
2384
2673
  var ResizableHandle = ({ className, ...props }) => {
2385
- return /* @__PURE__ */ jsx114(
2674
+ return /* @__PURE__ */ jsx120(
2386
2675
  Separator5,
2387
2676
  {
2388
2677
  "data-id": "ResizableHandle",
@@ -2398,9 +2687,9 @@ import {
2398
2687
  createContext as createContext4,
2399
2688
  useContext as useContext4,
2400
2689
  useMemo,
2401
- useState as useState3
2690
+ useState as useState4
2402
2691
  } from "react";
2403
- import { jsx as jsx115, jsxs as jsxs19 } from "react/jsx-runtime";
2692
+ import { jsx as jsx121, jsxs as jsxs22 } from "react/jsx-runtime";
2404
2693
  var SidebarContext = createContext4(null);
2405
2694
  var useSidebar = () => {
2406
2695
  const context = useContext4(SidebarContext);
@@ -2416,9 +2705,9 @@ var SidebarProvider = ({
2416
2705
  children,
2417
2706
  ...props
2418
2707
  }) => {
2419
- const [isOpen, isOpenSetter] = useState3(defaultOpen);
2708
+ const [isOpen, isOpenSetter] = useState4(defaultOpen);
2420
2709
  const value = useMemo(() => ({ isOpen, isOpenSetter }), [isOpen]);
2421
- return /* @__PURE__ */ jsx115(SidebarContext, { value, children: /* @__PURE__ */ jsx115(
2710
+ return /* @__PURE__ */ jsx121(SidebarContext, { value, children: /* @__PURE__ */ jsx121(
2422
2711
  "div",
2423
2712
  {
2424
2713
  "data-id": "SidebarProvider",
@@ -2434,7 +2723,7 @@ var SidebarProvider = ({
2434
2723
  };
2435
2724
  var Sidebar = ({ className, children, ...props }) => {
2436
2725
  const { isOpen } = useSidebar();
2437
- return /* @__PURE__ */ jsx115(
2726
+ return /* @__PURE__ */ jsx121(
2438
2727
  "aside",
2439
2728
  {
2440
2729
  "data-id": "Sidebar",
@@ -2450,11 +2739,11 @@ var Sidebar = ({ className, children, ...props }) => {
2450
2739
  );
2451
2740
  };
2452
2741
  var SidebarInset = ({ className, ...props }) => {
2453
- return /* @__PURE__ */ jsx115("main", { "data-id": "SidebarInset", className: cn("flex flex-1 flex-col", className), ...props });
2742
+ return /* @__PURE__ */ jsx121("main", { "data-id": "SidebarInset", className: cn("flex flex-1 flex-col", className), ...props });
2454
2743
  };
2455
2744
  var SidebarTrigger = ({ className, ...props }) => {
2456
2745
  const { isOpen, isOpenSetter } = useSidebar();
2457
- return /* @__PURE__ */ jsxs19(
2746
+ return /* @__PURE__ */ jsxs22(
2458
2747
  Button,
2459
2748
  {
2460
2749
  "data-id": "SidebarTrigger",
@@ -2464,29 +2753,29 @@ var SidebarTrigger = ({ className, ...props }) => {
2464
2753
  onClick: () => isOpenSetter(!isOpen),
2465
2754
  ...props,
2466
2755
  children: [
2467
- /* @__PURE__ */ jsx115(PanelLeft, {}),
2468
- /* @__PURE__ */ jsx115("span", { className: "sr-only", children: "Toggle sidebar" })
2756
+ /* @__PURE__ */ jsx121(PanelLeft, {}),
2757
+ /* @__PURE__ */ jsx121("span", { className: "sr-only", children: "Toggle sidebar" })
2469
2758
  ]
2470
2759
  }
2471
2760
  );
2472
2761
  };
2473
2762
  var SidebarHeader = ({ className, ...props }) => {
2474
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2763
+ return /* @__PURE__ */ jsx121("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2475
2764
  };
2476
2765
  var SidebarContent = ({ className, ...props }) => {
2477
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarContent", className: cn("flex-1 p-2", className), ...props });
2766
+ return /* @__PURE__ */ jsx121("div", { "data-id": "SidebarContent", className: cn("flex-1 p-2", className), ...props });
2478
2767
  };
2479
2768
  var SidebarFooter = ({ className, ...props }) => {
2480
- return /* @__PURE__ */ jsx115("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2769
+ return /* @__PURE__ */ jsx121("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2481
2770
  };
2482
2771
  var SidebarMenu = ({ className, ...props }) => {
2483
- return /* @__PURE__ */ jsx115("ul", { "data-id": "SidebarMenu", className: cn("flex flex-col gap-1", className), ...props });
2772
+ return /* @__PURE__ */ jsx121("ul", { "data-id": "SidebarMenu", className: cn("flex flex-col gap-1", className), ...props });
2484
2773
  };
2485
2774
  var SidebarMenuItem = ({ className, ...props }) => {
2486
- return /* @__PURE__ */ jsx115("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2775
+ return /* @__PURE__ */ jsx121("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2487
2776
  };
2488
2777
  var SidebarMenuButton = ({ className, ...props }) => {
2489
- return /* @__PURE__ */ jsx115(
2778
+ return /* @__PURE__ */ jsx121(
2490
2779
  "button",
2491
2780
  {
2492
2781
  "data-id": "SidebarMenuButton",
@@ -2502,9 +2791,9 @@ var SidebarMenuButton = ({ className, ...props }) => {
2502
2791
  // src/components/input-otp.tsx
2503
2792
  import { OTPInput, OTPInputContext } from "input-otp";
2504
2793
  import { useContext as useContext5 } from "react";
2505
- import { jsx as jsx116, jsxs as jsxs20 } from "react/jsx-runtime";
2794
+ import { jsx as jsx122, jsxs as jsxs23 } from "react/jsx-runtime";
2506
2795
  var InputOTP = ({ className, containerClassName, ...props }) => {
2507
- return /* @__PURE__ */ jsx116(
2796
+ return /* @__PURE__ */ jsx122(
2508
2797
  OTPInput,
2509
2798
  {
2510
2799
  "data-id": "InputOTP",
@@ -2515,7 +2804,7 @@ var InputOTP = ({ className, containerClassName, ...props }) => {
2515
2804
  );
2516
2805
  };
2517
2806
  var InputOTPGroup = ({ className, ...props }) => {
2518
- return /* @__PURE__ */ jsx116("div", { "data-id": "InputOTPGroup", className: cn("flex items-center gap-2", className), ...props });
2807
+ return /* @__PURE__ */ jsx122("div", { "data-id": "InputOTPGroup", className: cn("flex items-center gap-2", className), ...props });
2519
2808
  };
2520
2809
  var InputOTPSlot = ({
2521
2810
  index,
@@ -2524,7 +2813,7 @@ var InputOTPSlot = ({
2524
2813
  }) => {
2525
2814
  const inputOTPContext = useContext5(OTPInputContext);
2526
2815
  const slot = inputOTPContext.slots[index];
2527
- return /* @__PURE__ */ jsxs20(
2816
+ return /* @__PURE__ */ jsxs23(
2528
2817
  "div",
2529
2818
  {
2530
2819
  "data-id": "InputOTPSlot",
@@ -2537,7 +2826,7 @@ var InputOTPSlot = ({
2537
2826
  ...props,
2538
2827
  children: [
2539
2828
  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
2829
+ slot?.hasFakeCaret ? /* @__PURE__ */ jsx122("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx122("div", { className: "h-4 w-px animate-pulse bg-foreground" }) }) : null
2541
2830
  ]
2542
2831
  }
2543
2832
  );
@@ -2560,15 +2849,15 @@ var surfaces = {
2560
2849
  };
2561
2850
 
2562
2851
  // src/components/frost-panel.tsx
2563
- import { jsx as jsx117 } from "react/jsx-runtime";
2852
+ import { jsx as jsx123 } from "react/jsx-runtime";
2564
2853
  var FrostPanel = ({ className, ...props }) => {
2565
- return /* @__PURE__ */ jsx117("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2854
+ return /* @__PURE__ */ jsx123("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2566
2855
  };
2567
2856
 
2568
2857
  // src/components/frost-nav.tsx
2569
- import { jsx as jsx118 } from "react/jsx-runtime";
2858
+ import { jsx as jsx124 } from "react/jsx-runtime";
2570
2859
  var FrostNav = ({ className, isOnLight = false, ...props }) => {
2571
- return /* @__PURE__ */ jsx118(
2860
+ return /* @__PURE__ */ jsx124(
2572
2861
  "nav",
2573
2862
  {
2574
2863
  "data-id": "FrostNav",
@@ -2580,27 +2869,27 @@ var FrostNav = ({ className, isOnLight = false, ...props }) => {
2580
2869
  };
2581
2870
 
2582
2871
  // src/components/frost-tile.tsx
2583
- import { jsx as jsx119 } from "react/jsx-runtime";
2872
+ import { jsx as jsx125 } from "react/jsx-runtime";
2584
2873
  var FrostTile = ({ className, ...props }) => {
2585
- return /* @__PURE__ */ jsx119("div", { "data-id": "FrostTile", className: cn("group", surfaces.frostTile, className), ...props });
2874
+ return /* @__PURE__ */ jsx125("div", { "data-id": "FrostTile", className: cn("group", surfaces.frostTile, className), ...props });
2586
2875
  };
2587
2876
 
2588
2877
  // src/components/frost-fab.tsx
2589
- import { jsx as jsx120 } from "react/jsx-runtime";
2878
+ import { jsx as jsx126 } from "react/jsx-runtime";
2590
2879
  var FrostFab = ({ className, ...props }) => {
2591
- return /* @__PURE__ */ jsx120("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2880
+ return /* @__PURE__ */ jsx126("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2592
2881
  };
2593
2882
 
2594
2883
  // src/components/brand-gradient.tsx
2595
- import { jsx as jsx121 } from "react/jsx-runtime";
2884
+ import { jsx as jsx127 } from "react/jsx-runtime";
2596
2885
  var BrandGradient = ({ className, ...props }) => {
2597
- return /* @__PURE__ */ jsx121("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2886
+ return /* @__PURE__ */ jsx127("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2598
2887
  };
2599
2888
 
2600
2889
  // src/components/image-scrim.tsx
2601
- import { cva as cva11 } from "class-variance-authority";
2602
- import { jsx as jsx122 } from "react/jsx-runtime";
2603
- var imageScrimVariants = cva11("pointer-events-none absolute inset-0", {
2890
+ import { cva as cva14 } from "class-variance-authority";
2891
+ import { jsx as jsx128 } from "react/jsx-runtime";
2892
+ var imageScrimVariants = cva14("pointer-events-none absolute inset-0", {
2604
2893
  variants: {
2605
2894
  variant: {
2606
2895
  hero: "revit-image-scrim-hero",
@@ -2613,7 +2902,7 @@ var imageScrimVariants = cva11("pointer-events-none absolute inset-0", {
2613
2902
  }
2614
2903
  });
2615
2904
  var ImageScrim = ({ className, variant, ...props }) => {
2616
- return /* @__PURE__ */ jsx122(
2905
+ return /* @__PURE__ */ jsx128(
2617
2906
  "div",
2618
2907
  {
2619
2908
  "data-id": "ImageScrim",
@@ -2626,7 +2915,7 @@ var ImageScrim = ({ className, variant, ...props }) => {
2626
2915
 
2627
2916
  // src/components/search-bar.tsx
2628
2917
  import { Search as Search2 } from "lucide-react";
2629
- import { jsx as jsx123, jsxs as jsxs21 } from "react/jsx-runtime";
2918
+ import { jsx as jsx129, jsxs as jsxs24 } from "react/jsx-runtime";
2630
2919
  var SearchBar = ({
2631
2920
  className,
2632
2921
  placeholder = "Search",
@@ -2634,7 +2923,7 @@ var SearchBar = ({
2634
2923
  defaultValue,
2635
2924
  onValueChange,
2636
2925
  onSearch,
2637
- submitLabel = /* @__PURE__ */ jsx123(Search2, { className: "size-4" }),
2926
+ submitLabel = /* @__PURE__ */ jsx129(Search2, { className: "size-4" }),
2638
2927
  ...props
2639
2928
  }) => {
2640
2929
  const onSubmit = (event) => {
@@ -2643,7 +2932,7 @@ var SearchBar = ({
2643
2932
  const nextValue = String(formData.get("q") ?? "");
2644
2933
  onSearch?.(nextValue);
2645
2934
  };
2646
- return /* @__PURE__ */ jsxs21(
2935
+ return /* @__PURE__ */ jsxs24(
2647
2936
  "form",
2648
2937
  {
2649
2938
  "data-id": "SearchBar",
@@ -2653,7 +2942,7 @@ var SearchBar = ({
2653
2942
  className
2654
2943
  ),
2655
2944
  children: [
2656
- /* @__PURE__ */ jsx123(
2945
+ /* @__PURE__ */ jsx129(
2657
2946
  Input,
2658
2947
  {
2659
2948
  name: "q",
@@ -2666,14 +2955,14 @@ var SearchBar = ({
2666
2955
  ...props
2667
2956
  }
2668
2957
  ),
2669
- /* @__PURE__ */ jsx123(Button, { type: "submit", size: "icon", className: "rounded-none", "aria-label": "Search", children: submitLabel })
2958
+ /* @__PURE__ */ jsx129(Button, { type: "submit", size: "icon", className: "rounded-none", "aria-label": "Search", children: submitLabel })
2670
2959
  ]
2671
2960
  }
2672
2961
  );
2673
2962
  };
2674
2963
 
2675
2964
  // src/components/confirm-dialog.tsx
2676
- import { jsx as jsx124, jsxs as jsxs22 } from "react/jsx-runtime";
2965
+ import { jsx as jsx130, jsxs as jsxs25 } from "react/jsx-runtime";
2677
2966
  var ConfirmDialog = ({
2678
2967
  trigger,
2679
2968
  title,
@@ -2682,29 +2971,29 @@ var ConfirmDialog = ({
2682
2971
  cancelLabel = "Cancel",
2683
2972
  onConfirm
2684
2973
  }) => {
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
2974
+ return /* @__PURE__ */ jsxs25(AlertDialog, { children: [
2975
+ /* @__PURE__ */ jsx130(AlertDialogTrigger, { asChild: true, children: trigger }),
2976
+ /* @__PURE__ */ jsxs25(AlertDialogContent, { "data-id": "ConfirmDialog", children: [
2977
+ /* @__PURE__ */ jsxs25(AlertDialogHeader, { children: [
2978
+ /* @__PURE__ */ jsx130(AlertDialogTitle, { children: title }),
2979
+ description ? /* @__PURE__ */ jsx130(AlertDialogDescription, { children: description }) : null
2691
2980
  ] }),
2692
- /* @__PURE__ */ jsxs22(AlertDialogFooter, { children: [
2693
- /* @__PURE__ */ jsx124(AlertDialogCancel, { children: cancelLabel }),
2694
- /* @__PURE__ */ jsx124(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2981
+ /* @__PURE__ */ jsxs25(AlertDialogFooter, { children: [
2982
+ /* @__PURE__ */ jsx130(AlertDialogCancel, { children: cancelLabel }),
2983
+ /* @__PURE__ */ jsx130(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2695
2984
  ] })
2696
2985
  ] })
2697
2986
  ] });
2698
2987
  };
2699
2988
 
2700
2989
  // src/components/command-dialog.tsx
2701
- import { jsx as jsx125 } from "react/jsx-runtime";
2990
+ import { jsx as jsx131 } from "react/jsx-runtime";
2702
2991
  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 }) }) });
2992
+ return /* @__PURE__ */ jsx131(Dialog, { ...props, children: /* @__PURE__ */ jsx131(DialogContent, { "data-id": "CommandDialog", className: cn("overflow-hidden p-0", contentClassName), children: /* @__PURE__ */ jsx131(Command, { className: "[&_[data-id=CommandInputWrap]]:h-12", children }) }) });
2704
2993
  };
2705
2994
 
2706
2995
  // src/components/pagination-bar.tsx
2707
- import { jsx as jsx126, jsxs as jsxs23 } from "react/jsx-runtime";
2996
+ import { jsx as jsx132, jsxs as jsxs26 } from "react/jsx-runtime";
2708
2997
  var PaginationBar = ({
2709
2998
  page,
2710
2999
  pageCount,
@@ -2714,8 +3003,8 @@ var PaginationBar = ({
2714
3003
  }) => {
2715
3004
  const pages = Array.from({ length: pageCount }, (_, index) => index + 1);
2716
3005
  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(
3006
+ return /* @__PURE__ */ jsx132(Pagination, { "data-id": "PaginationBar", className, ...props, children: /* @__PURE__ */ jsxs26(PaginationContent, { children: [
3007
+ /* @__PURE__ */ jsx132(PaginationItem, { children: /* @__PURE__ */ jsx132(
2719
3008
  PaginationPrevious,
2720
3009
  {
2721
3010
  href: "#",
@@ -2729,9 +3018,9 @@ var PaginationBar = ({
2729
3018
  ) }),
2730
3019
  visible.map((item, index) => {
2731
3020
  const previous = visible[index - 1];
2732
- return /* @__PURE__ */ jsxs23(PaginationItem, { children: [
2733
- previous && item - previous > 1 ? /* @__PURE__ */ jsx126(PaginationEllipsis, {}) : null,
2734
- /* @__PURE__ */ jsx126(
3021
+ return /* @__PURE__ */ jsxs26(PaginationItem, { children: [
3022
+ previous && item - previous > 1 ? /* @__PURE__ */ jsx132(PaginationEllipsis, {}) : null,
3023
+ /* @__PURE__ */ jsx132(
2735
3024
  PaginationLink,
2736
3025
  {
2737
3026
  href: "#",
@@ -2745,7 +3034,7 @@ var PaginationBar = ({
2745
3034
  )
2746
3035
  ] }, `pagination-${item}--${index}`);
2747
3036
  }),
2748
- /* @__PURE__ */ jsx126(PaginationItem, { children: /* @__PURE__ */ jsx126(
3037
+ /* @__PURE__ */ jsx132(PaginationItem, { children: /* @__PURE__ */ jsx132(
2749
3038
  PaginationNext,
2750
3039
  {
2751
3040
  href: "#",
@@ -2896,11 +3185,11 @@ var revitTokens = {
2896
3185
  };
2897
3186
 
2898
3187
  // src/theme/RevitUIProvider.tsx
2899
- import { Fragment, jsx as jsx127, jsxs as jsxs24 } from "react/jsx-runtime";
3188
+ import { Fragment, jsx as jsx133, jsxs as jsxs27 } from "react/jsx-runtime";
2900
3189
  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 })
3190
+ return /* @__PURE__ */ jsxs27(Fragment, { children: [
3191
+ /* @__PURE__ */ jsx133("style", { "data-id": "RevitUITheme", dangerouslySetInnerHTML: { __html: tokensToStylesheet(tokens) } }),
3192
+ /* @__PURE__ */ jsx133("div", { "data-id": "RevitUIProvider", className: "revit-ui font-sans", children })
2904
3193
  ] });
2905
3194
  };
2906
3195
  export {
@@ -2984,6 +3273,7 @@ export {
2984
3273
  DropdownMenuLabel,
2985
3274
  DropdownMenuSeparator,
2986
3275
  DropdownMenuTrigger,
3276
+ Field,
2987
3277
  Form,
2988
3278
  FormControl,
2989
3279
  FormDescription,
@@ -2995,6 +3285,7 @@ export {
2995
3285
  FrostNav,
2996
3286
  FrostPanel,
2997
3287
  FrostTile,
3288
+ Heading,
2998
3289
  HoverCard,
2999
3290
  HoverCardContent,
3000
3291
  HoverCardTrigger,
@@ -3004,6 +3295,7 @@ export {
3004
3295
  InputOTPGroup,
3005
3296
  InputOTPSlot,
3006
3297
  Label2 as Label,
3298
+ Link,
3007
3299
  Menubar,
3008
3300
  MenubarContent,
3009
3301
  MenubarItem,
@@ -3024,6 +3316,7 @@ export {
3024
3316
  PaginationLink,
3025
3317
  PaginationNext,
3026
3318
  PaginationPrevious,
3319
+ PasswordInput,
3027
3320
  Popover,
3028
3321
  PopoverContent,
3029
3322
  PopoverTrigger,
@@ -3033,6 +3326,7 @@ export {
3033
3326
  ResizableHandle,
3034
3327
  ResizablePanel,
3035
3328
  ResizablePanelGroup,
3329
+ RevitForm,
3036
3330
  RevitUIProvider,
3037
3331
  ScrollArea,
3038
3332
  ScrollBar,
@@ -3077,6 +3371,7 @@ export {
3077
3371
  TabsContent,
3078
3372
  TabsList,
3079
3373
  TabsTrigger,
3374
+ Text,
3080
3375
  Textarea,
3081
3376
  Toaster,
3082
3377
  Toggle,
@@ -3091,16 +3386,20 @@ export {
3091
3386
  buttonVariants,
3092
3387
  cardVariants,
3093
3388
  cn,
3389
+ headingVariants,
3094
3390
  inputVariants,
3095
3391
  labelVariants,
3392
+ linkVariants,
3096
3393
  revitTokens,
3097
3394
  selectTriggerVariants,
3098
3395
  surfaces,
3396
+ textVariants,
3099
3397
  textareaVariants,
3100
3398
  toast,
3101
3399
  toggleVariants,
3102
3400
  tokensToCssVars,
3103
3401
  tokensToStylesheet,
3402
+ useForm,
3104
3403
  useFormField,
3105
3404
  useSidebar
3106
3405
  };