Mercurial
diff design_system/src/components/button.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/button.js Tue Aug 04 12:21:19 2026 -0700 +++ b/design_system/src/components/button.js Tue Aug 04 15:12:09 2026 -0700 @@ -1,3 +1,8 @@ +/** + * Enhances a native button or link with disabled and loading states. + * + * @extends {HTMLElement} + */ export class ZenButton extends HTMLElement { static get observedAttributes() { return ["disabled", "loading"];