{
  "name": "stories",
  "displayName": "Stories",
  "type": "custom",
  "isCustomElement": true,
  "tag": "l-stories",
  "nativeTag": null,
  "selector": "l-stories",
  "subItemOf": null,
  "summary": "A horizontal row of `<l-story>` thumbnails. Click opens the linked\n`<l-stories-viewer>` (matched by `for` → `id`). If `for` is omitted and no\nviewer exists, a singleton viewer is appended to `<body>` on first click.",
  "status": "experimental",
  "appearances": [],
  "import": {
    "css": "luxen-ui/css/stories",
    "js": "luxen-ui/stories"
  },
  "properties": [
    {
      "name": "for",
      "attribute": "for",
      "type": "string",
      "default": "''",
      "reflects": true,
      "description": "ID of the linked `<l-stories-viewer>`."
    },
    {
      "name": "appearance",
      "attribute": "appearance",
      "type": "StoriesAppearance",
      "default": "'rounded'",
      "reflects": true,
      "description": "Visual appearance of the thumbnails."
    }
  ],
  "attributes": [],
  "events": [
    {
      "name": "story-open",
      "description": "Fired when the viewer opens. Properties: `index: number`, `story: LuxenStory`.",
      "cancelable": false
    }
  ],
  "methods": [
    {
      "name": "open",
      "params": [
        {
          "name": "index",
          "type": null
        }
      ],
      "returns": null,
      "description": "Open the linked viewer at the given index."
    },
    {
      "name": "stories",
      "params": [],
      "returns": "LuxenStory[]",
      "description": "All `<l-story>` children."
    }
  ],
  "slots": [],
  "cssClasses": [],
  "cssParts": [],
  "cssProperties": [
    {
      "name": "--size",
      "default": null,
      "description": "Thumbnail size (width). Default per appearance."
    },
    {
      "name": "--radius",
      "default": null,
      "description": "Thumbnail border radius. Default per appearance (`--radius-full` for rounded, `1rem` for portrait)."
    },
    {
      "name": "--gap",
      "default": "1rem",
      "description": "Gap between thumbnails."
    },
    {
      "name": "--ring-color",
      "default": null,
      "description": "Ring color around fresh thumbnails."
    },
    {
      "name": "--ring-color-seen",
      "default": null,
      "description": "Ring color for `[seen]` thumbnails."
    },
    {
      "name": "--ring-width",
      "default": "2px",
      "description": "Ring width."
    },
    {
      "name": "--label-color",
      "default": null,
      "description": "Label text color."
    }
  ],
  "commands": [],
  "examples": [
    {
      "title": null,
      "language": "html",
      "code": "<l-stories for=\"brand\">\n  <l-story src=\"…video.mp4\" poster=\"…jpg\" label=\"Notre concept\"></l-story>\n  <l-story src=\"…video2.mp4\" label=\"Collant Essentiel\"></l-story>\n</l-stories>\n<l-stories-viewer id=\"brand\"></l-stories-viewer>"
    }
  ]
}
