@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
@@ -14,6 +14,7 @@ const uiV2 = [
14
14
  iconName: 'gp-prefix',
15
15
  type: 'combo',
16
16
  defaultValueWhenClear: '',
17
+ compoDefaultValue: 'By',
17
18
  controls: [
18
19
  {
19
20
  label: {
@@ -7,7 +7,6 @@ const ArticleReadMoreSettings = [
7
7
  {
8
8
  id: 'readMoreType',
9
9
  label: 'Style',
10
- popoverLabel: 'Style',
11
10
  type: 'layout-selector',
12
11
  iconViewBox: '0 0 80 48',
13
12
  enableItemBackground: true,
@@ -372,6 +372,7 @@ const uiV2 = [
372
372
  type: 'combo',
373
373
  conditionDisplay: `readMoreType === 'text'`,
374
374
  defaultValueWhenClear: '',
375
+ compoDefaultValue: 'Read more',
375
376
  controls: [
376
377
  {
377
378
  label: {
@@ -52,7 +52,7 @@ const heroBanner1Col = {
52
52
  mobile: {
53
53
  shape: 'custom',
54
54
  widthHeightLinked: false,
55
- width: '1200px',
55
+ width: '100%',
56
56
  height: '600px'
57
57
  }
58
58
  }
@@ -51,15 +51,13 @@ const heroBannerContentLeft = {
51
51
  sizeSetting: {
52
52
  desktop: {
53
53
  shape: 'original',
54
- widthHeightLinked: false,
55
- width: '100%',
56
- height: '600px'
54
+ width: '100%'
57
55
  },
58
56
  mobile: {
59
57
  shape: 'custom',
60
58
  widthHeightLinked: false,
61
59
  width: '100%',
62
- height: 'auto'
60
+ height: 'fit-content'
63
61
  }
64
62
  }
65
63
  },
@@ -60,13 +60,10 @@ const heroBannerContentRight = {
60
60
  sizeSetting: {
61
61
  desktop: {
62
62
  shape: 'original',
63
- widthHeightLinked: false,
64
- width: '100%',
65
- height: '600px'
63
+ width: '100%'
66
64
  },
67
65
  mobile: {
68
- shape: 'original',
69
- widthHeightLinked: true,
66
+ shape: 'custom',
70
67
  width: '100%'
71
68
  }
72
69
  }
@@ -39,6 +39,16 @@ const heroBannerVideo = {
39
39
  contentWidth: {
40
40
  desktop: '1200px'
41
41
  },
42
+ sizeSetting: {
43
+ desktop: {
44
+ shape: 'original',
45
+ width: '100%'
46
+ },
47
+ mobile: {
48
+ shape: 'original',
49
+ width: '100%'
50
+ }
51
+ },
42
52
  background: {
43
53
  desktop: {
44
54
  type: 'video',
@@ -274,16 +274,20 @@ const SettingsV2 = [
274
274
  id: 'alt',
275
275
  label: 'Alt Text',
276
276
  type: 'textarea',
277
- minHeight: 100,
277
+ minHeight: 56,
278
278
  autoHeight: true,
279
- placeholder: 'E.g: Classic white crewneck t-shirt with minimalist design'
279
+ placeholder: 'E.g: Classic white crewneck t-shirt with minimalist design',
280
+ default: undefined
280
281
  },
281
282
  {
282
283
  id: 'title',
283
284
  label: 'Image title',
284
- info: 'E.g: White t-shirt',
285
- type: 'input',
286
- placeholder: 'E.g: White t-shirt'
285
+ info: 'Show title when hover to image',
286
+ type: 'textarea',
287
+ minHeight: 56,
288
+ autoHeight: true,
289
+ placeholder: 'E.g: White t-shirt',
290
+ default: undefined
287
291
  }
288
292
  ]
289
293
  },
@@ -387,7 +391,6 @@ const SettingsV2 = [
387
391
  mobile: {
388
392
  default: {
389
393
  shape: 'custom',
390
- height: '500px',
391
394
  width: '100%'
392
395
  }
393
396
  }
@@ -402,22 +402,46 @@ const SettingUIV2 = [
402
402
  },
403
403
  controls: [
404
404
  {
405
- type: 'control',
406
- setting: {
407
- id: 'alt'
408
- },
405
+ type: 'combo',
409
406
  label: {
410
407
  en: 'Alt text'
411
- }
408
+ },
409
+ iconName: 'polaris-text-block',
410
+ getValueFromSettingID: 'alt',
411
+ compoDefaultValue: 'Describes the appearance of the image',
412
+ isHideClear: true,
413
+ controls: [
414
+ {
415
+ label: {
416
+ en: 'Content'
417
+ },
418
+ setting: {
419
+ id: 'alt'
420
+ },
421
+ layout: 'vertical'
422
+ }
423
+ ]
412
424
  },
413
425
  {
414
- type: 'control',
415
- setting: {
416
- id: 'title'
417
- },
426
+ type: 'combo',
418
427
  label: {
419
428
  en: 'Image title'
420
- }
429
+ },
430
+ iconName: 'polaris-text-block',
431
+ getValueFromSettingID: 'title',
432
+ compoDefaultValue: 'Title',
433
+ isHideClear: true,
434
+ controls: [
435
+ {
436
+ label: {
437
+ en: 'Content'
438
+ },
439
+ setting: {
440
+ id: 'title'
441
+ },
442
+ layout: 'vertical'
443
+ }
444
+ ]
421
445
  }
422
446
  ]
423
447
  },
@@ -22,6 +22,8 @@ var Breadcrumb = require('./breadcrumb/components/Breadcrumb.js');
22
22
  var Button = require('./button/components/Button.js');
23
23
  var Carousel = require('./carousel/root/Carousel.js');
24
24
  var CarouselItem = require('./carousel/carousel-item/CarouselItem.js');
25
+ var Swiper = require('./swiper-carousel/root/Swiper.js');
26
+ var SwiperItem = require('./swiper-carousel/carousel-item/SwiperItem.js');
25
27
  var Cart = require('./cart/components/Cart.js');
26
28
  var CartList = require('./cart/components/CartList.js');
27
29
  var CartLinePrice = require('./cart/components/CartLinePrice.js');
@@ -231,16 +233,17 @@ var ProductButton = require('./product/components/ProductButton/ProductButton.js
231
233
  var index$8 = require('./product/components/ProductVariants/index.js');
232
234
  var ProductImages = require('./product/components/ProductImages.js');
233
235
  var index$9 = require('./product/components/ProductImagesV2/index.js');
236
+ var index$a = require('./product/components/ProductImagesV3/index.js');
234
237
  var ProductProperties = require('./product/components/ProductProperties/ProductProperties.js');
235
- var index$a = require('./product/components/ProductQuickView/index.js');
236
- var index$b = require('./product/components/ProductDiscountTag/index.js');
238
+ var index$b = require('./product/components/ProductQuickView/index.js');
239
+ var index$c = require('./product/components/ProductDiscountTag/index.js');
237
240
  var ProductList = require('./product/components/ProductList/ProductList.js');
238
241
  var DynamicCheckout = require('./product/components/DynamicCheckout/DynamicCheckout.js');
239
242
  var ProductBundleDiscount = require('./product/components/ProductBundle/components/ProductBundleDiscount.js');
240
243
  var Vendor = require('./product/components/ProductVendor/Vendor.js');
241
244
  var Sku = require('./product/components/ProductSKU/Sku.js');
242
245
  var ProductViewMore = require('./product/components/ProductViewMore/ProductViewMore.js');
243
- var index$c = require('./product/components/ProductBadge/index.js');
246
+ var index$d = require('./product/components/ProductBadge/index.js');
244
247
  var UploadFile = require('./product/components/FileUpload/components/UploadFile.js');
245
248
  var ProductBundleDiscountItem = require('./product/components/ProductBundle/components/ProductBundleDiscountItem.js');
246
249
  var Radio = require('./radio/Radio.js');
@@ -282,6 +285,8 @@ var builder = {
282
285
  Button: Button.default,
283
286
  Carousel: Carousel.default,
284
287
  CarouselItem: CarouselItem.default,
288
+ SwiperCarousel: Swiper.default,
289
+ SwiperCarouselItem: SwiperItem.default,
285
290
  Cart: Cart.default,
286
291
  CartList: CartList.default,
287
292
  CartLinePrice: CartLinePrice.default,
@@ -437,9 +442,10 @@ var builder = {
437
442
  ProductVariants: index$8.default,
438
443
  ProductImages: ProductImages.default,
439
444
  ProductImagesV2: index$9.default,
445
+ ProductImagesV3: index$a.default,
440
446
  ProductProperties: ProductProperties.default,
441
- ProductQuickView: index$a.default,
442
- ProductTag: index$b.default,
447
+ ProductQuickView: index$b.default,
448
+ ProductTag: index$c.default,
443
449
  ProductList: ProductList.default,
444
450
  Radio: Radio.default,
445
451
  Select: Select.default,
@@ -504,7 +510,7 @@ var builder = {
504
510
  ProductVendor: Vendor.default,
505
511
  KingProductOptions: KingProductOptions.default,
506
512
  ProductViewMore: ProductViewMore.default,
507
- ProductBadge: index$c.default,
513
+ ProductBadge: index$d.default,
508
514
  HextomCountdownTimerBar: HextomCountdownTimerBar.default,
509
515
  TrustBadgesBear: TrustBadgesBear.default,
510
516
  TrustedsiteTrustBadges: TrustedsiteTrustBadges.default,
@@ -63,7 +63,7 @@ const CollectionBanner = ({ builderAttrs, builderProps, setting, style, children
63
63
  style="${styleContainerBackgoundImage}"
64
64
  >
65
65
  </div>
66
- <div aria-label="Overlay" role="banner" class="${classOverlayBanner}" style="${styleOverlay}" ></div>
66
+ <div aria-label="Overlay" role="banner" class="${classOverlayBanner}" style="${styleOverlay}"> </div>
67
67
  ${core.RenderIf(!!link?.link, `<a
68
68
  href="${link?.link}"
69
69
  target="${link?.target}"
@@ -43,9 +43,8 @@ const renderPaginatorLive = ({ setting, builderProps, pageContext })=>{
43
43
  `;
44
44
  };
45
45
  const renderPaginatorEditor = ({ setting, builderProps, pageContext })=>{
46
- const { pageQuantity, typo, activeColor } = setting ?? {};
46
+ const { pageQuantity, typo, normalColor, activeColor } = setting ?? {};
47
47
  const paginatorItems = [];
48
- const normalColor = typo?.attrs?.color;
49
48
  const pageCount = parseInt(pageQuantity ?? '0');
50
49
  let displayPage = 6;
51
50
  if (displayPage > pageCount) {
@@ -19,8 +19,8 @@ const getCustomStyle = (setting)=>{
19
19
  return core.removeNullUndefined({
20
20
  ...appendTypoStyle,
21
21
  ...core.makeStyle({
22
- ml: itemSpacing,
23
- mr: itemSpacing,
22
+ ml: `${itemSpacing}px`,
23
+ mr: `${itemSpacing}px`,
24
24
  bc: core.getGlobalColorCSSProp(normalColor),
25
25
  c: core.getGlobalColorCSSProp(normalColor)
26
26
  })
@@ -9,14 +9,14 @@ var classes = require('../common/classes.js');
9
9
  var system = require('@gem-sdk/system');
10
10
 
11
11
  const CollectionPaginator = ({ setting, builderProps, pageContext })=>{
12
- const { typographyPaginator, activeColor, align, typo } = setting ?? {};
12
+ const { typographyPaginator, activeColor, align, typo, normalColor } = setting ?? {};
13
13
  const appendTypoStyle = system.createStyle({
14
14
  ...core.composeTypographyStyle(typo, typographyPaginator)
15
15
  });
16
16
  const globalColorStyle = system.createStyle({
17
- normalColorClass: core.getGlobalColorClass('text', typo?.attrs?.color),
17
+ normalColorClass: core.getGlobalColorClass('text', normalColor),
18
18
  activeColorClass: core.getGlobalColorClass('text', activeColor),
19
- normalColorStyle: core.getGlobalColorCSSProp(typo?.attrs?.color) ?? '',
19
+ normalColorStyle: core.getGlobalColorCSSProp(normalColor) ?? '',
20
20
  activeColorStyle: core.getGlobalColorCSSProp(activeColor) ?? ''
21
21
  });
22
22
  const addedClass = system.createClass({
@@ -59,7 +59,7 @@ const SettingUIV2 = [
59
59
  controls: [
60
60
  {
61
61
  label: {
62
- en: 'Overlay color'
62
+ en: 'color'
63
63
  },
64
64
  setting: {
65
65
  id: 'overlayColor',
@@ -68,7 +68,7 @@ const SettingUIV2 = [
68
68
  },
69
69
  {
70
70
  label: {
71
- en: 'Overlay opacity'
71
+ en: 'opacity'
72
72
  },
73
73
  setting: {
74
74
  id: 'overlayOpacity',
@@ -59,11 +59,14 @@ const CollectionPaginatorSettings = [
59
59
  {
60
60
  id: 'itemSpacing',
61
61
  label: 'Item spacing',
62
- type: 'input:unit',
62
+ type: 'input:slider',
63
63
  units: [
64
64
  'px'
65
65
  ],
66
- default: 'var(--g-s-m)'
66
+ default: 12,
67
+ min: 0,
68
+ max: 40,
69
+ ignoreMax: true
67
70
  },
68
71
  {
69
72
  id: 'text',
@@ -101,7 +104,7 @@ const CollectionPaginatorSettings = [
101
104
  default: {
102
105
  type: 'paragraph-1',
103
106
  attrs: {
104
- color: '#4D4D4D'
107
+ color: 'text-1'
105
108
  }
106
109
  },
107
110
  hiddenSetting: {
@@ -114,13 +117,13 @@ const CollectionPaginatorSettings = [
114
117
  id: 'normalColor',
115
118
  type: 'color-picker-v2',
116
119
  label: 'Normal Color',
117
- default: '#4D4D4D'
120
+ default: 'text-1'
118
121
  },
119
122
  {
120
123
  id: 'activeColor',
121
124
  type: 'color-picker-v2',
122
125
  label: 'Active Color',
123
- default: '#121212'
126
+ default: 'text-2'
124
127
  }
125
128
  ]
126
129
  },
@@ -59,7 +59,7 @@ const SettingUIV2 = [
59
59
  },
60
60
  {
61
61
  label: {
62
- en: 'Text'
62
+ en: 'Button Content'
63
63
  },
64
64
  controls: [
65
65
  {
@@ -116,14 +116,39 @@ const SettingUIV2 = [
116
116
  },
117
117
  {
118
118
  label: {
119
- en: 'Paginator text'
119
+ en: 'Text style'
120
120
  },
121
121
  controls: [
122
122
  {
123
123
  setting: {
124
124
  id: 'typo'
125
125
  },
126
- layout: 'vertical'
126
+ layout: 'vertical',
127
+ options: {
128
+ hideLabel: true,
129
+ fullWidth: true,
130
+ updateFields: [
131
+ {
132
+ field: 'attrs.color',
133
+ settingId: 'normalColor'
134
+ }
135
+ ]
136
+ },
137
+ controlChangeTrigger: {
138
+ settings: [
139
+ {
140
+ action: {
141
+ controlId: 'normalColor',
142
+ valueFromField: 'attrs.color',
143
+ groupType: 'setting',
144
+ controlType: 'setting'
145
+ }
146
+ }
147
+ ],
148
+ options: {
149
+ noRecordHistory: true
150
+ }
151
+ }
127
152
  }
128
153
  ]
129
154
  },
package/dist/cjs/index.js CHANGED
@@ -42,20 +42,20 @@ var index$C = require('./post-purchase/line/index.js');
42
42
  var index$D = require('./post-purchase/link/index.js');
43
43
  var index$E = require('./post-purchase/text/index.js');
44
44
  var index$G = require('./post-purchase/product/index.js');
45
- var index$Q = require('./product/index.js');
46
- var index$R = require('./radio/index.js');
47
- var index$S = require('./select/index.js');
48
- var index$T = require('./tab/index.js');
49
- var index$U = require('./text/index.js');
50
- var index$V = require('./textarea/index.js');
51
- var index$W = require('./video/index.js');
45
+ var index$R = require('./product/index.js');
46
+ var index$S = require('./radio/index.js');
47
+ var index$T = require('./select/index.js');
48
+ var index$U = require('./tab/index.js');
49
+ var index$V = require('./text/index.js');
50
+ var index$W = require('./textarea/index.js');
51
+ var index$X = require('./video/index.js');
52
52
  var useInView = require('./intersection-observer/useInView.js');
53
- var index$X = require('./third-party/index.js');
54
- var index$Y = require('./third-party-instant/index.js');
55
- var index$Z = require('./stock-counter/index.js');
56
- var index$_ = require('./third-party-slot/index.js');
57
- var index$$ = require('./shop-pay-installment/index.js');
58
- var index$10 = require('./sticky/index.js');
53
+ var index$Y = require('./third-party/index.js');
54
+ var index$Z = require('./third-party-instant/index.js');
55
+ var index$_ = require('./stock-counter/index.js');
56
+ var index$$ = require('./third-party-slot/index.js');
57
+ var index$10 = require('./shop-pay-installment/index.js');
58
+ var index$11 = require('./sticky/index.js');
59
59
  var next = require('./next.js');
60
60
  var index_liquid = require('./index.liquid.js');
61
61
  var builder = require('./builder.js');
@@ -177,14 +177,15 @@ var index$K = require('./product/components/ProductDescription/index.js');
177
177
  var index$L = require('./product/components/ProductVariants/index.js');
178
178
  var ProductImages = require('./product/components/ProductImages.js');
179
179
  var index$M = require('./product/components/ProductImagesV2/index.js');
180
+ var index$N = require('./product/components/ProductImagesV3/index.js');
180
181
  var ProductProperties = require('./product/components/ProductProperties/ProductProperties.js');
181
- var index$N = require('./product/components/ProductQuickView/index.js');
182
- var index$O = require('./product/components/ProductDiscountTag/index.js');
182
+ var index$O = require('./product/components/ProductQuickView/index.js');
183
+ var index$P = require('./product/components/ProductDiscountTag/index.js');
183
184
  var ProductList = require('./product/components/ProductList/ProductList.js');
184
185
  var Vendor = require('./product/components/ProductVendor/Vendor.js');
185
186
  var DynamicCheckout = require('./product/components/DynamicCheckout/DynamicCheckout.js');
186
187
  var ProductViewMore = require('./product/components/ProductViewMore/ProductViewMore.js');
187
- var index$P = require('./product/components/ProductBadge/index.js');
188
+ var index$Q = require('./product/components/ProductBadge/index.js');
188
189
  var ProductBundleDiscount = require('./product/components/ProductBundle/components/ProductBundleDiscount.js');
189
190
  var ProductBundleDiscountItem = require('./product/components/ProductBundle/components/ProductBundleDiscountItem.js');
190
191
  var Sku = require('./product/components/ProductSKU/Sku.js');
@@ -365,20 +366,20 @@ exports.postPurchaseLinkSetting = index$D.postPurchaseLinkSetting;
365
366
  exports.PostPurchaseHeading = index$E.PostPurchaseHeading;
366
367
  exports.postPurchaseTextSetting = index$E.postPurchaseTextSetting;
367
368
  exports.postPurchaseProductSetting = index$G.postPurchaseProductSetting;
368
- exports.productSetting = index$Q.productSetting;
369
- exports.radioSetting = index$R.radioSetting;
370
- exports.selectSetting = index$S.selectSetting;
371
- exports.tabSetting = index$T.tabSetting;
372
- exports.textSetting = index$U.textSetting;
373
- exports.textareaSetting = index$V.textareaSetting;
374
- exports.videoSetting = index$W.videoSetting;
369
+ exports.productSetting = index$R.productSetting;
370
+ exports.radioSetting = index$S.radioSetting;
371
+ exports.selectSetting = index$T.selectSetting;
372
+ exports.tabSetting = index$U.tabSetting;
373
+ exports.textSetting = index$V.textSetting;
374
+ exports.textareaSetting = index$W.textareaSetting;
375
+ exports.videoSetting = index$X.videoSetting;
375
376
  exports.useInView = useInView.useInView;
376
- exports.thirdPartySetting = index$X.thirdPartySetting;
377
- exports.thirdPartyInstantSetting = index$Y.thirdPartyInstantSetting;
378
- exports.stockCounterSetting = index$Z.stockCounterSetting;
379
- exports.thirdPartySlotSetting = index$_.thirdPartySlotSetting;
380
- exports.shopPayInstallmentSetting = index$$.shopPayInstallmentSetting;
381
- exports.stickySetting = index$10.stickySetting;
377
+ exports.thirdPartySetting = index$Y.thirdPartySetting;
378
+ exports.thirdPartyInstantSetting = index$Z.thirdPartyInstantSetting;
379
+ exports.stockCounterSetting = index$_.stockCounterSetting;
380
+ exports.thirdPartySlotSetting = index$$.thirdPartySlotSetting;
381
+ exports.shopPayInstallmentSetting = index$10.shopPayInstallmentSetting;
382
+ exports.stickySetting = index$11.stickySetting;
382
383
  exports.nextComponent = next.default;
383
384
  exports.liquidComponents = index_liquid;
384
385
  exports.builderComponent = builder.default;
@@ -512,14 +513,15 @@ exports.ProductDescription = index$K.default;
512
513
  exports.ProductVariants = index$L.default;
513
514
  exports.ProductImages = ProductImages.default;
514
515
  exports.ProductImagesV2 = index$M.default;
516
+ exports.ProductImagesV3 = index$N.default;
515
517
  exports.ProductPropertyInput = ProductProperties.default;
516
- exports.ProductQuickView = index$N.default;
517
- exports.ProductTag = index$O.default;
518
+ exports.ProductQuickView = index$O.default;
519
+ exports.ProductTag = index$P.default;
518
520
  exports.ProductList = ProductList.default;
519
521
  exports.ProductVendor = Vendor.default;
520
522
  exports.DynamicCheckout = DynamicCheckout.default;
521
523
  exports.ProductViewMore = ProductViewMore.default;
522
- exports.ProductBadge = index$P.default;
524
+ exports.ProductBadge = index$Q.default;
523
525
  exports.ProductBundleDiscount = ProductBundleDiscount.default;
524
526
  exports.ProductBundleDiscountItem = ProductBundleDiscountItem.default;
525
527
  exports.ProductSku = Sku.default;
@@ -59,18 +59,19 @@ var Text_liquid = require('./text/components/Text.liquid.js');
59
59
  var DynamicCheckout_liquid = require('./product/components/DynamicCheckout/DynamicCheckout.liquid.js');
60
60
  var UploadFile_liquid = require('./product/components/FileUpload/components/UploadFile.liquid.js');
61
61
  var Product_liquid = require('./product/components/ProductWrap/Product.liquid.js');
62
- var index_liquid$7 = require('./product/components/ProductBadge/index.liquid.js');
62
+ var index_liquid$8 = require('./product/components/ProductBadge/index.liquid.js');
63
63
  var ProductBundleDiscount_liquid = require('./product/components/ProductBundle/components/ProductBundleDiscount.liquid.js');
64
64
  var ProductBundleDiscountItem_liquid = require('./product/components/ProductBundle/components/ProductBundleDiscountItem.liquid.js');
65
65
  var ProductButton_liquid = require('./product/components/ProductButton/ProductButton.liquid.js');
66
66
  var index_liquid$1 = require('./product/components/ProductDescription/index.liquid.js');
67
67
  var ProductImages_liquid = require('./product/components/ProductImages.liquid.js');
68
- var index_liquid$4 = require('./product/components/ProductQuantity/index.liquid.js');
69
- var index_liquid$5 = require('./product/components/ProductVariants/index.liquid.js');
70
- var index_liquid$6 = require('./product/components/ProductDiscountTag/index.liquid.js');
68
+ var index_liquid$5 = require('./product/components/ProductQuantity/index.liquid.js');
69
+ var index_liquid$6 = require('./product/components/ProductVariants/index.liquid.js');
70
+ var index_liquid$7 = require('./product/components/ProductDiscountTag/index.liquid.js');
71
71
  var index_liquid$2 = require('./product/components/ProductImagesV2/index.liquid.js');
72
+ var index_liquid$3 = require('./product/components/ProductImagesV3/index.liquid.js');
72
73
  var ProductList_liquid = require('./product/components/ProductList/ProductList.liquid.js');
73
- var index_liquid$3 = require('./product/components/ProductPrice/index.liquid.js');
74
+ var index_liquid$4 = require('./product/components/ProductPrice/index.liquid.js');
74
75
  var ProductProperties_liquid = require('./product/components/ProductProperties/ProductProperties.liquid.js');
75
76
  var index_liquid = require('./product/components/ProductTitle/index.liquid.js');
76
77
  var ProductViewMore_liquid = require('./product/components/ProductViewMore/ProductViewMore.liquid.js');
@@ -198,6 +199,8 @@ var StellarDeliveryDatePickup_liquid = require('./third-party/components/Stellar
198
199
  var ThirdPartySlot_liquid = require('./third-party-slot/components/ThirdPartySlot.liquid.js');
199
200
  var ShopPayInstallments_liquid = require('./shop-pay-installment/components/ShopPayInstallments.liquid.js');
200
201
  var Sticky_liquid = require('./sticky/components/Sticky.liquid.js');
202
+ var SwiperItem_liquid = require('./swiper-carousel/carousel-item/SwiperItem.liquid.js');
203
+ var Swiper_liquid = require('./swiper-carousel/root/Swiper.liquid.js');
201
204
 
202
205
 
203
206
 
@@ -259,18 +262,19 @@ exports.Text = Text_liquid.default;
259
262
  exports.DynamicCheckout = DynamicCheckout_liquid.default;
260
263
  exports.FileUpload = UploadFile_liquid.default;
261
264
  exports.Product = Product_liquid.default;
262
- exports.ProductBadge = index_liquid$7.default;
265
+ exports.ProductBadge = index_liquid$8.default;
263
266
  exports.ProductBundleDiscount = ProductBundleDiscount_liquid.default;
264
267
  exports.ProductBundleDiscountItem = ProductBundleDiscountItem_liquid.default;
265
268
  exports.ProductButton = ProductButton_liquid.default;
266
269
  exports.ProductDescription = index_liquid$1.default;
267
270
  exports.ProductImages = ProductImages_liquid.default;
268
- exports.ProductQuantity = index_liquid$4.default;
269
- exports.ProductVariants = index_liquid$5.default;
270
- exports.ProductTag = index_liquid$6.default;
271
+ exports.ProductQuantity = index_liquid$5.default;
272
+ exports.ProductVariants = index_liquid$6.default;
273
+ exports.ProductTag = index_liquid$7.default;
271
274
  exports.ProductImagesV2 = index_liquid$2.default;
275
+ exports.ProductImagesV3 = index_liquid$3.default;
272
276
  exports.ProductList = ProductList_liquid.default;
273
- exports.ProductPrice = index_liquid$3.ProductPrice;
277
+ exports.ProductPrice = index_liquid$4.ProductPrice;
274
278
  exports.ProductProperties = ProductProperties_liquid.default;
275
279
  exports.ProductTitle = index_liquid.default;
276
280
  exports.ProductViewMore = ProductViewMore_liquid.default;
@@ -398,3 +402,5 @@ exports.StellarDeliveryDatePickup = StellarDeliveryDatePickup_liquid.default;
398
402
  exports.ThirdPartySlot = ThirdPartySlot_liquid.default;
399
403
  exports.ShopPayInstallments = ShopPayInstallments_liquid.default;
400
404
  exports.Sticky = Sticky_liquid.default;
405
+ exports.SwiperCarouselItem = SwiperItem_liquid.default;
406
+ exports.SwiperCarousel = Swiper_liquid.default;
package/dist/cjs/next.js CHANGED
@@ -56,6 +56,7 @@ var next$O = require('./stock-counter/next.js');
56
56
  var next$P = require('./third-party-slot/next.js');
57
57
  var next$Q = require('./shop-pay-installment/next.js');
58
58
  var next$R = require('./sticky/next.js');
59
+ var next$S = require('./swiper-carousel/next.js');
59
60
 
60
61
  var next = {
61
62
  ...next$1.default,
@@ -110,7 +111,8 @@ var next = {
110
111
  ...next$O.default,
111
112
  ...next$P.default,
112
113
  ...next$Q.default,
113
- ...next$R.default
114
+ ...next$R.default,
115
+ ...next$S.default
114
116
  };
115
117
 
116
118
  exports.default = next;