v0.15.1
Summary
Patch release fixing the mermaid renderer's loading UI and preventing layout shift on render.
Bug Fixes
@haklex/rich-renderer-mermaid— Loading state no longer exposes the raw mermaid source code. Replaced with a vertical spinner + "Rendering diagram…" label. All three states (loading / error / success) now share a content-derivedminHeightfrom a new diagram-type-aware estimator, eliminating layout shift (CLS = 0 in the common case).
Bump rationale
| Package | Diff signal | Bump |
|---|---|---|
@haklex/rich-renderer-mermaid |
Internal UX fix; no export/Context/public-theme-class change | patch |
Shared version → all @haklex/* go to v0.15.1.
Migration
None required. Drop-in compatible with v0.15.0.