{
  "component": {
    "id": "command-menu",
    "name": "Command menu",
    "tier": "pro",
    "exampleId": "command-menu",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/core-demos.tsx",
    "exportName": "CommandDemo",
    "sha256": "dcee327faab13b9c4ec3b7bac349dab94c7e18f5bc5431084be998c7e4b402a6",
    "helperImports": [],
    "directComponentImports": [
      "command-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/command-menu",
    "registryUrl": "https://tidalui.com/r/pro/command-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/command-menu",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/command-menu",
      "registryUrl": "https://tidalui.com/r/pro/command-menu.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/command-menu.tsx",
    "exports": [
      "TidalCommandMenu"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/command-menu.css",
      "components/ui/keyboard-key.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "cmdk",
      "lucide-react"
    ],
    "registry": [
      "https://tidalui.com/r/keyboard-key.json"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "command-menu",
      "keyboard-key"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/command-menu.css",
      "components/ui/keyboard-key.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/command-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 { LayoutDashboard, FolderPlus, Users, Settings } from \"lucide-react\";\n\nimport { TidalCommandMenu } from \"./components/ui/command-menu\";\n\nimport \"./components/ui/command-menu.css\";\n\nimport \"./components/ui/keyboard-key.css\";\n\n\n\nconst tidalExampleStyles = \".command-specimen{width:100%;max-width:420px}.command-demo-status{font-size:11px;text-align:center;color:var(--t-muted);margin:13px 0 0}\";\n\nexport function CommandDemo() {\n  const [chosen, setChosen] = useState(\"\");\n  return (\n    <div className=\"command-specimen\">\n      <TidalCommandMenu\n        actions={[\n          {\n            id: \"dashboard\",\n            label: \"Go to dashboard\",\n            group: \"Navigate\",\n            icon: LayoutDashboard,\n            shortcut: \"G D\",\n            onSelect: () => setChosen(\"Sample dashboard selected.\"),\n          },\n          {\n            id: \"projects\",\n            label: \"Create a project\",\n            group: \"Actions\",\n            icon: FolderPlus,\n            shortcut: \"N P\",\n            onSelect: () => setChosen(\"Create project action selected.\"),\n          },\n          {\n            id: \"team\",\n            label: \"Invite a teammate\",\n            group: \"Actions\",\n            icon: Users,\n            onSelect: () => setChosen(\"Invite action selected.\"),\n          },\n          {\n            id: \"settings\",\n            label: \"Open settings\",\n            group: \"Navigate\",\n            icon: Settings,\n            shortcut: \"G S\",\n            onSelect: () => setChosen(\"Settings action selected.\"),\n          },\n        ]}\n      />\n      <p className=\"command-demo-status\" role=\"status\">\n        {chosen || \"Choose an action.\"}\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      <CommandDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/command-menu.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [],
  "nativeForm": {
    "participates": false,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "No form submit is present in the existing demo.",
    "resetBehavior": "No reset control is present in the existing demo.",
    "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": "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": "No error fixture is exposed by the existing demo; inject a consumer-owned failure state before production use.",
      "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": []
}
