import { motion } from 'framer-motion' import { ArrowLeft, ExternalLink } from 'lucide-react' import type { ReactNode } from 'react' import { Button, SidePanel } from 'ui' export interface PlanUpdatePanelShellProps { organizationName: string | undefined /** Rendered above the plan cards, outside the scrollable card grid. */ notice: ReactNode onClose: () => void children: ReactNode } export function PlanUpdateSheetShell({ visible, organizationName, notice, onClose, children, }: PlanUpdatePanelShellProps & { visible: boolean }) { return ( Change subscription plan for {organizationName} }> Pricing } > {notice} {children} ) } export function PlanUpdateFullScreenShell({ organizationName, notice, skipOverlayFade, contentDelay, onClose, children, }: PlanUpdatePanelShellProps & { skipOverlayFade: boolean; contentDelay: number }) { return ( } onClick={onClose} className="fixed top-4 left-4 z-10" > Go back to Studio } className="hidden sm:inline-flex" > Pricing FAQ }> Compare plans Change subscription plan for {organizationName} {notice} {children} ) }