import { Panel } from '@/ui/Panel'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; interface OnboardingStepPanelProps { title: string; description?: string; children: React.ReactNode; } /** * OnboardingStepPanel * * A semantic container for a single onboarding step. * Provides a consistent header and surface. */ export function OnboardingStepPanel({ title, description, children }: OnboardingStepPanelProps) { const testId = title.toLowerCase().includes('personal') ? 'step-1-personal-info' : 'step-2-avatar'; return ( {title} {description && ( {description} )} {children} ); }