@trafilea/afrodita-components 6.4.0 → 6.4.2

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
@@ -1756,9 +1756,13 @@ declare type ThemeComponent = {
1756
1756
  borderRadius?: string;
1757
1757
  maxWidth?: string;
1758
1758
  onMobile: {
1759
+ position?: string;
1759
1760
  maxWidth?: string;
1760
1761
  padding?: string;
1761
1762
  backgroundColor?: string;
1763
+ titleHeight?: string;
1764
+ boxShadow?: string;
1765
+ borderRadius?: string;
1762
1766
  };
1763
1767
  };
1764
1768
  expressCheckout: {
@@ -1982,22 +1986,22 @@ interface CheckboxProps {
1982
1986
  }
1983
1987
  declare const Checkbox: React__default.FC<CheckboxProps>;
1984
1988
 
1985
- interface ImageStyleProps {
1989
+ declare type ImageStyleProps = {
1986
1990
  height?: string;
1987
1991
  width?: string;
1988
1992
  borderRadius?: string;
1989
1993
  objectFit?: string;
1990
1994
  objectPosition?: string;
1991
1995
  className?: string;
1992
- }
1993
- interface ImageProps extends ImageStyleProps {
1996
+ };
1997
+ declare type ImageProps = ImageStyleProps & {
1994
1998
  src: string;
1995
1999
  alt: string;
1996
2000
  srcSet?: string;
1997
2001
  sizes?: string;
1998
2002
  loading?: 'lazy' | 'eager';
1999
- }
2000
- declare const Image: ({ src, srcSet, sizes, loading, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
2003
+ };
2004
+ declare const Image: React.FC<ImageProps>;
2001
2005
 
2002
2006
  interface DiscountTagProps {
2003
2007
  discount: number;
@@ -2970,18 +2974,21 @@ interface SizeFitGuideProps {
2970
2974
  fitPercentage?: number;
2971
2975
  onClick: () => void;
2972
2976
  onClickFitPercentage?: () => void;
2977
+ hideIcon?: boolean;
2973
2978
  }
2974
- declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
2979
+ declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, hideIcon, }: SizeFitGuideProps) => JSX.Element;
2975
2980
 
2976
2981
  interface SizeSelectorProps {
2977
2982
  label: string;
2978
2983
  sizes: SizeOption[];
2979
2984
  selectedValue: SizeOption;
2980
2985
  onChange: (size: SizeOption) => void;
2986
+ onClickSizeTip?: () => void;
2981
2987
  inline?: boolean;
2982
2988
  width?: string;
2989
+ hasSizeGuide?: boolean;
2983
2990
  }
2984
- declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
2991
+ declare const SizeSelector: ({ label, sizes, selectedValue, onChange, onClickSizeTip, inline, width, hasSizeGuide, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
2985
2992
 
2986
2993
  interface SliderNavigationProps {
2987
2994
  children: JSX.Element | JSX.Element[] | StyledComponent<any>;
@@ -3250,6 +3257,7 @@ interface TooltipProps {
3250
3257
  };
3251
3258
  backgroundColor?: string;
3252
3259
  maxWidth?: string;
3260
+ showCloseIcon?: boolean;
3253
3261
  header?: {
3254
3262
  title: string;
3255
3263
  titleColor?: string;
@@ -3257,8 +3265,9 @@ interface TooltipProps {
3257
3265
  iconFill?: string;
3258
3266
  };
3259
3267
  onClick?: () => void;
3268
+ withArrow?: boolean;
3260
3269
  }
3261
- declare const Tooltip: ({ children, position, content, backgroundColor, align, maxWidth, onClick, header, }: TooltipProps) => JSX.Element;
3270
+ declare const Tooltip: ({ children, position, content, backgroundColor, showCloseIcon, align, maxWidth, onClick, header, withArrow, }: TooltipProps) => JSX.Element;
3262
3271
 
3263
3272
  declare type SubtotalOption = {
3264
3273
  label: string;