@glissade/scene 0.32.0-pre.0 → 0.32.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/chart.js CHANGED
@@ -141,7 +141,10 @@ function Chart(spec) {
141
141
  children: bars,
142
142
  ...stripChartOnly(spec)
143
143
  });
144
- const targets = (prop) => bars.map((_, i) => `${id}/bars/${i}/${prop}`);
144
+ const targets = (prop) => {
145
+ if (!prop) throw new ChartError("Chart.targets(prop) needs a prop name, e.g. targets('height') or targets('fill')");
146
+ return bars.map((_, i) => `${id}/bars/${i}/${prop}`);
147
+ };
145
148
  return {
146
149
  node,
147
150
  bars,
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.32.0-pre.0";
25
+ const RAW_VERSION = "0.32.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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/scene",
3
- "version": "0.32.0-pre.0",
3
+ "version": "0.32.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.32.0-pre.0"
72
+ "@glissade/core": "0.32.0"
73
73
  },
74
74
  "repository": {
75
75
  "type": "git",