@covet-pics/covet-pics-widget 0.153.0 → 0.153.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.
Files changed (55) hide show
  1. package/dist/cjs/covet-pics-gallery-header_5.cjs.entry.js +7 -8
  2. package/dist/cjs/covet-pics-gallery-header_5.cjs.entry.js.map +1 -1
  3. package/dist/cjs/covet-pics-highlighted-hotspots_2.cjs.entry.js +4 -5
  4. package/dist/cjs/covet-pics-highlighted-hotspots_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/popupFuncComponents-fc2016ed.js.map +1 -1
  6. package/dist/collection/components/covet-pics-gallery-item-detail/covet-pics-gallery-item-detail.js +1 -2
  7. package/dist/collection/components/covet-pics-gallery-item-detail/covet-pics-gallery-item-detail.js.map +1 -1
  8. package/dist/collection/components/covet-pics-highlighted/covet-pics-highlighted-page.js +4 -5
  9. package/dist/collection/components/covet-pics-highlighted/covet-pics-highlighted-page.js.map +1 -1
  10. package/dist/collection/components/covet-pics-popup/covet-pics-popup.js +6 -7
  11. package/dist/collection/components/covet-pics-popup/covet-pics-popup.js.map +1 -1
  12. package/dist/collection/utils/funcComponents.js +1 -2
  13. package/dist/collection/utils/funcComponents.js.map +1 -1
  14. package/dist/covet-pics-widget/covet-pics-widget.esm.js +1 -1
  15. package/dist/covet-pics-widget/p-1ea6ebb9.entry.js +5 -0
  16. package/dist/covet-pics-widget/p-1ea6ebb9.entry.js.map +1 -0
  17. package/dist/covet-pics-widget/p-3f4c47ac.js.map +1 -1
  18. package/dist/covet-pics-widget/p-446923e8.system.entry.js +5 -0
  19. package/dist/covet-pics-widget/p-446923e8.system.entry.js.map +1 -0
  20. package/dist/covet-pics-widget/p-7884e86b.system.js +1 -1
  21. package/dist/covet-pics-widget/p-b4b476a9.system.js.map +1 -1
  22. package/dist/covet-pics-widget/{p-f39035d7.entry.js → p-c8fafcd4.entry.js} +4 -4
  23. package/dist/covet-pics-widget/p-c8fafcd4.entry.js.map +1 -0
  24. package/dist/covet-pics-widget/{p-84bd9291.system.entry.js → p-cdda1803.system.entry.js} +4 -4
  25. package/dist/covet-pics-widget/p-cdda1803.system.entry.js.map +1 -0
  26. package/dist/esm/covet-pics-gallery-header_5.entry.js +6 -7
  27. package/dist/esm/covet-pics-gallery-header_5.entry.js.map +1 -1
  28. package/dist/esm/covet-pics-highlighted-hotspots_2.entry.js +4 -5
  29. package/dist/esm/covet-pics-highlighted-hotspots_2.entry.js.map +1 -1
  30. package/dist/esm/popupFuncComponents-f8d97c5b.js.map +1 -1
  31. package/dist/esm-es5/covet-pics-gallery-header_5.entry.js +2 -2
  32. package/dist/esm-es5/covet-pics-gallery-header_5.entry.js.map +1 -1
  33. package/dist/esm-es5/covet-pics-highlighted-hotspots_2.entry.js +1 -1
  34. package/dist/esm-es5/covet-pics-highlighted-hotspots_2.entry.js.map +1 -1
  35. package/dist/esm-es5/popupFuncComponents-f8d97c5b.js.map +1 -1
  36. package/package.json +1 -1
  37. package/dist/cjs/fragment-fe72cf2f.js +0 -10
  38. package/dist/cjs/fragment-fe72cf2f.js.map +0 -1
  39. package/dist/collection/utils/fragment.js +0 -5
  40. package/dist/collection/utils/fragment.js.map +0 -1
  41. package/dist/covet-pics-widget/p-0c2599ca.entry.js +0 -5
  42. package/dist/covet-pics-widget/p-0c2599ca.entry.js.map +0 -1
  43. package/dist/covet-pics-widget/p-22f08c90.system.js +0 -5
  44. package/dist/covet-pics-widget/p-22f08c90.system.js.map +0 -1
  45. package/dist/covet-pics-widget/p-365c7ea6.js +0 -5
  46. package/dist/covet-pics-widget/p-365c7ea6.js.map +0 -1
  47. package/dist/covet-pics-widget/p-4fcaf3a5.system.entry.js +0 -5
  48. package/dist/covet-pics-widget/p-4fcaf3a5.system.entry.js.map +0 -1
  49. package/dist/covet-pics-widget/p-84bd9291.system.entry.js.map +0 -1
  50. package/dist/covet-pics-widget/p-f39035d7.entry.js.map +0 -1
  51. package/dist/esm/fragment-5b047e57.js +0 -8
  52. package/dist/esm/fragment-5b047e57.js.map +0 -1
  53. package/dist/esm-es5/fragment-5b047e57.js +0 -5
  54. package/dist/esm-es5/fragment-5b047e57.js.map +0 -1
  55. package/dist/types/utils/fragment.d.ts +0 -2
