@nerds-with-charisma/revit-ui 0.2.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
@@ -1680,11 +1680,124 @@ var RevitForm = ({
1680
1680
  ) });
1681
1681
  };
1682
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
+
1683
1796
  // src/components/toaster.tsx
1684
1797
  import { Toaster as SonnerToaster, toast } from "sonner";
1685
- import { jsx as jsx84 } from "react/jsx-runtime";
1798
+ import { jsx as jsx88 } from "react/jsx-runtime";
1686
1799
  var Toaster = ({ ...props }) => {
1687
- return /* @__PURE__ */ jsx84(
1800
+ return /* @__PURE__ */ jsx88(
1688
1801
  SonnerToaster,
1689
1802
  {
1690
1803
  "data-id": "Toaster",
@@ -1705,9 +1818,9 @@ var Toaster = ({ ...props }) => {
1705
1818
 
1706
1819
  // src/components/command.tsx
1707
1820
  import { Command as CommandPrimitive } from "cmdk";
1708
- import { jsx as jsx85 } from "react/jsx-runtime";
1821
+ import { jsx as jsx89 } from "react/jsx-runtime";
1709
1822
  var Command = ({ className, ...props }) => {
1710
- return /* @__PURE__ */ jsx85(
1823
+ return /* @__PURE__ */ jsx89(
1711
1824
  CommandPrimitive,
1712
1825
  {
1713
1826
  "data-id": "Command",
@@ -1723,11 +1836,11 @@ var Command = ({ className, ...props }) => {
1723
1836
  // src/components/command-input.tsx
1724
1837
  import { Command as CommandPrimitive2 } from "cmdk";
1725
1838
  import { Search } from "lucide-react";
1726
- import { jsx as jsx86, jsxs as jsxs13 } from "react/jsx-runtime";
1839
+ import { jsx as jsx90, jsxs as jsxs14 } from "react/jsx-runtime";
1727
1840
  var CommandInput = ({ className, ...props }) => {
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(
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(
1731
1844
  CommandPrimitive2.Input,
1732
1845
  {
1733
1846
  "data-id": "CommandInput",
@@ -1743,9 +1856,9 @@ var CommandInput = ({ className, ...props }) => {
1743
1856
 
1744
1857
  // src/components/command-list.tsx
1745
1858
  import { Command as CommandPrimitive3 } from "cmdk";
1746
- import { jsx as jsx87 } from "react/jsx-runtime";
1859
+ import { jsx as jsx91 } from "react/jsx-runtime";
1747
1860
  var CommandList = ({ className, ...props }) => {
1748
- return /* @__PURE__ */ jsx87(
1861
+ return /* @__PURE__ */ jsx91(
1749
1862
  CommandPrimitive3.List,
1750
1863
  {
1751
1864
  "data-id": "CommandList",
@@ -1757,9 +1870,9 @@ var CommandList = ({ className, ...props }) => {
1757
1870
 
1758
1871
  // src/components/command-empty.tsx
1759
1872
  import { Command as CommandPrimitive4 } from "cmdk";
1760
- import { jsx as jsx88 } from "react/jsx-runtime";
1873
+ import { jsx as jsx92 } from "react/jsx-runtime";
1761
1874
  var CommandEmpty = ({ className, ...props }) => {
1762
- return /* @__PURE__ */ jsx88(
1875
+ return /* @__PURE__ */ jsx92(
1763
1876
  CommandPrimitive4.Empty,
1764
1877
  {
1765
1878
  "data-id": "CommandEmpty",
@@ -1771,9 +1884,9 @@ var CommandEmpty = ({ className, ...props }) => {
1771
1884
 
1772
1885
  // src/components/command-group.tsx
1773
1886
  import { Command as CommandPrimitive5 } from "cmdk";
1774
- import { jsx as jsx89 } from "react/jsx-runtime";
1887
+ import { jsx as jsx93 } from "react/jsx-runtime";
1775
1888
  var CommandGroup = ({ className, ...props }) => {
1776
- return /* @__PURE__ */ jsx89(
1889
+ return /* @__PURE__ */ jsx93(
1777
1890
  CommandPrimitive5.Group,
1778
1891
  {
1779
1892
  "data-id": "CommandGroup",
@@ -1788,9 +1901,9 @@ var CommandGroup = ({ className, ...props }) => {
1788
1901
 
1789
1902
  // src/components/command-item.tsx
1790
1903
  import { Command as CommandPrimitive6 } from "cmdk";
1791
- import { jsx as jsx90 } from "react/jsx-runtime";
1904
+ import { jsx as jsx94 } from "react/jsx-runtime";
1792
1905
  var CommandItem = ({ className, ...props }) => {
1793
- return /* @__PURE__ */ jsx90(
1906
+ return /* @__PURE__ */ jsx94(
1794
1907
  CommandPrimitive6.Item,
1795
1908
  {
1796
1909
  "data-id": "CommandItem",
@@ -1806,7 +1919,7 @@ var CommandItem = ({ className, ...props }) => {
1806
1919
  // src/components/combobox.tsx
1807
1920
  import { useState as useState2 } from "react";
1808
1921
  import { Check as Check3, ChevronsUpDown } from "lucide-react";
1809
- import { jsx as jsx91, jsxs as jsxs14 } from "react/jsx-runtime";
1922
+ import { jsx as jsx95, jsxs as jsxs15 } from "react/jsx-runtime";
1810
1923
  var Combobox = ({
1811
1924
  options,
1812
1925
  value,
@@ -1817,8 +1930,8 @@ var Combobox = ({
1817
1930
  }) => {
1818
1931
  const [open, openSetter] = useState2(false);
1819
1932
  const selected = options.find((option) => option.value === value);
1820
- return /* @__PURE__ */ jsxs14(Popover, { open, onOpenChange: openSetter, children: [
1821
- /* @__PURE__ */ jsx91(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs14(
1933
+ return /* @__PURE__ */ jsxs15(Popover, { open, onOpenChange: openSetter, children: [
1934
+ /* @__PURE__ */ jsx95(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
1822
1935
  Button,
1823
1936
  {
1824
1937
  "data-id": "Combobox",
@@ -1828,15 +1941,15 @@ var Combobox = ({
1828
1941
  className: cn("w-full justify-between normal-case tracking-normal", className),
1829
1942
  children: [
1830
1943
  selected?.label ?? placeholder,
1831
- /* @__PURE__ */ jsx91(ChevronsUpDown, { className: "size-4 opacity-50" })
1944
+ /* @__PURE__ */ jsx95(ChevronsUpDown, { className: "size-4 opacity-50" })
1832
1945
  ]
1833
1946
  }
1834
1947
  ) }),
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(
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(
1840
1953
  CommandItem,
1841
1954
  {
1842
1955
  value: option.value,
@@ -1845,7 +1958,7 @@ var Combobox = ({
1845
1958
  openSetter(false);
1846
1959
  },
1847
1960
  children: [
1848
- /* @__PURE__ */ jsx91(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") }),
1849
1962
  option.label
1850
1963
  ]
1851
1964
  },
@@ -1872,9 +1985,9 @@ var overlayPanel = `z-50 overflow-hidden rounded-lg border border-border bg-popo
1872
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`;
1873
1986
 
1874
1987
  // src/components/context-menu-content.tsx
1875
- import { jsx as jsx92 } from "react/jsx-runtime";
1988
+ import { jsx as jsx96 } from "react/jsx-runtime";
1876
1989
  var ContextMenuContent = ({ className, ...props }) => {
1877
- return /* @__PURE__ */ jsx92(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx92(
1990
+ return /* @__PURE__ */ jsx96(ContextMenuPrimitive3.Portal, { children: /* @__PURE__ */ jsx96(
1878
1991
  ContextMenuPrimitive3.Content,
1879
1992
  {
1880
1993
  "data-id": "ContextMenuContent",
@@ -1886,9 +1999,9 @@ var ContextMenuContent = ({ className, ...props }) => {
1886
1999
 
1887
2000
  // src/components/context-menu-item.tsx
1888
2001
  import * as ContextMenuPrimitive4 from "@radix-ui/react-context-menu";
1889
- import { jsx as jsx93 } from "react/jsx-runtime";
2002
+ import { jsx as jsx97 } from "react/jsx-runtime";
1890
2003
  var ContextMenuItem = ({ className, ...props }) => {
1891
- return /* @__PURE__ */ jsx93(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
2004
+ return /* @__PURE__ */ jsx97(ContextMenuPrimitive4.Item, { "data-id": "ContextMenuItem", className: cn(menuItem, className), ...props });
1892
2005
  };
1893
2006
 
1894
2007
  // src/components/alert-dialog.tsx
@@ -1904,9 +2017,9 @@ import * as AlertDialogPrimitive4 from "@radix-ui/react-alert-dialog";
1904
2017
 
1905
2018
  // src/components/alert-dialog-overlay.tsx
1906
2019
  import * as AlertDialogPrimitive3 from "@radix-ui/react-alert-dialog";
1907
- import { jsx as jsx94 } from "react/jsx-runtime";
2020
+ import { jsx as jsx98 } from "react/jsx-runtime";
1908
2021
  var AlertDialogOverlay = ({ className, ...props }) => {
1909
- return /* @__PURE__ */ jsx94(
2022
+ return /* @__PURE__ */ jsx98(
1910
2023
  AlertDialogPrimitive3.Overlay,
1911
2024
  {
1912
2025
  "data-id": "AlertDialogOverlay",
@@ -1920,11 +2033,11 @@ var AlertDialogOverlay = ({ className, ...props }) => {
1920
2033
  };
1921
2034
 
1922
2035
  // src/components/alert-dialog-content.tsx
1923
- import { jsx as jsx95, jsxs as jsxs15 } from "react/jsx-runtime";
2036
+ import { jsx as jsx99, jsxs as jsxs16 } from "react/jsx-runtime";
1924
2037
  var AlertDialogContent = ({ className, ...props }) => {
1925
- return /* @__PURE__ */ jsxs15(AlertDialogPrimitive4.Portal, { children: [
1926
- /* @__PURE__ */ jsx95(AlertDialogOverlay, {}),
1927
- /* @__PURE__ */ jsx95(
2038
+ return /* @__PURE__ */ jsxs16(AlertDialogPrimitive4.Portal, { children: [
2039
+ /* @__PURE__ */ jsx99(AlertDialogOverlay, {}),
2040
+ /* @__PURE__ */ jsx99(
1928
2041
  AlertDialogPrimitive4.Content,
1929
2042
  {
1930
2043
  "data-id": "AlertDialogContent",
@@ -1939,15 +2052,15 @@ var AlertDialogContent = ({ className, ...props }) => {
1939
2052
  };
1940
2053
 
1941
2054
  // src/components/alert-dialog-header.tsx
1942
- import { jsx as jsx96 } from "react/jsx-runtime";
2055
+ import { jsx as jsx100 } from "react/jsx-runtime";
1943
2056
  var AlertDialogHeader = ({ className, ...props }) => {
1944
- return /* @__PURE__ */ jsx96("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 });
1945
2058
  };
1946
2059
 
1947
2060
  // src/components/alert-dialog-footer.tsx
1948
- import { jsx as jsx97 } from "react/jsx-runtime";
2061
+ import { jsx as jsx101 } from "react/jsx-runtime";
1949
2062
  var AlertDialogFooter = ({ className, ...props }) => {
1950
- return /* @__PURE__ */ jsx97(
2063
+ return /* @__PURE__ */ jsx101(
1951
2064
  "div",
1952
2065
  {
1953
2066
  "data-id": "AlertDialogFooter",
@@ -1959,9 +2072,9 @@ var AlertDialogFooter = ({ className, ...props }) => {
1959
2072
 
1960
2073
  // src/components/alert-dialog-title.tsx
1961
2074
  import * as AlertDialogPrimitive5 from "@radix-ui/react-alert-dialog";
1962
- import { jsx as jsx98 } from "react/jsx-runtime";
2075
+ import { jsx as jsx102 } from "react/jsx-runtime";
1963
2076
  var AlertDialogTitle = ({ className, ...props }) => {
1964
- return /* @__PURE__ */ jsx98(
2077
+ return /* @__PURE__ */ jsx102(
1965
2078
  AlertDialogPrimitive5.Title,
1966
2079
  {
1967
2080
  "data-id": "AlertDialogTitle",
@@ -1973,9 +2086,9 @@ var AlertDialogTitle = ({ className, ...props }) => {
1973
2086
 
1974
2087
  // src/components/alert-dialog-description.tsx
1975
2088
  import * as AlertDialogPrimitive6 from "@radix-ui/react-alert-dialog";
1976
- import { jsx as jsx99 } from "react/jsx-runtime";
2089
+ import { jsx as jsx103 } from "react/jsx-runtime";
1977
2090
  var AlertDialogDescription = ({ className, ...props }) => {
1978
- return /* @__PURE__ */ jsx99(
2091
+ return /* @__PURE__ */ jsx103(
1979
2092
  AlertDialogPrimitive6.Description,
1980
2093
  {
1981
2094
  "data-id": "AlertDialogDescription",
@@ -1987,9 +2100,9 @@ var AlertDialogDescription = ({ className, ...props }) => {
1987
2100
 
1988
2101
  // src/components/alert-dialog-action.tsx
1989
2102
  import * as AlertDialogPrimitive7 from "@radix-ui/react-alert-dialog";
1990
- import { jsx as jsx100 } from "react/jsx-runtime";
2103
+ import { jsx as jsx104 } from "react/jsx-runtime";
1991
2104
  var AlertDialogAction = ({ className, ...props }) => {
1992
- return /* @__PURE__ */ jsx100(
2105
+ return /* @__PURE__ */ jsx104(
1993
2106
  AlertDialogPrimitive7.Action,
1994
2107
  {
1995
2108
  "data-id": "AlertDialogAction",
@@ -2001,9 +2114,9 @@ var AlertDialogAction = ({ className, ...props }) => {
2001
2114
 
2002
2115
  // src/components/alert-dialog-cancel.tsx
2003
2116
  import * as AlertDialogPrimitive8 from "@radix-ui/react-alert-dialog";
2004
- import { jsx as jsx101 } from "react/jsx-runtime";
2117
+ import { jsx as jsx105 } from "react/jsx-runtime";
2005
2118
  var AlertDialogCancel = ({ className, ...props }) => {
2006
- return /* @__PURE__ */ jsx101(
2119
+ return /* @__PURE__ */ jsx105(
2007
2120
  AlertDialogPrimitive8.Cancel,
2008
2121
  {
2009
2122
  "data-id": "AlertDialogCancel",
@@ -2023,14 +2136,14 @@ var HoverCardTrigger = HoverCardPrimitive2.Trigger;
2023
2136
 
2024
2137
  // src/components/hover-card-content.tsx
2025
2138
  import * as HoverCardPrimitive3 from "@radix-ui/react-hover-card";
2026
- import { jsx as jsx102 } from "react/jsx-runtime";
2139
+ import { jsx as jsx106 } from "react/jsx-runtime";
2027
2140
  var HoverCardContent = ({
2028
2141
  className,
2029
2142
  align = "center",
2030
2143
  sideOffset = 8,
2031
2144
  ...props
2032
2145
  }) => {
2033
- return /* @__PURE__ */ jsx102(
2146
+ return /* @__PURE__ */ jsx106(
2034
2147
  HoverCardPrimitive3.Content,
2035
2148
  {
2036
2149
  "data-id": "HoverCardContent",
@@ -2048,15 +2161,15 @@ var HoverCardContent = ({
2048
2161
 
2049
2162
  // src/components/progress.tsx
2050
2163
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2051
- import { jsx as jsx103 } from "react/jsx-runtime";
2164
+ import { jsx as jsx107 } from "react/jsx-runtime";
2052
2165
  var Progress = ({ className, value, ...props }) => {
2053
- return /* @__PURE__ */ jsx103(
2166
+ return /* @__PURE__ */ jsx107(
2054
2167
  ProgressPrimitive.Root,
2055
2168
  {
2056
2169
  "data-id": "Progress",
2057
2170
  className: cn("relative h-2 w-full overflow-hidden rounded-pill bg-muted", className),
2058
2171
  ...props,
2059
- children: /* @__PURE__ */ jsx103(
2172
+ children: /* @__PURE__ */ jsx107(
2060
2173
  ProgressPrimitive.Indicator,
2061
2174
  {
2062
2175
  className: `h-full w-full flex-1 bg-primary ${motion.surface}`,
@@ -2069,9 +2182,9 @@ var Progress = ({ className, value, ...props }) => {
2069
2182
 
2070
2183
  // src/components/toggle.tsx
2071
2184
  import * as TogglePrimitive from "@radix-ui/react-toggle";
2072
- import { cva as cva10 } from "class-variance-authority";
2073
- import { jsx as jsx104 } from "react/jsx-runtime";
2074
- 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(
2075
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`,
2076
2189
  {
2077
2190
  variants: {
@@ -2092,7 +2205,7 @@ var toggleVariants = cva10(
2092
2205
  }
2093
2206
  );
2094
2207
  var Toggle = ({ className, variant, size, ...props }) => {
2095
- return /* @__PURE__ */ jsx104(
2208
+ return /* @__PURE__ */ jsx108(
2096
2209
  TogglePrimitive.Root,
2097
2210
  {
2098
2211
  "data-id": "Toggle",
@@ -2105,19 +2218,19 @@ var Toggle = ({ className, variant, size, ...props }) => {
2105
2218
  // src/components/toggle-group.tsx
2106
2219
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
2107
2220
  import { createContext as createContext2, useContext as useContext2 } from "react";
2108
- import { jsx as jsx105 } from "react/jsx-runtime";
2221
+ import { jsx as jsx109 } from "react/jsx-runtime";
2109
2222
  var ToggleGroupContext = createContext2({
2110
2223
  size: "default",
2111
2224
  variant: "default"
2112
2225
  });
2113
2226
  var ToggleGroup = ({ className, variant, size, children, ...props }) => {
2114
- return /* @__PURE__ */ jsx105(
2227
+ return /* @__PURE__ */ jsx109(
2115
2228
  ToggleGroupPrimitive.Root,
2116
2229
  {
2117
2230
  "data-id": "ToggleGroup",
2118
2231
  className: cn("flex items-center gap-1", className),
2119
2232
  ...props,
2120
- children: /* @__PURE__ */ jsx105(ToggleGroupContext, { value: { variant, size }, children })
2233
+ children: /* @__PURE__ */ jsx109(ToggleGroupContext, { value: { variant, size }, children })
2121
2234
  }
2122
2235
  );
2123
2236
  };
@@ -2125,10 +2238,10 @@ var useToggleGroup = () => useContext2(ToggleGroupContext);
2125
2238
 
2126
2239
  // src/components/toggle-group-item.tsx
2127
2240
  import * as ToggleGroupPrimitive2 from "@radix-ui/react-toggle-group";
2128
- import { jsx as jsx106 } from "react/jsx-runtime";
2241
+ import { jsx as jsx110 } from "react/jsx-runtime";
2129
2242
  var ToggleGroupItem = ({ className, children, ...props }) => {
2130
2243
  const { variant, size } = useToggleGroup();
2131
- return /* @__PURE__ */ jsx106(
2244
+ return /* @__PURE__ */ jsx110(
2132
2245
  ToggleGroupPrimitive2.Item,
2133
2246
  {
2134
2247
  "data-id": "ToggleGroupItem",
@@ -2141,16 +2254,16 @@ var ToggleGroupItem = ({ className, children, ...props }) => {
2141
2254
 
2142
2255
  // src/components/scroll-area.tsx
2143
2256
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2144
- import { jsx as jsx107, jsxs as jsxs16 } from "react/jsx-runtime";
2257
+ import { jsx as jsx111, jsxs as jsxs17 } from "react/jsx-runtime";
2145
2258
  var ScrollArea = ({ className, children, ...props }) => {
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, {})
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, {})
2150
2263
  ] });
2151
2264
  };
2152
2265
  var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
2153
- return /* @__PURE__ */ jsx107(
2266
+ return /* @__PURE__ */ jsx111(
2154
2267
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2155
2268
  {
2156
2269
  "data-id": "ScrollBar",
@@ -2162,7 +2275,7 @@ var ScrollBar = ({ className, orientation = "vertical", ...props }) => {
2162
2275
  className
2163
2276
  ),
2164
2277
  ...props,
2165
- children: /* @__PURE__ */ jsx107(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
2278
+ children: /* @__PURE__ */ jsx111(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-pill bg-border" })
2166
2279
  }
2167
2280
  );
2168
2281
  };
@@ -2177,9 +2290,9 @@ var CollapsibleTrigger2 = CollapsiblePrimitive2.CollapsibleTrigger;
2177
2290
 
2178
2291
  // src/components/collapsible-content.tsx
2179
2292
  import * as CollapsiblePrimitive3 from "@radix-ui/react-collapsible";
2180
- import { jsx as jsx108 } from "react/jsx-runtime";
2293
+ import { jsx as jsx112 } from "react/jsx-runtime";
2181
2294
  var CollapsibleContent2 = ({ className, ...props }) => {
2182
- return /* @__PURE__ */ jsx108(
2295
+ return /* @__PURE__ */ jsx112(
2183
2296
  CollapsiblePrimitive3.CollapsibleContent,
2184
2297
  {
2185
2298
  "data-id": "CollapsibleContent",
@@ -2191,9 +2304,9 @@ var CollapsibleContent2 = ({ className, ...props }) => {
2191
2304
 
2192
2305
  // src/components/calendar.tsx
2193
2306
  import { DayPicker } from "react-day-picker";
2194
- import { jsx as jsx109 } from "react/jsx-runtime";
2307
+ import { jsx as jsx113 } from "react/jsx-runtime";
2195
2308
  var Calendar = ({ className, ...props }) => {
2196
- return /* @__PURE__ */ jsx109(
2309
+ return /* @__PURE__ */ jsx113(
2197
2310
  DayPicker,
2198
2311
  {
2199
2312
  "data-id": "Calendar",
@@ -2207,7 +2320,7 @@ var Calendar = ({ className, ...props }) => {
2207
2320
  import { format } from "date-fns";
2208
2321
  import { CalendarIcon } from "lucide-react";
2209
2322
  import { useState as useState3 } from "react";
2210
- import { jsx as jsx110, jsxs as jsxs17 } from "react/jsx-runtime";
2323
+ import { jsx as jsx114, jsxs as jsxs18 } from "react/jsx-runtime";
2211
2324
  var DatePicker = ({
2212
2325
  value,
2213
2326
  onValueChange,
@@ -2215,8 +2328,8 @@ var DatePicker = ({
2215
2328
  className
2216
2329
  }) => {
2217
2330
  const [open, openSetter] = useState3(false);
2218
- return /* @__PURE__ */ jsxs17(Popover, { open, onOpenChange: openSetter, children: [
2219
- /* @__PURE__ */ jsx110(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs17(
2331
+ return /* @__PURE__ */ jsxs18(Popover, { open, onOpenChange: openSetter, children: [
2332
+ /* @__PURE__ */ jsx114(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs18(
2220
2333
  Button,
2221
2334
  {
2222
2335
  "data-id": "DatePicker",
@@ -2227,12 +2340,12 @@ var DatePicker = ({
2227
2340
  className
2228
2341
  ),
2229
2342
  children: [
2230
- /* @__PURE__ */ jsx110(CalendarIcon, { className: "size-4" }),
2343
+ /* @__PURE__ */ jsx114(CalendarIcon, { className: "size-4" }),
2231
2344
  value ? format(value, "PPP") : placeholder
2232
2345
  ]
2233
2346
  }
2234
2347
  ) }),
2235
- /* @__PURE__ */ jsx110(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx110(
2348
+ /* @__PURE__ */ jsx114(PopoverContent, { className: "w-auto p-0", children: /* @__PURE__ */ jsx114(
2236
2349
  Calendar,
2237
2350
  {
2238
2351
  mode: "single",
@@ -2248,9 +2361,9 @@ var DatePicker = ({
2248
2361
 
2249
2362
  // src/components/chart-container.tsx
2250
2363
  import { ResponsiveContainer } from "recharts";
2251
- import { jsx as jsx111 } from "react/jsx-runtime";
2364
+ import { jsx as jsx115 } from "react/jsx-runtime";
2252
2365
  var ChartContainer = ({ className, children, ...props }) => {
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 }) });
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 }) });
2254
2367
  };
2255
2368
 
2256
2369
  // src/components/chart-tooltip.tsx
@@ -2260,7 +2373,7 @@ import { Tooltip as Tooltip2 } from "recharts";
2260
2373
  import useEmblaCarousel from "embla-carousel-react";
2261
2374
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight3 } from "lucide-react";
2262
2375
  import { createContext as createContext3, useContext as useContext3 } from "react";
2263
- import { jsx as jsx112, jsxs as jsxs18 } from "react/jsx-runtime";
2376
+ import { jsx as jsx116, jsxs as jsxs19 } from "react/jsx-runtime";
2264
2377
  var CarouselContext = createContext3(null);
2265
2378
  var useCarousel = () => {
2266
2379
  const context = useContext3(CarouselContext);
@@ -2283,7 +2396,7 @@ var Carousel = ({ className, opts, children, ...props }) => {
2283
2396
  scrollNext();
2284
2397
  }
2285
2398
  };
2286
- return /* @__PURE__ */ jsx112(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx112(
2399
+ return /* @__PURE__ */ jsx116(CarouselContext, { value: { carouselRef, api, scrollPrev, scrollNext }, children: /* @__PURE__ */ jsx116(
2287
2400
  "div",
2288
2401
  {
2289
2402
  "data-id": "Carousel",
@@ -2298,10 +2411,10 @@ var Carousel = ({ className, opts, children, ...props }) => {
2298
2411
  };
2299
2412
  var CarouselContent = ({ className, ...props }) => {
2300
2413
  const { carouselRef } = useCarousel();
2301
- return /* @__PURE__ */ jsx112("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx112("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 }) });
2302
2415
  };
2303
2416
  var CarouselItem = ({ className, ...props }) => {
2304
- return /* @__PURE__ */ jsx112(
2417
+ return /* @__PURE__ */ jsx116(
2305
2418
  "div",
2306
2419
  {
2307
2420
  "data-id": "CarouselItem",
@@ -2314,7 +2427,7 @@ var CarouselItem = ({ className, ...props }) => {
2314
2427
  };
2315
2428
  var CarouselPrevious = ({ className, ...props }) => {
2316
2429
  const { scrollPrev } = useCarousel();
2317
- return /* @__PURE__ */ jsxs18(
2430
+ return /* @__PURE__ */ jsxs19(
2318
2431
  Button,
2319
2432
  {
2320
2433
  "data-id": "CarouselPrevious",
@@ -2324,15 +2437,15 @@ var CarouselPrevious = ({ className, ...props }) => {
2324
2437
  onClick: scrollPrev,
2325
2438
  ...props,
2326
2439
  children: [
2327
- /* @__PURE__ */ jsx112(ChevronLeft2, {}),
2328
- /* @__PURE__ */ jsx112("span", { className: "sr-only", children: "Previous slide" })
2440
+ /* @__PURE__ */ jsx116(ChevronLeft2, {}),
2441
+ /* @__PURE__ */ jsx116("span", { className: "sr-only", children: "Previous slide" })
2329
2442
  ]
2330
2443
  }
2331
2444
  );
2332
2445
  };
2333
2446
  var CarouselNext = ({ className, ...props }) => {
2334
2447
  const { scrollNext } = useCarousel();
2335
- return /* @__PURE__ */ jsxs18(
2448
+ return /* @__PURE__ */ jsxs19(
2336
2449
  Button,
2337
2450
  {
2338
2451
  "data-id": "CarouselNext",
@@ -2342,8 +2455,8 @@ var CarouselNext = ({ className, ...props }) => {
2342
2455
  onClick: scrollNext,
2343
2456
  ...props,
2344
2457
  children: [
2345
- /* @__PURE__ */ jsx112(ChevronRight3, {}),
2346
- /* @__PURE__ */ jsx112("span", { className: "sr-only", children: "Next slide" })
2458
+ /* @__PURE__ */ jsx116(ChevronRight3, {}),
2459
+ /* @__PURE__ */ jsx116("span", { className: "sr-only", children: "Next slide" })
2347
2460
  ]
2348
2461
  }
2349
2462
  );
@@ -2351,13 +2464,13 @@ var CarouselNext = ({ className, ...props }) => {
2351
2464
 
2352
2465
  // src/components/drawer.tsx
2353
2466
  import { Drawer as VaulDrawer } from "vaul";
2354
- import { jsx as jsx113, jsxs as jsxs19 } from "react/jsx-runtime";
2467
+ import { jsx as jsx117, jsxs as jsxs20 } from "react/jsx-runtime";
2355
2468
  var Drawer = VaulDrawer.Root;
2356
2469
  var DrawerTrigger = VaulDrawer.Trigger;
2357
2470
  var DrawerClose = VaulDrawer.Close;
2358
2471
  var DrawerPortal = VaulDrawer.Portal;
2359
2472
  var DrawerOverlay = ({ className, ...props }) => {
2360
- return /* @__PURE__ */ jsx113(
2473
+ return /* @__PURE__ */ jsx117(
2361
2474
  VaulDrawer.Overlay,
2362
2475
  {
2363
2476
  "data-id": "DrawerOverlay",
@@ -2367,9 +2480,9 @@ var DrawerOverlay = ({ className, ...props }) => {
2367
2480
  );
2368
2481
  };
2369
2482
  var DrawerContent = ({ className, children, ...props }) => {
2370
- return /* @__PURE__ */ jsxs19(VaulDrawer.Portal, { children: [
2371
- /* @__PURE__ */ jsx113(DrawerOverlay, {}),
2372
- /* @__PURE__ */ jsxs19(
2483
+ return /* @__PURE__ */ jsxs20(VaulDrawer.Portal, { children: [
2484
+ /* @__PURE__ */ jsx117(DrawerOverlay, {}),
2485
+ /* @__PURE__ */ jsxs20(
2373
2486
  VaulDrawer.Content,
2374
2487
  {
2375
2488
  "data-id": "DrawerContent",
@@ -2379,7 +2492,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2379
2492
  ),
2380
2493
  ...props,
2381
2494
  children: [
2382
- /* @__PURE__ */ jsx113("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" }),
2383
2496
  children
2384
2497
  ]
2385
2498
  }
@@ -2387,7 +2500,7 @@ var DrawerContent = ({ className, children, ...props }) => {
2387
2500
  ] });
2388
2501
  };
2389
2502
  var DrawerTitle = ({ className, ...props }) => {
2390
- return /* @__PURE__ */ jsx113(
2503
+ return /* @__PURE__ */ jsx117(
2391
2504
  VaulDrawer.Title,
2392
2505
  {
2393
2506
  "data-id": "DrawerTitle",
@@ -2400,7 +2513,7 @@ var DrawerDescription = ({
2400
2513
  className,
2401
2514
  ...props
2402
2515
  }) => {
2403
- return /* @__PURE__ */ jsx113(
2516
+ return /* @__PURE__ */ jsx117(
2404
2517
  VaulDrawer.Description,
2405
2518
  {
2406
2519
  "data-id": "DrawerDescription",
@@ -2412,9 +2525,9 @@ var DrawerDescription = ({
2412
2525
 
2413
2526
  // src/components/menubar.tsx
2414
2527
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
2415
- import { jsx as jsx114 } from "react/jsx-runtime";
2528
+ import { jsx as jsx118 } from "react/jsx-runtime";
2416
2529
  var Menubar = ({ className, ...props }) => {
2417
- return /* @__PURE__ */ jsx114(
2530
+ return /* @__PURE__ */ jsx118(
2418
2531
  MenubarPrimitive.Root,
2419
2532
  {
2420
2533
  "data-id": "Menubar",
@@ -2428,7 +2541,7 @@ var MenubarTrigger = ({
2428
2541
  className,
2429
2542
  ...props
2430
2543
  }) => {
2431
- return /* @__PURE__ */ jsx114(
2544
+ return /* @__PURE__ */ jsx118(
2432
2545
  MenubarPrimitive.Trigger,
2433
2546
  {
2434
2547
  "data-id": "MenubarTrigger",
@@ -2444,7 +2557,7 @@ var MenubarContent = ({
2444
2557
  className,
2445
2558
  ...props
2446
2559
  }) => {
2447
- return /* @__PURE__ */ jsx114(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx114(
2560
+ return /* @__PURE__ */ jsx118(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx118(
2448
2561
  MenubarPrimitive.Content,
2449
2562
  {
2450
2563
  "data-id": "MenubarContent",
@@ -2454,13 +2567,13 @@ var MenubarContent = ({
2454
2567
  ) });
2455
2568
  };
2456
2569
  var MenubarItem = ({ className, ...props }) => {
2457
- return /* @__PURE__ */ jsx114(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2570
+ return /* @__PURE__ */ jsx118(MenubarPrimitive.Item, { "data-id": "MenubarItem", className: cn(menuItem, className), ...props });
2458
2571
  };
2459
2572
  var MenubarSeparator = ({
2460
2573
  className,
2461
2574
  ...props
2462
2575
  }) => {
2463
- return /* @__PURE__ */ jsx114(
2576
+ return /* @__PURE__ */ jsx118(
2464
2577
  MenubarPrimitive.Separator,
2465
2578
  {
2466
2579
  "data-id": "MenubarSeparator",
@@ -2473,13 +2586,13 @@ var MenubarSeparator = ({
2473
2586
  // src/components/navigation-menu.tsx
2474
2587
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2475
2588
  import { ChevronDown as ChevronDown4 } from "lucide-react";
2476
- import { jsx as jsx115, jsxs as jsxs20 } from "react/jsx-runtime";
2589
+ import { jsx as jsx119, jsxs as jsxs21 } from "react/jsx-runtime";
2477
2590
  var NavigationMenu = ({
2478
2591
  className,
2479
2592
  children,
2480
2593
  ...props
2481
2594
  }) => {
2482
- return /* @__PURE__ */ jsxs20(
2595
+ return /* @__PURE__ */ jsxs21(
2483
2596
  NavigationMenuPrimitive.Root,
2484
2597
  {
2485
2598
  "data-id": "NavigationMenu",
@@ -2487,7 +2600,7 @@ var NavigationMenu = ({
2487
2600
  ...props,
2488
2601
  children: [
2489
2602
  children,
2490
- /* @__PURE__ */ jsx115(
2603
+ /* @__PURE__ */ jsx119(
2491
2604
  NavigationMenuPrimitive.Viewport,
2492
2605
  {
2493
2606
  className: cn(
@@ -2504,7 +2617,7 @@ var NavigationMenuList = ({
2504
2617
  className,
2505
2618
  ...props
2506
2619
  }) => {
2507
- return /* @__PURE__ */ jsx115(
2620
+ return /* @__PURE__ */ jsx119(
2508
2621
  NavigationMenuPrimitive.List,
2509
2622
  {
2510
2623
  "data-id": "NavigationMenuList",
@@ -2519,7 +2632,7 @@ var NavigationMenuTrigger = ({
2519
2632
  children,
2520
2633
  ...props
2521
2634
  }) => {
2522
- return /* @__PURE__ */ jsxs20(
2635
+ return /* @__PURE__ */ jsxs21(
2523
2636
  NavigationMenuPrimitive.Trigger,
2524
2637
  {
2525
2638
  "data-id": "NavigationMenuTrigger",
@@ -2530,7 +2643,7 @@ var NavigationMenuTrigger = ({
2530
2643
  ...props,
2531
2644
  children: [
2532
2645
  children,
2533
- /* @__PURE__ */ jsx115(ChevronDown4, { className: "size-3" })
2646
+ /* @__PURE__ */ jsx119(ChevronDown4, { className: "size-3" })
2534
2647
  ]
2535
2648
  }
2536
2649
  );
@@ -2539,7 +2652,7 @@ var NavigationMenuContent = ({
2539
2652
  className,
2540
2653
  ...props
2541
2654
  }) => {
2542
- return /* @__PURE__ */ jsx115(
2655
+ return /* @__PURE__ */ jsx119(
2543
2656
  NavigationMenuPrimitive.Content,
2544
2657
  {
2545
2658
  "data-id": "NavigationMenuContent",
@@ -2552,13 +2665,13 @@ var NavigationMenuLink = NavigationMenuPrimitive.Link;
2552
2665
 
2553
2666
  // src/components/resizable.tsx
2554
2667
  import { Group as Group2, Panel, Separator as Separator5 } from "react-resizable-panels";
2555
- import { jsx as jsx116 } from "react/jsx-runtime";
2668
+ import { jsx as jsx120 } from "react/jsx-runtime";
2556
2669
  var ResizablePanelGroup = ({ className, ...props }) => {
2557
- return /* @__PURE__ */ jsx116(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 });
2558
2671
  };
2559
2672
  var ResizablePanel = Panel;
2560
2673
  var ResizableHandle = ({ className, ...props }) => {
2561
- return /* @__PURE__ */ jsx116(
2674
+ return /* @__PURE__ */ jsx120(
2562
2675
  Separator5,
2563
2676
  {
2564
2677
  "data-id": "ResizableHandle",
@@ -2576,7 +2689,7 @@ import {
2576
2689
  useMemo,
2577
2690
  useState as useState4
2578
2691
  } from "react";
2579
- import { jsx as jsx117, jsxs as jsxs21 } from "react/jsx-runtime";
2692
+ import { jsx as jsx121, jsxs as jsxs22 } from "react/jsx-runtime";
2580
2693
  var SidebarContext = createContext4(null);
2581
2694
  var useSidebar = () => {
2582
2695
  const context = useContext4(SidebarContext);
@@ -2594,7 +2707,7 @@ var SidebarProvider = ({
2594
2707
  }) => {
2595
2708
  const [isOpen, isOpenSetter] = useState4(defaultOpen);
2596
2709
  const value = useMemo(() => ({ isOpen, isOpenSetter }), [isOpen]);
2597
- return /* @__PURE__ */ jsx117(SidebarContext, { value, children: /* @__PURE__ */ jsx117(
2710
+ return /* @__PURE__ */ jsx121(SidebarContext, { value, children: /* @__PURE__ */ jsx121(
2598
2711
  "div",
2599
2712
  {
2600
2713
  "data-id": "SidebarProvider",
@@ -2610,7 +2723,7 @@ var SidebarProvider = ({
2610
2723
  };
2611
2724
  var Sidebar = ({ className, children, ...props }) => {
2612
2725
  const { isOpen } = useSidebar();
2613
- return /* @__PURE__ */ jsx117(
2726
+ return /* @__PURE__ */ jsx121(
2614
2727
  "aside",
2615
2728
  {
2616
2729
  "data-id": "Sidebar",
@@ -2626,11 +2739,11 @@ var Sidebar = ({ className, children, ...props }) => {
2626
2739
  );
2627
2740
  };
2628
2741
  var SidebarInset = ({ className, ...props }) => {
2629
- return /* @__PURE__ */ jsx117("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 });
2630
2743
  };
2631
2744
  var SidebarTrigger = ({ className, ...props }) => {
2632
2745
  const { isOpen, isOpenSetter } = useSidebar();
2633
- return /* @__PURE__ */ jsxs21(
2746
+ return /* @__PURE__ */ jsxs22(
2634
2747
  Button,
2635
2748
  {
2636
2749
  "data-id": "SidebarTrigger",
@@ -2640,29 +2753,29 @@ var SidebarTrigger = ({ className, ...props }) => {
2640
2753
  onClick: () => isOpenSetter(!isOpen),
2641
2754
  ...props,
2642
2755
  children: [
2643
- /* @__PURE__ */ jsx117(PanelLeft, {}),
2644
- /* @__PURE__ */ jsx117("span", { className: "sr-only", children: "Toggle sidebar" })
2756
+ /* @__PURE__ */ jsx121(PanelLeft, {}),
2757
+ /* @__PURE__ */ jsx121("span", { className: "sr-only", children: "Toggle sidebar" })
2645
2758
  ]
2646
2759
  }
2647
2760
  );
2648
2761
  };
2649
2762
  var SidebarHeader = ({ className, ...props }) => {
2650
- return /* @__PURE__ */ jsx117("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2763
+ return /* @__PURE__ */ jsx121("div", { "data-id": "SidebarHeader", className: cn("p-4", className), ...props });
2651
2764
  };
2652
2765
  var SidebarContent = ({ className, ...props }) => {
2653
- return /* @__PURE__ */ jsx117("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 });
2654
2767
  };
2655
2768
  var SidebarFooter = ({ className, ...props }) => {
2656
- return /* @__PURE__ */ jsx117("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2769
+ return /* @__PURE__ */ jsx121("div", { "data-id": "SidebarFooter", className: cn("p-4", className), ...props });
2657
2770
  };
2658
2771
  var SidebarMenu = ({ className, ...props }) => {
2659
- return /* @__PURE__ */ jsx117("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 });
2660
2773
  };
2661
2774
  var SidebarMenuItem = ({ className, ...props }) => {
2662
- return /* @__PURE__ */ jsx117("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2775
+ return /* @__PURE__ */ jsx121("li", { "data-id": "SidebarMenuItem", className: cn(className), ...props });
2663
2776
  };
2664
2777
  var SidebarMenuButton = ({ className, ...props }) => {
2665
- return /* @__PURE__ */ jsx117(
2778
+ return /* @__PURE__ */ jsx121(
2666
2779
  "button",
2667
2780
  {
2668
2781
  "data-id": "SidebarMenuButton",
@@ -2678,9 +2791,9 @@ var SidebarMenuButton = ({ className, ...props }) => {
2678
2791
  // src/components/input-otp.tsx
2679
2792
  import { OTPInput, OTPInputContext } from "input-otp";
2680
2793
  import { useContext as useContext5 } from "react";
2681
- import { jsx as jsx118, jsxs as jsxs22 } from "react/jsx-runtime";
2794
+ import { jsx as jsx122, jsxs as jsxs23 } from "react/jsx-runtime";
2682
2795
  var InputOTP = ({ className, containerClassName, ...props }) => {
2683
- return /* @__PURE__ */ jsx118(
2796
+ return /* @__PURE__ */ jsx122(
2684
2797
  OTPInput,
2685
2798
  {
2686
2799
  "data-id": "InputOTP",
@@ -2691,7 +2804,7 @@ var InputOTP = ({ className, containerClassName, ...props }) => {
2691
2804
  );
2692
2805
  };
2693
2806
  var InputOTPGroup = ({ className, ...props }) => {
2694
- return /* @__PURE__ */ jsx118("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 });
2695
2808
  };
2696
2809
  var InputOTPSlot = ({
2697
2810
  index,
@@ -2700,7 +2813,7 @@ var InputOTPSlot = ({
2700
2813
  }) => {
2701
2814
  const inputOTPContext = useContext5(OTPInputContext);
2702
2815
  const slot = inputOTPContext.slots[index];
2703
- return /* @__PURE__ */ jsxs22(
2816
+ return /* @__PURE__ */ jsxs23(
2704
2817
  "div",
2705
2818
  {
2706
2819
  "data-id": "InputOTPSlot",
@@ -2713,7 +2826,7 @@ var InputOTPSlot = ({
2713
2826
  ...props,
2714
2827
  children: [
2715
2828
  slot?.char,
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
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
2717
2830
  ]
2718
2831
  }
2719
2832
  );
@@ -2736,15 +2849,15 @@ var surfaces = {
2736
2849
  };
2737
2850
 
2738
2851
  // src/components/frost-panel.tsx
2739
- import { jsx as jsx119 } from "react/jsx-runtime";
2852
+ import { jsx as jsx123 } from "react/jsx-runtime";
2740
2853
  var FrostPanel = ({ className, ...props }) => {
2741
- return /* @__PURE__ */ jsx119("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2854
+ return /* @__PURE__ */ jsx123("div", { "data-id": "FrostPanel", className: cn(surfaces.frostPanel, className), ...props });
2742
2855
  };
2743
2856
 
2744
2857
  // src/components/frost-nav.tsx
2745
- import { jsx as jsx120 } from "react/jsx-runtime";
2858
+ import { jsx as jsx124 } from "react/jsx-runtime";
2746
2859
  var FrostNav = ({ className, isOnLight = false, ...props }) => {
2747
- return /* @__PURE__ */ jsx120(
2860
+ return /* @__PURE__ */ jsx124(
2748
2861
  "nav",
2749
2862
  {
2750
2863
  "data-id": "FrostNav",
@@ -2756,27 +2869,27 @@ var FrostNav = ({ className, isOnLight = false, ...props }) => {
2756
2869
  };
2757
2870
 
2758
2871
  // src/components/frost-tile.tsx
2759
- import { jsx as jsx121 } from "react/jsx-runtime";
2872
+ import { jsx as jsx125 } from "react/jsx-runtime";
2760
2873
  var FrostTile = ({ className, ...props }) => {
2761
- return /* @__PURE__ */ jsx121("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 });
2762
2875
  };
2763
2876
 
2764
2877
  // src/components/frost-fab.tsx
2765
- import { jsx as jsx122 } from "react/jsx-runtime";
2878
+ import { jsx as jsx126 } from "react/jsx-runtime";
2766
2879
  var FrostFab = ({ className, ...props }) => {
2767
- return /* @__PURE__ */ jsx122("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2880
+ return /* @__PURE__ */ jsx126("div", { "data-id": "FrostFab", className: cn(surfaces.frostFab, className), ...props });
2768
2881
  };
2769
2882
 
2770
2883
  // src/components/brand-gradient.tsx
2771
- import { jsx as jsx123 } from "react/jsx-runtime";
2884
+ import { jsx as jsx127 } from "react/jsx-runtime";
2772
2885
  var BrandGradient = ({ className, ...props }) => {
2773
- return /* @__PURE__ */ jsx123("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2886
+ return /* @__PURE__ */ jsx127("div", { "data-id": "BrandGradient", className: cn(surfaces.brandGradient, className), ...props });
2774
2887
  };
2775
2888
 
2776
2889
  // src/components/image-scrim.tsx
2777
- import { cva as cva11 } from "class-variance-authority";
2778
- import { jsx as jsx124 } from "react/jsx-runtime";
2779
- 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", {
2780
2893
  variants: {
2781
2894
  variant: {
2782
2895
  hero: "revit-image-scrim-hero",
@@ -2789,7 +2902,7 @@ var imageScrimVariants = cva11("pointer-events-none absolute inset-0", {
2789
2902
  }
2790
2903
  });
2791
2904
  var ImageScrim = ({ className, variant, ...props }) => {
2792
- return /* @__PURE__ */ jsx124(
2905
+ return /* @__PURE__ */ jsx128(
2793
2906
  "div",
2794
2907
  {
2795
2908
  "data-id": "ImageScrim",
@@ -2802,7 +2915,7 @@ var ImageScrim = ({ className, variant, ...props }) => {
2802
2915
 
2803
2916
  // src/components/search-bar.tsx
2804
2917
  import { Search as Search2 } from "lucide-react";
2805
- import { jsx as jsx125, jsxs as jsxs23 } from "react/jsx-runtime";
2918
+ import { jsx as jsx129, jsxs as jsxs24 } from "react/jsx-runtime";
2806
2919
  var SearchBar = ({
2807
2920
  className,
2808
2921
  placeholder = "Search",
@@ -2810,7 +2923,7 @@ var SearchBar = ({
2810
2923
  defaultValue,
2811
2924
  onValueChange,
2812
2925
  onSearch,
2813
- submitLabel = /* @__PURE__ */ jsx125(Search2, { className: "size-4" }),
2926
+ submitLabel = /* @__PURE__ */ jsx129(Search2, { className: "size-4" }),
2814
2927
  ...props
2815
2928
  }) => {
2816
2929
  const onSubmit = (event) => {
@@ -2819,7 +2932,7 @@ var SearchBar = ({
2819
2932
  const nextValue = String(formData.get("q") ?? "");
2820
2933
  onSearch?.(nextValue);
2821
2934
  };
2822
- return /* @__PURE__ */ jsxs23(
2935
+ return /* @__PURE__ */ jsxs24(
2823
2936
  "form",
2824
2937
  {
2825
2938
  "data-id": "SearchBar",
@@ -2829,7 +2942,7 @@ var SearchBar = ({
2829
2942
  className
2830
2943
  ),
2831
2944
  children: [
2832
- /* @__PURE__ */ jsx125(
2945
+ /* @__PURE__ */ jsx129(
2833
2946
  Input,
2834
2947
  {
2835
2948
  name: "q",
@@ -2842,14 +2955,14 @@ var SearchBar = ({
2842
2955
  ...props
2843
2956
  }
2844
2957
  ),
2845
- /* @__PURE__ */ jsx125(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 })
2846
2959
  ]
2847
2960
  }
2848
2961
  );
2849
2962
  };
2850
2963
 
2851
2964
  // src/components/confirm-dialog.tsx
2852
- import { jsx as jsx126, jsxs as jsxs24 } from "react/jsx-runtime";
2965
+ import { jsx as jsx130, jsxs as jsxs25 } from "react/jsx-runtime";
2853
2966
  var ConfirmDialog = ({
2854
2967
  trigger,
2855
2968
  title,
@@ -2858,29 +2971,29 @@ var ConfirmDialog = ({
2858
2971
  cancelLabel = "Cancel",
2859
2972
  onConfirm
2860
2973
  }) => {
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
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
2867
2980
  ] }),
2868
- /* @__PURE__ */ jsxs24(AlertDialogFooter, { children: [
2869
- /* @__PURE__ */ jsx126(AlertDialogCancel, { children: cancelLabel }),
2870
- /* @__PURE__ */ jsx126(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2981
+ /* @__PURE__ */ jsxs25(AlertDialogFooter, { children: [
2982
+ /* @__PURE__ */ jsx130(AlertDialogCancel, { children: cancelLabel }),
2983
+ /* @__PURE__ */ jsx130(AlertDialogAction, { onClick: onConfirm, children: confirmLabel })
2871
2984
  ] })
2872
2985
  ] })
2873
2986
  ] });
2874
2987
  };
2875
2988
 
2876
2989
  // src/components/command-dialog.tsx
2877
- import { jsx as jsx127 } from "react/jsx-runtime";
2990
+ import { jsx as jsx131 } from "react/jsx-runtime";
2878
2991
  var CommandDialog = ({ children, contentClassName, ...props }) => {
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 }) }) });
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 }) }) });
2880
2993
  };
2881
2994
 
2882
2995
  // src/components/pagination-bar.tsx
2883
- import { jsx as jsx128, jsxs as jsxs25 } from "react/jsx-runtime";
2996
+ import { jsx as jsx132, jsxs as jsxs26 } from "react/jsx-runtime";
2884
2997
  var PaginationBar = ({
2885
2998
  page,
2886
2999
  pageCount,
@@ -2890,8 +3003,8 @@ var PaginationBar = ({
2890
3003
  }) => {
2891
3004
  const pages = Array.from({ length: pageCount }, (_, index) => index + 1);
2892
3005
  const visible = pages.filter((item) => item === 1 || item === pageCount || Math.abs(item - page) <= 1);
2893
- return /* @__PURE__ */ jsx128(Pagination, { "data-id": "PaginationBar", className, ...props, children: /* @__PURE__ */ jsxs25(PaginationContent, { children: [
2894
- /* @__PURE__ */ jsx128(PaginationItem, { children: /* @__PURE__ */ jsx128(
3006
+ return /* @__PURE__ */ jsx132(Pagination, { "data-id": "PaginationBar", className, ...props, children: /* @__PURE__ */ jsxs26(PaginationContent, { children: [
3007
+ /* @__PURE__ */ jsx132(PaginationItem, { children: /* @__PURE__ */ jsx132(
2895
3008
  PaginationPrevious,
2896
3009
  {
2897
3010
  href: "#",
@@ -2905,9 +3018,9 @@ var PaginationBar = ({
2905
3018
  ) }),
2906
3019
  visible.map((item, index) => {
2907
3020
  const previous = visible[index - 1];
2908
- return /* @__PURE__ */ jsxs25(PaginationItem, { children: [
2909
- previous && item - previous > 1 ? /* @__PURE__ */ jsx128(PaginationEllipsis, {}) : null,
2910
- /* @__PURE__ */ jsx128(
3021
+ return /* @__PURE__ */ jsxs26(PaginationItem, { children: [
3022
+ previous && item - previous > 1 ? /* @__PURE__ */ jsx132(PaginationEllipsis, {}) : null,
3023
+ /* @__PURE__ */ jsx132(
2911
3024
  PaginationLink,
2912
3025
  {
2913
3026
  href: "#",
@@ -2921,7 +3034,7 @@ var PaginationBar = ({
2921
3034
  )
2922
3035
  ] }, `pagination-${item}--${index}`);
2923
3036
  }),
2924
- /* @__PURE__ */ jsx128(PaginationItem, { children: /* @__PURE__ */ jsx128(
3037
+ /* @__PURE__ */ jsx132(PaginationItem, { children: /* @__PURE__ */ jsx132(
2925
3038
  PaginationNext,
2926
3039
  {
2927
3040
  href: "#",
@@ -3072,11 +3185,11 @@ var revitTokens = {
3072
3185
  };
3073
3186
 
3074
3187
  // src/theme/RevitUIProvider.tsx
3075
- import { Fragment, jsx as jsx129, jsxs as jsxs26 } from "react/jsx-runtime";
3188
+ import { Fragment, jsx as jsx133, jsxs as jsxs27 } from "react/jsx-runtime";
3076
3189
  var RevitUIProvider = ({ tokens = revitTokens, 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 })
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 })
3080
3193
  ] });
3081
3194
  };
3082
3195
  export {
@@ -3160,6 +3273,7 @@ export {
3160
3273
  DropdownMenuLabel,
3161
3274
  DropdownMenuSeparator,
3162
3275
  DropdownMenuTrigger,
3276
+ Field,
3163
3277
  Form,
3164
3278
  FormControl,
3165
3279
  FormDescription,
@@ -3171,6 +3285,7 @@ export {
3171
3285
  FrostNav,
3172
3286
  FrostPanel,
3173
3287
  FrostTile,
3288
+ Heading,
3174
3289
  HoverCard,
3175
3290
  HoverCardContent,
3176
3291
  HoverCardTrigger,
@@ -3180,6 +3295,7 @@ export {
3180
3295
  InputOTPGroup,
3181
3296
  InputOTPSlot,
3182
3297
  Label2 as Label,
3298
+ Link,
3183
3299
  Menubar,
3184
3300
  MenubarContent,
3185
3301
  MenubarItem,
@@ -3255,6 +3371,7 @@ export {
3255
3371
  TabsContent,
3256
3372
  TabsList,
3257
3373
  TabsTrigger,
3374
+ Text,
3258
3375
  Textarea,
3259
3376
  Toaster,
3260
3377
  Toggle,
@@ -3269,11 +3386,14 @@ export {
3269
3386
  buttonVariants,
3270
3387
  cardVariants,
3271
3388
  cn,
3389
+ headingVariants,
3272
3390
  inputVariants,
3273
3391
  labelVariants,
3392
+ linkVariants,
3274
3393
  revitTokens,
3275
3394
  selectTriggerVariants,
3276
3395
  surfaces,
3396
+ textVariants,
3277
3397
  textareaVariants,
3278
3398
  toast,
3279
3399
  toggleVariants,