import { z } from "zod/v4";
import type { JSX } from "solid-js";
import type { ComponentMeta } from "../../meta";

export const CardPropsSchema = z.object({});
export interface CardRootProps extends JSX.HTMLAttributes<HTMLDivElement> { children?: JSX.Element; }
export interface CardHeaderProps extends JSX.HTMLAttributes<HTMLDivElement> { children?: JSX.Element; }
export interface CardContentProps extends JSX.HTMLAttributes<HTMLDivElement> { children?: JSX.Element; }
export interface CardFooterProps extends JSX.HTMLAttributes<HTMLDivElement> { children?: JSX.Element; }
export interface CardTitleProps extends JSX.HTMLAttributes<HTMLHeadingElement> { children?: JSX.Element; }
export interface CardDescriptionProps extends JSX.HTMLAttributes<HTMLParagraphElement> { children?: JSX.Element; }

export const CardMeta: ComponentMeta = {
  name: "Card",
  description: "Grouped content container with header, body, and footer sections",
  parts: ["Root", "Header", "Content", "Footer", "Title", "Description"] as const,
  requiredParts: ["Root", "Content"] as const,
} as const;
