diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..efc52c1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,68 @@ +# Changelog + +All notable changes to `@zablab/solar` are documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.2.0] — chantier Solar action runner + +### Added + +- **`Patch.action` descriptor** on the wire protocol — Solar now + reconstructs dense patches locally rather than receiving them + frame-by-frame. Six built-in kinds : `count-up`, `curve-path`, + `text-reveal`, `stagger-group`, `reorder`, `mask-reveal`. + Patches without `action` flow through the existing + `transitions.ts` mapper unchanged — fully backward compatible. +- **`animate/action-runner.ts`** dispatcher + per-kind sub-runners + in `animate/runners/`. Unknown kinds raise + `UnknownActionKindError` ; hosts can register custom kinds via + `registerActionRunner(kind, fn)`. +- **`animate/flip.ts`** — single source of truth for FLIP. Solar's + `reorder` runner consumes it directly ; Prism's preview + flip-runtime imports it via `@zablab/solar/animate/flip`. +- **`animate/easing-resolver.ts`** — resolve `EasingRef` (string id or + inline spring) into a CSS easing string plus a `t → eased t` + function. +- **`PrismScene` public class** at `scene/prism-scene.ts` exposing + `mount`, `unmount`, `playAnimation`, `stopAnimation`, `on`/`off`, + `connectToOrion`, `disconnectFromOrion`, `setScene`. Lets any web + host run a Prism-authored scene without Pulsar, CEF, or Electron. +- **DOM binder** (`scene/binder.ts`) — one-way bindings via + `data-anim-path` / `data-anim-attr`. +- **Examples** : `examples/embed-vanilla/` (UMD ` + + + +
+ + + + +