@thryveai/theme-interfaces 2.5.0 → 2.5.1-beta.1

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.
@@ -67,6 +67,7 @@ var DefaultConfigSFUI = {
67
67
  AmExpCard: true,
68
68
  DiscoverCard: true,
69
69
  MasterCard: true,
70
+ MasterCardDebit: true,
70
71
  VisaCard: true,
71
72
  },
72
73
  forceDeliverySection: false,
@@ -207,6 +208,7 @@ var DefaultConfigSFUI = {
207
208
  showLines: 1,
208
209
  },
209
210
  },
211
+ attributesRank: [],
210
212
  },
211
213
  },
212
214
  productCardTitleHeight: 40,
@@ -241,7 +243,7 @@ var DefaultConfigSFUI = {
241
243
  sections: {
242
244
  marketingPreferences: [],
243
245
  },
244
- optInMarketingPreferences: false
246
+ optInMarketingPreferences: false,
245
247
  },
246
248
  mapZoom: 8,
247
249
  promoTemplateVersion: 1,
@@ -0,0 +1,6 @@
1
+ import { ProductAttributeIcons } from "../interfaces/icons.interfaces";
2
+ export declare type ProductAttributes = "gluten free" | "organic" | "local" | "dairyFree" | "diabetesFriendly" | "eggFree" | "fairTrade" | "noArtificialIngredients" | "halal" | "heartHealth" | "nohighFructoseCornSyrup" | "ketoFriendly" | "kosher" | "lactoseFree" | "lowFodmap" | "lowSodium" | "noAddedSugar" | "nonGmo" | "paleo" | "peanutFree" | "plantGoodness" | "soyFree" | "vegan" | "wholeGrain";
3
+ export declare type IProductAttributeToIcons = {
4
+ [key in ProductAttributes]: ProductAttributeIcons;
5
+ };
6
+ export declare const ProductAttrToIcons: IProductAttributeToIcons;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductAttrToIcons = void 0;
4
+ // this object will also be used as default ranking (first key - render first)
5
+ exports.ProductAttrToIcons = {
6
+ "gluten free": "GlutenFree",
7
+ organic: "Organic",
8
+ local: "Local",
9
+ dairyFree: "DairyFree",
10
+ diabetesFriendly: "DiabetesFriendly",
11
+ eggFree: "EggFree",
12
+ fairTrade: "FairTrade",
13
+ noArtificialIngredients: "NoArtificialIngredients",
14
+ halal: "Halal",
15
+ heartHealth: "HeartHealth",
16
+ nohighFructoseCornSyrup: "NoHighFructoseCornSyrup",
17
+ ketoFriendly: "KetoFriendly",
18
+ kosher: "Kosher",
19
+ lactoseFree: "LactoseFree",
20
+ lowFodmap: "LowFODMAP",
21
+ lowSodium: "LowSodium",
22
+ noAddedSugar: "NoAddedSugar",
23
+ nonGmo: "NonGMO",
24
+ paleo: "Paleo",
25
+ peanutFree: "PeanutFree",
26
+ plantGoodness: "PlantGoodness",
27
+ soyFree: "SoyFree",
28
+ vegan: "Vegan",
29
+ wholeGrain: "WholeGrain",
30
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.5.0",
3
+ "version": "2.5.1-beta.1",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",