@thryveai/theme-interfaces 2.8.50 → 2.8.52
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/JSONSchemas/index.d.ts +254 -191
- package/dist/JSONSchemas/index.js +524 -461
- package/dist/interfaces/default-theme.interface.d.ts +8 -0
- package/dist/interfaces/retailer-settings.interfaces.d.ts +1 -1
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +3 -3
- package/dist/storefront/commonSettingsStorefront.js +1 -1
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +1 -1
- package/dist/storefront/defaultThemeStorefront.js +17 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeepPartial } from "../index";
|
|
2
2
|
import { IconNames } from "./icons.interfaces";
|
|
3
|
+
import { IAttributeLabelVariants } from "./shared-settings.interfaces";
|
|
3
4
|
export interface IDefaultTheme extends IInitializedEmptyDefaultTheme {
|
|
4
5
|
theme: IDefaultThemeInterface;
|
|
5
6
|
images: IDefaultThemeImages;
|
|
@@ -223,6 +224,13 @@ export interface IDefaultThemeInterface {
|
|
|
223
224
|
color: string;
|
|
224
225
|
bgColor: string;
|
|
225
226
|
};
|
|
227
|
+
shoppingLabels: {
|
|
228
|
+
[key in IAttributeLabelVariants]: {
|
|
229
|
+
textColor: string;
|
|
230
|
+
iconColor: string;
|
|
231
|
+
backgroundColor: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
226
234
|
};
|
|
227
235
|
accountPage: {
|
|
228
236
|
passwordRequirements: {
|
|
@@ -808,7 +808,7 @@ export interface IShowShopAllLink {
|
|
|
808
808
|
enabled: boolean;
|
|
809
809
|
}
|
|
810
810
|
export interface IEmptyListButton {
|
|
811
|
-
|
|
811
|
+
excludeModes: ShoppingMode[];
|
|
812
812
|
style: "secondary" | "tertiary";
|
|
813
813
|
renderBelowReviewCartButton: boolean;
|
|
814
814
|
icon: boolean;
|
|
@@ -1149,9 +1149,9 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
1149
1149
|
value: true,
|
|
1150
1150
|
},
|
|
1151
1151
|
value: {
|
|
1152
|
-
|
|
1153
|
-
title: "
|
|
1154
|
-
description: "Select which shopping modes
|
|
1152
|
+
excludeModes: {
|
|
1153
|
+
title: "Exclude shopping modes",
|
|
1154
|
+
description: "Select from which shopping modes to exclude the Empty list/cart button.",
|
|
1155
1155
|
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
1156
1156
|
options: ["pickup", "planning", "delivery"],
|
|
1157
1157
|
},
|