@autotaxatiepartners/ngx-gallery 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
<a name="3.0.0"></a>
|
|
2
|
+
# 3.0.0 (2026-11-23)
|
|
3
|
+
|
|
4
|
+
### Breaking changes
|
|
5
|
+
|
|
6
|
+
* Requires Angular 21 or newer (built with Angular 21)
|
|
7
|
+
* Drops the `@angular/animations` peer dependency (deprecated in Angular 22): image transitions use native `animate.enter` / `animate.leave` with CSS keyframes. Apps no longer need `provideAnimations()` for the gallery.
|
|
8
|
+
* `NgxGalleryService` is no longer `providedIn: 'root'`; it is provided per `<ngx-gallery>` (it always needed that component's `Renderer2`)
|
|
9
|
+
|
|
10
|
+
### Bug fixes
|
|
11
|
+
|
|
12
|
+
* Image and preview autoplay timers are stopped when the gallery is destroyed
|
|
13
|
+
* Swipe listeners are removed when the gallery is destroyed
|
|
14
|
+
* A preview image that fails to load no longer leaves the spinner running and blocks prev/next
|
|
15
|
+
* Opening the preview twice no longer registers a second keyboard listener
|
|
16
|
+
* Destroying the gallery while the preview is open leaves fullscreen
|
|
17
|
+
* Keyboard navigation uses `KeyboardEvent.key` instead of the deprecated `keyCode`
|
|
18
|
+
* Setting `images` to `null` after images were shown no longer throws
|
|
19
|
+
* `fullWidth` no longer computes `translateX(NaNpx)` and no longer flips width between change detection runs
|
|
20
|
+
* Arrows no longer throw when no arrow icon is configured
|
|
21
|
+
* Thumbnails render duplicate image URLs correctly and work without labels
|
|
22
|
+
* Bullets track by index (no duplicate `@for` keys)
|
|
23
|
+
|
|
24
|
+
### Tooling
|
|
25
|
+
|
|
26
|
+
* Workspace on Angular 21 with `@angular/build`; Karma/Jasmine/Protractor replaced by Vitest; ESLint 10 flat config
|
|
27
|
+
* Real unit tests for every component (previously all specs failed to compile)
|
|
28
|
+
* `publish:lib` now lints, tests, builds and copies README/CHANGELOG/LICENSE first; the workspace root is `private` so it can't be published by accident
|
|
29
|
+
|
|
1
30
|
<a name="2.0.0"></a>
|
|
2
31
|
# 2.0.0 (2022-01-06)
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @autotaxatiepartners/ngx-gallery
|
|
2
2
|
|
|
3
|
-
A simple native gallery component for Angular
|
|
3
|
+
A simple native gallery component for Angular 21 and above. No `@angular/animations` needed: image transitions use Angular's native `animate.enter` / `animate.leave` with CSS keyframes.
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|