negodesign 0.0.47 → 0.0.48
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.
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import ProductPromotionDetails from "./ProductPromotionDetails.svelte";
|
|
18
18
|
import type {
|
|
19
19
|
ProductDetailsData,
|
|
20
|
-
ProductPromotionDetailsProps
|
|
20
|
+
ProductPromotionDetailsProps,
|
|
21
21
|
} from "../types";
|
|
22
22
|
|
|
23
23
|
let {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}: {
|
|
32
32
|
data: ProductDetailsData;
|
|
33
33
|
isLoading?: boolean;
|
|
34
|
-
promotions?:
|
|
34
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
35
35
|
showPriceWithPromotions?: boolean;
|
|
36
36
|
onBuy?: (id: string | number) => void;
|
|
37
37
|
onFavorite?: (id: string | number) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductDetailsData, ProductPromotionDetailsProps
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
promotions?:
|
|
5
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
6
6
|
showPriceWithPromotions?: boolean;
|
|
7
7
|
onBuy?: (id: string | number) => void;
|
|
8
8
|
onFavorite?: (id: string | number) => void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -180,7 +180,7 @@ ProductDetailsData,
|
|
|
180
180
|
/** Props do componente ProductDetails. @see ProductDetailsProps */
|
|
181
181
|
ProductDetailsProps,
|
|
182
182
|
/** Props do componente ProductPromotionDetails. @see ProductPromotionDetailsProps */
|
|
183
|
-
ProductPromotionDetailsProps
|
|
183
|
+
ProductPromotionDetailsProps,
|
|
184
184
|
/** Item de breadcrumb do PrivacyPolicyOrTermsOfUse. @see BreadcrumbItem */
|
|
185
185
|
BreadcrumbItem,
|
|
186
186
|
/** Bloco de conteúdo do PrivacyPolicyOrTermsOfUse. @see ContentBlock */
|