@moontra/moonui 2.3.3 → 2.3.4
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.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/card.tsx +7 -7
package/package.json
CHANGED
|
@@ -19,10 +19,10 @@ const cardVariants = cva(
|
|
|
19
19
|
glass: "border border-white/20 bg-white/10 backdrop-blur-md dark:border-gray-700/30 dark:bg-gray-800/10",
|
|
20
20
|
},
|
|
21
21
|
size: {
|
|
22
|
-
default: "
|
|
23
|
-
sm: "
|
|
24
|
-
lg: "
|
|
25
|
-
xl: "
|
|
22
|
+
default: "",
|
|
23
|
+
sm: "",
|
|
24
|
+
lg: "",
|
|
25
|
+
xl: "",
|
|
26
26
|
},
|
|
27
27
|
radius: {
|
|
28
28
|
default: "rounded-lg",
|
|
@@ -90,7 +90,7 @@ const CardHeader = React.forwardRef<
|
|
|
90
90
|
>(({ className, ...props }, ref) => (
|
|
91
91
|
<div
|
|
92
92
|
ref={ref}
|
|
93
|
-
className={cn("moonui-theme", "flex flex-col space-y-1.5", className)}
|
|
93
|
+
className={cn("moonui-theme", "flex flex-col space-y-1.5 p-6", className)}
|
|
94
94
|
{...props}
|
|
95
95
|
/>
|
|
96
96
|
));
|
|
@@ -124,7 +124,7 @@ const CardContent = React.forwardRef<
|
|
|
124
124
|
HTMLDivElement,
|
|
125
125
|
React.HTMLAttributes<HTMLDivElement>
|
|
126
126
|
>(({ className, ...props }, ref) => (
|
|
127
|
-
<div ref={ref} className={cn("moonui-theme", "pt-0", className)} {...props} />
|
|
127
|
+
<div ref={ref} className={cn("moonui-theme", "p-6 pt-0", className)} {...props} />
|
|
128
128
|
));
|
|
129
129
|
CardContent.displayName = "CardContent";
|
|
130
130
|
|
|
@@ -134,7 +134,7 @@ const CardFooter = React.forwardRef<
|
|
|
134
134
|
>(({ className, ...props }, ref) => (
|
|
135
135
|
<div
|
|
136
136
|
ref={ref}
|
|
137
|
-
className={cn("moonui-theme", "flex items-center pt-
|
|
137
|
+
className={cn("moonui-theme", "flex items-center p-6 pt-0", className)}
|
|
138
138
|
{...props}
|
|
139
139
|
/>
|
|
140
140
|
));
|