openpencil/packages
Danila Poyarkov 492d9dfa75 Refactor LayerTree: Atlaskit DnD, split LayerRow, shared icons
Replace manual pointer-capture drag with @atlaskit/pragmatic-drag-and-drop:
- Tree-aware hitbox (reorder-above, reorder-below, make-child)
- Native drag preview via Atlaskit adapter
- No more manual DOM measurement for drop zones

Split into focused files:
- LayerTree.vue (164 lines) — tree data, expand, selection
- LayerRow.vue (175 lines) — per-row: icon, rename, lock/visibility, DnD setup
- utils/layer-icons.ts (43 lines) — icon maps shared across components
- use-layer-drag.ts (127 lines) — Atlaskit DnD composable in SDK

Add toggleNodeVisibility/toggleNodeLock per-node methods to editor.
2026-03-17 08:46:23 +03:00
..
cli Release v0.10.0 2026-03-15 19:27:37 +03:00
core Refactor LayerTree: Atlaskit DnD, split LayerRow, shared icons 2026-03-17 08:46:23 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Release v0.9.0 2026-03-09 17:43:11 +03:00
mcp Clean up ACP branch: gate debug log, fix capitalizations, harden types 2026-03-15 18:24:37 +03:00
vue Refactor LayerTree: Atlaskit DnD, split LayerRow, shared icons 2026-03-17 08:46:23 +03:00