@taprootio/espalier 4.9.1 → 4.11.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 +22 -0
- package/custom-elements.json +25887 -25534
- 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 +15 -0
- package/dist/image-upload/esp-image-upload.js +29 -29
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/justified-layout.d.ts +75 -1
- package/dist/shared/justified-layout.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# 4.11.0
|
|
2
|
+
|
|
3
|
+
Album previews support taller justified rows and restrained partial rows.
|
|
4
|
+
|
|
5
|
+
- Configure maximum album row height as a percentage of the viewport, defaulting to 90%.
|
|
6
|
+
- Fill completed rows across the available width; preserve partial-row photo proportions without enlarging them beyond earlier rows.
|
|
7
|
+
- Share explicit album cell geometry with published gallery consumers and update it on viewport resize.
|
|
8
|
+
|
|
9
|
+
# 4.10.0
|
|
10
|
+
|
|
11
|
+
Photo galleries can keep preview rows compact and predictable.
|
|
12
|
+
|
|
13
|
+
- `calculatePhotoLayout()` accepts an optional `maxImagesPerRow` argument, and
|
|
14
|
+
`esp-image-upload` exposes the matching `max-images-per-row` property and
|
|
15
|
+
attribute. Set a positive integer to cap each justified row; leave it unset
|
|
16
|
+
for the existing unlimited layout.
|
|
17
|
+
- `normalizeMaxImagesPerRow(value, fallback, maximum)` is available to apply
|
|
18
|
+
the same bounded positive-integer contract in gallery consumers.
|
|
19
|
+
- Projected lazy images can opt into `defer-offscreen`, which keeps their
|
|
20
|
+
server-rendered `sizes` hint until the image approaches the viewport and
|
|
21
|
+
avoids fetching a larger responsive candidate far below the fold.
|
|
22
|
+
|
|
1
23
|
# 4.9.1
|
|
2
24
|
|
|
3
25
|
Album previews recover from temporary image delivery failures.
|