Skip to content

v0.1.0

Choose a tag to compare

@alexberce alexberce released this 25 May 15:04
· 31 commits to main since this release

Initial release.

Install

```elixir
{:shift, "~> 0.1"}
```

What's in this release

  • `<.animated>` component — one component for enter, exit, layout (FLIP), and size animations.
  • Renders any HTML tag via `as=` (defaults to `div`).
  • Tween transitions with phase-aware easing defaults.
  • Spring transitions backed by a numerical ODE solver.
  • Smart defaults: opacity fade by default, auto-resolved targets, 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.