@thryveai/theme-interfaces 2.4.21 → 2.4.23-beta.0

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.
Files changed (44) hide show
  1. package/README.md +29 -29
  2. package/dist/index.d.ts +28 -27
  3. package/dist/index.js +33 -31
  4. package/dist/interfaces/admin-images-interfaces.d.ts +11 -11
  5. package/dist/interfaces/admin-images-interfaces.js +2 -2
  6. package/dist/interfaces/admin-settings-interfaces.d.ts +57 -57
  7. package/dist/interfaces/admin-settings-interfaces.js +2 -2
  8. package/dist/interfaces/default-settings.interfaces.d.ts +89 -89
  9. package/dist/interfaces/default-settings.interfaces.js +3 -3
  10. package/dist/interfaces/default-theme.interface.d.ts +695 -695
  11. package/dist/interfaces/default-theme.interface.js +2 -2
  12. package/dist/interfaces/icons.interfaces.d.ts +7 -7
  13. package/dist/interfaces/icons.interfaces.js +128 -126
  14. package/dist/interfaces/retailer-settings.interfaces.d.ts +543 -537
  15. package/dist/interfaces/retailer-settings.interfaces.js +2 -2
  16. package/dist/interfaces/sts-settings.interfaces.d.ts +6 -6
  17. package/dist/interfaces/sts-settings.interfaces.js +2 -2
  18. package/dist/interfaces/theme.interfaces.d.ts +695 -695
  19. package/dist/interfaces/theme.interfaces.js +2 -2
  20. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -2
  21. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -112
  22. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +14 -14
  23. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +1025 -1008
  24. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -3
  25. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -113
  26. package/dist/storefront/contentEngineComponents.d.ts +23 -23
  27. package/dist/storefront/contentEngineComponents.js +25 -25
  28. package/dist/storefront/defaultIconsStorefront.d.ts +3 -0
  29. package/dist/storefront/defaultIconsStorefront.js +128 -0
  30. package/dist/storefront/defaultImagesStorefront.d.ts +3 -3
  31. package/dist/storefront/defaultImagesStorefront.js +96 -96
  32. package/dist/storefront/defaultSettingsStorefront.d.ts +3 -3
  33. package/dist/storefront/defaultSettingsStorefront.js +297 -292
  34. package/dist/storefront/defaultThemeStorefront.d.ts +5 -5
  35. package/dist/storefront/defaultThemeStorefront.js +1156 -1156
  36. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -2
  37. package/dist/sts/STSImagesTemplate.AdminUi.js +50 -50
  38. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -2
  39. package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -30
  40. package/dist/sts/defaultSettingsSts.d.ts +3 -3
  41. package/dist/sts/defaultSettingsSts.js +9 -9
  42. package/dist/theme-templates/index.d.ts +3 -3
  43. package/dist/theme-templates/index.js +8 -8
  44. package/package.json +29 -21
