yt-uikit 0.10.10 → 0.10.12

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.
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { AnalyticsEventParams } from "../Bundle";
2
3
  export type Product = {
3
4
  id: number;
4
5
  title: string;
@@ -64,6 +65,8 @@ type DiscountData = {
64
65
  };
65
66
  } | null;
66
67
  export type BundleConfig = {
68
+ id: string;
69
+ type: string;
67
70
  config: {
68
71
  shop: string;
69
72
  collectionIds: string[];
@@ -124,6 +127,7 @@ interface CollectionBundleProps {
124
127
  config: BundleConfig;
125
128
  addCustomBundleToCart: (items: any) => void;
126
129
  bundleAddToCartLoading: boolean;
130
+ dispatchAnalyticsEvent?: (params: AnalyticsEventParams) => void;
127
131
  }
128
- declare const CollectionBundle: ({ config, bundleAddToCartLoading, addCustomBundleToCart, }: CollectionBundleProps) => React.JSX.Element;
132
+ declare const CollectionBundle: ({ config, bundleAddToCartLoading, addCustomBundleToCart, dispatchAnalyticsEvent, }: CollectionBundleProps) => React.JSX.Element;
129
133
  export default CollectionBundle;
@@ -77,4 +77,5 @@ export declare const VerticalCheckboxWrapper: import("styled-components/dist/typ
77
77
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
78
78
  }, {
79
79
  isImage?: boolean | undefined;
80
+ showQtySelector?: boolean | undefined;
80
81
  }>> & string;