"use client"; import { forwardRef } from "react"; import { cn } from "@/lib/utils"; // ============================================================================= // CleanCard — White card with subtle border, optional hover lift // ============================================================================= export type CleanCardVariant = "default" | "outlined" | "elevated" | "ghost"; export interface CleanCardProps extends React.HTMLAttributes { variant?: CleanCardVariant; padding?: "none" | "sm" | "md" | "lg"; hoverable?: boolean; } const variantClasses: Record = { default: "bg-white border border-[#E4E6EC] shadow-[0_1px_2px_rgba(15,17,23,0.03),0_8px_24px_rgba(15,17,23,0.04)]", outlined: "bg-white border border-[#E4E6EC]", elevated: "bg-white border border-[#EEF0F4] shadow-[0_4px_12px_rgba(15,17,23,0.05),0_16px_40px_-12px_rgba(15,17,23,0.1)]", ghost: "bg-transparent", }; const paddingClasses: Record, string> = { none: "", sm: "p-3", md: "p-5", lg: "p-6", }; export const CleanCard = forwardRef( ({ variant = "default", padding = "md", hoverable = false, className, children, ...props }, ref) => { return (
{children}
); }, ); CleanCard.displayName = "CleanCard";