@pactor-app/ui 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -31
- package/dist/{chunk-GV5R6TUT.js → chunk-22TEN3ER.js} +169 -38
- package/dist/{chunk-GL7IO22L.js → chunk-2LYMCWEJ.js} +65 -1
- package/dist/chunk-HJPHJKVA.js +671 -0
- package/dist/{chunk-BZSRLTQQ.js → chunk-L45CSL6I.js} +5 -5
- package/dist/{chunk-6B5ZX7L3.js → chunk-LMEJ242M.js} +170 -570
- package/dist/{chunk-BVHAP22U.js → chunk-Q5NUGUJG.js} +131 -195
- package/dist/components/index.cjs +44 -37
- package/dist/components/index.d.cts +8 -8
- package/dist/components/index.d.ts +8 -8
- package/dist/components/index.js +16 -16
- package/dist/index.cjs +273 -148
- package/dist/index.d.cts +3 -36
- package/dist/index.d.ts +3 -36
- package/dist/index.js +36 -45
- package/dist/interaction/index.cjs +7 -7
- package/dist/interaction/index.d.cts +13 -16
- package/dist/interaction/index.d.ts +13 -16
- package/dist/interaction/index.js +5 -5
- package/dist/layout/index.cjs +642 -51
- package/dist/layout/index.d.cts +97 -19
- package/dist/layout/index.d.ts +97 -19
- package/dist/layout/index.js +17 -15
- package/dist/ui/index.js +7 -7
- package/package.json +5 -5
- package/dist/chunk-6JNCDPGS.js +0 -257
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Popover,
|
|
7
7
|
PopoverContent,
|
|
8
8
|
PopoverTrigger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2LYMCWEJ.js";
|
|
10
10
|
import {
|
|
11
11
|
cn
|
|
12
12
|
} from "./chunk-RQHJBTEU.js";
|
|
@@ -1604,75 +1604,15 @@ function Label({
|
|
|
1604
1604
|
);
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
|
-
// src/ui/tooltip.tsx
|
|
1608
|
-
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
1609
|
-
import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1610
|
-
function TooltipProvider({
|
|
1611
|
-
delay = 0,
|
|
1612
|
-
...props
|
|
1613
|
-
}) {
|
|
1614
|
-
return /* @__PURE__ */ jsx28(
|
|
1615
|
-
TooltipPrimitive.Provider,
|
|
1616
|
-
{
|
|
1617
|
-
"data-slot": "tooltip-provider",
|
|
1618
|
-
delay,
|
|
1619
|
-
...props
|
|
1620
|
-
}
|
|
1621
|
-
);
|
|
1622
|
-
}
|
|
1623
|
-
function Tooltip({
|
|
1624
|
-
...props
|
|
1625
|
-
}) {
|
|
1626
|
-
return /* @__PURE__ */ jsx28(TooltipProvider, { children: /* @__PURE__ */ jsx28(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
|
|
1627
|
-
}
|
|
1628
|
-
function TooltipTrigger({
|
|
1629
|
-
...props
|
|
1630
|
-
}) {
|
|
1631
|
-
return /* @__PURE__ */ jsx28(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
|
|
1632
|
-
}
|
|
1633
|
-
function TooltipContent({
|
|
1634
|
-
className,
|
|
1635
|
-
side = "top",
|
|
1636
|
-
sideOffset = 4,
|
|
1637
|
-
align = "center",
|
|
1638
|
-
children,
|
|
1639
|
-
...props
|
|
1640
|
-
}) {
|
|
1641
|
-
return /* @__PURE__ */ jsx28(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx28(
|
|
1642
|
-
TooltipPrimitive.Positioner,
|
|
1643
|
-
{
|
|
1644
|
-
align,
|
|
1645
|
-
side,
|
|
1646
|
-
sideOffset,
|
|
1647
|
-
className: "isolate z-50",
|
|
1648
|
-
children: /* @__PURE__ */ jsxs9(
|
|
1649
|
-
TooltipPrimitive.Popup,
|
|
1650
|
-
{
|
|
1651
|
-
"data-slot": "tooltip-content",
|
|
1652
|
-
className: cn(
|
|
1653
|
-
"z-50 w-fit origin-(--transform-origin) rounded-md bg-primary px-3 py-1.5 text-xs text-balance text-primary-foreground duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1654
|
-
className
|
|
1655
|
-
),
|
|
1656
|
-
...props,
|
|
1657
|
-
children: [
|
|
1658
|
-
children,
|
|
1659
|
-
/* @__PURE__ */ jsx28(TooltipPrimitive.Arrow, { className: "z-50 size-2.5 rotate-45 rounded-[2px] bg-primary fill-primary data-[side=top]:-bottom-1 data-[side=bottom]:-top-1 data-[side=left]:-right-1 data-[side=right]:-left-1" })
|
|
1660
|
-
]
|
|
1661
|
-
}
|
|
1662
|
-
)
|
|
1663
|
-
}
|
|
1664
|
-
) });
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
1607
|
// src/ui/menubar.tsx
|
|
1668
1608
|
import { Menu as MenuPrimitive2 } from "@base-ui/react/menu";
|
|
1669
1609
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
1670
|
-
import { jsx as
|
|
1610
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1671
1611
|
function Menubar({
|
|
1672
1612
|
className,
|
|
1673
1613
|
...props
|
|
1674
1614
|
}) {
|
|
1675
|
-
return /* @__PURE__ */
|
|
1615
|
+
return /* @__PURE__ */ jsx28(
|
|
1676
1616
|
MenubarPrimitive,
|
|
1677
1617
|
{
|
|
1678
1618
|
"data-slot": "menubar",
|
|
@@ -1687,13 +1627,13 @@ function Menubar({
|
|
|
1687
1627
|
function MenubarMenu({
|
|
1688
1628
|
...props
|
|
1689
1629
|
}) {
|
|
1690
|
-
return /* @__PURE__ */
|
|
1630
|
+
return /* @__PURE__ */ jsx28(MenuPrimitive2.Root, { "data-slot": "menubar-menu", ...props });
|
|
1691
1631
|
}
|
|
1692
1632
|
function MenubarTrigger({
|
|
1693
1633
|
className,
|
|
1694
1634
|
...props
|
|
1695
1635
|
}) {
|
|
1696
|
-
return /* @__PURE__ */
|
|
1636
|
+
return /* @__PURE__ */ jsx28(
|
|
1697
1637
|
MenuPrimitive2.Trigger,
|
|
1698
1638
|
{
|
|
1699
1639
|
"data-slot": "menubar-trigger",
|
|
@@ -1712,14 +1652,14 @@ function MenubarContent({
|
|
|
1712
1652
|
sideOffset = 8,
|
|
1713
1653
|
...props
|
|
1714
1654
|
}) {
|
|
1715
|
-
return /* @__PURE__ */
|
|
1655
|
+
return /* @__PURE__ */ jsx28(MenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx28(
|
|
1716
1656
|
MenuPrimitive2.Positioner,
|
|
1717
1657
|
{
|
|
1718
1658
|
align,
|
|
1719
1659
|
side,
|
|
1720
1660
|
sideOffset,
|
|
1721
1661
|
className: "isolate z-50",
|
|
1722
|
-
children: /* @__PURE__ */
|
|
1662
|
+
children: /* @__PURE__ */ jsx28(
|
|
1723
1663
|
MenuPrimitive2.Popup,
|
|
1724
1664
|
{
|
|
1725
1665
|
"data-slot": "menubar-content",
|
|
@@ -1738,7 +1678,7 @@ function MenubarItem({
|
|
|
1738
1678
|
variant = "default",
|
|
1739
1679
|
...props
|
|
1740
1680
|
}) {
|
|
1741
|
-
return /* @__PURE__ */
|
|
1681
|
+
return /* @__PURE__ */ jsx28(
|
|
1742
1682
|
MenuPrimitive2.Item,
|
|
1743
1683
|
{
|
|
1744
1684
|
"data-slot": "menubar-item",
|
|
@@ -1755,7 +1695,7 @@ function MenubarSeparator({
|
|
|
1755
1695
|
className,
|
|
1756
1696
|
...props
|
|
1757
1697
|
}) {
|
|
1758
|
-
return /* @__PURE__ */
|
|
1698
|
+
return /* @__PURE__ */ jsx28(
|
|
1759
1699
|
MenuPrimitive2.Separator,
|
|
1760
1700
|
{
|
|
1761
1701
|
"data-slot": "menubar-separator",
|
|
@@ -1769,13 +1709,13 @@ function MenubarSeparator({
|
|
|
1769
1709
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
1770
1710
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1771
1711
|
import { cva as cva3 } from "class-variance-authority";
|
|
1772
|
-
import { jsx as
|
|
1712
|
+
import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1773
1713
|
function NavigationMenu({
|
|
1774
1714
|
className,
|
|
1775
1715
|
children,
|
|
1776
1716
|
...props
|
|
1777
1717
|
}) {
|
|
1778
|
-
return /* @__PURE__ */
|
|
1718
|
+
return /* @__PURE__ */ jsxs9(
|
|
1779
1719
|
NavigationMenuPrimitive.Root,
|
|
1780
1720
|
{
|
|
1781
1721
|
"data-slot": "navigation-menu",
|
|
@@ -1783,7 +1723,7 @@ function NavigationMenu({
|
|
|
1783
1723
|
...props,
|
|
1784
1724
|
children: [
|
|
1785
1725
|
children,
|
|
1786
|
-
/* @__PURE__ */
|
|
1726
|
+
/* @__PURE__ */ jsx29(NavigationMenuViewport, {})
|
|
1787
1727
|
]
|
|
1788
1728
|
}
|
|
1789
1729
|
);
|
|
@@ -1792,7 +1732,7 @@ function NavigationMenuList({
|
|
|
1792
1732
|
className,
|
|
1793
1733
|
...props
|
|
1794
1734
|
}) {
|
|
1795
|
-
return /* @__PURE__ */
|
|
1735
|
+
return /* @__PURE__ */ jsx29(
|
|
1796
1736
|
NavigationMenuPrimitive.List,
|
|
1797
1737
|
{
|
|
1798
1738
|
"data-slot": "navigation-menu-list",
|
|
@@ -1805,7 +1745,7 @@ function NavigationMenuItem({
|
|
|
1805
1745
|
className,
|
|
1806
1746
|
...props
|
|
1807
1747
|
}) {
|
|
1808
|
-
return /* @__PURE__ */
|
|
1748
|
+
return /* @__PURE__ */ jsx29(
|
|
1809
1749
|
NavigationMenuPrimitive.Item,
|
|
1810
1750
|
{
|
|
1811
1751
|
"data-slot": "navigation-menu-item",
|
|
@@ -1822,7 +1762,7 @@ function NavigationMenuTrigger({
|
|
|
1822
1762
|
children,
|
|
1823
1763
|
...props
|
|
1824
1764
|
}) {
|
|
1825
|
-
return /* @__PURE__ */
|
|
1765
|
+
return /* @__PURE__ */ jsxs9(
|
|
1826
1766
|
NavigationMenuPrimitive.Trigger,
|
|
1827
1767
|
{
|
|
1828
1768
|
"data-slot": "navigation-menu-trigger",
|
|
@@ -1830,7 +1770,7 @@ function NavigationMenuTrigger({
|
|
|
1830
1770
|
...props,
|
|
1831
1771
|
children: [
|
|
1832
1772
|
children,
|
|
1833
|
-
/* @__PURE__ */
|
|
1773
|
+
/* @__PURE__ */ jsx29(
|
|
1834
1774
|
ChevronDownIcon2,
|
|
1835
1775
|
{
|
|
1836
1776
|
className: "relative top-px ml-1 size-3 transition-transform duration-200 group-data-open/navigation-menu-trigger:rotate-180",
|
|
@@ -1845,7 +1785,7 @@ function NavigationMenuContent({
|
|
|
1845
1785
|
className,
|
|
1846
1786
|
...props
|
|
1847
1787
|
}) {
|
|
1848
|
-
return /* @__PURE__ */
|
|
1788
|
+
return /* @__PURE__ */ jsx29(
|
|
1849
1789
|
NavigationMenuPrimitive.Content,
|
|
1850
1790
|
{
|
|
1851
1791
|
"data-slot": "navigation-menu-content",
|
|
@@ -1858,13 +1798,13 @@ function NavigationMenuContent({
|
|
|
1858
1798
|
);
|
|
1859
1799
|
}
|
|
1860
1800
|
function NavigationMenuViewport({ className }) {
|
|
1861
|
-
return /* @__PURE__ */
|
|
1801
|
+
return /* @__PURE__ */ jsx29(NavigationMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx29(
|
|
1862
1802
|
NavigationMenuPrimitive.Positioner,
|
|
1863
1803
|
{
|
|
1864
1804
|
side: "bottom",
|
|
1865
1805
|
align: "start",
|
|
1866
1806
|
className: "isolate z-50",
|
|
1867
|
-
children: /* @__PURE__ */
|
|
1807
|
+
children: /* @__PURE__ */ jsx29(
|
|
1868
1808
|
NavigationMenuPrimitive.Popup,
|
|
1869
1809
|
{
|
|
1870
1810
|
"data-slot": "navigation-menu-popup",
|
|
@@ -1872,7 +1812,7 @@ function NavigationMenuViewport({ className }) {
|
|
|
1872
1812
|
"origin-(--transform-origin) overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1873
1813
|
className
|
|
1874
1814
|
),
|
|
1875
|
-
children: /* @__PURE__ */
|
|
1815
|
+
children: /* @__PURE__ */ jsx29(NavigationMenuPrimitive.Viewport, { "data-slot": "navigation-menu-viewport" })
|
|
1876
1816
|
}
|
|
1877
1817
|
)
|
|
1878
1818
|
}
|
|
@@ -1882,7 +1822,7 @@ function NavigationMenuLink({
|
|
|
1882
1822
|
className,
|
|
1883
1823
|
...props
|
|
1884
1824
|
}) {
|
|
1885
|
-
return /* @__PURE__ */
|
|
1825
|
+
return /* @__PURE__ */ jsx29(
|
|
1886
1826
|
NavigationMenuPrimitive.Link,
|
|
1887
1827
|
{
|
|
1888
1828
|
"data-slot": "navigation-menu-link",
|
|
@@ -1897,9 +1837,9 @@ function NavigationMenuLink({
|
|
|
1897
1837
|
|
|
1898
1838
|
// src/ui/pagination.tsx
|
|
1899
1839
|
import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon5, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
1900
|
-
import { jsx as
|
|
1840
|
+
import { jsx as jsx30, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1901
1841
|
function Pagination({ className, ...props }) {
|
|
1902
|
-
return /* @__PURE__ */
|
|
1842
|
+
return /* @__PURE__ */ jsx30(
|
|
1903
1843
|
"nav",
|
|
1904
1844
|
{
|
|
1905
1845
|
role: "navigation",
|
|
@@ -1911,7 +1851,7 @@ function Pagination({ className, ...props }) {
|
|
|
1911
1851
|
);
|
|
1912
1852
|
}
|
|
1913
1853
|
function PaginationContent({ className, ...props }) {
|
|
1914
|
-
return /* @__PURE__ */
|
|
1854
|
+
return /* @__PURE__ */ jsx30(
|
|
1915
1855
|
"ul",
|
|
1916
1856
|
{
|
|
1917
1857
|
"data-slot": "pagination-content",
|
|
@@ -1921,7 +1861,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
1921
1861
|
);
|
|
1922
1862
|
}
|
|
1923
1863
|
function PaginationItem({ ...props }) {
|
|
1924
|
-
return /* @__PURE__ */
|
|
1864
|
+
return /* @__PURE__ */ jsx30("li", { "data-slot": "pagination-item", ...props });
|
|
1925
1865
|
}
|
|
1926
1866
|
function PaginationLink({
|
|
1927
1867
|
className,
|
|
@@ -1929,7 +1869,7 @@ function PaginationLink({
|
|
|
1929
1869
|
disabled,
|
|
1930
1870
|
...props
|
|
1931
1871
|
}) {
|
|
1932
|
-
return /* @__PURE__ */
|
|
1872
|
+
return /* @__PURE__ */ jsx30(
|
|
1933
1873
|
"a",
|
|
1934
1874
|
{
|
|
1935
1875
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1952,15 +1892,15 @@ function PaginationPrevious({
|
|
|
1952
1892
|
className,
|
|
1953
1893
|
...props
|
|
1954
1894
|
}) {
|
|
1955
|
-
return /* @__PURE__ */
|
|
1895
|
+
return /* @__PURE__ */ jsxs10(
|
|
1956
1896
|
PaginationLink,
|
|
1957
1897
|
{
|
|
1958
1898
|
"aria-label": "Go to previous page",
|
|
1959
1899
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1960
1900
|
...props,
|
|
1961
1901
|
children: [
|
|
1962
|
-
/* @__PURE__ */
|
|
1963
|
-
/* @__PURE__ */
|
|
1902
|
+
/* @__PURE__ */ jsx30(ChevronLeftIcon3, {}),
|
|
1903
|
+
/* @__PURE__ */ jsx30("span", { className: "hidden sm:block", children: "Previous" })
|
|
1964
1904
|
]
|
|
1965
1905
|
}
|
|
1966
1906
|
);
|
|
@@ -1969,21 +1909,21 @@ function PaginationNext({
|
|
|
1969
1909
|
className,
|
|
1970
1910
|
...props
|
|
1971
1911
|
}) {
|
|
1972
|
-
return /* @__PURE__ */
|
|
1912
|
+
return /* @__PURE__ */ jsxs10(
|
|
1973
1913
|
PaginationLink,
|
|
1974
1914
|
{
|
|
1975
1915
|
"aria-label": "Go to next page",
|
|
1976
1916
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1977
1917
|
...props,
|
|
1978
1918
|
children: [
|
|
1979
|
-
/* @__PURE__ */
|
|
1980
|
-
/* @__PURE__ */
|
|
1919
|
+
/* @__PURE__ */ jsx30("span", { className: "hidden sm:block", children: "Next" }),
|
|
1920
|
+
/* @__PURE__ */ jsx30(ChevronRightIcon5, {})
|
|
1981
1921
|
]
|
|
1982
1922
|
}
|
|
1983
1923
|
);
|
|
1984
1924
|
}
|
|
1985
1925
|
function PaginationEllipsis({ className, ...props }) {
|
|
1986
|
-
return /* @__PURE__ */
|
|
1926
|
+
return /* @__PURE__ */ jsxs10(
|
|
1987
1927
|
"span",
|
|
1988
1928
|
{
|
|
1989
1929
|
"aria-hidden": true,
|
|
@@ -1991,8 +1931,8 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1991
1931
|
className: cn("flex size-9 items-center justify-center", className),
|
|
1992
1932
|
...props,
|
|
1993
1933
|
children: [
|
|
1994
|
-
/* @__PURE__ */
|
|
1995
|
-
/* @__PURE__ */
|
|
1934
|
+
/* @__PURE__ */ jsx30(MoreHorizontalIcon2, { className: "size-4" }),
|
|
1935
|
+
/* @__PURE__ */ jsx30("span", { className: "sr-only", children: "More pages" })
|
|
1996
1936
|
]
|
|
1997
1937
|
}
|
|
1998
1938
|
);
|
|
@@ -2000,9 +1940,9 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
2000
1940
|
|
|
2001
1941
|
// src/ui/progress.tsx
|
|
2002
1942
|
import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
|
|
2003
|
-
import { jsx as
|
|
1943
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2004
1944
|
function Progress({ className, ...props }) {
|
|
2005
|
-
return /* @__PURE__ */
|
|
1945
|
+
return /* @__PURE__ */ jsx31(
|
|
2006
1946
|
ProgressPrimitive.Root,
|
|
2007
1947
|
{
|
|
2008
1948
|
"data-slot": "progress",
|
|
@@ -2012,7 +1952,7 @@ function Progress({ className, ...props }) {
|
|
|
2012
1952
|
);
|
|
2013
1953
|
}
|
|
2014
1954
|
function ProgressTrack({ className, ...props }) {
|
|
2015
|
-
return /* @__PURE__ */
|
|
1955
|
+
return /* @__PURE__ */ jsx31(
|
|
2016
1956
|
ProgressPrimitive.Track,
|
|
2017
1957
|
{
|
|
2018
1958
|
"data-slot": "progress-track",
|
|
@@ -2025,7 +1965,7 @@ function ProgressIndicator({
|
|
|
2025
1965
|
className,
|
|
2026
1966
|
...props
|
|
2027
1967
|
}) {
|
|
2028
|
-
return /* @__PURE__ */
|
|
1968
|
+
return /* @__PURE__ */ jsx31(
|
|
2029
1969
|
ProgressPrimitive.Indicator,
|
|
2030
1970
|
{
|
|
2031
1971
|
"data-slot": "progress-indicator",
|
|
@@ -2041,9 +1981,9 @@ function ProgressIndicator({
|
|
|
2041
1981
|
// src/ui/radio-group.tsx
|
|
2042
1982
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
2043
1983
|
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
|
|
2044
|
-
import { jsx as
|
|
1984
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
2045
1985
|
function RadioGroup({ className, ...props }) {
|
|
2046
|
-
return /* @__PURE__ */
|
|
1986
|
+
return /* @__PURE__ */ jsx32(
|
|
2047
1987
|
RadioGroupPrimitive,
|
|
2048
1988
|
{
|
|
2049
1989
|
"data-slot": "radio-group",
|
|
@@ -2053,7 +1993,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
2053
1993
|
);
|
|
2054
1994
|
}
|
|
2055
1995
|
function RadioGroupItem({ className, ...props }) {
|
|
2056
|
-
return /* @__PURE__ */
|
|
1996
|
+
return /* @__PURE__ */ jsx32(
|
|
2057
1997
|
RadioPrimitive.Root,
|
|
2058
1998
|
{
|
|
2059
1999
|
"data-slot": "radio-group-item",
|
|
@@ -2062,12 +2002,12 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
2062
2002
|
className
|
|
2063
2003
|
),
|
|
2064
2004
|
...props,
|
|
2065
|
-
children: /* @__PURE__ */
|
|
2005
|
+
children: /* @__PURE__ */ jsx32(
|
|
2066
2006
|
RadioPrimitive.Indicator,
|
|
2067
2007
|
{
|
|
2068
2008
|
"data-slot": "radio-group-indicator",
|
|
2069
2009
|
className: "flex items-center justify-center",
|
|
2070
|
-
children: /* @__PURE__ */
|
|
2010
|
+
children: /* @__PURE__ */ jsx32("span", { className: "size-2 rounded-full bg-primary" })
|
|
2071
2011
|
}
|
|
2072
2012
|
)
|
|
2073
2013
|
}
|
|
@@ -2081,12 +2021,12 @@ import {
|
|
|
2081
2021
|
Panel as PanelPrimitive,
|
|
2082
2022
|
Separator as PanelResizeHandlePrimitive
|
|
2083
2023
|
} from "react-resizable-panels";
|
|
2084
|
-
import { jsx as
|
|
2024
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
2085
2025
|
function PanelGroup({
|
|
2086
2026
|
className,
|
|
2087
2027
|
...props
|
|
2088
2028
|
}) {
|
|
2089
|
-
return /* @__PURE__ */
|
|
2029
|
+
return /* @__PURE__ */ jsx33(
|
|
2090
2030
|
PanelGroupPrimitive,
|
|
2091
2031
|
{
|
|
2092
2032
|
"data-slot": "resizable-panel-group",
|
|
@@ -2099,14 +2039,14 @@ function PanelGroup({
|
|
|
2099
2039
|
);
|
|
2100
2040
|
}
|
|
2101
2041
|
function Panel({ ...props }) {
|
|
2102
|
-
return /* @__PURE__ */
|
|
2042
|
+
return /* @__PURE__ */ jsx33(PanelPrimitive, { "data-slot": "resizable-panel", ...props });
|
|
2103
2043
|
}
|
|
2104
2044
|
function ResizableHandle({
|
|
2105
2045
|
withHandle,
|
|
2106
2046
|
className,
|
|
2107
2047
|
...props
|
|
2108
2048
|
}) {
|
|
2109
|
-
return /* @__PURE__ */
|
|
2049
|
+
return /* @__PURE__ */ jsx33(
|
|
2110
2050
|
PanelResizeHandlePrimitive,
|
|
2111
2051
|
{
|
|
2112
2052
|
"data-slot": "resizable-handle",
|
|
@@ -2115,27 +2055,27 @@ function ResizableHandle({
|
|
|
2115
2055
|
className
|
|
2116
2056
|
),
|
|
2117
2057
|
...props,
|
|
2118
|
-
children: withHandle ? /* @__PURE__ */
|
|
2058
|
+
children: withHandle ? /* @__PURE__ */ jsx33("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border border-border bg-border", children: /* @__PURE__ */ jsx33(GripVerticalIcon, { className: "size-2.5" }) }) : null
|
|
2119
2059
|
}
|
|
2120
2060
|
);
|
|
2121
2061
|
}
|
|
2122
2062
|
|
|
2123
2063
|
// src/ui/scroll-area.tsx
|
|
2124
2064
|
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
2125
|
-
import { jsx as
|
|
2065
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2126
2066
|
function ScrollArea({
|
|
2127
2067
|
className,
|
|
2128
2068
|
children,
|
|
2129
2069
|
...props
|
|
2130
2070
|
}) {
|
|
2131
|
-
return /* @__PURE__ */
|
|
2071
|
+
return /* @__PURE__ */ jsxs11(
|
|
2132
2072
|
ScrollAreaPrimitive.Root,
|
|
2133
2073
|
{
|
|
2134
2074
|
"data-slot": "scroll-area",
|
|
2135
2075
|
className: cn("relative overflow-hidden", className),
|
|
2136
2076
|
...props,
|
|
2137
2077
|
children: [
|
|
2138
|
-
/* @__PURE__ */
|
|
2078
|
+
/* @__PURE__ */ jsx34(
|
|
2139
2079
|
ScrollAreaPrimitive.Viewport,
|
|
2140
2080
|
{
|
|
2141
2081
|
"data-slot": "scroll-area-viewport",
|
|
@@ -2143,8 +2083,8 @@ function ScrollArea({
|
|
|
2143
2083
|
children
|
|
2144
2084
|
}
|
|
2145
2085
|
),
|
|
2146
|
-
/* @__PURE__ */
|
|
2147
|
-
/* @__PURE__ */
|
|
2086
|
+
/* @__PURE__ */ jsx34(ScrollBar, {}),
|
|
2087
|
+
/* @__PURE__ */ jsx34(ScrollAreaPrimitive.Corner, {})
|
|
2148
2088
|
]
|
|
2149
2089
|
}
|
|
2150
2090
|
);
|
|
@@ -2154,7 +2094,7 @@ function ScrollBar({
|
|
|
2154
2094
|
orientation = "vertical",
|
|
2155
2095
|
...props
|
|
2156
2096
|
}) {
|
|
2157
|
-
return /* @__PURE__ */
|
|
2097
|
+
return /* @__PURE__ */ jsx34(
|
|
2158
2098
|
ScrollAreaPrimitive.Scrollbar,
|
|
2159
2099
|
{
|
|
2160
2100
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -2166,7 +2106,7 @@ function ScrollBar({
|
|
|
2166
2106
|
className
|
|
2167
2107
|
),
|
|
2168
2108
|
...props,
|
|
2169
|
-
children: /* @__PURE__ */
|
|
2109
|
+
children: /* @__PURE__ */ jsx34(
|
|
2170
2110
|
ScrollAreaPrimitive.Thumb,
|
|
2171
2111
|
{
|
|
2172
2112
|
"data-slot": "scroll-area-thumb",
|
|
@@ -2180,17 +2120,17 @@ function ScrollBar({
|
|
|
2180
2120
|
// src/ui/select.tsx
|
|
2181
2121
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
2182
2122
|
import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, ChevronUpIcon } from "lucide-react";
|
|
2183
|
-
import { jsx as
|
|
2123
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2184
2124
|
var Select = SelectPrimitive.Root;
|
|
2185
2125
|
function SelectGroup({
|
|
2186
2126
|
...props
|
|
2187
2127
|
}) {
|
|
2188
|
-
return /* @__PURE__ */
|
|
2128
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
2189
2129
|
}
|
|
2190
2130
|
function SelectValue({
|
|
2191
2131
|
...props
|
|
2192
2132
|
}) {
|
|
2193
|
-
return /* @__PURE__ */
|
|
2133
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
2194
2134
|
}
|
|
2195
2135
|
function SelectTrigger({
|
|
2196
2136
|
className,
|
|
@@ -2198,7 +2138,7 @@ function SelectTrigger({
|
|
|
2198
2138
|
children,
|
|
2199
2139
|
...props
|
|
2200
2140
|
}) {
|
|
2201
|
-
return /* @__PURE__ */
|
|
2141
|
+
return /* @__PURE__ */ jsxs12(
|
|
2202
2142
|
SelectPrimitive.Trigger,
|
|
2203
2143
|
{
|
|
2204
2144
|
"data-slot": "select-trigger",
|
|
@@ -2210,10 +2150,10 @@ function SelectTrigger({
|
|
|
2210
2150
|
...props,
|
|
2211
2151
|
children: [
|
|
2212
2152
|
children,
|
|
2213
|
-
/* @__PURE__ */
|
|
2153
|
+
/* @__PURE__ */ jsx35(
|
|
2214
2154
|
SelectPrimitive.Icon,
|
|
2215
2155
|
{
|
|
2216
|
-
render: /* @__PURE__ */
|
|
2156
|
+
render: /* @__PURE__ */ jsx35(ChevronDownIcon3, { className: "size-4 opacity-50" })
|
|
2217
2157
|
}
|
|
2218
2158
|
)
|
|
2219
2159
|
]
|
|
@@ -2229,7 +2169,7 @@ function SelectContent({
|
|
|
2229
2169
|
alignItemWithTrigger = false,
|
|
2230
2170
|
...props
|
|
2231
2171
|
}) {
|
|
2232
|
-
return /* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
|
|
2233
2173
|
SelectPrimitive.Positioner,
|
|
2234
2174
|
{
|
|
2235
2175
|
side,
|
|
@@ -2237,7 +2177,7 @@ function SelectContent({
|
|
|
2237
2177
|
align,
|
|
2238
2178
|
alignItemWithTrigger,
|
|
2239
2179
|
className: "isolate z-50",
|
|
2240
|
-
children: /* @__PURE__ */
|
|
2180
|
+
children: /* @__PURE__ */ jsxs12(
|
|
2241
2181
|
SelectPrimitive.Popup,
|
|
2242
2182
|
{
|
|
2243
2183
|
"data-slot": "select-content",
|
|
@@ -2247,9 +2187,9 @@ function SelectContent({
|
|
|
2247
2187
|
),
|
|
2248
2188
|
...props,
|
|
2249
2189
|
children: [
|
|
2250
|
-
/* @__PURE__ */
|
|
2251
|
-
/* @__PURE__ */
|
|
2252
|
-
/* @__PURE__ */
|
|
2190
|
+
/* @__PURE__ */ jsx35(SelectScrollUpButton, {}),
|
|
2191
|
+
/* @__PURE__ */ jsx35(SelectPrimitive.List, { className: "p-1", children }),
|
|
2192
|
+
/* @__PURE__ */ jsx35(SelectScrollDownButton, {})
|
|
2253
2193
|
]
|
|
2254
2194
|
}
|
|
2255
2195
|
)
|
|
@@ -2260,7 +2200,7 @@ function SelectLabel({
|
|
|
2260
2200
|
className,
|
|
2261
2201
|
...props
|
|
2262
2202
|
}) {
|
|
2263
|
-
return /* @__PURE__ */
|
|
2203
|
+
return /* @__PURE__ */ jsx35(
|
|
2264
2204
|
SelectPrimitive.GroupLabel,
|
|
2265
2205
|
{
|
|
2266
2206
|
"data-slot": "select-label",
|
|
@@ -2274,7 +2214,7 @@ function SelectItem({
|
|
|
2274
2214
|
children,
|
|
2275
2215
|
...props
|
|
2276
2216
|
}) {
|
|
2277
|
-
return /* @__PURE__ */
|
|
2217
|
+
return /* @__PURE__ */ jsxs12(
|
|
2278
2218
|
SelectPrimitive.Item,
|
|
2279
2219
|
{
|
|
2280
2220
|
"data-slot": "select-item",
|
|
@@ -2284,8 +2224,8 @@ function SelectItem({
|
|
|
2284
2224
|
),
|
|
2285
2225
|
...props,
|
|
2286
2226
|
children: [
|
|
2287
|
-
/* @__PURE__ */
|
|
2288
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ jsx35("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx35(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx35(CheckIcon2, { className: "size-4" }) }) }),
|
|
2228
|
+
/* @__PURE__ */ jsx35(SelectPrimitive.ItemText, { children })
|
|
2289
2229
|
]
|
|
2290
2230
|
}
|
|
2291
2231
|
);
|
|
@@ -2294,7 +2234,7 @@ function SelectSeparator({
|
|
|
2294
2234
|
className,
|
|
2295
2235
|
...props
|
|
2296
2236
|
}) {
|
|
2297
|
-
return /* @__PURE__ */
|
|
2237
|
+
return /* @__PURE__ */ jsx35(
|
|
2298
2238
|
SelectPrimitive.Separator,
|
|
2299
2239
|
{
|
|
2300
2240
|
"data-slot": "select-separator",
|
|
@@ -2307,7 +2247,7 @@ function SelectScrollUpButton({
|
|
|
2307
2247
|
className,
|
|
2308
2248
|
...props
|
|
2309
2249
|
}) {
|
|
2310
|
-
return /* @__PURE__ */
|
|
2250
|
+
return /* @__PURE__ */ jsx35(
|
|
2311
2251
|
SelectPrimitive.ScrollUpArrow,
|
|
2312
2252
|
{
|
|
2313
2253
|
"data-slot": "select-scroll-up-button",
|
|
@@ -2316,7 +2256,7 @@ function SelectScrollUpButton({
|
|
|
2316
2256
|
className
|
|
2317
2257
|
),
|
|
2318
2258
|
...props,
|
|
2319
|
-
children: /* @__PURE__ */
|
|
2259
|
+
children: /* @__PURE__ */ jsx35(ChevronUpIcon, { className: "size-4" })
|
|
2320
2260
|
}
|
|
2321
2261
|
);
|
|
2322
2262
|
}
|
|
@@ -2324,7 +2264,7 @@ function SelectScrollDownButton({
|
|
|
2324
2264
|
className,
|
|
2325
2265
|
...props
|
|
2326
2266
|
}) {
|
|
2327
|
-
return /* @__PURE__ */
|
|
2267
|
+
return /* @__PURE__ */ jsx35(
|
|
2328
2268
|
SelectPrimitive.ScrollDownArrow,
|
|
2329
2269
|
{
|
|
2330
2270
|
"data-slot": "select-scroll-down-button",
|
|
@@ -2333,21 +2273,21 @@ function SelectScrollDownButton({
|
|
|
2333
2273
|
className
|
|
2334
2274
|
),
|
|
2335
2275
|
...props,
|
|
2336
|
-
children: /* @__PURE__ */
|
|
2276
|
+
children: /* @__PURE__ */ jsx35(ChevronDownIcon3, { className: "size-4" })
|
|
2337
2277
|
}
|
|
2338
2278
|
);
|
|
2339
2279
|
}
|
|
2340
2280
|
|
|
2341
2281
|
// src/ui/separator.tsx
|
|
2342
2282
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
2343
|
-
import { jsx as
|
|
2283
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2344
2284
|
function Separator({
|
|
2345
2285
|
className,
|
|
2346
2286
|
orientation = "horizontal",
|
|
2347
2287
|
decorative: _decorative,
|
|
2348
2288
|
...props
|
|
2349
2289
|
}) {
|
|
2350
|
-
return /* @__PURE__ */
|
|
2290
|
+
return /* @__PURE__ */ jsx36(
|
|
2351
2291
|
SeparatorPrimitive,
|
|
2352
2292
|
{
|
|
2353
2293
|
"data-slot": "separator",
|
|
@@ -2365,32 +2305,32 @@ function Separator({
|
|
|
2365
2305
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
2366
2306
|
import { XIcon } from "lucide-react";
|
|
2367
2307
|
import { cva as cva4 } from "class-variance-authority";
|
|
2368
|
-
import { jsx as
|
|
2308
|
+
import { jsx as jsx37, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2369
2309
|
function Sheet({
|
|
2370
2310
|
...props
|
|
2371
2311
|
}) {
|
|
2372
|
-
return /* @__PURE__ */
|
|
2312
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
2373
2313
|
}
|
|
2374
2314
|
function SheetTrigger({
|
|
2375
2315
|
...props
|
|
2376
2316
|
}) {
|
|
2377
|
-
return /* @__PURE__ */
|
|
2317
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
2378
2318
|
}
|
|
2379
2319
|
function SheetClose({
|
|
2380
2320
|
...props
|
|
2381
2321
|
}) {
|
|
2382
|
-
return /* @__PURE__ */
|
|
2322
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
2383
2323
|
}
|
|
2384
2324
|
function SheetPortal({
|
|
2385
2325
|
...props
|
|
2386
2326
|
}) {
|
|
2387
|
-
return /* @__PURE__ */
|
|
2327
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
2388
2328
|
}
|
|
2389
2329
|
function SheetOverlay({
|
|
2390
2330
|
className,
|
|
2391
2331
|
...props
|
|
2392
2332
|
}) {
|
|
2393
|
-
return /* @__PURE__ */
|
|
2333
|
+
return /* @__PURE__ */ jsx37(
|
|
2394
2334
|
DialogPrimitive.Backdrop,
|
|
2395
2335
|
{
|
|
2396
2336
|
"data-slot": "sheet-overlay",
|
|
@@ -2424,9 +2364,9 @@ function SheetContent({
|
|
|
2424
2364
|
side = "right",
|
|
2425
2365
|
...props
|
|
2426
2366
|
}) {
|
|
2427
|
-
return /* @__PURE__ */
|
|
2428
|
-
/* @__PURE__ */
|
|
2429
|
-
/* @__PURE__ */
|
|
2367
|
+
return /* @__PURE__ */ jsxs13(SheetPortal, { "data-slot": "sheet-portal", children: [
|
|
2368
|
+
/* @__PURE__ */ jsx37(SheetOverlay, {}),
|
|
2369
|
+
/* @__PURE__ */ jsxs13(
|
|
2430
2370
|
DialogPrimitive.Popup,
|
|
2431
2371
|
{
|
|
2432
2372
|
"data-slot": "sheet-content",
|
|
@@ -2434,11 +2374,11 @@ function SheetContent({
|
|
|
2434
2374
|
...props,
|
|
2435
2375
|
children: [
|
|
2436
2376
|
children,
|
|
2437
|
-
/* @__PURE__ */
|
|
2377
|
+
/* @__PURE__ */ jsxs13(
|
|
2438
2378
|
DialogPrimitive.Close,
|
|
2439
2379
|
{
|
|
2440
2380
|
"data-slot": "sheet-close",
|
|
2441
|
-
render: /* @__PURE__ */
|
|
2381
|
+
render: /* @__PURE__ */ jsx37(
|
|
2442
2382
|
"button",
|
|
2443
2383
|
{
|
|
2444
2384
|
type: "button",
|
|
@@ -2446,8 +2386,8 @@ function SheetContent({
|
|
|
2446
2386
|
}
|
|
2447
2387
|
),
|
|
2448
2388
|
children: [
|
|
2449
|
-
/* @__PURE__ */
|
|
2450
|
-
/* @__PURE__ */
|
|
2389
|
+
/* @__PURE__ */ jsx37(XIcon, {}),
|
|
2390
|
+
/* @__PURE__ */ jsx37("span", { className: "sr-only", children: "Close" })
|
|
2451
2391
|
]
|
|
2452
2392
|
}
|
|
2453
2393
|
)
|
|
@@ -2457,7 +2397,7 @@ function SheetContent({
|
|
|
2457
2397
|
] });
|
|
2458
2398
|
}
|
|
2459
2399
|
function SheetHeader({ className, ...props }) {
|
|
2460
|
-
return /* @__PURE__ */
|
|
2400
|
+
return /* @__PURE__ */ jsx37(
|
|
2461
2401
|
"div",
|
|
2462
2402
|
{
|
|
2463
2403
|
"data-slot": "sheet-header",
|
|
@@ -2467,7 +2407,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
2467
2407
|
);
|
|
2468
2408
|
}
|
|
2469
2409
|
function SheetFooter({ className, ...props }) {
|
|
2470
|
-
return /* @__PURE__ */
|
|
2410
|
+
return /* @__PURE__ */ jsx37(
|
|
2471
2411
|
"div",
|
|
2472
2412
|
{
|
|
2473
2413
|
"data-slot": "sheet-footer",
|
|
@@ -2480,7 +2420,7 @@ function SheetTitle({
|
|
|
2480
2420
|
className,
|
|
2481
2421
|
...props
|
|
2482
2422
|
}) {
|
|
2483
|
-
return /* @__PURE__ */
|
|
2423
|
+
return /* @__PURE__ */ jsx37(
|
|
2484
2424
|
DialogPrimitive.Title,
|
|
2485
2425
|
{
|
|
2486
2426
|
"data-slot": "sheet-title",
|
|
@@ -2493,7 +2433,7 @@ function SheetDescription({
|
|
|
2493
2433
|
className,
|
|
2494
2434
|
...props
|
|
2495
2435
|
}) {
|
|
2496
|
-
return /* @__PURE__ */
|
|
2436
|
+
return /* @__PURE__ */ jsx37(
|
|
2497
2437
|
DialogPrimitive.Description,
|
|
2498
2438
|
{
|
|
2499
2439
|
"data-slot": "sheet-description",
|
|
@@ -2504,9 +2444,9 @@ function SheetDescription({
|
|
|
2504
2444
|
}
|
|
2505
2445
|
|
|
2506
2446
|
// src/ui/skeleton.tsx
|
|
2507
|
-
import { jsx as
|
|
2447
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2508
2448
|
function Skeleton({ className, ...props }) {
|
|
2509
|
-
return /* @__PURE__ */
|
|
2449
|
+
return /* @__PURE__ */ jsx38(
|
|
2510
2450
|
"div",
|
|
2511
2451
|
{
|
|
2512
2452
|
"data-slot": "skeleton",
|
|
@@ -2518,9 +2458,9 @@ function Skeleton({ className, ...props }) {
|
|
|
2518
2458
|
|
|
2519
2459
|
// src/ui/slider.tsx
|
|
2520
2460
|
import { Slider as SliderPrimitive } from "@base-ui/react/slider";
|
|
2521
|
-
import { jsx as
|
|
2461
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2522
2462
|
function Slider({ className, ...props }) {
|
|
2523
|
-
return /* @__PURE__ */
|
|
2463
|
+
return /* @__PURE__ */ jsx39(
|
|
2524
2464
|
SliderPrimitive.Root,
|
|
2525
2465
|
{
|
|
2526
2466
|
"data-slot": "slider",
|
|
@@ -2533,7 +2473,7 @@ function Slider({ className, ...props }) {
|
|
|
2533
2473
|
);
|
|
2534
2474
|
}
|
|
2535
2475
|
function SliderControl({ className, ...props }) {
|
|
2536
|
-
return /* @__PURE__ */
|
|
2476
|
+
return /* @__PURE__ */ jsx39(
|
|
2537
2477
|
SliderPrimitive.Control,
|
|
2538
2478
|
{
|
|
2539
2479
|
"data-slot": "slider-control",
|
|
@@ -2543,7 +2483,7 @@ function SliderControl({ className, ...props }) {
|
|
|
2543
2483
|
);
|
|
2544
2484
|
}
|
|
2545
2485
|
function SliderTrack({ className, ...props }) {
|
|
2546
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsx39(
|
|
2547
2487
|
SliderPrimitive.Track,
|
|
2548
2488
|
{
|
|
2549
2489
|
"data-slot": "slider-track",
|
|
@@ -2556,7 +2496,7 @@ function SliderTrack({ className, ...props }) {
|
|
|
2556
2496
|
);
|
|
2557
2497
|
}
|
|
2558
2498
|
function SliderIndicator({ className, ...props }) {
|
|
2559
|
-
return /* @__PURE__ */
|
|
2499
|
+
return /* @__PURE__ */ jsx39(
|
|
2560
2500
|
SliderPrimitive.Indicator,
|
|
2561
2501
|
{
|
|
2562
2502
|
"data-slot": "slider-indicator",
|
|
@@ -2566,7 +2506,7 @@ function SliderIndicator({ className, ...props }) {
|
|
|
2566
2506
|
);
|
|
2567
2507
|
}
|
|
2568
2508
|
function SliderThumb({ className, ...props }) {
|
|
2569
|
-
return /* @__PURE__ */
|
|
2509
|
+
return /* @__PURE__ */ jsx39(
|
|
2570
2510
|
SliderPrimitive.Thumb,
|
|
2571
2511
|
{
|
|
2572
2512
|
"data-slot": "slider-thumb",
|
|
@@ -2582,7 +2522,7 @@ function SliderThumb({ className, ...props }) {
|
|
|
2582
2522
|
// src/ui/toast.tsx
|
|
2583
2523
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
2584
2524
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
2585
|
-
import { jsx as
|
|
2525
|
+
import { jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2586
2526
|
var toastManager = ToastPrimitive.createToastManager();
|
|
2587
2527
|
function toast(message, options = {}) {
|
|
2588
2528
|
return toastManager.add({
|
|
@@ -2598,7 +2538,7 @@ var toastVariantClass = {
|
|
|
2598
2538
|
};
|
|
2599
2539
|
function ToasterViewport({ className }) {
|
|
2600
2540
|
const { toasts } = ToastPrimitive.useToastManager();
|
|
2601
|
-
return /* @__PURE__ */
|
|
2541
|
+
return /* @__PURE__ */ jsx40(ToastPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
|
|
2602
2542
|
ToastPrimitive.Viewport,
|
|
2603
2543
|
{
|
|
2604
2544
|
"data-slot": "toast-viewport",
|
|
@@ -2606,7 +2546,7 @@ function ToasterViewport({ className }) {
|
|
|
2606
2546
|
"fixed top-4 right-4 z-[100] flex w-80 flex-col gap-2 outline-none",
|
|
2607
2547
|
className
|
|
2608
2548
|
),
|
|
2609
|
-
children: toasts.map((item) => /* @__PURE__ */
|
|
2549
|
+
children: toasts.map((item) => /* @__PURE__ */ jsx40(
|
|
2610
2550
|
ToastPrimitive.Root,
|
|
2611
2551
|
{
|
|
2612
2552
|
toast: item,
|
|
@@ -2616,16 +2556,16 @@ function ToasterViewport({ className }) {
|
|
|
2616
2556
|
"rounded-md border border-border bg-popover px-4 py-3 text-sm text-popover-foreground shadow-md transition-[opacity,transform] duration-200 data-ending-style:animate-toast-out data-starting-style:animate-toast-in",
|
|
2617
2557
|
toastVariantClass[item.type ?? "info"] ?? toastVariantClass.info
|
|
2618
2558
|
),
|
|
2619
|
-
children: /* @__PURE__ */
|
|
2620
|
-
/* @__PURE__ */
|
|
2621
|
-
/* @__PURE__ */
|
|
2559
|
+
children: /* @__PURE__ */ jsxs14(ToastPrimitive.Content, { className: "flex items-start justify-between gap-2", children: [
|
|
2560
|
+
/* @__PURE__ */ jsxs14("div", { className: "grid gap-0.5", children: [
|
|
2561
|
+
/* @__PURE__ */ jsx40(
|
|
2622
2562
|
ToastPrimitive.Title,
|
|
2623
2563
|
{
|
|
2624
2564
|
"data-slot": "toast-title",
|
|
2625
2565
|
className: "font-medium"
|
|
2626
2566
|
}
|
|
2627
2567
|
),
|
|
2628
|
-
/* @__PURE__ */
|
|
2568
|
+
/* @__PURE__ */ jsx40(
|
|
2629
2569
|
ToastPrimitive.Description,
|
|
2630
2570
|
{
|
|
2631
2571
|
"data-slot": "toast-description",
|
|
@@ -2633,13 +2573,13 @@ function ToasterViewport({ className }) {
|
|
|
2633
2573
|
}
|
|
2634
2574
|
)
|
|
2635
2575
|
] }),
|
|
2636
|
-
/* @__PURE__ */
|
|
2576
|
+
/* @__PURE__ */ jsx40(
|
|
2637
2577
|
ToastPrimitive.Close,
|
|
2638
2578
|
{
|
|
2639
2579
|
"data-slot": "toast-close",
|
|
2640
2580
|
"aria-label": "Close",
|
|
2641
2581
|
className: "cursor-pointer rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none [&_svg]:size-3.5",
|
|
2642
|
-
children: /* @__PURE__ */
|
|
2582
|
+
children: /* @__PURE__ */ jsx40(XIcon2, {})
|
|
2643
2583
|
}
|
|
2644
2584
|
)
|
|
2645
2585
|
] })
|
|
@@ -2650,14 +2590,14 @@ function ToasterViewport({ className }) {
|
|
|
2650
2590
|
) });
|
|
2651
2591
|
}
|
|
2652
2592
|
function Toaster({ className }) {
|
|
2653
|
-
return /* @__PURE__ */
|
|
2593
|
+
return /* @__PURE__ */ jsx40(ToastPrimitive.Provider, { toastManager, children: /* @__PURE__ */ jsx40(ToasterViewport, { className }) });
|
|
2654
2594
|
}
|
|
2655
2595
|
|
|
2656
2596
|
// src/ui/spinner.tsx
|
|
2657
2597
|
import { Loader2Icon } from "lucide-react";
|
|
2658
|
-
import { jsx as
|
|
2598
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
2659
2599
|
function Spinner({ className, ...props }) {
|
|
2660
|
-
return /* @__PURE__ */
|
|
2600
|
+
return /* @__PURE__ */ jsx41(
|
|
2661
2601
|
Loader2Icon,
|
|
2662
2602
|
{
|
|
2663
2603
|
role: "status",
|
|
@@ -2671,9 +2611,9 @@ function Spinner({ className, ...props }) {
|
|
|
2671
2611
|
|
|
2672
2612
|
// src/ui/switch.tsx
|
|
2673
2613
|
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
2674
|
-
import { jsx as
|
|
2614
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
2675
2615
|
function Switch({ className, ...props }) {
|
|
2676
|
-
return /* @__PURE__ */
|
|
2616
|
+
return /* @__PURE__ */ jsx42(
|
|
2677
2617
|
SwitchPrimitive.Root,
|
|
2678
2618
|
{
|
|
2679
2619
|
"data-slot": "switch",
|
|
@@ -2682,7 +2622,7 @@ function Switch({ className, ...props }) {
|
|
|
2682
2622
|
className
|
|
2683
2623
|
),
|
|
2684
2624
|
...props,
|
|
2685
|
-
children: /* @__PURE__ */
|
|
2625
|
+
children: /* @__PURE__ */ jsx42(
|
|
2686
2626
|
SwitchPrimitive.Thumb,
|
|
2687
2627
|
{
|
|
2688
2628
|
"data-slot": "switch-thumb",
|
|
@@ -2695,12 +2635,12 @@ function Switch({ className, ...props }) {
|
|
|
2695
2635
|
|
|
2696
2636
|
// src/ui/tabs.tsx
|
|
2697
2637
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2698
|
-
import { jsx as
|
|
2638
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2699
2639
|
function Tabs({
|
|
2700
2640
|
className,
|
|
2701
2641
|
...props
|
|
2702
2642
|
}) {
|
|
2703
|
-
return /* @__PURE__ */
|
|
2643
|
+
return /* @__PURE__ */ jsx43(
|
|
2704
2644
|
TabsPrimitive.Root,
|
|
2705
2645
|
{
|
|
2706
2646
|
"data-slot": "tabs",
|
|
@@ -2713,7 +2653,7 @@ function TabsList({
|
|
|
2713
2653
|
className,
|
|
2714
2654
|
...props
|
|
2715
2655
|
}) {
|
|
2716
|
-
return /* @__PURE__ */
|
|
2656
|
+
return /* @__PURE__ */ jsx43(
|
|
2717
2657
|
TabsPrimitive.List,
|
|
2718
2658
|
{
|
|
2719
2659
|
"data-slot": "tabs-list",
|
|
@@ -2729,7 +2669,7 @@ function TabsTrigger({
|
|
|
2729
2669
|
className,
|
|
2730
2670
|
...props
|
|
2731
2671
|
}) {
|
|
2732
|
-
return /* @__PURE__ */
|
|
2672
|
+
return /* @__PURE__ */ jsx43(
|
|
2733
2673
|
TabsPrimitive.Tab,
|
|
2734
2674
|
{
|
|
2735
2675
|
"data-slot": "tabs-trigger",
|
|
@@ -2745,7 +2685,7 @@ function TabsContent({
|
|
|
2745
2685
|
className,
|
|
2746
2686
|
...props
|
|
2747
2687
|
}) {
|
|
2748
|
-
return /* @__PURE__ */
|
|
2688
|
+
return /* @__PURE__ */ jsx43(
|
|
2749
2689
|
TabsPrimitive.Panel,
|
|
2750
2690
|
{
|
|
2751
2691
|
"data-slot": "tabs-content",
|
|
@@ -2758,7 +2698,7 @@ function TabsContent({
|
|
|
2758
2698
|
// src/ui/toggle.tsx
|
|
2759
2699
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
2760
2700
|
import { cva as cva5 } from "class-variance-authority";
|
|
2761
|
-
import { jsx as
|
|
2701
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
2762
2702
|
var toggleVariants = cva5(
|
|
2763
2703
|
"inline-flex cursor-pointer items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors outline-none hover:bg-muted hover:text-muted-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-pressed:bg-accent data-pressed:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2764
2704
|
{
|
|
@@ -2785,7 +2725,7 @@ function Toggle({
|
|
|
2785
2725
|
size,
|
|
2786
2726
|
...props
|
|
2787
2727
|
}) {
|
|
2788
|
-
return /* @__PURE__ */
|
|
2728
|
+
return /* @__PURE__ */ jsx44(
|
|
2789
2729
|
TogglePrimitive,
|
|
2790
2730
|
{
|
|
2791
2731
|
"data-slot": "toggle",
|
|
@@ -2799,7 +2739,7 @@ function Toggle({
|
|
|
2799
2739
|
import { Toggle as TogglePrimitive2 } from "@base-ui/react/toggle";
|
|
2800
2740
|
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
|
|
2801
2741
|
import * as React3 from "react";
|
|
2802
|
-
import { jsx as
|
|
2742
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
2803
2743
|
var ToggleGroupContext = React3.createContext({
|
|
2804
2744
|
size: "default",
|
|
2805
2745
|
variant: "default"
|
|
@@ -2811,7 +2751,7 @@ function ToggleGroup({
|
|
|
2811
2751
|
children,
|
|
2812
2752
|
...props
|
|
2813
2753
|
}) {
|
|
2814
|
-
return /* @__PURE__ */
|
|
2754
|
+
return /* @__PURE__ */ jsx45(
|
|
2815
2755
|
ToggleGroupPrimitive,
|
|
2816
2756
|
{
|
|
2817
2757
|
"data-slot": "toggle-group",
|
|
@@ -2822,7 +2762,7 @@ function ToggleGroup({
|
|
|
2822
2762
|
className
|
|
2823
2763
|
),
|
|
2824
2764
|
...props,
|
|
2825
|
-
children: /* @__PURE__ */
|
|
2765
|
+
children: /* @__PURE__ */ jsx45(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
2826
2766
|
}
|
|
2827
2767
|
);
|
|
2828
2768
|
}
|
|
@@ -2834,7 +2774,7 @@ function ToggleGroupItem({
|
|
|
2834
2774
|
...props
|
|
2835
2775
|
}) {
|
|
2836
2776
|
const context = React3.useContext(ToggleGroupContext);
|
|
2837
|
-
return /* @__PURE__ */
|
|
2777
|
+
return /* @__PURE__ */ jsx45(
|
|
2838
2778
|
TogglePrimitive2,
|
|
2839
2779
|
{
|
|
2840
2780
|
"data-slot": "toggle-group-item",
|
|
@@ -2856,7 +2796,7 @@ function ToggleGroupItem({
|
|
|
2856
2796
|
|
|
2857
2797
|
// src/ui/typography.tsx
|
|
2858
2798
|
import { cva as cva6 } from "class-variance-authority";
|
|
2859
|
-
import { jsx as
|
|
2799
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2860
2800
|
var typographyVariants = cva6("", {
|
|
2861
2801
|
variants: {
|
|
2862
2802
|
variant: {
|
|
@@ -2892,7 +2832,7 @@ var variantTagMap = {
|
|
|
2892
2832
|
};
|
|
2893
2833
|
function Typography({ className, variant = "p", ...props }) {
|
|
2894
2834
|
const Tag = variantTagMap[variant ?? "p"];
|
|
2895
|
-
return /* @__PURE__ */
|
|
2835
|
+
return /* @__PURE__ */ jsx46(
|
|
2896
2836
|
Tag,
|
|
2897
2837
|
{
|
|
2898
2838
|
"data-slot": "typography",
|
|
@@ -3005,10 +2945,6 @@ export {
|
|
|
3005
2945
|
ItemActions,
|
|
3006
2946
|
Kbd,
|
|
3007
2947
|
Label,
|
|
3008
|
-
TooltipProvider,
|
|
3009
|
-
Tooltip,
|
|
3010
|
-
TooltipTrigger,
|
|
3011
|
-
TooltipContent,
|
|
3012
2948
|
Menubar,
|
|
3013
2949
|
MenubarMenu,
|
|
3014
2950
|
MenubarTrigger,
|