openpencil/packages/core
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
..
assets fix(fonts): include bundled Arabic fallback asset 2026-05-18 01:04:29 +03:00
src refactor(keyboard): address review feedback on opacity shortcuts 2026-07-17 14:09:46 -04:00
package.json build(text): upgrade opentype.js to v2 2026-07-17 13:23:51 +03:00
tsconfig.json refactor(kiwi): split schema text from runtime 2026-05-21 14:54:12 +03:00
tsdown.config.ts chore(tools): harden package and dependency checks 2026-07-01 12:56:45 +03:00