@gem-sdk/core 1.53.0-staging.11 → 1.53.0-staging.16

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.
@@ -108,6 +108,12 @@ const PreorderNowWodPresaleConfig = {
108
108
  appId: 'fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6'
109
109
  }
110
110
  };
111
+ const YotpoReviewsV3UgcConfig = {
112
+ YotpoReviews: {
113
+ appName: 'yotpo-product-reviews-ugc',
114
+ appId: 'eb7dfd7d-db44-4334-bc49-c893b51b36cf'
115
+ }
116
+ };
111
117
 
112
118
  exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
113
119
  exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
@@ -127,3 +133,4 @@ exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
127
133
  exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
128
134
  exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
129
135
  exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
136
+ exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
@@ -197,6 +197,16 @@ const PreorderNowWodPresale = {
197
197
  'popups-block': null
198
198
  }
199
199
  };
200
+ const YotpoReviews = {
201
+ YotpoReviews: {
202
+ reviews: {
203
+ product: '{{ product }}'
204
+ },
205
+ 'star-rating': {
206
+ product: '{{ product }}'
207
+ }
208
+ }
209
+ };
200
210
  const composeSettingsByWidgetType = {
201
211
  ...JunipProductReviewsUgc,
202
212
  ...FlyBundlesUpsellsFbt,
@@ -215,7 +225,8 @@ const composeSettingsByWidgetType = {
215
225
  ...RechargeSubscriptions,
216
226
  ...LoyaltyRewardsReferrals,
217
227
  ...SubifySubscriptions,
218
- ...SelleasyWidget
228
+ ...SelleasyWidget,
229
+ ...YotpoReviews
219
230
  };
220
231
 
221
232
  exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
@@ -20,7 +20,8 @@ const mapShopifyAppMeta = {
20
20
  ...appConfig.PreorderNowPreOrderPqConfig,
21
21
  ...appConfig.FlyBundlesUpsellsFbtConfig,
22
22
  ...appConfig.JunipProductReviewsUgcConfig,
23
- ...appConfig.PreorderNowWodPresaleConfig
23
+ ...appConfig.PreorderNowWodPresaleConfig,
24
+ ...appConfig.YotpoReviewsV3UgcConfig
24
25
  };
25
26
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
26
27
 
@@ -58,6 +58,7 @@ const useInitialSwatchesOptions = (options)=>{
58
58
  }), '*');
59
59
  changeSwatches(swatches);
60
60
  }
61
+ swatchChange = false;
61
62
  };
62
63
  const getColorDefault = (label, color)=>{
63
64
  const colorByLabel = label ? variantPresets.colorPreset[label.toLocaleLowerCase()] : undefined;
@@ -106,5 +106,11 @@ const PreorderNowWodPresaleConfig = {
106
106
  appId: 'fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6'
107
107
  }
108
108
  };
109
+ const YotpoReviewsV3UgcConfig = {
110
+ YotpoReviews: {
111
+ appName: 'yotpo-product-reviews-ugc',
112
+ appId: 'eb7dfd7d-db44-4334-bc49-c893b51b36cf'
113
+ }
114
+ };
109
115
 
110
- export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
116
+ export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, YotpoReviewsV3UgcConfig };
@@ -195,6 +195,16 @@ const PreorderNowWodPresale = {
195
195
  'popups-block': null
196
196
  }
197
197
  };
198
+ const YotpoReviews = {
199
+ YotpoReviews: {
200
+ reviews: {
201
+ product: '{{ product }}'
202
+ },
203
+ 'star-rating': {
204
+ product: '{{ product }}'
205
+ }
206
+ }
207
+ };
198
208
  const composeSettingsByWidgetType = {
199
209
  ...JunipProductReviewsUgc,
200
210
  ...FlyBundlesUpsellsFbt,
@@ -213,7 +223,8 @@ const composeSettingsByWidgetType = {
213
223
  ...RechargeSubscriptions,
214
224
  ...LoyaltyRewardsReferrals,
215
225
  ...SubifySubscriptions,
216
- ...SelleasyWidget
226
+ ...SelleasyWidget,
227
+ ...YotpoReviews
217
228
  };
218
229
 
219
230
  export { composeSettingsByWidgetType, overrideSettings };
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -18,7 +18,8 @@ const mapShopifyAppMeta = {
18
18
  ...PreorderNowPreOrderPqConfig,
19
19
  ...FlyBundlesUpsellsFbtConfig,
20
20
  ...JunipProductReviewsUgcConfig,
21
- ...PreorderNowWodPresaleConfig
21
+ ...PreorderNowWodPresaleConfig,
22
+ ...YotpoReviewsV3UgcConfig
22
23
  };
23
24
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
24
25
 
@@ -54,6 +54,7 @@ const useInitialSwatchesOptions = (options)=>{
54
54
  }), '*');
55
55
  changeSwatches(swatches);
56
56
  }
57
+ swatchChange = false;
57
58
  };
58
59
  const getColorDefault = (label, color)=>{
59
60
  const colorByLabel = label ? colorPreset[label.toLocaleLowerCase()] : undefined;
@@ -6913,7 +6913,7 @@ type InstantKlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget
6913
6913
  type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gallery' | 'wall-photos' | 'site-badge' | 'instagram-feed' | 'checkout-reviews' | 'single-highlight' | 'top-rated' | 'badge-single' | 'badge-double' | 'badge-ribbon' | 'product-rating';
6914
6914
  type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
6915
6915
  type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
6916
- type YotpoReviewsWidgetType = 'reviews' | 'badge' | 'reviewHighlights';
6916
+ type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
6917
6917
  type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
6918
6918
  type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
6919
6919
  type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.53.0-staging.11",
3
+ "version": "1.53.0-staging.16",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",