@ks89/angular-modal-gallery 15.0.0-alpha.1 → 15.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 +25 -0
- package/CONTRIBUTING.md +5 -5
- package/LICENSE +1 -1
- package/README.md +16 -21
- package/fesm2022/ks89-angular-modal-gallery.mjs +147 -145
- package/fesm2022/ks89-angular-modal-gallery.mjs.map +1 -1
- package/package.json +9 -9
- package/{index.d.ts → types/ks89-angular-modal-gallery.d.ts} +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# 15.0.0
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- Angular 21 is required **(BREAKING CHANGE)**
|
|
6
|
+
|
|
7
|
+
### Refactor
|
|
8
|
+
|
|
9
|
+
- migrate to inject() function instead of using the constructor
|
|
10
|
+
- migrate to output<> syntax
|
|
11
|
+
- migrate to input<> syntax
|
|
12
|
+
- migrate to self-closing tags
|
|
13
|
+
- partial migration to signals
|
|
14
|
+
- huge refactor to tests to use the new syntax
|
|
15
|
+
- force 'strictTemplates: true' and 'noPropertyAccessFromIndexSignature: true' in tsconfig (recommended values) and adapt the library code to work with
|
|
16
|
+
|
|
17
|
+
### Examples
|
|
18
|
+
|
|
19
|
+
- upgrade all examples to the new syntax and to Angular 21
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
|
|
23
|
+
- upgrade doc website to Angular 21 and migrate to the new syntax
|
|
24
|
+
|
|
25
|
+
|
|
1
26
|
# 15.0.0-alpha.1
|
|
2
27
|
|
|
3
28
|
Why this major release? Because I want to upgrade/rewrite to code to the latest angular features.
|
package/CONTRIBUTING.md
CHANGED
|
@@ -10,7 +10,7 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
10
10
|
2. remove all `node_modules` and temp folders with compiled files (if necessary)
|
|
11
11
|
3. `npm install` (from the root of this project)
|
|
12
12
|
4. `npm run clean:all`
|
|
13
|
-
5. `cd examples/angular-cli-
|
|
13
|
+
5. `cd examples/angular-cli-21`
|
|
14
14
|
6. `npm install`
|
|
15
15
|
7. `cd ../..`
|
|
16
16
|
8. `cd examples/universal`
|
|
@@ -31,8 +31,8 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
31
31
|
6. `cd dist/angular-modal-gallery/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
32
32
|
7. `cd ../../../../..`
|
|
33
33
|
|
|
34
|
-
# C. Run angular-cli-
|
|
35
|
-
1. `cd examples/angular-cli-
|
|
34
|
+
# C. Run angular-cli-21 example
|
|
35
|
+
1. `cd examples/angular-cli-21`
|
|
36
36
|
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
37
37
|
3. `npm run build:dev`
|
|
38
38
|
4. `cd dist/angular-cli/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
@@ -55,9 +55,9 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
55
55
|
1. `cd examples/universal`
|
|
56
56
|
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
57
57
|
3. `npm run build:dev`
|
|
58
|
-
4. `npm run serve:ssr` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
58
|
+
4. `npm run serve:ssr:universal` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
59
59
|
5. `npm run build:prod`
|
|
60
|
-
6. `npm run serve:ssr` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
60
|
+
6. `npm run serve:ssr:universal` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
61
61
|
7. `cd ../..`
|
|
62
62
|
|
|
63
63
|
# H. Create your pull request
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
128
128
|
- configurable side-previews (visible only on bigger screen)
|
|
129
129
|
- configurable dots navigation (visible only on bigger screen)
|
|
130
130
|
- configurable previews (visible only on bigger screen)
|
|
131
|
-
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-2025-
|
|
131
|
+
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/))
|
|
132
132
|
|
|
133
133
|
<br>
|
|
134
134
|
|
|
@@ -138,7 +138,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
138
138
|
- `npm install --save @angular/cdk`
|
|
139
139
|
|
|
140
140
|
From version @ks89/angular-modal-gallery >= 5.0.0, **font-awesome isn't a mandatory dependency**.
|
|
141
|
-
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal-gallery-2025-
|
|
141
|
+
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/).
|
|
142
142
|
From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs have been removed as dependencies**.
|
|
143
143
|
|
|
144
144
|
<br>
|
|
@@ -147,7 +147,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
|
|
|
147
147
|
|
|
148
148
|
*Image loading could be slow, because this website is hosted on Github pages*
|
|
149
149
|
|
|
150
|
-
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-2025-
|
|
150
|
+
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/)
|
|
151
151
|
|
|
152
152
|
<br>
|
|
153
153
|
|
|
@@ -179,31 +179,26 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
|
|
|
179
179
|
|
|
180
180
|
## :fire: News :fire:
|
|
181
181
|
|
|
182
|
-
**More than
|
|
182
|
+
**More than 120 releases**, and more to come... :)
|
|
183
183
|
|
|
184
|
-
- 12/
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
- 31/
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
- 08/06/2023 - 11.1.0-rc.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
184
|
+
- 12/22/2025 - 15.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
185
|
+
- 09/12/2025 - 15.0.0-alpha.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
186
|
+
- 08/20/2025 - 14.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
187
|
+
- 12/22/2024 - 13.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
188
|
+
- 05/31/2024 - 12.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
189
|
+
- 01/21/2024 - 11.1.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
190
|
+
- ... (many 11.x.x versions)
|
|
192
191
|
- 07/08/2023 - 11.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
193
|
-
- 06/01/2023 - 11.0.0-rc.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
194
192
|
- 11/18/2022 - 10.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
195
193
|
- 11/17/2022 - 10.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
196
|
-
- 08/03/2022 - 10.0.0-rc.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
197
194
|
- 05/10/2022 - 9.1.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
198
|
-
-
|
|
199
|
-
- 04/14/2022 - 9.1.0-beta.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
200
|
-
- 11/15/2021 - 9.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
195
|
+
- ... (other 9.x.x versions)
|
|
201
196
|
- 11/06/2021 - 9.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
202
197
|
- 09/27/2021 - 8.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
203
198
|
- 07/10/2021 - 8.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
204
|
-
-
|
|
199
|
+
- ... (many beta 8.x.x versions)
|
|
205
200
|
- 12/05/2020 - 7.2.7 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
206
|
-
-
|
|
201
|
+
- ... (many minor 7.x.x versions)
|
|
207
202
|
- 12/06/2018 - 7.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
208
203
|
- 10/11/2018 - 6.3.0 - angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
209
204
|
- ... (many minor 6.x.x versions)
|
|
@@ -224,7 +219,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
|
|
|
224
219
|
1. Question: **How can I remove images using DELETE button without issues?**<br>
|
|
225
220
|
**Answer**: **You cannot change the input image array. Instead, you should reassign it with a newer array** without the deleted element.
|
|
226
221
|
In other words, **you must think in a functional way**, without changing the input array of images.
|
|
227
|
-
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2025-
|
|
222
|
+
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/demo/buttons-strategies).
|
|
228
223
|
|
|
229
224
|
<br>
|
|
230
225
|
|
|
@@ -262,7 +257,7 @@ In this way, [prettier](https://prettier.io/) will run using my configuration, a
|
|
|
262
257
|
|
|
263
258
|
The MIT License (MIT)
|
|
264
259
|
|
|
265
|
-
Copyright (c) 2017-
|
|
260
|
+
Copyright (c) 2017-2026 Stefano Cappa (Ks89)
|
|
266
261
|
|
|
267
262
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
268
263
|
of this software and associated documentation files (the "Software"), to deal
|