@@ -1,3 +1,3 @@
1
- import { IAdminThemeTemplateOptions, IAdminThemeTemplateSFUI } from "../interfaces/admin-settings-interfaces";
2
- export declare const AdminThemeTemplateSFUI: IAdminThemeTemplateSFUI;
3
- export declare const AdminThemeTemplateOptions: IAdminThemeTemplateOptions;
1
+ import { IAdminThemeTemplateOptions, IAdminThemeTemplateSFUI } from "../interfaces/admin-settings-interfaces";
2
+ export declare const AdminThemeTemplateSFUI: IAdminThemeTemplateSFUI;
3
+ export declare const AdminThemeTemplateOptions: IAdminThemeTemplateOptions;
@@ -1,113 +1,113 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
15
- var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
16
- var ColorFields = {
17
- description: " ",
18
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
19
- };
20
- var ColorFieldsDescription = 'This color is not used by all themes, so it could be empty.';
21
- exports.AdminThemeTemplateSFUI = {
22
- colors: {
23
- title: "Colors",
24
- description: " ",
25
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
26
- value: {
27
- brandColors: {
28
- title: "Brand Colors",
29
- description: "",
30
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
31
- value: {
32
- primary1: __assign({ title: "Primary1" }, ColorFields),
33
- primary2: __assign({ title: "Primary2" }, ColorFields),
34
- primary3: __assign({ title: "Primary3" }, ColorFields),
35
- primary4: __assign({ title: "Primary4" }, ColorFields),
36
- primary5: __assign({ title: "Primary5" }, ColorFields),
37
- secondary1: __assign({ title: "Secondary1" }, ColorFields),
38
- secondary2: __assign({ title: "Secondary2" }, ColorFields),
39
- secondary3: __assign({ title: "Secondary3" }, ColorFields),
40
- secondary4: __assign({ title: "Secondary4" }, ColorFields),
41
- secondary5: __assign({ title: "Secondary5" }, ColorFields),
42
- tertiary1: __assign({ title: "Tertiary1" }, ColorFields),
43
- tertiary2: __assign({ title: "Tertiary2" }, ColorFields),
44
- tertiary3: __assign({ title: "Tertiary3" }, ColorFields),
45
- tertiary4: __assign(__assign({ title: "Tertiary4" }, ColorFields), { description: ColorFieldsDescription }),
46
- tertiary5: __assign(__assign({ title: "Tertiary5" }, ColorFields), { description: ColorFieldsDescription }),
47
- }
48
- },
49
- uiColors: {
50
- title: "UI Colors",
51
- description: "",
52
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
53
- value: {
54
- success: __assign({ title: "Success" }, ColorFields),
55
- successDark: __assign({ title: "Success Dark" }, ColorFields),
56
- successLight: __assign({ title: "Success Light" }, ColorFields),
57
- warn: __assign({ title: "Warn" }, ColorFields),
58
- warnDark: __assign({ title: "Warn Dark" }, ColorFields),
59
- warnLight: __assign({ title: "Warn Light" }, ColorFields),
60
- alert: __assign({ title: "Alert" }, ColorFields),
61
- alertDark: __assign({ title: "Alert Dark" }, ColorFields),
62
- alertLight: __assign({ title: "Alert Light" }, ColorFields),
63
- promotion1: __assign({ title: "Promotion1" }, ColorFields),
64
- promotion2: __assign({ title: "Promotion2" }, ColorFields),
65
- greyscale1: __assign({ title: "Greyscale1" }, ColorFields),
66
- greyscale2: __assign({ title: "Greyscale2" }, ColorFields),
67
- greyscale3: __assign({ title: "Greyscale3" }, ColorFields),
68
- greyscale4: __assign({ title: "Greyscale4" }, ColorFields),
69
- greyscale5: __assign({ title: "Greyscale5" }, ColorFields),
70
- greyscale6: __assign({ title: "Greyscale6" }, ColorFields),
71
- greyscale7: __assign({ title: "Greyscale7" }, ColorFields),
72
- }
73
- },
74
- },
75
- },
76
- // typography: {
77
- // title: "Typography",
78
- // description: "",
79
- // type: AdminTemplateInputTypes.object,
80
- // value: {
81
- // text: {
82
- // title: "Text",
83
- // description: "",
84
- // type: AdminTemplateInputTypes.collapsableObject,
85
- // value: {
86
- // body: {
87
- // title: "Body",
88
- // description: "Main font styles for the body text",
89
- // type: AdminTemplateInputTypes.collapsableObject,
90
- // value: {
91
- // fontFamily: {
92
- // title: "Font Family",
93
- // description: "",
94
- // type: AdminTemplateInputTypes.inputChar
95
- // },
96
- // color: {
97
- // title: "Color",
98
- // description: "",
99
- // type: AdminTemplateInputTypes.inputChar
100
- // },
101
- // }
102
- // }
103
- // }
104
- // },
105
- // }
106
- // }
107
- };
108
- exports.AdminThemeTemplateOptions = {
109
- title: 'Retailer Theme Template',
110
- description: 'Please read the documentation before selecting a template.',
111
- helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
112
- options: ["Default STS", "Default Storefront"],
113
- };
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
15
+ var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
16
+ var ColorFields = {
17
+ description: " ",
18
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
19
+ };
20
+ var ColorFieldsDescription = 'This color is not used by all themes, so it could be empty.';
21
+ exports.AdminThemeTemplateSFUI = {
22
+ colors: {
23
+ title: "Colors",
24
+ description: " ",
25
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
26
+ value: {
27
+ brandColors: {
28
+ title: "Brand Colors",
29
+ description: "",
30
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
31
+ value: {
32
+ primary1: __assign({ title: "Primary1" }, ColorFields),
33
+ primary2: __assign({ title: "Primary2" }, ColorFields),
34
+ primary3: __assign({ title: "Primary3" }, ColorFields),
35
+ primary4: __assign({ title: "Primary4" }, ColorFields),
36
+ primary5: __assign({ title: "Primary5" }, ColorFields),
37
+ secondary1: __assign({ title: "Secondary1" }, ColorFields),
38
+ secondary2: __assign({ title: "Secondary2" }, ColorFields),
39
+ secondary3: __assign({ title: "Secondary3" }, ColorFields),
40
+ secondary4: __assign({ title: "Secondary4" }, ColorFields),
41
+ secondary5: __assign({ title: "Secondary5" }, ColorFields),
42
+ tertiary1: __assign({ title: "Tertiary1" }, ColorFields),
43
+ tertiary2: __assign({ title: "Tertiary2" }, ColorFields),
44
+ tertiary3: __assign({ title: "Tertiary3" }, ColorFields),
45
+ tertiary4: __assign(__assign({ title: "Tertiary4" }, ColorFields), { description: ColorFieldsDescription }),
46
+ tertiary5: __assign(__assign({ title: "Tertiary5" }, ColorFields), { description: ColorFieldsDescription }),
47
+ }
48
+ },
49
+ uiColors: {
50
+ title: "UI Colors",
51
+ description: "",
52
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
53
+ value: {
54
+ success: __assign({ title: "Success" }, ColorFields),
55
+ successDark: __assign({ title: "Success Dark" }, ColorFields),
56
+ successLight: __assign({ title: "Success Light" }, ColorFields),
57
+ warn: __assign({ title: "Warn" }, ColorFields),
58
+ warnDark: __assign({ title: "Warn Dark" }, ColorFields),
59
+ warnLight: __assign({ title: "Warn Light" }, ColorFields),
60
+ alert: __assign({ title: "Alert" }, ColorFields),
61
+ alertDark: __assign({ title: "Alert Dark" }, ColorFields),
62
+ alertLight: __assign({ title: "Alert Light" }, ColorFields),
63
+ promotion1: __assign({ title: "Promotion1" }, ColorFields),
64
+ promotion2: __assign({ title: "Promotion2" }, ColorFields),
65
+ greyscale1: __assign({ title: "Greyscale1" }, ColorFields),
66
+ greyscale2: __assign({ title: "Greyscale2" }, ColorFields),
67
+ greyscale3: __assign({ title: "Greyscale3" }, ColorFields),
68
+ greyscale4: __assign({ title: "Greyscale4" }, ColorFields),
69
+ greyscale5: __assign({ title: "Greyscale5" }, ColorFields),
70
+ greyscale6: __assign({ title: "Greyscale6" }, ColorFields),
71
+ greyscale7: __assign({ title: "Greyscale7" }, ColorFields),
72
+ }
73
+ },
74
+ },
75
+ },
76
+ // typography: {
77
+ // title: "Typography",
78
+ // description: "",
79
+ // type: AdminTemplateInputTypes.object,
80
+ // value: {
81
+ // text: {
82
+ // title: "Text",
83
+ // description: "",
84
+ // type: AdminTemplateInputTypes.collapsableObject,
85
+ // value: {
86
+ // body: {
87
+ // title: "Body",
88
+ // description: "Main font styles for the body text",
89
+ // type: AdminTemplateInputTypes.collapsableObject,
90
+ // value: {
91
+ // fontFamily: {
92
+ // title: "Font Family",
93
+ // description: "",
94
+ // type: AdminTemplateInputTypes.inputChar
95
+ // },
96
+ // color: {
97
+ // title: "Color",
98
+ // description: "",
99
+ // type: AdminTemplateInputTypes.inputChar
100
+ // },
101
+ // }
102
+ // }
103
+ // }
104
+ // },
105
+ // }
106
+ // }
107
+ };
108
+ exports.AdminThemeTemplateOptions = {
109
+ title: 'Retailer Theme Template',
110
+ description: 'Please read the documentation before selecting a template.',
111
+ helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
112
+ options: ["Default STS", "Default Storefront"],
113
+ };
@@ -1,23 +1,23 @@
1
- export declare const CMSComponentNames: {
2
- Carousel: string;
3
- SmallCarousel: string;
4
- Freeform: string;
5
- ContactUs: string;
6
- HeroBanner: string;
7
- Image: string;
8
- Video: string;
9
- VideoWithContent: string;
10
- ImageWithContent: string;
11
- ImageTextButton: string;
12
- SmallPromotion: string;
13
- SmallImageWithContent: string;
14
- LargePromotion: string;
15
- TwoBannerContainer: string;
16
- ThreeBannerContainer: string;
17
- Sale: string;
18
- SmallBannerWithBackgroundImage: string;
19
- SmallBannerWithSupportingImage: string;
20
- ProductCardStory: string;
21
- Recipe: string;
22
- };
23
- export declare type CMSNames = keyof typeof CMSComponentNames;
1
+ export declare const CMSComponentNames: {
2
+ Carousel: string;
3
+ SmallCarousel: string;
4
+ Freeform: string;
5
+ ContactUs: string;
6
+ HeroBanner: string;
7
+ Image: string;
8
+ Video: string;
9
+ VideoWithContent: string;
10
+ ImageWithContent: string;
11
+ ImageTextButton: string;
12
+ SmallPromotion: string;
13
+ SmallImageWithContent: string;
14
+ LargePromotion: string;
15
+ TwoBannerContainer: string;
16
+ ThreeBannerContainer: string;
17
+ Sale: string;
18
+ SmallBannerWithBackgroundImage: string;
19
+ SmallBannerWithSupportingImage: string;
20
+ ProductCardStory: string;
21
+ Recipe: string;
22
+ };
23
+ export declare type CMSNames = keyof typeof CMSComponentNames;
@@ -1,25 +1,25 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CMSComponentNames = void 0;
4
- exports.CMSComponentNames = {
5
- Carousel: "Carousel",
6
- SmallCarousel: "CarouselSmall",
7
- Freeform: "Freeform",
8
- ContactUs: "ContactUs",
9
- HeroBanner: "HeroBanner",
10
- Image: "Image",
11
- Video: "Video",
12
- VideoWithContent: "VideoWithContent",
13
- ImageWithContent: "StandardContentBlock3",
14
- ImageTextButton: "ImageTextButton",
15
- SmallPromotion: "SmallPromotion",
16
- SmallImageWithContent: "StackedContentBlock",
17
- LargePromotion: "LargePromotion",
18
- TwoBannerContainer: "TwoBannerContainer",
19
- ThreeBannerContainer: "ThreeBannerContainer",
20
- Sale: "Sale",
21
- SmallBannerWithBackgroundImage: "StandardContentBlock1",
22
- SmallBannerWithSupportingImage: "StandardContentBlock2",
23
- ProductCardStory: "ProductCardStory",
24
- Recipe: "Recipe",
25
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CMSComponentNames = void 0;
4
+ exports.CMSComponentNames = {
5
+ Carousel: "Carousel",
6
+ SmallCarousel: "CarouselSmall",
7
+ Freeform: "Freeform",
8
+ ContactUs: "ContactUs",
9
+ HeroBanner: "HeroBanner",
10
+ Image: "Image",
11
+ Video: "Video",
12
+ VideoWithContent: "VideoWithContent",
13
+ ImageWithContent: "StandardContentBlock3",
14
+ ImageTextButton: "ImageTextButton",
15
+ SmallPromotion: "SmallPromotion",
16
+ SmallImageWithContent: "StackedContentBlock",
17
+ LargePromotion: "LargePromotion",
18
+ TwoBannerContainer: "TwoBannerContainer",
19
+ ThreeBannerContainer: "ThreeBannerContainer",
20
+ Sale: "Sale",
21
+ SmallBannerWithBackgroundImage: "StandardContentBlock1",
22
+ SmallBannerWithSupportingImage: "StandardContentBlock2",
23
+ ProductCardStory: "ProductCardStory",
24
+ Recipe: "Recipe",
25
+ };
@@ -0,0 +1,3 @@
1
+ import { IIconsObject } from "../interfaces/icons.interfaces";
2
+ declare const DefaultIconsSFUI: IIconsObject;
3
+ export default DefaultIconsSFUI;