{
  "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": "1254:65"
  },
  "stories": [
    {
      "id": "figma-2171-3407",
      "name": "NativeSelectLabel / Text alignment=Left",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2171:3407",
        "part": "2171:3408"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2171-3406",
      "name": "NativeSelectLabel / Text alignment=Right",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2171:3406",
        "part": "2171:3408"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-727",
      "name": "NativeSelectOption / Text alignment=Left",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:727",
        "part": "2172:728"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-726",
      "name": "NativeSelectOption / Text alignment=Right",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:726",
        "part": "2172:728"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-936",
      "name": "NativeSelect / State=Default, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:936",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-935",
      "name": "NativeSelect / State=Default, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:935",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-946",
      "name": "NativeSelect / State=Focus, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:946",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-951",
      "name": "NativeSelect / State=Focus, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:951",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-1026",
      "name": "NativeSelect / State=Disabled, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:1026",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-1031",
      "name": "NativeSelect / State=Disabled, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:1031",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-1040",
      "name": "NativeSelect / State=Destructive, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:1040",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2172-1045",
      "name": "NativeSelect / State=Destructive, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2172:1045",
        "part": "2172:937"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    }
  ],
  "contractCases": [
    {
      "id": "source-default",
      "html": "accessibility.html",
      "expected": "NativeSelectProps omits the native numeric size prop and replaces it with sm|default (default). Other native select props, including multiple, value/defaultValue, disabled, name and onChange are passed through. NativeSelectOption/OptGroup are option/optgroup. The extra ChevronDown is aria-hidden. className styles the surrounding wrapper, not the select."
    },
    {
      "id": "keyboard-and-focus",
      "expected": "The operating system/browser owns popup, arrow, typeahead, modifier selection and Escape behavior. This contract consumes the actual native change transaction; it does not equate every arrow key with a committed change. Escape may close a native picker, and does not fabricate an extra change/revert event. Disabled controls/options cannot be user-chosen; controlled value remains prop-authoritative."
    },
    {
      "id": "source-updates-and-caller-authority",
      "expected": "NativeSelectProps omits the native numeric size prop and replaces it with sm|default (default). Other native select props, including multiple, value/defaultValue, disabled, name and onChange are passed through. NativeSelectOption/OptGroup are option/optgroup. The extra ChevronDown is aria-hidden. className styles the surrounding wrapper, not the select. The operating system/browser owns popup, arrow, typeahead, modifier selection and Escape behavior. This contract consumes the actual native change transaction; it does not equate every arrow key with a committed change. Escape may close a native picker, and does not fabricate an extra change/revert event. Disabled controls/options cannot be user-chosen; controlled value remains prop-authoritative."
    }
  ]
}
