@algorisys/tinyfly 0.127.1 → 0.129.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorisys/tinyfly",
3
- "version": "0.127.1",
3
+ "version": "0.129.0",
4
4
  "type": "module",
5
5
  "description": "Lightweight, API-driven animation engine and editor. The engine is framework-agnostic and runs in browsers, Web Workers, and Node.",
6
6
  "license": "MIT",
@@ -77,6 +77,10 @@
77
77
  "types": "./lib/types/teach/index.d.ts",
78
78
  "import": "./lib/addons/teach.js"
79
79
  },
80
+ "./present": {
81
+ "types": "./lib/types/present/index.d.ts",
82
+ "import": "./lib/addons/present.js"
83
+ },
80
84
  "./math": {
81
85
  "types": "./lib/types/math/index.d.ts",
82
86
  "import": "./lib/addons/math.js"
@@ -187,10 +191,10 @@
187
191
  "vue": "^3.5.42"
188
192
  },
189
193
  "peerDependencies": {
194
+ "@napi-rs/canvas": ">=0.1.60",
190
195
  "react": ">=18",
191
- "vue": ">=3.3",
192
196
  "solid-js": ">=1.8",
193
- "@napi-rs/canvas": ">=0.1.60"
197
+ "vue": ">=3.3"
194
198
  },
195
199
  "peerDependenciesMeta": {
196
200
  "react": {
@@ -40,7 +40,8 @@ names.
40
40
  The same `HUMAN_EXPRESSIONS`, blink, gaze, turn, acting and dance fields apply.
41
41
  - White outlined stick figures: `figure: 'bean'` (or `castMember('beanMan' | 'beanWoman' | 'beanKid' | 'beanBoss' | 'beanDetective' | 'beanStick', height)`)
42
42
  draws seamless outlined noodle limbs (`bean: { limbs: 'line' }` for bare lines), a shaped body, big oval eyes
43
- (`face.style: 'oval'`), mittens and cartoon shoes; colour it with `bean: { shirt, sleeves, trousers, shoes }`;
43
+ (`face.style: 'oval'`; `face: { eyeScale, eyeAspect }` sizes them), mittens and cartoon shoes; colour it with
44
+ `bean: { shirt, sleeves, trousers, shoes, tie }`;
44
45
  detective gear `bean: { coat, fedora, shades: true }`; `halo` edges line limbs.
45
46
  It is always drawn clean; every pose, gait, dance and expression field works on it.
46
47
  Household clothes: `bean: { skirt, drape, bangles }` (`skirt` a colour or `{ color, length }`; preset `beanSari`).
@@ -293,6 +294,9 @@ and stump radii. Preserve bowled's collision and stumping's later wicket break.
293
294
  - Tracks: `checkTracks(tracks, targets)` — unknown targets and properties,
294
295
  key order, value kinds and ranges.
295
296
  - Teaching timelines: `npx @algorisys/tinyfly validate timeline.json --markup figure.svg`.
297
+ - Presentations (`createDeck`, `docs/presenting.md`): build with
298
+ `npx @algorisys/tinyfly present index.html -o Talk.html`; it fails when the page
299
+ would still load a file or the network. Check moments with `deck.seek(slide, step, ms)`.
296
300
 
297
301
  Fix every error; read every warning.
298
302