"use client"; import type { ReactNode } from "react"; import { Loader2, type LucideIcon } from "lucide-react"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; type FloatingSidebarShellProps = { children: ReactNode; className?: string; flowBoardControl?: boolean; }; export function FloatingSidebarShell({ children, className, flowBoardControl = false, }: FloatingSidebarShellProps) { return ( ); } type FloatingLogoPillProps = { siteName: string; siteLogo?: string | null; tooltip?: string | null; onClick?: () => void; variant?: "pill" | "plain"; }; export function FloatingLogoPill({ siteName, siteLogo, tooltip = siteName, onClick, variant = "pill", }: FloatingLogoPillProps) { const isPlain = variant === "plain"; const trigger = ( ); if (!tooltip) { return trigger; } return ( {trigger} {tooltip} ); } type FloatingSidebarRailProps = { children: ReactNode; className?: string; orientation?: "vertical" | "horizontal"; tone?: "dark" | "light"; }; export function FloatingSidebarRail({ children, className, orientation = "vertical", tone = "dark", }: FloatingSidebarRailProps) { const isHorizontal = orientation === "horizontal"; const isLight = tone === "light"; return (
{children}
); } type FloatingSidebarActionProps = { label: string; icon: LucideIcon; active?: boolean; disabled?: boolean; loading?: boolean; onClick?: () => void; }; export function FloatingSidebarAction({ label, icon: Icon, active = false, disabled = false, loading = false, onClick, }: FloatingSidebarActionProps) { return ( {label} ); }