Releases: deoostfrees/Parvus
Releases · deoostfrees/Parvus
3.0.0-alpha
Added
- Pinch zoom gestures 4a591e7 4a8355a @deoostfrees #42
- Option to make the zoom indicator optional e65d5c7 @deoostfrees #62
Changed
- Use the native HTML
dialog
element e703293 @deoostfrees #60 - Use the View Transitions API for the zoom in/ out animation 11e183f @deoostfrees
- Use pointer events instead of mouse and touch events b4941cf @deoostfrees
Removed
- Breaking: The custom event
detail
property 4ea8e38 @deoostfrees - The
transitionDuration
option. This option is now also set via the available CSS custom property 11e183f @deoostfrees - The
transitionTimingFunction
option. This option is now also set via the available CSS custom property 11e183f @deoostfrees - The
loadEmpty
option. The internaladd
function now creates the lightbox 98e41b5 @deoostfrees - The custom
close
event. The native HTMLdialog
element has its ownclose
event dba4678 @deoostfrees
2.6.0
Changed
- Run
change
event listener forreducedMotionCheck
only when the lightbox is open 083a0e7 @deoostfrees
Fixed
- Avoid unintentionally moving the image when dragging 96ff56e @deoostfrees #59
- Relationship between caption and image 76df207 @deoostfrees
2.5.3
Fixed
- Remove optional files field in package.json to include all files via NPM
2.5.2
Fixed
- Language file import afe86dc @deoostfrees #55
2.5.1
Fixed
- Issue if no language options are set 2dbed4a @deoostfrees
2.5.0
Added
- Option to load an empty lightbox (even if there are no elements) a436a81 @drhino 9a180fc @deoostfrees
- Fallback to the default language 39e1ae0 @drhino
- Dutch translation 7476426 @drhino
Changed
- Breaking: Rename some CSS custom properties 8b43c66 8ba1f00 @deoostfrees
Removed
- Slide animation when first/ last slide is visible 4df766b @deoostfrees #52
2.4.0
Added
- Option to hide the browser scrollbar (#47).
Changed
- Added an internal function to create and dispatch a new event.
- Disabled buttons are no longer visually hidden.
- Focus is no longer moved automatically.
- CSS styles are now moved from SVG to the actual elements.
- Updated the development dependencies to the latest versions.
Removed
- Custom typography styles.
Fixed
- Load the srcset before the src, add sizes attribute (#49)
2.4.0-beta
Added
- Option to hide the browser scrollbar (#47).
Changed
- Added an internal function to create and dispatch a new event.
- Disabled buttons are no longer visually hidden.
- Focus is no longer moved automatically.
- CSS styles are now moved from SVG to the actual elements.
- Updated the development dependencies to the latest versions.
Removed
- Custom typography styles.
Fixed
- Load the srcset before the src, add sizes attribute (#49)
2.3.3
Fixed
- Animate current image and set focus back to the correct element in the default behavior of the
backFocus
option
2.3.2
Fixed
- Set focus back to the correct element in the default behavior of the
backFocus
option.