Skip to content

v0.3.0

Latest

Choose a tag to compare

@saifulapm saifulapm released this 11 Jun 19:57
· 8 commits to main since this release

What's new

Features

  • Hover throttling — hover() is rate-limited in the engine (default 80 ms, init({ hoverThrottleMs }), 0 disables)
  • Declarative binding — bindTiks() wires <button data-tiks="click"> (and toggle/toggle-on/toggle-off) via one delegated listener — ideal for the CDN/no-build setup
  • Two new themes — arcade (chunky 8-bit square-wave) and glass (airy, resonant) alongside soft and crisp
  • Svelte & Solid adapters — @rexa-developer/tiks/svelte and …/solid, plus a framework-free createTiks() factory for multi-instance use (zero new dependencies)

Fixes

  • respectReducedMotion: false is now honored regardless of init order (was a permanent no-op after any default init())
  • init({ muted: false }) can now unmute — the muted option is last-explicit-wins like volume
  • iOS: gesture unlock no longer dead-ends when resume() resolves while the context is interrupted

Internals

  • 137-test suite incl. characterization tests pinning every generator's envelopes and frequencies
  • Biome lint + format gating CI
  • Fully automated releases: npm version syncs the demo's CDN pin; the tag publishes to npm with provenance

Size: core ~3.5 KB gzip (everything included — tree-shakes smaller in bundler builds)