The happo npm package: the CLI and its Storybook, Cypress and Playwright integrations.
6.18.0
Add AnimateTrace.stageCount and AnimateTrace.stages to track animation stages during capture [by @trotzig in #596]
Add AnimationDriverHandle.finish() method for drivers to properly end animation stages [by @trotzig in #596]
Support happoAnimate.beforeRender hook to set up motion environment before story renders, covering prefersReducedMotion and capture-friendly reset CSS [by @trotzig in #595]
Add AnimateOptions.discovery to detect animations starting after capture begins, with configurable settle time and max frames [by @trotzig in #594]
Add AnimateOptions.sampling for motion capture configuration [by @trotzig in #594]
Add story-level animate options and root expectations for motion-capture hazard handling [by @trotzig in #594]
Add AnimateOptions.stages and AnimateExpectations.minStages to support chained animations where each stage starts after the previous one finishes [by @trotzig in #596]