storyink 0.3.4 → 0.3.5
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/CHANGELOG.md +19 -0
- package/README.md +5 -0
- package/dist/chunks/{index-a1ae1dgw.js → index-54aprc45.js} +1090 -1017
- package/dist/chunks/{index-8fj4y3qd.js → index-hh8dgmx2.js} +8 -2
- package/dist/cli.js +2083 -1995
- package/dist/core/index.js +5 -1
- package/dist/index.js +15 -2
- package/dist/node/index.js +4 -2
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/core/spec.d.ts +10 -0
- package/dist/types/core/story/compile.d.ts +13 -1
- package/dist/types/core/story/types.d.ts +2 -0
- package/dist/types/generated/meta.d.ts +1 -1
- package/dist/types/generated/viewer.d.ts +1 -1
- package/dist/types/node/index.d.ts +5 -0
- package/dist/types/theme/tokens.d.ts +13 -0
- package/docs/spec.md +22 -2
- package/package.json +1 -1
- package/schema/storyink.schema.json +12 -0
- package/skill/SKILL.md +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.5
|
|
4
|
+
|
|
5
|
+
- **Fix: the diagram showed a hover tooltip** (the diagram title) wherever the cursor rested. The
|
|
6
|
+
SVG carried a `<title>`, which browsers show as a tooltip. It's gone from the viewer, static
|
|
7
|
+
`.svg` exports and the animated SVG; the accessible name stays as `role="img"` +
|
|
8
|
+
`aria-label` on the root. Toolbar and transport hints are unchanged.
|
|
9
|
+
- **Reading holds.** Continuous playback now pauses after each beat so the reader can read it:
|
|
10
|
+
1 s + 0.3 s per word of the beat's caption, clamped to 1.5–6 s, or 0.8 s without a caption,
|
|
11
|
+
counted from when the beat is visually still (nothing changes during it; the caption stays up).
|
|
12
|
+
The animation speed is unchanged. Compiled into the timeline, so the viewer, scrubber, beat
|
|
13
|
+
sheets, snapshots and the animated SVG agree. Stepped (reduced-motion) playback holds each stop
|
|
14
|
+
for the same number; → / ← still stop at the settled beat without waiting.
|
|
15
|
+
- `story.pace` (multiplier, default 1; `0` = the 0.3.4 timing) and a per-step `hold` (seconds,
|
|
16
|
+
for the beat it ends); `render --pace`, tool `storyink_render` `pace`; core `readingHold`,
|
|
17
|
+
`compileStoryAuthored`.
|
|
18
|
+
- An absolute `at` is now a *minimum* start; relative `"+x"` steps shift.
|
|
19
|
+
- Stories run longer: OpenWick architecture 55 s → 176 s, data flow 29 s → 95 s, checkout
|
|
20
|
+
13 s → 30 s, OAuth 17 s → 57 s. The 60 s length warning counts the authored timing only.
|
|
21
|
+
|
|
3
22
|
## 0.3.4
|
|
4
23
|
|
|
5
24
|
- **Fix: → stopped before the next box was visible.** Step moves targeted the next step *start*,
|
package/README.md
CHANGED
|
@@ -126,6 +126,11 @@ has a click-to-play gate, play/pause, a tape-rewind replay and a scrubber with s
|
|
|
126
126
|
ticks. Space, ←/→ and R control it: → plays to the next step and pauses, ← rewinds at 2× to the
|
|
127
127
|
previous one (Shift: by chapter; repeated presses extend the move).
|
|
128
128
|
|
|
129
|
+
Playback **pauses to read after each beat**: about 1 s + 0.3 s per word of its caption (1.5–6 s;
|
|
130
|
+
0.8 s without one) once the beat is still, before the next beat starts. The animation speed is
|
|
131
|
+
unchanged. Set `"story": { "pace": 1.5 }` (or `--pace`) to slow it further, `0` for none, or
|
|
132
|
+
`"hold": 3` on a step for its beat.
|
|
133
|
+
|
|
129
134
|
Motion is **full by default, even when the reader's system asks for reduced motion**. Authors can
|
|
130
135
|
set `"story": { "motion": "reduced" }` (always step by step) or `"motion": "system"` (follow
|
|
131
136
|
`prefers-reduced-motion`); `--motion full|reduced|system` on `render` does the same, including
|