@trafilea/afrodita-components 6.13.0 → 6.14.1

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 CHANGED
@@ -1181,6 +1181,7 @@ declare type AutoshipPropsV2 = {
1181
1181
  className?: string;
1182
1182
  closeIcon?: boolean;
1183
1183
  currencySymbol: string;
1184
+ discountLabel?: string;
1184
1185
  };
1185
1186
  declare const AutoshipV2: React.FC<AutoshipPropsV2>;
1186
1187
 
@@ -2006,6 +2007,19 @@ declare type ThemeComponent = {
2006
2007
  qtyPicker: {
2007
2008
  borderRadius: string;
2008
2009
  };
2010
+ gallery: {
2011
+ thumbnail?: {
2012
+ width?: string;
2013
+ height?: string;
2014
+ };
2015
+ aspectRatio?: string;
2016
+ };
2017
+ autoship: {
2018
+ discountTag: {
2019
+ backgroundColor: string;
2020
+ borderRadius: string;
2021
+ };
2022
+ };
2009
2023
  };
2010
2024
  declare type ThemeTypography = {
2011
2025
  config: {
@@ -2597,8 +2611,9 @@ interface ProductGalleryProps {
2597
2611
  ctaAction?: () => void;
2598
2612
  hideCTA?: boolean;
2599
2613
  hasOverflowArrows?: boolean;
2614
+ withZoom?: boolean;
2600
2615
  }
2601
- declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
2616
+ declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, withZoom, }: ProductGalleryProps) => JSX.Element;
2602
2617
 
2603
2618
  interface IconButtonProps {
2604
2619
  children: React__default.ReactNode;
@@ -2709,7 +2724,7 @@ declare const Input: {
2709
2724
  SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
2710
2725
  };
2711
2726
 
2712
- interface ProductGalleryMobileProps$2 {
2727
+ interface ProductGalleryMobileProps$3 {
2713
2728
  images: ContentType[];
2714
2729
  customClick?: boolean;
2715
2730
  topTag?: JSX.Element;
@@ -2719,9 +2734,9 @@ interface ProductGalleryMobileProps$2 {
2719
2734
  borderRadiusVariant?: boolean;
2720
2735
  selectedValue?: ContentType;
2721
2736
  }
2722
- declare const ProductGalleryMobile: ({ images, customClick, topTag, topRightTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps$2) => JSX.Element;
2737
+ declare const ProductGalleryMobile: React__default.FC<ProductGalleryMobileProps$3>;
2723
2738
 
2724
- interface ProductGalleryMobileProps$1 {
2739
+ interface ProductGalleryMobileProps$2 {
2725
2740
  images: ContentType[];
2726
2741
  selectedValue?: ContentType;
2727
2742
  topTag?: JSX.Element;
@@ -2730,9 +2745,9 @@ interface ProductGalleryMobileProps$1 {
2730
2745
  slideDotsDataTestId?: string;
2731
2746
  borderRadiusVariant?: boolean;
2732
2747
  }
2733
- declare const ProductGalleryMobileV2: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, borderRadiusVariant, }: ProductGalleryMobileProps$1) => JSX.Element;
2748
+ declare const ProductGalleryMobileV2: React.FC<ProductGalleryMobileProps$2>;
2734
2749
 
2735
- interface ProductGalleryMobileProps {
2750
+ interface ProductGalleryMobileProps$1 {
2736
2751
  images: ContentType$1[];
2737
2752
  customClick?: boolean;
2738
2753
  topTag?: JSX.Element;
@@ -2741,7 +2756,7 @@ interface ProductGalleryMobileProps {
2741
2756
  borderRadiusVariant?: boolean;
2742
2757
  selectedValue?: ContentType$1;
2743
2758
  }
2744
- declare const ProductGalleryMobileV3: ({ images, customClick, topTag, bottomTag, productImageDataTestId, borderRadiusVariant, selectedValue, }: ProductGalleryMobileProps) => JSX.Element;
2759
+ declare const ProductGalleryMobileV3: React__default.FC<ProductGalleryMobileProps$1>;
2745
2760
 
2746
2761
  declare type ModalProps = {
2747
2762
  id: string;
@@ -3176,8 +3191,9 @@ interface CategoryTagProps {
3176
3191
  size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
3177
3192
  className?: string;
3178
3193
  styledBorder?: boolean;
3194
+ backgroundColor?: string;
3179
3195
  }
3180
- declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3196
+ declare const CategoryTag: ({ text, size, className, styledBorder, backgroundColor, }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
3181
3197
 
3182
3198
  interface CategorySquareTagProps {
3183
3199
  text: string;
@@ -3488,9 +3504,18 @@ declare const Spinner: React.FC<SpinnerProps>;
3488
3504
  declare type VideoProps = {
3489
3505
  thumbnail: string;
3490
3506
  source: string;
3507
+ height?: string;
3491
3508
  };
3492
3509
  declare const Video: React.FC<VideoProps>;
3493
3510
 
3511
+ declare type ProductGalleryMobileProps = {
3512
+ images: ContentType[];
3513
+ topTag?: JSX.Element;
3514
+ bottomTag?: JSX.Element;
3515
+ productImageDataTestId?: string;
3516
+ };
3517
+ declare const ProductGalleryMobileV4: React__default.FC<ProductGalleryMobileProps>;
3518
+
3494
3519
  declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
3495
3520
 
3496
3521
  declare type UseWindowDimensions = (breakpoints?: ThemeBreakpoints, options?: {
@@ -3549,4 +3574,4 @@ declare const isNumber: (value: string) => boolean;
3549
3574
  declare const isPhoneNumber: (value: string) => boolean;
3550
3575
  declare const isValidDate: (value: string) => boolean;
3551
3576
 
3552
- export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, ContentType, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, HurryUpProps, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, Icon$1 as LibIcon, IconProps$1 as LibIconProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithTestId, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
3577
+ export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, ContentType, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, HurryUpProps, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, Icon$1 as LibIcon, IconProps$1 as LibIconProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithTestId, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };