{"version":3,"file":"card.vpy5gzJU.js","sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@lib/utils'\nimport { cva } from 'class-variance-authority'\n\nconst cardVariants = cva('rounded-[10px]', {\n variants: {\n variant: {\n warning: 'bg-card-warning',\n solid: 'bg-blue-50',\n solidWhite: 'bg-white-500',\n solidPurple: 'bg-purple-200 border-[2px] border-purple-300',\n outline: 'border-[2px] border-input',\n outlineDark: 'border border-blue-500',\n shadow: 'rounded-[15px] bg-white shadow-card-element',\n shadowSolid: 'rounded-[15px] border border-blue-100 bg-blue-50 shadow-card-element',\n error: 'bg-card-error'\n },\n padding: {\n default: 'p-[20px]',\n none: 'p-0'\n }\n },\n defaultVariants: {\n variant: 'solid',\n padding: 'default'\n }\n})\n\ninterface CardProps extends React.HTMLAttributes {\n variant?: 'solid' | 'solidWhite' | 'solidPurple' | 'outline' | 'outlineDark' | 'shadow' | 'shadowSolid' | 'warning' | 'error'\n padding?: 'default' | 'none'\n className?: string\n}\n\nconst Card = React.forwardRef(\n ({ className, variant, padding, ...props }, ref) => (\n
\n )\n)\nCard.displayName = 'Card'\n\nconst CardHeader = React.forwardRef>(\n ({ className, ...props }, ref) => (\n
\n )\n)\nCardHeader.displayName = 'CardHeader'\n\nconst CardTitle = React.forwardRef>(\n ({ className, ...props }, ref) => (\n \n )\n)\nCardTitle.displayName = 'CardTitle'\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n

\n))\nCardDescription.displayName = 'CardDescription'\n\nconst CardContent = React.forwardRef>(\n ({ className, ...props }, ref) => (\n

\n )\n)\nCardContent.displayName = 'CardContent'\n\nconst CardFooter = React.forwardRef>(\n ({ className, ...props }, ref) => (\n
\n )\n)\nCardFooter.displayName = 'CardFooter'\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n"],"names":["cardVariants","cva","Card","React.forwardRef","className","variant","padding","props","ref","j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