@glissade/scene 0.19.0 → 0.19.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/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.19.0";
25
+ const RAW_VERSION = "0.19.1";
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/dist/nodes.d.ts CHANGED
@@ -584,6 +584,18 @@ interface TextProps extends NodeProps {
584
584
  fontWeight?: number;
585
585
  /** Font style; default 'normal'. Threaded into FontSpec.style (§3.6). */
586
586
  fontStyle?: 'normal' | 'italic';
587
+ /**
588
+ * Variable-font axis settings in CSS `font-variation-settings` form
589
+ * (e.g. `'"wght" 700, "opsz" 14'`). **Not yet applied.** Accepted so the
590
+ * input is discoverable + typed, but as of 0.19 neither rasterizer wires
591
+ * variation axes through, so setting it emits a dev-warning and is otherwise
592
+ * a no-op (the value does NOT reach `ctx.font`). Animatable axes (a `wght`
593
+ * track, `opsz` driven by size, …) are a 0.20 feature. Until then, drive a
594
+ * weight axis via the discrete `fontWeight` named instances your font ships.
595
+ * Tracked so a silent drop becomes a loud one — see the splitText measurer
596
+ * precedent (0.19).
597
+ */
598
+ fontVariationSettings?: string;
587
599
  /** Horizontal alignment about the node position; default 'left'. */
588
600
  align?: 'left' | 'center' | 'right';
589
601
  /** Wrap width in px; unset = no wrapping (explicit \n still breaks). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/scene",
3
- "version": "0.19.0",
3
+ "version": "0.19.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": {
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "yoga-layout": "^3.2.1",
38
- "@glissade/core": "0.19.0"
38
+ "@glissade/core": "0.19.1"
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",