{
  "component": {
    "id": "select-menu",
    "name": "Select menu",
    "tier": "pro",
    "exampleId": "select-menu",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/core-demos.tsx",
    "exportName": "SelectDemo",
    "sha256": "32d9e2a9fa19dd836f2168ad6c5abc567a3b570947bbe0d7a5f37b0032228f77",
    "helperImports": [],
    "directComponentImports": [
      "select-menu"
    ],
    "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/select-menu",
    "registryUrl": "https://tidalui.com/r/pro/select-menu.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/select-menu",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/select-menu",
      "registryUrl": "https://tidalui.com/r/pro/select-menu.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/select-menu.tsx",
    "exports": [
      "TidalSelect"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/select-menu.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "@radix-ui/react-select",
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "select-menu"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/select-menu.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/select-menu.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/demo-styles.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalSelect } from \"./components/ui/select-menu\";\n\nimport \"./components/ui/select-menu.css\";\n\n\n\nconst tidalExampleStyles = \".select-specimen{width:100%;max-width:320px;background:var(--t-surface);border:1px solid var(--t-border);border-radius:var(--t-radius-card);padding:24px;box-shadow:0 10px 20px -12px #00000026,0 1px 2px #00000008}.select-specimen>.demo-eyebrow{display:block;font-size:11px;margin-bottom:12px}.select-specimen>h3{font-size:22px;color:var(--t-ink);letter-spacing:-.7px;margin:0 0 24px}.select-demo-status{font-size:11px;color:var(--t-muted);margin:18px 0 0;padding-top:15px;border-top:1px solid var(--t-border)}\";\n\nexport function SelectDemo({ theme = \"light\" }: { theme?: \"light\" | \"dark\" }) {\n  const [value, setValue] = useState(\"pro\");\n  return (\n    <div className=\"select-specimen\">\n      <TidalSelect\n        label=\"Workspace plan\"\n        value={value}\n        onValueChange={setValue}\n        theme={theme}\n        options={[\n          {\n            value: \"starter\",\n            label: \"Starter\",\n            description: \"Up to 3 projects and 1 workspace.\",\n          },\n          {\n            value: \"pro\",\n            label: \"Pro\",\n            description: \"Unlimited projects and 3 workspaces.\",\n          },\n          {\n            value: \"team\",\n            label: \"Team\",\n            description: \"Unlimited projects and 10 workspaces.\",\n          },\n          {\n            value: \"enterprise\",\n            label: \"Enterprise\",\n            description: \"Coming soon.\",\n            disabled: true,\n          },\n        ]}\n      />\n      <p className=\"select-demo-status\" role=\"status\">\n        {value === \"starter\"\n          ? \"3 projects · 1 workspace\"\n          : value === \"pro\"\n            ? \"Unlimited projects · 3 workspaces\"\n            : \"Unlimited projects · 10 workspaces\"}\n      </p>\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <SelectDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/select-menu.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "value",
      "type": "inferred-from-existing-demo",
      "initial": "\"pro\"",
      "setter": "setValue",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onValueChange",
      "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."
    }
  ],
  "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": "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": "Verify focus returns to the invoking control after dismissal.",
    "errorAnnouncement": "No error announcement path is present in this demo; the consumer owns validation messaging.",
    "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": []
}
