basklee-react 0.9.21 → 0.9.22
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basklee-react",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.22",
|
|
4
4
|
"description": "Next.js 16 storefront for your Basklee marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English, Russian and Spanish, plus an Android app build. Powered by Basklee: https://basklee.com",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
* The root gets `data-blog-cover-index` and `data-blog-cover-total`, and
|
|
23
23
|
* `data-blog-cover-single` while one picture is left: arrows and marks are
|
|
24
24
|
* hidden by that attribute. A picture that does not load leaves the row (its
|
|
25
|
-
* slide and one mark get `hidden
|
|
25
|
+
* slide and one mark get `hidden`, and the image viewer skips it); when none
|
|
26
|
+
* is left, `onEmpty` is called.
|
|
26
27
|
*/
|
|
27
28
|
export const BLOG_PREVIEW_IMAGES_MAX = 10;
|
|
28
29
|
|
|
@@ -166,6 +167,8 @@ export function watchBlogCoverSlider(
|
|
|
166
167
|
}
|
|
167
168
|
slide.hidden = true;
|
|
168
169
|
slide.setAttribute('data-blog-cover-failed', '');
|
|
170
|
+
// The article's image viewer leaves it out too (blogImageViewer).
|
|
171
|
+
slide.setAttribute('data-blog-image-viewer-skip', '');
|
|
169
172
|
if (slides().length) {
|
|
170
173
|
show();
|
|
171
174
|
} else {
|