ssshooter/mind-elixir-core
 Watch   
 Star   
 Fork   
23 days ago
mind-elixir-core

v5.15.0

5.15.0 - 2026-08-03

Breaking Changes

  • refresh(data) no longer applies data.theme. Theme handling is fully decoupled from refresh; call changeTheme(theme) explicitly when you need to switch themes (e.g. mind.changeTheme(data.theme) before/after mind.refresh(data)).
  • moveUpNode and moveDownNode no longer emit moveUpNode and moveDownNode operation events. They now reuse the existing moveNode flow and fire moveNodeBefore, moveNodeAfter, or moveNodeIn instead. Update any listeners accordingly.

Features

  • Add down layout support via direction: 3
  • Add genMembers build script for generating class member declarations from TypeScript compiler output

Bug Fixes

  • Prevent undo/redo when the map is not editable
  • Fix ctrl+k chord accidentally triggering refresh
  • Return move success status to control wheel event propagation
  • Clamp node movement within container center boundaries
  • Preserve line breaks when removing div on blur
  • Ensure correct sorting of range indices in summaries
  • Avoid mutating summaries during render
  • Set direction for new parent node in insertParent
  • Remove residual DOM after moveNodeIn
  • Handle root topic positioning without me-main ancestor in arrow rendering
  • Correct alignment centering for downward layout
  • Align padding and adjust subline drawing for first-level nodes
  • Fix DOWN direction addChild on root
  • Suppress context menu after right button panning
  • Prevent errors when node has no children in keypress handler
  • Make arrow control point drag work with operation history
  • Fire events before selecting nodes to support undo operations
  • Include reshapeArrow in arrow operation types for undo/redo
  • Sync selection state on unselectNodes to avoid stale history

Refactors

  • Refactor MindElixir to use class-based implementation
  • Replace codegen with direct TypeScript compiler API usage for generating type declarations
  • Optimize unionTopics filtering logic
  • Unify moveUpNode and moveDownNode logic with getMoveTarget helper
  • Improve calculation of anchor point on node border
  • Remove stroke-linecap style support from arrow component

Chores

  • Replace ESLint and Prettier with Biome for linting and formatting
  • Replace less with lightningcss and update config
  • Bump TypeScript to 7.x

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.14.0...v5.15.0

2026-07-12 19:37:55
mind-elixir-core

v5.14.0

5.14.0 - 2026-07-12

Features

  • Implement reshapeArrow utility to support programmatically updating connection arrow properties (e.g., style, label, and deltas) and emit reshapeArrow operation event.

Bug Fixes

  • mobile: Fallback to map panning when node dragging is aborted in DragWait state.

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.13.0...v5.14.0

2026-06-24 20:55:49
mind-elixir-core

v5.13.0

5.13.0 - 2026-06-24

Features

  • Extend theme definitions with required cssVar property

Bug Fixes

  • Constrain text width on p elements instead of topic container to allow LaTeX to render at full width
  • Prevent keyboard event processing during IME composition in DOM and SVG handlers

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.12.2...v5.13.0

2026-05-25 20:49:12
mind-elixir-core

v5.12.2

5.12.2 - 2026-05-25

Features

  • Add custom branch rendering and metadata support

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.12.1...v5.12.2

2026-05-23 23:22:21
mind-elixir-core

v5.12.1

5.12.1 - 2026-05-23

Features

  • Support serializing and restoring compact mode state in MindElixirData

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.12.0...v5.12.1

2026-05-23 22:53:17
mind-elixir-core

v5.12.0

5.12.0 - 2026-05-23

Features

  • Add compact mode support for configurable node spacing

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.11.3...v5.12.0

2026-05-22 11:45:57
mind-elixir-core

v5.11.3

5.11.3 - 2026-05-22

Bug Fixes

  • Ignore non-left mouse button events in double-click detection
  • Prevent context menu trigger during active node editing or interaction states

Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.11.2...v5.11.3