Releases: henrygd/bigger-picture
Releases · henrygd/bigger-picture
1.1.6
- Allows explicit import of the vanilla version
bigger-picture/vanilla
- Allows importing the
BiggerPictureInstance
type
Full Changelog: v1.1.5...v1.1.6
1.1.5
- Fixes Svelte import in Vite 3 / SvelteKit
Full Changelog: v1.1.4...v1.1.5
1.1.4
- Add type declarations
- Improve pinch accuracy
- Fix svelte module import in Vite 3
- Fix multiple
onClose
calls during swipe up close - Add
.cjs
script - Add more import options like
bigger-picture/svelte
andbigger-picture/css
Release notes were skipped for 1.1.3 because the
svelte.d.ts
file is the only difference
Full Changelog: v1.1.2...v1.1.4
1.1.2
- Add
container
andactiveItem
params foronClose
method - Fix pointercancel issue causing canceled events to trigger actions
- Limit left / right swipes changing item if vertical swipe is detected
- Slightly adjust positioning of item counter on small screens
Full Changelog: v1.1.1...v1.1.2
1.1.1
- Change
noPinch
method'scontainer
parameter to be only the node to maintain consistency with other methods
Full Changelog: v1.1.0...v1.1.1
1.1.0
- Change behavior on small screens to zoom on single tap and hide controls automatically, rather than hide controls on single tap and zoom on double tap.
- Add
noPinch
option - Add
onImageClick
option - Add class
bp-small
when gallery width is narrower than 769px - Class name
zoomed
changed tobp-zoomed
- Improve scaling of inline images when screen is resized
Full Changelog: v1.0.5...v1.1.0
1.0.5
1.0.4
- Reduces size of library to 8.33 kB gzip
- Fixes image scaling when closed while in the process of zooming in / out
- Removes image pointercancel event listener
- Removes align-items vertical centering
Full Changelog: v1.0.3...v1.0.4
1.0.3
Reduces size of library to 8.69 kB gzip
No breaking changes, but please update styles if you've copied them manually.
Full Changelog: v1.0.2...v1.0.3
1.0.2
Full Changelog: v1.0.1...v1.0.2