@gem-sdk/components 2.2.0-staging.32 → 2.2.0

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 (78) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +1 -2
  2. package/dist/cjs/banner/components/hero-banner/index.liquid.js +7 -4
  3. package/dist/cjs/builder.js +1 -1
  4. package/dist/cjs/button/components/Button.liquid.js +3 -3
  5. package/dist/cjs/carousel/components/Carousel.liquid.js +2 -3
  6. package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +58 -17
  7. package/dist/cjs/common/const.js +1 -1
  8. package/dist/cjs/grid/setting/Section.js +7 -37
  9. package/dist/cjs/image/components/AdaptiveImage.liquid.js +5 -6
  10. package/dist/cjs/image/components/Image.js +1 -2
  11. package/dist/cjs/image/components/Image.liquid.js +4 -6
  12. package/dist/cjs/image/components/NextImage.liquid.js +3 -4
  13. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +3 -7
  14. package/dist/cjs/index.js +2 -2
  15. package/dist/cjs/index.liquid.js +2 -2
  16. package/dist/cjs/marquee/components/Marquee.liquid.js +13 -10
  17. package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -1
  18. package/dist/cjs/product/components/ProductButton.js +1 -1
  19. package/dist/cjs/product/components/ProductButton.liquid.js +3 -21
  20. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +5 -6
  21. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  22. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  23. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  24. package/dist/cjs/product/components/ProductVariants/variants/combine/index.js +1 -1
  25. package/dist/cjs/product/setting/ProductList.js +1 -1
  26. package/dist/cjs/tab/hooks/useTabInteraction.js +9 -13
  27. package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +10 -9
  28. package/dist/cjs/third-party/components/RechargeSubscriptions.liquid.js +1 -1
  29. package/dist/cjs/third-party/components/Releasit.liquid.js +2 -4
  30. package/dist/cjs/third-party/configs/BoldProductOptions.js +2 -2
  31. package/dist/cjs/third-party/configs/EcoboostifyShoppableReelUgc.js +1 -1
  32. package/dist/cjs/third-party/next.js +3 -3
  33. package/dist/cjs/third-party/setting/EcoboostifyShoppableReelUgc.js +2 -2
  34. package/dist/cjs/third-party/setting/Releasit.js +2 -59
  35. package/dist/cjs/third-party/setting/index.js +3 -3
  36. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  37. package/dist/cjs/video/components/HTML5Embed.liquid.js +3 -6
  38. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +3 -5
  39. package/dist/esm/article/components/ArticleImage.js +1 -2
  40. package/dist/esm/banner/components/hero-banner/index.liquid.js +7 -4
  41. package/dist/esm/builder.js +1 -1
  42. package/dist/esm/button/components/Button.liquid.js +3 -3
  43. package/dist/esm/carousel/components/Carousel.liquid.js +2 -3
  44. package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +58 -17
  45. package/dist/esm/common/const.js +1 -1
  46. package/dist/esm/grid/setting/Section.js +7 -37
  47. package/dist/esm/image/components/AdaptiveImage.liquid.js +5 -6
  48. package/dist/esm/image/components/Image.js +2 -3
  49. package/dist/esm/image/components/Image.liquid.js +4 -6
  50. package/dist/esm/image/components/NextImage.liquid.js +3 -4
  51. package/dist/esm/image-comparison/components/CompareImage.liquid.js +3 -7
  52. package/dist/esm/index.js +1 -1
  53. package/dist/esm/index.liquid.js +1 -1
  54. package/dist/esm/marquee/components/Marquee.liquid.js +13 -10
  55. package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -1
  56. package/dist/esm/product/components/ProductButton.js +1 -1
  57. package/dist/esm/product/components/ProductButton.liquid.js +3 -21
  58. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +5 -6
  59. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  60. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  61. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  62. package/dist/esm/product/components/ProductVariants/variants/combine/index.js +1 -1
  63. package/dist/esm/product/setting/ProductList.js +1 -1
  64. package/dist/esm/tab/hooks/useTabInteraction.js +10 -14
  65. package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +11 -10
  66. package/dist/esm/third-party/components/RechargeSubscriptions.liquid.js +1 -1
  67. package/dist/esm/third-party/components/Releasit.liquid.js +2 -4
  68. package/dist/esm/third-party/configs/BoldProductOptions.js +2 -2
  69. package/dist/esm/third-party/configs/EcoboostifyShoppableReelUgc.js +1 -1
  70. package/dist/esm/third-party/next.js +3 -3
  71. package/dist/esm/third-party/setting/EcoboostifyShoppableReelUgc.js +2 -2
  72. package/dist/esm/third-party/setting/Releasit.js +2 -59
  73. package/dist/esm/third-party/setting/index.js +4 -4
  74. package/dist/esm/video/components/HTML5Embed.js +2 -2
  75. package/dist/esm/video/components/HTML5Embed.liquid.js +3 -6
  76. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +3 -5
  77. package/dist/types/index.d.ts +15 -29
  78. package/package.json +3 -3
