Skip to main content

CHANGELOG.md

# Changelog

Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versioning:
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.1.1

### Fixed

- Sibling layout caches now refresh on every animation frame during a
  size-collapsing exit, and are nulled when the element is finally
  removed. Previously, the post-removal relayout would FLIP each
  neighbor by the full reflow distance, snapping them back to their
  pre-exit positions and animating up again.

### Added

- Special-case collapse for `<tr>` exits. Because `display: table-row`
  derives its height from the tallest cell rather than its own CSS
  `height`, each cell's padding, `font-size`, and `line-height` are
  now animated to zero alongside the row's exit. The row's intrinsic
  height shrinks with the animation while the table layout stays
  intact.
- `fontSize` and `lineHeight` added to `PX_PROPS` so the keyframe
  builder emits them with a `px` unit instead of as bare numbers
  (which WAAPI silently ignores).

## v0.1.0

Initial release.

### Added

- `<.animated>` component — one component for enter, exit, layout (FLIP),
  and size animations.
- Tween transitions with phase-aware easing defaults (ease-out on enter,
  ease-in-out on exit and layout).
- Spring transitions backed by a numerical ODE solver — overshoot and
  damping behave physically.
- Smart defaults: opacity fade by default, auto-resolved targets when only
  `initial` is given, padding/margin/border collapse on size animations.
- Inferred mid-life animations — position and size changes animate
  automatically; opt out per element with `disable: [:position, :size]`.
- Server-driven exits via `phx-remove`, with cascading-order preservation
  and sliding-window stack handling out of the box.