@thryveai/theme-interfaces 2.8.30 → 2.8.32

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.
@@ -522,6 +522,14 @@ export interface IDefaultThemeInterface {
522
522
  globalAnimations: IDefaultThemeGlobalAnimations;
523
523
  metadata: IDefaultThemeMetadata;
524
524
  scripts: IDefaultThemeScripts;
525
+ timeSlotGrid: {
526
+ timeSlot: ITimeSlot;
527
+ expressDeliveryBanner: {
528
+ color: string;
529
+ backgroundColor: string;
530
+ iconColor: string;
531
+ };
532
+ };
525
533
  }
526
534
  export interface IDefaultThemeScripts {
527
535
  [key: string]: string;
@@ -799,6 +807,58 @@ export interface IDefaultEmbeddedFontSource {
799
807
  url: string;
800
808
  format: string;
801
809
  }
810
+ interface ITimeSlotThemeTextType {
811
+ default: string;
812
+ expressTimeframe: string;
813
+ }
814
+ interface ITimeSlotFontWeightType {
815
+ default: IFontWeights;
816
+ expressTimeframe: IFontWeights;
817
+ }
818
+ interface ITimeSlotStateThemeString {
819
+ available: ITimeSlotThemeTextType;
820
+ reserved: ITimeSlotThemeTextType;
821
+ unavailable: ITimeSlotThemeTextType;
822
+ }
823
+ interface ITimeSlotStateFontWeight {
824
+ available: ITimeSlotFontWeightType;
825
+ reserved: ITimeSlotFontWeightType;
826
+ unavailable: ITimeSlotFontWeightType;
827
+ }
828
+ export interface ITimeSlotWrapper {
829
+ color: ITimeSlotStateThemeString;
830
+ backgroundColor: ITimeSlotStateThemeString;
831
+ iconColor: ITimeSlotStateThemeString;
832
+ fontSize: ITimeSlotStateThemeString;
833
+ fontWeight: ITimeSlotStateFontWeight;
834
+ }
835
+ export interface ITimeSlotThemeTimeRange {
836
+ color: ITimeSlotStateThemeString;
837
+ fontSize: ITimeSlotStateThemeString;
838
+ fontWeight: ITimeSlotStateFontWeight;
839
+ textTransform: ITimeSlotStateThemeString;
840
+ lineHeight: ITimeSlotStateThemeString;
841
+ }
842
+ export interface ITimeSlot {
843
+ wrapper: ITimeSlotWrapper;
844
+ radio: {
845
+ iconColor: ITimeSlotStateThemeString;
846
+ };
847
+ timeRangeText: ITimeSlotThemeTimeRange;
848
+ priceText: {
849
+ color: ITimeSlotStateThemeString;
850
+ };
851
+ titleText: {
852
+ color: ITimeSlotStateThemeString;
853
+ fontSize: ITimeSlotStateThemeString;
854
+ lineHeight: ITimeSlotStateThemeString;
855
+ };
856
+ descriptionText: {
857
+ fontSize: ITimeSlotStateThemeString;
858
+ lineHeight: ITimeSlotStateThemeString;
859
+ fontWeight: ITimeSlotStateFontWeight;
860
+ };
861
+ }
802
862
  export declare type DefaultImagesForSchema = DeepPartial<IDefaultThemeImages>;
803
863
  export declare type DefaultThemeForSchema = DeepPartial<IDefaultThemeInterface>;
804
864
  export {};
@@ -4,7 +4,7 @@ export declare type IIconsObject = {
4
4
  };
5
5
  export declare type PaymentTypesLogos = "AmExpCard" | "AmExpLogo" | "Comodo" | "DiscoverCard" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
6
6
  export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "VisaDebit" | "Paze";
7
- export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "NoDepartments" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Rewards" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
8
- export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen" | "MapleLeafCanadian" | "HighFiber" | "HighProtein" | "NewProduct" | "Vegetarian" | "Hypoallergenic" | "A+Rewards";
7
+ export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "ExpressDelivery" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "NoDepartments" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Rewards" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
8
+ export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen" | "MapleLeafCanadian" | "HighFiber" | "HighProtein" | "NewProduct" | "Vegetarian" | "Hypoallergenic" | "APlusRewards";
9
9
  export declare type LanguageFlags = "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca";
10
10
  export declare type DefaultIconsForSchema = DeepPartial<{} & IIconsObject>;
@@ -491,6 +491,14 @@ export interface IThemeInterface {
491
491
  globalAnimations?: IThemeGlobalAnimations;
492
492
  metadata?: IThemeMetadata;
493
493
  scripts?: IThemeScripts;
494
+ timeSlotGrid?: {
495
+ timeSlot?: ITimeSlot;
496
+ expressDeliveryBanner?: {
497
+ color?: string;
498
+ backgroundColor?: string;
499
+ iconColor?: string;
500
+ };
501
+ };
494
502
  }
495
503
  export interface IThemeScripts {
496
504
  [key: string]: string;
@@ -714,4 +722,56 @@ export interface IEmbeddedFontSource {
714
722
  format?: string;
715
723
  }
716
724
  export declare type IDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY";
725
+ interface ITimeSlotThemeTextType {
726
+ default?: string;
727
+ expressTimeframe?: string;
728
+ }
729
+ interface ITimeSlotFontWeightType {
730
+ default?: IFontWeights;
731
+ expressTimeframe?: IFontWeights;
732
+ }
733
+ interface ITimeSlotStateThemeString {
734
+ available?: ITimeSlotThemeTextType;
735
+ reserved?: ITimeSlotThemeTextType;
736
+ unavailable?: ITimeSlotThemeTextType;
737
+ }
738
+ interface ITimeSlotStateFontWeight {
739
+ available?: ITimeSlotFontWeightType;
740
+ reserved?: ITimeSlotFontWeightType;
741
+ unavailable?: ITimeSlotFontWeightType;
742
+ }
743
+ export interface ITimeSlotWrapper {
744
+ color?: ITimeSlotStateThemeString;
745
+ backgroundColor?: ITimeSlotStateThemeString;
746
+ iconColor?: ITimeSlotStateThemeString;
747
+ fontSize?: ITimeSlotStateThemeString;
748
+ fontWeight?: ITimeSlotStateFontWeight;
749
+ }
750
+ export interface ITimeSlotThemeTimeRange {
751
+ color?: ITimeSlotStateThemeString;
752
+ fontSize?: ITimeSlotStateThemeString;
753
+ fontWeight?: ITimeSlotStateFontWeight;
754
+ textTransform?: ITimeSlotStateThemeString;
755
+ lineHeight?: ITimeSlotStateThemeString;
756
+ }
757
+ export interface ITimeSlot {
758
+ wrapper?: ITimeSlotWrapper;
759
+ radio?: {
760
+ iconColor?: ITimeSlotStateThemeString;
761
+ };
762
+ timeRangeText?: ITimeSlotThemeTimeRange;
763
+ priceText?: {
764
+ color?: ITimeSlotStateThemeString;
765
+ };
766
+ titleText?: {
767
+ color?: ITimeSlotStateThemeString;
768
+ fontSize?: ITimeSlotStateThemeString;
769
+ lineHeight?: ITimeSlotStateThemeString;
770
+ };
771
+ descriptionText?: {
772
+ fontSize?: ITimeSlotStateThemeString;
773
+ lineHeight?: ITimeSlotStateThemeString;
774
+ fontWeight?: ITimeSlotStateFontWeight;
775
+ };
776
+ }
717
777
  export {};