@thryveai/theme-interfaces 2.4.15 → 2.4.18

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/README.md CHANGED
@@ -1,29 +1,29 @@
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
- ```
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
+ ```
@@ -24,6 +24,7 @@ export interface IDefaultRetailerSettings {
24
24
  defaultStoreLocation: IDefaultStoreLocation;
25
25
  disableTprPrice: boolean;
26
26
  documentTitle: string;
27
+ ebtPayments: boolean;
27
28
  eircode: string | undefined;
28
29
  enable3dSecure: boolean;
29
30
  enableGoogleTranslate: boolean;
@@ -3,5 +3,5 @@ export declare type IIconsObject = {
3
3
  };
4
4
  export declare type PaymentTypesLogos = "AmExpCard" | "Comodo" | "DiscoverCard" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
5
5
  export declare type PaymentCards = "AmExpCard" | "DiscoverCard" | "MasterCard" | "VisaCard";
6
- export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ArrowDown" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GlutenFree" | "Hamburger" | "Help" | "Home" | "Info" | "Instacart" | "Instagram" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "Local" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "Organic" | "PastPurchases" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Plus" | "Print" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "Remove" | "Reserve" | "ReserveTime" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "Trash" | "Twitter" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards;
6
+ export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ArrowDown" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GlutenFree" | "Hamburger" | "Help" | "Home" | "Info" | "Instacart" | "Instagram" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "Local" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "Organic" | "PastPurchases" | "PayPal" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Plus" | "Print" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "Remove" | "Reserve" | "ReserveTime" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "Trash" | "Twitter" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards;
7
7
  export declare const IconNamesToFiles: IIconsObject;
@@ -77,6 +77,7 @@ exports.IconNamesToFiles = {
77
77
  Pause: "pause",
78
78
  PaymentOutline: "payment-outline",
79
79
  PaymentSolid: "payment-solid",
80
+ PayPal: "paypal",
80
81
  Phone: "phone",
81
82
  PhoneMobile: "phone-mobile",
82
83
  Pickup: "pickup",
@@ -278,6 +278,7 @@ export interface ICheckoutSettingsV2 {
278
278
  paymentCards: IPaymentCards;
279
279
  checkoutValidation: ICheckoutValidation;
280
280
  forceDeliverySection: boolean;
281
+ enableInterimModal: boolean;
281
282
  }
282
283
  export interface IFeaturesV2 {
283
284
  additionalCharges: boolean;
@@ -291,6 +292,7 @@ export interface IFeaturesV2 {
291
292
  allowInStorePurchases: boolean;
292
293
  allowPastPurchases: boolean;
293
294
  advertSettings: IAdvertSettings;
295
+ ebtPayments: boolean;
294
296
  enableGoogleTranslate: boolean;
295
297
  enableNewsletterSignup: boolean;
296
298
  enableNotifications: boolean;
@@ -493,8 +495,15 @@ export interface IProductCardsProps {
493
495
  productCard: {
494
496
  enabled: boolean;
495
497
  layouts: IProductCardLayouts;
498
+ components: IProductCardV2ComponentProps;
496
499
  };
497
500
  }
501
+ export interface IProductCardV2ComponentProps {
502
+ promotionLabel: IProductCardV2PromotionLabelsSettings;
503
+ }
504
+ export interface IProductCardV2PromotionLabelsSettings {
505
+ showLines: number;
506
+ }
498
507
  export declare type IProductCardLayouts = {
499
508
  ContainersGrid: "default" | "pce-centered";
500
509
  ContainersCarousel: "default" | "pce-centered";
@@ -65,6 +65,12 @@ var FeatureSettingsChildren = {
65
65
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
66
66
  type: exports.AdminTemplateInputTypes.checkbox,
67
67
  },
68
+ ebtPayment: {
69
+ title: "EBT Payment",
70
+ description: "Enable EBT Payment - will only work if EBT is set up for the banner as a payment method",
71
+ type: exports.AdminTemplateInputTypes.checkbox,
72
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3506765929/EBT+Payment",
73
+ },
68
74
  clientCache: {
69
75
  title: "Browser API Caching",
70
76
  description: "Enable cache for clients on the browser",
@@ -70,6 +70,7 @@ var DefaultConfigSFUI = {
70
70
  VisaCard: true,
71
71
  },
72
72
  forceDeliverySection: false,
73
+ enableInterimModal: false,
73
74
  },
74
75
  features: {
75
76
  additionalCharges: false,
@@ -83,6 +84,7 @@ var DefaultConfigSFUI = {
83
84
  galleryHasNavLink: false,
84
85
  galleryIsIframe: false,
85
86
  },
87
+ ebtPayments: false,
86
88
  enableGoogleTranslate: false,
87
89
  enableNewsletterSignup: false,
88
90
  enableNotifications: false,
@@ -195,6 +197,11 @@ var DefaultConfigSFUI = {
195
197
  ContainersCarousel: "default",
196
198
  ContainersGrid: "default",
197
199
  },
200
+ components: {
201
+ promotionLabel: {
202
+ showLines: 1,
203
+ },
204
+ },
198
205
  },
199
206
  },
200
207
  productCardTitleHeight: 40,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.4.15",
3
+ "version": "2.4.18",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "tsc",