@thryveai/theme-interfaces 2.8.2 → 2.8.3-1.subpath

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.
@@ -96,12 +96,20 @@ var DefaultConfigSFUI = {
96
96
  houseAccountRegExValidation: ".",
97
97
  minimumCreditCardAmount: 1.0,
98
98
  numericPhonePayload: false,
99
+ nativePayments: {
100
+ googlePayButton: {
101
+ buttonColor: "default",
102
+ buttonType: "checkout",
103
+ buttonRadius: 4,
104
+ },
105
+ },
99
106
  paymentCards: {
100
107
  AmExpCard: true,
101
108
  DiscoverCard: true,
102
109
  MasterCard: true,
103
110
  MasterCardDebit: true,
104
111
  VisaCard: true,
112
+ VisaDebit: false,
105
113
  PayPal: false,
106
114
  ApplePay: false,
107
115
  GooglePay: false,
@@ -394,6 +402,7 @@ var DefaultConfigSFUI = {
394
402
  SmallPromotion: false,
395
403
  ThreeBannerContainer: false,
396
404
  TwoBannerContainer: false,
405
+ PromotionsGallery: false,
397
406
  Video: false,
398
407
  VideoWithContent: false,
399
408
  },
@@ -404,6 +413,7 @@ var DefaultConfigSFUI = {
404
413
  scrollToTopButton: {
405
414
  enabled: false,
406
415
  percentOffset: { bottom: 15, right: 2 },
416
+ visibilityThreshold: 2000,
407
417
  },
408
418
  clientRenderCoupons: true,
409
419
  showClippedStateInCouponModal: false,
@@ -416,6 +426,14 @@ var DefaultConfigSFUI = {
416
426
  skipConfirmation: false,
417
427
  confirmationDelay: 5000,
418
428
  },
429
+ carousel: {
430
+ showArrowsOnHoverOnly: true,
431
+ },
432
+ categoryDocumentTitle: {
433
+ includeBannerTitle: true,
434
+ categoryLevels: 1,
435
+ delimiter: " - ",
436
+ },
419
437
  },
420
438
  welcomeModal: [],
421
439
  performance: {
@@ -31,9 +31,16 @@ var DefaultSharedSettingsConfig = {
31
31
  ageVerificationPrefix: "",
32
32
  ageVerificationStatementName: "",
33
33
  },
34
+ ageGateModal: {
35
+ enabled: false,
36
+ redirectUrl: "",
37
+ },
34
38
  loyalty: {
35
- barcodeFormat: "UPC"
36
- }
39
+ barcodeFormat: "UPC",
40
+ },
41
+ idp: {
42
+ organization: "",
43
+ },
37
44
  },
38
45
  checkout: {
39
46
  preserveOrderNote: {
@@ -47,6 +54,11 @@ var DefaultSharedSettingsConfig = {
47
54
  dateOfBirthInputFormat: "DD/MM/YYYY",
48
55
  wasComparisonPrice: false,
49
56
  enableTargetedRewardsIcon: false,
57
+ displayInstacartIcon: {
58
+ timeslot: true,
59
+ summary: true,
60
+ orderHeader: true,
61
+ },
50
62
  },
51
63
  };
52
64
  exports.default = DefaultSharedSettingsConfig;
@@ -209,7 +209,7 @@ var DefaultThemeSFUI = function (colors) {
209
209
  search: {
210
210
  borderColor: colors.greyscale3,
211
211
  borderRadius: "4px",
212
- clearBtnColor: colors.greyscale3,
212
+ clearBtnColor: colors.greyscale4,
213
213
  searchButton: {
214
214
  desktop: {
215
215
  static: { color: colors.primary1, backgroundColor: "transparent" },
@@ -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" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa" | "plant based" | "frozen" | "canadian local" | "made in canada" | "product of canada";
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" | "plant based" | "frozen" | "canadian local" | "made in canada" | "product of canada" | "shop canadian" | "high fiber" | "high protein" | "new product" | "vegetarian" | "hypoallergenic" | "a+ rewards";
3
3
  export declare type IProductAttributeToIcons = {
4
4
  [key in ProductAttributes]: ProductAttributeIcons;
5
5
  };
@@ -36,4 +36,11 @@ exports.ProductAttrToIcons = {
36
36
  "canadian local": "MapleLeafCanadian",
37
37
  "made in canada": "MapleLeafCanadian",
38
38
  "product of canada": "MapleLeafCanadian",
39
+ "shop canadian": "MapleLeafCanadian",
40
+ "high fiber": "HighFiber",
41
+ "high protein": "HighProtein",
42
+ "new product": "NewProduct",
43
+ "vegetarian": "Vegetarian",
44
+ "hypoallergenic": "Hypoallergenic",
45
+ "a+ rewards": "APlusRewards",
39
46
  };
package/package.json CHANGED
@@ -1,36 +1,71 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "2.8.2",
4
- "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
- "scripts": {
6
- "build": "gulp",
7
- "merge-settings": "ts-node ./scripts/settings/sfui-settings-migrator.ts",
8
- "generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js",
9
- "commit": "cz"
10
- },
11
- "author": "Wynshop",
12
- "license": "ISC",
13
- "main": "dist",
14
- "files": [
15
- "dist"
16
- ],
17
- "devDependencies": {
18
- "@types/node": "^17.0.42",
19
- "cz-conventional-changelog": "^3.3.0",
20
- "fs-extra": "11.1.0",
21
- "gulp": "4.0.2",
22
- "gulp-file-contents-to-json": "0.2.2",
23
- "gulp-typescript": "6.0.0-alpha.1",
24
- "imagemin": "7.0.1",
25
- "imagemin-svgo": "9.0.0",
26
- "svgo": "3.0.2",
27
- "ts-json-schema-generator": "2.3.0",
28
- "ts-node": "^10.8.1",
29
- "typescript": "4.6.3"
30
- },
31
- "config": {
32
- "commitizen": {
33
- "path": "./application/node_modules/cz-conventional-changelog"
34
- }
35
- }
36
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "2.8.31.subpath",
4
+ "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
+ "scripts": {
6
+ "build": "gulp",
7
+ "merge-settings": "ts-node ./scripts/settings/sfui-settings-migrator.ts",
8
+ "generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js",
9
+ "commit": "cz"
10
+ },
11
+ "author": "Wynshop",
12
+ "license": "ISC",
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "files": ["dist"],
16
+ "sideEffects": false,
17
+ "devDependencies": {
18
+ "@types/googlepay": "^0.7.6",
19
+ "@types/node": "^17.0.42",
20
+ "cz-conventional-changelog": "^3.3.0",
21
+ "fs-extra": "11.1.0",
22
+ "gulp": "4.0.2",
23
+ "gulp-typescript": "6.0.0-alpha.1",
24
+ "imagemin": "7.0.1",
25
+ "imagemin-svgo": "9.0.0",
26
+ "svgo": "3.0.2",
27
+ "ts-json-schema-generator": "2.3.0",
28
+ "ts-node": "^10.8.1",
29
+ "typescript": "4.6.3"
30
+ },
31
+ "config": {
32
+ "commitizen": {
33
+ "path": "./application/node_modules/cz-conventional-changelog"
34
+ }
35
+ },
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "default": "./dist/index.js"
40
+ },
41
+ "./storefront/*": {
42
+ "types": "./dist/storefront/*.d.ts",
43
+ "default": "./dist/storefront/*.js"
44
+ },
45
+ "./mobile/*": {
46
+ "types": "./dist/mobile/*.d.ts",
47
+ "default": "./dist/mobile/*.js"
48
+ },
49
+ "./schemas/*": {
50
+ "types": "./dist/JSONSchemas/*.d.ts",
51
+ "default": "./dist/JSONSchemas/*.js"
52
+ },
53
+ "./admin/*": {
54
+ "types": "./dist/theme-templates/*.d.ts",
55
+ "default": "./dist/theme-templates/*.js"
56
+ },
57
+ "./sts/*": {
58
+ "types": "./dist/sts/*.d.ts",
59
+ "default": "./dist/sts/*.js"
60
+ }
61
+ },
62
+ "typesVersions": {
63
+ "*": {
64
+ "storefront/*": ["dist/storefront/*"],
65
+ "mobile/*": ["dist/mobile/*"],
66
+ "schemas/*": ["dist/JSONSchemas/*"],
67
+ "admin/*": ["dist/theme-templates/*"],
68
+ "sts/*": ["dist/sts/*"]
69
+ }
70
+ }
71
+ }