Skip to content

Releases: MurhafSousli/ngx-gallery

v8.0.0

08 Dec 04:46
b074db0
Compare
Choose a tag to compare

What's Changed

  • feat(core): Add isActive to custom gallery template context, in 0b3f8bf.
  • refactor(core): Fix the iframe error regarding the allow attribute.
  • refactor(core): Change default navigation icons.
  • refactor(core): Change default dots size.
  • refactor(core): Change default counter styles.
  • regret(core): RemoveitemLoaded output.
  • regret(core): RemovecontentVisibilityAuto option for version 8.
  • feat(core): Add autoHeight option, when set to true, the gallery height will fit the active item height.
  • feat(core): Add autoItemSize option, when set to true, the item will fit its image aspect ratio.
  • feat(core): Add autoThumbSize option, when set to true, the thumb will fit its image aspect ratio.
  • feat(core): Add scrollBehavior option.
  • feat(core): Add navScrollBehavior option.
  • feat(core): Add thumbImageSize option.
  • feat(core): Add more options to the video item.
  • feat(core): Add configSnapshot to GalleryRef class.
  • feat(core): Add an optional parameter behavior to all next(behavior?), prev(behavior?), set(index, behavior?) functions, fallbacks to the scrollBehavior config.
  • refactor(core): Only display custom item template container when itemTemplate is provided.
  • feat(core): Use native loading attribute on all img and iframe for native lazy loading.
  • refactor(core): Fix loop issue when sliding with using the mouse, in 1572bea.
  • refactor(core): Remove lazy-image directive.
  • fix(core): Set current index in sliding event does not work if slider size number has fraction, in 58e89fb.
  • fix(lightbox): close button is not displayed, in 506249b.
  • feat(core): Use scrolling slider instead of transform method, allows touchpad scroll to slide the gallery as well as native sliding on mobile browser.
  • feat(core): Add resizeDebounceTime option which is used to update the gallery on window resize event in 34a2723 and d867630.
  • feat(core): Add slidingEase and slidingDuration to customize sliding ease and duration in 4c1db03.
  • feat(core): Add thumbDetached to detach thumb slider, closes #289 in 1f47484.
  • feat(core): Add boxTemplate to the gallery, closes #487 in f46e33a.
  • feat(core): Add slidingDisabled and thumbSlidingDisabled options to enable/disable sliding on Mobile and Desktop using the touchpad. in 2451581.
  • feat(core): Add mouseSlidingDisabled and mouseThumbSlidingDisabled options to enable/disable sliding on Desktop using the mouse. in 2451581.
  • feat(core): Images not shown, when number of images get larger, closes #484 in e819ebe.
  • fix(core): thumbView="contain" Sliding thumbnails using gestures has an issue, closes #417 in e819ebe.
  • refactor(core): Remove thumbMode option from the gallery, in 18f71e3
  • refactor(core): Remove tapClick event and use native click event, in 3d960cc.
  • refactor(core): Remove ng-content from the gallery, in 63e3b6b.
  • refactor(core): Remove panSensitivity option, in d1f8d34.
  • refactor(core): Remove gestures option, in 70cb00c.
  • refactor(core): Remove reserveGesturesAction option, in 4b07fc7.
  • refactor(core): Remove zoomOut option, in 19ba2b8.

Breaking changes:

HammerJs is only used for sliding using the mouse on desktop only, Sliding on mobile devices is now native scroll.

  • gestures option has been deprecated.
  • thumbMode option has been deprecated, sliding thumbnails is free.
  • zoomOut has been deprecated.
  • reserveGesturesAction has been deprecated.
  • panSensitivity has been deprecated.
  • Remove ng-content from the gallery, use boxTemplate option to add your custom layer.
  • The default value for loadingStrategy option has changed to LoadingStrategy.Preload.
  • Added new dependency bezier-easing.

v8.0.0-beta.4

30 Oct 00:10
228e04e
Compare
Choose a tag to compare
v8.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • feat(core): Add contentVisibilityAuto option to set the proper content-visibility and contain-intrinsic-size value on all gallery items/thumbs, in 73b20a9.
  • feat(core): Use native loading attribute on all img and iframe for native lazy loading.
  • refactor(core): Fix loop issue when sliding with using the mouse, in 1572bea.
  • refactor(core): Remove lazy-image directive.
  • fix(core): Set current index in sliding event does not work if slider size number has fraction, in 58e89fb.
  • fix(lightbox): close button is not displayed, in 506249b.

Full Changelog: v8.0.0-beta.1...v8.0.0-beta.4

v8.0.0-beta.1

27 Oct 04:38
c8f37b2
Compare
Choose a tag to compare
v8.0.0-beta.1 Pre-release
Pre-release

What's Changed

