import { Dialog as SheetPrimitive } from '@base-ui/react/dialog'; import { Button } from '@components/common/ui/Button.js'; import { cn } from '@evershop/evershop/lib/util/cn'; import { XIcon } from 'lucide-react'; import * as React from 'react'; function Sheet({ ...props }: SheetPrimitive.Root.Props) { return ; } function SheetTrigger({ ...props }: SheetPrimitive.Trigger.Props) { return ; } function SheetClose({ ...props }: SheetPrimitive.Close.Props) { return ; } function SheetPortal({ ...props }: SheetPrimitive.Portal.Props) { return ; } function SheetOverlay({ className, ...props }: SheetPrimitive.Backdrop.Props) { return ( ); } function SheetContent({ className, children, side = 'right', showCloseButton = true, ...props }: SheetPrimitive.Popup.Props & { side?: 'top' | 'right' | 'bottom' | 'left'; showCloseButton?: boolean; }) { return ( {children} {showCloseButton && ( } > Close )} ); } function SheetHeader({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function SheetFooter({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) { return ( ); } function SheetDescription({ className, ...props }: SheetPrimitive.Description.Props) { return ( ); } export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription };