Skip to content

Releases: Ks89/angular-modal-gallery

12.0.0

31 May 18:26
87f7764
Compare
Choose a tag to compare

Features

  • Angular 18 is required (BREAKING CHANGE)

11.1.1

12 Sep 18:55
da72fe1
Compare
Choose a tag to compare

Refactor

  • remove circular dependency between ModalGalleryService and ModalGalleryComponent #262 and #263 (implemented by @StenCalDabran)

11.1.0

16 Aug 13:08
f5fee43
Compare
Choose a tag to compare

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

06 Aug 12:47
b9d57dd
Compare
Choose a tag to compare
11.1.0 RC1 Pre-release
Pre-release

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

08 Jul 09:47
cac517f
Compare
Choose a tag to compare

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

31 May 22:26
29bffa1
Compare
Choose a tag to compare
11.0.0 RC1 Pre-release
Pre-release

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

18 Nov 00:17
0497c23
Compare
Choose a tag to compare

Features

  • Angular 15 is required (BREAKING CHANGE)

Version 10.0.0 skipped, because it has been released, but it was broken and quickly replaced by 10.0.1.

10.0.0 RC1

03 Aug 20:40
7ce6551
Compare
Choose a tag to compare
10.0.0 RC1 Pre-release
Pre-release

Features

  • upgrade to Angular 14 and from now Angular 14 is required (BREAKING CHANGE)

9.1.0

10 May 17:56
f55de53
Compare
Choose a tag to compare

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

22 Apr 22:57
ba0e402
Compare
Choose a tag to compare
9.1.0-beta.2 Pre-release
Pre-release

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)