{
  "component": {
    "id": "waitlist-form",
    "name": "Waitlist form",
    "tier": "pro",
    "exampleId": "waitlist-form",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/waitlist-form-demo.tsx",
    "exportName": "WaitlistFormDemo",
    "sha256": "a3e7d804500068f827836a6ee5860bd1c16ae0904048da016669c2a2013e0fd7",
    "helperImports": [],
    "directComponentImports": [
      "waitlist-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/waitlist-form",
    "registryUrl": "https://tidalui.com/r/pro/waitlist-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/waitlist-form",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/waitlist-form",
      "registryUrl": "https://tidalui.com/r/pro/waitlist-form.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/waitlist-form.tsx",
    "exports": [
      "TidalWaitlistForm"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/waitlist-form.css",
      "components/ui/form-field.css",
      "components/ui/textarea.css",
      "components/ui/native-select.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "lucide-react"
    ],
    "registry": [
      "https://tidalui.com/r/form-field.json",
      "https://tidalui.com/r/textarea.json",
      "https://tidalui.com/r/tidal-button.json",
      "@tidal-pro/native-select"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "form-field",
      "native-select",
      "textarea",
      "tidal-button",
      "waitlist-form"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/waitlist-form.css",
      "components/ui/form-field.css",
      "components/ui/textarea.css",
      "components/ui/native-select.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/waitlist-form.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalWaitlistForm } from \"./components/ui/waitlist-form\";\n\nimport \"./components/ui/waitlist-form.css\";\n\nimport \"./components/ui/form-field.css\";\n\nimport \"./components/ui/textarea.css\";\n\nimport \"./components/ui/native-select.css\";\n\n\n\nexport function WaitlistFormDemo() {\n  const [role, setRole] = useState(\"\"),\n    [status, setStatus] = useState<\"idle\" | \"success\">(\"idle\");\n  return (\n    <TidalWaitlistForm\n      title=\"Get early access\"\n      description=\"Join the early-access list. Share your role and what you plan to build.\"\n      roles={[\n        { id: \"founder\", label: \"Founder\" },\n        { id: \"designer\", label: \"Designer\" },\n        { id: \"developer\", label: \"Developer\" },\n      ]}\n      role={role}\n      onRoleChange={setRole}\n      showNotes\n      status={status}\n      success=\"Your sample signup is complete. Nothing was sent or saved.\"\n      onEdit={() => setStatus(\"idle\")}\n      onSubmit={(e) => {\n        e.preventDefault();\n        setStatus(\"success\");\n      }}\n      emailProps={{ placeholder: \"you@company.com\" }}\n      notesProps={{\n        placeholder: \"A customer portal, an internal tool…\",\n        maxLength: 240,\n      }}\n      footer=\"Local preview. No signup or email is sent.\"\n    />\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <WaitlistFormDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/waitlist-form.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "role",
      "type": "inferred-from-existing-demo",
      "initial": "\"\"",
      "setter": "setRole",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onEdit",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onRoleChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onSubmit",
      "nativeType": "React synthetic event or native callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": true,
    "names": [],
    "expectedFormData": {},
    "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": "Consumer-provided label remains required where the component API requires one.",
    "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": []
}
