v0.2.0
What's Changed
Bug Fixes
- fix: pinch-to-zoom drifts to bottom-right on iOS —
scaleAround()received raw viewport coordinates but the image usestransform-origin: center center; each pinch frame accumulated an offset. Converted midpoint to offset-from-element-center, matching wheel-zoom. Added regression test with realisticgetBoundingClientRectmock. - fix(mobile): center button glyphs, solid
::backdrop, responsive demo —.pc-btnnow usesinline-flexcentering; native<dialog>::backdropgets full-opacity background; 640px breakpoint for mobile gallery layout. - fix(ci): move SRI step after changelogithub so GitHub release exists before upload.
Features
- feat(#56): SRI hashes in release workflow — sha384 integrity hash for
dist/index.mjsauto-generated and appended to each GitHub release. CDN snippet added to README.
Docs
- Comparison table now links to competitor GitHub repos + Acknowledgments section added.
- In-flight checklist updated: #4 (plugins), #6 (controlled mode), #9 (ImageLoader DI), #56 (SRI) marked done.
Full Changelog: v0.1.0...v0.2.0