import { Skeleton } from '@/components/ui/skeleton' import { cn } from '@/lib/utils' export type DashboardSkeletonVariant = 'settings' | 'table' | 'report' | 'list' | 'detail' | 'editor' | 'preview' | 'control' interface DashboardSkeletonProps { variant?: DashboardSkeletonVariant label?: string fullPage?: boolean className?: string } function TextLines() { return
} function SettingsBody() { return
{[0, 1].map(section =>
{[0, 1, 2].map(row =>
)}
)}
} function TableBody() { return
{[0, 1, 2, 3].map(column => 1 && 'hidden sm:block')} />)}
{[0, 1, 2, 3, 4].map(row =>
)}
} function ListBody() { return
{[0, 1, 2, 3].map(row =>
)}
} function PreviewBody() { return
} /** Passive placeholders only: never mount live controls or announce invented data. */ export function DashboardSkeleton({ variant = 'settings', label = 'Loading settings', fullPage = false, className }: DashboardSkeletonProps) { return
{label}
}