@glissade/scene 0.34.0-pre.0 → 0.34.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/dist/describe.js +2 -2
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/describe.js
CHANGED
|
@@ -22,7 +22,7 @@ import { easings, listValueTypes } from "@glissade/core";
|
|
|
22
22
|
* never pulled onto the base embed path — a scene that never calls `describe()`
|
|
23
23
|
* pays zero bytes for it.
|
|
24
24
|
*/
|
|
25
|
-
const RAW_VERSION = "0.34.0
|
|
25
|
+
const RAW_VERSION = "0.34.0";
|
|
26
26
|
const PACKAGE_VERSION = RAW_VERSION.includes("GLISSADE_".concat("VERSION")) ? "0.0.0-dev" : RAW_VERSION;
|
|
27
27
|
/** Arity of a value type's numeric repr: vec2/vec2-arc → 2, number → 1; others (color/paint/path/string/boolean) carry no scalar arity. */
|
|
28
28
|
function arityOf(type) {
|
|
@@ -54,7 +54,7 @@ function expectsToType(expects) {
|
|
|
54
54
|
const CONSTRUCTION_PROP_META = {
|
|
55
55
|
Group: {
|
|
56
56
|
children: { type: "Node[]" },
|
|
57
|
-
clip: { type: "
|
|
57
|
+
clip: { type: "{ w, h, r?, x?, y? } | PathSeg[]" }
|
|
58
58
|
},
|
|
59
59
|
Rect: {
|
|
60
60
|
sketch: { type: "SketchStyle" },
|
package/dist/index.js
CHANGED
|
@@ -686,6 +686,7 @@ var TrackMatte = class extends Group {
|
|
|
686
686
|
...rest,
|
|
687
687
|
children: [content, matte]
|
|
688
688
|
});
|
|
689
|
+
if (mode !== void 0 && mode !== "alpha" && mode !== "luma") throw new Error(`trackMatte mode must be 'alpha' or 'luma', got ${JSON.stringify(mode)}`);
|
|
689
690
|
this.content = content;
|
|
690
691
|
this.matte = matte;
|
|
691
692
|
this.mode = mode ?? "alpha";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glissade/scene",
|
|
3
|
-
"version": "0.34.0
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "glissade scene graph: nodes, transforms, DisplayList emission. Renderer-agnostic; zero DOM/Node dependencies.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"yoga-layout": "^3.2.1",
|
|
72
|
-
"@glissade/core": "0.34.0
|
|
72
|
+
"@glissade/core": "0.34.0"
|
|
73
73
|
},
|
|
74
74
|
"repository": {
|
|
75
75
|
"type": "git",
|