"use client" import type * as React from "react" import * as DialogPrimitive from "@radix-ui/react-dialog" import { XIcon } from "lucide-react" import { cn } from "@/lib/utils" function Dialog({ ...props }: React.ComponentProps) { return } function DialogTrigger({ ...props }: React.ComponentProps) { return } function DialogPortal({ ...props }: React.ComponentProps) { return } function DialogClose({ ...props }: React.ComponentProps) { return } function DialogOverlay({ className, ...props }: React.ComponentProps) { return ( ) } const dialogSizes = { sm: "sm:max-w-sm", // 384px md: "sm:max-w-md", // 448px lg: "sm:max-w-lg", // 512px (default) xl: "sm:max-w-xl", // 576px "2xl": "sm:max-w-2xl", // 672px "3xl": "sm:max-w-3xl", // 768px "4xl": "sm:max-w-4xl", // 896px "5xl": "sm:max-w-5xl", // 1024px full: "sm:max-w-full", // 100% } function DialogContent({ className, children, showCloseButton = true, hideClose = false, size = "lg", ...props }: React.ComponentProps & { showCloseButton?: boolean hideClose?: boolean size?: keyof typeof dialogSizes }) { const shouldShowClose = showCloseButton && !hideClose return ( {children} {shouldShowClose && ( Close )} ) } function DialogHeader({ className, ...props }: React.ComponentProps<"div">) { return (
) } function DialogFooter({ className, ...props }: React.ComponentProps<"div">) { return (
) } function DialogTitle({ className, ...props }: React.ComponentProps) { return ( ) } function DialogDescription({ className, ...props }: React.ComponentProps) { return ( ) } export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, }