{
  "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:1980"
  },
  "stories": [
    {
      "id": "figma-2111-6526",
      "name": "NavigationMenuItem / State=Default, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2111:6526",
        "part": "2111:6527"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2111-6525",
      "name": "NavigationMenuItem / State=Hover, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2111:6525",
        "part": "2111:6527"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2113-7894",
      "name": "NavigationMenuItem / State=Default, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2113:7894",
        "part": "2111:6527"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2113-7897",
      "name": "NavigationMenuItem / State=Hover, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2113:7897",
        "part": "2111:6527"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    }
  ],
  "contractCases": [
    {
      "id": "actual-owner-and-source-lifecycle",
      "expected": "Root is native nav (nested primitive Roots use div), not role=menu or menubar. Generic value/defaultValue is the currently open item or null; it is distinct from the destination/current-page link. onValueChange carries cancellable details, and controlled props remain authoritative. Source delay/closeDelay default50ms, orientation defaults horizontal. The wrapper align defaults start and automatically appends one NavigationMenuPositioner: do not add a second one to this wrapper. Its built-in Positioner defaults bottom/start and offsets8/0; custom default-positioner side/offset composition needs the direct primitive Root, not fictitious Root props. Content moves into the active popup/viewport; the private source Popup itself is another native nav without an exposed label prop, while accessible destination links remain related to the named outer navigation in the client accessibility tree. Trigger is native button with expanded/controls, no invented menuitem role; disabled triggers may focus but cannot open. List/Item remain ul/li with primitive composite navigation (loopFocus=false on the top list). Link is a real anchor, active sets aria-current=page, closeOnClick defaultsfalse. This reference explicitly selects closeOnClick=true for actual destination links. NavigationMenuIndicator wraps primitive Icon (a decorative disclosure indicator), not an independent selected-item controller. onOpenChangeComplete is emitted with false after closing/unmount, not an invented opening callback. Deferred closing uses eventDetails.preventUnmountOnClose and actionsRef.unmount."
    },
    {
      "id": "keyboard-focus-and-source-constraints",
      "expected": "Native links keep normal navigation and modified clicks. Horizontal trigger navigation uses source Left/Right; Down opens an eligible disclosure while retaining trigger focus; native Tab enters its first destination, vertical orientation uses its direction-aware opening key. Focus and open item are separate from route/current-page state. Escape dismisses the applicable popup and restores its owner when source reason/focus policy permits; outside/focus-out/actual navigation need not forcibly steal focus back. Hover is supplemental and has source delay/safe-region behavior. Disabled triggers cannot activate; essential destinations are real named links."
    },
    {
      "id": "native-semantic-instance",
      "html": "accessibility.html"
    }
  ]
}
