@glissade/scene 0.14.0 → 0.15.0-pre.1
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/index.js +1 -1
- package/dist/layoutEngine.d.ts +5 -3
- package/dist/layoutEngine.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -931,7 +931,7 @@ var TokenHighlight = class extends Node {
|
|
|
931
931
|
this.registerTarget(`${id}/opacity`, r.opacity, "number");
|
|
932
932
|
this.registerTarget(`${id}/progress`, r.progress, "number");
|
|
933
933
|
this.registerTarget(`${id}/scale`, r.scale, "number");
|
|
934
|
-
this.registerTarget(`${id}/offset`, r.offset,
|
|
934
|
+
this.registerTarget(`${id}/offset`, r.offset, "vec2");
|
|
935
935
|
this.registerTarget(`${id}/offset.x`, r.offset.x, "number");
|
|
936
936
|
this.registerTarget(`${id}/offset.y`, r.offset.y, "number");
|
|
937
937
|
return r;
|
package/dist/layoutEngine.d.ts
CHANGED
|
@@ -299,9 +299,11 @@ interface BindablePropTarget {
|
|
|
299
299
|
unbindSource(): void;
|
|
300
300
|
/**
|
|
301
301
|
* The value type(s) this prop accepts — bindTimeline hard-throws a mismatched
|
|
302
|
-
* track (§2.2). An array for a polymorphic prop (a Shape `fill` is
|
|
303
|
-
*
|
|
304
|
-
*
|
|
302
|
+
* track (§2.2). An array for a GENUINELY polymorphic prop (a Shape `fill` is
|
|
303
|
+
* color|paint — distinct reprs). A plain `vec2` prop tags just `'vec2'`: the
|
|
304
|
+
* 0.15 repr-compat guard binds a `vec2-arc` track (repr 'vec2') to it without
|
|
305
|
+
* an array tag. UNDEFINED for an untagged target (the 2-arg registerTarget
|
|
306
|
+
* form): bindTimeline skips the guard (0.13 back-compat seam).
|
|
305
307
|
*/
|
|
306
308
|
readonly expects: ValueTypeId | readonly ValueTypeId[] | undefined;
|
|
307
309
|
}
|
package/dist/layoutEngine.js
CHANGED
|
@@ -560,11 +560,11 @@ var Node = class {
|
|
|
560
560
|
]);
|
|
561
561
|
}, { equals: matEquals });
|
|
562
562
|
this.worldMatrix = computed(() => this.parent ? multiply(this.parent.worldMatrix(), this.localMatrix()) : this.localMatrix(), { equals: matEquals });
|
|
563
|
-
this.registerTarget("position", this.position,
|
|
563
|
+
this.registerTarget("position", this.position, "vec2");
|
|
564
564
|
this.registerTarget("position.x", this.position.x, "number");
|
|
565
565
|
this.registerTarget("position.y", this.position.y, "number");
|
|
566
566
|
this.registerTarget("rotation", this.rotation, "number");
|
|
567
|
-
this.registerTarget("scale", this.scale,
|
|
567
|
+
this.registerTarget("scale", this.scale, "vec2");
|
|
568
568
|
this.registerTarget("scale.x", this.scale.x, "number");
|
|
569
569
|
this.registerTarget("scale.y", this.scale.y, "number");
|
|
570
570
|
this.registerTarget("opacity", this.opacity, "number");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glissade/scene",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-pre.1",
|
|
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": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"yoga-layout": "^3.2.1",
|
|
26
|
-
"@glissade/core": "0.
|
|
26
|
+
"@glissade/core": "0.15.0-pre.1"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|