@gem-sdk/components 2.5.3-staging.3 → 2.5.3

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 (34) hide show
  1. package/dist/cjs/banner/components/hero-banner/index.liquid.js +2 -13
  2. package/dist/cjs/banner/setting/HeroBanner.js +6 -50
  3. package/dist/cjs/button/components/Button.liquid.js +2 -11
  4. package/dist/cjs/button/setting/Button.js +5 -112
  5. package/dist/cjs/icon/components/Icon.liquid.js +2 -10
  6. package/dist/cjs/icon/setting/Icon.js +5 -69
  7. package/dist/cjs/image/components/Image.liquid.js +3 -12
  8. package/dist/cjs/image/setting/Image.js +16 -207
  9. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +1 -6
  10. package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +6 -11
  11. package/dist/esm/banner/components/hero-banner/index.liquid.js +2 -13
  12. package/dist/esm/banner/setting/HeroBanner.js +6 -50
  13. package/dist/esm/button/components/Button.liquid.js +2 -11
  14. package/dist/esm/button/setting/Button.js +5 -112
  15. package/dist/esm/icon/components/Icon.liquid.js +2 -10
  16. package/dist/esm/icon/setting/Icon.js +5 -69
  17. package/dist/esm/image/components/Image.liquid.js +3 -12
  18. package/dist/esm/image/setting/Image.js +16 -207
  19. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +1 -6
  20. package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +6 -11
  21. package/dist/types/index.d.ts +0 -25
  22. package/package.json +2 -2
  23. package/dist/cjs/banner/setting/presets/heroBanner1ColPreSalesPage.js +0 -134
  24. package/dist/cjs/banner/setting/presets/heroBannerContentLeftPreSalesPage.js +0 -154
  25. package/dist/cjs/banner/setting/presets/heroBannerContentRightPreSalesPage.js +0 -162
  26. package/dist/cjs/banner/setting/presets/heroBannerParallaxPreSalesPage.js +0 -134
  27. package/dist/cjs/banner/setting/presets/heroBannerVideoPreSalesPage.js +0 -130
  28. package/dist/cjs/constants.js +0 -5
  29. package/dist/esm/banner/setting/presets/heroBanner1ColPreSalesPage.js +0 -132
  30. package/dist/esm/banner/setting/presets/heroBannerContentLeftPreSalesPage.js +0 -152
  31. package/dist/esm/banner/setting/presets/heroBannerContentRightPreSalesPage.js +0 -160
  32. package/dist/esm/banner/setting/presets/heroBannerParallaxPreSalesPage.js +0 -132
  33. package/dist/esm/banner/setting/presets/heroBannerVideoPreSalesPage.js +0 -128
  34. package/dist/esm/constants.js +0 -3
@@ -19,17 +19,6 @@ const config = {
19
19
  default: `<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508414815326568808">
20
20
  <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"></path></svg>`
21
21
  },
22
- {
23
- id: 'isGoToSalesPage',
24
- type: 'toggle',
25
- label: 'Go to Sales page',
26
- default: false
27
- },
28
- {
29
- id: 'linkedToPreSalesPageBanner',
30
- type: 'banner-pre-sales-page',
31
- default: false
32
- },
33
22
  {
34
23
  id: 'iconLink',
35
24
  type: 'pick-link',
@@ -241,37 +230,14 @@ const config = {
241
230
  ]
242
231
  },
243
232
  {
244
- type: 'group',
233
+ type: 'control',
245
234
  label: {
246
235
  en: 'Insert link'
247
236
  },
248
- controls: [
249
- {
250
- type: 'control',
251
- condition: 'pageType == "GP_PRE_SALE_PAGE"',
252
- setting: {
253
- id: 'linkedToPreSalesPageBanner'
254
- }
255
- },
256
- {
257
- type: 'control',
258
- condition: 'pageType == "GP_PRE_SALE_PAGE"',
259
- setting: {
260
- id: 'isGoToSalesPage'
261
- },
262
- label: {
263
- en: 'Go to Sales page'
264
- }
265
- },
266
- {
267
- type: 'control',
268
- condition: 'isGoToSalesPage === false || pageType != "GP_PRE_SALE_PAGE"',
269
- layout: 'vertical',
270
- setting: {
271
- id: 'iconLink'
272
- }
273
- }
274
- ]
237
+ layout: 'vertical',
238
+ setting: {
239
+ id: 'iconLink'
240
+ }
275
241
  },
