storyink 0.3.3 → 0.3.4
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 +22 -0
- package/dist/chunks/{index-wpcz893s.js → index-8fj4y3qd.js} +1 -1
- package/dist/chunks/{index-xmj21twd.js → index-a1ae1dgw.js} +99 -39
- package/dist/cli.js +98 -38
- package/dist/core/index.js +11 -1
- package/dist/index.js +12 -2
- package/dist/node/index.js +2 -2
- package/dist/types/core/index.d.ts +2 -2
- package/dist/types/core/layout/index.d.ts +1 -1
- package/dist/types/core/layout/paths.d.ts +7 -0
- package/dist/types/core/story/state.d.ts +23 -0
- package/dist/types/generated/meta.d.ts +1 -1
- package/dist/types/generated/viewer.d.ts +1 -1
- package/docs/spec.md +28 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
- **Fix: → stopped before the next box was visible.** Step moves targeted the next step *start*,
|
|
6
|
+
and stories split a pulse and the reveal it causes into consecutive steps, so → stopped as the
|
|
7
|
+
dot arrived, before its target box appeared. → / ← now land on the next / previous **beat stop**:
|
|
8
|
+
a pulse and the reveal of its target are one beat, and the stop is where they (and the caption)
|
|
9
|
+
have settled. One definition, `beatGroups`, now drives step moves, stepped (reduced-motion)
|
|
10
|
+
playback, scrubber ticks and beat tiles. A reveal step that has its own caption now joins the
|
|
11
|
+
pulse whose target it reveals.
|
|
12
|
+
- Captions finish typing within their step (the last word no longer settles after the step ends).
|
|
13
|
+
- Step end times round up to the millisecond, so a stop is never a fraction of a millisecond
|
|
14
|
+
before its dot lands.
|
|
15
|
+
- **Fix: sharp light-grey corners during animation.** The pulse trail and dot followed the route's
|
|
16
|
+
corner points (straight segments with sharp corners) instead of the rounded wire. Routes now use
|
|
17
|
+
`flattenPath(edge.d)`, the drawn curve sampled in core, in the HTML viewer and the SMIL animated
|
|
18
|
+
SVG. The draw-on dash length is the rounded wire's length, and multi-hop routes no longer cut the
|
|
19
|
+
corner of the next wire.
|
|
20
|
+
- Core: `beatGroups`, `beatStops`, `beatChapters`, `beatTicks`, `flattenPath`.
|
|
21
|
+
- `verify:viewer`: → from OpenWick beat stops ends with the dot's target box visible. Chrome is
|
|
22
|
+
always killed (exit, signals, uncaught errors, plus a watchdog if the runner is SIGKILLed; a
|
|
23
|
+
20 min cap), CDP calls time out after 30 s, and the run has a 15 min deadline.
|
|
24
|
+
|
|
3
25
|
## 0.3.3
|
|
4
26
|
|
|
5
27
|
- **Fix: `snapshot --camera follow` wasn't deterministic on real diagrams** (`follow-deterministic`
|