yt-uikit 0.10.24 → 0.10.25
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,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./bundle.scss";
|
|
3
|
-
import { FilterGroup } from "./BundleBuilder/SortAndFilter";
|
|
4
3
|
interface ShopifyCurrency {
|
|
5
4
|
rate: number;
|
|
6
5
|
active: string;
|
|
@@ -392,7 +391,6 @@ export type BundlePayload = {
|
|
|
392
391
|
}[];
|
|
393
392
|
}[];
|
|
394
393
|
};
|
|
395
|
-
availableFilters?: FilterGroup[];
|
|
396
394
|
};
|
|
397
395
|
export type EventNameCustom = "byob_checkout_cta" | "byob_add_to_bundle" | "block_visibility" | "bundle_add_to_cart";
|
|
398
396
|
export type EventTypeCustom = "clicks" | "views";
|
|
@@ -440,7 +438,6 @@ export type BundleProps = {
|
|
|
440
438
|
fetchFn: (filters?: any, bundleTier?: number, cursor?: string | null) => Promise<ProductData[]>;
|
|
441
439
|
setCursorData: (cursorData: CursorData) => void;
|
|
442
440
|
};
|
|
443
|
-
categoryFilters?: FilterGroup | FilterGroup[] | Record<number, any>;
|
|
444
441
|
};
|
|
445
442
|
export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
|
|
446
443
|
export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "../bundle.scss";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AnalyticsEventParams, BundlePayload, CursorData, ProductData, ProductDetails } from "../Bundle";
|
|
4
|
-
import { FilterGroup } from "./SortAndFilter";
|
|
5
4
|
export declare function QuantitySelectorForBundle({ quantity, setQuantity, remainingQuantity, handleAddToBundle, variantId, product, handleRemoveItem, hideAddToBundle, selectedVariantInventoryQty, }: {
|
|
6
5
|
quantity: number;
|
|
7
6
|
setQuantity: React.Dispatch<React.SetStateAction<number>>;
|
|
@@ -46,7 +45,6 @@ type BundleBuilderProps = {
|
|
|
46
45
|
fetchFn: (filters?: any, bundleTier?: number, cursor?: string | null) => Promise<ProductData[]>;
|
|
47
46
|
setCursorData: (cursorData: CursorData) => void;
|
|
48
47
|
};
|
|
49
|
-
categoryFilters?: FilterGroup | FilterGroup[] | Record<number, FilterGroup>;
|
|
50
48
|
};
|
|
51
49
|
declare const BundleBuilder: React.FC<BundleBuilderProps>;
|
|
52
50
|
export default BundleBuilder;
|