@@ -12,7 +12,6 @@ const popupFuncComponents = require('./popupFuncComponents-fc2016ed.js');
12
12
  const index$1 = require('./index-fa6eb1c2.js');
13
13
  const getters = require('./getters-e94138b2.js');
14
14
  const slider = require('./slider-f5737b9c.js');
15
- const fragment = require('./fragment-fe72cf2f.js');
16
15
  const storeUtils = require('./storeUtils-0a2f3ccf.js');
17
16
  const popup = require('./popup-5b9349bc.js');
18
17
  const _commonjsHelpers = require('./_commonjsHelpers-68a3f11d.js');
@@ -631,7 +630,7 @@ const CovetPicsGalleryItemDetail = class {
631
630
  index.h("div", { class: "custom-img-wrap" }, index.h("img", { class: `img ${this.settings.slideshow_style === "material" ? "material-image" : ""}`, src: this.imageUrl, alt: "upload image", onLoad: this.imageLoadedHandler, onError: this.imageLoadedHandler }))));
632
631
  }
633
632
  renderUserAndDate() {
634
- return (index.h(fragment.Fragment, null, index.h("h3", { class: `username ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, this.userName), this.userName && this.createdTime && index.h("span", { class: `slash ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, "/"), index.h("span", { class: `created-time ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, index$1.format(this.createdTime))));
633
+ return (index.h(index.Fragment, null, index.h("h3", { class: `username ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, this.userName), this.userName && this.createdTime && index.h("span", { class: `slash ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, "/"), index.h("span", { class: `created-time ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, index$1.format(this.createdTime))));
635
634
  }
636
635
  renderRating() {
637
636
  if (this.rating === 0)
@@ -1256,7 +1255,7 @@ const CovetPicsPopup = class {
1256
1255
  index.h("h3", { class: "shop-this-look" }, this.settings.popup_products_title), this.item.links.length > 0 &&
1257
1256
  index.h("covet-pics-popup-links", { links: this.item.links, "item-created-time": this.item.created_time, "grey-border-class": greyBorderClass, appStore: this.appStore }), this.item.rating && !starOnly && !(this.item.data_type === "text") &&
1258
1257
  index.h(popupFuncComponents.StarRating, { rating: this.item.rating, ratingClass: "star-rating" }), this.item.caption && !(this.item.data_type === "text") &&
1259
- index.h(fragment.Fragment, null, index.h("p", { class: "caption", innerHTML: this.item.caption }), !(this.item.source === "instagram") &&
1258
+ index.h(index.Fragment, null, index.h("p", { class: "caption", innerHTML: this.item.caption }), !(this.item.source === "instagram") &&
1260
1259
  index.h("p", { class: "source" }, this.item.verified && index.h(popupFuncComponents.Icon, { iconName: "verification" }), this.item.username)), this.item.source === "instagram" &&
1261
1260
  index.h("p", { class: "source" }, index.h("a", { class: "source-link", target: "_blank", href: this.item.url, "aria-describedby": `link-description-${linkId}`, rel: "noopener noreferrer" }, "@", this.item.username, index.h(popupFuncComponents.Icon, { iconName: "external-link" }), index.h("span", { id: `link-description-${linkId}`, class: "sr-only" }, "Instagram link, this link opens in a new window"))), this.item.source === "file" && this.item.username !== null &&
1262
1261
  index.h("p", { class: "source" }, this.item.verified && index.h(popupFuncComponents.Icon, { iconName: "verification" }), this.item.username)), this.settings._arrowsDesktopType === "arrows-type-5" && this.settings._arrowsDesktopPosition === "bottom" &&
@@ -1371,12 +1370,12 @@ const CovetPicsPopup = class {
1371
1370
  render() {
1372
1371
  return (
1373
1372
  // needsclick FIXME: https://github.com/ftlabs/fastclick/issues/604
1374
- index.h(index.Host, { key: '2ae6436f04da5aa97928b83fe9731c705cc5b3bc', style: this.setPopupCSSVariables(), class: "needsclick" }, index.h("div", { key: '88c713f8544140b981d24bf9fddaf74125cc5a56', class: { "popup": true, "responsive": this.settings.popup_image_size === "responsive", "animated": this.settings.popup_animation, "direct-buy-open": this.directBuyIsOpen }, tabindex: this.popupTabIndex, role: "dialog", "aria-label": "Popup" }, this.settings.close_button_position === "corner" &&
1373
+ index.h(index.Host, { key: '3fbc852641a434377b0d12115df9d0d0bbac2171', style: this.setPopupCSSVariables(), class: "needsclick" }, index.h("div", { key: '16c35b58974168f37d0d55c68e7738c7d19ef0e4', class: { "popup": true, "responsive": this.settings.popup_image_size === "responsive", "animated": this.settings.popup_animation, "direct-buy-open": this.directBuyIsOpen }, tabindex: this.popupTabIndex, role: "dialog", "aria-label": "Popup" }, this.settings.close_button_position === "corner" &&
1375
1374
  this.renderCloseButton(), this.settings._arrowsMobilePosition === "top" &&
1376
- this.renderMobileArrows(), index.h("div", { key: '5f2caeb47dc9a9924ecc57b89d74071d67f663cd', class: "popup-dialog" }, this.item && this.item.id !== -1 &&
1377
- index.h("div", { key: '51d9e7ebed098c83fbfc31f4ad5a1d19517be471', id: this.contentCarouselId, class: "popup-content" }, this.renderImage(), this.renderSidebar()), ["arrows-type-1", "arrows-type-2", "arrows-type-3"].includes(this.settings._arrowsDesktopType) &&
1378
- index.h("div", { key: 'a5796e57a9dd649d13c68ed4b9653192702793f5', class: `desktop-arrows arrows-size-${this.settings._arrowsDesktopSizeType} arrows-color-theme-${this.settings.arrow_color_theme}` }, this.renderArrows(this.settings._arrowsDesktopType)), this.settings.close_button_position === "side" &&
1379
- this.renderCloseButton(), index.h("a", { key: '61aceffe90615e0545e24151236c978a04a77576', href: "/cart", target: "_top", class: `btn-checkout desktop ${this.settings.close_button_position} ${this.settings.close_button_size} ${this.settings._closeButtonСolorTheme}`, "aria-hidden": "true", "aria-label": "View cart" }, index.h("span", { key: 'aeefe2b4aa8e27cc2835cc6a3647124733047648', class: "counter" }), index.h(popupFuncComponents.Icon, { key: 'bf90dca957a7fb6bc35556410011898994e24385', iconName: "checkout" }))), index.h("div", { key: '96b584d8b93f0c8003349ee0e726cdc96abb42e6', class: "backdrop", "data-dismiss": "popup", onClick: this.hidePopupClickHandler }))));
1375
+ this.renderMobileArrows(), index.h("div", { key: 'c3e2f4ff599aa40ecd647be9315646047ef05e60', class: "popup-dialog" }, this.item && this.item.id !== -1 &&
1376
+ index.h("div", { key: '287dd568d0dcdea5daf2622a7bf5b74234d271f8', id: this.contentCarouselId, class: "popup-content" }, this.renderImage(), this.renderSidebar()), ["arrows-type-1", "arrows-type-2", "arrows-type-3"].includes(this.settings._arrowsDesktopType) &&
1377
+ index.h("div", { key: 'd9d68e2652092ffe2f827c82f366ab451be507d9', class: `desktop-arrows arrows-size-${this.settings._arrowsDesktopSizeType} arrows-color-theme-${this.settings.arrow_color_theme}` }, this.renderArrows(this.settings._arrowsDesktopType)), this.settings.close_button_position === "side" &&
1378
+ this.renderCloseButton(), index.h("a", { key: '5b343cb16a13e7eeb993600006699f77609f2390', href: "/cart", target: "_top", class: `btn-checkout desktop ${this.settings.close_button_position} ${this.settings.close_button_size} ${this.settings._closeButtonСolorTheme}`, "aria-hidden": "true", "aria-label": "View cart" }, index.h("span", { key: 'c6e6e880b25c9b5ff93d16cc00953565b25145dc', class: "counter" }), index.h(popupFuncComponents.Icon, { key: '73df897d2029e04cde5cc65c2711f4f019eaad44', iconName: "checkout" }))), index.h("div", { key: '5b5cb34b3b11c55375259a0e237c9a8e517bc9db', class: "backdrop", "data-dismiss": "popup", onClick: this.hidePopupClickHandler }))));
1380
1379
  }
1381
1380
  get el() { return index.getElement(this); }
1382
1381
  static get watchers() { return {