@thryveai/theme-interfaces 1.5.11 → 1.5.12

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
+ ```
@@ -3,7 +3,6 @@ export declare type IAdminTemplateInputTypes = {
3
3
  [key in IAdminControlType]: IAdminControlType;
4
4
  };
5
5
  export interface IAdminSettingsTemplate {
6
- adminPanelOnly: IAdminControl;
7
6
  accountPage: IAdminControl;
8
7
  addressValidationTypes: IAdminControl;
9
8
  allowInStorePurchases: IAdminControl;
@@ -1,2 +1,3 @@
1
- export declare const AdminSettingsTemplate: any;
1
+ import { IAdminSettingsTemplate } from "./admin-settings-interfaces";
2
+ export declare const AdminSettingsTemplate: IAdminSettingsTemplate;
2
3
  export default AdminSettingsTemplate;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "1.5.11",
4
- "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
- "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish"
8
- },
9
- "author": "Simon Markey",
10
- "license": "ISC",
11
- "devDependencies": {
12
- "typescript": "4.5.4"
13
- }
14
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "1.5.12",
4
+ "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
+ "scripts": {
6
+ "build": "tsc",
7
+ "push": "npm run build && npm publish"
8
+ },
9
+ "author": "Simon Markey",
10
+ "license": "ISC",
11
+ "devDependencies": {
12
+ "typescript": "4.5.4"
13
+ }
14
+ }
@@ -79,6 +79,14 @@ export interface IRetailerSettings {
79
79
  subHeaderHeight?: number;
80
80
  useAddressValidation?: boolean;
81
81
  productCards?: IProductCardsProps;
82
+ layouts?: IGlobalLayouts;
83
+ }
84
+ export interface IGlobalLayouts {
85
+ cartSummary: ICartSummaryLayout;
86
+ }
87
+ export interface ICartSummaryLayout {
88
+ showTaxTotal: boolean;
89
+ showTaxGroups: boolean;
82
90
  }
83
91
  export interface IExternalApps {
84
92
  sts?: IExternalAppSTS;
@@ -216,6 +224,7 @@ export interface IDefaultRetailerSettings {
216
224
  timeslotModalSettings: ITimeslotModalSettings;
217
225
  useAddressValidation: boolean;
218
226
  productCards: IProductCardsProps;
227
+ layouts: IGlobalLayouts;
219
228
  }
220
229
  export interface IGoogleAutocompleteSettings {
221
230
  types?: IGoogleAutocompleteTypes;
@@ -378,5 +387,5 @@ export interface IProductDetailsPageLayout {
378
387
  right: PdpDetailsElementLayout[];
379
388
  };
380
389
  }
381
- export declare type PdpDetailsElementLayout = 'productNutrition' | 'productIngredients' | 'productDescription' | 'sodiumWarning' | 'productNumber' | 'recommendations' | 'productSalesInfo' | string;
390
+ export declare type PdpDetailsElementLayout = "productNutrition" | "productIngredients" | "productDescription" | "sodiumWarning" | "productNumber" | "recommendations" | "productSalesInfo" | string;
382
391
  export {};