simple-photo-gallery 2.1.8 → 2.2.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 ADDED
@@ -0,0 +1,31 @@
1
+ # simple-photo-gallery
2
+
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2d5f072: Add media-level `srcset` support for responsive lightbox images.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [2d5f072]
12
+ - @simple-photo-gallery/common@2.2.0
13
+ - @simple-photo-gallery/theme-modern@2.2.0
14
+
15
+ ## 2.1.9
16
+
17
+ ### Patch Changes
18
+
19
+ - Fix release packaging so published npm packages no longer contain raw `workspace:` dependency ranges.
20
+ - Updated dependencies
21
+ - @simple-photo-gallery/common@2.1.9
22
+ - @simple-photo-gallery/theme-modern@2.1.9
23
+
24
+ ## 2.1.8
25
+
26
+ ### Patch Changes
27
+
28
+ - 9903210: Improve robustness, performance and correctness
29
+ - Updated dependencies [9903210]
30
+ - @simple-photo-gallery/common@2.1.8
31
+ - @simple-photo-gallery/theme-modern@2.1.8
@@ -18,6 +18,7 @@ const captionHtml = parsedCaption ? `<div class="image-caption markdown-content"
18
18
  class="gallery-section__item"
19
19
  href={image.imagePath}
20
20
  data-pswp-src={image.imagePath}
21
+ data-pswp-srcset={image.srcset}
21
22
  data-pswp-width={image.width}
22
23
  data-pswp-height={image.height}
23
24
  data-pswp-type={image.type}
package/dist/index.cjs CHANGED
@@ -1907,7 +1907,7 @@ async function waitForUpdateCheck(checkPromise) {
1907
1907
  // package.json
1908
1908
  var package_default = {
1909
1909
  name: "simple-photo-gallery",
1910
- version: "2.1.8"};
1910
+ version: "2.2.0"};
1911
1911
 
1912
1912
  // src/index.ts
1913
1913
  var program = new commander.Command();