@gem-sdk/components 23.1.2 → 24.0.0-dev.8
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/article/components/ArticleImage.js +1 -1
- package/dist/cjs/article/components/ArticleImage.liquid.js +6 -6
- package/dist/cjs/article/components/ArticleList.js +1 -1
- package/dist/cjs/article/index.js +1 -1
- package/dist/cjs/article/settings/configs/article-image/settings.js +1 -1
- package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
- package/dist/cjs/button/common/helpers.js +2 -2
- package/dist/cjs/cart/components/CartList.js +1 -1
- package/dist/cjs/cart/index.js +1 -1
- package/dist/cjs/collection/index.js +1 -1
- package/dist/cjs/common/components/Loading.js +1 -1
- package/dist/cjs/common/const.js +1 -1
- package/dist/cjs/common/helpers.js +1 -0
- package/dist/cjs/common/hooks/useElementWidth.js +1 -0
- package/dist/cjs/common/hooks/useLoadingProgress.js +1 -0
- package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
- package/dist/cjs/grid/components/section/Section.js +1 -1
- package/dist/cjs/grid/index.js +1 -1
- package/dist/cjs/header/components/kind/basic/index.js +1 -1
- package/dist/cjs/header/components/kind/modern/index.js +1 -1
- package/dist/cjs/header/index.js +1 -1
- package/dist/cjs/hero-banner/common/styles.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +5 -5
- package/dist/cjs/hero-banner/index.js +1 -1
- package/dist/cjs/image/common/adaptiveSources.js +1 -0
- package/dist/cjs/image/common/attrs.js +1 -1
- package/dist/cjs/image/common/classes.js +1 -1
- package/dist/cjs/image/common/helpers.js +2 -2
- package/dist/cjs/image/common/liquidSrcset.js +1 -0
- package/dist/cjs/image/common/listContext.js +1 -0
- package/dist/cjs/image/common/listImageContext.js +1 -0
- package/dist/cjs/image/common/sizes.js +1 -0
- package/dist/cjs/image/common/srcset.js +1 -0
- package/dist/cjs/image/components/AdaptiveImage.js +1 -1
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +10 -12
- package/dist/cjs/image/components/Image.js +1 -1
- package/dist/cjs/image/components/Image.liquid.js +10 -10
- package/dist/cjs/image/components/NextImage.js +1 -1
- package/dist/cjs/image/components/NextImage.liquid.js +4 -5
- package/dist/cjs/image/constants.js +1 -1
- package/dist/cjs/image/index.js +1 -1
- package/dist/cjs/image/settings/configs/settings.js +1 -1
- package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/image-comparison/common/attrs.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +14 -14
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -3
- package/dist/cjs/image-comparison/index.js +1 -1
- package/dist/cjs/image-comparison/settings/configs/settings.js +1 -1
- package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
- package/dist/cjs/post-purchase/product/hooks/useHandleQuantity.js +1 -1
- package/dist/cjs/post-purchase/product/index.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
- package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/cjs/product/components/product-badge/common/styles.js +1 -1
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
- package/dist/cjs/product/components/product-bundle/common/classes.js +1 -1
- package/dist/cjs/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
- package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
- package/dist/cjs/product/components/product-discount-tag/common/helpers.js +1 -0
- package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +41 -41
- package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
- package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +23 -23
- package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
- package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +40 -40
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +40 -40
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +12 -12
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +12 -12
- package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +23 -23
- package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
- package/dist/cjs/product/components/product-list/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListCarouselLayout.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +9 -7
- package/dist/cjs/product/components/product-list/ProductListGridLayout.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +16 -14
- package/dist/cjs/product/components/product-list/common/helpers.js +1 -1
- package/dist/cjs/product/components/product-list/common/imagePriority.js +17 -0
- package/dist/cjs/product/components/product-list/common/imagePriorityHints.js +1 -0
- package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +11 -9
- package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +16 -14
- package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
- package/dist/cjs/product/components/product-wrap/Product.js +1 -1
- package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/cjs/product/helpers/product-bundle.js +1 -1
- package/dist/cjs/product/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
- package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/cjs/stock-counter/common/attrs.js +1 -1
- package/dist/cjs/stock-counter/common/helpers.js +23 -23
- package/dist/cjs/stock-counter/hooks/useStockCounter.js +1 -1
- package/dist/cjs/third-party/components/KlarnaMessaging.liquid.js +29 -4
- package/dist/cjs/video/common/attrs.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.liquid.js +11 -11
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
- package/dist/cjs/video/components/Video.liquid.js +1 -1
- package/dist/esm/article/components/ArticleImage.js +1 -1
- package/dist/esm/article/components/ArticleImage.liquid.js +7 -7
- package/dist/esm/article/components/ArticleList.js +1 -1
- package/dist/esm/article/index.js +1 -1
- package/dist/esm/article/settings/configs/article-image/settings.js +1 -1
- package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
- package/dist/esm/button/common/helpers.js +2 -2
- package/dist/esm/cart/components/CartList.js +1 -1
- package/dist/esm/cart/index.js +1 -1
- package/dist/esm/collection/index.js +1 -1
- package/dist/esm/common/components/Loading.js +1 -1
- package/dist/esm/common/const.js +1 -1
- package/dist/esm/common/helpers.js +1 -0
- package/dist/esm/common/hooks/useElementWidth.js +1 -0
- package/dist/esm/common/hooks/useLoadingProgress.js +1 -0
- package/dist/esm/grid/components/row/Row.liquid.js +10 -10
- package/dist/esm/grid/components/section/Section.js +1 -1
- package/dist/esm/grid/index.js +1 -1
- package/dist/esm/header/components/kind/basic/index.js +1 -1
- package/dist/esm/header/components/kind/modern/index.js +1 -1
- package/dist/esm/header/index.js +1 -1
- package/dist/esm/hero-banner/common/styles.js +1 -1
- package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
- package/dist/esm/hero-banner/index.js +1 -1
- package/dist/esm/image/common/adaptiveSources.js +1 -0
- package/dist/esm/image/common/attrs.js +1 -1
- package/dist/esm/image/common/classes.js +1 -1
- package/dist/esm/image/common/helpers.js +2 -2
- package/dist/esm/image/common/liquidSrcset.js +1 -0
- package/dist/esm/image/common/listContext.js +1 -0
- package/dist/esm/image/common/listImageContext.js +1 -0
- package/dist/esm/image/common/sizes.js +1 -0
- package/dist/esm/image/common/srcset.js +1 -0
- package/dist/esm/image/components/AdaptiveImage.js +1 -1
- package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -13
- package/dist/esm/image/components/Image.js +1 -1
- package/dist/esm/image/components/Image.liquid.js +3 -3
- package/dist/esm/image/components/NextImage.js +1 -1
- package/dist/esm/image/components/NextImage.liquid.js +5 -6
- package/dist/esm/image/constants.js +1 -1
- package/dist/esm/image/index.js +1 -1
- package/dist/esm/image/settings/configs/settings.js +1 -1
- package/dist/esm/image/settings/configs/ui-v2.js +1 -1
- package/dist/esm/image-comparison/common/attrs.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +17 -17
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -3
- package/dist/esm/image-comparison/index.js +1 -1
- package/dist/esm/image-comparison/settings/configs/settings.js +1 -1
- package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/post-purchase/callout-banner/index.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
- package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
- package/dist/esm/post-purchase/product/hooks/useHandleQuantity.js +1 -1
- package/dist/esm/post-purchase/product/index.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
- package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/esm/product/components/product-badge/common/styles.js +1 -1
- package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/esm/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
- package/dist/esm/product/components/product-bundle/common/classes.js +1 -1
- package/dist/esm/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
- package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
- package/dist/esm/product/components/product-discount-tag/common/helpers.js +1 -0
- package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +35 -35
- package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
- package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +29 -29
- package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
- package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +24 -24
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +24 -24
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +30 -30
- package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
- package/dist/esm/product/components/product-list/ProductList.js +1 -1
- package/dist/esm/product/components/product-list/ProductListCarouselLayout.js +1 -1
- package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +11 -9
- package/dist/esm/product/components/product-list/ProductListGridLayout.js +1 -1
- package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +18 -16
- package/dist/esm/product/components/product-list/common/helpers.js +1 -1
- package/dist/esm/product/components/product-list/common/imagePriority.js +17 -0
- package/dist/esm/product/components/product-list/common/imagePriorityHints.js +1 -0
- package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +12 -10
- package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +18 -16
- package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
- package/dist/esm/product/components/product-wrap/Product.js +1 -1
- package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/esm/product/helpers/product-bundle.js +1 -1
- package/dist/esm/product/index.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/esm/stock-counter/common/attrs.js +1 -1
- package/dist/esm/stock-counter/common/helpers.js +21 -21
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
- package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
- package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
- package/dist/esm/video/common/attrs.js +1 -1
- package/dist/esm/video/components/HTML5Embed.js +1 -1
- package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
- package/dist/esm/video/components/Video.liquid.js +1 -1
- package/dist/types/index.d.ts +26 -8
- package/package.json +11 -8
|
@@ -1,11 +1,36 @@
|
|
|
1
|
-
import{makeStyleResponsive as
|
|
1
|
+
import{makeStyleResponsive as e,template as t}from"@gem-sdk/core";let o=({setting:o,advanced:a})=>{let{widgetType:r,align:i}=o??{};return t`
|
|
2
2
|
<div
|
|
3
|
-
class="${
|
|
4
|
-
style="${{...
|
|
3
|
+
class="${a?.cssClass}"
|
|
4
|
+
style="${{...e("ta",i)}}"
|
|
5
5
|
>
|
|
6
6
|
<klarna-placement
|
|
7
|
-
data-key=${(()=>{switch(
|
|
7
|
+
data-key=${(()=>{switch(r){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
|
|
8
8
|
data-locale={{ request.locale.iso_code }}-{{ localization.country.iso_code }}
|
|
9
9
|
></klarna-placement>
|
|
10
|
+
<script>
|
|
11
|
+
(function () {
|
|
12
|
+
var placement = document.currentScript.previousElementSibling;
|
|
13
|
+
var index = 0;
|
|
14
|
+
var id = 'gp-klarna-placement';
|
|
15
|
+
while (document.getElementById(id)) {
|
|
16
|
+
id = 'gp-klarna-placement-' + (++index);
|
|
17
|
+
}
|
|
18
|
+
placement.id = id;
|
|
19
|
+
|
|
20
|
+
// Register with the Shopify app so it initializes the SDK and validates the market.
|
|
21
|
+
var placements = window.klarnaAppBlocksManager || (window.appBlockPlacements ||= []);
|
|
22
|
+
placements.push({
|
|
23
|
+
selector: id,
|
|
24
|
+
dataKey: placement.getAttribute('data-key'),
|
|
25
|
+
productVariants: {{ product.variants | json | replace: '<', '\\u003c' }} || [],
|
|
26
|
+
templateName: {{ template.name | json }},
|
|
27
|
+
storefrontCurrency: {{ cart.currency.iso_code | json }},
|
|
28
|
+
storefrontCountry: {{ localization.country.iso_code | json }},
|
|
29
|
+
storefrontLanguage: {{ request.locale.iso_code | split: '-' | first | json }},
|
|
30
|
+
variantPrice: {{ product.selected_or_first_available_variant.price | default: 0 | append: '' | json }},
|
|
31
|
+
cartPrice: {{ cart.total_price | default: 0 | append: '' | json }}
|
|
32
|
+
});
|
|
33
|
+
})();
|
|
34
|
+
</script>
|
|
10
35
|
</div>
|
|
11
|
-
`};export{
|
|
36
|
+
`};export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let t=({uid:t})=>({"data-id":t}),a=({videoId:t,title:a,autoplay:e,preloadThumbnail:d,offLazyLoad:r,src:o,thumbnail:l})=>({id:`${t}`,title:`${a}`,preload:`${e&&!d||r?"metadata":"none"}`,"data-src":`${o}`,poster:l
|
|
1
|
+
let t=({uid:t})=>({"data-id":t}),a=({videoId:t,title:a,autoplay:e,preloadThumbnail:d,offLazyLoad:r,src:o,thumbnail:l,shouldDeferPoster:p})=>({id:`${t}`,title:`${a}`,preload:`${e&&!d||r?"metadata":"none"}`,"data-src":`${o}`,poster:l&&!p?l:"","data-poster":l||""});export{t as getAttr,a as getHtml5Attr};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{getWrapThumbnailClasses as s,getButtonThumbnailClasses as r,getImageThumbnailClasses as l,getVideoYoutubeClasses as m}from"../common/classes.js";import{createAttr as i,createClass as a,createStyle as c}from"@gem-sdk/system";import n from"../hooks/useLiteHtml5Embed.js";import p from"../../image/components/NextImage.js";import{getPreloadImageStyle as d}from"../common/styles.js";import{getHtml5Attr as y}from"../common/attrs.js";import{useEditorMode as f}from"@gem-sdk/core";let u=u=>{let g=f(),h="edit"!==g,{thumbnail:b,muted:
|
|
2
|
+
import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{getWrapThumbnailClasses as s,getButtonThumbnailClasses as r,getImageThumbnailClasses as l,getVideoYoutubeClasses as m}from"../common/classes.js";import{createAttr as i,createClass as a,createStyle as c}from"@gem-sdk/system";import n from"../hooks/useLiteHtml5Embed.js";import p from"../../image/components/NextImage.js";import{getPreloadImageStyle as d}from"../common/styles.js";import{getHtml5Attr as y}from"../common/attrs.js";import{useEditorMode as f}from"@gem-sdk/core";let u=u=>{let g=f(),h="edit"!==g,{thumbnail:b,muted:j,autoplay:v,loop:x,controls:N,src:k,style:C,title:w,className:L,lazy:T,poster:E}=u,{playVideoAndTurnOffThumbnail:H,videoRef:I,showThumbnail:M}=n(v,j,k),P=!h&&v&&j&&!!b,V=!T&&u.isVideoComponent&&h,A=!b||!M,B=k||void 0,D=i({...y({title:w,autoplay:v,preloadThumbnail:P,offLazyLoad:V,src:k,thumbnail:b})}),S=a({...s(A)}),Z=c({...d()}),q=a({...r()}),z=a({...l()}),F=a({...m(L,V)});return e(t,{children:[P?o(p,{src:b,alt:w,priority:!0,style:Z}):"",o("video",{ref:I,...D,style:C,className:F,controls:N,loop:x,muted:j,autoPlay:v,playsInline:!0,src:B}),!A&&e("div",{role:"presentation",style:C,className:S,onClick:H,children:[o(p,{id:"video-thumbnail",src:b??"",alt:E?.altText,title:E?.imageTitle,priority:E?.preload&&h,className:z,isDisableAspectStyle:!0}),o("button",{type:"button",className:q,"aria-label":"Play",children:o("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:o("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]})]})};export{u as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{getWrapThumbnailClasses as e,getButtonThumbnailClasses as t,getImageThumbnailClasses as o,getVideoYoutubeClasses as i}from"../common/classes.js";import{RenderIf as
|
|
2
|
-
<gp-lite-html5-embed is-check-loaded="${f.isCheckLoaded??!1}" style="${
|
|
3
|
-
${
|
|
1
|
+
import{getWrapThumbnailClasses as e,getButtonThumbnailClasses as t,getImageThumbnailClasses as o,getVideoYoutubeClasses as i}from"../common/classes.js";import{RenderIf as s,isLocalEnv as r,baseAssetURL as d,template as a}from"@gem-sdk/core";import{createAttr as l,createClass as n,createStyle as m,If as c}from"@gem-sdk/system";import u from"../../image/components/NextImage.liquid.js";import{getPreloadImageStyle as p}from"../common/styles.js";import{getSettingPreloadData as v}from"../../helpers.js";import{getHtml5Attr as y}from"../common/attrs.js";let f=f=>{let $=`gp-video-${f.uid}`,{thumbnail:g,muted:h,autoplay:L,loop:b,controls:E,src:A,style:P,title:w,className:T,lazy:j,poster:k,thumbnailImage:C,wrapperStyles:V}=f,S=L&&h&&!!g,x=!j&&f.isVideoComponent,I=!g||L&&h,M=x?A:void 0,N=!f.isVideoComponent&&!I,q=l({...y({videoId:$,title:w,autoplay:L,preloadThumbnail:S,offLazyLoad:x,src:A,thumbnail:g,shouldDeferPoster:N})}),B=n({...e(I)}),D=m({...p()}),G=n({...t()}),O=n({...o()}),_=n({...i(T,x)});return a`
|
|
2
|
+
<gp-lite-html5-embed is-check-loaded="${f.isCheckLoaded??!1}" style="${V}">
|
|
3
|
+
${S?a`${u({src:g,alt:w,priority:k?.preload,style:D})}
|
|
4
4
|
${c(L,`<script>
|
|
5
5
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
6
6
|
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
|
@@ -36,7 +36,7 @@ import{getWrapThumbnailClasses as e,getButtonThumbnailClasses as t,getImageThumb
|
|
|
36
36
|
</script>`)}
|
|
37
37
|
`:""}
|
|
38
38
|
<video
|
|
39
|
-
${{...
|
|
39
|
+
${{...q}}
|
|
40
40
|
style="${P}"
|
|
41
41
|
class="${_}"
|
|
42
42
|
${E?"controls":void 0}
|
|
@@ -44,15 +44,15 @@ import{getWrapThumbnailClasses as e,getButtonThumbnailClasses as t,getImageThumb
|
|
|
44
44
|
${h?"muted":void 0}
|
|
45
45
|
${L?"autoplay":void 0}
|
|
46
46
|
playsinline
|
|
47
|
-
${
|
|
47
|
+
${M?`src="${M}"`:""}
|
|
48
48
|
></video>
|
|
49
|
-
${c(!
|
|
49
|
+
${c(!I,a`
|
|
50
50
|
<div
|
|
51
51
|
role="presentation"
|
|
52
52
|
style="${P}"
|
|
53
53
|
class="${B}"
|
|
54
54
|
>
|
|
55
|
-
${u({id:"video-thumbnail",src:g??"",alt:k?.altText,title:k?.imageTitle,className:O,isDisableAspectStyle:!0,priority:k?.preload
|
|
55
|
+
${u({id:"video-thumbnail",src:g??"",...C&&{srcIsLiquidCode:!0,srcset:C.srcset},alt:k?.altText,title:k?.imageTitle,className:O,isDisableAspectStyle:!0,priority:k?.preload})}
|
|
56
56
|
<button type="button" class="${G}" aria-label="Play">
|
|
57
57
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
58
58
|
<path
|
|
@@ -64,5 +64,5 @@ import{getWrapThumbnailClasses as e,getButtonThumbnailClasses as t,getImageThumb
|
|
|
64
64
|
</div>
|
|
65
65
|
`)}
|
|
66
66
|
</gp-lite-html5-embed>
|
|
67
|
-
${r
|
|
67
|
+
${s(r,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-lite-html5-embed-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${d}/assets-v2/gp-lite-html5-embed-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
68
68
|
`};export{f as default};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{getArticleVimeoClasses as e,getImageVimeoClasses as t,getButtonVimeoClasses as s,getIframeVimeoClasses as i}from"../common/classes.js";import{createStateOrContext as r,createStyle as l,createClass as a,If as m}from"@gem-sdk/system";import{getIframeVimeoStyle as o,getArticleVimeoStyle as p}from"../common/styles.js";import{template as c,RenderIf as d,isLocalEnv as n,baseAssetURL as f}from"@gem-sdk/core";import g from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as y}from"../../helpers.js";import{getVimeoParams as $}from"../common/helpers.js";let h=h=>{let{title:u,id:b,lazy:v,aspectRatio:j,autoplay:S,muted:w,thumbnailLink:x,poster:E,translatedVideoUrl:k
|
|
1
|
+
import{getArticleVimeoClasses as e,getImageVimeoClasses as t,getButtonVimeoClasses as s,getIframeVimeoClasses as i}from"../common/classes.js";import{createStateOrContext as r,createStyle as l,createClass as a,If as m}from"@gem-sdk/system";import{getIframeVimeoStyle as o,getArticleVimeoStyle as p}from"../common/styles.js";import{template as c,RenderIf as d,isLocalEnv as n,baseAssetURL as f}from"@gem-sdk/core";import g from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as y}from"../../helpers.js";import{getVimeoParams as $}from"../common/helpers.js";let h=h=>{let{title:u,id:b,lazy:v,aspectRatio:j,autoplay:S,muted:w,thumbnailLink:x,poster:E,translatedVideoUrl:k}=h,{iframeSrc:N}=$(h),A=!v,I=h.thumbnail,T=r({id:b,thumbnail:x,lazy:v,iframeSrc:N,title:u,autoplay:S,muted:w,style:h?.vimeoStyleIframe||"",translatedVideoUrl:k}),V=l({...o(j)}),C=l({...p(j,"")}),G=a({...e(I,j)}),L=a({...t(A)}),M=a({...s(A)}),O=a({...i()});return c`
|
|
2
2
|
<gp-lite-vimeo-embed>
|
|
3
|
-
<script gp-data type="application/json">${JSON.stringify(
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(T)}</script>
|
|
4
4
|
<article
|
|
5
5
|
aria-hidden
|
|
6
|
-
class="${
|
|
6
|
+
class="${G}"
|
|
7
7
|
data-title="${u}"
|
|
8
|
-
style="${
|
|
8
|
+
style="${C}"
|
|
9
9
|
>
|
|
10
|
-
${g({src:
|
|
11
|
-
${m(!
|
|
12
|
-
<button type="button" class="${
|
|
10
|
+
${g({src:I,alt:E?.altText,title:E?.imageTitle,className:L,isDisableAspectStyle:!0,priority:E?.preload,height:E?.height,width:E?.width})}
|
|
11
|
+
${m(!A,c`
|
|
12
|
+
<button type="button" class="${M}" aria-label="Play">
|
|
13
13
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
14
14
|
<path
|
|
15
15
|
fill="currentColor"
|
|
@@ -17,15 +17,15 @@ import{getArticleVimeoClasses as e,getImageVimeoClasses as t,getButtonVimeoClass
|
|
|
17
17
|
/>
|
|
18
18
|
</svg>
|
|
19
19
|
</button>`)}
|
|
20
|
-
${m(
|
|
20
|
+
${m(A,c`
|
|
21
21
|
<iframe
|
|
22
|
-
style="${
|
|
22
|
+
style="${V}"
|
|
23
23
|
title="${u}"
|
|
24
24
|
frameborder="0"
|
|
25
25
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
26
26
|
allowfullscreen
|
|
27
|
-
src="${
|
|
28
|
-
class="${
|
|
27
|
+
src="${N}"
|
|
28
|
+
class="${O}"
|
|
29
29
|
></iframe>`)}
|
|
30
30
|
</article>
|
|
31
31
|
</gp-lite-vimeo-embed>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as r}from"@gem-sdk/core";import a from"react-youtube";import{getButtonYoutubeClasses as o,getImageYoutubeClasses as i,getArticleYoutubeClasses as l,getIframeYoutubeClasses as s,getYoutubeContentClasses as m}from"../common/classes.js";import{getYoutubeParams as n,isSettingLoop as c,covertStrParamsToObj as u}from"../common/helpers.js";import{getIframeYoutubeStyle as d,getArticleYoutubeStyle as p}from"../common/styles.js";import f from"../hooks/useLiteYoutubeEmbed.js";import{createClass as y,createStyle as h}from"@gem-sdk/system";import
|
|
2
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as r}from"@gem-sdk/core";import a from"react-youtube";import{getButtonYoutubeClasses as o,getImageYoutubeClasses as i,getArticleYoutubeClasses as l,getIframeYoutubeClasses as s,getYoutubeContentClasses as m}from"../common/classes.js";import{getYoutubeParams as n,isSettingLoop as c,covertStrParamsToObj as u}from"../common/helpers.js";import{getIframeYoutubeStyle as d,getArticleYoutubeStyle as p}from"../common/styles.js";import f from"../hooks/useLiteYoutubeEmbed.js";import{createClass as y,createStyle as h}from"@gem-sdk/system";import b from"../../image/components/NextImage.js";let g=g=>{let C=r(),v="edit"!==C,{style:w,poster:N,iframeClass:j,wrapperClass:k,title:x}=g,{preload:B}=N||{},{videoId:S,paramsImp:E,posterUrl:T,iframeSrc:V}=n(g),{iframe:H,intervalPlay:I,warmConnections:M,isVideoStarted:D,videoDuration:L,addIframe:P}=f(g,E,S),Y=y({...o(H)}),z=y({...i()}),A=y({...l(B&&v||!1,k)}),F=y({...s(j)}),O=h({...d(w)}),R=h({...p(w,T)}),q=y({...m()});return e("article",{"aria-hidden":!0,className:A,"data-title":x,style:R,onPointerOver:M,onClick:P,children:[t(b,{src:T,alt:N?.altText,title:N?.imageTitle,priority:v&&B,className:z,isDisableAspectStyle:!0}),t("button",{type:"button","aria-label":"Play",className:Y,children:e("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[t("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),t("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),H&&(()=>{if(g.isHeroBanner&&c(E))return t(a,{videoId:S,title:x,iframeClassName:F,style:O,className:q,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...u(E)}},onReady:e=>{if(e.target.playVideo(),L.current=Math.floor(e.target.getDuration()),g.isHeroBanner){let t=e.target.getIframe();if(t){let e=t.closest("div.hero-banner-container");if(e){let r=new CustomEvent("youtube-iframe-ready",{detail:{iframe:t},bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}}},onStateChange:e=>{let t=e.target;D.current||(t.playVideo(),D.current=!0,I(e)),0===e.data&&(L.current=t.getCurrentTime(),t.playVideo(),I(e))}});let e=t("iframe",{className:F,style:O,title:x,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:V});return g.isHeroBanner?t("div",{className:q,children:e}):e})()]})};export{g as default};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{getButtonYoutubeClasses as e,getImageYoutubeClasses as t,getArticleYoutubeClasses as s,getIframeYoutubeClasses as r,getYoutubeContentClasses as i}from"../common/classes.js";import{createStateOrContext as a,createClass as l,createStyle as o,If as p}from"@gem-sdk/system";import{getIframeYoutubeStyle as m,getArticleYoutubeStyle as c}from"../common/styles.js";import{RenderIf as d,isLocalEnv as n,baseAssetURL as u,template as
|
|
1
|
+
import{getButtonYoutubeClasses as e,getImageYoutubeClasses as t,getArticleYoutubeClasses as s,getIframeYoutubeClasses as r,getYoutubeContentClasses as i}from"../common/classes.js";import{createStateOrContext as a,createClass as l,createStyle as o,If as p}from"@gem-sdk/system";import{getIframeYoutubeStyle as m,getArticleYoutubeStyle as c}from"../common/styles.js";import{RenderIf as d,isLocalEnv as n,baseAssetURL as u,template as f}from"@gem-sdk/core";import y from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as $}from"../../helpers.js";import{getYoutubeParams as g}from"../common/helpers.js";let b=b=>{let{style:h,iframeClass:v,wrapperClass:S,title:j,poster:w,translatedVideoUrl:C,autoplay:E}=b,k=`gp-video-${b.uid}`,{posterUrl:x,iframeSrc:z}=g(b),B=!!b.thumbnail,N=w?.preload,T=a({lazy:b.lazy,hasThumbnail:B,style:h,title:j,iframeSrc:z,translatedVideoUrl:C,autoplay:E,isHeroBanner:b.isHeroBanner}),A=!b.lazy&&(!B||!!b.autoplay),H=l({...e(A)}),M=l({...t()}),G=l({...s(N||!1,S)}),I=l({...r(v)}),O=o({...m(h)}),P=o({...c(h,x)}),_=l({...i()});return f`
|
|
2
2
|
<gp-lite-youtube-embed>
|
|
3
|
-
<script gp-data type="application/json">${JSON.stringify(
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(T)}</script>
|
|
4
4
|
<article
|
|
5
5
|
aria-hidden
|
|
6
|
-
class="${
|
|
6
|
+
class="${G}"
|
|
7
7
|
data-title="${j}"
|
|
8
8
|
style="${P}"
|
|
9
9
|
>
|
|
10
|
-
${
|
|
11
|
-
<button type="button" aria-label="Play" class="${
|
|
10
|
+
${y({id:k,src:x,alt:w?.altText,title:w?.imageTitle,priority:w?.preload,className:M,isDisableAspectStyle:!0})}
|
|
11
|
+
<button type="button" aria-label="Play" class="${H}">
|
|
12
12
|
<svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
|
|
13
13
|
<path
|
|
14
14
|
d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"
|
|
@@ -17,18 +17,18 @@ import{getButtonYoutubeClasses as e,getImageYoutubeClasses as t,getArticleYoutub
|
|
|
17
17
|
<path d="M 45,24 27,14 27,34" fill="#fff"></path>
|
|
18
18
|
</svg>
|
|
19
19
|
</button>
|
|
20
|
-
${p(
|
|
20
|
+
${p(A,(()=>{let e=f`
|
|
21
21
|
<iframe
|
|
22
22
|
id="player-wrapper-${b.uid}"
|
|
23
|
-
class="${
|
|
23
|
+
class="${I}"
|
|
24
24
|
style="${O}"
|
|
25
25
|
title="${j}"
|
|
26
26
|
frameborder="0"
|
|
27
27
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
28
28
|
allowfullscreen
|
|
29
|
-
src="${
|
|
29
|
+
src="${z}"
|
|
30
30
|
></iframe>
|
|
31
|
-
`;return b.isHeroBanner?
|
|
31
|
+
`;return b.isHeroBanner?f`
|
|
32
32
|
<div class="${_}">${e}</div>
|
|
33
33
|
`:e})())}
|
|
34
34
|
</article>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import{getSettingTranslatedVideoAndThumbnail as t,getAspectRatioSettings as e,getVimeoVideoId as o,vimeoVideoRegex as i,getYoutubeVideoId as s,youtubeVideoRegex as l,parseTimeVideo as m,fallbackImageVideoUrl as a}from"../common/helpers.js";import{template as r,hasTranslatedLiquid as d}from"@gem-sdk/core";import{getStyle as u,getYoutubeStyle as n,getVimeoStyle as c,getHtml5Style as p,getFallBackImageStyle as f}from"../common/styles.js";import{getFallbackImageClasses as y,getClasses as b}from"../common/classes.js";import{createAttr as j,createStyle as h,createClass as k}from"@gem-sdk/system";import V from"../../image/components/NextImage.liquid.js";import{getImageSrc as $}from"../../image/common/helpers.js";import v from"./LiteYouTubeEmbed.liquid.js";import g from"./LiteVimeoEmbed.liquid.js";import L from"./HTML5Embed.liquid.js";import{getAttr as N}from"../common/attrs.js";let q=({className:q,setting:C,style:x,builderAttrs:z,builderProps:E,advanced:F,pageContext:I})=>{let R=t({setting:C,uid:E?.uid,pageContext:I??{}}),{youtubeUrl:w="",vimeoUrl:T="",html5Url:U,autoplay:H=!1,loopVideo:M=!1,controls:O=!1,mute:P,poster:S,startTime:Y,endTime:A,lazy:B,type:D}=R??{},{youtubeUrlTranslated:G,vimeoUrlTranslated:J}=R,K=$(S),{cssClass:Q}=F??{},W=e(R?.ratioOptions,R?.aspectRatio),X=j({...N({uid:E?.uid||""})}),Z=h({...u(R,x)}),_=h({...n(W)}),tt=h({...c(W)}),te=h({...p(W)}),to=h({...f(C?.aspectRatio)}),ti=k({...y()}),ts=k({...b({className:q,builderProps:E,isInstantLP:!1,advancedCssClass:Q})});return r`
|
|
2
2
|
<div
|
|
3
3
|
${{...z}} ${{...X}} class="${ts}" style="${Z}">
|
|
4
|
-
${(()=>{switch(D){case"youtube":{let t=s(w),e=d(G);if((!l.test(w)||!t)&&!e)return V({src:a,alt:"Fallback video",className:ti,style:to});let o="";return M&&(o+=`&loop=1&playlist=${t}`),Y&&(o+=`&start=${m(Y)}`),A&&(o+=`&end=${m(A)}`),v({uid:E?.uid,id:t??"",translatedVideoUrl:e?G:"",autoplay:H,title:"Video",controls:O,params:o,adNetwork:!1,noCookie:!0,muted:!P,thumbnail:K,lazy:B??!0,poster:S,style:_
|
|
4
|
+
${(()=>{switch(D){case"youtube":{let t=s(w),e=d(G);if((!l.test(w)||!t)&&!e)return V({src:a,alt:"Fallback video",className:ti,style:to});let o="";return M&&(o+=`&loop=1&playlist=${t}`),Y&&(o+=`&start=${m(Y)}`),A&&(o+=`&end=${m(A)}`),v({uid:E?.uid,id:t??"",translatedVideoUrl:e?G:"",autoplay:H,title:"Video",controls:O,params:o,adNetwork:!1,noCookie:!0,muted:!P,thumbnail:K,lazy:B??!0,poster:S,style:_})}case"vimeo":{let t=o(T),e=d(J);if((!i.test(T)||!t)&&!e)return V({src:a,alt:"Fallback video",className:ti,style:to});return g({muted:!P,loop:M,controls:O,thumbnail:K,thumbnailLink:S?.src,autoplay:H,lazy:B??!0,id:t??"",translatedVideoUrl:e?J:"",title:"Video",aspectRatio:W,poster:S,vimeoStyleIframe:tt})}case"html5":if(!U)return V({src:a,alt:"Fallback video",className:ti,style:to});return L({uid:E?.uid,muted:!P,loop:M,controls:O,autoplay:H,src:U,thumbnail:K,title:"Video",poster:S,lazy:B??!0,isVideoComponent:!0,style:te})}})()}
|
|
5
5
|
</div>
|
|
6
6
|
`};export{q as default};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -101,6 +101,19 @@ type SharedProps = {
|
|
|
101
101
|
};
|
|
102
102
|
type MixedProps$1 = Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'children' | 'width' | 'height' | 'as' | 'src' | 'srcSet'>;
|
|
103
103
|
type ImgProps = SharedProps & MixedProps$1;
|
|
104
|
+
type ImageSizeTarget = 'Image' | 'HeroBanner' | 'ImageComparison' | 'ProductFeatureImage' | 'GalleryList' | 'ArticleImage';
|
|
105
|
+
/** The sidebar "Quality" setting shared by Image, ImageComparison and ProductImages. */
|
|
106
|
+
type ImageQualityProps = {
|
|
107
|
+
qualityType?: ObjectDevices<QualityType$3 | string>;
|
|
108
|
+
qualityPercent?: ObjectDevices<number | string>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* `sizeTarget` picks the per-device `srcset` width table; Quality scales it
|
|
112
|
+
* (High 1, Medium 0.7, Custom percent/100, Finest = original file only).
|
|
113
|
+
*/
|
|
114
|
+
type ImageSizeProps = ImageQualityProps & {
|
|
115
|
+
sizeTarget?: ImageSizeTarget;
|
|
116
|
+
};
|
|
104
117
|
type ImageStyleProps$1 = {
|
|
105
118
|
shape?: ObjectDevices<SizeSettingGlobal>;
|
|
106
119
|
customAspectRadio?: ObjectDevices<Ratio>;
|
|
@@ -163,8 +176,8 @@ type ImageProps = BasePropsWrap<ImageSettingProps$1, ImageStyleProps$1> & {
|
|
|
163
176
|
onLoad?: React.ReactEventHandler<any>;
|
|
164
177
|
} & {
|
|
165
178
|
advanced?: any;
|
|
166
|
-
}
|
|
167
|
-
type ImageLiquidProps = ImageProps & {
|
|
179
|
+
} & Pick<ImageSizeProps, 'sizeTarget'>;
|
|
180
|
+
type ImageLiquidProps = ImageProps & Pick<ImageSizeProps, 'sizeTarget'> & {
|
|
168
181
|
pageContext?: PageContext;
|
|
169
182
|
};
|
|
170
183
|
|
|
@@ -3319,6 +3332,7 @@ declare const PostPurchaseProductPriceBreakdown: React.FC<PostPurchaseProductPri
|
|
|
3319
3332
|
type PostPurchaseProductQuantitySettingProps = {
|
|
3320
3333
|
title?: string;
|
|
3321
3334
|
defaultQtyValue?: number;
|
|
3335
|
+
updatePrice?: boolean;
|
|
3322
3336
|
};
|
|
3323
3337
|
type PostPurchaseProductQuantityStyleProps = {
|
|
3324
3338
|
fullWidth?: ObjectDevices<boolean>;
|
|
@@ -3495,13 +3509,13 @@ type PostPurchaseProductPriceProps = BasePropsWrap<PostPurchaseProductPriceSetti
|
|
|
3495
3509
|
children?: ReactNode;
|
|
3496
3510
|
};
|
|
3497
3511
|
|
|
3498
|
-
declare const PostPurchaseProductQuantity: React.FC<PostPurchaseProductQuantityProps>;
|
|
3512
|
+
declare const PostPurchaseProductQuantity: React$1.FC<PostPurchaseProductQuantityProps>;
|
|
3499
3513
|
|
|
3500
3514
|
declare const PostPurchaseProductImages: (props: PostPurchaseProductImagesProps) => React.JSX.Element;
|
|
3501
3515
|
|
|
3502
3516
|
declare const PostPurchaseProductTitle: React.FC<PostPurchaseProductTitleProps>;
|
|
3503
3517
|
|
|
3504
|
-
declare const PostPurchaseProductPrice: React.FC<PostPurchaseProductPriceProps>;
|
|
3518
|
+
declare const PostPurchaseProductPrice: React$1.FC<PostPurchaseProductPriceProps>;
|
|
3505
3519
|
|
|
3506
3520
|
declare const PostPurchaseAcceptButton: (props: PostPurchaseButtonProps) => React.JSX.Element;
|
|
3507
3521
|
|
|
@@ -3647,11 +3661,12 @@ type QualityType = 'finest' | 'high' | 'medium' | 'custom';
|
|
|
3647
3661
|
type ProductImagesLayout = 'bottom-left' | 'bottom-center' | 'left' | 'right' | 'only-feature' | 'one-col' | 'two-col' | 'inside-bottom' | 'inside-left' | 'inside-right';
|
|
3648
3662
|
|
|
3649
3663
|
type bundleItem = {
|
|
3650
|
-
quantity: number;
|
|
3664
|
+
quantity: string | number;
|
|
3651
3665
|
discountValue: string;
|
|
3652
3666
|
discountType: 'percentage' | 'fixed_amount' | 'no_discount';
|
|
3653
3667
|
};
|
|
3654
3668
|
|
|
3669
|
+
type BundleDiscountStatus = 'unresolved' | 'loading' | 'ready' | 'empty' | 'error' | 'ambiguous';
|
|
3655
3670
|
type ProductBundleDiscountSettingProps = {
|
|
3656
3671
|
applyToInBetweenQuantities?: boolean;
|
|
3657
3672
|
enableDisplayCondition?: boolean;
|
|
@@ -3666,6 +3681,7 @@ type ProductBundleDiscountSettingProps = {
|
|
|
3666
3681
|
iconSize?: ObjectDevices<number>;
|
|
3667
3682
|
iconSpacing?: Property.Padding;
|
|
3668
3683
|
bundleItems?: bundleItem[];
|
|
3684
|
+
bundleDiscountStatus?: BundleDiscountStatus;
|
|
3669
3685
|
useProductCompareAtPrice?: boolean;
|
|
3670
3686
|
iconItemColor?: ColorValueType;
|
|
3671
3687
|
enableHoverEffect?: boolean;
|
|
@@ -4186,6 +4202,7 @@ type ProductBadgeStyleProps = {
|
|
|
4186
4202
|
};
|
|
4187
4203
|
type ProductBadgeProps = BasePropsWrap<ProductBadgeSettingProps, ProductBadgeStyleProps> & {
|
|
4188
4204
|
isInsideProductImage?: boolean;
|
|
4205
|
+
isInsideImageList?: boolean;
|
|
4189
4206
|
navigationPosition?: ObjectDevices<'inside' | 'outside' | 'none'>;
|
|
4190
4207
|
children?: React.ReactNode;
|
|
4191
4208
|
imageData: {
|
|
@@ -6814,7 +6831,7 @@ declare const IconListHoz: (props: IconListHozProps) => string;
|
|
|
6814
6831
|
|
|
6815
6832
|
declare const IconListV2$1: (props: IconListProps) => string;
|
|
6816
6833
|
|
|
6817
|
-
declare const Image$1: ({ style, styles, setting, advanced, className, pageContext, builderAttrs, builderProps, }: ImageLiquidProps) => string;
|
|
6834
|
+
declare const Image$1: ({ style, styles, setting, advanced, className, sizeTarget, pageContext, builderAttrs, builderProps, }: ImageLiquidProps) => string;
|
|
6818
6835
|
|
|
6819
6836
|
declare const ImageComparison$1: ({ setting, styles, builderProps, advanced, pageContext, ...props }: ImageComparisonProps) => string;
|
|
6820
6837
|
|
|
@@ -8223,6 +8240,7 @@ declare const MAX_PROGRESS_BAR_HEIGHT = 20;
|
|
|
8223
8240
|
declare const CONTINUE_SELLING_WHEN_OUT_OF_STOCK = "CONTINUE";
|
|
8224
8241
|
declare const getLiquidTextContent: (data: Record<string, any>) => string;
|
|
8225
8242
|
declare const getLiquidInitData: (setting: StockCounterProps["setting"], styles: StockCounterProps["styles"]) => string;
|
|
8243
|
+
declare const getMainColor: (styles: StockCounterProps["styles"]) => _gem_sdk_core.ColorValueType;
|
|
8226
8244
|
declare const getTextDisplayData: (data: Record<string, any>, styles: StockCounterProps["styles"]) => string;
|
|
8227
8245
|
declare const getInlineCss: (uniqId?: string, borderRadius?: CornerRadius) => string | undefined;
|
|
8228
8246
|
declare const transformHighlighTag: (template: string, stringColor: string) => string;
|
|
@@ -8492,5 +8510,5 @@ declare namespace translate {
|
|
|
8492
8510
|
|
|
8493
8511
|
declare const TAGS_WITH_REPLACE_LINK_DATA: string[];
|
|
8494
8512
|
|
|
8495
|
-
export { Accordion$2 as Accordion, AccordionItem$1 as AccordionItem, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AliReviews$1 as AliReviews, AlsoBoughtCbb$1 as AlsoBoughtCbb, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleLoyaltyRewardProgram$1 as AppstleLoyaltyRewardProgram, AppstleSubscriptions$1 as AppstleSubscriptions, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$2 as ArticlePagination, ArticleReadMore$2 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BirdChime$1 as BirdChime, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, Bogos$1 as Bogos, BoldProductOptions$1 as BoldProductOptions, BoldSubscriptions$1 as BoldSubscriptions, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonySubscriptionsApp$1 as BonySubscriptionsApp, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, Button$3 as Button, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$2 as CSSCode, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, CarouselItem$3 as CarouselItemV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, CollectionBanner$1 as CollectionBanner, CollectionDescription$2 as CollectionDescription, CollectionPaginator$2 as CollectionPaginator, CollectionTitle$1 as CollectionTitle, CollectionToolbar$2 as CollectionToolbar, ContactForm$2 as ContactForm, Countdown$2 as Countdown, Coupon$2 as Coupon, CouponList, CrossSellCartUpsell$1 as CrossSellCartUpsell, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, DesktopMenu, Dialog$2 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DynamicCheckout$1 as DynamicCheckout, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasySell as EasySellCOD, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EssentPreorderBackInStock$1 as EssentPreorderBackInStock, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EstimateDate$2 as EstimateDate, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FeraReviews$1 as FeraReviews, FileUpload$2 as FileUpload, FirePush$1 as FirePush, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FordeerProductLabels$1 as FordeerProductLabels, FormCheckbox$1 as FormCheckbox, FormDropdown$2 as FormDropdown, FormEmail$2 as FormEmail, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, Growave$1 as Growave, GrowthSuiteDiscountCodes$1 as GrowthSuiteDiscountCodes, Header, Heading$2 as Heading, HeroBanner$2 as HeroBanner, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomFreeShippingBar$1 as HextomFreeShippingBar, HulkFormBuilder$1 as HulkFormBuilder, HulkProductOptions$1 as HulkProductOptions, Icon$1 as Icon, IconList$2 as IconList, IconListHoz$1 as IconListHoz, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, IconListV2$2 as IconListV2, Image$2 as Image, ImageComparison$2 as ImageComparison, InfiniteOptions$1 as InfiniteOptions, Input, Instafeed$1 as Instafeed, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, JudgemeReviews$1 as JudgemeReviews, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, KachingBundles$1 as KachingBundles, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, KingProductOptions$1 as KingProductOptions, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KlarnaMessaging$1 as KlarnaMessaging, Klaviyo$1 as Klaviyo, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, LaiProductReviews$1 as LaiProductReviews, Line$2 as Line, Link$1 as Link, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoopSubscriptions$1 as LoopSubscriptions, LooxReviews$1 as LooxReviews, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$5 as MarqueeItem, MaxbundleProductBundles$1 as MaxbundleProductBundles, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, Menu, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, NO_PRODUCT_LEFT, Newsletter$2 as Newsletter, Notify as Notice, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, OUT_OF_STOCK, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, Omnisend$1 as Omnisend, Opinew$1 as Opinew, Pagination, ParcelPanel$1 as ParcelPanel, PickyStory$1 as PickyStory, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, Button$2 as PostPurchaseButton, BuyerConsent as PostPurchaseBuyerConsent, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, Line$1 as PostPurchaseLine, Link as PostPurchaseLink, PostPurchaseProductDescription, PostPurchaseProductDiscountTag, PostPurchaseProductImages, PostPurchaseProductOffer, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductQuantity, ProductSubscription as PostPurchaseProductSubscription, PostPurchaseProductTitle, PostPurchaseProductVariants, Text$3 as PostPurchaseText, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowWodPresale$1 as PreorderNowWodPresale, Product$1 as Product, ProductBadge$2 as ProductBadge, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$2 as ProductButton, ProductDescription$2 as ProductDescription, ProductImages$4 as ProductImages, ProductImagesV2, ProductImagesV3, ProductList$2 as ProductList, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductPrice$1 as ProductPrice, ProductProperties$2 as ProductPropertyInput, ProductQuantity$1 as ProductQuantity, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductSku$1 as ProductSku, ProductTag$2 as ProductTag, ProductTitle$1 as ProductTitle, ProductVariants$1 as ProductVariants, ProductVendor$1 as ProductVendor, ProductViewMore$2 as ProductViewMore, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PushOwl$1 as PushOwl, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, REGEX_BARE_DOMAIN, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RechargeSubscriptions$1 as RechargeSubscriptions, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, Releasit$1 as Releasit, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, Rivyo$1 as Rivyo, Root$1 as Root, Row$2 as Row, Ryviu$1 as Ryviu, SealSubscriptions$1 as SealSubscriptions, Section$2 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, Select, Selleasy$1 as Selleasy, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, ShopPayButton$1 as ShopPayButton, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifySubscriptions$1 as ShopifySubscriptions, SimpleBundlesKits$1 as SimpleBundlesKits, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, Stamped$1 as Stamped, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, Sticky$2 as Sticky, StockCounter$2 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubmitButton$2 as SubmitButton, TAGS_WITH_REPLACE_LINK_DATA, TabItem$1 as TabItem, Tabs$2 as Tabs, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, Text$2 as Text, TextField$2 as TextField, TextInput$2 as TextInput, TextArea as Textarea, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustMe$1 as TrustMe, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, Trustoo$1 as Trustoo, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustshopProductReviews$1 as TrustshopProductReviews, UltimateSalesBoost$1 as UltimateSalesBoost, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, Video$2 as Video, Vitals$1 as Vitals, WcWishlistBackInStock$1 as WcWishlistBackInStock, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WideBundle$1 as WideBundle, Wiser$1 as Wiser, WishlistKing$1 as WishlistKing, WishlistPlus$1 as WishlistPlus, YotpoLoyalty, YotpoReviews$1 as YotpoReviews, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPage, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, createSettingId, createTranslateKey, dialogSetting, estimateDeliverySetting, extractProductID, filterPageContext, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getBackgroundTranslated, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getSeoTranslated, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, _default$3 as headlessComponents, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$4 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseBuyerConsentSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, translate as translateComponents, useNotification, videoSetting, youtubeShortsRegex };
|
|
8496
|
-
export type { AccordionItemProps, AccordionProps, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgcProps, AliReviewsProps, AlsoBoughtCbbProps, AovBundlesVolumeDiscountsProps, AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendarProps, AppstleBundlesDiscountsProps, AppstleLoyaltyRewardProgramProps, AppstleSubscriptionsProps, BestBuyFulfillmentProps, BfSizeChartSizeGuideProps, BirdChimeProps, BloyRewardsProgramLoyaltyProps, BogosProps, BoldProductOptionsProps, BoldSubscriptionsProps, BonLoyaltyRewardsReferralsProps, BonySubscriptionsAppProps, BoostAISearchDiscoveryProps, BundlerProps, ButtonProps, CSSCodeProps, CalloutBoxProps, CalloutTextProps, CarouselItemProps, CarouselItemProps$1 as CarouselItemPropsV3, CarouselProps, CarouselProps$1 as CarouselPropsV3, CarouselSettingProps, CarouselSettingProps$1 as CarouselSettingPropsV3, CarouselStyleProps, CarouselStyleProps$1 as CarouselStylePropsV3, CartProps, CleanSizeChartsProps, ColProps, CollectionBannerProps, CollectionDescriptionProps, CollectionPaginatorProps, CollectionTitleProps, CollectionToolbarProps, CountdownProps, CouponProps, CrossSellCartUpsellProps, CustomProductOptionsVariantProps, DataVideoType, DealeasyVolumeDiscountsProps, DiscountyBulkDiscountSalesProps, DynamicCheckoutProps, EasifyProductOptionsProps, EasyBundleBuilderSkailamaProps, EasySellCODProps, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlertProps, EssentPreorderBackInStockProps, EssentialAnnouncementBarProps, EssentialCountdownTimerBarProps, EstimateDateProps, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscountsProps, FeraReviewsProps, FileUploadProps, FirePushProps, FlyBundlesUpsellsFbtProps, FordeerProductLabelsProps, FormCheckboxProps, FormDropdownProps, FormEmailProps, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImageProps, GloboProductOptionsVariantProps, GoogleReviewsByReputonProps, GrowaveProps, GrowthSuiteDiscountCodesProps, HeaderProps, HeadingProps, HeroBannerProps, HextomCountdownTimerBarProps, HextomFreeShippingBarProps, HulkFormBuilderProps, HulkProductOptionsProps, IconListHozProps, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconProps, ImageComparisonItem, ImageProps, ImgProps, InfiniteOptionsProps, InputProps, InstafeedProps, InstasellShoppableInstagramProps, JudgemeReviewsProps, JunipProductReviewsUgcProps, KachingBundlesProps, KachingSubscriptionsAppProps, KingProductOptionsProps, KiteFreeGiftDiscountProps, KlarnaMessagingProps, KlaviyoProps, KoalaBundleQuantityDiscountProps, LaiProductReviewsProps, LineProps, LinkProps, LoloyalLoyaltyReferralsProps, LoopSubscriptionsProps, LooxReviewsProps, MarqueeItemProps, MarqueeProps, MaxbundleProductBundlesProps, MbcBundleVolumeDiscountProps, MenuProps, MyappgurusProductReviewsProps, NewsletterProps, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrderProps, ObjectFit$2 as ObjectFit, OkendoReviewsLoyaltyProps, OmnisendProps, OpinewProps, PaginationProps, ParcelPanelProps, PickyStoryProps, PostPurchaseAdvancedListProps, PostPurchaseButtonProps, PostPurchaseBuyerConsentProps, PostPurchaseCountdownTimerProps, PostPurchaseImageProps, PostPurchaseLineProps, PostPurchaseLinkProps, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTagProps, PostPurchaseProductImagesProps, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantityProps, PostPurchaseProductSubscriptionProps, PostPurchaseProductTitleProps, PostPurchaseProductVariantsProps, PostPurchaseTextProps, PowerfulContactFormBuilderProps, PreorderNowPreOrderPqProps, PreorderNowWodPresaleProps, ProductBadgeProps, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButtonProps, ProductDescriptionProps, ProductImagesProps, ProductListProps, ProductListProps$1 as ProductListPropsV3, ProductOptionsCustomizerProps, ProductOptionsVariantOptionProps, ProductPriceProps, ProductPropertiesProps, ProductProps, ProductQuantityProps, ProductReviewsProps, ProductTagProps, ProductTitleProps, ProductVariantsProps, ProductViewMoreProps, PumperBundlesVolumeDiscountProps, PushOwlProps, QikifyUpsellProps, RapiBundleQuantityBreaksProps, RechargeSubscriptionsProps, RecurpaySubscriptionAppProps, ReleasitProps, RequestQuoteHidePriceProps, ReviewxpoProductReviewsAppProps, RivyoProps, RootProps$2 as RootProps, RowProps, RyviuProps, SealSubscriptionsProps, SegunoEmailMarketingProps, SelleasyProps, SeoantTrustBadgesIconProps, ShopPayButtonProps, ShopifyFormsProps, ShopifySubscriptionsProps, SimpleBundlesKitsProps, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSalesProps, StampedProps, StellarDeliveryDatePickupProps, SubifySubscriptionsAppProps, SubmitButtonProps, TabItemProps, TabsProps, TagembedSocialPostReviewProps, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizerProps, TextAreaProps, TextFieldProps, TextInputProps, TextProps, TextareaProps, TrustBadgesBearProps, TrustMeProps, TrustedsiteTrustBadgesProps, TrustooProps, TrustreviewsProductReviewsProps, TrustshopProductReviewsProps, UltimateSalesBoostProps, UnlimitedBundlesDiscountsProps, UppromoteAffiliateMarketingProps, VendorProps, VitalsProps, WcWishlistBackInStockProps, WhatmoreShoppableVideosreelProps, WideBundleProps, WiserProps, WishlistKingProps, WishlistPlusProps, YotpoLoyaltyProps, YotpoReviewsProps };
|
|
8513
|
+
export { Accordion$2 as Accordion, AccordionItem$1 as AccordionItem, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AliReviews$1 as AliReviews, AlsoBoughtCbb$1 as AlsoBoughtCbb, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleLoyaltyRewardProgram$1 as AppstleLoyaltyRewardProgram, AppstleSubscriptions$1 as AppstleSubscriptions, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$2 as ArticlePagination, ArticleReadMore$2 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BirdChime$1 as BirdChime, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, Bogos$1 as Bogos, BoldProductOptions$1 as BoldProductOptions, BoldSubscriptions$1 as BoldSubscriptions, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonySubscriptionsApp$1 as BonySubscriptionsApp, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, Button$3 as Button, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$2 as CSSCode, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, CarouselItem$3 as CarouselItemV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, CollectionBanner$1 as CollectionBanner, CollectionDescription$2 as CollectionDescription, CollectionPaginator$2 as CollectionPaginator, CollectionTitle$1 as CollectionTitle, CollectionToolbar$2 as CollectionToolbar, ContactForm$2 as ContactForm, Countdown$2 as Countdown, Coupon$2 as Coupon, CouponList, CrossSellCartUpsell$1 as CrossSellCartUpsell, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, DesktopMenu, Dialog$2 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DynamicCheckout$1 as DynamicCheckout, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasySell as EasySellCOD, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EssentPreorderBackInStock$1 as EssentPreorderBackInStock, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EstimateDate$2 as EstimateDate, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FeraReviews$1 as FeraReviews, FileUpload$2 as FileUpload, FirePush$1 as FirePush, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FordeerProductLabels$1 as FordeerProductLabels, FormCheckbox$1 as FormCheckbox, FormDropdown$2 as FormDropdown, FormEmail$2 as FormEmail, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, Growave$1 as Growave, GrowthSuiteDiscountCodes$1 as GrowthSuiteDiscountCodes, Header, Heading$2 as Heading, HeroBanner$2 as HeroBanner, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomFreeShippingBar$1 as HextomFreeShippingBar, HulkFormBuilder$1 as HulkFormBuilder, HulkProductOptions$1 as HulkProductOptions, Icon$1 as Icon, IconList$2 as IconList, IconListHoz$1 as IconListHoz, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, IconListV2$2 as IconListV2, Image$2 as Image, ImageComparison$2 as ImageComparison, InfiniteOptions$1 as InfiniteOptions, Input, Instafeed$1 as Instafeed, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, JudgemeReviews$1 as JudgemeReviews, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, KachingBundles$1 as KachingBundles, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, KingProductOptions$1 as KingProductOptions, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KlarnaMessaging$1 as KlarnaMessaging, Klaviyo$1 as Klaviyo, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, LaiProductReviews$1 as LaiProductReviews, Line$2 as Line, Link$1 as Link, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoopSubscriptions$1 as LoopSubscriptions, LooxReviews$1 as LooxReviews, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$5 as MarqueeItem, MaxbundleProductBundles$1 as MaxbundleProductBundles, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, Menu, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, NO_PRODUCT_LEFT, Newsletter$2 as Newsletter, Notify as Notice, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, OUT_OF_STOCK, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, Omnisend$1 as Omnisend, Opinew$1 as Opinew, Pagination, ParcelPanel$1 as ParcelPanel, PickyStory$1 as PickyStory, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, Button$2 as PostPurchaseButton, BuyerConsent as PostPurchaseBuyerConsent, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, Line$1 as PostPurchaseLine, Link as PostPurchaseLink, PostPurchaseProductDescription, PostPurchaseProductDiscountTag, PostPurchaseProductImages, PostPurchaseProductOffer, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductQuantity, ProductSubscription as PostPurchaseProductSubscription, PostPurchaseProductTitle, PostPurchaseProductVariants, Text$3 as PostPurchaseText, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowWodPresale$1 as PreorderNowWodPresale, Product$1 as Product, ProductBadge$2 as ProductBadge, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$2 as ProductButton, ProductDescription$2 as ProductDescription, ProductImages$4 as ProductImages, ProductImagesV2, ProductImagesV3, ProductList$2 as ProductList, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductPrice$1 as ProductPrice, ProductProperties$2 as ProductPropertyInput, ProductQuantity$1 as ProductQuantity, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductSku$1 as ProductSku, ProductTag$2 as ProductTag, ProductTitle$1 as ProductTitle, ProductVariants$1 as ProductVariants, ProductVendor$1 as ProductVendor, ProductViewMore$2 as ProductViewMore, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PushOwl$1 as PushOwl, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, REGEX_BARE_DOMAIN, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RechargeSubscriptions$1 as RechargeSubscriptions, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, Releasit$1 as Releasit, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, Rivyo$1 as Rivyo, Root$1 as Root, Row$2 as Row, Ryviu$1 as Ryviu, SealSubscriptions$1 as SealSubscriptions, Section$2 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, Select, Selleasy$1 as Selleasy, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, ShopPayButton$1 as ShopPayButton, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifySubscriptions$1 as ShopifySubscriptions, SimpleBundlesKits$1 as SimpleBundlesKits, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, Stamped$1 as Stamped, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, Sticky$2 as Sticky, StockCounter$2 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubmitButton$2 as SubmitButton, TAGS_WITH_REPLACE_LINK_DATA, TabItem$1 as TabItem, Tabs$2 as Tabs, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, Text$2 as Text, TextField$2 as TextField, TextInput$2 as TextInput, TextArea as Textarea, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustMe$1 as TrustMe, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, Trustoo$1 as Trustoo, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustshopProductReviews$1 as TrustshopProductReviews, UltimateSalesBoost$1 as UltimateSalesBoost, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, Video$2 as Video, Vitals$1 as Vitals, WcWishlistBackInStock$1 as WcWishlistBackInStock, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WideBundle$1 as WideBundle, Wiser$1 as Wiser, WishlistKing$1 as WishlistKing, WishlistPlus$1 as WishlistPlus, YotpoLoyalty, YotpoReviews$1 as YotpoReviews, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPage, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, createSettingId, createTranslateKey, dialogSetting, estimateDeliverySetting, extractProductID, filterPageContext, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getBackgroundTranslated, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getMainColor, getSeoTranslated, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, _default$3 as headlessComponents, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$4 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseBuyerConsentSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, translate as translateComponents, useNotification, videoSetting, youtubeShortsRegex };
|
|
8514
|
+
export type { AccordionItemProps, AccordionProps, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgcProps, AliReviewsProps, AlsoBoughtCbbProps, AovBundlesVolumeDiscountsProps, AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendarProps, AppstleBundlesDiscountsProps, AppstleLoyaltyRewardProgramProps, AppstleSubscriptionsProps, BestBuyFulfillmentProps, BfSizeChartSizeGuideProps, BirdChimeProps, BloyRewardsProgramLoyaltyProps, BogosProps, BoldProductOptionsProps, BoldSubscriptionsProps, BonLoyaltyRewardsReferralsProps, BonySubscriptionsAppProps, BoostAISearchDiscoveryProps, BundleDiscountStatus, BundlerProps, ButtonProps, CSSCodeProps, CalloutBoxProps, CalloutTextProps, CarouselItemProps, CarouselItemProps$1 as CarouselItemPropsV3, CarouselProps, CarouselProps$1 as CarouselPropsV3, CarouselSettingProps, CarouselSettingProps$1 as CarouselSettingPropsV3, CarouselStyleProps, CarouselStyleProps$1 as CarouselStylePropsV3, CartProps, CleanSizeChartsProps, ColProps, CollectionBannerProps, CollectionDescriptionProps, CollectionPaginatorProps, CollectionTitleProps, CollectionToolbarProps, CountdownProps, CouponProps, CrossSellCartUpsellProps, CustomProductOptionsVariantProps, DataVideoType, DealeasyVolumeDiscountsProps, DiscountyBulkDiscountSalesProps, DynamicCheckoutProps, EasifyProductOptionsProps, EasyBundleBuilderSkailamaProps, EasySellCODProps, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlertProps, EssentPreorderBackInStockProps, EssentialAnnouncementBarProps, EssentialCountdownTimerBarProps, EstimateDateProps, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscountsProps, FeraReviewsProps, FileUploadProps, FirePushProps, FlyBundlesUpsellsFbtProps, FordeerProductLabelsProps, FormCheckboxProps, FormDropdownProps, FormEmailProps, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImageProps, GloboProductOptionsVariantProps, GoogleReviewsByReputonProps, GrowaveProps, GrowthSuiteDiscountCodesProps, HeaderProps, HeadingProps, HeroBannerProps, HextomCountdownTimerBarProps, HextomFreeShippingBarProps, HulkFormBuilderProps, HulkProductOptionsProps, IconListHozProps, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconProps, ImageComparisonItem, ImageProps, ImgProps, InfiniteOptionsProps, InputProps, InstafeedProps, InstasellShoppableInstagramProps, JudgemeReviewsProps, JunipProductReviewsUgcProps, KachingBundlesProps, KachingSubscriptionsAppProps, KingProductOptionsProps, KiteFreeGiftDiscountProps, KlarnaMessagingProps, KlaviyoProps, KoalaBundleQuantityDiscountProps, LaiProductReviewsProps, LineProps, LinkProps, LoloyalLoyaltyReferralsProps, LoopSubscriptionsProps, LooxReviewsProps, MarqueeItemProps, MarqueeProps, MaxbundleProductBundlesProps, MbcBundleVolumeDiscountProps, MenuProps, MyappgurusProductReviewsProps, NewsletterProps, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrderProps, ObjectFit$2 as ObjectFit, OkendoReviewsLoyaltyProps, OmnisendProps, OpinewProps, PaginationProps, ParcelPanelProps, PickyStoryProps, PostPurchaseAdvancedListProps, PostPurchaseButtonProps, PostPurchaseBuyerConsentProps, PostPurchaseCountdownTimerProps, PostPurchaseImageProps, PostPurchaseLineProps, PostPurchaseLinkProps, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTagProps, PostPurchaseProductImagesProps, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantityProps, PostPurchaseProductSubscriptionProps, PostPurchaseProductTitleProps, PostPurchaseProductVariantsProps, PostPurchaseTextProps, PowerfulContactFormBuilderProps, PreorderNowPreOrderPqProps, PreorderNowWodPresaleProps, ProductBadgeProps, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButtonProps, ProductDescriptionProps, ProductImagesProps, ProductListProps, ProductListProps$1 as ProductListPropsV3, ProductOptionsCustomizerProps, ProductOptionsVariantOptionProps, ProductPriceProps, ProductPropertiesProps, ProductProps, ProductQuantityProps, ProductReviewsProps, ProductTagProps, ProductTitleProps, ProductVariantsProps, ProductViewMoreProps, PumperBundlesVolumeDiscountProps, PushOwlProps, QikifyUpsellProps, RapiBundleQuantityBreaksProps, RechargeSubscriptionsProps, RecurpaySubscriptionAppProps, ReleasitProps, RequestQuoteHidePriceProps, ReviewxpoProductReviewsAppProps, RivyoProps, RootProps$2 as RootProps, RowProps, RyviuProps, SealSubscriptionsProps, SegunoEmailMarketingProps, SelleasyProps, SeoantTrustBadgesIconProps, ShopPayButtonProps, ShopifyFormsProps, ShopifySubscriptionsProps, SimpleBundlesKitsProps, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSalesProps, StampedProps, StellarDeliveryDatePickupProps, SubifySubscriptionsAppProps, SubmitButtonProps, TabItemProps, TabsProps, TagembedSocialPostReviewProps, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizerProps, TextAreaProps, TextFieldProps, TextInputProps, TextProps, TextareaProps, TrustBadgesBearProps, TrustMeProps, TrustedsiteTrustBadgesProps, TrustooProps, TrustreviewsProductReviewsProps, TrustshopProductReviewsProps, UltimateSalesBoostProps, UnlimitedBundlesDiscountsProps, UppromoteAffiliateMarketingProps, VendorProps, VitalsProps, WcWishlistBackInStockProps, WhatmoreShoppableVideosreelProps, WideBundleProps, WiserProps, WishlistKingProps, WishlistPlusProps, YotpoLoyaltyProps, YotpoReviewsProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-dev.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -12,16 +12,18 @@
|
|
|
12
12
|
"prebuild": "yarn cleanup",
|
|
13
13
|
"build": "rollup -c ./scripts/rollup.config.mjs --environment NODE_ENV:production",
|
|
14
14
|
"cleanup": "rimraf es dist lib",
|
|
15
|
-
"format": "
|
|
15
|
+
"format": "oxfmt \"./src/**/*.{ts,tsx}\"",
|
|
16
16
|
"generate-tailwind": "node ./scripts/generateTailwind.js",
|
|
17
17
|
"i18n:extract": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/translate/extract-texts-to-locales.js && node ./scripts/translate/en-keys-usage.js",
|
|
18
18
|
"lint": "oxlint --format=stylish ./src",
|
|
19
19
|
"post:publish": "node ./scripts/convert-publish.js",
|
|
20
20
|
"pre:publish": "node ./scripts/convert-publish.js -p",
|
|
21
21
|
"relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/element-relationship/index.js",
|
|
22
|
-
"test": "jest -c ./../../helpers/jest.config.ts",
|
|
22
|
+
"test": "jest -c ./../../helpers/jest.config.ts && yarn test:data",
|
|
23
|
+
"test:data": "NODE_OPTIONS=--experimental-vm-modules GP_BASE_ASSET_URL=https://assets.gemcommerce.xyz jest -c ./../../helpers/jest.config.ts --testPathPatterns data.liquid.test",
|
|
24
|
+
"test:data:update": "yarn test:data -u",
|
|
23
25
|
"test:watch": "jest -c ./../../helpers/jest.config.ts --watch",
|
|
24
|
-
"type-check": "
|
|
26
|
+
"type-check": "tsc --noEmit",
|
|
25
27
|
"update-img-src-3rd": "node ./scripts/update-img-src-3rd.js",
|
|
26
28
|
"watch": "rollup -c ./scripts/rollup.config.mjs -w"
|
|
27
29
|
},
|
|
@@ -32,9 +34,10 @@
|
|
|
32
34
|
"react-youtube": "10.1.0"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"@gem-sdk/core": "
|
|
36
|
-
"@gem-sdk/styles": "
|
|
37
|
-
"@gem-sdk/system": "
|
|
37
|
+
"@gem-sdk/core": "24.0.0-staging.2",
|
|
38
|
+
"@gem-sdk/styles": "24.0.0-staging.2",
|
|
39
|
+
"@gem-sdk/system": "24.0.0-staging.0",
|
|
40
|
+
"@shopify/prettier-plugin-liquid": "^1.10.3",
|
|
38
41
|
"@thedutchcoder/postcss-rem-to-px": "0.0.2",
|
|
39
42
|
"@types/react-transition-group": "^4.4.12",
|
|
40
43
|
"autoprefixer": "10.4.23",
|
|
@@ -45,7 +48,7 @@
|
|
|
45
48
|
"postcss-prefixwrap": "1.57.2"
|
|
46
49
|
},
|
|
47
50
|
"peerDependencies": {
|
|
48
|
-
"next": "
|
|
51
|
+
"next": "16.4.2"
|
|
49
52
|
},
|
|
50
53
|
"module": "dist/esm/index.js",
|
|
51
54
|
"exports": {
|