@moontra/moonui 2.3.3 → 2.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "description": "Premium React component library with modern design and customization",
5
5
  "author": "MoonUI",
6
6
  "license": "MIT",
@@ -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: "p-6",
23
- sm: "p-4",
24
- lg: "p-8",
25
- xl: "p-10",
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-4", className)}
137
+ className={cn("moonui-theme", "flex items-center p-6 pt-0", className)}
138
138
  {...props}
139
139
  />
140
140
  ));
@@ -187,7 +187,7 @@ const TabsContent = React.forwardRef<
187
187
  ref={ref}
188
188
  className={cn(
189
189
  "moonui-theme",
190
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
190
+ "mt-6 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
191
191
  animated && "data-[state=active]:animate-fadeIn data-[state=inactive]:animate-fadeOut",
192
192
  className
193
193
  )}