276
242
  {
277
243
  type: 'group',
@@ -376,36 +342,6 @@ const config = {
376
342
  }
377
343
  }
378
344
  ]
379
- },
380
- {
381
- id: 'icon-pre-sales-page',
382
- name: {
383
- en: 'Icon'
384
- },
385
- icon: {
386
- desktop: `
387
- <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
388
- <path d="M47.283 7.62515C47.5764 7.03055 48.4243 7.03055 48.7177 7.62515L52.251 14.7844C52.3676 15.0205 52.5928 15.1842 52.8534 15.222L60.7541 16.3701C61.4102 16.4654 61.6722 17.2718 61.1974 17.7346L55.4804 23.3073C55.2919 23.4911 55.2059 23.7559 55.2504 24.0154L56.6 31.8842C56.7121 32.5377 56.0261 33.0361 55.4392 32.7275L48.3726 29.0124C48.1396 28.8899 47.8611 28.8898 47.6281 29.0124L40.5615 32.7275C39.9746 33.0361 39.2886 32.5377 39.4007 31.8842L40.7503 24.0154C40.7948 23.7559 40.7088 23.4911 40.5202 23.3073L34.8033 17.7346C34.3284 17.2718 34.5904 16.4654 35.2466 16.3701L43.1473 15.222C43.4079 15.1842 43.6331 15.0205 43.7497 14.7844L47.283 7.62515Z" fill="#D6D6D6"/>
389
- </svg>
390
- `
391
- },
392
- components: [
393
- {
394
- tag: 'Icon',
395
- advanced: {
396
- 'spacing-setting': {
397
- desktop: {
398
- margin: {
399
- bottom: 0
400
- }
401
- }
402
- }
403
- },
404
- settings: {
405
- isGoToSalesPage: true
406
- }
407
- }
408
- ]
409
345
  }
410
346
  ],
