{
  "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": "2731:3260"
  },
  "stories": [
    {
      "id": "figma-2731-3546",
      "name": "Trace line / State=Default",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2731:3546",
        "part": "2731:3856"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2731-3857",
      "name": "Trace line / State=Hover",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2731:3857",
        "part": "2731:3856"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2731-3864",
      "name": "Trace line / State=Destructive",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2731:3864",
        "part": "2731:3856"
      },
      "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": "Trace and line/title/description are passive wrappers. TraceLine status is running|error|pending; there is no automatic successful state, log transport or retry action. TraceTitle includes motion-reduce:shimmer-none. Optional TraceCollapsible/Trigger/Content delegate the actual Collapsible component. Its controlled open prop requires onOpenChange in the wrapper union; defaultOpen remains available. Trigger Enter/Space toggles, disabled suppresses changes, cancellation/control authority follows Collapsible; Escape does not close it and focus is not trapped."
    },
    {
      "id": "caller-versus-source-ownership",
      "expected": "This family deliberately composes the complete Collapsible reference for disclosure behavior, rather than pretending all trace lines are decorative or inventing an independent trace expansion API. Error/recovery wording is caller content; optional live announcements are task-owned."
    },
    {
      "id": "meaningful-text-under-state-change",
      "expected": "TraceTitle/Description carry actual step/status/error text; TraceIcon is hidden by the source. Running shimmer, opacity and red color do not replace status wording. Expanded detail is readable native content."
    }
  ]
}
