openpencil/crates/op-editor-ui
Kayshen-X 75ec668463 feat(sdk): add op-web-sdk read-only web viewer crate
Plan 1 of the web embedding SDK (TS-retirement Phase 2): a wasm Viewer that
parses a .op document, renders it read-only via CanvasKit by reusing
op-editor-ui's canvas_viewport, supports pan/zoom navigation, exposes
read-only JSON snapshots, and exports SVG. Type-gen reuses jian-ops-schema's
ts-rs export.

Additive: new crate plus surgical cold pub exposures (CanvasViewport::from_scene
in op-editor-ui; pub mod canvaskit + pub init_backend in op-host-web). No TS
deleted. 17 tests; wasm 2.2 MiB gzip (0 env.* imports); clippy -D warnings clean.
2026-06-19 17:52:12 +08:00
..
assets perf: lazy-load the iconify brand-logo catalog off the web first-load 2026-06-19 14:32:47 +08:00
src feat(sdk): add op-web-sdk read-only web viewer crate 2026-06-19 17:52:12 +08:00
tests refactor(editor): keep layer panel scroll state typed 2026-06-19 00:34:25 +08:00
Cargo.toml refactor(editor): migrate settings inputs to shared text state 2026-06-14 00:56:21 +08:00