@thryveai/theme-interfaces 2.7.13 → 2.7.15-3.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 +10 -4
- package/dist/index.js +7 -1
- package/dist/interfaces/admin-settings-interfaces.d.ts +16 -6
- package/dist/interfaces/default-settings.interfaces.d.ts +3 -79
- package/dist/interfaces/default-settings.interfaces.js +0 -1
- package/dist/interfaces/default-theme.interface.d.ts +34 -0
- package/dist/interfaces/icons.interfaces.d.ts +4 -3
- package/dist/interfaces/retailer-settings.interfaces.d.ts +169 -14
- package/dist/interfaces/shared-settings-interfaces.d.ts +5 -0
- package/dist/interfaces/shared-settings-interfaces.js +2 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +51 -0
- package/dist/interfaces/shared-settings.interfaces.js +2 -0
- package/dist/interfaces/theme.interfaces.d.ts +23 -0
- package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +1 -0
- package/dist/mobile/reactnative/MobileDefaultSettings.d.ts +5 -1
- package/dist/mobile/reactnative/MobileDefaultSettings.js +15 -1
- package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.js +84 -5
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +220 -15
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.d.ts +4 -0
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +168 -0
- package/dist/storefront/contentEngineComponents.d.ts +13 -11
- package/dist/storefront/contentEngineComponents.js +13 -11
- package/dist/storefront/defaultIconsStorefront.js +171 -146
- package/dist/storefront/defaultImagesStorefront.js +4 -0
- package/dist/storefront/defaultSettingsStorefront.js +113 -15
- package/dist/storefront/defaultSharedSettings.d.ts +3 -0
- package/dist/storefront/defaultSharedSettings.js +39 -0
- package/dist/storefront/defaultThemeStorefront.js +45 -0
- package/dist/storefront/productBadgeAttributes.d.ts +1 -1
- package/dist/storefront/productBadgeAttributes.js +4 -0
- package/dist/sts/STSImagesTemplate.AdminUi.js +22 -0
- package/package.json +9 -3
- package/README.md +0 -29
|
@@ -8,6 +8,9 @@ var DefaultConfigSFUI = {
|
|
|
8
8
|
url: "",
|
|
9
9
|
},
|
|
10
10
|
loyaltyTab: {
|
|
11
|
+
barcodeSettings: {
|
|
12
|
+
enabled: false,
|
|
13
|
+
},
|
|
11
14
|
disabledEdit: false,
|
|
12
15
|
enabled: false,
|
|
13
16
|
loyaltyNumberLength: 11,
|
|
@@ -17,6 +20,32 @@ var DefaultConfigSFUI = {
|
|
|
17
20
|
profileTab: {
|
|
18
21
|
deleteAccountButton: false,
|
|
19
22
|
},
|
|
23
|
+
secondStepRegistration: {
|
|
24
|
+
businessAccount: {
|
|
25
|
+
enabled: false,
|
|
26
|
+
fields: {
|
|
27
|
+
company: {
|
|
28
|
+
enabled: true,
|
|
29
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
30
|
+
},
|
|
31
|
+
typeOfBusiness: {
|
|
32
|
+
enabled: true,
|
|
33
|
+
options: [
|
|
34
|
+
"administrationOffice",
|
|
35
|
+
"education",
|
|
36
|
+
"foodService",
|
|
37
|
+
"nonProfit",
|
|
38
|
+
"youthSports",
|
|
39
|
+
],
|
|
40
|
+
validationTypes: ["required"],
|
|
41
|
+
},
|
|
42
|
+
title: {
|
|
43
|
+
enabled: true,
|
|
44
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
20
49
|
},
|
|
21
50
|
addressSettings: {
|
|
22
51
|
addressValidationTypes: {
|
|
@@ -30,6 +59,7 @@ var DefaultConfigSFUI = {
|
|
|
30
59
|
phoneNumber: ["usPhone", "required"],
|
|
31
60
|
postCode: ["usPostCode", "required"],
|
|
32
61
|
smsNumber: [],
|
|
62
|
+
deliveryModalZipCodeValidation: [],
|
|
33
63
|
},
|
|
34
64
|
eircode: {
|
|
35
65
|
enabled: false,
|
|
@@ -45,6 +75,7 @@ var DefaultConfigSFUI = {
|
|
|
45
75
|
addressProfileName: null,
|
|
46
76
|
},
|
|
47
77
|
useAddressValidation: true,
|
|
78
|
+
fixOldAddresses: true,
|
|
48
79
|
},
|
|
49
80
|
adminPanelOnly: {
|
|
50
81
|
bannerName: "New banner name",
|
|
@@ -56,6 +87,7 @@ var DefaultConfigSFUI = {
|
|
|
56
87
|
showTaxTotal: true,
|
|
57
88
|
},
|
|
58
89
|
checkout: {
|
|
90
|
+
smsOptIn: false,
|
|
59
91
|
checkoutValidation: {
|
|
60
92
|
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
61
93
|
phoneNumber: ["usPhone", "required"],
|
|
@@ -70,12 +102,19 @@ var DefaultConfigSFUI = {
|
|
|
70
102
|
MasterCard: true,
|
|
71
103
|
MasterCardDebit: true,
|
|
72
104
|
VisaCard: true,
|
|
105
|
+
PayPal: false,
|
|
106
|
+
ApplePay: false,
|
|
107
|
+
GooglePay: false,
|
|
108
|
+
EBT: false,
|
|
109
|
+
Paze: false,
|
|
73
110
|
},
|
|
74
111
|
forceDeliverySection: false,
|
|
75
112
|
enableInterimModal: false,
|
|
76
113
|
},
|
|
77
114
|
features: {
|
|
78
115
|
additionalCharges: false,
|
|
116
|
+
creditBalance: false,
|
|
117
|
+
subscriptions: false,
|
|
79
118
|
addressIntegrationV2: false,
|
|
80
119
|
advertSettings: {},
|
|
81
120
|
allowInStorePurchases: false,
|
|
@@ -87,10 +126,15 @@ var DefaultConfigSFUI = {
|
|
|
87
126
|
galleryIsIframe: false,
|
|
88
127
|
},
|
|
89
128
|
ebtPayments: false,
|
|
90
|
-
|
|
91
|
-
|
|
129
|
+
emailCartOrShoppingList: { enabled: false, messageField: false },
|
|
130
|
+
googleTranslateWidget: {
|
|
131
|
+
enabled: false,
|
|
132
|
+
position: "footer",
|
|
133
|
+
inlineLayout: "horizontal",
|
|
134
|
+
},
|
|
92
135
|
enableNewsletterSignup: false,
|
|
93
136
|
enableNotifications: false,
|
|
137
|
+
enableRecipeSearch: false,
|
|
94
138
|
entryModalVersion: "entry",
|
|
95
139
|
externalStoreSelectorUrl: {
|
|
96
140
|
enabled: false,
|
|
@@ -118,10 +162,12 @@ var DefaultConfigSFUI = {
|
|
|
118
162
|
enabled: false,
|
|
119
163
|
url: "",
|
|
120
164
|
},
|
|
165
|
+
recipeLegacyShareLink: true,
|
|
121
166
|
registrationFields: [],
|
|
122
167
|
secondTierAuthorization: undefined,
|
|
123
168
|
showCheckoutPromoCode: true,
|
|
124
169
|
showImgOnOrder: false,
|
|
170
|
+
showRewardPromoChangeTimeslotMsg: false,
|
|
125
171
|
smartbanner: {
|
|
126
172
|
author: "",
|
|
127
173
|
button: "",
|
|
@@ -145,14 +191,20 @@ var DefaultConfigSFUI = {
|
|
|
145
191
|
vouchers: {
|
|
146
192
|
enabled: false,
|
|
147
193
|
reCaptcha: false,
|
|
194
|
+
manualVouchers: true,
|
|
148
195
|
},
|
|
149
196
|
promotionDetailsPage: {
|
|
150
197
|
bundlePromotionCalculator: true,
|
|
151
198
|
nonBundlePromotionCalculator: true,
|
|
152
199
|
},
|
|
153
200
|
gsaSupportedBrowser: true,
|
|
201
|
+
acquiaAuthService: false,
|
|
154
202
|
},
|
|
155
203
|
pdpSettings: {
|
|
204
|
+
externalContent: {
|
|
205
|
+
enabled: true,
|
|
206
|
+
contentProviders: [{ provider: "syndigo" }],
|
|
207
|
+
},
|
|
156
208
|
nutritionZone: "us",
|
|
157
209
|
pdpDetailsLayout: {
|
|
158
210
|
desktop: {
|
|
@@ -187,8 +239,8 @@ var DefaultConfigSFUI = {
|
|
|
187
239
|
threshold: 2300,
|
|
188
240
|
},
|
|
189
241
|
productAttributesLayout: {
|
|
190
|
-
legacyAttributes: true,
|
|
191
242
|
attributesRank: [],
|
|
243
|
+
excludedAttributes: [],
|
|
192
244
|
},
|
|
193
245
|
nutritionLink: { href: null, target: "_blank" },
|
|
194
246
|
priceLoyaltyFlag: false,
|
|
@@ -211,23 +263,39 @@ var DefaultConfigSFUI = {
|
|
|
211
263
|
layouts: {
|
|
212
264
|
ContainersCarousel: "default",
|
|
213
265
|
ContainersGrid: "default",
|
|
266
|
+
FlyerCard: "default",
|
|
267
|
+
SimplifiedCarousel: "default",
|
|
214
268
|
},
|
|
215
269
|
components: {
|
|
216
270
|
promotionLabel: {
|
|
217
271
|
showLines: 1,
|
|
272
|
+
labelSource: "name",
|
|
273
|
+
labelsLimit: 1,
|
|
274
|
+
labelsPriority: [
|
|
275
|
+
{ _type: "tprPromo" },
|
|
276
|
+
{ _type: "pointPromo", limit: 1 },
|
|
277
|
+
{ _type: "promo", limit: 1 },
|
|
278
|
+
],
|
|
218
279
|
},
|
|
219
280
|
recommendedLabel: { enabled: false },
|
|
281
|
+
productAttributes: {
|
|
282
|
+
iconOpacity: 0.6,
|
|
283
|
+
},
|
|
220
284
|
},
|
|
221
285
|
},
|
|
222
286
|
},
|
|
223
287
|
productCardTitleHeight: 40,
|
|
224
288
|
},
|
|
225
289
|
siteSettings: {
|
|
290
|
+
useAdsV1: false,
|
|
291
|
+
advertProductView: false,
|
|
226
292
|
clientSideOrderModify: true,
|
|
293
|
+
cmsLazyLoadRows: 0,
|
|
227
294
|
anonymousCart: false,
|
|
228
295
|
ctaButtons: null,
|
|
229
296
|
daysToRemainSignedIn: 30,
|
|
230
297
|
defaultCountry: "USA",
|
|
298
|
+
defaultLanguage: "en-us",
|
|
231
299
|
defaultSearchParams: {
|
|
232
300
|
page: "1",
|
|
233
301
|
q: "*",
|
|
@@ -236,11 +304,13 @@ var DefaultConfigSFUI = {
|
|
|
236
304
|
},
|
|
237
305
|
defaultShoppingMode: "pickup",
|
|
238
306
|
defaultTabView: "listView",
|
|
307
|
+
showChangeCustomerEmail: false,
|
|
239
308
|
defaultStoreLocation: {
|
|
240
309
|
latitude: 0,
|
|
241
310
|
longitude: 0,
|
|
242
311
|
},
|
|
243
312
|
disableTprPrice: false,
|
|
313
|
+
mobileViewCardLayout: { enabled: false, defaultView: "List" },
|
|
244
314
|
footerVersion: "default",
|
|
245
315
|
googleAutocompleteSettings: {},
|
|
246
316
|
gtmId: "",
|
|
@@ -271,10 +341,12 @@ var DefaultConfigSFUI = {
|
|
|
271
341
|
desktop: {
|
|
272
342
|
products: true,
|
|
273
343
|
suggestions: true,
|
|
344
|
+
recipes: true,
|
|
274
345
|
},
|
|
275
346
|
mobile: {
|
|
276
347
|
products: true,
|
|
277
348
|
suggestions: true,
|
|
349
|
+
recipes: true,
|
|
278
350
|
},
|
|
279
351
|
},
|
|
280
352
|
subHeaderHeight: 0,
|
|
@@ -283,30 +355,56 @@ var DefaultConfigSFUI = {
|
|
|
283
355
|
timeslotRequiredToAddToCart: false,
|
|
284
356
|
timeslotRequiredToViewCartReview: false,
|
|
285
357
|
timeslotRequiredToViewCheckout: false,
|
|
358
|
+
enableSelectToContinueText: false,
|
|
286
359
|
},
|
|
287
360
|
useContentEngineV2Components: {
|
|
288
|
-
Carousel:
|
|
289
|
-
SmallCarousel: false,
|
|
290
|
-
Freeform: false,
|
|
361
|
+
Carousel: true,
|
|
291
362
|
ContactUs: false,
|
|
363
|
+
Freeform: false,
|
|
292
364
|
HeroBanner: false,
|
|
293
365
|
Image: false,
|
|
294
|
-
Video: false,
|
|
295
|
-
VideoWithContent: false,
|
|
296
|
-
ImageWithContent: false,
|
|
297
366
|
ImageTextButton: false,
|
|
298
|
-
|
|
299
|
-
SmallImageWithContent: false,
|
|
367
|
+
ImageWithContent: false,
|
|
300
368
|
LargePromotion: false,
|
|
301
|
-
|
|
302
|
-
|
|
369
|
+
LayoutExtraLargeBanner2: false,
|
|
370
|
+
PageTopperWithFullBackground: false,
|
|
371
|
+
ProductCardStory: false,
|
|
372
|
+
Recipe: false,
|
|
303
373
|
Sale: false,
|
|
304
374
|
SmallBannerWithBackgroundImage: false,
|
|
305
375
|
SmallBannerWithSupportingImage: false,
|
|
306
|
-
|
|
307
|
-
|
|
376
|
+
SmallCarousel: false,
|
|
377
|
+
SmallImageWithContent: false,
|
|
378
|
+
SmallPromotion: false,
|
|
379
|
+
ThreeBannerContainer: false,
|
|
380
|
+
TwoBannerContainer: false,
|
|
381
|
+
Video: false,
|
|
382
|
+
VideoWithContent: false,
|
|
383
|
+
},
|
|
384
|
+
isLegacyProductURL: false,
|
|
385
|
+
headerLinks: { dimension: 0, enabled: false },
|
|
386
|
+
showCartValueOnMobile: false,
|
|
387
|
+
cookiePro: { enabled: false, domain: "", src: "" },
|
|
388
|
+
scrollToTopButton: {
|
|
389
|
+
enabled: false,
|
|
390
|
+
percentOffset: { bottom: 15, right: 2 },
|
|
391
|
+
},
|
|
392
|
+
clientRenderCoupons: true,
|
|
393
|
+
showShopAllLink: {
|
|
394
|
+
enabled: false,
|
|
308
395
|
},
|
|
396
|
+
showEmptyMiniList: false,
|
|
309
397
|
},
|
|
310
398
|
welcomeModal: [],
|
|
399
|
+
performance: {
|
|
400
|
+
vouchersLongTimeout: false,
|
|
401
|
+
},
|
|
402
|
+
integrations: {
|
|
403
|
+
prodX: {
|
|
404
|
+
enabled: false,
|
|
405
|
+
catalogId: "",
|
|
406
|
+
test: false,
|
|
407
|
+
},
|
|
408
|
+
},
|
|
311
409
|
};
|
|
312
410
|
exports.default = DefaultConfigSFUI;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DefaultSharedSettingsConfig = {
|
|
4
|
+
adminPanelOnly: {
|
|
5
|
+
bannerName: "New banner name",
|
|
6
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
7
|
+
},
|
|
8
|
+
features: {
|
|
9
|
+
multilingual: false,
|
|
10
|
+
recommendedSubstitutions: {
|
|
11
|
+
enable: false,
|
|
12
|
+
search: { enable: false },
|
|
13
|
+
stores: [],
|
|
14
|
+
locationId: "",
|
|
15
|
+
},
|
|
16
|
+
specialRequestItems: {
|
|
17
|
+
enable: false,
|
|
18
|
+
excludeStores: [],
|
|
19
|
+
},
|
|
20
|
+
couponGallery: {
|
|
21
|
+
enabled: false,
|
|
22
|
+
showClipAllCouponsButton: false
|
|
23
|
+
},
|
|
24
|
+
flyerConfiguration: null,
|
|
25
|
+
},
|
|
26
|
+
checkout: {
|
|
27
|
+
preserveOrderNote: {
|
|
28
|
+
enabled: false,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
general: {
|
|
32
|
+
enableStoreSelectorList: true,
|
|
33
|
+
skipStoreSelection: false,
|
|
34
|
+
addressConfirmationModal: false,
|
|
35
|
+
dateOfBirthInputFormat: "DD/MM/YYYY",
|
|
36
|
+
wasComparisonPrice: false,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
exports.default = DefaultSharedSettingsConfig;
|
|
@@ -59,6 +59,10 @@ var DefaultThemeSFUI = function (colors) {
|
|
|
59
59
|
color: colors.secondary1,
|
|
60
60
|
bgColor: colors.greyscale1,
|
|
61
61
|
},
|
|
62
|
+
cartCurrency: {
|
|
63
|
+
color: colors.secondary1,
|
|
64
|
+
bgColor: colors.greyscale1,
|
|
65
|
+
},
|
|
62
66
|
},
|
|
63
67
|
topMenu: {
|
|
64
68
|
color: colors.greyscale6,
|
|
@@ -1075,9 +1079,50 @@ var DefaultThemeSFUI = function (colors) {
|
|
|
1075
1079
|
placeholderColor: colors.greyscale2,
|
|
1076
1080
|
},
|
|
1077
1081
|
},
|
|
1082
|
+
dropdown: {
|
|
1083
|
+
iconColor: colors.greyscale4,
|
|
1084
|
+
static: {
|
|
1085
|
+
bgColor: colors.greyscale1,
|
|
1086
|
+
borderColor: colors.greyscale3,
|
|
1087
|
+
color: colors.greyscale4,
|
|
1088
|
+
},
|
|
1089
|
+
hover: {
|
|
1090
|
+
bgColor: colors.greyscale1,
|
|
1091
|
+
borderColor: colors.greyscale3,
|
|
1092
|
+
color: colors.greyscale5,
|
|
1093
|
+
},
|
|
1094
|
+
open: {
|
|
1095
|
+
bgColor: colors.tertiary1,
|
|
1096
|
+
borderColor: colors.primary1,
|
|
1097
|
+
color: colors.greyscale4,
|
|
1098
|
+
},
|
|
1099
|
+
options: {
|
|
1100
|
+
static: {
|
|
1101
|
+
bgColor: colors.greyscale1,
|
|
1102
|
+
borderColor: colors.greyscale3,
|
|
1103
|
+
color: colors.greyscale4,
|
|
1104
|
+
},
|
|
1105
|
+
hover: {
|
|
1106
|
+
bgColor: colors.tertiary1,
|
|
1107
|
+
borderColor: colors.greyscale3,
|
|
1108
|
+
color: colors.greyscale4,
|
|
1109
|
+
},
|
|
1110
|
+
},
|
|
1111
|
+
},
|
|
1078
1112
|
productGrid: {
|
|
1079
1113
|
borderColor: colors.greyscale2,
|
|
1080
1114
|
},
|
|
1115
|
+
cms: {
|
|
1116
|
+
heading: {
|
|
1117
|
+
color: colors.greyscale5,
|
|
1118
|
+
},
|
|
1119
|
+
subheading: {
|
|
1120
|
+
color: colors.greyscale4,
|
|
1121
|
+
},
|
|
1122
|
+
bodyText: {
|
|
1123
|
+
color: colors.greyscale5,
|
|
1124
|
+
},
|
|
1125
|
+
},
|
|
1081
1126
|
logoHeight: {
|
|
1082
1127
|
header: {
|
|
1083
1128
|
desktop: "34px",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductAttributeIcons } from "../interfaces/icons.interfaces";
|
|
2
|
-
export declare type ProductAttributes = "gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain";
|
|
2
|
+
export declare type ProductAttributes = "gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa";
|
|
3
3
|
export declare type IProductAttributeToIcons = {
|
|
4
4
|
[key in ProductAttributes]: ProductAttributeIcons;
|
|
5
5
|
};
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProductAttrToIcons = void 0;
|
|
4
4
|
// this object will also be used as default ranking (first key - render first)
|
|
5
5
|
exports.ProductAttrToIcons = {
|
|
6
|
+
bottledeposit: "BottleDeposit",
|
|
6
7
|
"gluten free": "GlutenFree",
|
|
7
8
|
organic: "Organic",
|
|
8
9
|
local: "Local",
|
|
@@ -27,4 +28,7 @@ exports.ProductAttrToIcons = {
|
|
|
27
28
|
"soy free": "SoyFree",
|
|
28
29
|
vegan: "Vegan",
|
|
29
30
|
"whole grain": "WholeGrain",
|
|
31
|
+
"limited ingredients": "LimitedIngredients",
|
|
32
|
+
"minimally processed": "MinimallyProcessed",
|
|
33
|
+
"fsa": "Fsa",
|
|
30
34
|
};
|
|
@@ -18,6 +18,28 @@ exports.AdminImagesTemplateSTS = {
|
|
|
18
18
|
description: "This is the logo used on mobile in the sts app",
|
|
19
19
|
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.images,
|
|
20
20
|
},
|
|
21
|
+
stsAlt: {
|
|
22
|
+
title: "STS Logo Alt text",
|
|
23
|
+
description: "Alternative text for an image if it is not displayed, or if the user uses a screen reader",
|
|
24
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
banner: {
|
|
29
|
+
title: "STS Banner Image",
|
|
30
|
+
description: "Set optional STS Banner image",
|
|
31
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
32
|
+
value: {
|
|
33
|
+
src: {
|
|
34
|
+
title: "STS Banner Image URL",
|
|
35
|
+
description: "This is the Banner logo used in the sts app",
|
|
36
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
37
|
+
},
|
|
38
|
+
alt: {
|
|
39
|
+
title: "STS Banner Image Alt text",
|
|
40
|
+
description: "Alternative text for an image if it is not displayed, or if the user uses a screen reader",
|
|
41
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
42
|
+
},
|
|
21
43
|
},
|
|
22
44
|
},
|
|
23
45
|
stsFavicon: {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.153.beta",
|
|
4
4
|
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "gulp",
|
|
7
|
-
"push": "npm run build && npm publish",
|
|
8
7
|
"merge-settings": "ts-node ./scripts/settings/sfui-settings-migrator.ts",
|
|
9
|
-
"generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js"
|
|
8
|
+
"generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js",
|
|
9
|
+
"commit": "cz"
|
|
10
10
|
},
|
|
11
11
|
"author": "Wynshop",
|
|
12
12
|
"license": "ISC",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^17.0.42",
|
|
19
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
19
20
|
"fs-extra": "11.1.0",
|
|
20
21
|
"gulp": "4.0.2",
|
|
21
22
|
"gulp-file-contents-to-json": "0.2.2",
|
|
@@ -25,5 +26,10 @@
|
|
|
25
26
|
"svgo": "3.0.2",
|
|
26
27
|
"ts-node": "^10.8.1",
|
|
27
28
|
"typescript": "4.6.3"
|
|
29
|
+
},
|
|
30
|
+
"config": {
|
|
31
|
+
"commitizen": {
|
|
32
|
+
"path": "./application/node_modules/cz-conventional-changelog"
|
|
33
|
+
}
|
|
28
34
|
}
|
|
29
35
|
}
|
package/README.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
```
|