openpencil/packages
sadkodev 0300cb521b
refactor(keyboard): address review feedback on opacity shortcuts
- Move setOpacity to core editor action (packages/core/src/editor/nodes.ts)
  so it is testable directly without duplicating logic in tests
- Replace external window listener with tinykeys bindings in
  registerKeyboardShortcuts, reusing shared input/focus guards
- Add 20 bindings for Digit0-9 and Numpad0-9 with modifier guards
- Implement Figma-style multi-digit buffer: 2→20%, 28→28%, 00→0%, 100→100%
  with 400ms timeout and auto-apply at 3 digits
- Simplify selection.setOpacity command to delegate to editor.setOpacity
- Rewrite unit tests to call editor.setOpacity directly
- Add ofetch to dependencies (was imported but missing from package.json)
- Update CHANGELOG
2026-07-17 14:09:46 -04:00
..
cli fix(dom-css): compile standalone HTML exports 2026-07-04 19:37:58 +03:00
core refactor(keyboard): address review feedback on opacity shortcuts 2026-07-17 14:09:46 -04:00
demos
docs feat(editor): add shared style bindings 2026-07-17 20:28:22 +03:00
dom-css refactor(core): split web font asset export 2026-07-05 11:01:18 +03:00
fig chore(tools): harden package and dependency checks 2026-07-01 12:56:45 +03:00
kiwi chore(tools): harden package and dependency checks 2026-07-01 12:56:45 +03:00
mcp fix(mcp): target live automation by document and page 2026-07-03 17:05:04 +03:00
pen chore(tools): harden package and dependency checks 2026-07-01 12:56:45 +03:00
scene-graph feat(editor): add shared style bindings 2026-07-17 20:28:22 +03:00
vue refactor(keyboard): address review feedback on opacity shortcuts 2026-07-17 14:09:46 -04:00