@thryveai/theme-interfaces 1.4.7 → 1.4.8
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 +29 -29
- package/package.json +14 -14
- package/retailer-settings.interfaces.d.ts +9 -0
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
|
+
```
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "1.4.
|
|
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.3.5"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thryveai/theme-interfaces",
|
|
3
|
+
"version": "1.4.8",
|
|
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.3.5"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -25,6 +25,7 @@ export interface IRetailerSettings {
|
|
|
25
25
|
checkoutV1?: boolean;
|
|
26
26
|
checkoutValidation?: ICheckoutValidation;
|
|
27
27
|
ctaButtons?: ICtaButtons;
|
|
28
|
+
daysToRemainSignedIn?: number;
|
|
28
29
|
defaultCountry?: IDefaultCounty;
|
|
29
30
|
defaultSearchParams?: IDefaultSearchParams;
|
|
30
31
|
defaultShoppingMode?: "pickup" | "planning" | "delivery";
|
|
@@ -57,6 +58,7 @@ export interface IRetailerSettings {
|
|
|
57
58
|
minimumCreditCardAmount?: number;
|
|
58
59
|
nutritionZone?: INutritionZone;
|
|
59
60
|
paymentCards?: IPaymentCards;
|
|
61
|
+
pdpDetailsLayout?: IPdpDetailsLayout;
|
|
60
62
|
productCardTitleHeight?: number;
|
|
61
63
|
promoTemplateVersion?: number;
|
|
62
64
|
registrationFields?: IRegistrationField[];
|
|
@@ -156,6 +158,7 @@ export interface IDefaultRetailerSettings {
|
|
|
156
158
|
checkoutV1: boolean;
|
|
157
159
|
checkoutValidation: ICheckoutValidation;
|
|
158
160
|
ctaButtons: ICtaButtons | null | undefined;
|
|
161
|
+
daysToRemainSignedIn: number;
|
|
159
162
|
defaultCountry: IDefaultCounty;
|
|
160
163
|
defaultSearchParams: IDefaultSearchParams;
|
|
161
164
|
defaultShoppingMode: "pickup" | "planning" | "delivery";
|
|
@@ -188,6 +191,7 @@ export interface IDefaultRetailerSettings {
|
|
|
188
191
|
minimumCreditCardAmount: number;
|
|
189
192
|
nutritionZone: INutritionZone;
|
|
190
193
|
paymentCards: IPaymentCards;
|
|
194
|
+
pdpDetailsLayout: IPdpDetailsLayout;
|
|
191
195
|
productCardTitleHeight: number;
|
|
192
196
|
promoTemplateVersion: number;
|
|
193
197
|
registrationFields: IRegistrationField[];
|
|
@@ -331,4 +335,9 @@ export interface IAddressIntegration {
|
|
|
331
335
|
addressFinderType: IAddressFinderType;
|
|
332
336
|
}
|
|
333
337
|
export declare type IAddressFinderType = "AUS" | "EU" | "IE" | "US" | "UK" | "CA";
|
|
338
|
+
export interface IPdpDetailsLayout {
|
|
339
|
+
desktop: string[];
|
|
340
|
+
mobileTab1: string[];
|
|
341
|
+
mobileTab2: string[];
|
|
342
|
+
}
|
|
334
343
|
export {};
|