Changeset 0.37.2 (#214)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-20 23:52:55 +00:00
committed by xcaliber
parent 8c53f61b71
commit 4f1abc6321
24 changed files with 1775 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
/**
* Spinner primitive — loading indicator
* Sizes: sm (16px), md (24px), lg (40px)
*/
const { html } = window;
export function Spinner({ size = 'md' }) {
return html`<span class="sw-spinner sw-spinner--${size}" role="status" aria-label="Loading" />`;
}