'use client' import type { ReactNode } from 'react' import { Button } from '@/components/ui/button' import { Spinner } from '@/components/ui/Spinner' import { cn } from '@/lib/utils' type WizardStepFormChromeCommonProps = { isPending: boolean /** sr-only announcement read out while the step is saving. */ pendingAnnouncement: string ctaLabel: string children: ReactNode leadingSubmit?: ReactNode submitBarClassName?: string ctaClassName?: string } /** * Shared chrome of the wizard final steps (D11): pending attributes, submit * bar with Spinner + "Salvando…" and the sr-only pending announcement. Two * modes — `action` renders a `