@thryveai/theme-interfaces 2.7.108 → 2.7.110

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
+ ```
@@ -396,6 +396,7 @@ export interface ISiteSettingsV2 {
396
396
  cmsLazyLoadRows: number;
397
397
  daysToRemainSignedIn: NumberRange<1, 999>;
398
398
  defaultCountry: IDefaultCounty;
399
+ defaultLanguage: string;
399
400
  defaultSearchParams: IDefaultSearchParams;
400
401
  defaultShoppingMode: "pickup" | "planning" | "delivery";
401
402
  defaultStoreLocation: IDefaultStoreLocation;
@@ -6,6 +6,7 @@ export interface ISharedSettings {
6
6
  adminPanelOnly: IAdminOnlyV2;
7
7
  }
8
8
  export interface ISharedFeatures {
9
+ multilingual: boolean;
9
10
  specialRequestItems: ISpecialRequestItems;
10
11
  couponGallery: ICouponGallery;
11
12
  }
@@ -39,6 +39,12 @@ exports.AdminSharedSettingsTemplateSFUI = {
39
39
  description: "Global Features for the website and app",
40
40
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
41
41
  value: {
42
+ // multilingual: {
43
+ // title: "Multilingual",
44
+ // description:
45
+ // "This will enable the option for customers to select their preferred language for the site.",
46
+ // type: AdminSharedTemplateInputTypes.checkbox,
47
+ // },
42
48
  specialRequestItems: {
43
49
  title: "Special Request Items",
44
50
  description: "",
@@ -109,15 +115,12 @@ exports.AdminSharedSettingsTemplateSFUI = {
109
115
  description: "This will display the list of available stores for the planning and pickup store selector modals prior to the user entering their address.",
110
116
  type: exports.AdminSharedTemplateInputTypes.checkbox,
111
117
  },
112
- //TO BE UNCOMMENTED ONCE FEATURE IS COMPLETE
113
- // skipStoreSelection: {
114
- // title: "Skip store selection",
115
- // description:
116
- // "This will skip the enter nearest store modal in the first time user flow if no store is returned. The corporate store will be selected if available otherwise the default store will be used.",
117
- // type: AdminSharedTemplateInputTypes.checkbox,
118
- // helpLink:
119
- // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
120
- // },
118
+ skipStoreSelection: {
119
+ title: "Skip store selection",
120
+ description: "This will skip the enter nearest store modal in the first time user flow if no store is returned. The corporate store will be selected if available otherwise the default store will be used.",
121
+ type: exports.AdminSharedTemplateInputTypes.checkbox,
122
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
123
+ },
121
124
  },
122
125
  },
123
126
  };
@@ -281,6 +281,7 @@ var DefaultConfigSFUI = {
281
281
  ctaButtons: null,
282
282
  daysToRemainSignedIn: 30,
283
283
  defaultCountry: "USA",
284
+ defaultLanguage: "en-us",
284
285
  defaultSearchParams: {
285
286
  page: "1",
286
287
  q: "*",
@@ -6,6 +6,7 @@ var DefaultSharedSettingsConfig = {
6
6
  logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
7
7
  },
8
8
  features: {
9
+ multilingual: false,
9
10
  specialRequestItems: {
10
11
  enable: false,
11
12
  excludeStores: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.108",
3
+ "version": "2.7.110",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",