@thryveai/theme-interfaces 2.7.51 → 2.7.53

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.
@@ -1,4 +1,4 @@
1
- import { IDefaultCounty, IValidationType, LinkTarget } from "./retailer-settings.interfaces";
1
+ import { IDefaultCounty, IDefaultExternal, IValidationType, LinkTarget } from "./retailer-settings.interfaces";
2
2
  import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
3
3
  import { IDefaultRetailerSettingsVersion2 } from "./default-settings.interfaces";
4
4
  import { IThemeImages } from "./theme.interfaces";
@@ -33,6 +33,7 @@ export interface IAdminControl<T> {
33
33
  message?: IMessageProps;
34
34
  helpLink?: string;
35
35
  options?: string[] | number[] | Object[] | IDefaultCounty[] | IValidationType[] | IImageRequiredFormat | LinkTarget;
36
+ uniqueOptions?: IDefaultExternal["provider"][];
36
37
  value?: ITemplateObject<T>;
37
38
  optional?: boolean;
38
39
  }
@@ -480,6 +480,7 @@ export interface IRegistrationField {
480
480
  placeholder: string;
481
481
  designVersion: IRegistrationFieldTypes;
482
482
  validationTypes: IValidationType[];
483
+ alwaysVisible?: boolean;
483
484
  editable?: boolean;
484
485
  }
485
486
  export interface ICheckoutValidation {
@@ -659,22 +659,28 @@ exports.AdminSettingsTemplateSFUI = {
659
659
  },
660
660
  },
661
661
  pdpSettings: {
662
- title: "Product Details Page Settings",
663
- description: "Display enhanced product content on the product details page",
662
+ title: "Products",
663
+ description: "",
664
664
  type: exports.AdminTemplateInputTypes.collapsableObject,
665
665
  value: {
666
666
  externalContent: {
667
- title: "External Content",
668
- description: "Allows the user to modify control priority of rich content that is displayed.",
667
+ title: "External content",
668
+ description: "",
669
+ message: {
670
+ caption: [
671
+ "Display enhanced product content on the product details page.",
672
+ "You can change the order providers that the content will appear in.",
673
+ ],
674
+ },
669
675
  type: exports.AdminTemplateInputTypes.collapsableObject,
670
676
  value: {
671
677
  enabled: {
672
- title: "Enable External Content",
673
- description: "Allows the user to enable/disable external content setting",
678
+ title: "Enable external content providers",
679
+ description: "This will display any available content from the providers listed below on the product details page.",
674
680
  type: exports.AdminTemplateInputTypes.checkbox,
675
681
  },
676
682
  contentProviders: {
677
- title: "Content Providers of External Content",
683
+ title: "",
678
684
  description: "Allows the user to give the priority of showing content",
679
685
  type: exports.AdminTemplateInputTypes.array,
680
686
  value: {
@@ -682,7 +688,7 @@ exports.AdminSettingsTemplateSFUI = {
682
688
  title: "Content Provider of External Content",
683
689
  description: "Allows the user to give type of provider",
684
690
  type: exports.AdminTemplateInputTypes.dropdown,
685
- options: ["syndigo", "brandbank"],
691
+ uniqueOptions: ["syndigo", "brandbank"],
686
692
  },
687
693
  },
688
694
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.51",
3
+ "version": "2.7.53",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",