@thryveai/theme-interfaces 1.5.23 → 1.5.24
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-interfaces.d.ts +1 -0
- package/admin-settings-template.d.ts +1 -2
- package/default-theme.interface.d.ts +16 -14
- package/package.json +14 -14
- package/theme.interfaces.d.ts +1 -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
|
+
```
|
|
@@ -3,6 +3,7 @@ export declare type IAdminTemplateInputTypes = {
|
|
|
3
3
|
[key in IAdminControlType]: IAdminControlType;
|
|
4
4
|
};
|
|
5
5
|
export interface IAdminSettingsTemplate {
|
|
6
|
+
adminPanelOnly: IAdminControl;
|
|
6
7
|
accountPage: IAdminControl;
|
|
7
8
|
addressValidationTypes: IAdminControl;
|
|
8
9
|
allowInStorePurchases: IAdminControl;
|
|
@@ -140,20 +140,7 @@ export interface IDefaultThemeInterface {
|
|
|
140
140
|
};
|
|
141
141
|
headerActionLinks: IHeaderActionLinksProps;
|
|
142
142
|
headerLinks: IHeaderLinksProps;
|
|
143
|
-
departments:
|
|
144
|
-
backgroundColor: {
|
|
145
|
-
active: string;
|
|
146
|
-
static: string;
|
|
147
|
-
};
|
|
148
|
-
color: {
|
|
149
|
-
static: string;
|
|
150
|
-
hover: string;
|
|
151
|
-
};
|
|
152
|
-
iconColor: {
|
|
153
|
-
static: string;
|
|
154
|
-
hover: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
143
|
+
departments: IHeaderDepartments;
|
|
157
144
|
badge: {
|
|
158
145
|
cart: {
|
|
159
146
|
color: string;
|
|
@@ -583,6 +570,21 @@ interface IHeaderLinksProps extends INavStyles, INavActiveColors {
|
|
|
583
570
|
interface IHeaderActionLinksProps extends IHeaderLinksProps {
|
|
584
571
|
fontFamily: string;
|
|
585
572
|
}
|
|
573
|
+
interface IHeaderDepartments {
|
|
574
|
+
wrapCategoryTitle: boolean;
|
|
575
|
+
backgroundColor: {
|
|
576
|
+
active: string;
|
|
577
|
+
static: string;
|
|
578
|
+
};
|
|
579
|
+
color: {
|
|
580
|
+
static: string;
|
|
581
|
+
hover: string;
|
|
582
|
+
};
|
|
583
|
+
iconColor: {
|
|
584
|
+
static: string;
|
|
585
|
+
hover: string;
|
|
586
|
+
};
|
|
587
|
+
}
|
|
586
588
|
interface IMinimalHeaderProps extends INavStyles {
|
|
587
589
|
iconColor: string;
|
|
588
590
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "1.5.
|
|
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.24",
|
|
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
|
+
}
|
package/theme.interfaces.d.ts
CHANGED