@mocanvas/store 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.
Files changed (2) hide show
  1. package/COMPAT.md +4 -0
  2. package/package.json +2 -2
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mocanvas/store",
3
- "version": "4.12.3",
3
+ "version": "4.13.0",
4
4
  "description": "The mocanvas document model: reactive records, schema, migrations and .tldr file IO.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Symbio Digital",
@@ -54,7 +54,7 @@
54
54
  "dependencies": {
55
55
  "fractional-indexing": "^3.2.0",
56
56
  "nanoid": "^5.1.0",
57
- "@mocanvas/state": "4.12.3"
57
+ "@mocanvas/state": "4.13.0"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsup",