yt-uikit 0.10.40 → 0.10.41
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/VariantOptionsModal.d.ts +2 -0
- package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +1 -0
- package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +1 -0
- package/dist/esm/index.js +35 -35
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ interface VariantSwatchProps {
|
|
|
11
11
|
type?: "color" | "image" | "text";
|
|
12
12
|
isOptionAvailable?: (optionValue: string) => boolean;
|
|
13
13
|
isMobile?: boolean;
|
|
14
|
+
showOutOfStockVariants?: boolean;
|
|
14
15
|
}
|
|
15
16
|
interface SingleProductVariantOptionsModalProps {
|
|
16
17
|
product: ProductDetails;
|
|
@@ -22,6 +23,7 @@ interface SingleProductVariantOptionsModalProps {
|
|
|
22
23
|
backgroundColor: string;
|
|
23
24
|
};
|
|
24
25
|
onConfirm: (variantId: string) => void;
|
|
26
|
+
showOutOfStockVariants?: boolean;
|
|
25
27
|
}
|
|
26
28
|
export declare const VariantSwatch: React.FC<VariantSwatchProps>;
|
|
27
29
|
declare const SingleProductVariantOptionsModal: React.FC<SingleProductVariantOptionsModalProps>;
|
|
@@ -17,6 +17,7 @@ interface VariantSelectorModalProps {
|
|
|
17
17
|
variantId?: string;
|
|
18
18
|
onVariantChange: (index: number, variantId: string) => void;
|
|
19
19
|
handleAddToCart: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => Promise<void>;
|
|
20
|
+
showOutOfStockVariants?: boolean;
|
|
20
21
|
}
|
|
21
22
|
declare const VariantSelectorModal: React.FC<VariantSelectorModalProps>;
|
|
22
23
|
export default VariantSelectorModal;
|