yt-uikit 0.7.344-shadowdomBundle.1 → 0.7.344-shadowdomBundle.11

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.
@@ -365,6 +365,7 @@ export type BundleProps = {
365
365
  };
366
366
  bundleHeaderBackgroundColor?: string;
367
367
  currentProductId?: string;
368
+ shadowRoot?: ShadowRoot | null;
368
369
  };
369
370
  export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
370
371
  export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
@@ -33,6 +33,7 @@ type BundleBuilderProps = {
33
33
  price: number;
34
34
  compareAtPrice: number;
35
35
  };
36
+ shadowRoot?: ShadowRoot | null;
36
37
  };
37
38
  declare const BundleBuilder: React.FC<BundleBuilderProps>;
38
39
  export default BundleBuilder;
@@ -46,6 +46,7 @@ type BundleBuilderTrackerProps = {
46
46
  renderingOnPage: boolean;
47
47
  handleRemoveItemProductTier: (variantId: string, currentTier: number) => void;
48
48
  storeCurrencyCode?: string;
49
+ shadowRoot?: ShadowRoot | null;
49
50
  };
50
51
  export declare const BundleBuilderTrackerBar: React.FC<BundleBuilderTrackerProps>;
51
52
  export default BundleBuilderTrackerBar;
@@ -3,6 +3,7 @@ import { ProductDetails, Customizations } from "../Bundle";
3
3
  import "./bundleProductDetailsModal.style.css";
4
4
  import "../bundle.scss";
5
5
  import "../BundleBuilder/bundleBuilder.style.css";
6
+ type ShadowRoot = globalThis.ShadowRoot;
6
7
  type BundleProductDetailsModalProps = {
7
8
  handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number) => void;
8
9
  selectedProducts: {
@@ -24,6 +25,7 @@ type BundleProductDetailsModalProps = {
24
25
  averageRating: number;
25
26
  ratingCount: number;
26
27
  };
28
+ shadowRoot?: ShadowRoot | null;
27
29
  };
28
30
  declare const BundleProductDetailsModal: React.ForwardRefExoticComponent<BundleProductDetailsModalProps & React.RefAttributes<HTMLDivElement>>;
29
31
  export default BundleProductDetailsModal;
@@ -0,0 +1 @@
1
+ export declare function useShadowConfetti(): (options: any) => void;