Repository navigation
Releases: hexmora/fluxdown
Release list
fluxdown@0.13.0
Minor Changes
- 2bb482d: Add CjkPlugin and headless CjkRemarkPlugin for CJK emphasis, strikethrough, and autolink punctuation boundaries. Enable CJK parsing in the Full preset, retain explicit installation in Lite and Raw, and preserve strikethrough configuration and literal link targets.
- 2625a56: Add the lazy CodePelePlugin to render Mermaid diagrams and mindmaps as themed SVG without DOM or canvas measurement. The full preset includes it by default; lite consumers can import it separately. Code blocks use native Mermaid syntax, show source while loading, and retain the last valid diagram during incomplete edits.
Patch Changes
- 1df885d: Add EmojiRemarkPlugin and EmojiPlugin to convert GitHub emoji shortcodes to Unicode emoji. Enable EmojiPlugin in Full while preserving unknown shortcodes and code literals. Lite and Core can opt in.
- 9170bab: Move core preset imports to
@fluxdown/core-presets/presets/<type>and individual plugin imports to@fluxdown/core-presets/plugins/<type>/<name>. The previous/mapper,/remark,/rehype, and/repairaggregate entry points are removed; import each plugin and its related types from its own subpath. - Updated dependencies [2bb482d]
- Updated dependencies [1df885d]
- Updated dependencies [9170bab]
- Updated dependencies [2625a56]
- @fluxdown/core-presets@0.11.0
- @fluxdown/core@0.12.3
- @fluxdown/react-presets@0.10.0
@fluxdown/core@0.12.3
Patch Changes
- 2bb482d: Add CjkPlugin and headless CjkRemarkPlugin for CJK emphasis, strikethrough, and autolink punctuation boundaries. Enable CJK parsing in the Full preset, retain explicit installation in Lite and Raw, and preserve strikethrough configuration and literal link targets.
- 1df885d: Add EmojiRemarkPlugin and EmojiPlugin to convert GitHub emoji shortcodes to Unicode emoji. Enable EmojiPlugin in Full while preserving unknown shortcodes and code literals. Lite and Core can opt in.
- 9170bab: Move core preset imports to
@fluxdown/core-presets/presets/<type>and individual plugin imports to@fluxdown/core-presets/plugins/<type>/<name>. The previous/mapper,/remark,/rehype, and/repairaggregate entry points are removed; import each plugin and its related types from its own subpath. - Updated dependencies [2bb482d]
- Updated dependencies [1df885d]
- Updated dependencies [9170bab]
- @fluxdown/core-presets@0.11.0
fluxdown@0.12.0
Minor Changes
-
134f67b: Add raw, lite, and full React entry points with independently importable plugin packs. Split code highlighting into plain, Prism, and Shiki options, and formulas into source, lazy KaTeX, and lazy KaTeX with MathJax fallback. Export plugin pack types from react-presets/typings and replace the render/slot barrels with plugins/* exports.
Compose derived packs with pluginExtends and give later renderers precedence at equal priority, preserving slot composition and explicit disabling. Load only each entry's styles, and document aggregate plugins and bundle choices with live Lite and Full examples.
Export PartialBy from @fluxdown/utils and reuse it for optional plugin props in the full and lite entries and prop comparison.
Patch Changes
- Updated dependencies [134f67b]
- @fluxdown/react-presets@0.9.0
- @fluxdown/utils@0.7.0
- @fluxdown/core@0.12.2
- @fluxdown/core-presets@0.10.1
- @fluxdown/types@0.10.1
@fluxdown/core@0.12.2
Patch Changes
- Updated dependencies [134f67b]
- @fluxdown/utils@0.7.0
- @fluxdown/core-presets@0.10.1
- @fluxdown/types@0.10.1
stative@2.1.0
Minor Changes
-
4828c8c: Add
renderHooksto run once hooks in a lazy, independently owned scope without declaring a state component. The callback result is preserved as-is, and destroying the returned closure releases its hook-created resources.Extend
useDefaultsto resolve reactiveundefinedvalues while keeping fallback closures reusable across source changes. ExportisReadableClosurefor adapters that distinguish plain values from readable closures.
fluxdown@0.11.0
Minor Changes
- 9867aed: Add a chunk streaming effect that fades each incoming text batch in together, preserves existing content and natural wrapping, and respects reduced motion.
- aeaa05f: Use monotonic animation clocks and scale as the default streaming effect. Keep plugin configuration entries optional while declaring complete global configuration registries, and organize effect documentation with shared streaming previews.
- ea3f399: Add a suffix streaming effect with cursor and dot markers, extensible marker types, and support for code blocks and syntax highlighting.
Patch Changes
fluxdown@0.10.0
Minor Changes
-
a8c6013: Add the
scalestreaming effect and itsScalemapper andScaleRenderPluginpresets. Enable it withstreaming: { effect: 'scale' }, customize it with['scale', { duration, from, blur }], or combine it with other effects.Newly revealed characters grow and fade into place with a shrinking blur, preserving their animation progress across updates and remounts. Defaults are 200 milliseconds, an initial scale of 0, and a blur radius of 0.08 em. Existing content remains still, reduced-motion preferences disable the animation, and code, formulas, and replacement content keep their original rendering.
Collapse completed scale words back into ordinary text on subsequent updates to keep the active render tree small.
-
4828c8c: Add
streaming.effectfor built-in effects, custom mapper plugins, configured tuples, and ordered combinations. Visual effects now default to disabled, including withstreaming={true}. Enable the trailing fade witheffect: trueoreffect: 'shad', or configure it witheffect: ['shad', config].Remove
streaming.shad; migrate its values toeffect, using['shad', config]for configured fades. ExportEffectItemfrom the mergedEffectConfigsregistry and resolve effect keys through the mapper presets. Preserve the supplied mapper order so composed effects run in the requested sequence.Move fade mask width into the Shad mapper configuration. Renderers consume the width from each shaded block, without requiring CSS variables on the Fluxdown root.
Normalize mapper configuration into stable readable inputs. Export plain Config, derived Inputs, and mixed-value PluginConfig types; apply plugin metadata at the registry boundary. Mapper configuration can switch between plain values and readable closures without rebuilding the mapper. Convert external states with
toClosurebefore supplying them as configuration.Add a type-only
/typingsentry for the core preset foundation types, and use a mask for the shad gradient so it composes with transformed content.
Patch Changes
@fluxdown/core@0.12.1
Patch Changes
- 9867aed: Add a chunk streaming effect that fades each incoming text batch in together, preserves existing content and natural wrapping, and respects reduced motion.
- aeaa05f: Use monotonic animation clocks and scale as the default streaming effect. Keep plugin configuration entries optional while declaring complete global configuration registries, and organize effect documentation with shared streaming previews.
- ea3f399: Add a suffix streaming effect with cursor and dot markers, extensible marker types, and support for code blocks and syntax highlighting.
- Updated dependencies [9867aed]
- Updated dependencies [aeaa05f]
- Updated dependencies [ea3f399]
- @fluxdown/core-presets@0.10.0
- @fluxdown/types@0.10.0
@fluxdown/core@0.12.0
Minor Changes
-
4828c8c: Add
streaming.effectfor built-in effects, custom mapper plugins, configured tuples, and ordered combinations. Visual effects now default to disabled, including withstreaming={true}. Enable the trailing fade witheffect: trueoreffect: 'shad', or configure it witheffect: ['shad', config].Remove
streaming.shad; migrate its values toeffect, using['shad', config]for configured fades. ExportEffectItemfrom the mergedEffectConfigsregistry and resolve effect keys through the mapper presets. Preserve the supplied mapper order so composed effects run in the requested sequence.Move fade mask width into the Shad mapper configuration. Renderers consume the width from each shaded block, without requiring CSS variables on the Fluxdown root.
Normalize mapper configuration into stable readable inputs. Export plain Config, derived Inputs, and mixed-value PluginConfig types; apply plugin metadata at the registry boundary. Mapper configuration can switch between plain values and readable closures without rebuilding the mapper. Convert external states with
toClosurebefore supplying them as configuration.Add a type-only
/typingsentry for the core preset foundation types, and use a mask for the shad gradient so it composes with transformed content.
Patch Changes
-
a8c6013: Add the
scalestreaming effect and itsScalemapper andScaleRenderPluginpresets. Enable it withstreaming: { effect: 'scale' }, customize it with['scale', { duration, from, blur }], or combine it with other effects.Newly revealed characters grow and fade into place with a shrinking blur, preserving their animation progress across updates and remounts. Defaults are 200 milliseconds, an initial scale of 0, and a blur radius of 0.08 em. Existing content remains still, reduced-motion preferences disable the animation, and code, formulas, and replacement content keep their original rendering.
Collapse completed scale words back into ordinary text on subsequent updates to keep the active render tree small.
-
Updated dependencies [a8c6013]
-
Updated dependencies [4828c8c]
-
Updated dependencies [4828c8c]
- @fluxdown/core-presets@0.9.0
- stative@2.1.0
- @fluxdown/types@0.9.0
fluxdown@0.9.1
Patch Changes
- cd2389a: Improve the visual appearance of streaming text with a longer fading tail and smoother continuation. Require scheduler
idleandresumemembers, with default implementations inBaseSmoothScheduler. - Updated dependencies [cd2389a]
- @fluxdown/core-presets@0.8.0
- @fluxdown/core@0.11.2
- @fluxdown/react-presets@0.6.9