@thryveai/theme-interfaces 1.5.28 → 1.5.31
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/admin-settings-template.js +2 -2
- package/default-theme.interface.d.ts +11 -0
- package/package.json +1 -1
- package/theme.interfaces.d.ts +11 -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
|
+
```
|
|
@@ -101,7 +101,7 @@ exports.AdminSettingsTemplate = {
|
|
|
101
101
|
addressValidationTypes: {
|
|
102
102
|
title: "Address Validation",
|
|
103
103
|
description: "User address validation settings.",
|
|
104
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/
|
|
104
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
105
105
|
type: admin_interfaces_1.AdminTemplateInputTypes.object,
|
|
106
106
|
value: {
|
|
107
107
|
firstName: {
|
|
@@ -189,12 +189,12 @@ exports.AdminSettingsTemplate = {
|
|
|
189
189
|
title: "Account Page",
|
|
190
190
|
description: "Account page settings",
|
|
191
191
|
type: admin_interfaces_1.AdminTemplateInputTypes.object,
|
|
192
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
192
193
|
value: {
|
|
193
194
|
loyaltyTab: {
|
|
194
195
|
title: "Loyalty Tab",
|
|
195
196
|
description: "Set up Loyalty Tab on account page",
|
|
196
197
|
type: admin_interfaces_1.AdminTemplateInputTypes.object,
|
|
197
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
198
198
|
value: {
|
|
199
199
|
enabled: {
|
|
200
200
|
title: "Enable Loyalty Tab",
|
|
@@ -327,6 +327,7 @@ export interface IDefaultThemeInterface {
|
|
|
327
327
|
borderRadius: string;
|
|
328
328
|
activeBackgroundColor: string;
|
|
329
329
|
hoverBackgroundColor: string;
|
|
330
|
+
tabletSettings: IMiniCartTabletSettings;
|
|
330
331
|
color: string;
|
|
331
332
|
activeColor: string;
|
|
332
333
|
mobileColor: string;
|
|
@@ -433,6 +434,16 @@ export interface IDefaultThemeInterface {
|
|
|
433
434
|
export interface IDefaultThemeScripts {
|
|
434
435
|
[key: string]: string;
|
|
435
436
|
}
|
|
437
|
+
interface IMiniCartTabletSettings {
|
|
438
|
+
enabled: boolean;
|
|
439
|
+
iconColor: string;
|
|
440
|
+
textColor: string;
|
|
441
|
+
backgroundColor: string;
|
|
442
|
+
iconColorHover: string;
|
|
443
|
+
textColorHover: string;
|
|
444
|
+
backgroundColorHover: string;
|
|
445
|
+
showText: boolean;
|
|
446
|
+
}
|
|
436
447
|
interface IInputFields {
|
|
437
448
|
bgColor: string;
|
|
438
449
|
borderColor: string;
|
package/package.json
CHANGED
package/theme.interfaces.d.ts
CHANGED
|
@@ -341,6 +341,7 @@ export interface IThemeInterface {
|
|
|
341
341
|
borderRadius?: string;
|
|
342
342
|
activeBackgroundColor?: string;
|
|
343
343
|
hoverBackgroundColor?: string;
|
|
344
|
+
tabletSettings?: IMiniCartTabletSettings;
|
|
344
345
|
color?: string;
|
|
345
346
|
activeColor?: string;
|
|
346
347
|
mobileColor?: string;
|
|
@@ -447,6 +448,16 @@ export interface IThemeInterface {
|
|
|
447
448
|
export interface IThemeScripts {
|
|
448
449
|
[key: string]: string;
|
|
449
450
|
}
|
|
451
|
+
interface IMiniCartTabletSettings {
|
|
452
|
+
enabled?: boolean;
|
|
453
|
+
iconColor?: string;
|
|
454
|
+
textColor?: string;
|
|
455
|
+
backgroundColor?: string;
|
|
456
|
+
iconColorHover?: string;
|
|
457
|
+
textColorHover?: string;
|
|
458
|
+
backgroundColorHover?: string;
|
|
459
|
+
showText?: boolean;
|
|
460
|
+
}
|
|
450
461
|
interface IInputFields {
|
|
451
462
|
bgColor?: string;
|
|
452
463
|
borderColor?: string;
|