Skip to content

v1.1.0

Choose a tag to compare

@harshmandan harshmandan released this 07 Jun 04:04
· 40 commits to main since this release

Features

  • calc(), percentage and pixel-offset snap points (e.g. "calc(50% + 24px)")
  • Compounding nested card-stack: drawers step back per level and the background dims one notch per level
  • Portal/shadow-DOM-aware dismiss — mark layers data-svaul-ignore; outside-click uses composedPath()
  • keepMounted — keep content in the DOM (hidden + inert) while closed
  • onlyPrimaryPointer — ignore non-primary (right/middle) button drags

Install: npm i @harshmandan/svaul