import { Skeleton } from "@/components/ui/skeleton"; import { cn } from "@/lib/utils"; interface SkeletonLoaderProps { className?: string; variant?: "text" | "rect" | "circle"; } export function SkeletonLoader({ className = "", variant = "rect", }: SkeletonLoaderProps) { const variantClasses = { text: "h-4 rounded", rect: "rounded-lg", circle: "rounded-full", }; return ; } export function PatternCanvasSkeleton() { return (
); } export function PatternInfoSkeleton() { return (
{/* Three column grid matching PatternInfo stats */}
{[1, 2, 3].map((i) => (
))}
{/* Separator */}
{/* Color swatches row */}
{[1, 2, 3, 4, 5].map((i) => ( ))}
); } export function MachineConnectionSkeleton() { return (
); }