@octane-xplat/canvas 0.15.0 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/canvas",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Canvas/GPU surface for Octane xplat — web <canvas> + @nativescript/canvas (2D, WebGL/WebGL2, WebGPU/WGSL)",
5
5
  "keywords": [
6
6
  "canvas",
@@ -47,17 +47,17 @@
47
47
  "devDependencies": {
48
48
  "@nativescript-community/octane": "0.2.5",
49
49
  "@nativescript/core": "9.1.3",
50
- "@octane-xplat/macos-renderer": "0.15.0",
50
+ "@octane-xplat/macos-renderer": "0.16.0",
51
51
  "@octanejs/vite-plugin": "0.1.61",
52
52
  "octane": "0.11.0",
53
- "tsrx-typegen": "0.3.0",
53
+ "tsrx-typegen": "0.3.1",
54
54
  "typescript": "5.9.3",
55
55
  "vite": "8.3.0"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@nativescript-community/octane": ">=0.2.1 <1",
59
59
  "@nativescript/core": ">=9.1.0 <10",
60
- "@octane-xplat/macos-renderer": "0.15.0",
60
+ "@octane-xplat/macos-renderer": "0.16.0",
61
61
  "octane": ">=0.6.3 <1"
62
62
  },
63
63
  "peerDependenciesMeta": {
@@ -74,7 +74,7 @@
74
74
  "scripts": {
75
75
  "typegen": "tsc -p tsconfig.types.json",
76
76
  "test:packed": "node tests/packed-consumer.mjs",
77
- "test:macos-runtime": "node ../../scripts/probe.mjs run tests/unsupported.macos.tsrx --target macos --deps @octane-xplat/canvas",
77
+ "test:macos-runtime": "node ../../scripts/probe.ts run tests/unsupported.macos.tsrx --target macos --deps @octane-xplat/canvas",
78
78
  "pack:check": "tsrx-typegen --pack-check"
79
79
  }
80
80
  }
@@ -13,11 +13,5 @@ export function Canvas(props: CanvasProps) @{
13
13
  props.onReady?.({ canvas, context: null });
14
14
  }, []);
15
15
 
16
- <gridlayout
17
- id={props.id}
18
- className={props.className}
19
- style={props.style}
20
- width={props.width}
21
- height={props.height}
22
- />;
16
+ <masonview id={props.id} className={props.className} style={{display: "grid", ...(props.style)}} width={props.width} height={props.height}/>;
23
17
  }