Beta Stackblitz: https://stackblitz.com/edit/ngx-gallery-3e3kzf

Beta Demo: https://ngx-gallery-beta.netlify.app/#/

Installation

npm i ng-gallery@beta @angular/cdk bezier-easing

8.0.0-beta.1

  • feat(core): Use scrolling slider instead of transform method, allows touchpad scroll to slide the gallery as well as native sliding on mobile browser.
  • feat(core): Add resizeDebounceTime option which is used to update the gallery on window resize event in 34a2723 and d867630.
  • feat(core): Add slidingEase and slidingDuration to customize sliding ease and duration in 4c1db03.
  • feat(core): Add thumbDetached to detach thumb slider, closes #289 in 1f47484.
  • feat(core): Add boxTemplate to the gallery, closes #487 in f46e33a.
  • feat(core): Add slidingDisabled and thumbSlidingDisabled options to enable/disable sliding on Mobile and Desktop using the touchpad. in 2451581.
  • feat(core): Add mouseSlidingDisabled and mouseThumbSlidingDisabled options to enable/disable sliding on Desktop using the mouse. in 2451581.
  • feat(core): Images not shown, when number of images get larger, closes #484 in e819ebe.
  • fix(core): thumbView="contain" Sliding thumbnails using gestures has an issue, closes #417 in e819ebe.
  • refactor(core): Remove thumbMode option from the gallery, in 18f71e3
  • refactor(core): Remove tapClick event and use native click event, in 3d960cc.
  • refactor(core): Remove ng-content from the gallery, in 63e3b6b.
  • refactor(core): Remove panSensitivity option, in d1f8d34.
  • refactor(core): Remove gestures option, in 70cb00c.
  • refactor(core): Remove reserveGesturesAction option, in 4b07fc7.
  • refactor(core): Remove zoomOut option, in 19ba2b8.

Breaking changes:

HammerJs is only used for sliding using the mouse on desktop only, Sliding on mobile devices is now native scroll.

  • gestures option has been deprecated.
  • thumbMode option has been deprecated, sliding thumbnails is free.
  • zoomOut has been deprecated.
  • reserveGesturesAction has been deprecated.
  • panSensitivity has been deprecated.
  • Remove ng-content from the gallery, use boxTemplate option to add your custom layer.
  • The default value for loadingStrategy option has changed to LoadingStrategy.Preload.
  • Added new tiny dependency bezier-easing.

v7.1.2

04 Oct 05:10
f0c89ba
Compare
Choose a tag to compare

What's Changed

  • fix(core): Fix reserveGestureAction input and its default value in the lightbox, in ba95036.
  • fix(core): Update gallery sliding position properly on window resize, in f786d0a.
  • fix(core): Slide bug with touch scroll with gallery thumbnails, related to #465 in eb1e60c in a26d63f.

Full Changelog: v7.1.1...v7.1.2

v7.1.1

04 Oct 03:18
5dd1ddd
Compare
Choose a tag to compare
v7.1.1 Pre-release
Pre-release

What's Changed

  • fix(core): Slide bug with touch scroll by @MurhafSousli in #476
  • Ability to block the scrolling of page when sliding the gallery on mobile browser by @MurhafSousli in #478

Full Changelog: v7.1.0...v7.1.1


The new option reserveGesturesAction blocks the page from accidently scrolling when user is not accurately sliding the gallery, this option is true by default when using the lightbox.

v7.1.0

03 Oct 03:35
18e320f
Compare
Choose a tag to compare

What's Changed

  • fix(core): add missing attributes to thumb image and nav buttons by @MurhafSousli in #471
  • feat(core): Settings change shouldn't require restart, closes #466 in ee71e52.
  • fix(core): Unable to drag thumbnails properly, closes 473 in 8635701.
  • fix(core): Setting gestures to false breaks the gallery, closes #464, #467 and #469 in a374603.
  • fix(core): Set alt on gallery thumbnails and add role="button" to gallery nav, closes #468 in 57bebca.
  • fix(lightbox): Close icon in lightbox container being re-rendered all the time due to bug in template, closes #307 in 6bdc7a4.
  • enhance(core, lightbox): Remove deprecated usage, in 23506eb.

Full Changelog: v7.0.4...v7.1.0

v7.0.4

28 Aug 04:21
46fd4c5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.3...v7.0.4

v7.0.3

27 Aug 05:31
9306a89
Compare
Choose a tag to compare
v7.0.3 Pre-release
Pre-release

What's Changed

Full Changelog: v7.0.1...v7.0.3

v7.0.1

25 Aug 07:40
462d338
Compare
Choose a tag to compare
v7.0.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v7.0.0...v7.0.1

v7.0.0

07 Jun 09:53
04002fb
Compare
Choose a tag to compare