{
  "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:2904"
  },
  "stories": [
    {
      "id": "figma-1987-1466",
      "name": "Tooltip / Placement=Top",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1987:1466",
        "part": "1987:1467"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1987-1463",
      "name": "Tooltip / Placement=Bottom",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1987:1463",
        "part": "1987:1467"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1987-1461",
      "name": "Tooltip / Placement=Left",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1987:1461",
        "part": "1987:1467"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1987-1462",
      "name": "Tooltip / Placement=Right",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1987:1462",
        "part": "1987:1467"
      },
      "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": "FOCUS_IN",
      "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": "Keyboard focus opens without hover delay; blur, Escape or trigger press can close. Focus never moves into the tooltip and there is no Tab trap. The trigger must carry an accessible name closely matching the visual label. The pinned primitive intentionally supplies a visual-only hint, not an automatic ARIA tooltip/description relationship."
    },
    {
      "id": "instance-semantic-relations",
      "html": "accessibility.html",
      "state": "open"
    }
  ]
}
