@covet-pics/covet-pics-widget 0.142.0 → 0.142.2
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/dist/cjs/covet-pics-gallery-header_5.cjs.entry.js +2 -2
- package/dist/cjs/covet-pics-gallery-header_5.cjs.entry.js.map +1 -1
- package/dist/collection/components/covet-pics-gallery-item/covet-pics-gallery-item.js +2 -2
- package/dist/collection/components/covet-pics-gallery-item/covet-pics-gallery-item.js.map +1 -1
- package/dist/covet-pics-widget/covet-pics-widget.esm.js +1 -1
- package/dist/covet-pics-widget/{p-6dcd6957.system.entry.js → p-164ac8bf.system.entry.js} +2 -2
- package/dist/covet-pics-widget/p-164ac8bf.system.entry.js.map +1 -0
- package/dist/covet-pics-widget/p-81a550eb.system.js +1 -1
- package/dist/covet-pics-widget/{p-986df754.entry.js → p-ddbc8347.entry.js} +2 -2
- package/dist/covet-pics-widget/p-ddbc8347.entry.js.map +1 -0
- package/dist/esm/covet-pics-gallery-header_5.entry.js +2 -2
- package/dist/esm/covet-pics-gallery-header_5.entry.js.map +1 -1
- package/dist/esm-es5/covet-pics-gallery-header_5.entry.js +1 -1
- package/dist/esm-es5/covet-pics-gallery-header_5.entry.js.map +1 -1
- package/package.json +1 -1
- package/dist/covet-pics-widget/p-6dcd6957.system.entry.js.map +0 -1
- package/dist/covet-pics-widget/p-986df754.entry.js.map +0 -1
|
@@ -330,7 +330,7 @@ const CovetPicsGalleryItem = class {
|
|
|
330
330
|
index.h("svg", { width: "20px", height: "20px", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("polygon", { fill: "#fff", class: "dynamic-fill", points: "6 4.70710678 6.70710678 4 13.0606602 10.3535534 6.70710678 16.7071068 6 16 11.6464466 10.3535534" })), (this.hoverAnimationStyle === "hover-animation-3" || this.hoverAnimationStyle === "hover-animation-4") && this.rating > 0 && this.renderRating("info-rating"))), (this.hoverAnimationStyle === "hover-animation-1" || this.hoverAnimationStyle === "hover-animation-2") && this.rating > 0 && this.renderUserAndDate())));
|
|
331
331
|
}
|
|
332
332
|
renderDisabledHoverStandardItem() {
|
|
333
|
-
return (index.h(index.Host, { class: { "no-animation":
|
|
333
|
+
return (index.h(index.Host, { class: { "no-animation": this.settings.item_hover_disabled, "highlighted": this.highlighted }, style: this.getItemCSSVariables(), "is-loading": true, "aria-hidden": `${this.tabIndex === -1}` }, index.h("button", { class: "btn-item-wrap", disabled: this.tabIndex === -1, onFocus: this.itemOnFocusHandler, onMouseEnter: this.itemOnHoverHandler, onKeyDown: this.itemClickHandler, onClick: this.itemClickHandler, type: "button", "aria-label": this.getLabelCaption() }, this.renderInstagramIcon(["hover-animation-2", "hover-animation-4"]), this.imageUrl && this.imageHighResolutionUrl &&
|
|
334
334
|
index.h("img", { class: "bg", onLoad: this.imageLoadedHandler, onError: this.imageLoadedHandler, srcset: `${this.imageUrl} 640w, ${this.imageHighResolutionUrl} 1080w`, sizes: this.imageResponsiveSizes, alt: this.altTag, loading: "lazy" }))));
|
|
335
335
|
}
|
|
336
336
|
renderTextReviewItem() {
|
|
@@ -363,7 +363,7 @@ const CovetPicsGalleryItem = class {
|
|
|
363
363
|
return this.renderDisabledHoveTextReviewItem();
|
|
364
364
|
if (this.itemType === "text")
|
|
365
365
|
return this.renderTextReviewItem();
|
|
366
|
-
if (this.
|
|
366
|
+
if (!this.hoverEnabled)
|
|
367
367
|
return this.renderDisabledHoverStandardItem();
|
|
368
368
|
return this.renderStandardItem();
|
|
369
369
|
}
|