@thryveai/theme-interfaces 2.4.8 → 2.4.9

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
+ ```
@@ -133,6 +133,7 @@ export interface IGlobalLayouts {
133
133
  export interface ICouponGalleryLayout {
134
134
  enabled: boolean;
135
135
  galleryIsIframe: boolean;
136
+ galleryHasNavLink: boolean;
136
137
  }
137
138
  export interface ICartSummaryLayout {
138
139
  showTaxTotal: boolean;
@@ -100,6 +100,29 @@ var FeatureSettingsChildren = {
100
100
  },
101
101
  },
102
102
  },
103
+ couponGallery: {
104
+ title: "Coupon Gallery",
105
+ description: "Enables Coupon Gallery for user to see all available Coupons on one page",
106
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
107
+ type: exports.AdminTemplateInputTypes.collapsableObject,
108
+ value: {
109
+ enabled: {
110
+ title: "Enable coupon gallery",
111
+ description: "Enable coupon gallery feature, please select another option below to fully activate feature",
112
+ type: exports.AdminTemplateInputTypes.checkbox,
113
+ },
114
+ galleryIsIframe: {
115
+ title: "Enable coupon gallery internal page",
116
+ description: "Enable coupon gallery Iframe feature within the app",
117
+ type: exports.AdminTemplateInputTypes.checkbox,
118
+ },
119
+ galleryHasNavLink: {
120
+ title: "Enable coupon gallery external page",
121
+ description: "Enable coupon gallery link to external page not in the app",
122
+ type: exports.AdminTemplateInputTypes.checkbox,
123
+ },
124
+ },
125
+ },
103
126
  vouchers: {
104
127
  title: "Voucher",
105
128
  description: "Enables voucher on checkout page (requires integration).",
@@ -120,6 +120,7 @@ var DefaultConfigSFUI = {
120
120
  couponGallery: {
121
121
  enabled: false,
122
122
  galleryIsIframe: false,
123
+ galleryHasNavLink: false,
123
124
  },
124
125
  },
125
126
  accountPage: {
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "2.4.8",
4
- "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
- "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish",
8
- "merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
9
- },
10
- "author": "Wynshop",
11
- "license": "ISC",
12
- "main": "dist",
13
- "files": [
14
- "dist"
15
- ],
16
- "devDependencies": {
17
- "@types/node": "^17.0.42",
18
- "ts-node": "^10.8.1",
19
- "typescript": "4.6.3"
20
- }
21
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "2.4.9",
4
+ "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
+ "scripts": {
6
+ "build": "tsc",
7
+ "push": "npm run build && npm publish",
8
+ "merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
9
+ },
10
+ "author": "Wynshop",
11
+ "license": "ISC",
12
+ "main": "dist",
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "devDependencies": {
17
+ "@types/node": "^17.0.42",
18
+ "ts-node": "^10.8.1",
19
+ "typescript": "4.6.3"
20
+ }
21
+ }