@sunrise-upc/mobile-prod-card 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ export interface ecomAddCartInfo {
30
30
  value: string | number;
31
31
  items: itemInfoEvent[];
32
32
  }
33
- export declare const getItemData: (item: any, data?: any, itemType?: any, isAvailable?: any) => itemInfoEvent;
33
+ export declare const getItemData: (item: any, data?: any, isAvailable?: any) => itemInfoEvent;
34
34
  export declare const getEcomInfo: (items: any, category?: any, location?: any, eligibleBundle?: any) => any;
35
35
  export declare const getViewCartInfo: (items: any, category: any, location: any) => ecomViewCartInfo;
36
36
  export declare const getEcomCartInfo: (items: any, category: any, location: any, eligibleBundle?: any) => any;
@@ -3,4 +3,4 @@ export declare const fetchOfferingDataV2: (params: any, url: any) => Promise<any
3
3
  export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any) => Promise<any>;
4
4
  export declare const fetchLinetableContent: (slugurl: string, params: any) => Promise<any>;
5
5
  export declare const getStaticContent: (language: any, endPoints: any) => Promise<any>;
6
- export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string) => Promise<any>;
6
+ export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean) => Promise<any>;
package/dist/index.d.ts CHANGED
@@ -65,7 +65,8 @@ interface ComponentMetadata {
65
65
  storyId: string;
66
66
  appId?: string;
67
67
  integrationId?: string;
68
- }
68
+ }
69
+ type FalconGradientTypes = 'rubyglow-diagonal' | 'rubyglow-vertical' | 'pinksky-diagonal' | 'pinksky-vertical' | 'bluehaze-diagonal' | 'bluehaze-vertical' | 'greencloud-diagonal' | 'greencloud-vertical' | 'peachfog-diagonal' | 'peachfog-vertical' | 'darkblue-haze' | 'none';
69
70
 
70
71
  interface CardSchema {
71
72
  content: any;
@@ -117,6 +118,9 @@ interface ProductTeaserSlideSchema extends GenericSBProps {
117
118
  tvPrice: string;
118
119
  tvProductId: string;
119
120
  tvSubHeading: string;
121
+ textAlignment: any;
122
+ gradientBackground: FalconGradientTypes;
123
+ isFullWidthImage: boolean;
120
124
  }
121
125
  interface ProductTeaserCompSchema extends GenericSBProps {
122
126
  btnIcon: Asset;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/mobile-prod-card",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Starter project to create reusable functional component",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",