Skip to content

All versions since 0.2.0

0.2.0

Minor Changes

  • 9a70bd3 Thanks @benhonda! - Audit fixes. Core: flipTo during a running flip lands it first instead of overshooting; a press during a flip lands it; drag: false no longer turns a long drag into a click; ignoreDragOn is validated at createBook and accepts false; a resize mid-drag drops the stale fold; turnTo out of range throws; a frame timestamp before the tween’s start no longer produces negative progress; the renderer re-asserts its classes on every draw and writes to idle pages once, not every frame; an already-aborted AbortSignal never subscribes; Book.redraw() added. The unimplemented Direction vocabulary is removed until right-to-left lands. React: FlipBook redraws instead of re-measuring after each commit, and the ref handle exposes redraw.

Patch Changes

  • ce0f54d Thanks @benhonda! - Docs site at https://benhonda.github.io/openpageflip/ with live demos and a generated API reference. READMEs now point there and embed their quick start from the site’s own examples, which run in the test suite. Types the public API already referred to are exported so the reference (and your editor) can name them: ShadowData, FlipFrame, Emitter, Listener, LayoutOptions, LayoutResult, ResolvedOptions from core and FlipBookEventProps from react.

0.2.1

Patch Changes

  • 329cb63 Thanks @benhonda! - A hard page’s shadow is no longer painted on the empty side of the stage when a cover opens or the lone last page closes. It is drawn only where a page is there to receive it.

0.2.2

Patch Changes

  • 9a1ad82 Thanks @benhonda! - A hovered corner lifts and drops over at least a quarter of flipDuration instead of snapping, and the same floor applies to every short animation path, such as a corner released close to where it started. While a corner is hovered the pointer takes over from the lift animation instead of fighting it. A settling corner is no longer restarted by every further mouse move, which made it stutter and only land once the mouse stopped, and a pointer jumping to another corner lets the lifted one settle instead of folding it from the wrong corner.

0.2.3

Patch Changes

0.2.4 Latest

Patch Changes

  • 79d7c99 Thanks @benhonda! - The quick-start pages embedded in the READMEs read a little more like a person wrote them. No code changes.