{
  "component": {
    "id": "popover",
    "name": "Popover",
    "tier": "pro",
    "exampleId": "popover",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/popover-demo.tsx",
    "exportName": "PopoverDemo",
    "sha256": "9c40e772694460d63c15700455da39f95177a8d8726d6eb7cd6f1f9970c9485b",
    "helperImports": [],
    "directComponentImports": [
      "form-field",
      "popover",
      "segmented-control",
      "tidal-button"
    ],
    "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/popover",
    "registryUrl": "https://tidalui.com/r/pro/popover.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/popover",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/popover",
      "registryUrl": "https://tidalui.com/r/pro/popover.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    },
    {
      "order": 2,
      "kind": "demo-only-additional",
      "dependency": "https://tidalui.com/r/form-field.json",
      "purpose": "complete-example-demo-dependency",
      "command": "npx shadcn@latest add https://tidalui.com/r/form-field.json",
      "registryUrl": "https://tidalui.com/r/form-field.json",
      "access": "free",
      "sourceDelivery": "public-registry",
      "requiresAuthorization": false
    },
    {
      "order": 3,
      "kind": "demo-only-additional",
      "dependency": "https://tidalui.com/r/segmented-control.json",
      "purpose": "complete-example-demo-dependency",
      "command": "npx shadcn@latest add https://tidalui.com/r/segmented-control.json",
      "registryUrl": "https://tidalui.com/r/segmented-control.json",
      "access": "free",
      "sourceDelivery": "public-registry",
      "requiresAuthorization": false
    },
    {
      "order": 4,
      "kind": "demo-only-additional",
      "dependency": "https://tidalui.com/r/tidal-button.json",
      "purpose": "complete-example-demo-dependency",
      "command": "npx shadcn@latest add https://tidalui.com/r/tidal-button.json",
      "registryUrl": "https://tidalui.com/r/tidal-button.json",
      "access": "free",
      "sourceDelivery": "public-registry",
      "requiresAuthorization": false
    }
  ],
  "imports": {
    "componentPath": "components/ui/popover.tsx",
    "exports": [
      "TidalButton",
      "TidalField",
      "TidalPopover",
      "TidalPopoverClose",
      "TidalPopoverContent",
      "TidalPopoverTrigger",
      "TidalSegmentedControl"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/popover.css",
      "components/ui/form-field.css",
      "components/ui/segmented-control.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "@radix-ui/react-compose-refs@1.1.5",
      "@radix-ui/react-popover@1.2.0",
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [
      "https://tidalui.com/r/form-field.json",
      "https://tidalui.com/r/segmented-control.json",
      "https://tidalui.com/r/tidal-button.json"
    ],
    "installClosure": [
      "form-field",
      "popover",
      "segmented-control",
      "tidal-button"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/popover.css",
      "components/ui/form-field.css",
      "components/ui/segmented-control.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/popover.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/popover-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState, useRef, useId, type CSSProperties } from \"react\";\n\nimport { Folder, Share2, LockKeyhole, Eye, PenLine, UserRound, Plus, Check, RotateCcw } from \"lucide-react\";\n\nimport { TidalPopover, TidalPopoverTrigger, TidalPopoverContent, TidalPopoverClose } from \"./components/ui/popover\";\n\nimport { TidalButton } from \"./components/ui/tidal-button\";\n\nimport { TidalField } from \"./components/ui/form-field\";\n\nimport { TidalSegmentedControl } from \"./components/ui/segmented-control\";\n\nimport \"./components/ui/popover.css\";\n\nimport \"./components/ui/form-field.css\";\n\nimport \"./components/ui/segmented-control.css\";\n\nfunction tidalExampleAvatarDataUri(seed: unknown) {\n  const text = String(seed).replace(/[^a-z0-9]/gi, \"\").slice(-2) || \"UI\";\n  const palette = [\"#333333\", \"#555555\", \"#777777\", \"#999999\", \"#bbbbbb\"];\n  const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\"><rect width=\"96\" height=\"96\" rx=\"48\" fill=\"${color}\"/><circle cx=\"48\" cy=\"38\" r=\"17\" fill=\"white\" fill-opacity=\".92\"/><path d=\"M18 92c3-22 15-34 30-34s27 12 30 34\" fill=\"white\" fill-opacity=\".92\"/></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nfunction tidalExampleImageDataUri(label: string) {\n  const safeLabel = label.replace(/[<>&]/g, \"\").slice(0, 28) || \"Sample image\";\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1200 675\"><defs><linearGradient id=\"g\" x1=\"0\" x2=\"1\" y1=\"0\" y2=\"1\"><stop stop-color=\"#171717\"/><stop offset=\"1\" stop-color=\"#555555\"/></linearGradient></defs><rect width=\"1200\" height=\"675\" fill=\"url(#g)\"/><circle cx=\"950\" cy=\"100\" r=\"260\" fill=\"white\" fill-opacity=\".08\"/><text x=\"80\" y=\"570\" fill=\"white\" font-family=\"system-ui,sans-serif\" font-size=\"64\" font-weight=\"700\">${safeLabel}</text></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nconst tidalExampleStyles = \".tidal-scope .popover-specimen{width:100%;max-width:640px;padding:28px;border:1px solid var(--t-border);border-radius:var(--t-radius-card);background:var(--t-surface);box-shadow:0 18px 36px -28px #00000030}\\n.tidal-scope .popover-specimen>h3{font-size:29px;line-height:1.1;letter-spacing:-1px;font-weight:500;margin:14px 0 26px}.tidal-scope .popover-specimen>h3 em{font:italic 37px/1.1 \\\"Instrument Serif\\\",Georgia,serif;letter-spacing:-.8px}\\n.tidal-scope .popover-demo-workspace{border:1px solid var(--t-border);border-radius:16px;overflow:hidden;background:var(--t-subtle)}\\n.tidal-scope .popover-demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 16px;border-bottom:1px solid var(--t-border);background:var(--t-surface)}\\n.tidal-scope .popover-demo-toolbar>span{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:550;min-width:0}.tidal-scope .popover-demo-toolbar .tidal-popover-trigger{font-size:11px;flex-shrink:0;padding:0 11px}\\n.tidal-scope .popover-demo-paper{padding:24px;min-width:0;background:linear-gradient(140deg,#2a2a2a,#151515);color:#f2f2f2;box-shadow:inset 0 1px 0 #ffffff09;position:relative}\\n.tidal-scope .popover-demo-paper-top{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#b3b3b3;letter-spacing:1px}.tidal-scope .popover-demo-paper h4{font-size:17px;font-weight:500;letter-spacing:-.4px;margin:30px 0 10px}\\n.tidal-scope .popover-demo-paper>p{font-size:25px;line-height:1.2;letter-spacing:-.7px;color:#f2f2f2;margin:0}.tidal-scope .popover-demo-paper>p em{font:italic 30px/1.2 \\\"Instrument Serif\\\",Georgia,serif}\\n.tidal-scope .popover-demo-notes{display:grid;gap:7px;margin:22px 0 27px}.tidal-scope .popover-demo-notes>span{display:block;height:2px;background:#ffffff19;border-radius:3px;width:100%;transition:width 460ms var(--t-ease-out)}.tidal-scope .popover-demo-notes>span:nth-child(2){width:76%}.tidal-scope .popover-demo-notes>span:last-child{width:54%}.tidal-scope .popover-specimen[data-access=edit] .popover-demo-notes>span:nth-child(2){width:93%}.tidal-scope .popover-specimen[data-access=edit] .popover-demo-notes>span:last-child{width:68%}\\n.tidal-scope .popover-demo-people{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff15;padding-top:17px}.tidal-scope .popover-demo-avatars{display:flex;gap:6px;flex-shrink:0}.tidal-scope .popover-demo-avatars>span{display:grid;place-items:center;width:32px;height:32px;border:2px solid #1b1b1b;border-radius:50%;margin-inline-start:0;background:#dedede;color:#282828;animation:popover-member-enter 500ms var(--t-ease-spring) both;animation-delay:calc(var(--member-index)*40ms)}.tidal-scope .popover-demo-avatars>span:nth-child(2){background:#aaaaaa}.tidal-scope .popover-demo-avatars>span:nth-child(3){background:#7e7e7e;color:#ffffff}.tidal-scope .popover-demo-avatars>span:nth-child(4){background:#ffffff;box-shadow:0 0 0 3px #ffffff13}\\n.tidal-scope .popover-demo-member-reading{display:flex;align-items:center;gap:6px;font-size:11px;color:#cecece}.tidal-scope .popover-demo-count{height:1.12em;overflow:hidden;font-size:17px;font-weight:550;color:#ffffff;display:inline-block;line-height:1.12}.tidal-scope .popover-demo-count>span{display:flex;flex-direction:column;transition:transform 520ms var(--t-ease-spring)}.tidal-scope .popover-demo-count>span>span{height:1.12em;line-height:1.12;flex:none}\\n.tidal-scope .popover-demo-access{display:flex;align-items:center;gap:12px;padding:16px;background:var(--t-surface);border-top:1px solid var(--t-border)}.tidal-scope .popover-demo-access-icon{display:grid;place-items:center;position:relative;width:36px;height:36px;border:1px solid var(--t-border);border-radius:9px;background:var(--t-subtle);flex-shrink:0}.tidal-scope .popover-demo-access-icon svg{grid-area:1/1;transition:opacity 200ms,transform 360ms var(--t-ease-spring)}.tidal-scope .popover-demo-access-icon svg:last-child{opacity:0;transform:translateY(6px) scale(.7)}.tidal-scope .popover-specimen[data-access=edit] .popover-demo-access-icon svg:first-child{opacity:0;transform:translateY(-6px) scale(.7)}.tidal-scope .popover-specimen[data-access=edit] .popover-demo-access-icon svg:last-child{opacity:1;transform:none}.tidal-scope .popover-demo-access small{display:block;font-size:11px;letter-spacing:.8px;color:var(--t-muted);margin-bottom:5px}.tidal-scope .popover-demo-access strong{display:block;font-size:11px;font-weight:500}.tidal-scope .popover-demo-access-badge{margin-inline-start:auto;font-size:11px;white-space:nowrap;padding:5px 7px;border:1px solid var(--t-border);border-radius:6px;background:var(--t-subtle)}\\n.tidal-scope .popover-demo-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.tidal-scope .popover-demo-bottom>p{font-size:11px;line-height:1.6;color:var(--t-muted);max-width:270px}.tidal-scope .popover-demo-bottom .tidal-button{font-size:11px;padding-inline:10px;flex-shrink:0}.tidal-scope .popover-demo-note{font-size:11px;color:var(--t-muted);margin-top:12px;line-height:1.7}\\n.tidal-scope .popover-demo-form>.tidal-button{width:100%;margin-top:10px;font-size:11px}.tidal-scope .popover-demo-permission{margin-top:22px}.tidal-scope .popover-demo-permission>.demo-eyebrow{display:block;margin-bottom:9px}.tidal-scope .popover-demo-permission>p{font-size:11px;color:var(--t-muted);margin:9px 0 0;line-height:1.6}.tidal-scope .popover-demo-guest{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid var(--t-border);border-bottom:1px solid var(--t-border);margin-top:18px}.tidal-scope .popover-demo-guest>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--t-border);border-radius:8px;background:var(--t-subtle);color:var(--t-muted)}.tidal-scope .popover-demo-guest>div{flex:1;min-width:0}.tidal-scope .popover-demo-guest strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.tidal-scope .popover-demo-guest small{display:block;font-size:11px;color:var(--t-muted);margin-top:4px}.tidal-scope .popover-demo-guest[data-added=true]>span{background:var(--t-ink);color:var(--t-surface);animation:popover-member-enter 420ms var(--t-ease-spring)}.tidal-scope .popover-demo-pop-status{font-size:11px;color:var(--t-muted);margin:12px 0 0;line-height:1.6}.tidal-scope .popover-demo-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.tidal-scope .popover-demo-footer>span{display:flex;align-items:center;gap:6px;color:var(--t-muted);font-size:11px}\\n@media(max-width:600px){.tidal-scope .popover-specimen{padding:18px}.tidal-scope .popover-demo-toolbar{padding:10px;gap:8px}.tidal-scope .popover-demo-toolbar>span{font-size:11px;gap:6px}.tidal-scope .popover-demo-toolbar .tidal-popover-trigger{font-size:11px;padding-inline:9px}.tidal-scope .popover-demo-paper{padding:18px}.tidal-scope .popover-demo-paper>p{font-size:21px}.tidal-scope .popover-demo-paper>p em{font-size:26px}.tidal-scope .popover-demo-access{padding:12px;gap:9px}.tidal-scope .popover-demo-access-badge{font-size:11px}.tidal-scope .popover-demo-member-reading{font-size:11px}}\\n@keyframes popover-member-enter{from{opacity:0;transform:translateY(7px) scale(.8)}to{opacity:1;transform:none}}\\n@media(prefers-reduced-motion:reduce){.tidal-scope .popover-specimen *,.tidal-scope .popover-demo-guest *{animation:none!important;transition:none!important}.tidal-scope .popover-demo-avatars>span{transform:none}}\\n\\n.tidal-scope .popover-demo-avatars>span{overflow:hidden}.tidal-scope .popover-demo-avatars img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}\";\n\nexport function PopoverDemo({ theme = \"light\" }: { theme?: \"light\" | \"dark\" }) {\n  const [open, setOpen] = useState(false),\n    [permission, setPermission] = useState(\"view\"),\n    [name, setName] = useState(\"\"),\n    [guest, setGuest] = useState(\"\"),\n    [error, setError] = useState(\"\"),\n    [status, setStatus] = useState(\"Open Share to edit the sample access.\");\n  const field = useRef<HTMLInputElement>(null),\n    id = useId(),\n    count = 3 + Number(Boolean(guest));\n  const edit = permission === \"edit\";\n  return (\n    <section\n      className=\"popover-specimen\"\n      data-access={permission}\n      data-open={open}\n    >\n      <div className=\"popover-demo-workspace\">\n        <div\n          className=\"popover-demo-toolbar\"\n          role=\"group\"\n          aria-label=\"Sample workspace actions\"\n        >\n          <span>\n            <Folder size={15} aria-hidden=\"true\" />\n            Northstar\n          </span>\n          <TidalPopover theme={theme} open={open} onOpenChange={setOpen}>\n            <TidalPopoverTrigger>\n              <Share2 size={14} aria-hidden=\"true\" />\n              Share\n            </TidalPopoverTrigger>\n            <TidalPopoverContent\n              title=\"Share Northstar\"\n              description=\"Choose access for this local preview. Nothing is sent.\"\n              align=\"end\"\n              footer={\n                <div className=\"popover-demo-footer\">\n                  <span>\n                    <LockKeyhole size={12} aria-hidden=\"true\" />\n                    Local sample\n                  </span>\n                  <TidalPopoverClose>\n                    Done\n                    <Check size={13} aria-hidden=\"true\" />\n                  </TidalPopoverClose>\n                </div>\n              }\n            >\n              <form\n                className=\"popover-demo-form\"\n                noValidate\n                onSubmit={(event) => {\n                  event.preventDefault();\n                  if (name.trim().length < 2) {\n                    setError(\"Use at least two characters.\");\n                    field.current?.focus({ preventScroll: true });\n                    return;\n                  }\n                  setGuest(name.trim());\n                  setName(\"\");\n                  setError(\"\");\n                  setStatus(\n                    guest\n                      ? `Sample guest updated to ${name.trim()}. Nothing was sent.`\n                      : `Sample guest ${name.trim()} added. Nothing was sent.`,\n                  );\n                }}\n              >\n                <TidalField\n                  ref={field}\n                  id={id + \"-guest\"}\n                  label=\"Guest name\"\n                  value={name}\n                  onChange={(event) => {\n                    setName(event.target.value);\n                    setError(\"\");\n                  }}\n                  maxLength={32}\n                  required\n                  error={error || undefined}\n                  placeholder=\"e.g. Casey\"\n                  autoComplete=\"off\"\n                />\n                <TidalButton type=\"submit\">\n                  <Plus size={14} aria-hidden=\"true\" />\n                  {guest ? \"Update sample guest\" : \"Add sample guest\"}\n                </TidalButton>\n              </form>\n              <div className=\"popover-demo-permission\">\n                <span className=\"demo-eyebrow\">SAMPLE GUEST ACCESS</span>\n                <TidalSegmentedControl\n                  label=\"Sample guest permission\"\n                  value={permission}\n                  onValueChange={(value) => {\n                    setPermission(value);\n                    setStatus(\n                      `${value === \"edit\" ? \"Editor\" : \"Viewer\"} access selected for this sample.`,\n                    );\n                  }}\n                  options={[\n                    { value: \"view\", label: \"Viewer\" },\n                    { value: \"edit\", label: \"Editor\" },\n                  ]}\n                />\n                <p>\n                  {edit\n                    ? \"Guests can change this sample workspace.\"\n                    : \"Guests can read this sample workspace.\"}\n                </p>\n              </div>\n              <div className=\"popover-demo-guest\" data-added={Boolean(guest)}>\n                <span>\n                  <UserRound size={16} aria-hidden=\"true\" />\n                </span>\n                <div>\n                  <strong>{guest || \"Room for one more\"}</strong>\n                  <small>\n                    {guest\n                      ? `Sample guest · ${edit ? \"Editor\" : \"Viewer\"}`\n                      : \"Add a fictional teammate above.\"}\n                  </small>\n                </div>\n                {guest ? <Check size={15} aria-hidden=\"true\" /> : null}\n              </div>\n              <p className=\"popover-demo-pop-status\">{status}</p>\n            </TidalPopoverContent>\n          </TidalPopover>\n        </div>\n        <article\n          className=\"popover-demo-paper\"\n          aria-label=\"Shared sample workspace\"\n        >\n          <div className=\"popover-demo-paper-top\">\n            <span>PROJECT BRIEF</span>\n            <span>DRAFT</span>\n          </div>\n          <h4>Product launch</h4>\n          <p>\n            Scope and milestones.\n            <br />\n            <em>Prepared for review.</em>\n          </p>\n          <div className=\"popover-demo-notes\" aria-hidden=\"true\">\n            <span />\n            <span />\n            <span />\n          </div>\n          <div className=\"popover-demo-people\">\n            <div\n              className=\"popover-demo-avatars\"\n              role=\"group\"\n              aria-label=\"Fictional teammates\"\n            >\n              {[\"Ava\", \"Noah\", \"Mila\", ...(guest ? [guest] : [])].map(\n                (person, index) => (\n                  <span\n                    key={person + \"-\" + index}\n                    title={person}\n                    role=\"img\"\n                    aria-label={person}\n                    style={{ \"--member-index\": index } as CSSProperties}\n                  >\n                    <img\n                      src={tidalExampleAvatarDataUri(String(index + 1).padStart(2, \"0\"))}\n                      alt=\"\"\n                      width={32}\n                      height={32}\n                    />\n                  </span>\n                ),\n              )}\n            </div>\n            <span className=\"popover-demo-member-reading\">\n              <span className=\"sr-only\">{count} members</span>\n              <span className=\"popover-demo-count\" aria-hidden=\"true\">\n                <span style={{ transform: `translateY(${-count * 1.12}em)` }}>\n                  {Array.from({ length: 10 }, (_, i) => (\n                    <span key={i}>{i}</span>\n                  ))}\n                </span>\n              </span>\n              <span aria-hidden=\"true\">members</span>\n            </span>\n          </div>\n        </article>\n        <div className=\"popover-demo-access\">\n          <span className=\"popover-demo-access-icon\">\n            <Eye size={16} aria-hidden=\"true\" />\n            <PenLine size={16} aria-hidden=\"true\" />\n          </span>\n          <div>\n            <small>SAMPLE LINK ACCESS</small>\n            <strong>{edit ? \"Editor access\" : \"Viewer access\"}</strong>\n          </div>\n          <span className=\"popover-demo-access-badge\">\n            {edit ? \"Can edit\" : \"Can view\"}\n          </span>\n        </div>\n      </div>\n      <div className=\"popover-demo-bottom\">\n        <p role=\"status\">{status}</p>\n        <TidalButton\n          variant=\"ghost\"\n          aria-label=\"Reset sharing sample\"\n          onClick={() => {\n            setGuest(\"\");\n            setPermission(\"view\");\n            setName(\"\");\n            setError(\"\");\n            setStatus(\"Open Share to edit the sample access.\");\n          }}\n        >\n          <RotateCcw size={14} aria-hidden=\"true\" />\n          Reset\n        </TidalButton>\n      </div>\n      <p className=\"popover-demo-note\">\n        Fictional members and permissions. No invitation, link sharing or\n        storage.\n      </p>\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      <PopoverDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/popover.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "open",
      "type": "inferred-from-existing-demo",
      "initial": "false",
      "setter": "setOpen",
      "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": "onOpenChange",
      "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": "onSubmit",
      "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": "onValueChange",
      "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": [],
    "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": "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": []
}
