@thryveai/theme-interfaces 2.7.148 → 2.7.150

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.
@@ -38,7 +38,7 @@ export interface IRetailerSettings {
38
38
  documentTitle?: string;
39
39
  eircode?: string | null;
40
40
  enable3dSecure?: boolean;
41
- enableGoogleTranslate?: boolean;
41
+ googleTranslateWidget?: IGoogleTranslateWidget;
42
42
  enableNewsletterSignup?: boolean;
43
43
  enableNotifications?: boolean;
44
44
  enableRecipeSearch?: boolean;
@@ -85,7 +85,7 @@ export interface IRetailerSettings {
85
85
  secondTierAuthorization?: ISecondTierAuthorization;
86
86
  showCheckoutPromoCode?: boolean;
87
87
  showImgOnOrder?: boolean;
88
- showRewardPromoChangeTimeslotMsg: boolean;
88
+ showRewardPromoChangeTimeslotMsg?: boolean;
89
89
  siteSettings?: ISiteSettings;
90
90
  smartBanner?: ISmartBanner;
91
91
  smsNotifications?: ISMSConfig;
@@ -363,7 +363,7 @@ export interface IFeaturesV2 {
363
363
  advertSettings: IAdvertSettings;
364
364
  ebtPayments: boolean;
365
365
  emailCartOrShoppingList: IEmailCartOrShoppingList;
366
- enableGoogleTranslate?: boolean;
366
+ googleTranslateWidget: IGoogleTranslateWidget;
367
367
  enableNewsletterSignup: boolean;
368
368
  enableNotifications: boolean;
369
369
  enableRecipeSearch: boolean;
@@ -390,6 +390,10 @@ export interface IFeaturesV2 {
390
390
  gsaSupportedBrowser: boolean;
391
391
  acquiaAuthService: boolean;
392
392
  }
393
+ export interface IGoogleTranslateWidget {
394
+ enabled: boolean;
395
+ position: "header" | "footer";
396
+ }
393
397
  export interface IPdpSettingsV2 {
394
398
  externalContent: IExternalContentProps;
395
399
  nutritionZone: INutritionZone;
@@ -554,19 +554,19 @@ exports.AdminSettingsTemplateSFUI = {
554
554
  type: exports.AdminTemplateInputTypes.collapsableObject,
555
555
  value: {
556
556
  pdp: {
557
- title: "Disable product details page messaging",
557
+ title: "Disable product details page messaging for alcohol",
558
558
  description: "This will hide the alcohol shopping rule messaging in the Storefront product details page for items containing alcohol.",
559
559
  type: exports.AdminTemplateInputTypes.checkbox,
560
560
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
561
561
  },
562
562
  modal: {
563
- title: "Disable warning modal",
563
+ title: "Disable alcohol warning modal",
564
564
  description: "This will hide the alcohol shopping rule warning modal when an item containing alcohol is added to the cart.",
565
565
  type: exports.AdminTemplateInputTypes.checkbox,
566
566
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
567
567
  },
568
568
  productCard: {
569
- title: "Disable product card messaging",
569
+ title: "Disable product card messaging for alcohol",
570
570
  description: "This will hide the alcohol shopping rule messaging in the Storefront product card for items containing alcohol.",
571
571
  type: exports.AdminTemplateInputTypes.checkbox,
572
572
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
@@ -127,7 +127,7 @@ var DefaultConfigSFUI = {
127
127
  },
128
128
  ebtPayments: false,
129
129
  emailCartOrShoppingList: { enabled: false, messageField: false },
130
- enableGoogleTranslate: false,
130
+ googleTranslateWidget: { enabled: false, position: "footer" },
131
131
  enableNewsletterSignup: false,
132
132
  enableNotifications: false,
133
133
  enableRecipeSearch: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.148",
3
+ "version": "2.7.150",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",