@taprootio/espalier 4.9.1 → 4.10.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 +14 -0
- package/custom-elements.json +6666 -6468
- package/dist/image/esp-image.d.ts +13 -0
- package/dist/image/esp-image.js +9 -9
- package/dist/image-upload/esp-image-upload.d.ts +8 -0
- package/dist/image-upload/esp-image-upload.js +18 -18
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/justified-layout.d.ts +15 -1
- package/dist/shared/justified-layout.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# 4.10.0
|
|
2
|
+
|
|
3
|
+
Photo galleries can keep preview rows compact and predictable.
|
|
4
|
+
|
|
5
|
+
- `calculatePhotoLayout()` accepts an optional `maxImagesPerRow` argument, and
|
|
6
|
+
`esp-image-upload` exposes the matching `max-images-per-row` property and
|
|
7
|
+
attribute. Set a positive integer to cap each justified row; leave it unset
|
|
8
|
+
for the existing unlimited layout.
|
|
9
|
+
- `normalizeMaxImagesPerRow(value, fallback, maximum)` is available to apply
|
|
10
|
+
the same bounded positive-integer contract in gallery consumers.
|
|
11
|
+
- Projected lazy images can opt into `defer-offscreen`, which keeps their
|
|
12
|
+
server-rendered `sizes` hint until the image approaches the viewport and
|
|
13
|
+
avoids fetching a larger responsive candidate far below the fold.
|
|
14
|
+
|
|
1
15
|
# 4.9.1
|
|
2
16
|
|
|
3
17
|
Album previews recover from temporary image delivery failures.
|