@thryveai/theme-interfaces 2.7.96 → 2.7.97

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.
@@ -429,6 +429,7 @@ export interface ISiteSettingsV2 {
429
429
  showCartValueOnMobile: boolean;
430
430
  scrollToTopButton: IScrollToTopButton;
431
431
  clientRenderCoupons: boolean;
432
+ showShopAllLink: boolean;
432
433
  }
433
434
  export interface IHeaderLinksLayout {
434
435
  enabled: boolean;
@@ -1,7 +1,7 @@
1
1
  import { IAdminOnlyV2 } from "./retailer-settings.interfaces";
2
2
  export interface ISharedSettings {
3
3
  features: ISharedFeatures;
4
- checkoutPage: ISharedCheckout;
4
+ checkout: ISharedCheckout;
5
5
  general: ISharedGeneral;
6
6
  adminPanelOnly: IAdminOnlyV2;
7
7
  }
@@ -9,11 +9,10 @@ export interface ISharedFeatures {
9
9
  specialRequestItems: ISpecialRequestItems;
10
10
  }
11
11
  export interface ISharedCheckout {
12
- checkoutStepContact: {
13
- persistOrderNote: {
14
- checkboxLabel: boolean;
15
- };
16
- };
12
+ preserveOrderNote: IOrderInstructions;
13
+ }
14
+ interface IOrderInstructions {
15
+ enabled: boolean;
17
16
  }
18
17
  export interface ISpecialRequestItems {
19
18
  enable: boolean;
@@ -22,3 +21,4 @@ export interface ISpecialRequestItems {
22
21
  export interface ISharedGeneral {
23
22
  enableStoreSelectorList: boolean;
24
23
  }
24
+ export {};
@@ -951,6 +951,40 @@ exports.AdminSettingsTemplateSFUI = {
951
951
  // },
952
952
  // } as any,
953
953
  // },
954
+ scrollToTopButton: {
955
+ title: "Back to top button",
956
+ description: "Back to top button settings",
957
+ type: exports.AdminTemplateInputTypes.collapsableObject,
958
+ value: {
959
+ enabled: {
960
+ title: "Enable back to top button",
961
+ description: "You can select whether a back to top button will appear on the Storefront once the customer begins to scroll down the screen.",
962
+ type: exports.AdminTemplateInputTypes.checkbox,
963
+ },
964
+ percentOffset: {
965
+ title: "Offset",
966
+ description: "Offset percentage",
967
+ type: exports.AdminTemplateInputTypes.string,
968
+ value: {
969
+ bottom: {
970
+ title: "Offset bottom",
971
+ description: "This is the percentage of the height of the screen that the button will appear from the bottom",
972
+ type: exports.AdminTemplateInputTypes.inputNumber,
973
+ },
974
+ right: {
975
+ title: "Offset right",
976
+ description: "This is the percentage of the width of the screen that the button will appear from the right",
977
+ type: exports.AdminTemplateInputTypes.inputNumber,
978
+ },
979
+ },
980
+ },
981
+ },
982
+ },
983
+ showShopAllLink: {
984
+ title: "Shop all link in mega menu",
985
+ description: "You can select whether each subcategory in the desktop mega menu should have a “Shop All XXX” link at the top of the list.",
986
+ type: exports.AdminTemplateInputTypes.checkbox,
987
+ },
954
988
  },
955
989
  },
956
990
  welcomeModal: {
@@ -66,28 +66,20 @@ exports.AdminSharedSettingsTemplateSFUI = {
66
66
  },
67
67
  },
68
68
  },
69
- checkoutPage: {
69
+ checkout: {
70
70
  title: "Checkout",
71
71
  description: "Shared checkout settings",
72
72
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
73
73
  value: {
74
- checkoutStepContact: {
75
- title: "Checkout Step Contact",
76
- description: "Checkout Step Contact",
74
+ preserveOrderNote: {
75
+ title: "Order Instructions",
76
+ description: "",
77
77
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
78
78
  value: {
79
- persistOrderNote: {
80
- title: "Persist Orde Note",
81
- description: "Persist Order Note",
82
- type: exports.AdminSharedTemplateInputTypes.collapsableObject,
83
- value: {
84
- checkboxLabel: {
85
- title: "CheckboxLabel",
86
- description: "CheckboxLabel",
87
- type: exports.AdminSharedTemplateInputTypes.checkbox,
88
- value: true,
89
- },
90
- },
79
+ enabled: {
80
+ title: "Enable order instructions saving",
81
+ description: "This will display a checkbox below the order instrucitons comment box in the checkout. If selected the text entered in the comment box will be saved for the customer next order.",
82
+ type: exports.AdminSharedTemplateInputTypes.checkbox,
91
83
  },
92
84
  },
93
85
  },
@@ -371,9 +371,10 @@ var DefaultConfigSFUI = {
371
371
  cookiePro: { enabled: false, domain: "", src: "" },
372
372
  scrollToTopButton: {
373
373
  enabled: false,
374
- percentOffset: { bottom: 10, right: 0 },
374
+ percentOffset: { bottom: 15, right: 2 },
375
375
  },
376
376
  clientRenderCoupons: true,
377
+ showShopAllLink: false,
377
378
  },
378
379
  welcomeModal: [],
379
380
  };
@@ -11,9 +11,9 @@ var DefaultSharedSettingsConfig = {
11
11
  excludeStores: [],
12
12
  },
13
13
  },
14
- checkoutPage: {
15
- checkoutStepContact: {
16
- persistOrderNote: { checkboxLabel: true },
14
+ checkout: {
15
+ preserveOrderNote: {
16
+ enabled: false,
17
17
  },
18
18
  },
19
19
  general: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.96",
3
+ "version": "2.7.97",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",