@mocanvas/wasm 4.12.3 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPAT.md +4 -0
- package/package.json +1 -1
- package/pkg/mocanvas-wasm-base64.js +1 -1
- package/pkg/mocanvas_bg.wasm +0 -0
package/COMPAT.md
CHANGED
|
@@ -96,6 +96,10 @@ predicates (`canTabTo`, `canResizeChildren`, `canBeLaidOut`, `canCull`,
|
|
|
96
96
|
`canEditInReadonly`, …) and `createShapeForAsset`. **That is where the remaining
|
|
97
97
|
work is**, not in the symbol tables above.
|
|
98
98
|
|
|
99
|
+
`canCull` is absent from the class but honoured where it matters: a util that
|
|
100
|
+
implements it and returns `false` keeps its shape in the DOM overlay while the
|
|
101
|
+
shape is off screen (4.12.4), and out of `getCulledShapes()`.
|
|
102
|
+
|
|
99
103
|
You can measure a real application against this surface rather than trusting the
|
|
100
104
|
tables: `scripts/compat-parity.mjs` type-checks a consumer app with `tldraw`
|
|
101
105
|
remapped onto `@mocanvas/compat` and reports what breaks, grouped by symbol.
|
package/package.json
CHANGED