Releases: Ks89/angular-modal-gallery
Releases · Ks89/angular-modal-gallery
12.0.0
11.1.1
11.1.0
Features
- add sources to improve LCP, loading and fetchpriority attributes #260 (implemented by @luca-peruzzo)
Tests
- add missing
keyboard-navigation.directive
test file
Examples
- fix bad 'add image' button CSS in all examples
Docs
- fix bad docs in
swipe.directive
11.1.0 RC1
Features
- add sources to improve LCP, loading and fetchpriority attributes #260 (implemented by @luca-peruzzo)
For more information, plese check the official examples. Doc website will be updated with the stable release.
11.0.0
Features
- Angular 16 is required (BREAKING CHANGE)
- remove
hammerjs
dependency (because deprecated) to mange swipe events preferring a custom directive #218 (BREAKING CHANGE) - remove
mousetrap
dependency to manage ctrl+s/meta+s event to save the current image in modal-gallery component.
This in a very important change, because from now you won't be able to customize ctrl+s/meta+s shortcuts #237 (BREAKING CHANGE)
11.0.0 RC1
Features
- Angular 16 is required (BREAKING CHANGE)
- remove
hammerjs
dependency (because deprecated) to mange swipe events preferring a custom directive #218 (BREAKING CHANGE) - remove
mousetrap
dependency to manage ctrl+s/meta+s event to save the current image in modal-gallery component.
This in a very important change, because from now you won't be able to customize ctrl+s/meta+s shortcuts #237 (BREAKING CHANGE)
10.0.1
10.0.0 RC1
Features
- upgrade to Angular 14 and from now Angular 14 is required (BREAKING CHANGE)
9.1.0
A special thanks to @locinus for PRs #254 and #257
Features
- modal gallery previews can be customized using a template #254 (see example F3 - (id=902) in this repository), implemented by @locinus
Bugfixes
- clicking the right image arrow always shifts the displayed previews, even in cases where it shouldn't, for instance for n>=3 and current=0 (root cause of 'clipping' effects when navigating away from first/last preview) #257, implemented
by @locinus - the number of displayed previews sometimes oscillate between n (number of requested previews in config) and n-1/n+1 while navigating (for example for n=4 or n=5) #257, implemented by @locinus
- when opening the modal and navigating to the last preview by clicking on the right preview arrow, it's impossible to then click on the left preview arrow (same from last to first and clicking on the right preview arrow) #257, implemented
by @locinus - In infinite sliding, the left and right preview arrows should be always visible (except if nbPreviews < nbImages) #257, implemented by @locinus
9.1.0-beta.2
Pull request #257 by @locinus
Simplifies and uniformizes the calculation of previews indexes, in the different navigation cases (changes of current images, uses of previews arrows).
Bugfixes
- clicking the right image arrow always shifts the displayed previews, even in cases where it shouldn't, for instance for n>=3 and current=0 (root cause of 'clipping' effects when navigating away from first/last preview)
- the number of displayed previews sometimes oscillate between n (number of requested previews in config) and n-1/n+1 while navigating (for example for n=4 or n=5)
- when opening the modal and navigating to the last preview by clicking on the right preview arrow, it's impossible to then click on the left preview arrow (same from last to first and clicking on the right preview arrow)
- In infinite sliding, the left and right preview arrows should be always visible (except if nbPreviews < nbImages)