Mercurial
diff design_system/src/components/story.js @ 254:2b6e732087ff
[ui] Add complete native component catalog
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 04 Aug 2026 15:12:09 -0700 |
| parents | 117c4d53c9a4 |
| children |
line wrap: on
line diff
--- a/design_system/src/components/story.js Tue Aug 04 12:21:19 2026 -0700 +++ b/design_system/src/components/story.js Tue Aug 04 15:12:09 2026 -0700 @@ -9,6 +9,11 @@ return lines.map(line => line.slice(minimum)).join("\n"); } +/** + * Renders a declarative component example and its copyable HTML source. + * + * @extends {HTMLElement} + */ export class ZenStory extends HTMLElement { connectedCallback() { if (this.dataset.ready === "true") return;