v0.11.0
Summary
This release ships two targeted bug fixes for nested-editor layout and blockquote whitespace handling in the LiteXML reader, plus a refactor that drops redundant default exports from @haklex/rich-compose per-module renderer subpaths. The named export ({ AlertRenderer }, { CodeBlockRenderer }, etc.) remains and is unchanged — consumers are unaffected unless they were importing the default from @haklex/rich-compose/modules/<name>/renderer.
Breaking Changes
None for any consumer using named imports. If you happened to import a module renderer via its default export, switch to the named export:
- import AlertRenderer from '@haklex/rich-compose/modules/alert/renderer';
+ import { AlertRenderer } from '@haklex/rich-compose/modules/alert/renderer';Applies to the renderer subpaths under @haklex/rich-compose/modules/{alert,banner,chat,code-block,code-snippet,gallery,image,link-card,mention,mermaid,poll,ruby,video}/renderer.
Bug Fixes
@haklex/rich-editor: nested editors now occupy full width inside their grid cells (74f6195).@haklex/rich-litexml: blockquote deserialization no longer treats incidental formatting whitespace as content (629fd0f).
Refactors
@haklex/rich-compose: drop default exports from per-module renderer files; bridge the affected lazy renderers (code-block,mermaid) to the named export via.then(m => ({ default: m.XxxRenderer }))so dynamic-import shapes stay stable (ae649a1).
Bump rationale
| Package | Signal | Bump |
|---|---|---|
@haklex/rich-compose |
drop default exports from public renderer subpaths (named export preserved, 0 known consumers) | minor |
@haklex/rich-editor |
layout fix in RichEditorShell + normalizeSerializedEditorState tweak |
patch |
@haklex/rich-litexml |
blockquote whitespace fix in deserializer | patch |
@haklex/rich-renderer-alert |
styles-only update | patch |
@haklex/rich-renderer-banner |
styles-only update | patch |
Shared version → max(minor, patch) = minor → 0.10.0 → 0.11.0.