@thryveai/theme-interfaces 2.8.37 → 2.8.38
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.
|
@@ -703,18 +703,19 @@ export interface IAddressIntegration {
|
|
|
703
703
|
useForNewAddresses: boolean;
|
|
704
704
|
}
|
|
705
705
|
export declare type IAddressFinderType = "AUS" | "EU" | "IE" | "US" | "UK" | "CA";
|
|
706
|
+
export interface IProductCardV2Settings {
|
|
707
|
+
enabled: boolean;
|
|
708
|
+
layouts: IProductCardLayouts;
|
|
709
|
+
components: IProductCardV2ComponentProps;
|
|
710
|
+
}
|
|
706
711
|
export interface IProductCardsProps {
|
|
707
|
-
gridRowLength
|
|
712
|
+
gridRowLength: {
|
|
708
713
|
[key in IScreenType]: number;
|
|
709
714
|
};
|
|
710
|
-
carouselsRowLength
|
|
715
|
+
carouselsRowLength: {
|
|
711
716
|
[key in IScreenType]: number;
|
|
712
717
|
};
|
|
713
|
-
productCard:
|
|
714
|
-
enabled?: boolean;
|
|
715
|
-
layouts: IProductCardLayouts;
|
|
716
|
-
components?: IProductCardV2ComponentProps;
|
|
717
|
-
};
|
|
718
|
+
productCard: IProductCardV2Settings;
|
|
718
719
|
}
|
|
719
720
|
export interface IProductCardV2ComponentProps {
|
|
720
721
|
promotionLabel: IProductCardV2PromotionLabelsSettings;
|
|
@@ -746,7 +747,7 @@ export declare type IProductCardLayouts = {
|
|
|
746
747
|
};
|
|
747
748
|
export declare type IProductCardLayoutObjects<T> = {
|
|
748
749
|
[Place in keyof IProductCardLayouts]: {
|
|
749
|
-
[key in
|
|
750
|
+
[key in IProductCardLayouts[Place]]: T;
|
|
750
751
|
};
|
|
751
752
|
};
|
|
752
753
|
export declare type IProductCardILayoutTypes = keyof IProductCardLayouts;
|