@moontra/moonui-pro 2.2.16 → 2.2.17
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.mjs
CHANGED
|
@@ -2665,7 +2665,7 @@ var tapAnimations = {
|
|
|
2665
2665
|
transition: { duration: 0.1 }
|
|
2666
2666
|
}
|
|
2667
2667
|
};
|
|
2668
|
-
cva(
|
|
2668
|
+
var moonUICardVariantsPro = cva(
|
|
2669
2669
|
"rounded-lg border bg-card text-card-foreground shadow-sm dark:shadow-gray-900/20 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-100 transition-all duration-200",
|
|
2670
2670
|
{
|
|
2671
2671
|
variants: {
|
|
@@ -2713,7 +2713,7 @@ var MoonUICardPro = t.forwardRef(
|
|
|
2713
2713
|
motion.div,
|
|
2714
2714
|
{
|
|
2715
2715
|
ref,
|
|
2716
|
-
className: cn(
|
|
2716
|
+
className: cn(moonUICardVariantsPro({ variant, size, radius, interactive, className })),
|
|
2717
2717
|
...interactionProps,
|
|
2718
2718
|
...props
|
|
2719
2719
|
}
|
|
@@ -2723,7 +2723,7 @@ var MoonUICardPro = t.forwardRef(
|
|
|
2723
2723
|
"div",
|
|
2724
2724
|
{
|
|
2725
2725
|
ref,
|
|
2726
|
-
className: cn(
|
|
2726
|
+
className: cn(moonUICardVariantsPro({ variant, size, radius, interactive, className })),
|
|
2727
2727
|
...props
|
|
2728
2728
|
}
|
|
2729
2729
|
);
|
|
@@ -4484,7 +4484,7 @@ var inputWrapperVariants = cva(
|
|
|
4484
4484
|
}
|
|
4485
4485
|
}
|
|
4486
4486
|
);
|
|
4487
|
-
cva(
|
|
4487
|
+
var moonUIInputVariantsPro = cva(
|
|
4488
4488
|
[
|
|
4489
4489
|
"w-full bg-background transition-all duration-200",
|
|
4490
4490
|
"text-foreground placeholder:text-muted-foreground dark:placeholder:text-gray-500",
|
|
@@ -4569,7 +4569,7 @@ var MoonUIInputPro = t.forwardRef(
|
|
|
4569
4569
|
"input",
|
|
4570
4570
|
{
|
|
4571
4571
|
className: cn(
|
|
4572
|
-
|
|
4572
|
+
moonUIInputVariantsPro({
|
|
4573
4573
|
variant,
|
|
4574
4574
|
size,
|
|
4575
4575
|
isError: !!error || isError,
|
|
@@ -5389,7 +5389,7 @@ function MoonUISkeletonPro({
|
|
|
5389
5389
|
}
|
|
5390
5390
|
);
|
|
5391
5391
|
}
|
|
5392
|
-
cva(
|
|
5392
|
+
var moonUISliderVariantsPro = cva(
|
|
5393
5393
|
"relative flex w-full touch-none select-none items-center",
|
|
5394
5394
|
{
|
|
5395
5395
|
variants: {
|
|
@@ -5571,7 +5571,7 @@ var MoonUISliderPro = t.forwardRef(({
|
|
|
5571
5571
|
/* @__PURE__ */ jsxs(
|
|
5572
5572
|
"div",
|
|
5573
5573
|
{
|
|
5574
|
-
className: cn(
|
|
5574
|
+
className: cn(moonUISliderVariantsPro({ size }), className),
|
|
5575
5575
|
"data-disabled": disabled ? true : void 0,
|
|
5576
5576
|
children: [
|
|
5577
5577
|
/* @__PURE__ */ jsx(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.17",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -63,7 +63,7 @@ const MoonUICardPro = React.forwardRef<HTMLDivElement, MoonUICardProProps>(
|
|
|
63
63
|
return (
|
|
64
64
|
<motion.div
|
|
65
65
|
ref={ref}
|
|
66
|
-
className={cn(
|
|
66
|
+
className={cn(moonUICardVariantsPro({ variant, size, radius, interactive, className }))}
|
|
67
67
|
{...interactionProps}
|
|
68
68
|
{...props}
|
|
69
69
|
/>
|
|
@@ -74,7 +74,7 @@ const MoonUICardPro = React.forwardRef<HTMLDivElement, MoonUICardProProps>(
|
|
|
74
74
|
return (
|
|
75
75
|
<div
|
|
76
76
|
ref={ref}
|
|
77
|
-
className={cn(
|
|
77
|
+
className={cn(moonUICardVariantsPro({ variant, size, radius, interactive, className }))}
|
|
78
78
|
{...props}
|
|
79
79
|
/>
|
|
80
80
|
);
|
|
@@ -296,7 +296,7 @@ const MoonUISliderPro = React.forwardRef<
|
|
|
296
296
|
)}
|
|
297
297
|
|
|
298
298
|
<div
|
|
299
|
-
className={cn(
|
|
299
|
+
className={cn(moonUISliderVariantsPro({ size }), className)}
|
|
300
300
|
data-disabled={disabled ? true : undefined}
|
|
301
301
|
>
|
|
302
302
|
{/* Track */}
|
|
@@ -14,7 +14,7 @@ interface MoonUITabsProProps extends React.ComponentPropsWithoutRef<typeof TabsP
|
|
|
14
14
|
|
|
15
15
|
const MoonUITabsPro = React.forwardRef<
|
|
16
16
|
React.ElementRef<typeof TabsPrimitive.Root>,
|
|
17
|
-
|
|
17
|
+
MoonUITabsProProps
|
|
18
18
|
>(({ vertical = false, ...props }, ref) => (
|
|
19
19
|
<TabsPrimitive.Root
|
|
20
20
|
ref={ref}
|
|
@@ -64,7 +64,7 @@ interface MoonUITabsListProProps
|
|
|
64
64
|
|
|
65
65
|
const MoonUITabsListPro = React.forwardRef<
|
|
66
66
|
React.ElementRef<typeof TabsPrimitive.List>,
|
|
67
|
-
|
|
67
|
+
MoonUITabsListProProps
|
|
68
68
|
>(({ className, variant, orientation, fullWidth, ...props }, ref) => (
|
|
69
69
|
<TabsPrimitive.List
|
|
70
70
|
ref={ref}
|