yt-uikit 0.7.344-shadowdomBundle.0 → 0.7.344-shadowdomBundle.10
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.
- package/dist/esm/components/BundleBlock/Bundle.d.ts +1 -0
- package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +1 -0
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +2 -0
- package/dist/esm/hooks/useShadowConfetti.d.ts +1 -0
- package/dist/esm/index.js +397 -397
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +2 -0
- package/dist/esm/types/hooks/useShadowConfetti.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|
package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts
CHANGED
|
@@ -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;
|