@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.
Files changed (206) hide show
  1. package/dist/cjs/article/setting/configs/ArticleAuthor/uiV2.js +1 -0
  2. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +0 -1
  3. package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
  4. package/dist/cjs/banner/setting/presets/heroBanner1Col.js +1 -1
  5. package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -4
  6. package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -5
  7. package/dist/cjs/banner/setting/presets/heroBannerVideo.js +10 -0
  8. package/dist/cjs/banner/setting/setting.js +9 -6
  9. package/dist/cjs/banner/setting/uiV2.js +34 -10
  10. package/dist/cjs/builder.js +12 -6
  11. package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
  12. package/dist/cjs/collection/components/collection-paginator/common/index.js +1 -2
  13. package/dist/cjs/collection/components/collection-paginator/common/styles.js +2 -2
  14. package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
  15. package/dist/cjs/collection/setting/collection-banner/configs/uiV2.js +2 -2
  16. package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +8 -5
  17. package/dist/cjs/collection/setting/collection-paginator/configs/uiV2.js +28 -3
  18. package/dist/cjs/index.js +34 -32
  19. package/dist/cjs/index.liquid.js +16 -10
  20. package/dist/cjs/next.js +3 -1
  21. package/dist/cjs/product/components/ProductImagesV3/common/common.js +360 -0
  22. package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +192 -0
  23. package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +26 -0
  24. package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +94 -0
  25. package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +303 -0
  26. package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +95 -0
  27. package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +59 -0
  28. package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +266 -0
  29. package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +63 -0
  30. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +36 -0
  31. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +109 -0
  32. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +139 -0
  33. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +100 -0
  34. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +77 -0
  35. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +300 -0
  36. package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +44 -0
  37. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +83 -0
  38. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +182 -0
  39. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +30 -0
  40. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +239 -0
  41. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +28 -0
  42. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +144 -0
  43. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +14 -0
  44. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +54 -0
  45. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +53 -0
  46. package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +55 -0
  47. package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +41 -0
  48. package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +134 -0
  49. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +203 -0
  50. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +87 -0
  51. package/dist/cjs/product/components/ProductImagesV3/index.js +291 -0
  52. package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +153 -0
  53. package/dist/cjs/product/index.js +6 -4
  54. package/dist/cjs/product/next.js +4 -0
  55. package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +252 -0
  56. package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +251 -0
  57. package/dist/cjs/product/setting/product-image-v3/ProductImages.js +74 -0
  58. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +388 -0
  59. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +518 -0
  60. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +336 -0
  61. package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +118 -0
  62. package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +119 -0
  63. package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +237 -0
  64. package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +491 -0
  65. package/dist/cjs/setting.js +97 -95
  66. package/dist/cjs/swiper-carousel/arrow/Arrow.js +52 -0
  67. package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +46 -0
  68. package/dist/cjs/swiper-carousel/arrow/common/common.js +119 -0
  69. package/dist/cjs/swiper-carousel/arrow/common/getClass.js +50 -0
  70. package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +84 -0
  71. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +34 -0
  72. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +38 -0
  73. package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +29 -0
  74. package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +79 -0
  75. package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +22 -0
  76. package/dist/cjs/swiper-carousel/components/common/carousel.js +98 -0
  77. package/dist/cjs/swiper-carousel/components/const/index.js +5 -0
  78. package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +34 -0
  79. package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +42 -0
  80. package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +105 -0
  81. package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +15 -0
  82. package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +45 -0
  83. package/dist/cjs/swiper-carousel/dots/Dots.js +51 -0
  84. package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +26 -0
  85. package/dist/cjs/swiper-carousel/dots/common/common.js +28 -0
  86. package/dist/cjs/swiper-carousel/dots/common/getClass.js +40 -0
  87. package/dist/cjs/swiper-carousel/dots/common/getStyle.js +33 -0
  88. package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +21 -0
  89. package/dist/cjs/swiper-carousel/index.js +17 -0
  90. package/dist/cjs/swiper-carousel/next.js +22 -0
  91. package/dist/cjs/swiper-carousel/root/Swiper.js +128 -0
  92. package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +104 -0
  93. package/dist/cjs/swiper-carousel/root/common/getAttr.js +25 -0
  94. package/dist/cjs/swiper-carousel/root/common/getClass.js +135 -0
  95. package/dist/cjs/swiper-carousel/root/common/getData.js +56 -0
  96. package/dist/cjs/swiper-carousel/root/common/getStyle.js +64 -0
  97. package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +482 -0
  98. package/dist/cjs/swiper-carousel/setting/Swiper.js +42 -0
  99. package/dist/cjs/swiper-carousel/setting/SwiperItem.js +40 -0
  100. package/dist/cjs/swiper-carousel/setting/configs/presets.js +87 -0
  101. package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +819 -0
  102. package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +718 -0
  103. package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +1 -0
  104. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +0 -1
  105. package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
  106. package/dist/esm/banner/setting/presets/heroBanner1Col.js +1 -1
  107. package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -4
  108. package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -5
  109. package/dist/esm/banner/setting/presets/heroBannerVideo.js +10 -0
  110. package/dist/esm/banner/setting/setting.js +9 -6
  111. package/dist/esm/banner/setting/uiV2.js +34 -10
  112. package/dist/esm/builder.js +6 -0
  113. package/dist/esm/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
  114. package/dist/esm/collection/components/collection-paginator/common/index.js +1 -2
  115. package/dist/esm/collection/components/collection-paginator/common/styles.js +2 -2
  116. package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
  117. package/dist/esm/collection/setting/collection-banner/configs/uiV2.js +2 -2
  118. package/dist/esm/collection/setting/collection-paginator/configs/settings.js +8 -5
  119. package/dist/esm/collection/setting/collection-paginator/configs/uiV2.js +28 -3
  120. package/dist/esm/index.js +1 -0
  121. package/dist/esm/index.liquid.js +3 -0
  122. package/dist/esm/next.js +3 -1
  123. package/dist/esm/product/components/ProductImagesV3/common/common.js +344 -0
  124. package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +189 -0
  125. package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +24 -0
  126. package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +83 -0
  127. package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +292 -0
  128. package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +92 -0
  129. package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +53 -0
  130. package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +251 -0
  131. package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +59 -0
  132. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +32 -0
  133. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +105 -0
  134. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +135 -0
  135. package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +96 -0
  136. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +73 -0
  137. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +296 -0
  138. package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +40 -0
  139. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +79 -0
  140. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +178 -0
  141. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +26 -0
  142. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +235 -0
  143. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +24 -0
  144. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +140 -0
  145. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +12 -0
  146. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +52 -0
  147. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +51 -0
  148. package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +53 -0
  149. package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +39 -0
  150. package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +132 -0
  151. package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +201 -0
  152. package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +85 -0
  153. package/dist/esm/product/components/ProductImagesV3/index.js +287 -0
  154. package/dist/esm/product/components/ProductImagesV3/index.liquid.js +149 -0
  155. package/dist/esm/product/index.js +26 -24
  156. package/dist/esm/product/next.js +4 -0
  157. package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +248 -0
  158. package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +248 -0
  159. package/dist/esm/product/setting/product-image-v3/ProductImages.js +70 -0
  160. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +384 -0
  161. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +515 -0
  162. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +334 -0
  163. package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +116 -0
  164. package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +117 -0
  165. package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +235 -0
  166. package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +489 -0
  167. package/dist/esm/setting.js +2 -0
  168. package/dist/esm/swiper-carousel/arrow/Arrow.js +48 -0
  169. package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +42 -0
  170. package/dist/esm/swiper-carousel/arrow/common/common.js +111 -0
  171. package/dist/esm/swiper-carousel/arrow/common/getClass.js +48 -0
  172. package/dist/esm/swiper-carousel/arrow/common/getStyle.js +82 -0
  173. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +30 -0
  174. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +34 -0
  175. package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +27 -0
  176. package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +77 -0
  177. package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +20 -0
  178. package/dist/esm/swiper-carousel/components/common/carousel.js +93 -0
  179. package/dist/esm/swiper-carousel/components/const/index.js +3 -0
  180. package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +30 -0
  181. package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +35 -0
  182. package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +103 -0
  183. package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +13 -0
  184. package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +43 -0
  185. package/dist/esm/swiper-carousel/dots/Dots.js +47 -0
  186. package/dist/esm/swiper-carousel/dots/Dots.liquid.js +22 -0
  187. package/dist/esm/swiper-carousel/dots/common/common.js +26 -0
  188. package/dist/esm/swiper-carousel/dots/common/getClass.js +38 -0
  189. package/dist/esm/swiper-carousel/dots/common/getStyle.js +31 -0
  190. package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +19 -0
  191. package/dist/esm/swiper-carousel/index.js +15 -0
  192. package/dist/esm/swiper-carousel/next.js +18 -0
  193. package/dist/esm/swiper-carousel/root/Swiper.js +124 -0
  194. package/dist/esm/swiper-carousel/root/Swiper.liquid.js +100 -0
  195. package/dist/esm/swiper-carousel/root/common/getAttr.js +23 -0
  196. package/dist/esm/swiper-carousel/root/common/getClass.js +133 -0
  197. package/dist/esm/swiper-carousel/root/common/getData.js +54 -0
  198. package/dist/esm/swiper-carousel/root/common/getStyle.js +62 -0
  199. package/dist/esm/swiper-carousel/root/hook/useCarousel.js +480 -0
  200. package/dist/esm/swiper-carousel/setting/Swiper.js +38 -0
  201. package/dist/esm/swiper-carousel/setting/SwiperItem.js +36 -0
  202. package/dist/esm/swiper-carousel/setting/configs/presets.js +85 -0
  203. package/dist/esm/swiper-carousel/setting/configs/settingV2.js +815 -0
  204. package/dist/esm/swiper-carousel/setting/configs/uiV2.js +713 -0
  205. package/dist/types/index.d.ts +552 -117
  206. package/package.json +3 -3
