@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/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@ks89/angular-modal-gallery",
3
- "version": "15.0.0-alpha.1",
3
+ "version": "15.0.1",
4
4
  "description": "Image gallery for Angular",
5
5
  "license": "MIT",
6
6
  "author": "Stefano Cappa",
7
7
  "engines": {
8
- "node": ">=20.0.0",
8
+ "node": ">=22.0.0",
9
9
  "npm": ">=10.0.0"
10
10
  },
11
- "homepage": "https://ks89.github.io/angular-modal-gallery-2025-v14.github.io/",
11
+ "homepage": "https://ks89.github.io/angular-modal-gallery-2025-v15.github.io/",
12
12
  "dependencies": {
13
13
  "tslib": ">=2.3.0"
14
14
  },
15
15
  "peerDependencies": {
16
- "@angular/platform-browser": ">=20.0.0",
17
- "@angular/common": ">=20.0.0",
18
- "@angular/core": ">=20.0.0",
19
- "@angular/cdk": ">=20.0.0",
16
+ "@angular/platform-browser": ">=21.0.0",
17
+ "@angular/common": ">=21.0.0",
18
+ "@angular/core": ">=21.0.0",
19
+ "@angular/cdk": ">=21.0.0",
20
20
  "rxjs": ">=7.8.0"
21
21
  },
22
22
  "sideEffects": false,
@@ -54,13 +54,13 @@
54
54
  "url": "https://github.com/Ks89/angular-modal-gallery/issues"
55
55
  },
56
56
  "module": "fesm2022/ks89-angular-modal-gallery.mjs",
57
- "typings": "index.d.ts",
57
+ "typings": "types/ks89-angular-modal-gallery.d.ts",
58
58
  "exports": {
59
59
  "./package.json": {
60
60
  "default": "./package.json"
61
61
  },
62
62
  ".": {
63
- "types": "./index.d.ts",
63
+ "types": "./types/ks89-angular-modal-gallery.d.ts",
64
64
  "default": "./fesm2022/ks89-angular-modal-gallery.mjs"
65
65
  }
66
66
  }
@@ -1874,7 +1874,9 @@ declare class ModalGalleryComponent implements OnInit, OnDestroy {
1874
1874
  */
1875
1875
  private downloadImage;
1876
1876
  /**
1877
- * Method to convert a base64 to a Blob
1877
+ * Method to convert a base64 to a Blob.
1878
+ * This should be upgraded with Uint8Array.fromBase64() from ES2025,
1879
+ * but first we need to upgrade `tsconfig` config.
1878
1880
  * @param base64Data string with base64 data
1879
1881
  * @param contentType string with the MIME type
1880
1882
  * @return Blob converted from the input base64Data