@ks89/angular-modal-gallery 15.0.0-alpha.1 → 15.0.1

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,35 @@
1
+ # 15.0.1
2
+
3
+ ### Chores
4
+
5
+ - remove useless console.log in description directive #276 (reported by @VK93YQ9)
6
+
7
+
8
+ # 15.0.0
9
+
10
+ ### Features
11
+
12
+ - Angular 21 is required **(BREAKING CHANGE)**
13
+
14
+ ### Refactor
15
+
16
+ - migrate to inject() function instead of using the constructor
17
+ - migrate to output<> syntax
18
+ - migrate to input<> syntax
19
+ - migrate to self-closing tags
20
+ - partial migration to signals
21
+ - huge refactor to tests to use the new syntax
22
+ - force 'strictTemplates: true' and 'noPropertyAccessFromIndexSignature: true' in tsconfig (recommended values) and adapt the library code to work with
23
+
24
+ ### Examples
25
+
26
+ - upgrade all examples to the new syntax and to Angular 21
27
+
28
+ ### Documentation
29
+
30
+ - upgrade doc website to Angular 21 and migrate to the new syntax
31
+
32
+
1
33
  # 15.0.0-alpha.1
2
34
 
3
35
  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-20`
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-20 example
35
- 1. `cd examples/angular-cli-20`
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
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017-2025 Stefano Cappa (Ks89)
3
+ Copyright (c) 2017-2026 Stefano Cappa (Ks89)
4
4
  Copyright (c) 2016 vimalavinisha
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
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-v14.github.io/))
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-v14.github.io/).
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-v14.github.io/)
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,27 @@ 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 100 releases in two years**, and more to come... :)
182
+ **More than 120 releases**, and more to come... :)
183
183
 
184
- - 12/09/2025 - 15.0.0-alpha.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
185
- - 20/08/2025 - 14.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
186
- - 22/12/2024 - 13.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
187
- - 31/05/2024 - 12.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
188
- - 31/01/2024 - 11.1.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
189
- - 09/12/2023 - 11.1.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
190
- - 08/16/2023 - 11.1.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
191
- - 08/06/2023 - 11.1.0-rc.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
184
+ - 03/25/2026 - 15.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
185
+ - 12/22/2025 - 15.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
186
+ - 09/12/2025 - 15.0.0-alpha.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
187
+ - 08/20/2025 - 14.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
188
+ - 12/22/2024 - 13.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
189
+ - 05/31/2024 - 12.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
190
+ - 01/21/2024 - 11.1.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
191
+ - ... (many 11.x.x versions)
192
192
  - 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
193
  - 11/18/2022 - 10.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
195
194
  - 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
195
  - 05/10/2022 - 9.1.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
198
- - 04/23/2022 - 9.1.0-beta.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
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)
196
+ - ... (other 9.x.x versions)
201
197
  - 11/06/2021 - 9.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
202
198
  - 09/27/2021 - 8.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
203
199
  - 07/10/2021 - 8.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
204
- - - ... (many beta 8.x.x versions)
200
+ - ... (many beta 8.x.x versions)
205
201
  - 12/05/2020 - 7.2.7 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
206
- - - ... (many minor 7.x.x versions)
202
+ - ... (many minor 7.x.x versions)
207
203
  - 12/06/2018 - 7.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
208
204
  - 10/11/2018 - 6.3.0 - angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
209
205
  - ... (many minor 6.x.x versions)
@@ -224,7 +220,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
224
220
  1. Question: **How can I remove images using DELETE button without issues?**<br>
225
221
  **Answer**: **You cannot change the input image array. Instead, you should reassign it with a newer array** without the deleted element.
226
222
  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-v14.github.io/demo/buttons-strategies).
223
+ For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/demo/buttons-strategies).
228
224
 
229
225
  <br>
230
226
 
@@ -262,7 +258,7 @@ In this way, [prettier](https://prettier.io/) will run using my configuration, a
262
258
 
263
259
  The MIT License (MIT)
264
260
 
265
- Copyright (c) 2017-2025 Stefano Cappa (Ks89)
261
+ Copyright (c) 2017-2026 Stefano Cappa (Ks89)
266
262
 
267
263
  Permission is hereby granted, free of charge, to any person obtaining a copy
268
264
  of this software and associated documentation files (the "Software"), to deal