Skip to content

Releases: MurhafSousli/ngx-gallery

v12.0.0

15 Oct 06:06
d20258f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v11.0.0...v12.0.0

v12 beta 4

23 Dec 11:48
Compare
Choose a tag to compare
v12 beta 4 Pre-release
Pre-release

12.0.0-beta.4

See the storybook documentation

  • feat: Add RTL support, closes #540.
  • All boolean inputs of <gallery> components can be used as string attributes
    • e.g. <gallery autoHeight>, <gallery autoHeight="true"> and <gallery [autoHeight]="true"> sets the option's value to true.
    • e.g. <gallery autoHeight="false"> and <gallery [autoHeight]="false"> sets the option's value to false.
  • All number inputs of <gallery> components can be used as string attributes
    • e.g. <gallery playerInterval="2000"> and <gallery [playerInterval]="2000"> sets the option's value to 2000

Improved performance

  • refactor: Replace the scroll event with intersection observer to detect the active item while scrolling.

ItemAutoSize, ThumbAutoSize features

  • enhance: Toggling itemAutoSize option is now reactive.
  • fix: [thumbAutosize] causes random invalid starting thumbnail scroller position when scrolling possible, closes #521
  • fix: [ItemAutosize] in website/safari browsers do not work as expected, closes #543

AutoHeight feature

  • enhance: Auto-height feature is not more precise and works well with or without height transition
  • fix: Auto-height issue when screen size changes

Autoplay feature

  • fix: autoplay resets the timer after navigated.
  • fix: autoplay only start the timer after the image is loaded.

Bullets (previously named 'Dots')

  • feat: disableBullets disable bullets' clicks

Custom template

  • feature: Introduce galleryImage directive within galleryItemDef, to allow recognizing the img element in your custom item template.

Breaking changes

Options renamed:

Core

  • slidingDirectionorientation
  • slidingEasescrollEase
  • slidingDurationscrollDuration
  • slidingDisableddisableScroll
  • mouseSlidingDisableddisableMouseScroll
  • autoPlayautoplay

Thumbs

  • thumbthumbs
  • thumbModethumbCentralized
  • thumbModethumbCentralized
  • thumbDetacheddetachThumbs
  • thumbSlidingDisableddisableThumbMouseScroll
  • thumbMouseSlidingDisableddisableThumbMouseScroll

Bullets

  • dotsbullets
  • dotSizebulletSize
  • dotPositionbulletPosition

Input removed (no longer exist)

  • navScrollBehavior the option is now removed, use scrollBehavior instead.

v11.0.0

15 Jul 05:39
Compare
Choose a tag to compare

What's Changed

  • feat: Add GalleryThumbDef, GalleryImageDef, GalleryItemDef, GalleryBoxDef to set custom templates.
  • feat: Add imageTemplate property to GalleryConfig.
  • feat: Add args property in case need to attach extra data with the gallery item.
  • enhance: Improve overall typings.

Breaking changes

  • Usage of custom template has been changed! see the wiki page for more info.
  • The inputs itemTemplate, thumbTemplate and boxTemplate has been removed from the gallery component, however they still exist in GalleryConfig

by @MurhafSousli in #565

Full Changelog: v10.0.0...v11.0.0

v10.0.0

17 Jun 02:39
e5204df
Compare
Choose a tag to compare

What's Changed

Full Changelog: v9.0.1...v10.0.0

v9.0.1

31 May 23:53
c292efe
Compare
Choose a tag to compare

What's Changed

  • Remove bezier-easing package from dependencies, closes #525 #551 in 6c47ecb.

Full Changelog: v9.0.0...v9.0.1

v9.0.0

21 May 13:28
6b19cad
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.4...v9.0.0

v8.0.4

27 Apr 08:52
c319ac8
Compare
Choose a tag to compare

What's Changed

  • fix(core): Fix VideoItem typo, closes #529 in 5337609.
  • enhance(lightbox): Allow multiple classes for backdropPanel and panelClass config, closes #541 in 31368ed and b9d36e3

v8.0.3

01 Apr 17:26
814a1fc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.2...v8.0.3

v8.0.2

18 Jan 13:05
6bbd76e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.1...v8.0.2

v8.0.1

17 Dec 02:21
a65f28b
Compare
Choose a tag to compare

What's Changed

  • fix(core): Gallery nav icons are not alignment properly, in d4dca8b.
  • fox(core): Gallery dots is not horizontally centralized, in f2d6910.
  • fix(core): Fix lib's angular peerDependencies version to >=15 in 9ea5ea3.

Full Changelog: v8.0.0...v8.0.1