openpencil/packages/scene-graph/tests/behaviours
Danila Poyarkov c47d1b78e6
refactor: share behaviour control roles through dom-css (#960)
* refactor: share behaviour control roles through dom-css

Code export needs the same control model and layer roles preview islands use. They move from packages/vue to packages/dom-css/src/behaviours as behaviourControls and controlRoles, and the layerPath, findLayerByPath and hasBehaviour helpers they need move from Core down to scene-graph, since dom-css cannot depend on Core. Preview behaves the same.

* fix(scene-graph): escape layer path names and stop on parent cycles

A layer named Wifi#1 or Row/1 did not round-trip through its path, so preview skipped that control or reveal target, and a parent cycle in imported data hung the walk. Names escape % / and #, and the walk goes through closest(), which stops on a cycle.
2026-10-07 20:06:16 +00:00
..
layers.test.ts refactor: share behaviour control roles through dom-css (#960) 2026-10-07 20:06:16 +00:00
model.test.ts feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00
spec.test.ts feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00