@thryveai/theme-interfaces 2.7.84 → 2.7.86

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.
@@ -56,7 +56,7 @@ export interface IAdminSettingsTemplateSTS {
56
56
  customTermPolicy: IAdminControl<string>;
57
57
  gtmId: IAdminControl<string>;
58
58
  }
59
- export declare type IAdminImagesTemplateSTS = ITemplateObject<IPartialKeys<Pick<IThemeImages, "logos" | "stsCheckBox" | "stsFavicon">>>;
59
+ export declare type IAdminImagesTemplateSTS = ITemplateObject<IPartialKeys<Pick<IThemeImages, "logos" | "stsCheckBox" | "stsFavicon" | "banner">>>;
60
60
  export declare type IAdminImagesTemplateSFUI = ITemplateObject<IPartialKeys<IThemeImages>>;
61
61
  export declare type IAdminThemeTemplateSFUI = ITemplateObject<IPartialKeys<Pick<IDefaultThemeInterface, "colors">>>;
62
62
  export interface IAdminThemeTemplateOptions {
@@ -111,6 +111,7 @@ export interface ISiteSettings {
111
111
  export interface IVouchers {
112
112
  enabled: boolean;
113
113
  reCaptcha: boolean;
114
+ manualVouchers: boolean;
114
115
  }
115
116
  export interface IPromotionCalculator {
116
117
  bundlePromotionCalculator: boolean;
@@ -38,6 +38,7 @@ export interface IThemeImages {
38
38
  loyaltyCard?: string;
39
39
  sts?: string;
40
40
  stsMobile?: string;
41
+ stsAlt?: string;
41
42
  };
42
43
  stsCheckBox?: {
43
44
  empty?: string;
@@ -180,6 +180,7 @@ var DefaultConfigSFUI = {
180
180
  vouchers: {
181
181
  enabled: false,
182
182
  reCaptcha: false,
183
+ manualVouchers: true,
183
184
  },
184
185
  promotionDetailsPage: {
185
186
  bundlePromotionCalculator: true,
@@ -18,6 +18,28 @@ exports.AdminImagesTemplateSTS = {
18
18
  description: "This is the logo used on mobile in the sts app",
19
19
  type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.images,
20
20
  },
21
+ stsAlt: {
22
+ title: "STS Logo Alt text",
23
+ description: "Alternative text for an image if it is not displayed, or if the user uses a screen reader",
24
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
25
+ },
26
+ },
27
+ },
28
+ banner: {
29
+ title: "STS Banner Image",
30
+ description: "Set optional STS Banner image",
31
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
32
+ value: {
33
+ src: {
34
+ title: "STS Banner Image URL",
35
+ description: "This is the Banner logo used in the sts app",
36
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
37
+ },
38
+ alt: {
39
+ title: "STS Banner Image Alt text",
40
+ description: "Alternative text for an image if it is not displayed, or if the user uses a screen reader",
41
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
42
+ },
21
43
  },
22
44
  },
23
45
  stsFavicon: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.84",
3
+ "version": "2.7.86",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",
@@ -26,4 +26,4 @@
26
26
  "ts-node": "^10.8.1",
27
27
  "typescript": "4.6.3"
28
28
  }
29
- }
29
+ }