v0.3.0 — Loader
Adds the Loader component — a standalone drop-in for the ui/Spinner subpath removed in v0.2.0.
What's new
import { Loader } from "@stasho/ds/loader";
<Loader />
<Loader size="xs" />
<Loader>Saving…</Loader>- Dual-dot cyan chase (same animation Button's loading state uses, extracted as a primitive).
- Three sizes (xs/sm/md) matching Button's LED ladder.
- Optional
childrenfor an inline label. role="status", smartaria-labelfallback, respectsprefers-reduced-motion.- Always cyan per § 5 "Cyan is the moving signal".
Migration from v0.1.x Spinner
- import { Spinner } from "@stasho/ds/ui/spinner";
+ import { Loader } from "@stasho/ds/loader";The animation differs (chase vs spin) by design — § 6 "Loading pulses, never spins."
Also in this release
docs/DESIGN-SYSTEM.mdpackage name swept from@aleph-front/dsto@stasho/ds(57 references — stale since the rename pre-v0.1.0).
See PR #15 for the full diff and Decision #94 for rationale.