simple-photo-gallery 2.1.9 → 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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# simple-photo-gallery
|
|
2
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
|
+
|
|
3
15
|
## 2.1.9
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -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.
|
|
1910
|
+
version: "2.2.0"};
|
|
1911
1911
|
|
|
1912
1912
|
// src/index.ts
|
|
1913
1913
|
var program = new commander.Command();
|