@glissade/scene 0.47.0-pre.0 → 0.47.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.
Files changed (2) hide show
  1. package/dist/describe.js +82 -1
  2. package/package.json +2 -2
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.47.0-pre.0";
26
+ const RAW_VERSION = "0.47.0-pre.1";
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
@@ -105,6 +105,80 @@ const SURFACE_CORE = [
105
105
  arity: 0
106
106
  }
107
107
  ];
108
+ /**
109
+ * The remaining authoring `window.glissade.<name>` FUNCTIONS beyond the node
110
+ * constructors / {@link HELPERS} / {@link SURFACE_CORE} — the fundamentals a
111
+ * no-build author reaches for that had no home in the curated lists: the core
112
+ * primitives (`key`/`signal`/`spring`/`cubicBezier`/`namedEasing`/`springTo`), the
113
+ * SVG-path parser (`pathFromSvg`), and the motion/clip-tier helpers
114
+ * (`glow`/`morph`/`typewriter`/`pulse`/`popIn`/`slideIn`/`presence`/`highlight`).
115
+ * Their ABSENCE red-lined valid no-build code (`track('x/o','number',[key(0,0)])`)
116
+ * under the ambient .d.ts; the bidirectional describe-lint gate now keeps this set
117
+ * complete (a public window.glissade export MUST be surfaced or explicitly exempt).
118
+ * `arity` = the runtime `Function.length` (informational).
119
+ */
120
+ const SURFACE_EXTRA = [
121
+ {
122
+ name: "key",
123
+ arity: 3
124
+ },
125
+ {
126
+ name: "signal",
127
+ arity: 2
128
+ },
129
+ {
130
+ name: "spring",
131
+ arity: 1
132
+ },
133
+ {
134
+ name: "cubicBezier",
135
+ arity: 4
136
+ },
137
+ {
138
+ name: "namedEasing",
139
+ arity: 1
140
+ },
141
+ {
142
+ name: "springTo",
143
+ arity: 4
144
+ },
145
+ {
146
+ name: "pathFromSvg",
147
+ arity: 1
148
+ },
149
+ {
150
+ name: "glow",
151
+ arity: 1
152
+ },
153
+ {
154
+ name: "morph",
155
+ arity: 4
156
+ },
157
+ {
158
+ name: "typewriter",
159
+ arity: 2
160
+ },
161
+ {
162
+ name: "pulse",
163
+ arity: 1
164
+ },
165
+ {
166
+ name: "popIn",
167
+ arity: 1
168
+ },
169
+ {
170
+ name: "slideIn",
171
+ arity: 2
172
+ },
173
+ {
174
+ name: "presence",
175
+ arity: 2
176
+ },
177
+ {
178
+ name: "highlight",
179
+ arity: 1
180
+ }
181
+ ];
108
182
  /** Value exports that are runtime OBJECTS (not callable): the easing registry. */
109
183
  const SURFACE_VALUE_OBJECTS = ["easings"];
110
184
  /**
@@ -148,6 +222,13 @@ function buildSurface() {
148
222
  form: "function",
149
223
  arity: c.arity
150
224
  });
225
+ for (const c of SURFACE_EXTRA) out.push({
226
+ name: c.name,
227
+ kind: "value",
228
+ iife: true,
229
+ form: "function",
230
+ arity: c.arity
231
+ });
151
232
  for (const name of SURFACE_VALUE_OBJECTS) out.push({
152
233
  name,
153
234
  kind: "value",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/scene",
3
- "version": "0.47.0-pre.0",
3
+ "version": "0.47.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": {
@@ -77,7 +77,7 @@
77
77
  ],
78
78
  "dependencies": {
79
79
  "yoga-layout": "^3.2.1",
80
- "@glissade/core": "0.47.0-pre.0"
80
+ "@glissade/core": "0.47.0-pre.1"
81
81
  },
82
82
  "repository": {
83
83
  "type": "git",