@trafilea/afrodita-components 6.16.5 → 6.17.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
@@ -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;
@@ -2653,8 +2665,8 @@ interface ProductGalleryProps {
2653
2665
  hasOverflowArrows?: boolean;
2654
2666
  withZoom?: boolean;
2655
2667
  hasToPreserveOrder?: boolean;
2656
- }
2657
- declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, withZoom, hasToPreserveOrder, }: ProductGalleryProps) => JSX.Element;
2668
+ };
2669
+ declare const ProductGallery: React.FC<ProductGalleryProps>;
2658
2670
 
2659
2671
  interface IconButtonProps {
2660
2672
  children: React__default.ReactNode;
@@ -2832,6 +2844,21 @@ declare const useModal: (id: string) => {
2832
2844
  close: () => void;
2833
2845
  };
2834
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
+
2835
2862
  interface MotivatorProgressBarProps {
2836
2863
  fillColor?: string;
2837
2864
  currentAmount?: number;
@@ -2850,6 +2877,22 @@ interface OrderBarProps {
2850
2877
  }
2851
2878
  declare const OrderBar: ({ message, color }: OrderBarProps) => JSX.Element;
2852
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
+
2853
2896
  interface PackOption {
2854
2897
  label: string;
2855
2898
  description: string;
@@ -3532,37 +3575,6 @@ interface TrackingProgressProps {
3532
3575
  }
3533
3576
  declare const TrackingProgress: ({ checkPoints, amountOfCheckPoints }: TrackingProgressProps) => JSX.Element;
3534
3577
 
3535
- interface CouponProps {
3536
- image: {
3537
- src: string;
3538
- alt: string;
3539
- };
3540
- title: string;
3541
- content: ReactNode;
3542
- width?: string;
3543
- height?: string;
3544
- btnText?: string;
3545
- couponCode?: string;
3546
- offerLink?: string;
3547
- }
3548
- declare const CouponCard: FC<CouponProps>;
3549
-
3550
- declare type BasicAccordionProps = {
3551
- children?: ReactNode;
3552
- defaultOpen?: boolean;
3553
- titleColor?: string;
3554
- bgColor: string;
3555
- header: ReactNode;
3556
- headerOnOpen?: ReactNode;
3557
- disabled?: boolean;
3558
- openIcon: IconType;
3559
- closeIcon: IconType;
3560
- fillControlsCollor: string;
3561
- width?: string;
3562
- onClick?: (index: number) => void;
3563
- };
3564
- declare const BasicAccordion: FC<BasicAccordionProps>;
3565
-
3566
3578
  declare type HurryUpProps = {
3567
3579
  hurryUpText: string;
3568
3580
  backgroundColor?: string;