v0.24.0
Summary
v0.24.0 introduces a new package, @haklex/rich-plugin-image-editor — a fullscreen pre-upload image edit modal with crop and annotation tools — plus a set of image-node UX fixes (scroll stability on resize, a size slider with preset detents, toolbar reordering) and a font fix for widget UI chrome in the note variant. Full release: all 39 packages published at 0.24.0.
Breaking Changes
None.
Features
- New package
@haklex/rich-plugin-image-editor: pre-upload image edit modal with crop (react-image-crop) and annotation tools (markerjs3: arrow, pen, rect, ellipse, text, counter, cover) (f22d75e) rich-editor:ImagePreprocessContext+ registration API;ImageUploadPluginruns registered preprocessors before upload (f22d75e)rich-editor-ui: dialog store gainsonClosecallback, fired once on open→closed transition (f22d75e)rich-renderer-image: image size control is now a 10–100% slider with preset detents at 25/50/75/100 (snap within 3%), live preview while dragging, and a single undo step on release (c5adb52)
Bug Fixes
rich-renderer-image: editor scroll no longer jumps after drag-handle resize or toolbar actions (skip-scroll-into-viewon commits) (c5adb52)rich-renderer-image: toolbar reordered by usage frequency (size/layout → details/replace → duplicate/open/download → delete); Duplicate now uses the CopyPlus icon (c5adb52)rich-plugin-image-editor: fixed markerjs3 crash (Cannot read properties of undefined (reading 'transform')) when re-arming text/counter tools mid pointer gesture (f22d75e)rich-plugin-image-editor: fullscreen modal no longer flashes at the top-left on open — fade-only open/close animations (f22d75e)- renderers: pin sans font on widget UI chrome to block serif inheritance in note variant (87838b2)
Bump rationale
| Package | Change | Bump |
|---|---|---|
| rich-plugin-image-editor | new package | minor |
| rich-editor | new exports (image preprocess API) | minor |
| rich-editor-ui | additive dialog onClose |
minor |
| rich-renderer-image | UX fixes + slider | patch |
| rich-ext-{code-snippet,embed,poll}, rich-renderer-{alert,codeblock,mermaid,video} | font fix | patch |
Shared version, highest wins → minor (0.23.0 → 0.24.0). Published in full mode: rich-compose exact-pins the republished renderers, so a partial publish would have produced duplicate package instances downstream.