@trafilea/afrodita-components 6.16.4 → 6.17.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 CHANGED
@@ -47,7 +47,7 @@ declare type StyledIconProps = {
47
47
  opacity?: number | string;
48
48
  };
49
49
 
50
- declare type Actions$1 = 'actions/add' | 'actions/check_box_empty' | 'actions/check_box_light' | 'actions/check_box_solid' | 'actions/check' | 'actions/circle_check' | 'actions/circle_clear' | 'actions/circle_info' | 'actions/circle_minus' | 'actions/circle_plus' | 'actions/circle_question' | 'actions/circle_solid_check' | 'actions/circle_solid_clear' | 'actions/circle_solid_info' | 'actions/circle_solid_minus' | 'actions/circle_solid_plus' | 'actions/circle_solid_question' | 'actions/circle_solid_styled_check' | 'actions/circle_solid_warning' | 'actions/circle_warning' | 'actions/clear_light' | 'actions/close' | 'actions/copy_outlined' | 'actions/copy' | 'actions/edit' | 'actions/light_check' | 'actions/light_exclamation' | 'actions/like_solid' | 'actions/like' | 'actions/minus' | 'actions/not_allowed' | 'actions/question' | 'actions/radio_empty' | 'actions/radio_filled' | 'actions/settings_solid' | 'actions/settings' | 'actions/share' | 'actions/signout' | 'actions/signout_light' | 'actions/trash' | 'actions/warning';
50
+ declare type Actions$1 = 'actions/add' | 'actions/check_box_empty' | 'actions/check_box_light' | 'actions/check_box_solid' | 'actions/check' | 'actions/circle_check' | 'actions/circle_clear' | 'actions/circle_info' | 'actions/circle_minus' | 'actions/circle_plus' | 'actions/circle_question' | 'actions/circle_solid_check' | 'actions/circle_solid_clear' | 'actions/circle_solid_info' | 'actions/circle_solid_minus' | 'actions/circle_solid_plus' | 'actions/circle_solid_question' | 'actions/circle_solid_styled_check' | 'actions/circle_solid_warning' | 'actions/circle_warning' | 'actions/clear_light' | 'actions/close' | 'actions/copy_outlined' | 'actions/copy' | 'actions/edit' | 'actions/light_check' | 'actions/light_exclamation' | 'actions/like_solid' | 'actions/like' | 'actions/minus' | 'actions/not_allowed' | 'actions/question' | 'actions/radio_empty' | 'actions/radio_filled' | 'actions/settings_solid' | 'actions/settings' | 'actions/share' | 'actions/signout' | 'actions/signout_light' | 'actions/trash' | 'actions/warning' | 'actions/navigate';
51
51
  declare type Arrows$1 = 'arrows/chevron_down' | 'arrows/chevron_down_variant' | 'arrows/chevron_left' | 'arrows/chevron_left_lite' | 'arrows/chevron_left_variant' | 'arrows/chevron_right' | 'arrows/chevron_right_lite' | 'arrows/chevron_right_variant' | 'arrows/chevron_up' | 'arrows/chevron_up_solid' | 'arrows/chevron_up_variant' | 'arrows/circle_chevron_down' | 'arrows/circle_chevron_left' | 'arrows/circle_chevron_right' | 'arrows/circle_chevron_up' | 'arrows/circle_line_down' | 'arrows/circle_line_left' | 'arrows/circle_line_right' | 'arrows/circle_line_up' | 'arrows/circle_up' | 'arrows/double_arrow_up' | 'arrows/chevron_right_grey';
52
52
  declare type Custom$1 = 'custom/atom' | 'custom/bra' | 'custom/bubbles' | 'custom/bullet_one' | 'custom/bullet_three' | 'custom/bullet_two' | 'custom/certified' | 'custom/clinically_tested' | 'custom/cruelty_free' | 'custom/fair_advantages' | 'custom/frown' | 'custom/frown' | 'custom/money_flow' | 'custom/new_sixty_days_guarantee' | 'custom/packs_and_bundles' | 'custom/seamless_support_bra' | 'custom/sixty_days_bold' | 'custom/sixty_days_guarantee' | 'custom/smiling' | 'custom/subscription' | 'custom/thumbs_down' | 'custom/thumbs_up' | 'custom/underwear' | 'custom/wire_free_comfort' | 'custom/wire_free_comfort_bold' | 'custom/tk_sixty_days_bold' | 'custom/free_shipping_truck' | 'custom/higher_discounts' | 'custom/priority_support';
53
53
  declare type Download$1 = 'download/apple_store' | 'download/google_play';
@@ -2039,11 +2039,23 @@ declare type ThemeComponent = {
2039
2039
  borderRadius: string;
2040
2040
  };
