@glissade/scene 0.51.0-pre.0 → 0.51.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 CHANGED
@@ -23,7 +23,7 @@ import { easings, listValueTypes } from "@glissade/core";
23
23
  * never pulled onto the base embed path — a scene that never calls `describe()`
24
24
  * pays zero bytes for it.
25
25
  */
26
- const RAW_VERSION = "0.51.0-pre.0";
26
+ const RAW_VERSION = "0.51.0";
27
27
  const PACKAGE_VERSION = RAW_VERSION.includes("GLISSADE_".concat("VERSION")) ? "0.0.0-dev" : RAW_VERSION;
28
28
  /**
29
29
  * Parse the documented positional-arg count from a helper `usage` string — the
package/dist/nodes.js CHANGED
@@ -1,4 +1,4 @@
1
- import { TARGET_PATH, computed, emitDevWarning, random, signal, vec2Signal } from "@glissade/core";
1
+ import { TARGET_PATH, computed, emitDevWarning, paintType, random, signal, vec2Signal } from "@glissade/core";
2
2
  //#region src/matrix.ts
3
3
  const IDENTITY = [
4
4
  1,
@@ -1331,6 +1331,7 @@ var Shape = class extends Node {
1331
1331
  constructor(props = {}) {
1332
1332
  super(props);
1333
1333
  this.fill = initProp(signal(""), props.fill);
1334
+ if (props.fill !== void 0 && typeof props.fill === "object") paintType.validate?.(props.fill);
1334
1335
  this.stroke = initProp(signal(""), props.stroke);
1335
1336
  this.strokeWidth = initProp(signal(0), props.strokeWidth);
1336
1337
  this.reveal = initProp(signal(1), props.reveal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/scene",
3
- "version": "0.51.0-pre.0",
3
+ "version": "0.51.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": {
@@ -77,7 +77,7 @@
77
77
  ],
78
78
  "dependencies": {
79
79
  "yoga-layout": "^3.2.1",
80
- "@glissade/core": "0.51.0-pre.0"
80
+ "@glissade/core": "0.51.0"
81
81
  },
82
82
  "repository": {
83
83
  "type": "git",