{
  "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:1985"
  },
  "stories": [
    {
      "id": "figma-2070-217",
      "name": "Scrollbar / Orientation=Vertical",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2070:217",
        "part": "2070:219"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2070-218",
      "name": "Scrollbar / Orientation=Horizontal",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2070:218",
        "part": "2070:219"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2269-2200",
      "name": "Scrollbar / Orientation=Orientation3",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2269:2200",
        "part": "2070:219"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    }
  ],
  "referenceScope": "Pinned native/default content composition; original static Figma variants remain in stories. Source wrapper APIs and optional native render semantics are described in CEM/README.",
  "contractCases": [
    {
      "id": "source-dynamic-state-and-alternative",
      "html": "accessibility.html",
      "expected": "Root is role=presentation and wraps an internally created Viewport, vertical ScrollBar and Corner. Scrollbar/Corner are aria-hidden. Viewport is tabindex=0 only while at least one axis overflows, otherwise -1. Native scrolling drives viewport position, edge and thumb geometry. Root props are not Viewport props; the wrapper exports no Viewport and does not promise forwarding onScroll or aria-label to it. External sizing must make the viewport constrained. ScrollBar orientation defaults vertical; horizontal is explicitly composed. It does not auto-follow messages or preserve chat anchors; MessageScroller owns that behavior."
    },
    {
      "id": "caller-versus-source-ownership",
      "expected": "This reference uses an outer labelled section because the wrapper Root remains presentational. Native keyboard/wheel/touch scrolling and focusable descendants remain available. Browser scroll position is internal viewport state, not an invented Root value/onValueChange API."
    },
    {
      "id": "meaningful-text-under-state-change",
      "expected": "The region has a caller-supplied real heading and all scrollable content remains native text/list/link. The visual scrollbar is aria-hidden; it is not a second fake adjustable widget. Overflow must not be the only indication that more content exists."
    }
  ]
}
