'use client'; /** * Step Indicator Component * * Shows progress through the wizard steps with visual feedback. * Dynamically adjusts based on whether script mode is active. */ import { cn } from '@/lib/utils'; import { getStepLabels, getDisplayStep, getTotalSteps } from './constants'; interface StepIndicatorProps { currentStep: number; isScriptMode: boolean; className?: string; } export function StepIndicator({ currentStep, isScriptMode, className }: StepIndicatorProps) { const steps = getStepLabels(isScriptMode); const totalSteps = getTotalSteps(isScriptMode); const displayStep = getDisplayStep(currentStep, isScriptMode); return (