{
  "format": "ui-contract-stories/1",
  "componentId": "shadcn:Tooltip",
  "purpose": "Source-independent reusable semantic fixtures. Static HTML specifies expected anatomy/state; actual pinned React adapter and protocol cases separately establish behavior.",
  "stories": [
    {
      "id": "open",
      "name": "Open",
      "inputs": {
        "open": true
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"bottom\" aria-hidden=\"true\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "closed",
      "name": "Closed",
      "inputs": {
        "open": false
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "rtl",
      "name": "Rtl",
      "inputs": {},
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"bottom\" aria-hidden=\"true\" dir=\"rtl\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "side-top",
      "name": "Side top",
      "inputs": {
        "side": "top"
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"top\" aria-hidden=\"true\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "side-right",
      "name": "Side right",
      "inputs": {
        "side": "right"
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"right\" aria-hidden=\"true\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "side-bottom",
      "name": "Side bottom",
      "inputs": {
        "side": "bottom"
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"bottom\" aria-hidden=\"true\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    },
    {
      "id": "side-left",
      "name": "Side left",
      "inputs": {
        "side": "left"
      },
      "visualState": "default",
      "fixture": {
        "html": "<button type=\"button\" data-slot=\"tooltip-trigger\" aria-describedby=\"persistent-help\">Save</button><div data-slot=\"tooltip-content\" data-side=\"left\" aria-hidden=\"true\">Save the current document<span class=\"cn-tooltip-arrow\" aria-hidden=\"true\"></span></div><p id=\"persistent-help\">Save stores the current document in the project.</p>"
      },
      "steps": [],
      "expectation": "Actual source parts and caller-owned content match the semantic adapter. Static visibility is a fixture; primitive lifecycle, event cancellation and focus are checked in the real target."
    }
  ]
}
