@trafilea/afrodita-components 5.0.0-beta.296 → 5.0.0-beta.298
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/build/index.d.ts +5 -2
- package/build/index.esm.js +248 -235
- package/build/index.esm.js.map +1 -1
- package/build/index.js +248 -235
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1187,8 +1187,9 @@ interface PriceLabelProps {
|
|
|
1187
1187
|
originalPriceStyled?: boolean;
|
|
1188
1188
|
originalPriceUnderlined?: boolean;
|
|
1189
1189
|
testId?: string;
|
|
1190
|
+
clubStyle?: boolean;
|
|
1190
1191
|
}
|
|
1191
|
-
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, originalPriceUnderlined, size, }: PriceLabelProps) => JSX.Element;
|
|
1192
|
+
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, originalPriceUnderlined, size, clubStyle, }: PriceLabelProps) => JSX.Element;
|
|
1192
1193
|
|
|
1193
1194
|
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, clubOffer, color, testId, originalPriceStyled, originalPriceUnderlined, size, }: PriceLabelProps) => JSX.Element;
|
|
1194
1195
|
|
|
@@ -2456,6 +2457,8 @@ interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
|
2456
2457
|
strength: number;
|
|
2457
2458
|
description: string;
|
|
2458
2459
|
};
|
|
2460
|
+
clubPrice?: string;
|
|
2461
|
+
showClubPriceLabel?: boolean;
|
|
2459
2462
|
}
|
|
2460
2463
|
|
|
2461
2464
|
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
@@ -2464,7 +2467,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
2464
2467
|
};
|
|
2465
2468
|
|
|
2466
2469
|
declare const Collection: {
|
|
2467
|
-
ProductItemMobile: ({ title, image, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2470
|
+
ProductItemMobile: ({ title, image, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2468
2471
|
withProductGrid: typeof withProductGrid;
|
|
2469
2472
|
};
|
|
2470
2473
|
|