@lystech/core 3.0.94 → 3.0.96
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/index.d.ts +17 -1
- package/dist/lystech-core-provider.es.js +7805 -7712
- package/dist/lystech-core-provider.umd.js +132 -132
- package/dist/lystech-core-styles.css +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -728,7 +728,15 @@ export declare type PostType = {
|
|
|
728
728
|
};
|
|
729
729
|
|
|
730
730
|
declare interface ProductPopupProps {
|
|
731
|
-
product: CartProduct
|
|
731
|
+
product: CartProduct & {
|
|
732
|
+
variants?: any[];
|
|
733
|
+
groupName?: string;
|
|
734
|
+
variantLabel?: string;
|
|
735
|
+
variantKeys?: {
|
|
736
|
+
keyUID: string;
|
|
737
|
+
name: string;
|
|
738
|
+
}[];
|
|
739
|
+
};
|
|
732
740
|
onAdd: (product: any) => void;
|
|
733
741
|
onRemove: (product: any) => void;
|
|
734
742
|
onClose: () => void;
|
|
@@ -1035,6 +1043,14 @@ declare type ShopProductCardProps = {
|
|
|
1035
1043
|
quantity: number;
|
|
1036
1044
|
itemImage: string;
|
|
1037
1045
|
orderedAmount: number;
|
|
1046
|
+
/** Pose par le serveur quand plusieurs formats sont en vente ici. */
|
|
1047
|
+
groupUID?: string | null;
|
|
1048
|
+
groupName?: string;
|
|
1049
|
+
variantSiblingUIDs?: string[];
|
|
1050
|
+
variantKeys?: {
|
|
1051
|
+
keyUID: string;
|
|
1052
|
+
name: string;
|
|
1053
|
+
}[];
|
|
1038
1054
|
};
|
|
1039
1055
|
onClick?: () => void;
|
|
1040
1056
|
};
|