@thryveai/theme-interfaces 2.7.176 → 2.7.178

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 CHANGED
@@ -14,7 +14,7 @@ import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplat
14
14
  import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
15
15
  import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
16
16
  import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
17
- import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components, IPdpNutritionLink, ITypesOfBusiness, IBusinessAccountObject, IPerformanceSettingsV2, IStoreSelectionSettings } from "./interfaces/retailer-settings.interfaces";
17
+ import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components, IPdpNutritionLink, ITypesOfBusiness, IBusinessAccountObject, IPerformanceSettingsV2, IStoreSelectionSettings, ShoppingMode } from "./interfaces/retailer-settings.interfaces";
18
18
  import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
19
19
  import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./interfaces/theme.interfaces";
20
20
  import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
@@ -38,4 +38,4 @@ export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSharedSettingsT
38
38
  export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
39
39
  export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
40
40
  export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
41
- export { PdpDetailsElementLayout, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, ISharedSettings, IPerformanceSettingsV2, IStoreSelectionSettings, };
41
+ export { PdpDetailsElementLayout, ShoppingMode, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, ISharedSettings, IPerformanceSettingsV2, IStoreSelectionSettings, };
@@ -429,6 +429,40 @@ export interface IDefaultThemeInterface {
429
429
  buttonDimension: number;
430
430
  };
431
431
  };
432
+ carouselComponent: {
433
+ carouselPagination: {
434
+ dotBackground: string;
435
+ activeDotBackground: string;
436
+ playBtnColor: string;
437
+ dotsWrapperBackground: string;
438
+ dotsWrapperBackgroundShadow: string;
439
+ dotsWrapperAccentShadow: string;
440
+ };
441
+ scrollbarBackground: string;
442
+ carouselArrows: {
443
+ backgroundColor: string;
444
+ backgroundShadow: string;
445
+ accentShadow: string;
446
+ iconColor: string;
447
+ hover: {
448
+ backgroundColor: string;
449
+ borderColor: string;
450
+ iconColor: string;
451
+ };
452
+ };
453
+ viewAllProductsCard: {
454
+ textColor: string;
455
+ iconColor: string;
456
+ iconBackgroundColor: string;
457
+ hover: {
458
+ backgroundColor: string;
459
+ borderColor: string;
460
+ textColor: string;
461
+ iconColor: string;
462
+ iconBackgroundColor: string;
463
+ };
464
+ };
465
+ };
432
466
  modal: {
433
467
  header: {
434
468
  mobileBackgroundColor: string;
@@ -82,6 +82,7 @@ export interface IRetailerSettings {
82
82
  retailerName: string;
83
83
  searchPreview?: ISearchPreviewVisibility;
84
84
  secondTierAuthorization?: ISecondTierAuthorization;
85
+ shoppingModesDisplayOrder?: ShoppingMode[];
85
86
  showCheckoutPromoCode?: boolean;
86
87
  showImgOnOrder?: boolean;
87
88
  showRewardPromoChangeTimeslotMsg?: boolean;
@@ -396,6 +397,7 @@ export interface IFeaturesV2 {
396
397
  recipeLegacyShareLink: boolean;
397
398
  registrationFields: IRegistrationField[];
398
399
  secondTierAuthorization?: ISecondTierAuthorization;
400
+ shoppingModesDisplayOrder: ShoppingMode[];
399
401
  showCheckoutPromoCode: boolean;
400
402
  showImgOnOrder: boolean;
401
403
  showRewardPromoChangeTimeslotMsg: boolean;
@@ -735,6 +737,7 @@ export interface IProductDetailsPageLayout {
735
737
  export declare type PdpDetailsElementLayout = "productNutrition" | "productIngredients" | "productDescription" | "sodiumWarning" | "productNumber" | "recommendations" | "productSalesInfo" | string;
736
738
  export declare type IConfigurableCustomerPreference = "marketingPreferences";
737
739
  export declare type LinkTarget = "_blank" | "_self" | "_parent" | "_top";
740
+ export declare type ShoppingMode = "pickup" | "planning" | "delivery";
738
741
  export interface IMaintainCustomerPreferences {
739
742
  enabled: boolean;
740
743
  sections: {
@@ -168,6 +168,7 @@ var DefaultConfigSFUI = {
168
168
  recipeLegacyShareLink: true,
169
169
  registrationFields: [],
170
170
  secondTierAuthorization: undefined,
171
+ shoppingModesDisplayOrder: [],
171
172
  showCheckoutPromoCode: true,
172
173
  showImgOnOrder: false,
173
174
  showRewardPromoChangeTimeslotMsg: false,
@@ -1036,6 +1036,40 @@ var DefaultThemeSFUI = function (colors) {
1036
1036
  buttonDimension: 56,
1037
1037
  },
1038
1038
  },
1039
+ carouselComponent: {
1040
+ carouselPagination: {
1041
+ dotBackground: colors.greyscale3,
1042
+ activeDotBackground: colors.primary1,
1043
+ playBtnColor: colors.primary1,
1044
+ dotsWrapperBackground: colors.greyscale1,
1045
+ dotsWrapperBackgroundShadow: "".concat(colors.greyscale6, "05"),
1046
+ dotsWrapperAccentShadow: "".concat(colors.primary3, "1a"),
1047
+ },
1048
+ scrollbarBackground: colors.greyscale3,
1049
+ carouselArrows: {
1050
+ backgroundColor: colors.greyscale1,
1051
+ backgroundShadow: "".concat(colors.greyscale6, "0d"),
1052
+ accentShadow: "".concat(colors.primary3, "26"),
1053
+ iconColor: colors.primary1,
1054
+ hover: {
1055
+ backgroundColor: colors.greyscale1,
1056
+ borderColor: colors.primary1,
1057
+ iconColor: colors.primary1,
1058
+ },
1059
+ },
1060
+ viewAllProductsCard: {
1061
+ textColor: colors.primary1,
1062
+ iconColor: colors.greyscale1,
1063
+ iconBackgroundColor: colors.primary1,
1064
+ hover: {
1065
+ backgroundColor: colors.primary5,
1066
+ borderColor: colors.primary1,
1067
+ textColor: colors.primary2,
1068
+ iconColor: colors.greyscale1,
1069
+ iconBackgroundColor: colors.primary2,
1070
+ },
1071
+ },
1072
+ },
1039
1073
  modal: {
1040
1074
  header: {
1041
1075
  mobileBackgroundColor: colors.greyscale2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.176",
3
+ "version": "2.7.178",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",