Skip to content

Commit

Permalink
Merge pull request #497 from MurhafSousli/new-engine
Browse files Browse the repository at this point in the history
v8.0.0
  • Loading branch information
MurhafSousli authored Dec 8, 2022
2 parents 228e04e + 2eef6e3 commit b074db0
Show file tree
Hide file tree
Showing 79 changed files with 6,371 additions and 5,076 deletions.
29 changes: 27 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Changelog

## 8.0.0

- feat(core): Add `isActive` to custom gallery template context, in [0b3f8bf](https://github.com/MurhafSousli/ngx-gallery/pull/497/commits/0b3f8bf43e383a8ee3e53a3140e18b8bcf1c2d69).
- 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): Remove`itemLoaded` output.


## 8.0.0-beta.5

- regret(core): Remove`contentVisibilityAuto` option for version 8.
- ~~feat(core): Add `itemLoaded` output which emits after an item is loaded, for image items it emits after the image is loaded.~~
- 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.

## 8.0.0-beta.4

- feat(core): Add `contentVisibilityAuto` option to set the proper `content-visibility` and `contain-intrinsic-size` value on all gallery items/thumbs, in [73b20a9](https://github.com/MurhafSousli/ngx-gallery/pull/491/commits/73b20a9f996371e4a3ad52283b358263fd88546f).
- ~~feat(core): Add `contentVisibilityAuto` option to set the proper `content-visibility` and `contain-intrinsic-size` value on all gallery items/thumbs, in [73b20a9](https://github.com/MurhafSousli/ngx-gallery/pull/491/commits/73b20a9f996371e4a3ad52283b358263fd88546f).~~
- 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](https://github.com/MurhafSousli/ngx-gallery/pull/491/commits/1572beae2bc58792fac94243f4f3e20c0a61e549).
- refactor(core): Remove `lazy-image` directive.
Expand Down Expand Up @@ -45,7 +70,7 @@ HammerJs is only used for sliding using the mouse on desktop only, Sliding on mo
- `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`.
- Added new dependency `bezier-easing`.


## 7.1.2
Expand Down
7 changes: 4 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"projects/ng-gallery-demo/src/assets"
],
"styles": [
"projects/ng-gallery-demo/src/styles.scss"
"projects/ng-gallery-demo/src/styles.scss",
"node_modules/highlight.js/styles/a11y-light.css"
],
"allowedCommonJsDependencies": [
"bezier-easing",
Expand Down Expand Up @@ -93,8 +94,8 @@
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
"maximumWarning": "12kb",
"maximumError": "12kb"
}
]
}
Expand Down
Loading

0 comments on commit b074db0

Please sign in to comment.