@thryveai/theme-interfaces 2.7.103 → 2.7.105

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/README.md CHANGED
@@ -1,29 +1,29 @@
1
- #V8 Theme Interfaces
2
-
3
- interfaces for all MI9 Retailer Themes.
4
-
5
- ###icons.interfaces
6
- List of all icons used inside the ui projects.
7
-
8
- ###retailer-settings.interfaces
9
- more info here
10
- https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
- ###theme.interfaces
12
- The interface for each theme, colors, fonts, sizes and other css properties.
13
-
14
- #To Build Project
15
-
16
- ```
17
- npm install
18
- npm run build
19
- ```
20
-
21
- #To Publish npm package
22
- ```
23
- npm login
24
- npm publish
25
- ```
26
- or
27
- ```
28
- npm run push
29
- ```
1
+ #V8 Theme Interfaces
2
+
3
+ interfaces for all MI9 Retailer Themes.
4
+
5
+ ###icons.interfaces
6
+ List of all icons used inside the ui projects.
7
+
8
+ ###retailer-settings.interfaces
9
+ more info here
10
+ https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
+ ###theme.interfaces
12
+ The interface for each theme, colors, fonts, sizes and other css properties.
13
+
14
+ #To Build Project
15
+
16
+ ```
17
+ npm install
18
+ npm run build
19
+ ```
20
+
21
+ #To Publish npm package
22
+ ```
23
+ npm login
24
+ npm publish
25
+ ```
26
+ or
27
+ ```
28
+ npm run push
29
+ ```
@@ -427,7 +427,7 @@ export interface ISiteSettingsV2 {
427
427
  showCartValueOnMobile: boolean;
428
428
  scrollToTopButton: IScrollToTopButton;
429
429
  clientRenderCoupons: boolean;
430
- showShopAllLink: boolean;
430
+ showShopAllLink: IShowShopAllLink;
431
431
  }
432
432
  export interface IHeaderLinksLayout {
433
433
  enabled: boolean;
@@ -680,3 +680,6 @@ export interface IScrollToTopButton {
680
680
  bottom: number;
681
681
  };
682
682
  }
683
+ export interface IShowShopAllLink {
684
+ enabled: boolean;
685
+ }
@@ -1018,7 +1018,7 @@ exports.AdminSettingsTemplateSFUI = {
1018
1018
  // },
1019
1019
  scrollToTopButton: {
1020
1020
  title: "Back to top button",
1021
- description: "Back to top button settings",
1021
+ description: "Back to top button settings.",
1022
1022
  type: exports.AdminTemplateInputTypes.collapsableObject,
1023
1023
  value: {
1024
1024
  enabled: {
@@ -1027,18 +1027,18 @@ exports.AdminSettingsTemplateSFUI = {
1027
1027
  type: exports.AdminTemplateInputTypes.checkbox,
1028
1028
  },
1029
1029
  percentOffset: {
1030
- title: "Offset",
1031
- description: "Offset percentage",
1032
- type: exports.AdminTemplateInputTypes.string,
1030
+ title: "",
1031
+ description: "",
1032
+ type: exports.AdminTemplateInputTypes.collapsableObject,
1033
1033
  value: {
1034
1034
  bottom: {
1035
1035
  title: "Offset bottom",
1036
- description: "This is the percentage of the height of the screen that the button will appear from the bottom",
1036
+ description: "This is the percentage of the height of the screen that the button will appear from the bottom.",
1037
1037
  type: exports.AdminTemplateInputTypes.inputNumber,
1038
1038
  },
1039
1039
  right: {
1040
1040
  title: "Offset right",
1041
- description: "This is the percentage of the width of the screen that the button will appear from the right",
1041
+ description: "This is the percentage of the width of the screen that the button will appear from the right.",
1042
1042
  type: exports.AdminTemplateInputTypes.inputNumber,
1043
1043
  },
1044
1044
  },
@@ -1048,7 +1048,14 @@ exports.AdminSettingsTemplateSFUI = {
1048
1048
  showShopAllLink: {
1049
1049
  title: "Shop all link in mega menu",
1050
1050
  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.",
1051
- type: exports.AdminTemplateInputTypes.checkbox,
1051
+ type: exports.AdminTemplateInputTypes.collapsableObject,
1052
+ value: {
1053
+ enabled: {
1054
+ title: "Enable Shop all link in mega menu",
1055
+ description: 'This will display a "Shop All" link at the top of the list of subcategories in the desktop megamenu as is shown on mobile and tablet.',
1056
+ type: exports.AdminTemplateInputTypes.checkbox,
1057
+ },
1058
+ },
1052
1059
  },
1053
1060
  },
1054
1061
  },