@@ -1,19 +1,20 @@
1
1
  import { useInteraction, useEditorMode } from '@gem-sdk/core';
2
- import { useEffect } from 'react';
2
+ import { useState, useEffect } from 'react';
3
3
 
4
4
  const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, componentUid })=>{
5
- const { trigger, onListener, interactionListenerLoaded, saveToElementInteractionData, findElementIncludingSelf } = useInteraction();
5
+ const [previousTab, setPreviousTab] = useState(activeKey || 1);
6
+ const { trigger, onListener, interactionListenerLoaded } = useInteraction();
6
7
  const mode = useEditorMode();
7
8
  const changeOpenTabInteraction = (params)=>{
8
- const { data, isRollback, element, key } = params || {};
9
- if (data === undefined && isRollback) return;
10
- const newData = Number(data) + 1;
9
+ const { data, isRollback } = params || {};
10
+ if (data === undefined && isRollback === undefined) return;
11
11
  if (isRollback) {
12
- setActiveKey(newData);
12
+ setActiveKey(previousTab);
13
+ setPreviousTab(activeTab);
13
14
  return;
14
15
  }
15
- saveToElementInteractionData(element, key, String(activeKey));
16
- setActiveKey(newData);
16
+ setPreviousTab(activeTab);
17
+ setActiveKey(data + 1);
17
18
  };
18
19
  const dispatchEventTabActive = (index)=>{
19
20
  trigger({
@@ -34,16 +35,11 @@ const useTabInteraction = ({ activeKey, setActiveKey, activeTab, refContainer, c
34
35
  dispatchEventTabActive(activeTab - 1);
35
36
  });
36
37
  const selector = `[data-id="${componentUid}"]`;
37
- const element = findElementIncludingSelf(document, selector);
38
38
  const removeListener = onListener({
39
39
  event: 'gp:change-open-tab',
40
40
  selector
41
41
  }, (params)=>{
42
- changeOpenTabInteraction({
43
- ...params,
44
- element,
45
- key: params?.uniqueStorageKey
46
- });
42
+ changeOpenTabInteraction(params);
47
43
  });
48
44
  return ()=>{
49
45
  removeListener?.();
@@ -1,4 +1,4 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
3
  import BogosConfig from '../../configs/Bogos.js';
4
4
  import ThirdPartyPreview from '../ThirdPartyPreview.js';
@@ -9,8 +9,7 @@ const mapWidgetLabel = {
9
9
  slider: 'Gift slider',
10
10
  message: 'Cart message',
11
11
  ['classic-bundle']: 'Classic bundle',
12
- ['quantity-break']: 'Quantity break',
13
- ['mix-match']: 'Mix and match'
12
+ ['quantity-break']: 'Quantity break'
14
13
  };
15
14
  const BogosSampleContent = ({ setting })=>{
16
15
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -19,13 +18,15 @@ const BogosSampleContent = ({ setting })=>{
19
18
  }, [
20
19
  widgetLabel
21
20
  ]);
22
- return /*#__PURE__*/ jsx("div", {
23
- className: "p-2",
24
- children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
25
- setting: {
26
- label,
27
- iconSvg: `<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${BogosConfig.logoUrl}">`
28
- }
21
+ return /*#__PURE__*/ jsx(Fragment, {
22
+ children: /*#__PURE__*/ jsx("div", {
23
+ className: "p-2",
24
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
25
+ setting: {
26
+ label,
27
+ iconSvg: `<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${BogosConfig.logoUrl}">`
28
+ }
29
+ })
29
30
  })
30
31
  });
31
32
  };
@@ -2,7 +2,7 @@ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
2
 
3
3
  const RechargeSubscriptions = ({ setting, advanced })=>{
4
4
  const { align, appBlockId } = setting ?? {};
5
- return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''}!gp-block`);
6
6
  };
7
7
 
8
8
  export { RechargeSubscriptions as default };
@@ -1,10 +1,8 @@
1
- import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
1
  import { template, makeStyleResponsive } from '@gem-sdk/core';
3
2
 
4
3
  const Releasit = ({ setting, advanced })=>{
5
- const { align, version, appBlockId } = setting ?? {};
6
- console.log('version', version);
7
- return version === 'v2' ? getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''}!gp-block`) : template`
4
+ const { align } = setting ?? {};
5
+ return template`
8
6
  <div
9
7
  class="${advanced?.cssClass}"
10
8
  style="${{
@@ -1,7 +1,7 @@
1
1
  var BoldProductOptionsConfig = {
2
2
  id: 'bold-product-options',
3
- label: 'SC Product Options',
4
- logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9a0bf1159f79c6ab0660ec422f350445/icon/CP2Uwo_GuYIDEAE=.png',
3
+ label: 'Bold Product Options',
4
+ logoUrl: 'https://ucarecdn.com/cae13b55-18b6-416a-a447-c18211d78cfe/-/format/auto/-/preview/3000x3000/-/quality/lighter/Bold%20Product%20Options.png',
5
5
  tag: 'BoldProductOptions'
6
6
  };
7
7
 
@@ -1,7 +1,7 @@
1
1
  var AppConfig = {
2
2
  id: 'ecoboostify-shoppable-reel-ugc',
3
3
  label: 'EcoBoostify Shoppable Reel UGC',
4
- logoUrl: 'https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png',
5
5
  tag: 'EcoboostifyShoppableReelUgc'
6
6
  };
7
7
 
@@ -2,11 +2,11 @@ import dynamic from 'next/dynamic';
2
2
  import Loading from '../common/components/Loading.js';
3
3
  import 'react/jsx-runtime';
4
4
 
5
- const EcomsendBackInStockAlert = dynamic(()=>import('./components/EcomsendBackInStockAlert.js'), {
5
+ const AppstleBundlesDiscounts = dynamic(()=>import('./components/AppstleBundlesDiscounts.js'), {
6
6
  ssr: false,
7
7
  loading: Loading
8
8
  });
9
- const AppstleBundlesDiscounts = dynamic(()=>import('./components/AppstleBundlesDiscounts.js'), {
9
+ const EcomsendBackInStockAlert = dynamic(()=>import('./components/EcomsendBackInStockAlert.js'), {
10
10
  ssr: false,
11
11
  loading: Loading
12
12
  });
@@ -467,8 +467,8 @@ const EcoboostifyShoppableReelUgc = dynamic(()=>import('./components/Ecoboostify
467
467
  loading: Loading
468
468
  });
469
469
  var thirdParty = {
470
- EcomsendBackInStockAlert,
471
470
  AppstleBundlesDiscounts,
471
+ EcomsendBackInStockAlert,
472
472
  EcoboostifyShoppableReelUgc,
473
473
  EstimatedDeliveryDatePlus,
474
474
  OkendoReviewsLoyalty,
@@ -3,7 +3,7 @@ import AppConfig from '../configs/EcoboostifyShoppableReelUgc.js';
3
3
  const config = {
4
4
  tag: AppConfig.tag,
5
5
  label: AppConfig.label,
6
- icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png">',
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png">',
7
7
  editorConfigs: {
8
8
  component: {
9
9
  isThirdParty: true
@@ -18,7 +18,7 @@ const config = {
18
18
  hideTextContent: true,
19
19
  icon: {
20
20
  desktop: `<div class="w-full flex flex-col items-center">
21
- <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/CJWKq4vxxIkDEAE=.png">
21
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cdbdfc53291cf8d2908e72deae77f94e/icon/COuT9MaKvosDEAE=.png">
22
22
  <span class="preset-item-title">EcoBoostify Shoppable Reel UGC</span>
23
23
  </div>`
24
24
  },
@@ -7,11 +7,6 @@ const config = {
7
7
  editorConfigs: {
8
8
  component: {
9
9
  isThirdParty: true
10
- },
11
- placeholder: {
12
- flowTag: [
13
- 'Product'
14
- ]
15
10
  }
16
11
  },
17
12
  presets: [
@@ -40,16 +35,6 @@ const config = {
40
35
  {
41
36
  id: 'setting',
42
37
  controls: [
43
- {
44
- id: 'appBlockId',
45
- type: 'input',
46
- default: ''
47
- },
48
- {
49
- id: 'productHandle',
50
- type: 'input',
51
- default: ''
52
- },
53
38
  {
54
39
  id: 'install',
55
40
  type: 'open-link',
@@ -66,38 +51,6 @@ const config = {
66
51
  href: 'https://admin.shopify.com/?redirect=/apps/releasit-cod-order-form',
67
52
  appName: ReleasitConfig.label
68
53
  },
69
- {
70
- id: 'version',
71
- label: 'Choose version',
72
- type: 'select',
73
- default: 'v1',
74
- options: [
75
- {
76
- label: 'V1',
77
- value: 'v1'
78
- },
79
- {
80
- label: 'V2',
81
- value: 'v2'
82
- }
83
- ]
84
- },
85
- {
86
- id: 'widgetTypeV2',
87
- label: 'Choose widget',
88
- type: 'select',
89
- default: 'button-app-block',
90
- options: [
91
- {
92
- label: 'Releasit button',
93
- value: 'button-app-block'
94
- },
95
- {
96
- label: 'Releasit embedded form',
97
- value: 'form-app-block'
98
- }
99
- ]
100
- },
101
54
  {
102
55
  id: 'align',
103
56
  label: 'Alignment',
@@ -135,24 +88,14 @@ const config = {
135
88
  id: 'install'
136
89
  }
137
90
  },
138
- {
139
- type: 'control',
140
- label: {
141
- en: 'Choose version'
142
- },
143
- setting: {
144
- id: 'version'
145
- }
146
- },
147
91
  {
148
92
  type: 'control',
149
93
  label: {
150
94
  en: 'Choose widget'
151
95
  },
152
96
  setting: {
153
- id: 'widgetTypeV2'
154
- },
155
- condition: 'version === "v2"'
97
+ id: 'widgetType'
98
+ }
156
99
  },
157
100
  {
158
101
  type: 'control',
@@ -112,8 +112,8 @@ import config$1K from './BfSizeChartSizeGuide.js';
112
112
  import config$1L from './AlsoBoughtCbb.js';
113
113
  import config$1M from './HextomFreeShippingBar.js';
114
114
  import config$1N from './EcoboostifyShoppableReelUgc.js';
115
- import config$1O from './EcomsendBackInStockAlert.js';
116
- import config$1P from './AppstleBundlesDiscounts.js';
115
+ import config$1O from './AppstleBundlesDiscounts.js';
116
+ import config$1P from './EcomsendBackInStockAlert.js';
117
117
 
118
118
  var index = {
119
119
  HextomCountdownTimerBar: config,
@@ -230,8 +230,8 @@ var index = {
230
230
  AlsoBoughtCbb: config$1L,
231
231
  HextomFreeShippingBar: config$1M,
232
232
  EcoboostifyShoppableReelUgc: config$1N,
233
- EcomsendBackInStockAlert: config$1O,
234
- AppstleBundlesDiscounts: config$1P
233
+ AppstleBundlesDiscounts: config$1O,
234
+ EcomsendBackInStockAlert: config$1P
235
235
  };
236
236
 
237
237
  export { index as default };
@@ -47,14 +47,14 @@ const HTML5Embed = (props)=>{
47
47
  }),
48
48
  props.thumbnail && showThumbnail && /*#__PURE__*/ jsxs("div", {
49
49
  role: "presentation",
50
- className: "gp-absolute gp-top-0 gp-left-0 gp-w-full gp-h-full",
50
+ className: "gp-absolute gp-top-0 gp-left-0 gp-w-full",
51
51
  onClick: playVideoAndTurnOffThumbnail,
52
52
  style: props.style,
53
53
  children: [
54
54
  /*#__PURE__*/ jsx("img", {
55
55
  id: "video-thumbnail",
56
56
  src: props.thumbnail,
57
- className: "gp-w-full gp-h-full gp-object-contain gp-thumbnail-video",
57
+ className: "gp-w-full gp-h-full gp-object-cover gp-thumbnail-video",
58
58
  alt: "Video Thumbnail"
59
59
  }),
60
60
  /*#__PURE__*/ jsx("button", {
@@ -3,7 +3,6 @@ import NextImage from '../../image/components/NextImage.liquid.js';
3
3
  import { getSettingPreloadData } from '../../helpers.js';
4
4
 
5
5
  const HTML5Embed = (props)=>{
6
- const { enableLazyLoadImage, pageContext } = props;
7
6
  const videoId = `gp-video-${props.uid}`;
8
7
  const preloadThumbnail = props.autoplay && props.thumbnail;
9
8
  const offLazyVideo = !props.lazy && props.isVideoComponent;
@@ -20,9 +19,7 @@ const HTML5Embed = (props)=>{
20
19
  '--op': 0,
21
20
  '--z': -1,
22
21
  display: 'none'
23
- },
24
- enableLazyLoadImage,
25
- pageContext
22
+ }
26
23
  })}
27
24
  ${RenderIf(props.autoplay, `<script>
28
25
  document.addEventListener("DOMContentLoaded", (event) => {
@@ -71,14 +68,14 @@ const HTML5Embed = (props)=>{
71
68
  </video>
72
69
  <div
73
70
  style="${props.style}"
74
- class="${cls('gp-absolute gp-top-0 gp-left-0 gp-w-full gp-h-full gp-thumbnail-video', {
71
+ class="${cls('gp-absolute gp-top-0 gp-left-0 gp-w-full gp-thumbnail-video', {
75
72
  'gp-hidden': !props.thumbnail || props.autoplay
76
73
  })}"
77
74
  >
78
75
  <img
79
76
  id="video-thumbnail"
80
77
  src="${props.thumbnail ?? ''}"
81
- class="gp-w-full gp-h-full gp-object-contain"
78
+ class="gp-w-full gp-h-full gp-object-cover"
82
79
  alt="Video Thumbnail"
83
80
  ></img>
84
81
  <button
@@ -3,7 +3,7 @@ import NextImage from '../../image/components/NextImage.liquid.js';
3
3
  import { getSettingPreloadData } from '../../helpers.js';
4
4
 
5
5
  const LiteYouTubeEmbed = (props)=>{
6
- const { style, lazy, preload, enableLazyLoadImage, pageContext } = props;
6
+ const { style, lazy, preload } = props;
7
7
  const videoUid = `gp-video-${props.uid}`;
8
8
  const videoId = encodeURIComponent(props.id);
9
9
  const videoTitle = props.title;
@@ -38,7 +38,7 @@ const LiteYouTubeEmbed = (props)=>{
38
38
  data-title="${videoTitle}"
39
39
  style="${{
40
40
  ...makeStyleResponsive('bgi', {
41
- desktop: preload || !enableLazyLoadImage ? `url('${posterUrl}')` : `url('${imagePlaceholder}')`
41
+ desktop: preload ? `url('${posterUrl}')` : `url('${imagePlaceholder}')`
42
42
  }),
43
43
  ...style
44
44
  }}"
@@ -48,9 +48,7 @@ const LiteYouTubeEmbed = (props)=>{
48
48
  src: posterUrl,
49
49
  alt: 'Poster',
50
50
  className: `gp-invisible gp-w-full gp-h-full gp_lazyforbg`,
51
- isDisableAspectStyle: true,
52
- enableLazyLoadImage,
53
- pageContext
51
+ isDisableAspectStyle: true
54
52
  })}
55
53
  <button
56
54
  type="button"
@@ -447,7 +447,6 @@ type ImageSetting$1 = Pick<NextImageProps, 'priority' | 'quality' | 'vw'> & Pick
447
447
  };
448
448
  hoverEffect?: string;
449
449
  isNotLazyload?: boolean;
450
- disableNoDataState?: boolean;
451
450
  } & Pick<AdaptiveImageProps, 'srcSet'>;
452
451
  type ImageStyleSetting$1 = {
453
452
  shape?: ObjectDevices<SizeSettingGlobal>;
@@ -1578,8 +1577,6 @@ type ProductButtonProps = BasePropsWrap<{
1578
1577
  translate?: string;
1579
1578
  outOfStockLabel?: string;
1580
1579
  unavailableLabel?: string;
1581
- labelUnavailableTranslate?: string;
1582
- labelOutOfStockTranslate?: string;
1583
1580
  actionEffect?: 'open-cart-drawer' | 'buy-now' | 'continue-shopping' | 'go-to-url';
1584
1581
  customURL?: {
1585
1582
  link?: string;
@@ -2439,8 +2436,8 @@ declare const _default$r: {
2439
2436
  AlsoBoughtCbb: _gem_sdk_core.ComponentSetting<AlsoBoughtCbbProps>;
2440
2437
  HextomFreeShippingBar: _gem_sdk_core.ComponentSetting<HextomFreeShippingBarProps>;
2441
2438
  EcoboostifyShoppableReelUgc: _gem_sdk_core.ComponentSetting<EcoboostifyShoppableReelUgcProps>;
2442
- EcomsendBackInStockAlert: _gem_sdk_core.ComponentSetting<EcomsendBackInStockAlertProps>;
2443
2439
  AppstleBundlesDiscounts: _gem_sdk_core.ComponentSetting<AppstleBundlesDiscountsProps>;
2440
+ EcomsendBackInStockAlert: _gem_sdk_core.ComponentSetting<EcomsendBackInStockAlertProps>;
2444
2441
  };
2445
2442
 
2446
2443
  type RechargeSubscriptionsProps = BaseProps<{
@@ -2878,10 +2875,6 @@ type ReleasitProps = BaseProps<{
2878
2875
  align?: ObjectDevices<AlignProp>;
2879
2876
  openApp?: any;
2880
2877
  install?: any;
2881
- version?: 'v1' | 'v2';
2882
- widgetTypeV2?: string;
2883
- appBlockId?: string;
2884
- productHandle?: string;
2885
2878
  }>;
2886
2879
  declare const Releasit$1: React.FC<ReleasitProps>;
2887
2880
 
@@ -3525,23 +3518,23 @@ type EcoboostifyShoppableReelUgcProps = BaseProps<{
3525
3518
  }>;
3526
3519
  declare const EcoboostifyShoppableReelUgc$1: React.FC<EcoboostifyShoppableReelUgcProps>;
3527
3520
 
3528
- type EcomsendBackInStockAlertProps = BaseProps<{
3521
+ type AppstleBundlesDiscountsProps = BaseProps<{
3529
3522
  align?: ObjectDevices<AlignProp>;
3530
3523
  openApp?: any;
3531
3524
  install?: any;
3532
3525
  appBlockId?: string;
3533
3526
  widgetType?: string;
3534
3527
  }>;
3535
- declare const EcomsendBackInStockAlert$1: React.FC<EcomsendBackInStockAlertProps>;
3528
+ declare const AppstleBundlesDiscounts$1: React.FC<AppstleBundlesDiscountsProps>;
3536
3529
 
3537
- type AppstleBundlesDiscountsProps = BaseProps<{
3530
+ type EcomsendBackInStockAlertProps = BaseProps<{
3538
3531
  align?: ObjectDevices<AlignProp>;
3539
3532
  openApp?: any;
3540
3533
  install?: any;
3541
3534
  appBlockId?: string;
3542
3535
  widgetType?: string;
3543
3536
  }>;
3544
- declare const AppstleBundlesDiscounts$1: React.FC<AppstleBundlesDiscountsProps>;
3537
+ declare const EcomsendBackInStockAlert$1: React.FC<EcomsendBackInStockAlertProps>;
3545
3538
 
3546
3539
  declare const _default$q: {
3547
3540
  InstantJudgemeReviews: _gem_sdk_core.ComponentSetting<InstantJudgemeReviewsProps>;
@@ -4000,7 +3993,6 @@ type ImageComparisonStyle = {
4000
3993
  } & Pick<SharedProps, 'aspectRatio'>;
4001
3994
  type ImageComparisonProps = BaseProps & {
4002
3995
  className?: string;
4003
- enableLazyLoadImage?: boolean;
4004
3996
  pageContext?: PageContext;
4005
3997
  } & BasePropsWrap<ImageComparisonSetting, ImageComparisonStyle>;
4006
3998
  declare const ImageComparison$1: React.FC<ImageComparisonProps>;
@@ -5175,8 +5167,8 @@ declare const _default$1: {
5175
5167
  InstantLooxReviews: React.ComponentType<InstantLooxReviewsProps>;
5176
5168
  InstantKlaviyo: React.ComponentType<InstantKlaviyoProps>;
5177
5169
  InstantYotpoLoyalty: React.ComponentType<InstantYotpoLoyaltyProps>;
5178
- EcomsendBackInStockAlert: React.ComponentType<EcomsendBackInStockAlertProps>;
5179
5170
  AppstleBundlesDiscounts: React.ComponentType<AppstleBundlesDiscountsProps>;
5171
+ EcomsendBackInStockAlert: React.ComponentType<EcomsendBackInStockAlertProps>;
5180
5172
  EcoboostifyShoppableReelUgc: React.ComponentType<EcoboostifyShoppableReelUgcProps>;
5181
5173
  EstimatedDeliveryDatePlus: React.ComponentType<EstimatedDeliveryDatePlusProps>;
5182
5174
  OkendoReviewsLoyalty: React.ComponentType<OkendoReviewsLoyaltyProps>;
@@ -5436,11 +5428,10 @@ type ButtonLiquidProps = MixedProps & ButtonProps & {
5436
5428
  advanced?: any;
5437
5429
  pageContext?: PageContext;
5438
5430
  nodePrice?: string | null;
5439
- isForceValue?: boolean;
5440
5431
  } & {
5441
5432
  dataId?: string;
5442
5433
  };
5443
- declare const Button: ({ className, builderProps, customAttrs, pageContext, setting, styles, style, wrapClassName, advanced, nodePrice, dataId, isForceValue, }: ButtonLiquidProps) => string;
5434
+ declare const Button: ({ className, builderProps, customAttrs, pageContext, setting, styles, style, wrapClassName, advanced, nodePrice, dataId, }: ButtonLiquidProps) => string;
5444
5435
 
5445
5436
  declare const Coupon: ({ setting, builderProps, builderAttrs, style, styles, advanced, pageContext, }: _gem_sdk_core.BaseProps<{
5446
5437
  copyContent?: string | undefined;
@@ -5692,8 +5683,6 @@ declare const ProductButton: ({ setting, builderProps, builderAttrs, style, styl
5692
5683
  translate?: string | undefined;
5693
5684
  outOfStockLabel?: string | undefined;
5694
5685
  unavailableLabel?: string | undefined;
5695
- labelUnavailableTranslate?: string | undefined;
5696
- labelOutOfStockTranslate?: string | undefined;
5697
5686
  actionEffect?: "buy-now" | "open-cart-drawer" | "continue-shopping" | "go-to-url" | undefined;
5698
5687
  customURL?: {
5699
5688
  link?: string | undefined;
@@ -5788,7 +5777,7 @@ type PropTypes = ProductImagesProps$1 & React.ComponentPropsWithoutRef<'div'> &
5788
5777
  children?: any;
5789
5778
  } & {
5790
5779
  pageContext?: PageContext;
5791
- enableLazyLoadImage?: boolean;
5780
+ enableLazyloadImage?: boolean;
5792
5781
  };
5793
5782
  declare const ProductImages: (productImageProps: PropTypes) => string;
5794
5783
 
@@ -6124,7 +6113,7 @@ declare const CarouselItem: ({ children, builderAttrs, styles, advanced, setting
6124
6113
  background?: Partial<Record<NameDevices, Background>> | undefined;
6125
6114
  }) => string;
6126
6115
 
6127
- declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled, advanced, disableMarginAuto, conditionAppendJs, ftShapeProductImage, ...props }: _gem_sdk_core.BaseProps<CarouselSettings, CarouselStyles, Record<string, any>> & {
6116
+ declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled, advanced, disableMarginAuto, conditionAppendJs, ...props }: _gem_sdk_core.BaseProps<CarouselSettings, CarouselStyles, Record<string, any>> & {
6128
6117
  builderAttrs?: Record<string, any> | undefined;
6129
6118
  style?: React.CSSProperties | undefined;
6130
6119
  } & {
@@ -6156,7 +6145,6 @@ declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx,
6156
6145
  disableMarginAuto?: boolean | undefined;
6157
6146
  slidesClass?: string | undefined;
6158
6147
  conditionAppendJs?: string | undefined;
6159
- ftShapeProductImage?: Partial<Record<NameDevices, SizeSettingGlobal>> | undefined;
6160
6148
  }) => string;
6161
6149
 
6162
6150
  type LineProps = {
@@ -6284,7 +6272,7 @@ type CountdownLiquidProps = BaseProps<{
6284
6272
  };
6285
6273
  declare const Countdown: ({ builderProps, setting, styles, advanced, pageContext, }: CountdownLiquidProps) => string;
6286
6274
 
6287
- declare const Image: ({ styles, className, setting, builderAttrs, builderProps, style, advanced, enableLazyLoadImage, pageContext, }: {
6275
+ declare const Image: ({ styles, className, setting, builderAttrs, builderProps, style, advanced, enableLazyloadImage, }: {
6288
6276
  className?: string | undefined;
6289
6277
  children?: React.ReactNode;
6290
6278
  onClick?: React.MouseEventHandler<any> | undefined;
@@ -6321,7 +6309,6 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
6321
6309
  } | undefined;
6322
6310
  hoverEffect?: string | undefined;
6323
6311
  isNotLazyload?: boolean | undefined;
6324
- disableNoDataState?: boolean | undefined;
6325
6312
  } & Pick<AdaptiveImageProps, "srcSet">, {
6326
6313
  shape?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.SizeSettingGlobal>> | undefined;
6327
6314
  customAspectRadio?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.Ratio>> | undefined;
@@ -6344,8 +6331,7 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
6344
6331
  } & {
6345
6332
  advanced?: any;
6346
6333
  } & {
6347
- enableLazyLoadImage?: boolean | undefined;
6348
- pageContext?: PageContext | undefined;
6334
+ enableLazyloadImage?: boolean | undefined;
6349
6335
  }) => string;
6350
6336
 
6351
6337
  type VideoProps = {} & BasePropsWrap<{
@@ -6410,7 +6396,7 @@ declare const TabItem: ({ children, builderAttrs, style, className, parentUid }:
6410
6396
  parentUid?: string | undefined;
6411
6397
  }) => string;
6412
6398
 
6413
- declare const HeroBanner: ({ builderAttrs, builderProps, setting, styles, style, children, rawChildren, advanced, enableLazyLoadImage, }: _gem_sdk_core.BaseProps<{
6399
+ declare const HeroBanner: ({ builderAttrs, builderProps, setting, styles, style, children, rawChildren, advanced, enableLazyloadImage, }: _gem_sdk_core.BaseProps<{
6414
6400
  link?: {
6415
6401
  link?: string | undefined;
6416
6402
  target?: string | undefined;
@@ -6473,7 +6459,7 @@ declare const HeroBanner: ({ builderAttrs, builderProps, setting, styles, style,
6473
6459
  } & {
6474
6460
  rawChildren?: any[] | undefined;
6475
6461
  advanced?: any;
6476
- enableLazyLoadImage?: boolean | undefined;
6462
+ enableLazyloadImage?: boolean | undefined;
6477
6463
  }) => string;
6478
6464
 
6479
6465
  declare const CSSCode: ({ setting, style, advanced, builderAttrs, builderProps }: CSSCodeProps) => string;
@@ -6950,10 +6936,10 @@ declare const HextomFreeShippingBar: ({ setting, advanced }: HextomFreeShippingB
6950
6936
 
6951
6937
  declare const EcoboostifyShoppableReelUgc: ({ setting, advanced }: EcoboostifyShoppableReelUgcProps) => string;
6952
6938
 
6953
- declare const EcomsendBackInStockAlert: ({ setting, advanced }: EcomsendBackInStockAlertProps) => string;
6954
-
6955
6939
  declare const AppstleBundlesDiscounts: ({ setting, advanced }: AppstleBundlesDiscountsProps) => string;
6956
6940
 
6941
+ declare const EcomsendBackInStockAlert: ({ setting, advanced }: EcomsendBackInStockAlertProps) => string;
6942
+
6957
6943
  declare const ImageComparison: ({ setting, styles, builderProps, advanced, ...props }: ImageComparisonProps) => string;
6958
6944
 
6959
6945
  declare const ThirdPartySlot: ({ setting, advanced }: ThirdPartySlotProps) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.2.0-staging.32",
3
+ "version": "2.2.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -21,8 +21,8 @@
21
21
  "format": "prettier --write \"./src/**/*.{ts,tsx}\""
22
22
  },
23
23
  "devDependencies": {
24
- "@gem-sdk/core": "2.2.0-staging.30",
25
- "@gem-sdk/styles": "2.1.27-staging.13",
24
+ "@gem-sdk/core": "2.2.0",
25
+ "@gem-sdk/styles": "2.1.31",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },
28
28
  "dependencies": {