// ~/src/siteplane/components/detail-drawer/detail-drawer.tsx "use client"; import type * as React from "react"; import { Drawer, DrawerClose, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPanel, DrawerPopup, DrawerTitle, DrawerTrigger, } from "../drawer"; import { cn } from "../../system/utils/cn"; /** * A Drawer that opens from the right. Its content takes the side, and the swipe * direction, from this root, so `position` is set once, here. */ export function DetailDrawer( props: React.ComponentProps, ): React.ReactElement { return ; } export const DetailDrawerTrigger: typeof DrawerTrigger = DrawerTrigger; export const DetailDrawerClose: typeof DrawerClose = DrawerClose; /** * The popup of the drawer, a straight side panel at most 448 px wide. It is * the Drawer's popup, so its name ends in `Popup` like the popup of every * other overlay. */ export function DetailDrawerPopup({ children, className, ...props }: React.ComponentProps): React.ReactElement { return ( {children} ); } export function DetailDrawerHeader({ className, ...props }: React.ComponentProps): React.ReactElement { return ( ); } export const DetailDrawerTitle: typeof DrawerTitle = DrawerTitle; export const DetailDrawerDescription: typeof DrawerDescription = DrawerDescription; export function DetailDrawerBody({ className, ...props }: React.ComponentProps): React.ReactElement { return ( ); } export function DetailDrawerFooter({ className, ...props }: React.ComponentProps): React.ReactElement { return ( ); } /** * @deprecated `DetailDrawerContent` is the earlier name of `DetailDrawerPopup`, * the same part; it keeps working until 2.0. */ export const DetailDrawerContent: typeof DetailDrawerPopup = DetailDrawerPopup; // ~/src/siteplane/components/detail-drawer/index.ts export * from "./detail-drawer";