2041
2041
  gallery: {
2042
- thumbnail?: {
2043
- width?: string;
2044
- height?: string;
2042
+ mainImgWidth?: string;
2043
+ mainImgHeight?: string;
2044
+ thumbnail: {
2045
+ mobile: {
2046
+ width: string;
2047
+ height: string;
2048
+ };
2049
+ desktop: {
2050
+ width: string;
2051
+ height: string;
2052
+ };
2045
2053
  };
2046
2054
  aspectRatio?: string;
2055
+ tagPosition: {
2056
+ top: string;
2057
+ left: string;
2058
+ };
2047
2059
  };
2048
2060
  autoship: {
2049
2061
  discountTag: {
@@ -2636,7 +2648,7 @@ interface FitPredictorProps {
2636
2648
  }
2637
2649
  declare const FitPredictor: ({ onClick }: FitPredictorProps) => _emotion_react_jsx_runtime.JSX.Element;
2638
2650
 
2639
- interface ProductGalleryProps {
2651
+ declare type ProductGalleryProps = {
2640
2652
  images: ContentType[];
2641
2653
  selectedValue?: ContentType;
2642
2654
  topTag?: JSX.Element;
@@ -2652,8 +2664,9 @@ interface ProductGalleryProps {
2652
2664
  hideCTA?: boolean;
2653
2665
  hasOverflowArrows?: boolean;
2654
2666
  withZoom?: boolean;
2655
- }
2656
- declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, withZoom, }: ProductGalleryProps) => JSX.Element;
2667
+ hasToPreserveOrder?: boolean;
2668
+ };
2669
+ declare const ProductGallery: React.FC<ProductGalleryProps>;
2657
2670
 
2658
2671
  interface IconButtonProps {
2659
2672
  children: React__default.ReactNode;
@@ -2780,6 +2793,7 @@ interface ProductGalleryMobileProps$3 {
2780
2793
  productImageDataTestId?: string;
2781
2794
  borderRadiusVariant?: boolean;
2782
2795
  selectedValue?: ContentType;
2796
+ hasToPreserveOrder?: boolean;
2783
2797
  }
2784
2798
  declare const ProductGalleryMobile: React__default.FC<ProductGalleryMobileProps$3>;
2785
2799
 
@@ -2830,6 +2844,21 @@ declare const useModal: (id: string) => {
2830
2844
  close: () => void;
2831
2845
  };
2832
2846
 
2847
+ interface CouponProps {
2848
+ image: {
2849
+ src: string;
2850
+ alt: string;
2851
+ };
2852
+ title: string;
2853
+ content: ReactNode;
2854
+ width?: string;
2855
+ height?: string;
2856
+ btnText?: string;
2857
+ couponCode?: string;
2858
+ offerLink?: string;
2859
+ }
2860
+ declare const CouponCard: FC<CouponProps>;
2861
+
2833
2862
  interface MotivatorProgressBarProps {
2834
2863
  fillColor?: string;
2835
2864
  currentAmount?: number;
@@ -2848,6 +2877,22 @@ interface OrderBarProps {
2848
2877
  }
2849
2878
  declare const OrderBar: ({ message, color }: OrderBarProps) => JSX.Element;
2850
2879
 
2880
+ declare type BasicAccordionProps = {
2881
+ children?: ReactNode;
2882
+ defaultOpen?: boolean;
2883
+ titleColor?: string;
2884
+ bgColor: string;
2885
+ header: ReactNode;
2886
+ headerOnOpen?: ReactNode;
2887
+ disabled?: boolean;
2888
+ openIcon: IconType;
2889
+ closeIcon: IconType;
2890
+ fillControlsCollor: string;
2891
+ width?: string;
2892
+ onClick?: (index: number) => void;
2893
+ };
2894
+ declare const BasicAccordion: FC<BasicAccordionProps>;
2895
+
2851
2896
  interface PackOption {
2852
2897
  label: string;
2853
2898
  description: string;
@@ -3530,37 +3575,6 @@ interface TrackingProgressProps {
3530
3575
  }
3531
3576
  declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3532
3577
 
3533
- interface CouponProps {
3534
- image: {
3535
- src: string;
3536
- alt: string;
3537
- };
3538
- title: string;
3539
- content: ReactNode;
3540
- width?: string;
3541
- height?: string;
3542
- btnText?: string;
3543
- couponCode?: string;
3544
- offerLink?: string;
3545
- }
3546
- declare const CouponCard: FC<CouponProps>;
3547
-
3548
- declare type BasicAccordionProps = {
3549
- children?: ReactNode;
3550
- defaultOpen?: boolean;
3551
- titleColor?: string;
3552
- bgColor: string;
3553
- header: ReactNode;
3554
- headerOnOpen?: ReactNode;
3555
- disabled?: boolean;
3556
- openIcon: IconType;
3557
- closeIcon: IconType;
3558
- fillControlsCollor: string;
3559
- width?: string;
3560
- onClick?: (index: number) => void;
3561
- };
3562
- declare const BasicAccordion: FC<BasicAccordionProps>;
3563
-
3564
3578
  declare type HurryUpProps = {
3565
3579
  hurryUpText: string;
3566
3580
  backgroundColor?: string;