import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog"; import { cn } from "~/lib/utils"; import { DIALOG_BACKDROP_CLASS, DIALOG_MOBILE_SHEET_CLASS, DIALOG_POPUP_CLASS, } from "~/components/ui/dialog-styles"; import { ControlledOpenContext, renderRetainedPopup } from "~/components/ui/dialog"; function AlertDialog(props: AlertDialogPrimitive.Root.Props) { return ( ); } const AlertDialogPortal = AlertDialogPrimitive.Portal; function AlertDialogBackdrop({ className, ...props }: AlertDialogPrimitive.Backdrop.Props) { return ( ); } function AlertDialogViewport({ className, ...props }: AlertDialogPrimitive.Viewport.Props) { return ( ); } function AlertDialogPopup({ className, bottomStickOnMobile = true, portalContainer, ...props }: AlertDialogPrimitive.Popup.Props & { bottomStickOnMobile?: boolean; portalContainer?: AlertDialogPrimitive.Portal.Props["container"]; }) { return ( ); } function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">) { return (
); } function AlertDialogFooter({ className, variant = "default", ...props }: React.ComponentProps<"div"> & { variant?: "default" | "bare"; }) { return (
); } function AlertDialogTitle({ className, ...props }: AlertDialogPrimitive.Title.Props) { return ( ); } function AlertDialogDescription({ className, ...props }: AlertDialogPrimitive.Description.Props) { return ( ); } function AlertDialogClose(props: AlertDialogPrimitive.Close.Props) { return ; } export { AlertDialog, AlertDialogPortal, AlertDialogBackdrop, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPopup as AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, AlertDialogViewport, };