{
  "componentId": "shadcn:Trace",
  "referenceComposition": "<div data-slot=\"trace\"><div data-slot=\"trace-collapsible\"><button type=\"button\" data-slot=\"trace-collapsible-trigger\" aria-expanded=\"true\" aria-controls=\"trace-panel\"><span data-slot=\"trace-line\" data-status=\"error\"><span data-slot=\"trace-icon\" aria-hidden=\"true\">!</span><span data-slot=\"trace-title\">Report generation failed</span><span data-slot=\"trace-description\">Connection unavailable</span></span><span data-slot=\"trace-icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\"><path d=\"m9 6 6 6-6 6\" fill=\"none\" stroke=\"currentColor\"/></svg></span></button><div data-slot=\"trace-collapsible-content\" id=\"trace-panel\"><div data-slot=\"trace-collapsible-content-inner\"><p>Check the connection, then retry from the report action.</p><button type=\"button\">Trace detail action</button></div></div></div></div>",
  "sourceFacts": "Exact wrapper props/slots/native output from sources/react-api-inventory.json and pinned code.",
  "contentAlternative": "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.",
  "updatesAndDescendants": "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.",
  "referenceDecision": "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.",
  "keyboard": "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.",
  "naming": "The HTML projection identifies all required visible content/labels. No unnecessary ARIA role/name is imposed on native text, headings, kbd or tables.",
  "protocol": "Source-normalized observations project real internal image/scroll state, derived progress, caller-owned upload props or the composed Collapsible protocol. No generic activation callback is invented. Internal lifecycle observations are not public Root events.",
  "semanticParts": {
    "root": {
      "kind": "element",
      "selector": "[data-slot=\"trace\"]",
      "description": "Passive trace stack, no automatic live log."
    },
    "line": {
      "kind": "element",
      "selector": "[data-slot=\"trace-line\"]",
      "description": "Actual optional running/error/pending presentation."
    },
    "icon": {
      "kind": "element",
      "selector": "[data-slot=\"trace-icon\"]",
      "description": "Decorative leading and internal trailing glyph."
    },
    "title": {
      "kind": "element",
      "selector": "[data-slot=\"trace-title\"]",
      "description": "Complete textual task/result despite optional truncation."
    },
    "description": {
      "kind": "element",
      "selector": "[data-slot=\"trace-description\"]",
      "description": "Readable supporting detail/duration."
    },
    "collapsible": {
      "kind": "element",
      "selector": "[data-slot=\"trace-collapsible\"]",
      "description": "Delegated actual Collapsible root; controlled open requires callback in source type."
    },
    "trigger": {
      "kind": "element",
      "selector": "[data-slot=\"trace-collapsible-trigger\"]",
      "description": "Real native disclosure button, with actual appended trailing icon."
    },
    "content": {
      "kind": "element",
      "selector": "[data-slot=\"trace-collapsible-content\"]",
      "description": "Primitive panel, distinct from its internal content wrapper."
    },
    "content-inner": {
      "kind": "element",
      "selector": "[data-slot=\"trace-collapsible-content-inner\"]",
      "description": "Actual source inner wrapper and padding alignment."
    }
  },
  "visualStateMapping": {}
}
