openpencil/packages/core/src
Danila Poyarkov 8850625a6f Fix text not rendering + undo for Figma clipboard paste
- letterSpacing is an object {value, units} not a number — was NaN,
  which silently breaks CanvasKit paragraph layout
- Add mapLetterSpacing() to handle PIXELS and PERCENT units
- Force textAutoResize to NONE (Yoga has no text measurement callback)
- Record undo entry for Figma paste with full subtree snapshots
- Add stackChildAlignSelf, fontWeight to NodeChange interface
2026-03-02 17:59:18 +03:00
..
kiwi Fix text not rendering + undo for Figma clipboard paste 2026-03-02 17:59:18 +03:00
render P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
tools P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
canvaskit.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
clipboard.ts Fix text not rendering + undo for Figma clipboard paste 2026-03-02 17:59:18 +03:00
color.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
constants.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
fig-export.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
figma-api.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
fonts.ts Deduplicate fig-kiwi parsing, font weight mapping, layout, style runs, text editor 2026-03-01 11:29:26 +03:00
global.d.ts Add @open-pencil/cli with headless .fig file operations 2026-03-01 01:19:24 +03:00
index.ts Center pasted Figma nodes in viewport instead of using original coordinates 2026-03-02 17:32:06 +03:00
kiwi-serialize.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
layout.ts Deduplicate fig-kiwi parsing, font weight mapping, layout, style runs, text editor 2026-03-01 11:29:26 +03:00
render-image.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
renderer.ts Fix text disappearing after hover: invalidate SkPicture on font load 2026-03-02 15:45:58 +03:00
scene-graph.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
snap.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
style-runs.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
text-editor.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
types.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
undo.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00
vector.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00