@trafilea/afrodita-components 6.11.1 → 6.13.0
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 +7 -4
- package/build/index.esm.js +81 -78
- package/build/index.esm.js.map +1 -1
- package/build/index.js +81 -78
- package/build/index.js.map +1 -1
- package/build/theme/thespadr.theme.js +9 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2189,6 +2189,7 @@ interface ProductItemSmallMobileProps$1 extends ProductItemProps {
|
|
|
2189
2189
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
2190
2190
|
imageHover?: ImageProps;
|
|
2191
2191
|
topTag?: JSX.Element;
|
|
2192
|
+
topRightTag?: JSX.Element;
|
|
2192
2193
|
bottomTag?: JSX.Element;
|
|
2193
2194
|
onClick?: () => void;
|
|
2194
2195
|
originalPriceStyled?: boolean;
|
|
@@ -2262,7 +2263,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
2262
2263
|
declare const Collection: {
|
|
2263
2264
|
ProductItemMobile: React$1.FC<ProductItemSmallMobileProps>;
|
|
2264
2265
|
withProductGrid: typeof withProductGrid;
|
|
2265
|
-
ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2266
|
+
ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, topRightTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2266
2267
|
};
|
|
2267
2268
|
|
|
2268
2269
|
interface IconProps {
|
|
@@ -2585,6 +2586,7 @@ interface ProductGalleryProps {
|
|
|
2585
2586
|
images: ContentType[];
|
|
2586
2587
|
selectedValue?: ContentType;
|
|
2587
2588
|
topTag?: JSX.Element;
|
|
2589
|
+
topRightTag?: JSX.Element;
|
|
2588
2590
|
bottomTag?: JSX.Element;
|
|
2589
2591
|
productImageDataTestId?: string;
|
|
2590
2592
|
previewListDataTestId?: string;
|
|
@@ -2596,7 +2598,7 @@ interface ProductGalleryProps {
|
|
|
2596
2598
|
hideCTA?: boolean;
|
|
2597
2599
|
hasOverflowArrows?: boolean;
|
|
2598
2600
|
}
|
|
2599
|
-
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
|
|
2601
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
|
|
2600
2602
|
|
|
2601
2603
|
interface IconButtonProps {
|
|
2602
2604
|
children: React__default.ReactNode;
|
|
@@ -2711,12 +2713,13 @@ interface ProductGalleryMobileProps$2 {
|
|
|
2711
2713
|
images: ContentType[];
|
|
2712
2714
|
customClick?: boolean;
|
|
2713
2715
|
topTag?: JSX.Element;
|
|
2716
|
+
topRightTag?: JSX.Element;
|
|
2714
2717
|
bottomTag?: JSX.Element;
|
|
2715
2718
|
productImageDataTestId?: string;
|
|
2716
2719
|
borderRadiusVariant?: boolean;
|
|
2717
2720
|
selectedValue?: ContentType;
|
|
2718
2721
|
}
|
|
2719
|
-
declare const ProductGalleryMobile: ({ images, customClick, topTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$2) => JSX.Element;
|
|
2722
|
+
declare const ProductGalleryMobile: ({ images, customClick, topTag, topRightTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$2) => JSX.Element;
|
|
2720
2723
|
|
|
2721
2724
|
interface ProductGalleryMobileProps$1 {
|
|
2722
2725
|
images: ContentType[];
|
|
@@ -3178,7 +3181,7 @@ declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTag
|
|
|
3178
3181
|
|
|
3179
3182
|
interface CategorySquareTagProps {
|
|
3180
3183
|
text: string;
|
|
3181
|
-
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
3184
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small | ComponentSize.XSmall;
|
|
3182
3185
|
className?: string;
|
|
3183
3186
|
styledBorder?: boolean;
|
|
3184
3187
|
}
|