{
  "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:1984"
  },
  "stories": [
    {
      "id": "figma-2064-572",
      "name": "Radio / Interaction=Default, Data state=Unchecked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:572",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-568",
      "name": "Radio / Interaction=Focus, Data state=Unchecked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:568",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-567",
      "name": "Radio / Interaction=Disabled, Data state=Unchecked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:567",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-571",
      "name": "Radio / Interaction=Error, Data state=Invalid-unchecked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:571",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-566",
      "name": "Radio / Interaction=Error disabled, Data state=Invalid-unchecked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:566",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-565",
      "name": "Radio / Interaction=Default, Data state=Checked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:565",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-569",
      "name": "Radio / Interaction=Focus, Data state=Checked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:569",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-563",
      "name": "Radio / Interaction=Disabled, Data state=Checked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:563",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-564",
      "name": "Radio / Interaction=Error, Data state=Invalid-checked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:564",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2064-570",
      "name": "Radio / Interaction=Error disabled, Data state=Invalid-checked",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2064:570",
        "part": "2064:573"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-285",
      "name": "RadioGroup / State=Default, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:285",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-283",
      "name": "RadioGroup / State=Default, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:283",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-281",
      "name": "RadioGroup / State=Disabled, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:281",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-284",
      "name": "RadioGroup / State=Disabled, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:284",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-282",
      "name": "RadioGroup / State=Invalid, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:282",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2066-280",
      "name": "RadioGroup / State=Invalid, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2066:280",
        "part": "2066:286"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    }
  ],
  "contractCases": [
    {
      "id": "actual-source-selection",
      "expected": "RadioGroup uses a generic value/defaultValue and onValueChange(value,eventDetails), plus disabled/readOnly/required/name/form. RadioGroupItem inherits the exact Radio.Root props including value and disabled. The default visible root is span role=radio with a hidden native radio input, not a visible native radio. Checked value is singular; choosing the checked item does not clear the group. Disabled/readOnly suppress user changes; callback cancellation can veto and controlled props stay authoritative."
    },
    {
      "id": "keyboard-focus-versus-commit",
      "expected": "Tab enters the current/enabled radio; arrows navigate/select enabled items using the source composite and wrap behavior. Space selects a radio. Enter does not toggle (the source prevents its button activation; form context remains separate). Home/End are disabled by the RadioGroup composite; Escape does not clear selection."
    },
    {
      "id": "canceled-and-controlled-authority",
      "expected": "Candidate callback preserves exact source details; canceled request or controlled props do not autonomously change public value."
    },
    {
      "id": "native-instance-naming",
      "html": "accessibility.html"
    }
  ]
}
