@thryveai/theme-interfaces 2.8.39 → 2.8.41
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.
- package/dist/JSONSchemas/index.d.ts +73 -31
- package/dist/JSONSchemas/index.js +125 -83
- package/dist/interfaces/retailer-settings.interfaces.d.ts +12 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +10 -5
- package/dist/storefront/commonSettingsStorefront.js +11 -0
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +11 -0
- package/package.json +1 -1
|
@@ -464,8 +464,20 @@ interface ICategoryDocumentTitle {
|
|
|
464
464
|
categoryLevels: number;
|
|
465
465
|
delimiter: string;
|
|
466
466
|
}
|
|
467
|
+
export interface ICMSSettings {
|
|
468
|
+
productCardStory: {
|
|
469
|
+
imageSpaceRatios: {
|
|
470
|
+
"30": string;
|
|
471
|
+
"40": string;
|
|
472
|
+
"50": string;
|
|
473
|
+
"60": string;
|
|
474
|
+
"70": string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
}
|
|
467
478
|
export interface ISiteSettingsV2 {
|
|
468
479
|
clientSideOrderModify: boolean;
|
|
480
|
+
cms: ICMSSettings;
|
|
469
481
|
cookiePro: ICookiePro;
|
|
470
482
|
anonymousCart: boolean;
|
|
471
483
|
ctaButtons: ICtaButtons | null | undefined;
|
|
@@ -771,8 +771,8 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
771
771
|
},
|
|
772
772
|
},
|
|
773
773
|
productCard: {
|
|
774
|
-
title: "Product Card
|
|
775
|
-
description: "Configure
|
|
774
|
+
title: "Product Card V2",
|
|
775
|
+
description: "Configure layouts and settings for Product card V2",
|
|
776
776
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
777
777
|
value: {
|
|
778
778
|
productCards: {
|
|
@@ -785,14 +785,19 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
785
785
|
description: "",
|
|
786
786
|
type: exports.AdminTemplateInputTypes.nullObject,
|
|
787
787
|
value: {
|
|
788
|
+
enabled: {
|
|
789
|
+
title: "Enable Product card V2",
|
|
790
|
+
description: "",
|
|
791
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
792
|
+
},
|
|
788
793
|
layouts: {
|
|
789
794
|
title: "",
|
|
790
795
|
description: "",
|
|
791
796
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
792
797
|
value: {
|
|
793
798
|
ContainersGrid: {
|
|
794
|
-
title: "
|
|
795
|
-
description: "Product card used in
|
|
799
|
+
title: "Product Grid",
|
|
800
|
+
description: "Product card used in product listing pages, search results, category pages",
|
|
796
801
|
type: exports.AdminTemplateInputTypes
|
|
797
802
|
.collapsableObjectWithRadio,
|
|
798
803
|
options: [
|
|
@@ -803,7 +808,7 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
803
808
|
],
|
|
804
809
|
},
|
|
805
810
|
ContainersCarousel: {
|
|
806
|
-
title: "
|
|
811
|
+
title: "Carousels",
|
|
807
812
|
description: "Product card used in carousels and horizontal scrolling sections",
|
|
808
813
|
type: exports.AdminTemplateInputTypes
|
|
809
814
|
.collapsableObjectWithRadio,
|
|
@@ -312,6 +312,17 @@ var CommonConfigSFUI = {
|
|
|
312
312
|
siteSettings: {
|
|
313
313
|
advertProductView: false,
|
|
314
314
|
clientSideOrderModify: true,
|
|
315
|
+
cms: {
|
|
316
|
+
productCardStory: {
|
|
317
|
+
imageSpaceRatios: {
|
|
318
|
+
"30": "3/4.5",
|
|
319
|
+
"40": "1/1",
|
|
320
|
+
"50": "5/4",
|
|
321
|
+
"60": "6/3.5",
|
|
322
|
+
"70": "9/5",
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
},
|
|
315
326
|
cmsLazyLoadRows: 0,
|
|
316
327
|
anonymousCart: false,
|
|
317
328
|
ctaButtons: null,
|