@@ -5,7 +5,6 @@ const ArticleReadMoreSettings = [
5
5
  {
6
6
  id: 'readMoreType',
7
7
  label: 'Style',
8
- popoverLabel: 'Style',
9
8
  type: 'layout-selector',
10
9
  iconViewBox: '0 0 80 48',
11
10
  enableItemBackground: true,
@@ -370,6 +370,7 @@ const uiV2 = [
370
370
  type: 'combo',
371
371
  conditionDisplay: `readMoreType === 'text'`,
372
372
  defaultValueWhenClear: '',
373
+ compoDefaultValue: 'Read more',
373
374
  controls: [
374
375
  {
375
376
  label: {
@@ -50,7 +50,7 @@ const heroBanner1Col = {
50
50
  mobile: {
51
51
  shape: 'custom',
52
52
  widthHeightLinked: false,
53
- width: '1200px',
53
+ width: '100%',
54
54
  height: '600px'
55
55
  }
56
56
  }
@@ -49,15 +49,13 @@ const heroBannerContentLeft = {
49
49
  sizeSetting: {
50
50
  desktop: {
51
51
  shape: 'original',
52
- widthHeightLinked: false,
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: 'auto'
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
- widthHeightLinked: false,
62
- width: '100%',
63
- height: '600px'
61
+ width: '100%'
64
62
  },
65
63
  mobile: {
66
- shape: 'original',
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: 100,
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: 'E.g: White t-shirt',
283
- type: 'input',
284
- placeholder: 'E.g: White t-shirt'
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: 'control',
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: 'control',
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
  },
@@ -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,
@@ -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}" ></div>
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
  })
@@ -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', typo?.attrs?.color),
13
+ normalColorClass: getGlobalColorClass('text', normalColor),
14
14
  activeColorClass: getGlobalColorClass('text', activeColor),
15
- normalColorStyle: getGlobalColorCSSProp(typo?.attrs?.color) ?? '',
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: 'Overlay color'
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: 'Overlay opacity'
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:unit',
60
+ type: 'input:slider',
61
61
  units: [
62
62
  'px'
63
63
  ],
64
- default: 'var(--g-s-m)'
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: '#4D4D4D'
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: '#4D4D4D'
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: '#121212'
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: 'Text'
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: 'Paginator text'
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';
@@ -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 };