@gem-sdk/core 1.58.0-staging.59 → 1.58.0-staging.63

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.
@@ -99,7 +99,14 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
99
99
  {
100
100
  return {
101
101
  ...currentSetting,
102
- ['show-views']: appSetting?.showViews
102
+ 'show-views': appSetting?.showViews,
103
+ heading: appSetting?.heading,
104
+ 'template-type': appSetting?.templateType,
105
+ 'title-font-size': parseFloat(appSetting?.titleFontSize),
106
+ 'landscape-padding': parseFloat(appSetting?.landscapePadding),
107
+ 'top-bottom-padding': parseFloat(appSetting?.topBottomPadding),
108
+ 'scroll-video-tile-size': parseFloat(appSetting?.scrollVideoTitleSize),
109
+ 'scroll-video-tile-size-portrait': parseFloat(appSetting?.scrollVideoTitleSizePortrait)
103
110
  };
104
111
  }
105
112
  case 'KachingBundles':
@@ -12,7 +12,7 @@ const listThirdPartyRejectAppBlock = {
12
12
  }
13
13
  };
14
14
  const getAppBlockConfig = (tag, appBlockId, settings)=>{
15
- if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag].conditionToReject)) {
15
+ if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]?.conditionToReject ?? '')) {
16
16
  return;
17
17
  }
18
18
  let widgetType = settings?.widgetType;
@@ -97,7 +97,14 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
97
97
  {
98
98
  return {
99
99
  ...currentSetting,
100
- ['show-views']: appSetting?.showViews
100
+ 'show-views': appSetting?.showViews,
101
+ heading: appSetting?.heading,
102
+ 'template-type': appSetting?.templateType,
103
+ 'title-font-size': parseFloat(appSetting?.titleFontSize),
104
+ 'landscape-padding': parseFloat(appSetting?.landscapePadding),
105
+ 'top-bottom-padding': parseFloat(appSetting?.topBottomPadding),
106
+ 'scroll-video-tile-size': parseFloat(appSetting?.scrollVideoTitleSize),
107
+ 'scroll-video-tile-size-portrait': parseFloat(appSetting?.scrollVideoTitleSizePortrait)
101
108
  };
102
109
  }
103
110
  case 'KachingBundles':
@@ -10,7 +10,7 @@ const listThirdPartyRejectAppBlock = {
10
10
  }
11
11
  };
12
12
  const getAppBlockConfig = (tag, appBlockId, settings)=>{
13
- if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag].conditionToReject)) {
13
+ if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]?.conditionToReject ?? '')) {
14
14
  return;
15
15
  }
16
16
  let widgetType = settings?.widgetType;
@@ -7253,7 +7253,7 @@ type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gall
7253
7253
  type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
7254
7254
  type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
7255
7255
  type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
7256
- type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
7256
+ type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match' | 'classic-bundle';
7257
7257
  type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
7258
7258
  type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
7259
7259
  type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.58.0-staging.59",
3
+ "version": "1.58.0-staging.63",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gem-sdk/adapter-shopify": "1.57.15-staging.0",
31
- "@gem-sdk/styles": "1.58.0-staging.58",
31
+ "@gem-sdk/styles": "1.58.0-staging.61",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {