@sunrise-upc/mobile-prod-card 1.0.22 → 1.0.24-beta.0

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.
Files changed (25) hide show
  1. package/dist/cjs/components/CountryOverlays/CountryOverlays.d.ts +3 -2
  2. package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +3 -0
  3. package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +3 -0
  4. package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +2 -2
  5. package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
  6. package/dist/cjs/components/ProductTeaser/ProductTeaserSlides.d.ts +2 -2
  7. package/dist/cjs/components/ToolTip/ToolTip.d.ts +1 -1
  8. package/dist/cjs/components/lineTable/LineTableV3.utils.d.ts +4 -0
  9. package/dist/cjs/components/lineTable/OrderButton.d.ts +3 -0
  10. package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +1 -1
  11. package/dist/cjs/index.js +1 -1
  12. package/dist/cjs/services/LineTableService.d.ts +1 -1
  13. package/dist/esm/components/CountryOverlays/CountryOverlays.d.ts +3 -2
  14. package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +3 -0
  15. package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +3 -0
  16. package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +2 -2
  17. package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
  18. package/dist/esm/components/ProductTeaser/ProductTeaserSlides.d.ts +2 -2
  19. package/dist/esm/components/ToolTip/ToolTip.d.ts +1 -1
  20. package/dist/esm/components/lineTable/LineTableV3.utils.d.ts +4 -0
  21. package/dist/esm/components/lineTable/OrderButton.d.ts +3 -0
  22. package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/esm/services/LineTableService.d.ts +1 -1
  25. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
- import React from "react";
2
- import "./CountryOverlays.css";
1
+ import React from 'react';
2
+ import './CountryOverlays.css';
3
3
  interface CountryOverlaysSchema {
4
4
  linkText: string;
5
5
  product: any;
6
6
  metadata: any;
7
7
  modalTriggered?: () => void;
8
+ reuseableLineTable?: boolean;
8
9
  }
9
10
  declare const CountryOverlays: React.FC<CountryOverlaysSchema>;
10
11
  export default CountryOverlays;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ChooseGift: ({ content, selectedGiftItem, parentPoType }: any) => JSX.Element;
3
+ export default ChooseGift;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const GiftConfigV2: ({ content }: any) => JSX.Element;
3
+ export default GiftConfigV2;
@@ -5,8 +5,8 @@ interface ProductDetailsSchema {
5
5
  content: any;
6
6
  priceCollection: any;
7
7
  addToCart: any;
8
- bundleProducts: any;
9
8
  sbStaticConstants: any;
9
+ createCartCall: any;
10
10
  }
11
- declare const ProductDetailsV2: ({ products, showProductDetail, setShowProductDetail, content, priceCollection, addToCart, bundleProducts, sbStaticConstants }: ProductDetailsSchema) => any;
11
+ declare const ProductDetailsV2: ({ products, showProductDetail, setShowProductDetail, content, priceCollection, addToCart, sbStaticConstants, createCartCall }: ProductDetailsSchema) => any;
12
12
  export default ProductDetailsV2;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const ProductPriceV3: ({ content, priceCollection, bundleProducts, toggleSwitch, sbStaticConstants }: any) => JSX.Element;
2
+ declare const ProductPriceV3: ({ content, priceCollection, toggleSwitch, sbStaticConstants }: any) => JSX.Element;
3
3
  export default ProductPriceV3;
@@ -1,5 +1,5 @@
1
- import { FC } from "react";
2
- import { ProductTeaserCompSchema, ProductTeaserSlideSchema } from "./ProductTeaser";
1
+ import { FC } from 'react';
2
+ import { ProductTeaserCompSchema, ProductTeaserSlideSchema } from './ProductTeaser';
3
3
  export interface ProductTeaserSlidesSchema {
4
4
  content: ProductTeaserCompSchema;
5
5
  slides: ProductTeaserSlideSchema;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const ToolTip: ({ content, tooltipClass }: any) => JSX.Element;
2
+ declare const ToolTip: ({ content, tooltipClass, isBenefit }: any) => JSX.Element;
3
3
  export default ToolTip;
@@ -0,0 +1,4 @@
1
+ export declare const formattedContent: (content: any, isMobileFlow: boolean) => any;
2
+ export declare const sortProductDetails: (prodDetails: any) => any;
3
+ export declare const checkGift: (data: any) => any;
4
+ export declare const checkCashback: (data: any) => any;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OrderButton: ({ content, isMobileFlow, sbStaticConstants, address, isAvailable, showPrice, isSkeletonLoading, createCartCall }: any) => JSX.Element;
3
+ export default OrderButton;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const Skeletonloader: ({ count }: any) => JSX.Element;
2
+ declare const Skeletonloader: ({ count, stylename }: any) => JSX.Element;
3
3
  export default Skeletonloader;