411
347
  rootOverride: {
@@ -2,20 +2,11 @@ import { makeStyleResponsive, getWidthByShapeGlobalSize, getHeightByShapeGlobalS
2
2
  import AdaptiveImage from './AdaptiveImage.liquid.js';
3
3
  import NextImage from './NextImage.liquid.js';
4
4
  import { getInsertLinkData } from '../../helpers.js';
5
- import { HREF_TO_SALES_PAGE } from '../../constants.js';
6
5
 
7
6
  const Image = ({ styles, className, setting, builderAttrs, builderProps, style, advanced, enableLazyloadImage = true })=>{
8
- const { imageLink, isNotLazyload, isGoToSalesPage } = setting ?? {};
9
- let { Wrap: WrapLink, urlData, shouldRenderLink } = getInsertLinkData('div', imageLink);
10
- if (isGoToSalesPage) {
11
- WrapLink = 'a';
12
- urlData = {
13
- href: HREF_TO_SALES_PAGE,
14
- target: '_self'
15
- };
16
- shouldRenderLink = true;
17
- }
7
+ const { imageLink, isNotLazyload } = setting ?? {};
18
8
  const { shape } = styles ?? {};
9
+ const { Wrap: WrapLink, urlData } = getInsertLinkData('div', imageLink);
19
10
  const overwriteDefaultRadius = (cornerRadius)=>{
20
11
  const radius = {
21
12
  ...cornerRadius
@@ -47,7 +38,7 @@ const Image = ({ styles, className, setting, builderAttrs, builderProps, style,
47
38
  >
48
39
  <${WrapLink}
49
40
  class="pointer-events-auto h-full gp-flex"
50
- ${shouldRenderLink ? {
41
+ ${imageLink?.link ? {
51
42
  ...urlData,
52
43
  title: setting?.title
53
44
  } : {}}
@@ -60,17 +60,6 @@ const config = {
60
60
  target: '_self'
61
61
  }
62
62
  },
63
- {
64
- id: 'isGoToSalesPage',
65
- type: 'toggle',
66
- label: 'Go to Sales page',
67
- default: false
68
- },
69
- {
70
- id: 'linkedToPreSalesPageBanner',
71
- type: 'banner-pre-sales-page',
72
- default: false
73
- },
74
63
  {
75
64
  id: 'seo',
76
65
  type: 'group',
@@ -401,37 +390,14 @@ const config = {
401
390
  ]
402
391
  },
403
392
  {
404
- type: 'group',
393
+ type: 'control',
405
394
  label: {
406
395
  en: 'Insert link'
407
396
  },
408
- controls: [
409
- {
410
- type: 'control',
411
- condition: 'pageType == "GP_PRE_SALE_PAGE"',
412
- setting: {
413
- id: 'linkedToPreSalesPageBanner'
414
- }
415
- },
416
- {
417
- type: 'control',
418
- condition: 'pageType == "GP_PRE_SALE_PAGE"',
419
- setting: {
420
- id: 'isGoToSalesPage'
421
- },
422
- label: {
423
- en: 'Go to Sales page'
424
- }
425
- },
426
- {
427
- type: 'control',
428
- condition: 'isGoToSalesPage === false || pageType != "GP_PRE_SALE_PAGE"',
429
- layout: 'vertical',
430
- setting: {
431
- id: 'imageLink'
432
- }
433
- }
434
- ]
397
+ setting: {
398
+ id: 'imageLink'
399
+ },
400
+ layout: 'vertical'
435
401
  },
436
402
  {
437
403
  type: 'group',
@@ -637,19 +603,19 @@ const config = {
637
603
  }
638
604
  },
639
605
  borderRadius: {
640
- btrr: '999999px',
641
- bblr: '999999px',
642
- bbrr: '999999px',
643
- btlr: '999999px',
644
- radiusType: 'custom'
606
+ btrr: "999999px",
607
+ bblr: "999999px",
608
+ bbrr: "999999px",
609
+ btlr: "999999px",
610
+ radiusType: "custom"
645
611
  },
646
612
  wrapperBorder: {
647
- borderType: 'none',
648
- border: 'none',
649
- width: '1px 1px 1px 1px',
650
- position: 'all',
651
- borderWidth: '1px',
652
- color: '#000000',
613
+ borderType: "none",
614
+ border: "none",
615
+ width: "1px 1px 1px 1px",
616
+ position: "all",
617
+ borderWidth: "1px",
618
+ color: "#000000",
653
619
  isCustom: true
654
620
  }
655
621
  },
@@ -667,163 +633,6 @@ const config = {
667
633
  }
668
634
  }
669
635
  ]
670
- },
671
- {
672
- id: 'image-pre-sales-page',
673
- name: {
674
- en: 'Image'
675
- },
676
- icon: {
677
- desktop: `
678
- <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
679
- <rect width="96" height="48" rx="3" fill="#424242"/>
680
- <circle cx="37" cy="17" r="3" fill="#D6D6D6"/>
681
- <path d="M32.42 30.9518L37.1407 25.1338C37.3005 24.9364 37.498 24.7768 37.7203 24.6653C37.9427 24.5538 38.1848 24.4929 38.431 24.4866C38.6772 24.4803 38.9218 24.5287 39.149 24.6287C39.3762 24.7288 39.5809 24.8781 39.7496 25.0671L41.957 27.5361L50.5857 16.6629C50.7546 16.4499 50.967 16.2797 51.2069 16.165C51.4469 16.0503 51.7083 15.9941 51.9718 16.0005C52.2352 16.0069 52.4939 16.0758 52.7285 16.202C52.9632 16.3283 53.1679 16.5086 53.3273 16.7297L63.6435 31.0236C63.8408 31.2976 63.9615 31.6242 63.9922 31.9666C64.0229 32.3089 63.9623 32.6535 63.8173 32.9616C63.6723 33.2697 63.4485 33.529 63.1712 33.7105C62.8939 33.8919 62.5741 33.9883 62.2476 33.9887L33.7537 34C33.4185 33.9999 33.0904 33.8986 32.8082 33.7082C32.526 33.5177 32.3014 33.2461 32.1611 32.9255C32.0208 32.6048 31.9706 32.2485 32.0165 31.8988C32.0624 31.549 32.2024 31.2204 32.42 30.9518Z" fill="#D6D6D6"/>
682
- </svg>
683
- `
684
- },
685
- components: [
686
- {
687
- tag: 'Image',
688
- advanced: {
689
- 'spacing-setting': {
690
- desktop: {
691
- margin: {
692
- bottom: 'var(--g-s-l)'
693
- }
694
- }
695
- },
696
- editorData: {
697
- cssPlaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
698
- }
699
- },
700
- settings: {
701
- isGoToSalesPage: true
702
- }
703
- }
704
- ],
705
- flowTagComponents: {
706
- Marquee: [
707
- {
708
- tag: 'Image',
709
- styles: {
710
- shape: {
711
- desktop: {
712
- width: 'auto',
713
- height: 'auto'
714
- }
715
- },
716
- enableBorder: 'none'
717
- },
718
- advanced: {
719
- 'spacing-setting': {
720
- desktop: {
721
- margin: {
722
- bottom: 'var(--g-s-l)'
723
- }
724
- }
725
- },
726
- editorData: {
727
- rootClassName: '{{rootClassName}}',
728
- css: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
729
- }
730
- },
731
- settings: {
732
- isNotLazyload: true
733
- }
734
- }
735
- ]
736
- }
737
- },
738
- {
739
- id: 'image-circle-pre-sales-page',
740
- name: {
741
- en: 'Image'
742
- },
743
- icon: {
744
- desktop: `
745
- <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
746
- <rect x="2" y="2" width="52" height="52" rx="26" fill="#424242"/>
747
- <ellipse cx="20.4375" cy="22.9688" rx="2.0625" ry="1.96875" fill="#F9F9F9"/>
748
- <path d="M17.2887 32.9997L20.5342 29.1816C20.6441 29.052 20.7799 28.9473 20.9327 28.8741C21.0856 28.8009 21.2521 28.761 21.4213 28.7568C21.5905 28.7527 21.7587 28.7845 21.915 28.8501C22.0712 28.9158 22.2118 29.0138 22.3278 29.1378L23.8454 30.758L29.7777 23.6225C29.8938 23.4827 30.0398 23.371 30.2048 23.2958C30.3697 23.2205 30.5495 23.1836 30.7306 23.1878C30.9117 23.192 31.0895 23.2372 31.2509 23.3201C31.4122 23.4029 31.5529 23.5213 31.6625 23.6663L38.7549 33.0467C38.8905 33.2266 38.9735 33.4409 38.9947 33.6656C39.0158 33.8902 38.9741 34.1164 38.8744 34.3186C38.7747 34.5207 38.6209 34.6909 38.4302 34.81C38.2396 34.9291 38.0197 34.9923 37.7952 34.9926L18.2057 35C17.9753 34.9999 17.7497 34.9334 17.5557 34.8085C17.3616 34.6835 17.2072 34.5053 17.1108 34.2948C17.0143 34.0844 16.9798 33.8506 17.0113 33.6211C17.0429 33.3915 17.1391 33.1759 17.2887 32.9997Z" fill="#F9F9F9"/>
749
- </svg>
750
- `
751
- },
752
- components: [
753
- {
754
- tag: 'Image',
755
- settings: {
756
- imageStyle: 'circle',
757
- isGoToSalesPage: true
758
- },
759
- styles: {
760
- shape: {
761
- desktop: {
762
- shape: 'square',
763
- shapeValue: '1/1',
764
- width: '80px',
765
- shapeLinked: true
766
- }
767
- },
768
- borderRadius: {
769
- btrr: '999999px',
770
- bblr: '999999px',
771
- bbrr: '999999px',
772
- btlr: '999999px',
773
- radiusType: 'custom'
774
- },
775
- wrapperBorder: {
776
- borderType: 'none',
777
- border: 'none',
778
- width: '1px 1px 1px 1px',
779
- position: 'all',
780
- borderWidth: '1px',
781
- color: '#000000',
782
- isCustom: true
783
- }
784
- },
785
- advanced: {
786
- 'spacing-setting': {
787
- desktop: {
788
- margin: {
789
- bottom: 'var(--g-s-l)'
790
- }
791
- }
792
- },
793
- editorData: {
794
- cssplaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
795
- }
796
- }
797
- }
798
- ],
799
- rootOverride: {
800
- styles: {
801
- shape: {
802
- desktop: {
803
- shape: 'square',
804
- shapeValue: '1/1',
805
- width: '80px',
806
- shapeLinked: true
807
- }
808
- },
809
- borderRadius: {
810
- btrr: '999999px',
811
- bblr: '999999px',
812
- bbrr: '999999px',
813
- btlr: '999999px',
814
- radiusType: 'custom'
815
- }
816
- },
817
- advanced: {
818
- 'spacing-setting': {
819
- desktop: {
820
- margin: {
821
- bottom: 0
822
- }
823
- }
824
- }
825
- }
826
- }
827
636
  }
828
637
  ],
829
638
  rootOverride: {
@@ -119,12 +119,7 @@ const ProductFeaturedImageCarousel = ({ builderPropUID, children, enableLazyload
119
119
  return template`
120
120
  {% assign src = featureMedia.src %}
121
121
  ${hasHoverEffect && setting.hoverEffect == 'other' ? `
122
- {% assign media_length = product.media | size %}
123
- {% assign other_image_index = ${setting.otherImage} | plus: 0 %}
124
- {% if other_image_index >= media_length %}
125
- {% assign other_image_index = media_length | minus: 1 %}
126
- {% endif %}
127
- {% assign otherImage = product.media[other_image_index] %}
122
+ {% assign otherImage = product.media[${setting.otherImage}] %}
128
123
  {% assign src = otherImage.src %}
129
124
  {% if otherImage.media_type != 'image' %}
130
125
  {% assign src = otherImage.preview_image.src %}
@@ -68,28 +68,23 @@ const productFeatureImageSetting = [
68
68
  {
69
69
  id: 'otherImage',
70
70
  label: 'Other image',
71
- type: 'dropdown:input',
72
- inputType: 'number',
73
- useOnlyUnitInit: true,
74
- hideUnit: true,
75
- isReturnNumber: true,
76
- isIndexValue: true,
77
- displayOptions: [
71
+ type: 'select',
72
+ options: [
78
73
  {
79
74
  label: 'Image 1',
80
- value: 1
75
+ value: 0
81
76
  },
82
77
  {
83
78
  label: 'Image 2',
84
- value: 2
79
+ value: 1
85
80
  },
86
81
  {
87
82
  label: 'Image 3',
88
- value: 3
83
+ value: 2
89
84
  },
90
85
  {
91
86
  label: 'Image 4',
92
- value: 4
87
+ value: 3
93
88
  },
94
89
  {
95
90
  label: 'Last image',
@@ -117,7 +117,6 @@ type ButtonProps = MixedProps$6 & BasePropsWrap<{
117
117
  translate?: string;
118
118
  /** SVG icon */
119
119
  iconSvg?: string;
120
- isGoToSalesPage?: boolean;
121
120
  btnLink?: {
122
121
  link?: string;
123
122
  target?: string;
@@ -133,7 +132,6 @@ type ButtonProps = MixedProps$6 & BasePropsWrap<{
133
132
  shouldClearSpace?: boolean;
134
133
  disabledLoading?: boolean;
135
134
  innerBorder?: boolean;
136
- linkedToPreSalesPageBanner?: boolean;
137
135
  }, {
138
136
  type?: 'primary' | 'secondary';
139
137
  /** */
@@ -450,9 +448,6 @@ type ImageSetting$1 = Pick<NextImageProps, 'priority' | 'quality' | 'vw'> & Pick
450
448
  };
451
449
  hoverEffect?: string;
452
450
  isNotLazyload?: boolean;
453
- disableNoDataState?: boolean;
454
- isGoToSalesPage?: boolean;
455
- linkedToPreSalesPageBanner?: boolean;
456
451
  } & Pick<AdaptiveImageProps, 'srcSet'>;
457
452
  type ImageStyleSetting$1 = {
458
453
  shape?: ObjectDevices<SizeSettingGlobal>;
@@ -986,8 +981,6 @@ type IconProps$1 = {
986
981
  target?: string;
987
982
  title?: string;
988
983
  };
989
- isGoToSalesPage?: boolean;
990
- linkedToPreSalesPageBanner?: boolean;
991
984
  }, {
992
985
  /**
993
986
  Set height icon
@@ -3619,8 +3612,6 @@ type Setting$6 = {
3619
3612
  title?: string;
3620
3613
  aspectRatio?: ObjectDevices<string>;
3621
3614
  ratioOptions?: ObjectDevices<Ratio>;
3622
- isGoToSalesPage?: boolean;
3623
- linkedToPreSalesPageBanner?: boolean;
3624
3615
  } & Pick<NonNullable<RowProps$1['setting']>, 'layout' | 'horizontalAlign'>;
3625
3616
  type Styles$2 = {
3626
3617
  height?: ObjectDevices<string>;
@@ -5463,7 +5454,6 @@ declare const Coupon: ({ setting, builderProps, builderAttrs, style, styles, adv
5463
5454
  label?: React.ReactNode;
5464
5455
  translate?: string | undefined;
5465
5456
  iconSvg?: string | undefined;
5466
- isGoToSalesPage?: boolean | undefined;
5467
5457
  btnLink?: {
5468
5458
  link?: string | undefined;
5469
5459
  target?: string | undefined;
@@ -5477,7 +5467,6 @@ declare const Coupon: ({ setting, builderProps, builderAttrs, style, styles, adv
5477
5467
  shouldClearSpace?: boolean | undefined;
5478
5468
  disabledLoading?: boolean | undefined;
5479
5469
  innerBorder?: boolean | undefined;
5480
- linkedToPreSalesPageBanner?: boolean | undefined;
5481
5470
  }, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
5482
5471
  type?: "primary" | "secondary" | undefined;
5483
5472
  roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
@@ -5570,7 +5559,6 @@ type IconProps = {
5570
5559
  target?: string;
5571
5560
  title?: string;
5572
5561
  };
5573
- isGoToSalesPage?: boolean;
5574
5562
  }, {
5575
5563
  /**
5576
5564
  Set height icon
@@ -5732,7 +5720,6 @@ declare const ProductButton: ({ setting, builderProps, builderAttrs, style, styl
5732
5720
  label?: React.ReactNode;
5733
5721
  translate?: string | undefined;
5734
5722
  iconSvg?: string | undefined;
5735
- isGoToSalesPage?: boolean | undefined;
5736
5723
  btnLink?: {
5737
5724
  link?: string | undefined;
5738
5725
  target?: string | undefined;
@@ -5746,7 +5733,6 @@ declare const ProductButton: ({ setting, builderProps, builderAttrs, style, styl
5746
5733
  shouldClearSpace?: boolean | undefined;
5747
5734
  disabledLoading?: boolean | undefined;
5748
5735
  innerBorder?: boolean | undefined;
5749
- linkedToPreSalesPageBanner?: boolean | undefined;
5750
5736
  }, "iconSvg" | "iconAlign" | "iconVisible">, {
5751
5737
  type?: "primary" | "secondary" | undefined;
5752
5738
  roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
@@ -5905,7 +5891,6 @@ declare const DynamicCheckout: ({ builderProps, styles, advanced, setting, pageC
5905
5891
  label?: React.ReactNode;
5906
5892
  translate?: string | undefined;
5907
5893
  iconSvg?: string | undefined;
5908
- isGoToSalesPage?: boolean | undefined;
5909
5894
  btnLink?: {
5910
5895
  link?: string | undefined;
5911
5896
  target?: string | undefined;
@@ -5919,7 +5904,6 @@ declare const DynamicCheckout: ({ builderProps, styles, advanced, setting, pageC
5919
5904
  shouldClearSpace?: boolean | undefined;
5920
5905
  disabledLoading?: boolean | undefined;
5921
5906
  innerBorder?: boolean | undefined;
5922
- linkedToPreSalesPageBanner?: boolean | undefined;
5923
5907
  }, "iconSvg" | "iconAlign" | "iconVisible">, {
5924
5908
  type?: "primary" | "secondary" | undefined;
5925
5909
  roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
@@ -5999,7 +5983,6 @@ declare const ProductViewMore: ({ setting, builderProps, builderAttrs, style, st
5999
5983
  label?: React.ReactNode;
6000
5984
  translate?: string | undefined;
6001
5985
  iconSvg?: string | undefined;
6002
- isGoToSalesPage?: boolean | undefined;
6003
5986
  btnLink?: {
6004
5987
  link?: string | undefined;
6005
5988
  target?: string | undefined;
@@ -6013,7 +5996,6 @@ declare const ProductViewMore: ({ setting, builderProps, builderAttrs, style, st
6013
5996
  shouldClearSpace?: boolean | undefined;
6014
5997
  disabledLoading?: boolean | undefined;
6015
5998
  innerBorder?: boolean | undefined;
6016
- linkedToPreSalesPageBanner?: boolean | undefined;
6017
5999
  }, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
6018
6000
  type?: "primary" | "secondary" | undefined;
6019
6001
  roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
@@ -6338,9 +6320,6 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
6338
6320
  } | undefined;
6339
6321
  hoverEffect?: string | undefined;
6340
6322
  isNotLazyload?: boolean | undefined;
6341
- disableNoDataState?: boolean | undefined;
6342
- isGoToSalesPage?: boolean | undefined;
6343
- linkedToPreSalesPageBanner?: boolean | undefined;
6344
6323
  } & Pick<AdaptiveImageProps, "srcSet">, {
6345
6324
  shape?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.SizeSettingGlobal>> | undefined;
6346
6325
  customAspectRadio?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.Ratio>> | undefined;
@@ -6443,8 +6422,6 @@ declare const HeroBanner: ({ builderAttrs, builderProps, setting, styles, style,
6443
6422
  title?: string | undefined;
6444
6423
  aspectRatio?: Partial<Record<NameDevices, string>> | undefined;
6445
6424
  ratioOptions?: Partial<Record<NameDevices, _gem_sdk_core.Ratio>> | undefined;
6446
- isGoToSalesPage?: boolean | undefined;
6447
- linkedToPreSalesPageBanner?: boolean | undefined;
6448
6425
  } & Pick<{
6449
6426
  responsive?: Partial<Record<NameDevices, string>> | undefined;
6450
6427
  layout?: Partial<Record<NameDevices, _gem_sdk_core.ObjectLayoutValue>> | undefined;
@@ -6571,7 +6548,6 @@ declare const SubmitButton: ({ setting, builderProps, builderAttrs, style, style
6571
6548
  label?: React.ReactNode;
6572
6549
  translate?: string | undefined;
6573
6550
  iconSvg?: string | undefined;
6574
- isGoToSalesPage?: boolean | undefined;
6575
6551
  btnLink?: {
6576
6552
  link?: string | undefined;
6577
6553
  target?: string | undefined;
@@ -6585,7 +6561,6 @@ declare const SubmitButton: ({ setting, builderProps, builderAttrs, style, style
6585
6561
  shouldClearSpace?: boolean | undefined;
6586
6562
  disabledLoading?: boolean | undefined;
6587
6563
  innerBorder?: boolean | undefined;
6588
- linkedToPreSalesPageBanner?: boolean | undefined;
6589
6564
  }, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
6590
6565
  type?: "primary" | "secondary" | undefined;
6591
6566
  roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.5.3-staging.3",
3
+ "version": "2.5.3",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -21,7 +21,7 @@
21
21
  "format": "prettier --write \"./src/**/*.{ts,tsx}\""
22
22
  },
23
23
  "devDependencies": {
24
- "@gem-sdk/core": "2.5.3-staging.1",
24
+ "@gem-sdk/core": "2.4.11",
25
25
  "@gem-sdk/styles": "2.4.8",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },