{
  "component": {
    "id": "multi-step-form",
    "name": "Multi-step form",
    "tier": "pro",
    "exampleId": "multi-step-form",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/multi-step-form-demo.tsx",
    "exportName": "MultiStepFormDemo",
    "sha256": "fc5acd768b607603b7fa37b1b56ebca6987aaae91cf70fffffc6892411648adf",
    "helperImports": [],
    "directComponentImports": [
      "multi-step-form"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/multi-step-form",
    "registryUrl": "https://tidalui.com/r/pro/multi-step-form.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/multi-step-form",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/multi-step-form",
      "registryUrl": "https://tidalui.com/r/pro/multi-step-form.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/multi-step-form.tsx",
    "exports": [
      "TidalMultiStepForm",
      "TidalMultiStepFormStep"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/multi-step-form.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "multi-step-form"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/multi-step-form.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/multi-step-form.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/multi-step-form-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "\"use client\";\n\nimport \"./components/ui/tidal.css\";\n\nimport { useEffect, useId, useLayoutEffect, useMemo, useRef, useState, type FormEvent, type InvalidEvent } from \"react\";\n\nimport { TidalMultiStepForm, type TidalMultiStepFormStep } from \"./components/ui/multi-step-form\";\n\nimport \"./components/ui/multi-step-form.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .multi-step-demo,\\n.tidal-scope .multi-step-demo * {\\n  box-sizing: border-box;\\n}\\n\\n.tidal-scope .multi-step-demo {\\n  width: 100%;\\n  min-width: 0;\\n  border: 1px solid var(--t-border);\\n  border-radius: 22px;\\n  background: var(--t-subtle);\\n  color: var(--t-ink);\\n  container: multi-step-demo / inline-size;\\n}\\n\\n.tidal-scope .multi-step-demo-frame {\\n  min-width: 0;\\n  padding: 20px;\\n}\\n\\n.tidal-scope .multi-step-demo-fields {\\n  display: grid;\\n  grid-template-columns: repeat(2, minmax(0, 1fr));\\n  gap: 12px;\\n  min-width: 0;\\n}\\n\\n.tidal-scope .multi-step-demo-fields > label {\\n  display: grid;\\n  min-width: 0;\\n  gap: 6px;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  font-weight: 650;\\n  line-height: 1.4;\\n}\\n\\n.tidal-scope .multi-step-demo-fields > label > span,\\n.tidal-scope .multi-step-demo-choice-group legend {\\n  color: var(--t-ink);\\n  font-size: 11px;\\n  font-weight: 700;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope\\n  .multi-step-demo-fields\\n  input:not([type=\\\"radio\\\"]):not([type=\\\"checkbox\\\"]),\\n.tidal-scope .multi-step-demo-fields select {\\n  width: 100%;\\n  min-width: 0;\\n  min-height: 48px;\\n  padding: 10px 12px;\\n  border: 1px solid var(--t-border);\\n  border-radius: 10px;\\n  background: var(--t-surface);\\n  color: var(--t-ink);\\n  font: inherit;\\n  font-size: 16px;\\n  line-height: 1.4;\\n  transition:\\n    border-color 180ms,\\n    box-shadow 180ms,\\n    background 180ms;\\n}\\n\\n.tidal-scope .multi-step-demo-fields input:focus-visible,\\n.tidal-scope .multi-step-demo-fields select:focus-visible {\\n  border-color: var(--t-ink);\\n  outline: 2px solid var(--t-accent);\\n  outline-offset: 3px;\\n  box-shadow: inset 0 0 0 1px var(--t-surface);\\n}\\n\\n.tidal-scope .multi-step-demo-fields small {\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  font-weight: 520;\\n  line-height: 1.45;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group {\\n  display: grid;\\n  min-width: 0;\\n  grid-column: 1 / -1;\\n  grid-template-columns: repeat(2, minmax(0, 1fr));\\n  gap: 8px;\\n  margin: 0;\\n  padding: 0;\\n  border: 0;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group legend {\\n  grid-column: 1 / -1;\\n  margin-bottom: 2px;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group label,\\n.tidal-scope .multi-step-demo-check {\\n  position: relative;\\n  display: grid;\\n  min-width: 0;\\n  min-height: 70px;\\n  grid-template-columns: 44px minmax(0, 1fr);\\n  align-items: center;\\n  gap: 10px;\\n  padding: 9px 11px;\\n  border: 1px solid var(--t-border);\\n  border-radius: 12px;\\n  background: var(--t-surface);\\n  color: var(--t-ink);\\n  cursor: pointer;\\n  transition:\\n    border-color 180ms,\\n    background 180ms,\\n    transform 180ms var(--t-ease-out);\\n}\\n\\n.tidal-scope .multi-step-demo-check {\\n  grid-column: 1 / -1;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group label:has(input:checked),\\n.tidal-scope .multi-step-demo-check:has(input:checked) {\\n  border-color: var(--t-ink);\\n  background: var(--t-wash);\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group input,\\n.tidal-scope .multi-step-demo-check input {\\n  width: 44px;\\n  height: 44px;\\n  margin: 0;\\n  accent-color: var(--t-accent);\\n  cursor: pointer;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group label > span,\\n.tidal-scope .multi-step-demo-check > span {\\n  display: grid;\\n  min-width: 0;\\n  gap: 4px;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group strong,\\n.tidal-scope .multi-step-demo-check strong,\\n.tidal-scope .multi-step-demo-choice-group small,\\n.tidal-scope .multi-step-demo-check small {\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .multi-step-demo-choice-group strong,\\n.tidal-scope .multi-step-demo-check strong {\\n  font-size: 11px;\\n  line-height: 1.35;\\n}\\n\\n.tidal-scope .multi-step-demo-review {\\n  display: grid;\\n  grid-template-columns: repeat(2, minmax(0, 1fr));\\n  gap: 1px;\\n  margin: 0;\\n  overflow: hidden;\\n  border: 1px solid var(--t-border);\\n  border-radius: 14px;\\n  background: var(--t-border);\\n}\\n\\n.tidal-scope .multi-step-demo-review > div {\\n  min-width: 0;\\n  min-height: 76px;\\n  padding: 14px;\\n  background: var(--t-surface);\\n}\\n\\n.tidal-scope .multi-step-demo-review dt {\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  font-weight: 680;\\n  line-height: 1.35;\\n}\\n\\n.tidal-scope .multi-step-demo-review dd {\\n  margin: 7px 0 0;\\n  color: var(--t-ink);\\n  font-size: 12px;\\n  font-weight: 640;\\n  line-height: 1.35;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .multi-step-demo-footer {\\n  display: flex;\\n  min-width: 0;\\n  align-items: center;\\n  justify-content: center;\\n  gap: 9px;\\n}\\n\\n.tidal-scope .multi-step-demo-footer > span {\\n  min-width: 0;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .multi-step-demo-footer button,\\n.tidal-scope .multi-step-demo-complete button {\\n  min-width: 44px;\\n  min-height: 44px;\\n  padding: 9px 13px;\\n  border: 1px solid currentColor;\\n  border-radius: 10px;\\n  background: transparent;\\n  color: inherit;\\n  font: inherit;\\n  font-size: 11px;\\n  font-weight: 680;\\n  line-height: 1.35;\\n  cursor: pointer;\\n}\\n\\n.tidal-scope .multi-step-demo-footer button:focus-visible,\\n.tidal-scope .multi-step-demo-complete button:focus-visible,\\n.tidal-scope .multi-step-demo-complete h3:focus-visible {\\n  outline: 2px solid currentColor;\\n  outline-offset: 3px;\\n}\\n\\n.tidal-scope .multi-step-demo-complete {\\n  display: grid;\\n  min-height: 370px;\\n  place-items: center;\\n  align-content: center;\\n  gap: 10px;\\n  text-align: center;\\n  background:\\n    linear-gradient(var(--t-border) 1px, transparent 1px),\\n    linear-gradient(90deg, var(--t-border) 1px, transparent 1px),\\n    var(--t-subtle);\\n  background-size: 24px 24px;\\n}\\n\\n.tidal-scope .multi-step-demo-complete-mark {\\n  display: grid;\\n  width: 58px;\\n  height: 58px;\\n  place-items: center;\\n  border-radius: 18px;\\n  background: var(--t-ink);\\n  color: var(--t-surface);\\n  font-size: 21px;\\n  animation: multi-step-demo-mark-in 420ms var(--t-ease-spring) both;\\n}\\n\\n.tidal-scope .multi-step-demo-complete > span {\\n  margin-top: 6px;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  font-weight: 700;\\n  letter-spacing: 0.1em;\\n  text-transform: uppercase;\\n}\\n\\n.tidal-scope .multi-step-demo-complete h3 {\\n  max-width: 18ch;\\n  margin: 0;\\n  font-size: clamp(28px, 7cqi, 48px);\\n  font-weight: 530;\\n  letter-spacing: -0.055em;\\n  line-height: 1;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .multi-step-demo-complete p {\\n  max-width: 54ch;\\n  margin: 0;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  line-height: 1.55;\\n  overflow-wrap: anywhere;\\n}\\n\\n@container multi-step-demo (max-width: 640px) {\\n  .tidal-scope .multi-step-demo {\\n    border-radius: 18px;\\n  }\\n\\n  .tidal-scope .multi-step-demo-frame {\\n    padding: 8px;\\n  }\\n\\n  .tidal-scope .multi-step-demo-fields,\\n  .tidal-scope .multi-step-demo-choice-group {\\n    grid-template-columns: minmax(0, 1fr);\\n  }\\n\\n  .tidal-scope .multi-step-demo-choice-group legend,\\n  .tidal-scope .multi-step-demo-check {\\n    grid-column: 1;\\n  }\\n\\n  .tidal-scope .multi-step-demo-review {\\n    grid-template-columns: minmax(0, 1fr);\\n  }\\n\\n  .tidal-scope .multi-step-demo-review > div {\\n    min-height: 62px;\\n  }\\n\\n  .tidal-scope .multi-step-demo-footer {\\n    flex-direction: column;\\n  }\\n}\\n\\n@container multi-step-demo (max-width: 390px) {\\n  .tidal-scope .multi-step-demo-complete {\\n    min-height: 340px;\\n    padding: 22px 14px;\\n  }\\n}\\n\\n@media (hover: none) and (pointer: coarse) {\\n  .tidal-scope .multi-step-demo-footer button,\\n  .tidal-scope .multi-step-demo-complete button {\\n    font-size: 16px;\\n  }\\n}\\n\\n@media (prefers-reduced-motion: reduce) {\\n  .tidal-scope .multi-step-demo-choice-group label,\\n  .tidal-scope .multi-step-demo-check {\\n    transition: none;\\n  }\\n\\n  .tidal-scope .multi-step-demo-complete-mark {\\n    animation: none;\\n  }\\n}\\n\\n@keyframes multi-step-demo-mark-in {\\n  from {\\n    opacity: 0;\\n    transform: scale(0.72) rotate(-10deg);\\n  }\\n  to {\\n    opacity: 1;\\n    transform: none;\\n  }\\n}\";\n\ntype StepId = \"workspace\" | \"preferences\" | \"review\";\n\ntype Visibility = \"private\" | \"team\";\n\nexport function MultiStepFormDemo() {\n  const generatedId = useId().replace(/:/g, \"\");\n  const [step, setStep] = useState<StepId>(\"workspace\");\n  const [workspaceName, setWorkspaceName] = useState(\"Northstar studio\");\n  const [teamSize, setTeamSize] = useState(\"6-15\");\n  const [visibility, setVisibility] = useState<Visibility>(\"team\");\n  const [weeklySummary, setWeeklySummary] = useState(true);\n  const [error, setError] = useState(\"\");\n  const [busy, setBusy] = useState(false);\n  const [complete, setComplete] = useState(false);\n  const [message, setMessage] = useState(\n    \"This setup preview uses local React state only.\",\n  );\n  const timerRef = useRef<number | null>(null);\n  const continueRef = useRef<HTMLButtonElement>(null);\n  const completionSourceRef = useRef<HTMLElement | null>(null);\n  const nameRef = useRef<HTMLInputElement>(null);\n  const completeHeadingRef = useRef<HTMLHeadingElement>(null);\n  const resetFocusPending = useRef(false);\n  const formName = `multi-step-demo-${generatedId}`;\n\n  useEffect(\n    () => () => {\n      if (timerRef.current !== null) window.clearTimeout(timerRef.current);\n    },\n    [],\n  );\n\n  useLayoutEffect(() => {\n    if (!complete) return;\n    const activeElement = document.activeElement;\n    if (\n      activeElement === completionSourceRef.current ||\n      activeElement === document.body\n    ) {\n      completeHeadingRef.current?.focus({ preventScroll: true });\n    }\n    completionSourceRef.current = null;\n  }, [complete]);\n\n  useLayoutEffect(() => {\n    if (!resetFocusPending.current || complete || step !== \"workspace\") return;\n    resetFocusPending.current = false;\n    nameRef.current?.focus({ preventScroll: true });\n  }, [complete, step]);\n\n  const steps = useMemo<readonly TidalMultiStepFormStep[]>(\n    () => [\n      {\n        id: \"workspace\",\n        label: \"Workspace\",\n        title: \"Name the sample workspace\",\n        description:\n          \"Use a clear label and a fictional team-size range for this local setup preview.\",\n        complete: step !== \"workspace\",\n        content: (\n          <div className=\"multi-step-demo-fields\">\n            <label>\n              <span>Workspace name</span>\n              <input\n                ref={nameRef}\n                name=\"workspaceName\"\n                value={workspaceName}\n                required\n                minLength={3}\n                autoComplete=\"organization\"\n                onChange={(event) => {\n                  setWorkspaceName(event.currentTarget.value);\n                  setError(\"\");\n                }}\n              />\n              <small>At least three characters. This value is not saved.</small>\n            </label>\n            <label>\n              <span>Fictional team size</span>\n              <select\n                name=\"teamSize\"\n                value={teamSize}\n                required\n                onChange={(event) => setTeamSize(event.currentTarget.value)}\n              >\n                <option value=\"1-5\">1–5 people</option>\n                <option value=\"6-15\">6–15 people</option>\n                <option value=\"16-40\">16–40 people</option>\n              </select>\n            </label>\n          </div>\n        ),\n      },\n      {\n        id: \"preferences\",\n        label: \"Preferences\",\n        title: \"Choose local preview defaults\",\n        description:\n          \"These controls change only the review shown in this browser preview.\",\n        complete: step === \"review\",\n        content: (\n          <div className=\"multi-step-demo-fields\">\n            <fieldset className=\"multi-step-demo-choice-group\">\n              <legend>Sample workspace access</legend>\n              <label>\n                <input\n                  type=\"radio\"\n                  name=\"visibility\"\n                  value=\"private\"\n                  checked={visibility === \"private\"}\n                  onChange={() => setVisibility(\"private\")}\n                />\n                <span>\n                  <strong>Private sample</strong>\n                  <small>Only this preview displays the setting.</small>\n                </span>\n              </label>\n              <label>\n                <input\n                  type=\"radio\"\n                  name=\"visibility\"\n                  value=\"team\"\n                  checked={visibility === \"team\"}\n                  onChange={() => setVisibility(\"team\")}\n                />\n                <span>\n                  <strong>Team sample</strong>\n                  <small>No people are invited or connected.</small>\n                </span>\n              </label>\n            </fieldset>\n            <label className=\"multi-step-demo-check\">\n              <input\n                type=\"checkbox\"\n                name=\"weeklySummary\"\n                checked={weeklySummary}\n                onChange={(event) =>\n                  setWeeklySummary(event.currentTarget.checked)\n                }\n              />\n              <span>\n                <strong>Show a weekly sample summary</strong>\n                <small>No email or notification is sent.</small>\n              </span>\n            </label>\n          </div>\n        ),\n      },\n      {\n        id: \"review\",\n        label: \"Review\",\n        title: \"Review the local setup\",\n        description:\n          \"Finish to show a local completion state. No workspace or account is created.\",\n        content: (\n          <dl className=\"multi-step-demo-review\">\n            <div>\n              <dt>Workspace</dt>\n              <dd>{workspaceName || \"Not provided\"}</dd>\n            </div>\n            <div>\n              <dt>Team size</dt>\n              <dd>{teamSize} people</dd>\n            </div>\n            <div>\n              <dt>Access</dt>\n              <dd>\n                {visibility === \"team\" ? \"Team sample\" : \"Private sample\"}\n              </dd>\n            </div>\n            <div>\n              <dt>Summary</dt>\n              <dd>{weeklySummary ? \"Shown locally\" : \"Hidden\"}</dd>\n            </div>\n          </dl>\n        ),\n      },\n    ],\n    [step, teamSize, visibility, weeklySummary, workspaceName],\n  );\n\n  function handleInvalid(event: InvalidEvent<HTMLFormElement>) {\n    const control = event.target as HTMLInputElement | HTMLSelectElement;\n    if (control.name === \"workspaceName\") {\n      setError(\n        \"Enter at least three characters for the sample workspace name.\",\n      );\n    } else {\n      setError(\"Complete the required field before continuing.\");\n    }\n  }\n\n  function finish(event: FormEvent<HTMLFormElement>) {\n    event.preventDefault();\n    if (busy) return;\n    completionSourceRef.current =\n      ((event.nativeEvent as SubmitEvent).submitter as HTMLElement | null) ??\n      (document.activeElement as HTMLElement | null);\n    setBusy(true);\n    setError(\"\");\n    setMessage(\"Checking the local sample setup…\");\n    timerRef.current = window.setTimeout(() => {\n      timerRef.current = null;\n      setBusy(false);\n      setComplete(true);\n      setMessage(\n        \"Sample setup complete in local preview state. Nothing was created or saved.\",\n      );\n    }, 600);\n  }\n\n  function cancelCheck() {\n    if (timerRef.current !== null) window.clearTimeout(timerRef.current);\n    timerRef.current = null;\n    setBusy(false);\n    setMessage(\"Local completion check cancelled. No setup was created.\");\n    requestAnimationFrame(() =>\n      continueRef.current?.focus({ preventScroll: true }),\n    );\n  }\n\n  function reset() {\n    if (timerRef.current !== null) window.clearTimeout(timerRef.current);\n    timerRef.current = null;\n    resetFocusPending.current = true;\n    setWorkspaceName(\"Northstar studio\");\n    setTeamSize(\"6-15\");\n    setVisibility(\"team\");\n    setWeeklySummary(true);\n    setError(\"\");\n    setBusy(false);\n    setStep(\"workspace\");\n    setComplete(false);\n    setMessage(\"Local sample reset. No saved setup exists.\");\n    completionSourceRef.current = null;\n  }\n\n  if (complete) {\n    return (\n      <section className=\"multi-step-demo\">\n        <div className=\"multi-step-demo-complete\">\n          <div className=\"multi-step-demo-complete-mark\" aria-hidden=\"true\">\n            ✓\n          </div>\n          <span>Local preview</span>\n          <h3 ref={completeHeadingRef} tabIndex={-1}>\n            Sample setup complete\n          </h3>\n          <p>{message}</p>\n          <button type=\"button\" onClick={reset}>\n            Adjust sample setup\n          </button>\n        </div>\n      </section>\n    );\n  }\n\n  return (\n    <section className=\"multi-step-demo\" aria-label=\"Multi-step form preview\">\n      <div className=\"multi-step-demo-frame\">\n        <TidalMultiStepForm\n          id={formName}\n          title=\"Workspace setup\"\n          eyebrow={null}\n          description=\"Enter workspace details, choose preferences, and review.\"\n          steps={steps}\n          currentStepId={step}\n          onStepChange={(next) => {\n            setError(\"\");\n            setStep(next as StepId);\n            setMessage(`Moved to the ${next} step in local preview state.`);\n          }}\n          onFinalSubmit={finish}\n          onInvalid={handleInvalid}\n          onInput={() => setError(\"\")}\n          error={error || null}\n          busy={busy}\n          persistentFields={\n            <>\n              <input type=\"hidden\" name=\"workspaceName\" value={workspaceName} />\n              <input type=\"hidden\" name=\"teamSize\" value={teamSize} />\n              <input type=\"hidden\" name=\"visibility\" value={visibility} />\n              <input\n                type=\"hidden\"\n                name=\"weeklySummary\"\n                value={weeklySummary ? \"shown\" : \"hidden\"}\n              />\n            </>\n          }\n          continueButtonRef={continueRef}\n          footer={\n            <div className=\"multi-step-demo-footer\">\n              <span role=\"status\" aria-live=\"polite\">\n                {message}\n              </span>\n              {busy ? (\n                <button type=\"button\" onClick={cancelCheck}>\n                  Cancel local check\n                </button>\n              ) : null}\n            </div>\n          }\n        />\n      </div>\n    </section>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <MultiStepFormDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/multi-step-form.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "value",
      "type": "inferred-from-existing-demo",
      "initial": "\"Northstar studio\"",
      "setter": "setWorkspaceName",
      "proposalCanBeRejected": false
    },
    {
      "prop": "checked",
      "type": "inferred-from-existing-demo",
      "initial": "true",
      "setter": "setWeeklySummary",
      "proposalCanBeRejected": false
    },
    {
      "prop": "currentStepId",
      "type": "inferred-from-existing-demo",
      "initial": "\"workspace\"",
      "setter": "setStep",
      "proposalCanBeRejected": false
    },
    {
      "prop": "busy",
      "type": "inferred-from-existing-demo",
      "initial": "false",
      "setter": "setBusy",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onChange",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onClick",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onFinalSubmit",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onInput",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onInvalid",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onStepChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": true,
    "names": [
      "workspaceName",
      "teamSize",
      "visibility",
      "weeklySummary"
    ],
    "expectedFormData": {
      "workspaceName": "fixture value",
      "teamSize": "fixture value",
      "visibility": "fixture value",
      "weeklySummary": "fixture value"
    },
    "submitBehavior": "The existing demo's native form callback receives the submit event.",
    "resetBehavior": "Native reset behavior remains available where the demo renders a resettable control.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Existing demo label or ARIA prop",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "The existing error or alert path remains consumer-owned and should be announced by the rendered semantics.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
