{
  "format": "shadcn-figma-stories/1",
  "scope": "Static native design variants and documented examples; not executable interaction tests.",
  "source": {
    "path": "provenance://source/.figma-pool%2Fshadcn.fig",
    "sha256": "ccbe95f20f501389a322d0f6de2c90ca79126a33355f1b31e2b1dcc7c8e2b3d5",
    "page": "73:1982"
  },
  "stories": [
    {
      "id": "figma-2174-551",
      "name": "PopoverHeader / Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2174:551",
        "part": "2174:552"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2174-550",
      "name": "PopoverHeader / Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2174:550",
        "part": "2174:552"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    }
  ],
  "contractProtocol": "SCXML consumes source-normalized interaction/callback transactions. eventDetails is the source callback object. onOpenChange/onValueChange sends project those observed callbacks, never dispatch a second DOM event. _effect.* entries are internal source focus/application effects, not public component events. Controlled SET_OPEN/SET_VALUE synchronizes props without fabricating a callback.",
  "contractCases": [
    {
      "id": "source-default-and-accepted-change",
      "event": "TRIGGER_PRESS",
      "expected": "The source callback and documented state policy apply; controlled props remain authoritative."
    },
    {
      "id": "callback-cancellation",
      "expected": "The proposed callback can be observed while the public state remains unchanged."
    },
    {
      "id": "keyboard-and-dismissal",
      "expected": "Default modal=false allows outside interaction and focus-out dismissal. Escape/outside press close; the popup focuses an eligible descendant and normally restores the trigger. Modal/trap-focus are explicit Root choices with the documented Close-control requirements for touch screen readers."
    },
    {
      "id": "instance-semantic-relations",
      "html": "accessibility.html",
      "state": "open"
    }
  ]
}
