@thryveai/theme-interfaces 2.2.1 → 2.3.0-beta
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/dist/index.d.ts +17 -13
- package/dist/index.js +14 -5
- package/dist/interfaces/admin-settings-interfaces.d.ts +16 -0
- package/dist/interfaces/default-theme.interface.d.ts +2 -2
- package/dist/{Storefront → storefront}/SFUIImagesTemplate.AdminUi.d.ts +0 -0
- package/dist/{Storefront → storefront}/SFUIImagesTemplate.AdminUi.js +0 -0
- package/dist/{Storefront → storefront}/SFUISettingsTemplate.AdminUi.d.ts +0 -0
- package/dist/{Storefront → storefront}/SFUISettingsTemplate.AdminUi.js +0 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +53 -0
- package/dist/{Storefront → storefront}/defaultImagesStorefront.d.ts +0 -0
- package/dist/{Storefront → storefront}/defaultImagesStorefront.js +1 -1
- package/dist/{Storefront → storefront}/defaultSettingsStorefront.d.ts +0 -0
- package/dist/{Storefront → storefront}/defaultSettingsStorefront.js +0 -0
- package/dist/storefront/defaultThemeStorefront.d.ts +5 -0
- package/dist/storefront/defaultThemeStorefront.js +1135 -0
- package/dist/sts/STSSettingsTemplate.AdminUi.js +1 -1
- package/dist/theme-templates/index.d.ts +3 -0
- package/dist/theme-templates/index.js +8 -0
- package/package.json +1 -1
- package/dist/SFUISettingsTemplate.AdminUi.d.ts +0 -3
- package/dist/SFUISettingsTemplate.AdminUi.js +0 -686
- package/dist/STSSettingsTemplate.AdminUi.d.ts +0 -2
- package/dist/STSSettingsTemplate.AdminUi.js +0 -94
- package/dist/defaultSettings.d.ts +0 -3
- package/dist/defaultSettings.js +0 -242
- package/dist/defaultSettingsStorefront.d.ts +0 -3
- package/dist/defaultSettingsStorefront.js +0 -242
- package/dist/defaultSettingsSts.d.ts +0 -2
- package/dist/defaultSettingsSts.js +0 -8
- package/dist/interfaces/index.d.ts +0 -11
- package/dist/interfaces/index.js +0 -5
- package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
- package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
5
|
-
import DefaultConfigSFUI from "./Storefront/defaultSettingsStorefront";
|
|
6
|
-
import DefaultImagesSFUI from "./Storefront/defaultImagesStorefront";
|
|
1
|
+
import DefaultImagesSFUI from './storefront/defaultImagesStorefront';
|
|
2
|
+
import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
|
|
3
|
+
import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
|
|
7
4
|
import DefaultConfigSTS from "./sts/defaultSettingsSts";
|
|
8
|
-
import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./
|
|
5
|
+
import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
|
|
9
6
|
import { AdminSettingsTemplateSTS } from "./sts/STSSettingsTemplate.AdminUi";
|
|
10
7
|
import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi";
|
|
8
|
+
import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
|
|
11
9
|
import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
|
|
10
|
+
import { IconNamesToFiles } from "./interfaces/icons.interfaces";
|
|
11
|
+
import AllThemeTemplates from '../src/theme-templates';
|
|
12
|
+
import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
|
|
13
|
+
import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
|
|
14
|
+
import { IDefaultRetailerSettings } from "./interfaces/default-settings.interfaces";
|
|
15
|
+
import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
12
16
|
import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow } from "./interfaces/retailer-settings.interfaces";
|
|
13
|
-
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames
|
|
17
|
+
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
|
|
14
18
|
import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./interfaces/theme.interfaces";
|
|
15
|
-
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
|
|
16
|
-
export { DefaultConfigSFUI, DefaultConfigSTS, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminImagesTemplateSTS };
|
|
17
|
-
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminImagesControls, ISecondaryFaviconType };
|
|
19
|
+
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
|
|
20
|
+
export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles };
|
|
21
|
+
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType };
|
|
18
22
|
export { IDefaultRetailerSettings, IDefaultStsSettings };
|
|
19
|
-
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
|
|
20
|
-
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames,
|
|
23
|
+
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
|
|
24
|
+
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, };
|
|
21
25
|
export { PdpDetailsElementLayout, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, };
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconNamesToFiles = exports.AdminImagesTemplateSTS = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultImagesSFUI = exports.DefaultConfigSTS = exports.DefaultConfigSFUI = void 0;
|
|
4
|
-
var
|
|
5
|
-
exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
|
|
6
|
-
var defaultImagesStorefront_1 = require("./Storefront/defaultImagesStorefront");
|
|
3
|
+
exports.IconNamesToFiles = exports.AdminImagesTemplateSTS = exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultImagesSFUI = exports.DefaultThemeColors = exports.globalTheme = exports.DefaultThemeSFUI = exports.AllThemeTemplates = exports.DefaultConfigSTS = exports.DefaultConfigSFUI = void 0;
|
|
4
|
+
var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
|
|
7
5
|
exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
|
|
6
|
+
var defaultSettingsStorefront_1 = require("./storefront/defaultSettingsStorefront");
|
|
7
|
+
exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
|
|
8
|
+
var defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
|
|
9
|
+
exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
|
|
10
|
+
Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
|
|
11
|
+
Object.defineProperty(exports, "DefaultThemeColors", { enumerable: true, get: function () { return defaultThemeStorefront_1.DefaultThemeColors; } });
|
|
8
12
|
var defaultSettingsSts_1 = require("./sts/defaultSettingsSts");
|
|
9
13
|
exports.DefaultConfigSTS = defaultSettingsSts_1.default;
|
|
10
|
-
var SFUISettingsTemplate_AdminUi_1 = require("./
|
|
14
|
+
var SFUISettingsTemplate_AdminUi_1 = require("./storefront/SFUISettingsTemplate.AdminUi");
|
|
11
15
|
Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes; } });
|
|
12
16
|
Object.defineProperty(exports, "AdminSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminSettingsTemplateSFUI; } });
|
|
13
17
|
var STSSettingsTemplate_AdminUi_1 = require("./sts/STSSettingsTemplate.AdminUi");
|
|
14
18
|
Object.defineProperty(exports, "AdminSettingsTemplateSTS", { enumerable: true, get: function () { return STSSettingsTemplate_AdminUi_1.AdminSettingsTemplateSTS; } });
|
|
15
19
|
var SFUIImagesTemplate_AdminUi_1 = require("./storefront/SFUIImagesTemplate.AdminUi");
|
|
16
20
|
Object.defineProperty(exports, "AdminImagesTemplateSFUI", { enumerable: true, get: function () { return SFUIImagesTemplate_AdminUi_1.AdminImagesTemplateSFUI; } });
|
|
21
|
+
var SFUIThemesTemplate_AdminUi_1 = require("./storefront/SFUIThemesTemplate.AdminUi");
|
|
22
|
+
Object.defineProperty(exports, "AdminThemeTemplateSFUI", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateSFUI; } });
|
|
23
|
+
Object.defineProperty(exports, "AdminThemeTemplateOptions", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateOptions; } });
|
|
17
24
|
var STSImagesTemplate_AdminUi_1 = require("./sts/STSImagesTemplate.AdminUi");
|
|
18
25
|
Object.defineProperty(exports, "AdminImagesTemplateSTS", { enumerable: true, get: function () { return STSImagesTemplate_AdminUi_1.AdminImagesTemplateSTS; } });
|
|
19
26
|
var icons_interfaces_1 = require("./interfaces/icons.interfaces");
|
|
20
27
|
Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
|
|
28
|
+
var theme_templates_1 = require("../src/theme-templates");
|
|
29
|
+
exports.AllThemeTemplates = theme_templates_1.default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultCounty, IValidationType } from "./retailer-settings.interfaces";
|
|
2
|
+
import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
|
|
2
3
|
export declare type IAdminTemplateInputTypes = {
|
|
3
4
|
[key in IAdminControlType]: IAdminControlType;
|
|
4
5
|
};
|
|
@@ -71,6 +72,21 @@ export declare type IAdminImagesTemplateSTS = {
|
|
|
71
72
|
export declare type IAdminImagesTemplateSFUI = {
|
|
72
73
|
[key in IAdminImagesKeys]: IAdminControl;
|
|
73
74
|
};
|
|
75
|
+
export declare type IAdminThemeTemplateSFUI = {
|
|
76
|
+
[key in IAdminThemeKeys]: IAdminControl;
|
|
77
|
+
};
|
|
78
|
+
declare type IAdminThemeKeys = 'colors';
|
|
74
79
|
declare type IAdminImagesKeysSTS = "logos" | "stsCheckBox" | "stsFavicon";
|
|
75
80
|
declare type IAdminImagesKeys = "icons" | "logos" | "confirmationPageImage" | "stsCheckBox" | "stsFavicon" | "favicon" | "rewards" | "verifySiteImage" | "missingImg";
|
|
81
|
+
export interface IAdminThemeTemplateOptions {
|
|
82
|
+
title: string;
|
|
83
|
+
description: string;
|
|
84
|
+
options: string[];
|
|
85
|
+
helpLink: string;
|
|
86
|
+
}
|
|
87
|
+
export declare type IAllThemeTemplates = {
|
|
88
|
+
[key in SupportThemeTemplates]: IThemeGenerator;
|
|
89
|
+
};
|
|
90
|
+
declare type SupportThemeTemplates = 'Default' | 'PriceRite';
|
|
91
|
+
export declare type IThemeGenerator = (colors: IDefaultColors) => IDefaultThemeInterface;
|
|
76
92
|
export {};
|
|
@@ -515,7 +515,7 @@ export interface IGlobalDefaultTheme {
|
|
|
515
515
|
bodyBackgroundColor: string;
|
|
516
516
|
}
|
|
517
517
|
export declare type IDefaultColors = IBrandColors & IUiColors;
|
|
518
|
-
interface IBrandColors {
|
|
518
|
+
export interface IBrandColors {
|
|
519
519
|
primary1: string;
|
|
520
520
|
primary2: string;
|
|
521
521
|
primary3: string;
|
|
@@ -532,7 +532,7 @@ interface IBrandColors {
|
|
|
532
532
|
tertiary4: string;
|
|
533
533
|
tertiary5: string;
|
|
534
534
|
}
|
|
535
|
-
interface IUiColors {
|
|
535
|
+
export interface IUiColors {
|
|
536
536
|
success: string;
|
|
537
537
|
successDark: string;
|
|
538
538
|
successLight: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
|
|
4
|
+
var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
|
|
5
|
+
exports.AdminThemeTemplateSFUI = {
|
|
6
|
+
colors: {
|
|
7
|
+
title: "Colors",
|
|
8
|
+
description: "",
|
|
9
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
10
|
+
value: {
|
|
11
|
+
uiColors: {
|
|
12
|
+
title: "UI Colors",
|
|
13
|
+
description: "This is the logo used on desktop in the storefront and most other apps",
|
|
14
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
15
|
+
value: {
|
|
16
|
+
alert: {
|
|
17
|
+
title: "Alert",
|
|
18
|
+
description: "This is the logo used on mobile in the storefront and most other apps",
|
|
19
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
|
|
20
|
+
},
|
|
21
|
+
alertDark: {
|
|
22
|
+
title: "Alert Dark",
|
|
23
|
+
description: "This is the logo used on mobile in the storefront and most other apps",
|
|
24
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
|
|
25
|
+
},
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
brandColors: {
|
|
29
|
+
title: "Brand Colors",
|
|
30
|
+
description: "This is the logo used on desktop in the storefront and most other apps",
|
|
31
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
32
|
+
value: {
|
|
33
|
+
primary1: {
|
|
34
|
+
title: "Primary1",
|
|
35
|
+
description: "This is the logo used on mobile in the storefront and most other apps",
|
|
36
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
|
|
37
|
+
},
|
|
38
|
+
primary2: {
|
|
39
|
+
title: "Primary2",
|
|
40
|
+
description: "This is the logo used on mobile in the storefront and most other apps",
|
|
41
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
exports.AdminThemeTemplateOptions = {
|
|
49
|
+
title: 'Retailer Theme Template',
|
|
50
|
+
description: 'Please read the documentation before selecting a template.',
|
|
51
|
+
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
|
|
52
|
+
options: ['Default', 'PriceRite'],
|
|
53
|
+
};
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var imageBucket = "https://www";
|
|
4
4
|
var DefaultImagesSFUI = {
|
|
5
|
-
icons: "
|
|
5
|
+
icons: "/assets/icons.js",
|
|
6
6
|
logos: {
|
|
7
7
|
primary: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
8
8
|
primaryMobile: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IDefaultColors, IDefaultThemeInterface, IGlobalDefaultTheme } from "../interfaces/default-theme.interface";
|
|
2
|
+
declare const DefaultThemeSFUI: (colors?: IDefaultColors) => IDefaultThemeInterface;
|
|
3
|
+
export default DefaultThemeSFUI;
|
|
4
|
+
export declare const globalTheme: IGlobalDefaultTheme;
|
|
5
|
+
export declare const DefaultThemeColors: IDefaultColors;
|