@kumix/ui 0.1.0 → 0.1.1
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/hooks.d.ts +103 -103
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +6 -24
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +74 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +313 -249
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -872,9 +872,7 @@ function ShimmeringText({ text, duration = 2, delay = 0, repeat = true, repeatDe
|
|
|
872
872
|
margin: inViewMargin
|
|
873
873
|
});
|
|
874
874
|
const shouldReduceMotion = useReducedMotion();
|
|
875
|
-
const dynamicSpread =
|
|
876
|
-
return text.length * spread;
|
|
877
|
-
}, [text, spread]);
|
|
875
|
+
const dynamicSpread = text.length * spread;
|
|
878
876
|
const shouldAnimate = !startOnView || isInView;
|
|
879
877
|
return /* @__PURE__ */ jsx(motion.span, {
|
|
880
878
|
ref,
|
|
@@ -1538,6 +1536,18 @@ const cursorVariants = { blinking: {
|
|
|
1538
1536
|
]
|
|
1539
1537
|
}
|
|
1540
1538
|
} };
|
|
1539
|
+
const CONTAINER_VARIANTS = {
|
|
1540
|
+
hidden: {
|
|
1541
|
+
opacity: 0,
|
|
1542
|
+
y: 10
|
|
1543
|
+
},
|
|
1544
|
+
show: {
|
|
1545
|
+
opacity: 1,
|
|
1546
|
+
y: 0,
|
|
1547
|
+
transition: { staggerChildren: .02 }
|
|
1548
|
+
},
|
|
1549
|
+
exit: { opacity: 0 }
|
|
1550
|
+
};
|
|
1541
1551
|
function TypingText({ text, texts, speed = 100, delay = 0, showCursor = true, cursorClassName = "", cursor = "|", loop = false, pauseDuration = 2e3, className, onComplete, startOnView = true, once = false, inViewMargin, ...props }) {
|
|
1542
1552
|
const ref = useRef(null);
|
|
1543
1553
|
const isInView = useInView(ref, {
|
|
@@ -1601,22 +1611,10 @@ function TypingText({ text, texts, speed = 100, delay = 0, showCursor = true, cu
|
|
|
1601
1611
|
pauseDuration,
|
|
1602
1612
|
onComplete
|
|
1603
1613
|
]);
|
|
1604
|
-
const finalVariants = { container: {
|
|
1605
|
-
hidden: {
|
|
1606
|
-
opacity: 0,
|
|
1607
|
-
y: 10
|
|
1608
|
-
},
|
|
1609
|
-
show: {
|
|
1610
|
-
opacity: 1,
|
|
1611
|
-
y: 0,
|
|
1612
|
-
transition: { staggerChildren: .02 }
|
|
1613
|
-
},
|
|
1614
|
-
exit: { opacity: 0 }
|
|
1615
|
-
} };
|
|
1616
1614
|
const MotionComponent = motion.span;
|
|
1617
1615
|
return /* @__PURE__ */ jsx(MotionComponent, {
|
|
1618
1616
|
ref,
|
|
1619
|
-
variants:
|
|
1617
|
+
variants: CONTAINER_VARIANTS,
|
|
1620
1618
|
initial: "hidden",
|
|
1621
1619
|
whileInView: startOnView ? "show" : void 0,
|
|
1622
1620
|
animate: startOnView ? void 0 : "show",
|
|
@@ -1745,161 +1743,161 @@ function VideoText({ src, children, className = "", autoPlay = true, muted = tru
|
|
|
1745
1743
|
}
|
|
1746
1744
|
//#endregion
|
|
1747
1745
|
//#region src/ui/animation/word-rotate.tsx
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
animate: {
|
|
1762
|
-
opacity: 1,
|
|
1763
|
-
transition: {
|
|
1764
|
-
duration: .4,
|
|
1765
|
-
ease: [
|
|
1766
|
-
.4,
|
|
1767
|
-
0,
|
|
1768
|
-
.2,
|
|
1769
|
-
1
|
|
1770
|
-
]
|
|
1771
|
-
}
|
|
1772
|
-
},
|
|
1773
|
-
exit: {
|
|
1774
|
-
opacity: 0,
|
|
1775
|
-
transition: {
|
|
1776
|
-
duration: .3,
|
|
1777
|
-
ease: [
|
|
1778
|
-
.4,
|
|
1779
|
-
0,
|
|
1780
|
-
1,
|
|
1781
|
-
1
|
|
1782
|
-
]
|
|
1783
|
-
}
|
|
1746
|
+
const ANIMATION_VARIANTS = {
|
|
1747
|
+
fade: {
|
|
1748
|
+
initial: { opacity: 0 },
|
|
1749
|
+
animate: {
|
|
1750
|
+
opacity: 1,
|
|
1751
|
+
transition: {
|
|
1752
|
+
duration: .4,
|
|
1753
|
+
ease: [
|
|
1754
|
+
.4,
|
|
1755
|
+
0,
|
|
1756
|
+
.2,
|
|
1757
|
+
1
|
|
1758
|
+
]
|
|
1784
1759
|
}
|
|
1785
1760
|
},
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
stiffness: 300,
|
|
1797
|
-
damping: 25,
|
|
1798
|
-
mass: .8
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
exit: {
|
|
1802
|
-
opacity: 0,
|
|
1803
|
-
y: -24,
|
|
1804
|
-
transition: {
|
|
1805
|
-
duration: .25,
|
|
1806
|
-
ease: [
|
|
1807
|
-
.4,
|
|
1808
|
-
0,
|
|
1809
|
-
1,
|
|
1810
|
-
1
|
|
1811
|
-
]
|
|
1812
|
-
}
|
|
1761
|
+
exit: {
|
|
1762
|
+
opacity: 0,
|
|
1763
|
+
transition: {
|
|
1764
|
+
duration: .3,
|
|
1765
|
+
ease: [
|
|
1766
|
+
.4,
|
|
1767
|
+
0,
|
|
1768
|
+
1,
|
|
1769
|
+
1
|
|
1770
|
+
]
|
|
1813
1771
|
}
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
"slide-up": {
|
|
1775
|
+
initial: {
|
|
1776
|
+
opacity: 0,
|
|
1777
|
+
y: 24
|
|
1814
1778
|
},
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
transition: {
|
|
1824
|
-
type: "spring",
|
|
1825
|
-
stiffness: 300,
|
|
1826
|
-
damping: 25,
|
|
1827
|
-
mass: .8
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
|
-
exit: {
|
|
1831
|
-
opacity: 0,
|
|
1832
|
-
y: 24,
|
|
1833
|
-
transition: {
|
|
1834
|
-
duration: .25,
|
|
1835
|
-
ease: [
|
|
1836
|
-
.4,
|
|
1837
|
-
0,
|
|
1838
|
-
1,
|
|
1839
|
-
1
|
|
1840
|
-
]
|
|
1841
|
-
}
|
|
1779
|
+
animate: {
|
|
1780
|
+
opacity: 1,
|
|
1781
|
+
y: 0,
|
|
1782
|
+
transition: {
|
|
1783
|
+
type: "spring",
|
|
1784
|
+
stiffness: 300,
|
|
1785
|
+
damping: 25,
|
|
1786
|
+
mass: .8
|
|
1842
1787
|
}
|
|
1843
1788
|
},
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
damping: 30,
|
|
1856
|
-
mass: .6
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
exit: {
|
|
1860
|
-
opacity: 0,
|
|
1861
|
-
scale: .9,
|
|
1862
|
-
transition: {
|
|
1863
|
-
duration: .2,
|
|
1864
|
-
ease: [
|
|
1865
|
-
.4,
|
|
1866
|
-
0,
|
|
1867
|
-
1,
|
|
1868
|
-
1
|
|
1869
|
-
]
|
|
1870
|
-
}
|
|
1789
|
+
exit: {
|
|
1790
|
+
opacity: 0,
|
|
1791
|
+
y: -24,
|
|
1792
|
+
transition: {
|
|
1793
|
+
duration: .25,
|
|
1794
|
+
ease: [
|
|
1795
|
+
.4,
|
|
1796
|
+
0,
|
|
1797
|
+
1,
|
|
1798
|
+
1
|
|
1799
|
+
]
|
|
1871
1800
|
}
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"slide-down": {
|
|
1804
|
+
initial: {
|
|
1805
|
+
opacity: 0,
|
|
1806
|
+
y: -24
|
|
1872
1807
|
},
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
.4,
|
|
1895
|
-
0,
|
|
1896
|
-
1,
|
|
1897
|
-
1
|
|
1898
|
-
]
|
|
1899
|
-
}
|
|
1808
|
+
animate: {
|
|
1809
|
+
opacity: 1,
|
|
1810
|
+
y: 0,
|
|
1811
|
+
transition: {
|
|
1812
|
+
type: "spring",
|
|
1813
|
+
stiffness: 300,
|
|
1814
|
+
damping: 25,
|
|
1815
|
+
mass: .8
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
exit: {
|
|
1819
|
+
opacity: 0,
|
|
1820
|
+
y: 24,
|
|
1821
|
+
transition: {
|
|
1822
|
+
duration: .25,
|
|
1823
|
+
ease: [
|
|
1824
|
+
.4,
|
|
1825
|
+
0,
|
|
1826
|
+
1,
|
|
1827
|
+
1
|
|
1828
|
+
]
|
|
1900
1829
|
}
|
|
1901
1830
|
}
|
|
1902
|
-
}
|
|
1831
|
+
},
|
|
1832
|
+
scale: {
|
|
1833
|
+
initial: {
|
|
1834
|
+
opacity: 0,
|
|
1835
|
+
scale: .8
|
|
1836
|
+
},
|
|
1837
|
+
animate: {
|
|
1838
|
+
opacity: 1,
|
|
1839
|
+
scale: 1,
|
|
1840
|
+
transition: {
|
|
1841
|
+
type: "spring",
|
|
1842
|
+
stiffness: 400,
|
|
1843
|
+
damping: 30,
|
|
1844
|
+
mass: .6
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
exit: {
|
|
1848
|
+
opacity: 0,
|
|
1849
|
+
scale: .9,
|
|
1850
|
+
transition: {
|
|
1851
|
+
duration: .2,
|
|
1852
|
+
ease: [
|
|
1853
|
+
.4,
|
|
1854
|
+
0,
|
|
1855
|
+
1,
|
|
1856
|
+
1
|
|
1857
|
+
]
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
flip: {
|
|
1862
|
+
initial: {
|
|
1863
|
+
opacity: 0,
|
|
1864
|
+
rotateX: 90
|
|
1865
|
+
},
|
|
1866
|
+
animate: {
|
|
1867
|
+
opacity: 1,
|
|
1868
|
+
rotateX: 0,
|
|
1869
|
+
transition: {
|
|
1870
|
+
type: "spring",
|
|
1871
|
+
stiffness: 200,
|
|
1872
|
+
damping: 20,
|
|
1873
|
+
mass: 1
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
exit: {
|
|
1877
|
+
opacity: 0,
|
|
1878
|
+
rotateX: -90,
|
|
1879
|
+
transition: {
|
|
1880
|
+
duration: .3,
|
|
1881
|
+
ease: [
|
|
1882
|
+
.4,
|
|
1883
|
+
0,
|
|
1884
|
+
1,
|
|
1885
|
+
1
|
|
1886
|
+
]
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
};
|
|
1891
|
+
function WordRotate({ words, duration = 1500, animationStyle = "fade", loop = true, className, containerClassName, pauseDuration = 300, startOnView = true, once = false, inViewMargin, ...props }) {
|
|
1892
|
+
const ref = useRef(null);
|
|
1893
|
+
const isInView = useInView(ref, {
|
|
1894
|
+
once,
|
|
1895
|
+
margin: inViewMargin
|
|
1896
|
+
});
|
|
1897
|
+
const shouldReduceMotion = useReducedMotion();
|
|
1898
|
+
const [hasAnimated, setHasAnimated] = useState(false);
|
|
1899
|
+
const [currentWord, setCurrentWord] = useState(0);
|
|
1900
|
+
const [show, setShow] = useState(true);
|
|
1903
1901
|
const shouldStart = !startOnView || isInView && (!once || !hasAnimated);
|
|
1904
1902
|
useEffect(() => {
|
|
1905
1903
|
if (!shouldStart) return;
|
|
@@ -1934,7 +1932,7 @@ function WordRotate({ words, duration = 1500, animationStyle = "fade", loop = tr
|
|
|
1934
1932
|
initial: "initial",
|
|
1935
1933
|
animate: show ? "animate" : "exit",
|
|
1936
1934
|
exit: "exit",
|
|
1937
|
-
variants:
|
|
1935
|
+
variants: ANIMATION_VARIANTS[animationStyle],
|
|
1938
1936
|
transition: shouldReduceMotion ? { duration: 0 } : void 0,
|
|
1939
1937
|
style: { perspective: animationStyle === "flip" ? 1e3 : void 0 },
|
|
1940
1938
|
className: cn("inline-block overflow-hidden", className),
|
|
@@ -2303,9 +2301,9 @@ const alertVariants = cva("flex w-full items-stretch gap-2 group-[.toaster]:w-(-
|
|
|
2303
2301
|
stroke: "text-foreground"
|
|
2304
2302
|
},
|
|
2305
2303
|
size: {
|
|
2306
|
-
lg: "gap-3 rounded-lg p-4 text-base *:data-slot=alert-icon:mt-0.5 [&>[data-slot=alert-icon]>svg]:size-6 [&_[data-slot=alert-close]]:mt-1",
|
|
2307
|
-
md: "gap-2.5 rounded-lg p-3.5 text-sm *:data-slot=alert-icon:mt-0 [&>[data-slot=alert-icon]>svg]:size-5 [&_[data-slot=alert-close]]:mt-0.5",
|
|
2308
|
-
sm: "gap-2 rounded-md px-3 py-2.5 text-xs *:data-alert-icon:mt-0.5 [&>[data-slot=alert-icon]>svg]:size-4 [&_[data-slot=alert-close]]:mt-0.25 [&_[data-slot=alert-close]_svg]:size-3.5"
|
|
2304
|
+
lg: "gap-3 rounded-lg p-4 text-base *:data-[slot=alert-icon]:mt-0.5 [&>[data-slot=alert-icon]>svg]:size-6 [&_[data-slot=alert-close]]:mt-1",
|
|
2305
|
+
md: "gap-2.5 rounded-lg p-3.5 text-sm *:data-[slot=alert-icon]:mt-0 [&>[data-slot=alert-icon]>svg]:size-5 [&_[data-slot=alert-close]]:mt-0.5",
|
|
2306
|
+
sm: "gap-2 rounded-md px-3 py-2.5 text-xs *:data-[slot=alert-icon]:mt-0.5 [&>[data-slot=alert-icon]>svg]:size-4 [&_[data-slot=alert-close]]:mt-0.25 [&_[data-slot=alert-close]_svg]:size-3.5"
|
|
2309
2307
|
}
|
|
2310
2308
|
},
|
|
2311
2309
|
compoundVariants: [
|
|
@@ -2342,7 +2340,7 @@ const alertVariants = cva("flex w-full items-stretch gap-2 group-[.toaster]:w-(-
|
|
|
2342
2340
|
{
|
|
2343
2341
|
variant: "mono",
|
|
2344
2342
|
appearance: "solid",
|
|
2345
|
-
className: "bg-zinc-950 text-white
|
|
2343
|
+
className: "bg-zinc-950 text-white dark:bg-zinc-300 dark:text-black [&_[data-slot=alert-close]]:text-white"
|
|
2346
2344
|
},
|
|
2347
2345
|
{
|
|
2348
2346
|
variant: "secondary",
|
|
@@ -2828,7 +2826,7 @@ const buttonVariants = cva("group inline-flex cursor-pointer items-center justif
|
|
|
2828
2826
|
}
|
|
2829
2827
|
});
|
|
2830
2828
|
function Button({ className, selected, variant, radius, appearance, mode, size, autoHeight, underlined, underline, asChild = false, placeholder = false, ...props }) {
|
|
2831
|
-
return /* @__PURE__ */ jsx(asChild ? Slot.
|
|
2829
|
+
return /* @__PURE__ */ jsx(asChild ? Slot.Root : "button", {
|
|
2832
2830
|
"data-slot": "button",
|
|
2833
2831
|
...!asChild ? { type: "button" } : {},
|
|
2834
2832
|
className: cn(buttonVariants({
|
|
@@ -3127,12 +3125,9 @@ const badgeVariants = cva("inline-flex items-center justify-center whitespace-no
|
|
|
3127
3125
|
size: "md"
|
|
3128
3126
|
}
|
|
3129
3127
|
});
|
|
3130
|
-
const
|
|
3131
|
-
variants: { variant: { default: "" } },
|
|
3132
|
-
defaultVariants: { variant: "default" }
|
|
3133
|
-
});
|
|
3128
|
+
const badgeButtonClassNames = "-me-0.5 inline-flex size-3.5 cursor-pointer items-center justify-center rounded-md p-0 leading-none opacity-60 transition-all hover:opacity-100 [&>svg]:size-3.5! [&>svg]:opacity-100!";
|
|
3134
3129
|
function Badge({ className, variant, size, appearance, shape, asChild = false, disabled, ...props }) {
|
|
3135
|
-
return /* @__PURE__ */ jsx(asChild ? Slot.
|
|
3130
|
+
return /* @__PURE__ */ jsx(asChild ? Slot.Root : "span", {
|
|
3136
3131
|
"data-slot": "badge",
|
|
3137
3132
|
className: cn(badgeVariants({
|
|
3138
3133
|
variant,
|
|
@@ -3144,13 +3139,10 @@ function Badge({ className, variant, size, appearance, shape, asChild = false, d
|
|
|
3144
3139
|
...props
|
|
3145
3140
|
});
|
|
3146
3141
|
}
|
|
3147
|
-
function BadgeButton({ className,
|
|
3148
|
-
return /* @__PURE__ */ jsx(asChild ? Slot.
|
|
3142
|
+
function BadgeButton({ className, asChild = false, ...props }) {
|
|
3143
|
+
return /* @__PURE__ */ jsx(asChild ? Slot.Root : "button", {
|
|
3149
3144
|
"data-slot": "badge-button",
|
|
3150
|
-
className: cn(
|
|
3151
|
-
variant,
|
|
3152
|
-
className
|
|
3153
|
-
})),
|
|
3145
|
+
className: cn(badgeButtonClassNames, className),
|
|
3154
3146
|
...!asChild ? { type: "button" } : {},
|
|
3155
3147
|
...props
|
|
3156
3148
|
});
|
|
@@ -3186,7 +3178,7 @@ function BreadcrumbItem({ className, ...props }) {
|
|
|
3186
3178
|
});
|
|
3187
3179
|
}
|
|
3188
3180
|
function BreadcrumbLink({ asChild, className, ...props }) {
|
|
3189
|
-
return /* @__PURE__ */ jsx(asChild ? Slot.
|
|
3181
|
+
return /* @__PURE__ */ jsx(asChild ? Slot.Root : "a", {
|
|
3190
3182
|
"data-slot": "breadcrumb-link",
|
|
3191
3183
|
className: cn("transition-colors hover:text-foreground", className),
|
|
3192
3184
|
...props
|
|
@@ -3584,7 +3576,7 @@ const codeVariants = cva("relative rounded-md bg-muted font-medium font-mono tex
|
|
|
3584
3576
|
});
|
|
3585
3577
|
function Code({ className, variant, size, asChild = false, showCopyButton = false, copyText, children, ...props }) {
|
|
3586
3578
|
const { copy, copied } = useCopyToClipboard();
|
|
3587
|
-
const Comp = asChild ? Slot.
|
|
3579
|
+
const Comp = asChild ? Slot.Root : "code";
|
|
3588
3580
|
const textToCopy = copyText || (typeof children === "string" ? children : "");
|
|
3589
3581
|
return /* @__PURE__ */ jsxs("span", {
|
|
3590
3582
|
className: cn("inline-flex items-center gap-2", className),
|
|
@@ -3944,46 +3936,46 @@ function DataGridProvider({ children, table, ...props }) {
|
|
|
3944
3936
|
children
|
|
3945
3937
|
});
|
|
3946
3938
|
}
|
|
3939
|
+
const DATA_GRID_DEFAULT_PROPS = {
|
|
3940
|
+
loadingMode: "skeleton",
|
|
3941
|
+
tableLayout: {
|
|
3942
|
+
dense: false,
|
|
3943
|
+
cellBorder: false,
|
|
3944
|
+
rowBorder: true,
|
|
3945
|
+
rowRounded: false,
|
|
3946
|
+
stripped: false,
|
|
3947
|
+
headerSticky: false,
|
|
3948
|
+
headerBackground: true,
|
|
3949
|
+
headerBorder: true,
|
|
3950
|
+
width: "fixed",
|
|
3951
|
+
columnsVisibility: false,
|
|
3952
|
+
columnsResizable: false,
|
|
3953
|
+
columnsPinnable: false,
|
|
3954
|
+
columnsMovable: false,
|
|
3955
|
+
columnsDraggable: false,
|
|
3956
|
+
rowsDraggable: false
|
|
3957
|
+
},
|
|
3958
|
+
tableClassNames: {
|
|
3959
|
+
base: "",
|
|
3960
|
+
header: "",
|
|
3961
|
+
headerRow: "",
|
|
3962
|
+
headerSticky: "sticky top-0 z-10 bg-background/90 backdrop-blur-xs",
|
|
3963
|
+
body: "",
|
|
3964
|
+
bodyRow: "",
|
|
3965
|
+
footer: "",
|
|
3966
|
+
edgeCell: ""
|
|
3967
|
+
}
|
|
3968
|
+
};
|
|
3947
3969
|
function DataGrid({ children, table, ...props }) {
|
|
3948
|
-
const defaultProps = {
|
|
3949
|
-
loadingMode: "skeleton",
|
|
3950
|
-
tableLayout: {
|
|
3951
|
-
dense: false,
|
|
3952
|
-
cellBorder: false,
|
|
3953
|
-
rowBorder: true,
|
|
3954
|
-
rowRounded: false,
|
|
3955
|
-
stripped: false,
|
|
3956
|
-
headerSticky: false,
|
|
3957
|
-
headerBackground: true,
|
|
3958
|
-
headerBorder: true,
|
|
3959
|
-
width: "fixed",
|
|
3960
|
-
columnsVisibility: false,
|
|
3961
|
-
columnsResizable: false,
|
|
3962
|
-
columnsPinnable: false,
|
|
3963
|
-
columnsMovable: false,
|
|
3964
|
-
columnsDraggable: false,
|
|
3965
|
-
rowsDraggable: false
|
|
3966
|
-
},
|
|
3967
|
-
tableClassNames: {
|
|
3968
|
-
base: "",
|
|
3969
|
-
header: "",
|
|
3970
|
-
headerRow: "",
|
|
3971
|
-
headerSticky: "sticky top-0 z-10 bg-background/90 backdrop-blur-xs",
|
|
3972
|
-
body: "",
|
|
3973
|
-
bodyRow: "",
|
|
3974
|
-
footer: "",
|
|
3975
|
-
edgeCell: ""
|
|
3976
|
-
}
|
|
3977
|
-
};
|
|
3978
3970
|
const mergedProps = {
|
|
3979
|
-
...
|
|
3971
|
+
...DATA_GRID_DEFAULT_PROPS,
|
|
3980
3972
|
...props,
|
|
3981
3973
|
tableLayout: {
|
|
3982
|
-
...
|
|
3974
|
+
...DATA_GRID_DEFAULT_PROPS.tableLayout,
|
|
3983
3975
|
...props.tableLayout || {}
|
|
3984
3976
|
},
|
|
3985
3977
|
tableClassNames: {
|
|
3986
|
-
...
|
|
3978
|
+
...DATA_GRID_DEFAULT_PROPS.tableClassNames,
|
|
3987
3979
|
...props.tableClassNames || {}
|
|
3988
3980
|
}
|
|
3989
3981
|
};
|
|
@@ -4128,7 +4120,7 @@ function DropdownMenuTrigger({ ...props }) {
|
|
|
4128
4120
|
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
4129
4121
|
return /* @__PURE__ */ jsxs(DropdownMenu$1.SubTrigger, {
|
|
4130
4122
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
4131
|
-
className: cn("flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-hidden", "focus:bg-accent focus:text-foreground", "data-[state=open]:bg-accent data-[state=open]:text-foreground", "
|
|
4123
|
+
className: cn("flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-hidden", "focus:bg-accent focus:text-foreground", "data-[state=open]:bg-accent data-[state=open]:text-foreground", "[&>svg]:pointer-events-none [&>svg]:size-4 [&>svg]:shrink-0 [&_svg:not([role=img]):not([class*=text-])]:opacity-60", inset && "ps-8", className),
|
|
4132
4124
|
...props,
|
|
4133
4125
|
children: [children, /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
4134
4126
|
"data-slot": "dropdown-menu-sub-trigger-indicator",
|
|
@@ -4550,27 +4542,30 @@ function Skeleton({ className, ...props }) {
|
|
|
4550
4542
|
}
|
|
4551
4543
|
//#endregion
|
|
4552
4544
|
//#region src/ui/data-grid-pagination.tsx
|
|
4545
|
+
const DATA_GRID_PAGINATION_DEFAULT_PROPS = {
|
|
4546
|
+
sizes: [
|
|
4547
|
+
5,
|
|
4548
|
+
10,
|
|
4549
|
+
25,
|
|
4550
|
+
50,
|
|
4551
|
+
100
|
|
4552
|
+
],
|
|
4553
|
+
sizesLabel: "Show",
|
|
4554
|
+
sizesSkeleton: /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-44" }),
|
|
4555
|
+
moreLimit: 5,
|
|
4556
|
+
info: "{from} - {to} of {count}",
|
|
4557
|
+
infoSkeleton: /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-60" }),
|
|
4558
|
+
rowsPerPageLabel: "Rows per page",
|
|
4559
|
+
previousPageLabel: "Go to previous page",
|
|
4560
|
+
nextPageLabel: "Go to next page",
|
|
4561
|
+
ellipsisText: "...",
|
|
4562
|
+
previousPagesLabel: "Jump to previous pages",
|
|
4563
|
+
nextPagesLabel: "Jump to next pages"
|
|
4564
|
+
};
|
|
4553
4565
|
function DataGridPagination(props) {
|
|
4554
4566
|
const { table, recordCount, isLoading } = useDataGrid();
|
|
4555
4567
|
const mergedProps = {
|
|
4556
|
-
|
|
4557
|
-
5,
|
|
4558
|
-
10,
|
|
4559
|
-
25,
|
|
4560
|
-
50,
|
|
4561
|
-
100
|
|
4562
|
-
],
|
|
4563
|
-
sizesLabel: "Show",
|
|
4564
|
-
sizesSkeleton: /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-44" }),
|
|
4565
|
-
moreLimit: 5,
|
|
4566
|
-
info: "{from} - {to} of {count}",
|
|
4567
|
-
infoSkeleton: /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-60" }),
|
|
4568
|
-
rowsPerPageLabel: "Rows per page",
|
|
4569
|
-
previousPageLabel: "Go to previous page",
|
|
4570
|
-
nextPageLabel: "Go to next page",
|
|
4571
|
-
ellipsisText: "...",
|
|
4572
|
-
previousPagesLabel: "Jump to previous pages",
|
|
4573
|
-
nextPagesLabel: "Jump to next pages",
|
|
4568
|
+
...DATA_GRID_PAGINATION_DEFAULT_PROPS,
|
|
4574
4569
|
...props
|
|
4575
4570
|
};
|
|
4576
4571
|
const btnBaseClasses = "size-7 p-0 text-sm";
|
|
@@ -5327,6 +5322,56 @@ function EmptyContent({ className, ...props }) {
|
|
|
5327
5322
|
});
|
|
5328
5323
|
}
|
|
5329
5324
|
//#endregion
|
|
5325
|
+
//#region src/ui/error-boundary.tsx
|
|
5326
|
+
function areResetKeysEqual(a = [], b = []) {
|
|
5327
|
+
if (a.length !== b.length) return false;
|
|
5328
|
+
return a.every((key, index) => Object.is(key, b[index]));
|
|
5329
|
+
}
|
|
5330
|
+
function DefaultFallback({ error, reset }) {
|
|
5331
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
5332
|
+
role: "alert",
|
|
5333
|
+
className: cn("flex flex-col items-center gap-3 rounded-lg border border-destructive/30 bg-destructive/5 p-6 text-center"),
|
|
5334
|
+
children: [
|
|
5335
|
+
/* @__PURE__ */ jsx("p", {
|
|
5336
|
+
className: "font-medium text-destructive text-sm",
|
|
5337
|
+
children: "Something went wrong"
|
|
5338
|
+
}),
|
|
5339
|
+
/* @__PURE__ */ jsx("p", {
|
|
5340
|
+
className: "max-w-md text-muted-foreground text-xs",
|
|
5341
|
+
children: error.message
|
|
5342
|
+
}),
|
|
5343
|
+
/* @__PURE__ */ jsx("button", {
|
|
5344
|
+
type: "button",
|
|
5345
|
+
onClick: reset,
|
|
5346
|
+
className: "rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-colors hover:bg-primary/90",
|
|
5347
|
+
children: "Try again"
|
|
5348
|
+
})
|
|
5349
|
+
]
|
|
5350
|
+
});
|
|
5351
|
+
}
|
|
5352
|
+
var ErrorBoundary = class extends React$1.Component {
|
|
5353
|
+
state = { error: null };
|
|
5354
|
+
static getDerivedStateFromError(error) {
|
|
5355
|
+
return { error };
|
|
5356
|
+
}
|
|
5357
|
+
componentDidCatch(error, info) {
|
|
5358
|
+
this.props.onError?.(error, info);
|
|
5359
|
+
}
|
|
5360
|
+
componentDidUpdate(prevProps) {
|
|
5361
|
+
if (this.state.error && !areResetKeysEqual(prevProps.resetKeys, this.props.resetKeys)) this.reset();
|
|
5362
|
+
}
|
|
5363
|
+
reset = () => {
|
|
5364
|
+
this.setState({ error: null });
|
|
5365
|
+
};
|
|
5366
|
+
render() {
|
|
5367
|
+
if (this.state.error) return /* @__PURE__ */ jsx(this.props.fallback ?? DefaultFallback, {
|
|
5368
|
+
error: this.state.error,
|
|
5369
|
+
reset: this.reset
|
|
5370
|
+
});
|
|
5371
|
+
return this.props.children;
|
|
5372
|
+
}
|
|
5373
|
+
};
|
|
5374
|
+
//#endregion
|
|
5330
5375
|
//#region src/ui/label.tsx
|
|
5331
5376
|
const labelVariants = cva("text-foreground text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", {
|
|
5332
5377
|
variants: { variant: {
|
|
@@ -6412,7 +6457,7 @@ function FilterOperatorDropdown({ field, operator, values, onChange }) {
|
|
|
6412
6457
|
}, op.value))
|
|
6413
6458
|
})] });
|
|
6414
6459
|
}
|
|
6415
|
-
function renderOptionCommandItems({ selectedOptions, unselectedOptions, onSelectSelected, onSelectAvailable, isMultiSelect,
|
|
6460
|
+
function renderOptionCommandItems({ selectedOptions, unselectedOptions, onSelectSelected, onSelectAvailable, isMultiSelect, onClose }) {
|
|
6416
6461
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [selectedOptions.length > 0 && /* @__PURE__ */ jsx(CommandGroup, { children: selectedOptions.map((option) => /* @__PURE__ */ jsxs(CommandItem, {
|
|
6417
6462
|
className: "group flex items-center gap-2",
|
|
6418
6463
|
onSelect: () => onSelectSelected(option.value),
|
|
@@ -6480,7 +6525,6 @@ function SelectOptionsPopover({ field, values, onChange, onClose, inline = false
|
|
|
6480
6525
|
} else change([value]);
|
|
6481
6526
|
},
|
|
6482
6527
|
isMultiSelect,
|
|
6483
|
-
maxSelections: field.maxSelections,
|
|
6484
6528
|
onClose
|
|
6485
6529
|
})] })] })
|
|
6486
6530
|
});
|
|
@@ -6526,7 +6570,6 @@ function SelectOptionsPopover({ field, values, onChange, onClose, inline = false
|
|
|
6526
6570
|
} else onChange([value]);
|
|
6527
6571
|
},
|
|
6528
6572
|
isMultiSelect,
|
|
6529
|
-
maxSelections: field.maxSelections,
|
|
6530
6573
|
onClose: () => {
|
|
6531
6574
|
setOpen(false);
|
|
6532
6575
|
handleClose();
|
|
@@ -6853,7 +6896,6 @@ function FilterValueSelector({ field, values, onChange, operator }) {
|
|
|
6853
6896
|
} else onChange([value]);
|
|
6854
6897
|
},
|
|
6855
6898
|
isMultiSelect,
|
|
6856
|
-
maxSelections: field.maxSelections,
|
|
6857
6899
|
onClose: () => setOpen(false)
|
|
6858
6900
|
})] })] })
|
|
6859
6901
|
})]
|
|
@@ -6978,8 +7020,6 @@ function Filters({ filters, fields, onChange, className, showAddButton = true, a
|
|
|
6978
7020
|
else if (field.type === "daterange") defaultValues = ["", ""];
|
|
6979
7021
|
else if (field.type === "numberrange") defaultValues = [field.min || 0, field.max || 100];
|
|
6980
7022
|
else if (field.type === "boolean") defaultValues = [false];
|
|
6981
|
-
else if (field.type === "time") defaultValues = [""];
|
|
6982
|
-
else if (field.type === "datetime") defaultValues = [""];
|
|
6983
7023
|
const newFilter = createFilter(fieldKey, defaultOperator, defaultValues);
|
|
6984
7024
|
onChange([...filters, newFilter]);
|
|
6985
7025
|
setAddFilterOpen(false);
|
|
@@ -8023,11 +8063,11 @@ function NavigationMenuItem({ className, ...props }) {
|
|
|
8023
8063
|
...props
|
|
8024
8064
|
});
|
|
8025
8065
|
}
|
|
8026
|
-
const navigationMenuTriggerStyle =
|
|
8066
|
+
const navigationMenuTriggerStyle = "group inline-flex h-9 w-max cursor-pointer items-center justify-center rounded-md bg-background px-4 py-2 font-medium text-sm outline-ring/50 ring-ring/10 transition-[color,box-shadow] hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-1 focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-[active=true]:bg-accent/50 data-[state=open]:bg-accent/50 data-[active=true]:text-accent-foreground dark:outline-ring/40 dark:ring-ring/20";
|
|
8027
8067
|
function NavigationMenuTrigger({ className, children, ...props }) {
|
|
8028
8068
|
return /* @__PURE__ */ jsxs(NavigationMenu$1.Trigger, {
|
|
8029
8069
|
"data-slot": "navigation-menu-trigger",
|
|
8030
|
-
className: cn(navigationMenuTriggerStyle
|
|
8070
|
+
className: cn(navigationMenuTriggerStyle, "group", className),
|
|
8031
8071
|
...props,
|
|
8032
8072
|
children: [
|
|
8033
8073
|
children,
|
|
@@ -8089,7 +8129,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
8089
8129
|
function PaginationItem({ className, ...props }) {
|
|
8090
8130
|
return /* @__PURE__ */ jsx("li", {
|
|
8091
8131
|
"data-slot": "pagination-item",
|
|
8092
|
-
className: cn(
|
|
8132
|
+
className: cn(className),
|
|
8093
8133
|
...props
|
|
8094
8134
|
});
|
|
8095
8135
|
}
|
|
@@ -8304,8 +8344,24 @@ const valueVariants = cva("w-5 text-muted-foreground", {
|
|
|
8304
8344
|
function Rating({ rating, maxRating = 5, size, className, starClassName, showValue = false, editable = false, onRatingChange, ...props }) {
|
|
8305
8345
|
const [hoveredRating, setHoveredRating] = React$1.useState(null);
|
|
8306
8346
|
const displayRating = editable && hoveredRating !== null ? hoveredRating : rating;
|
|
8307
|
-
const
|
|
8308
|
-
if (editable && onRatingChange) onRatingChange(
|
|
8347
|
+
const handleRatingChange = (value) => {
|
|
8348
|
+
if (editable && onRatingChange) onRatingChange(value);
|
|
8349
|
+
};
|
|
8350
|
+
const handleKeyDown = (e) => {
|
|
8351
|
+
if (!editable) return;
|
|
8352
|
+
if (e.key === "ArrowRight" || e.key === "ArrowUp") {
|
|
8353
|
+
e.preventDefault();
|
|
8354
|
+
handleRatingChange(Math.min(maxRating, Math.round(displayRating) + 1));
|
|
8355
|
+
} else if (e.key === "ArrowLeft" || e.key === "ArrowDown") {
|
|
8356
|
+
e.preventDefault();
|
|
8357
|
+
handleRatingChange(Math.max(1, Math.round(displayRating) - 1));
|
|
8358
|
+
} else if (e.key === "Home") {
|
|
8359
|
+
e.preventDefault();
|
|
8360
|
+
handleRatingChange(1);
|
|
8361
|
+
} else if (e.key === "End") {
|
|
8362
|
+
e.preventDefault();
|
|
8363
|
+
handleRatingChange(maxRating);
|
|
8364
|
+
}
|
|
8309
8365
|
};
|
|
8310
8366
|
const handleStarMouseEnter = (starRating) => {
|
|
8311
8367
|
if (editable) setHoveredRating(starRating);
|
|
@@ -8321,11 +8377,12 @@ function Rating({ rating, maxRating = 5, size, className, starClassName, showVal
|
|
|
8321
8377
|
stars.push(/* @__PURE__ */ jsxs("button", {
|
|
8322
8378
|
type: "button",
|
|
8323
8379
|
className: cn("relative border-0 bg-transparent p-0", editable && "cursor-pointer"),
|
|
8324
|
-
onClick: () =>
|
|
8380
|
+
onClick: () => handleRatingChange(i),
|
|
8325
8381
|
onMouseEnter: () => handleStarMouseEnter(i),
|
|
8326
8382
|
onMouseLeave: handleStarMouseLeave,
|
|
8327
|
-
"aria-label":
|
|
8328
|
-
|
|
8383
|
+
"aria-label": `${i} star${i > 1 ? "s" : ""}`,
|
|
8384
|
+
disabled: !editable,
|
|
8385
|
+
tabIndex: -1,
|
|
8329
8386
|
children: [/* @__PURE__ */ jsx(StarIcon, {
|
|
8330
8387
|
"data-slot": "rating-star-empty",
|
|
8331
8388
|
className: cn(starVariants({ size }), "text-muted-foreground/30")
|
|
@@ -8344,6 +8401,13 @@ function Rating({ rating, maxRating = 5, size, className, starClassName, showVal
|
|
|
8344
8401
|
return /* @__PURE__ */ jsxs("div", {
|
|
8345
8402
|
"data-slot": "rating",
|
|
8346
8403
|
className: cn(ratingVariants({ size }), className),
|
|
8404
|
+
role: editable ? "slider" : void 0,
|
|
8405
|
+
tabIndex: editable ? 0 : void 0,
|
|
8406
|
+
"aria-valuenow": editable ? displayRating : void 0,
|
|
8407
|
+
"aria-valuemin": editable ? 1 : void 0,
|
|
8408
|
+
"aria-valuemax": editable ? maxRating : void 0,
|
|
8409
|
+
"aria-label": editable ? "Rating" : void 0,
|
|
8410
|
+
onKeyDown: handleKeyDown,
|
|
8347
8411
|
...props,
|
|
8348
8412
|
children: [/* @__PURE__ */ jsx("div", {
|
|
8349
8413
|
className: "flex items-center",
|
|
@@ -9826,7 +9890,7 @@ function TreeItem({ item, className, asChild, children, ...props }) {
|
|
|
9826
9890
|
...propStyle,
|
|
9827
9891
|
"--tree-padding": `${item.getItemMeta().level * indent}px`
|
|
9828
9892
|
};
|
|
9829
|
-
const Comp = asChild ? Slot.
|
|
9893
|
+
const Comp = asChild ? Slot.Root : "button";
|
|
9830
9894
|
return /* @__PURE__ */ jsx(TreeContext.Provider, {
|
|
9831
9895
|
value: {
|
|
9832
9896
|
...parentContext,
|
|
@@ -9854,7 +9918,7 @@ function TreeItemLabel({ item: propItem, children, className, ...props }) {
|
|
|
9854
9918
|
if (!item) return null;
|
|
9855
9919
|
return /* @__PURE__ */ jsxs("span", {
|
|
9856
9920
|
"data-slot": "tree-item-label",
|
|
9857
|
-
className: cn("flex items-center gap-1 rounded-sm bg-background in-data-[drag-target=true]:bg-accent in-data-[search-match=true]:bg-
|
|
9921
|
+
className: cn("flex items-center gap-1 rounded-sm bg-background in-data-[drag-target=true]:bg-accent in-data-[search-match=true]:bg-primary/10! in-data-[selected=true]:bg-accent px-2 py-1.5 not-in-data-[folder=true]:ps-7 in-data-[selected=true]:text-accent-foreground text-sm in-focus-visible:ring-[3px] in-focus-visible:ring-ring/50 transition-colors hover:bg-accent [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
9858
9922
|
...props,
|
|
9859
9923
|
children: [item.isFolder() && (toggleIconType === "plus-minus" ? item.isExpanded() ? /* @__PURE__ */ jsx(SquareMinusIcon, {
|
|
9860
9924
|
className: "size-3.5 text-muted-foreground",
|
|
@@ -9877,6 +9941,6 @@ function TreeDragLine({ className, ...props }) {
|
|
|
9877
9941
|
});
|
|
9878
9942
|
}
|
|
9879
9943
|
//#endregion
|
|
9880
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionMenu, AccordionMenuGroup, AccordionMenuIndicator, AccordionMenuItem, AccordionMenuLabel, AccordionMenuSeparator, AccordionMenuSub, AccordionMenuSubContent, AccordionMenuSubTrigger, AccordionTrigger, Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, BadgeDot, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CountingNumber, DEFAULT_I18N, DEFAULT_OPERATORS, DataGrid, DataGridColumnFilter, DataGridColumnHeader, DataGridColumnVisibility, DataGridContainer, DataGridPagination, DataGridProvider, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableDnd, DataGridTableDndRowHandle, DataGridTableDndRows, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, DateField, DateInput, DateSegment, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filters, FiltersContent, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GithubButton, GradientBackground, GridBackground, Heading, HoverBackground, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAddon, InputGroup, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kanban, KanbanBoard, KanbanColumn, KanbanColumnContent, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Kbd, KbdGroup, Label, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ProgressCircle, ProgressRadial, RadioGroup, RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmeringText, ShowMore, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderThumb, SlidingNumber, Sortable, SortableItem, SortableItemHandle, Spinner, SpinnerDefault, Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperNav, StepperPanel, StepperSeparator, StepperTitle, StepperTrigger, SvgText, Switch, SwitchIndicator, SwitchWrapper, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TextReveal, Textarea, TimeField, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, TypingText, VideoText, WordRotate, avatarStatusVariants, badgeVariants, buttonGroupVariants, buttonVariants, codeVariants, createFilter, createFilterGroup, dateInputStyles, githubButtonVariants, inputAddonVariants, inputVariants, navigationMenuTriggerStyle, textareaVariants, toggleVariants, useDataGrid, useFormField, useSidebar, useStepItem, useStepper };
|
|
9944
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionMenu, AccordionMenuGroup, AccordionMenuIndicator, AccordionMenuItem, AccordionMenuLabel, AccordionMenuSeparator, AccordionMenuSub, AccordionMenuSubContent, AccordionMenuSubTrigger, AccordionTrigger, Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, BadgeDot, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CountingNumber, DEFAULT_I18N, DEFAULT_OPERATORS, DataGrid, DataGridColumnFilter, DataGridColumnHeader, DataGridColumnVisibility, DataGridContainer, DataGridPagination, DataGridProvider, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableDnd, DataGridTableDndRowHandle, DataGridTableDndRows, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, DateField, DateInput, DateSegment, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorBoundary, DefaultFallback as ErrorFallback, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filters, FiltersContent, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GithubButton, GradientBackground, GridBackground, Heading, HoverBackground, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAddon, InputGroup, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kanban, KanbanBoard, KanbanColumn, KanbanColumnContent, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Kbd, KbdGroup, Label, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ProgressCircle, ProgressRadial, RadioGroup, RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmeringText, ShowMore, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderThumb, SlidingNumber, Sortable, SortableItem, SortableItemHandle, Spinner, SpinnerDefault, Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperNav, StepperPanel, StepperSeparator, StepperTitle, StepperTrigger, SvgText, Switch, SwitchIndicator, SwitchWrapper, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TextReveal, Textarea, TimeField, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, TypingText, VideoText, WordRotate, avatarStatusVariants, badgeVariants, buttonGroupVariants, buttonVariants, codeVariants, createFilter, createFilterGroup, dateInputStyles, githubButtonVariants, inputAddonVariants, inputVariants, navigationMenuTriggerStyle, textareaVariants, toggleVariants, useDataGrid, useFormField, useSidebar, useStepItem, useStepper };
|
|
9881
9945
|
|
|
9882
9946
|
//# sourceMappingURL=index.js.map
|