@gem-sdk/components 2.0.0-dev.621 → 2.0.0-dev.623
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/setting/configs/ArticleAuthor/uiV2.js +1 -0
- package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +0 -1
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
- package/dist/cjs/banner/setting/presets/heroBanner1Col.js +1 -1
- package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -4
- package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -5
- package/dist/cjs/banner/setting/presets/heroBannerVideo.js +10 -0
- package/dist/cjs/banner/setting/setting.js +9 -6
- package/dist/cjs/banner/setting/uiV2.js +34 -10
- package/dist/cjs/builder.js +12 -6
- package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
- package/dist/cjs/collection/components/collection-paginator/common/index.js +1 -2
- package/dist/cjs/collection/components/collection-paginator/common/styles.js +2 -2
- package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
- package/dist/cjs/collection/setting/collection-banner/configs/uiV2.js +2 -2
- package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +8 -5
- package/dist/cjs/collection/setting/collection-paginator/configs/uiV2.js +28 -3
- package/dist/cjs/index.js +34 -32
- package/dist/cjs/index.liquid.js +16 -10
- package/dist/cjs/next.js +3 -1
- package/dist/cjs/product/components/ProductImagesV3/common/common.js +360 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +192 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +26 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +94 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +303 -0
- package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +95 -0
- package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +59 -0
- package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +266 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +63 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +36 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +109 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +139 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +100 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +77 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +300 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +44 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +83 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +182 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +30 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +239 -0
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +28 -0
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +144 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +14 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +54 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +53 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +55 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +41 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +134 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +203 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +87 -0
- package/dist/cjs/product/components/ProductImagesV3/index.js +291 -0
- package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +153 -0
- package/dist/cjs/product/index.js +6 -4
- package/dist/cjs/product/next.js +4 -0
- package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +252 -0
- package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +251 -0
- package/dist/cjs/product/setting/product-image-v3/ProductImages.js +74 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +388 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +518 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +336 -0
- package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +118 -0
- package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +119 -0
- package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +237 -0
- package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +491 -0
- package/dist/cjs/setting.js +97 -95
- package/dist/cjs/swiper-carousel/arrow/Arrow.js +52 -0
- package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +46 -0
- package/dist/cjs/swiper-carousel/arrow/common/common.js +119 -0
- package/dist/cjs/swiper-carousel/arrow/common/getClass.js +50 -0
- package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +84 -0
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +34 -0
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +38 -0
- package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +29 -0
- package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +79 -0
- package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +22 -0
- package/dist/cjs/swiper-carousel/components/common/carousel.js +98 -0
- package/dist/cjs/swiper-carousel/components/const/index.js +5 -0
- package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +34 -0
- package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +42 -0
- package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +105 -0
- package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +15 -0
- package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +45 -0
- package/dist/cjs/swiper-carousel/dots/Dots.js +51 -0
- package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +26 -0
- package/dist/cjs/swiper-carousel/dots/common/common.js +28 -0
- package/dist/cjs/swiper-carousel/dots/common/getClass.js +40 -0
- package/dist/cjs/swiper-carousel/dots/common/getStyle.js +33 -0
- package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +21 -0
- package/dist/cjs/swiper-carousel/index.js +17 -0
- package/dist/cjs/swiper-carousel/next.js +22 -0
- package/dist/cjs/swiper-carousel/root/Swiper.js +128 -0
- package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +104 -0
- package/dist/cjs/swiper-carousel/root/common/getAttr.js +25 -0
- package/dist/cjs/swiper-carousel/root/common/getClass.js +135 -0
- package/dist/cjs/swiper-carousel/root/common/getData.js +56 -0
- package/dist/cjs/swiper-carousel/root/common/getStyle.js +64 -0
- package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +482 -0
- package/dist/cjs/swiper-carousel/setting/Swiper.js +42 -0
- package/dist/cjs/swiper-carousel/setting/SwiperItem.js +40 -0
- package/dist/cjs/swiper-carousel/setting/configs/presets.js +87 -0
- package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +819 -0
- package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +718 -0
- package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +1 -0
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +0 -1
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
- package/dist/esm/banner/setting/presets/heroBanner1Col.js +1 -1
- package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -4
- package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -5
- package/dist/esm/banner/setting/presets/heroBannerVideo.js +10 -0
- package/dist/esm/banner/setting/setting.js +9 -6
- package/dist/esm/banner/setting/uiV2.js +34 -10
- package/dist/esm/builder.js +6 -0
- package/dist/esm/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
- package/dist/esm/collection/components/collection-paginator/common/index.js +1 -2
- package/dist/esm/collection/components/collection-paginator/common/styles.js +2 -2
- package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
- package/dist/esm/collection/setting/collection-banner/configs/uiV2.js +2 -2
- package/dist/esm/collection/setting/collection-paginator/configs/settings.js +8 -5
- package/dist/esm/collection/setting/collection-paginator/configs/uiV2.js +28 -3
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.liquid.js +3 -0
- package/dist/esm/next.js +3 -1
- package/dist/esm/product/components/ProductImagesV3/common/common.js +344 -0
- package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +189 -0
- package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +24 -0
- package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +83 -0
- package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +292 -0
- package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +92 -0
- package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +53 -0
- package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +251 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +59 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +32 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +105 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +135 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +96 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +73 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +296 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +40 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +79 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +178 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +26 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +235 -0
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +24 -0
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +140 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +12 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +52 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +51 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +53 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +39 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +132 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +201 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +85 -0
- package/dist/esm/product/components/ProductImagesV3/index.js +287 -0
- package/dist/esm/product/components/ProductImagesV3/index.liquid.js +149 -0
- package/dist/esm/product/index.js +26 -24
- package/dist/esm/product/next.js +4 -0
- package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +248 -0
- package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +248 -0
- package/dist/esm/product/setting/product-image-v3/ProductImages.js +70 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +384 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +515 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +334 -0
- package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +116 -0
- package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +117 -0
- package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +235 -0
- package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +489 -0
- package/dist/esm/setting.js +2 -0
- package/dist/esm/swiper-carousel/arrow/Arrow.js +48 -0
- package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +42 -0
- package/dist/esm/swiper-carousel/arrow/common/common.js +111 -0
- package/dist/esm/swiper-carousel/arrow/common/getClass.js +48 -0
- package/dist/esm/swiper-carousel/arrow/common/getStyle.js +82 -0
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +30 -0
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +34 -0
- package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +27 -0
- package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +77 -0
- package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +20 -0
- package/dist/esm/swiper-carousel/components/common/carousel.js +93 -0
- package/dist/esm/swiper-carousel/components/const/index.js +3 -0
- package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +30 -0
- package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +35 -0
- package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +103 -0
- package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +13 -0
- package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +43 -0
- package/dist/esm/swiper-carousel/dots/Dots.js +47 -0
- package/dist/esm/swiper-carousel/dots/Dots.liquid.js +22 -0
- package/dist/esm/swiper-carousel/dots/common/common.js +26 -0
- package/dist/esm/swiper-carousel/dots/common/getClass.js +38 -0
- package/dist/esm/swiper-carousel/dots/common/getStyle.js +31 -0
- package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +19 -0
- package/dist/esm/swiper-carousel/index.js +15 -0
- package/dist/esm/swiper-carousel/next.js +18 -0
- package/dist/esm/swiper-carousel/root/Swiper.js +124 -0
- package/dist/esm/swiper-carousel/root/Swiper.liquid.js +100 -0
- package/dist/esm/swiper-carousel/root/common/getAttr.js +23 -0
- package/dist/esm/swiper-carousel/root/common/getClass.js +133 -0
- package/dist/esm/swiper-carousel/root/common/getData.js +54 -0
- package/dist/esm/swiper-carousel/root/common/getStyle.js +62 -0
- package/dist/esm/swiper-carousel/root/hook/useCarousel.js +480 -0
- package/dist/esm/swiper-carousel/setting/Swiper.js +38 -0
- package/dist/esm/swiper-carousel/setting/SwiperItem.js +36 -0
- package/dist/esm/swiper-carousel/setting/configs/presets.js +85 -0
- package/dist/esm/swiper-carousel/setting/configs/settingV2.js +815 -0
- package/dist/esm/swiper-carousel/setting/configs/uiV2.js +713 -0
- package/dist/types/index.d.ts +552 -117
- package/package.json +3 -3
|
@@ -49,15 +49,13 @@ const heroBannerContentLeft = {
|
|
|
49
49
|
sizeSetting: {
|
|
50
50
|
desktop: {
|
|
51
51
|
shape: 'original',
|
|
52
|
-
|
|
53
|
-
width: '100%',
|
|
54
|
-
height: '600px'
|
|
52
|
+
width: '100%'
|
|
55
53
|
},
|
|
56
54
|
mobile: {
|
|
57
55
|
shape: 'custom',
|
|
58
56
|
widthHeightLinked: false,
|
|
59
57
|
width: '100%',
|
|
60
|
-
height: '
|
|
58
|
+
height: 'fit-content'
|
|
61
59
|
}
|
|
62
60
|
}
|
|
63
61
|
},
|
|
@@ -58,13 +58,10 @@ const heroBannerContentRight = {
|
|
|
58
58
|
sizeSetting: {
|
|
59
59
|
desktop: {
|
|
60
60
|
shape: 'original',
|
|
61
|
-
|
|
62
|
-
width: '100%',
|
|
63
|
-
height: '600px'
|
|
61
|
+
width: '100%'
|
|
64
62
|
},
|
|
65
63
|
mobile: {
|
|
66
|
-
shape: '
|
|
67
|
-
widthHeightLinked: true,
|
|
64
|
+
shape: 'custom',
|
|
68
65
|
width: '100%'
|
|
69
66
|
}
|
|
70
67
|
}
|
|
@@ -37,6 +37,16 @@ const heroBannerVideo = {
|
|
|
37
37
|
contentWidth: {
|
|
38
38
|
desktop: '1200px'
|
|
39
39
|
},
|
|
40
|
+
sizeSetting: {
|
|
41
|
+
desktop: {
|
|
42
|
+
shape: 'original',
|
|
43
|
+
width: '100%'
|
|
44
|
+
},
|
|
45
|
+
mobile: {
|
|
46
|
+
shape: 'original',
|
|
47
|
+
width: '100%'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
40
50
|
background: {
|
|
41
51
|
desktop: {
|
|
42
52
|
type: 'video',
|
|
@@ -272,16 +272,20 @@ const SettingsV2 = [
|
|
|
272
272
|
id: 'alt',
|
|
273
273
|
label: 'Alt Text',
|
|
274
274
|
type: 'textarea',
|
|
275
|
-
minHeight:
|
|
275
|
+
minHeight: 56,
|
|
276
276
|
autoHeight: true,
|
|
277
|
-
placeholder: 'E.g: Classic white crewneck t-shirt with minimalist design'
|
|
277
|
+
placeholder: 'E.g: Classic white crewneck t-shirt with minimalist design',
|
|
278
|
+
default: undefined
|
|
278
279
|
},
|
|
279
280
|
{
|
|
280
281
|
id: 'title',
|
|
281
282
|
label: 'Image title',
|
|
282
|
-
info: '
|
|
283
|
-
type: '
|
|
284
|
-
|
|
283
|
+
info: 'Show title when hover to image',
|
|
284
|
+
type: 'textarea',
|
|
285
|
+
minHeight: 56,
|
|
286
|
+
autoHeight: true,
|
|
287
|
+
placeholder: 'E.g: White t-shirt',
|
|
288
|
+
default: undefined
|
|
285
289
|
}
|
|
286
290
|
]
|
|
287
291
|
},
|
|
@@ -385,7 +389,6 @@ const SettingsV2 = [
|
|
|
385
389
|
mobile: {
|
|
386
390
|
default: {
|
|
387
391
|
shape: 'custom',
|
|
388
|
-
height: '500px',
|
|
389
392
|
width: '100%'
|
|
390
393
|
}
|
|
391
394
|
}
|
|
@@ -400,22 +400,46 @@ const SettingUIV2 = [
|
|
|
400
400
|
},
|
|
401
401
|
controls: [
|
|
402
402
|
{
|
|
403
|
-
type: '
|
|
404
|
-
setting: {
|
|
405
|
-
id: 'alt'
|
|
406
|
-
},
|
|
403
|
+
type: 'combo',
|
|
407
404
|
label: {
|
|
408
405
|
en: 'Alt text'
|
|
409
|
-
}
|
|
406
|
+
},
|
|
407
|
+
iconName: 'polaris-text-block',
|
|
408
|
+
getValueFromSettingID: 'alt',
|
|
409
|
+
compoDefaultValue: 'Describes the appearance of the image',
|
|
410
|
+
isHideClear: true,
|
|
411
|
+
controls: [
|
|
412
|
+
{
|
|
413
|
+
label: {
|
|
414
|
+
en: 'Content'
|
|
415
|
+
},
|
|
416
|
+
setting: {
|
|
417
|
+
id: 'alt'
|
|
418
|
+
},
|
|
419
|
+
layout: 'vertical'
|
|
420
|
+
}
|
|
421
|
+
]
|
|
410
422
|
},
|
|
411
423
|
{
|
|
412
|
-
type: '
|
|
413
|
-
setting: {
|
|
414
|
-
id: 'title'
|
|
415
|
-
},
|
|
424
|
+
type: 'combo',
|
|
416
425
|
label: {
|
|
417
426
|
en: 'Image title'
|
|
418
|
-
}
|
|
427
|
+
},
|
|
428
|
+
iconName: 'polaris-text-block',
|
|
429
|
+
getValueFromSettingID: 'title',
|
|
430
|
+
compoDefaultValue: 'Title',
|
|
431
|
+
isHideClear: true,
|
|
432
|
+
controls: [
|
|
433
|
+
{
|
|
434
|
+
label: {
|
|
435
|
+
en: 'Content'
|
|
436
|
+
},
|
|
437
|
+
setting: {
|
|
438
|
+
id: 'title'
|
|
439
|
+
},
|
|
440
|
+
layout: 'vertical'
|
|
441
|
+
}
|
|
442
|
+
]
|
|
419
443
|
}
|
|
420
444
|
]
|
|
421
445
|
},
|
package/dist/esm/builder.js
CHANGED
|
@@ -18,6 +18,8 @@ import Breadcrumb from './breadcrumb/components/Breadcrumb.js';
|
|
|
18
18
|
import Button from './button/components/Button.js';
|
|
19
19
|
import Carousel from './carousel/root/Carousel.js';
|
|
20
20
|
import CarouselItem from './carousel/carousel-item/CarouselItem.js';
|
|
21
|
+
import Carousel$1 from './swiper-carousel/root/Swiper.js';
|
|
22
|
+
import CarouselItem$1 from './swiper-carousel/carousel-item/SwiperItem.js';
|
|
21
23
|
import Cart from './cart/components/Cart.js';
|
|
22
24
|
import CartList from './cart/components/CartList.js';
|
|
23
25
|
import CartLinePrice from './cart/components/CartLinePrice.js';
|
|
@@ -227,6 +229,7 @@ import ProductButton from './product/components/ProductButton/ProductButton.js';
|
|
|
227
229
|
import ProductVariants from './product/components/ProductVariants/index.js';
|
|
228
230
|
import ProductImages from './product/components/ProductImages.js';
|
|
229
231
|
import ProductImagesV2 from './product/components/ProductImagesV2/index.js';
|
|
232
|
+
import ProductImagesV3 from './product/components/ProductImagesV3/index.js';
|
|
230
233
|
import ProductProperties from './product/components/ProductProperties/ProductProperties.js';
|
|
231
234
|
import QuickView from './product/components/ProductQuickView/index.js';
|
|
232
235
|
import ProductTag from './product/components/ProductDiscountTag/index.js';
|
|
@@ -278,6 +281,8 @@ var builder = {
|
|
|
278
281
|
Button,
|
|
279
282
|
Carousel,
|
|
280
283
|
CarouselItem,
|
|
284
|
+
SwiperCarousel: Carousel$1,
|
|
285
|
+
SwiperCarouselItem: CarouselItem$1,
|
|
281
286
|
Cart,
|
|
282
287
|
CartList,
|
|
283
288
|
CartLinePrice,
|
|
@@ -433,6 +438,7 @@ var builder = {
|
|
|
433
438
|
ProductVariants,
|
|
434
439
|
ProductImages,
|
|
435
440
|
ProductImagesV2,
|
|
441
|
+
ProductImagesV3,
|
|
436
442
|
ProductProperties,
|
|
437
443
|
ProductQuickView: QuickView,
|
|
438
444
|
ProductTag,
|
package/dist/esm/collection/components/collection-banner/components/CollectionBanner.liquid.js
CHANGED
|
@@ -59,7 +59,7 @@ const CollectionBanner = ({ builderAttrs, builderProps, setting, style, children
|
|
|
59
59
|
style="${styleContainerBackgoundImage}"
|
|
60
60
|
>
|
|
61
61
|
</div>
|
|
62
|
-
<div aria-label="Overlay" role="banner" class="${classOverlayBanner}" style="${styleOverlay}"
|
|
62
|
+
<div aria-label="Overlay" role="banner" class="${classOverlayBanner}" style="${styleOverlay}"> </div>
|
|
63
63
|
${RenderIf(!!link?.link, `<a
|
|
64
64
|
href="${link?.link}"
|
|
65
65
|
target="${link?.target}"
|
|
@@ -41,9 +41,8 @@ const renderPaginatorLive = ({ setting, builderProps, pageContext })=>{
|
|
|
41
41
|
`;
|
|
42
42
|
};
|
|
43
43
|
const renderPaginatorEditor = ({ setting, builderProps, pageContext })=>{
|
|
44
|
-
const { pageQuantity, typo, activeColor } = setting ?? {};
|
|
44
|
+
const { pageQuantity, typo, normalColor, activeColor } = setting ?? {};
|
|
45
45
|
const paginatorItems = [];
|
|
46
|
-
const normalColor = typo?.attrs?.color;
|
|
47
46
|
const pageCount = parseInt(pageQuantity ?? '0');
|
|
48
47
|
let displayPage = 6;
|
|
49
48
|
if (displayPage > pageCount) {
|
|
@@ -17,8 +17,8 @@ const getCustomStyle = (setting)=>{
|
|
|
17
17
|
return removeNullUndefined({
|
|
18
18
|
...appendTypoStyle,
|
|
19
19
|
...makeStyle({
|
|
20
|
-
ml: itemSpacing
|
|
21
|
-
mr: itemSpacing
|
|
20
|
+
ml: `${itemSpacing}px`,
|
|
21
|
+
mr: `${itemSpacing}px`,
|
|
22
22
|
bc: getGlobalColorCSSProp(normalColor),
|
|
23
23
|
c: getGlobalColorCSSProp(normalColor)
|
|
24
24
|
})
|
package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js
CHANGED
|
@@ -5,14 +5,14 @@ import { customClass, getPaginatorWrapperClass, getPaginatorClass } from '../com
|
|
|
5
5
|
import { createStyle, createClass, createStateOrContext } from '@gem-sdk/system';
|
|
6
6
|
|
|
7
7
|
const CollectionPaginator = ({ setting, builderProps, pageContext })=>{
|
|
8
|
-
const { typographyPaginator, activeColor, align, typo } = setting ?? {};
|
|
8
|
+
const { typographyPaginator, activeColor, align, typo, normalColor } = setting ?? {};
|
|
9
9
|
const appendTypoStyle = createStyle({
|
|
10
10
|
...composeTypographyStyle(typo, typographyPaginator)
|
|
11
11
|
});
|
|
12
12
|
const globalColorStyle = createStyle({
|
|
13
|
-
normalColorClass: getGlobalColorClass('text',
|
|
13
|
+
normalColorClass: getGlobalColorClass('text', normalColor),
|
|
14
14
|
activeColorClass: getGlobalColorClass('text', activeColor),
|
|
15
|
-
normalColorStyle: getGlobalColorCSSProp(
|
|
15
|
+
normalColorStyle: getGlobalColorCSSProp(normalColor) ?? '',
|
|
16
16
|
activeColorStyle: getGlobalColorCSSProp(activeColor) ?? ''
|
|
17
17
|
});
|
|
18
18
|
const addedClass = createClass({
|
|
@@ -57,7 +57,7 @@ const SettingUIV2 = [
|
|
|
57
57
|
controls: [
|
|
58
58
|
{
|
|
59
59
|
label: {
|
|
60
|
-
en: '
|
|
60
|
+
en: 'color'
|
|
61
61
|
},
|
|
62
62
|
setting: {
|
|
63
63
|
id: 'overlayColor',
|
|
@@ -66,7 +66,7 @@ const SettingUIV2 = [
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
label: {
|
|
69
|
-
en: '
|
|
69
|
+
en: 'opacity'
|
|
70
70
|
},
|
|
71
71
|
setting: {
|
|
72
72
|
id: 'overlayOpacity',
|
|
@@ -57,11 +57,14 @@ const CollectionPaginatorSettings = [
|
|
|
57
57
|
{
|
|
58
58
|
id: 'itemSpacing',
|
|
59
59
|
label: 'Item spacing',
|
|
60
|
-
type: 'input:
|
|
60
|
+
type: 'input:slider',
|
|
61
61
|
units: [
|
|
62
62
|
'px'
|
|
63
63
|
],
|
|
64
|
-
default:
|
|
64
|
+
default: 12,
|
|
65
|
+
min: 0,
|
|
66
|
+
max: 40,
|
|
67
|
+
ignoreMax: true
|
|
65
68
|
},
|
|
66
69
|
{
|
|
67
70
|
id: 'text',
|
|
@@ -99,7 +102,7 @@ const CollectionPaginatorSettings = [
|
|
|
99
102
|
default: {
|
|
100
103
|
type: 'paragraph-1',
|
|
101
104
|
attrs: {
|
|
102
|
-
color: '
|
|
105
|
+
color: 'text-1'
|
|
103
106
|
}
|
|
104
107
|
},
|
|
105
108
|
hiddenSetting: {
|
|
@@ -112,13 +115,13 @@ const CollectionPaginatorSettings = [
|
|
|
112
115
|
id: 'normalColor',
|
|
113
116
|
type: 'color-picker-v2',
|
|
114
117
|
label: 'Normal Color',
|
|
115
|
-
default: '
|
|
118
|
+
default: 'text-1'
|
|
116
119
|
},
|
|
117
120
|
{
|
|
118
121
|
id: 'activeColor',
|
|
119
122
|
type: 'color-picker-v2',
|
|
120
123
|
label: 'Active Color',
|
|
121
|
-
default: '
|
|
124
|
+
default: 'text-2'
|
|
122
125
|
}
|
|
123
126
|
]
|
|
124
127
|
},
|
|
@@ -57,7 +57,7 @@ const SettingUIV2 = [
|
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
label: {
|
|
60
|
-
en: '
|
|
60
|
+
en: 'Button Content'
|
|
61
61
|
},
|
|
62
62
|
controls: [
|
|
63
63
|
{
|
|
@@ -114,14 +114,39 @@ const SettingUIV2 = [
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
label: {
|
|
117
|
-
en: '
|
|
117
|
+
en: 'Text style'
|
|
118
118
|
},
|
|
119
119
|
controls: [
|
|
120
120
|
{
|
|
121
121
|
setting: {
|
|
122
122
|
id: 'typo'
|
|
123
123
|
},
|
|
124
|
-
layout: 'vertical'
|
|
124
|
+
layout: 'vertical',
|
|
125
|
+
options: {
|
|
126
|
+
hideLabel: true,
|
|
127
|
+
fullWidth: true,
|
|
128
|
+
updateFields: [
|
|
129
|
+
{
|
|
130
|
+
field: 'attrs.color',
|
|
131
|
+
settingId: 'normalColor'
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
controlChangeTrigger: {
|
|
136
|
+
settings: [
|
|
137
|
+
{
|
|
138
|
+
action: {
|
|
139
|
+
controlId: 'normalColor',
|
|
140
|
+
valueFromField: 'attrs.color',
|
|
141
|
+
groupType: 'setting',
|
|
142
|
+
controlType: 'setting'
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
options: {
|
|
147
|
+
noRecordHistory: true
|
|
148
|
+
}
|
|
149
|
+
}
|
|
125
150
|
}
|
|
126
151
|
]
|
|
127
152
|
},
|
package/dist/esm/index.js
CHANGED
|
@@ -176,6 +176,7 @@ export { default as ProductDescription } from './product/components/ProductDescr
|
|
|
176
176
|
export { default as ProductVariants } from './product/components/ProductVariants/index.js';
|
|
177
177
|
export { default as ProductImages } from './product/components/ProductImages.js';
|
|
178
178
|
export { default as ProductImagesV2 } from './product/components/ProductImagesV2/index.js';
|
|
179
|
+
export { default as ProductImagesV3 } from './product/components/ProductImagesV3/index.js';
|
|
179
180
|
export { default as ProductPropertyInput } from './product/components/ProductProperties/ProductProperties.js';
|
|
180
181
|
export { default as ProductQuickView } from './product/components/ProductQuickView/index.js';
|
|
181
182
|
export { default as ProductTag } from './product/components/ProductDiscountTag/index.js';
|
package/dist/esm/index.liquid.js
CHANGED
|
@@ -67,6 +67,7 @@ export { default as ProductQuantity } from './product/components/ProductQuantity
|
|
|
67
67
|
export { default as ProductVariants } from './product/components/ProductVariants/index.liquid.js';
|
|
68
68
|
export { default as ProductTag } from './product/components/ProductDiscountTag/index.liquid.js';
|
|
69
69
|
export { default as ProductImagesV2 } from './product/components/ProductImagesV2/index.liquid.js';
|
|
70
|
+
export { default as ProductImagesV3 } from './product/components/ProductImagesV3/index.liquid.js';
|
|
70
71
|
export { default as ProductList } from './product/components/ProductList/ProductList.liquid.js';
|
|
71
72
|
export { ProductPrice } from './product/components/ProductPrice/index.liquid.js';
|
|
72
73
|
export { default as ProductProperties } from './product/components/ProductProperties/ProductProperties.liquid.js';
|
|
@@ -196,3 +197,5 @@ export { default as StellarDeliveryDatePickup } from './third-party/components/S
|
|
|
196
197
|
export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
|
|
197
198
|
export { default as ShopPayInstallments } from './shop-pay-installment/components/ShopPayInstallments.liquid.js';
|
|
198
199
|
export { default as Sticky } from './sticky/components/Sticky.liquid.js';
|
|
200
|
+
export { default as SwiperCarouselItem } from './swiper-carousel/carousel-item/SwiperItem.liquid.js';
|
|
201
|
+
export { default as SwiperCarousel } from './swiper-carousel/root/Swiper.liquid.js';
|
package/dist/esm/next.js
CHANGED
|
@@ -52,6 +52,7 @@ import stockCounter from './stock-counter/next.js';
|
|
|
52
52
|
import thirdPartySlot from './third-party-slot/next.js';
|
|
53
53
|
import shopPayInstallment from './shop-pay-installment/next.js';
|
|
54
54
|
import sticky from './sticky/next.js';
|
|
55
|
+
import swiperCarousel from './swiper-carousel/next.js';
|
|
55
56
|
|
|
56
57
|
var next = {
|
|
57
58
|
...accordion,
|
|
@@ -106,7 +107,8 @@ var next = {
|
|
|
106
107
|
...stockCounter,
|
|
107
108
|
...thirdPartySlot,
|
|
108
109
|
...shopPayInstallment,
|
|
109
|
-
...sticky
|
|
110
|
+
...sticky,
|
|
111
|
+
...swiperCarousel
|
|
110
112
|
};
|
|
111
113
|
|
|
112
114
|
export { next as default };
|