{
  "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": "72:2717"
  },
  "stories": [
    {
      "id": "figma-2118-11461",
      "name": "AvatarGroup / Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2118:11461",
        "part": "2118:11510"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2118-11511",
      "name": "AvatarGroup / Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2118:11511",
        "part": "2118:11510"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2531",
      "name": "AvatarBadge / Type=Icon, Size=xs",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2531",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2529",
      "name": "AvatarBadge / Type=Icon, Size=default",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2529",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2528",
      "name": "AvatarBadge / Type=Icon, Size=lg",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2528",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2526",
      "name": "AvatarBadge / Type=Status, Size=lg",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2526",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2527",
      "name": "AvatarBadge / Type=Status, Size=default",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2527",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2530",
      "name": "AvatarBadge / Type=Status, Size=xs",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2530",
        "part": "2192:2532"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2567",
      "name": "Avatar / Size=sm, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2567",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2570",
      "name": "Avatar / Size=sm, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2570",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2553",
      "name": "Avatar / Size=default, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2553",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2576",
      "name": "Avatar / Size=default, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2576",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2561",
      "name": "Avatar / Size=lg, Dir=RTL",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2561",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-2192-2583",
      "name": "Avatar / Size=lg, Dir=LTR",
      "kind": "component-variant",
      "view": {
        "figmaNode": "2192:2583",
        "part": "2192:2550"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1866-430",
      "name": "Avatar / Size=sm, Type=Icon",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1866:430",
        "part": "2197:696"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1866-428",
      "name": "Avatar / Size=sm, Type=Count",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1866:428",
        "part": "2197:696"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1867-580",
      "name": "Avatar / Size=default, Type=Icon",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1867:580",
        "part": "2197:696"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1867-576",
      "name": "Avatar / Size=default, Type=Count",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1867:576",
        "part": "2197:696"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1867-583",
      "name": "Avatar / Size=lg, Type=Icon",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1867:583",
        "part": "2197:696"
      },
      "expectation": "Preserve this native static source depiction; event, value and focus contracts remain unresolved."
    },
    {
      "id": "figma-1867-578",
      "name": "Avatar / Size=lg, Type=Count",
      "kind": "component-variant",
      "view": {
        "figmaNode": "1867:578",
        "part": "2197:696"
      },
      "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": "Avatar uses Base UI loading states idle/loading/loaded/error. AvatarImage onLoadingStatusChange reports the actual status; keepMounted=false preloads and only exposes a loaded image. keepMounted=true retains the image while loading but hides it from accessibility until loaded. Fallback span defaults delay=0 and is shown when not loaded after its delay; a positive delay avoids flashing. Source/srcSet/sizes changes retry loading. Root has no activation or selection API. AvatarGroup/Count only position caller content; counts and status are not calculated."
    },
    {
      "id": "caller-versus-source-ownership",
      "expected": "The full fallback name, readable Available badge and nearby identity text are explicit reference composition choices. The root does not automatically apply role=img or label initials. If adjacent text fully identifies the person, a decorative avatar can instead have empty alt deliberately."
    },
    {
      "id": "meaningful-text-under-state-change",
      "expected": "A loaded AvatarImage requires meaningful alt. This reference fallback uses explicit role=img and the same full name, while initials and badge color alone are insufficient. Nearby text supplies the person and availability independently."
    }
  ]
}
