@trafilea/afrodita-components 6.4.6 → 6.5.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
@@ -74,8 +74,8 @@ declare type IconProps$1 = {
74
74
 
75
75
  declare const Icon$1: React__default.NamedExoticComponent<IconProps$1>;
76
76
 
77
- declare type Props$1 = Omit<IconProps$1, 'name'>;
78
- declare type IconComponent = React__default.FC<Props$1>;
77
+ declare type Props$2 = Omit<IconProps$1, 'name'>;
78
+ declare type IconComponent = React__default.FC<Props$2>;
79
79
 
80
80
  declare const Add: IconComponent;
81
81
 
@@ -1198,7 +1198,7 @@ declare enum InputValidationType {
1198
1198
  Empty = 2
1199
1199
  }
1200
1200
 
1201
- declare type Themes = 'Shapermint' | 'Truekind' | 'Revel' | 'TheSpaDr';
1201
+ declare type Themes = 'Shapermint' | 'Truekind' | 'Revel' | 'TheSpaDr' | 'TheBodCon';
1202
1202
  declare type Theme = {
1203
1203
  name: Themes;
1204
1204
  fontSizes: number[];
@@ -2004,32 +2004,32 @@ declare type ImageProps = ImageStyleProps & {
2004
2004
  };
2005
2005
  declare const Image: React.FC<ImageProps>;
2006
2006
 
2007
- interface DiscountTagProps {
2008
- discount: number;
2009
- offText: string;
2010
- savings?: string;
2011
- showSavings?: boolean;
2007
+ interface ClubOfferTagProps {
2008
+ clubOfferText?: string;
2009
+ className?: string;
2012
2010
  disabled?: boolean;
2013
2011
  backgroundColor?: string;
2014
2012
  borderColor?: string;
2015
2013
  textColor?: string;
2016
2014
  size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2017
2015
  style?: React__default.CSSProperties;
2018
- bordersRounded?: boolean;
2019
2016
  }
2020
- declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
2017
+ declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
2021
2018
 
2022
- interface ClubOfferTagProps {
2023
- clubOfferText?: string;
2024
- className?: string;
2019
+ interface DiscountTagProps {
2020
+ discount: number;
2021
+ offText: string;
2022
+ savings?: string;
2023
+ showSavings?: boolean;
2025
2024
  disabled?: boolean;
2026
2025
  backgroundColor?: string;
2027
2026
  borderColor?: string;
2028
2027
  textColor?: string;
2029
2028
  size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
2030
2029
  style?: React__default.CSSProperties;
2030
+ bordersRounded?: boolean;
2031
2031
  }
2032
- declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
2032
+ declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
2033
2033
 
2034
2034
  interface PriceLabelProps {
2035
2035
  finalPrice: string | number;
@@ -2048,10 +2048,16 @@ interface PriceLabelProps {
2048
2048
  }
2049
2049
  declare const PriceLabel: React__default.FC<PriceLabelProps>;
2050
2050
 
2051
+ declare type Props$1 = PriceLabelProps & {
2052
+ savingsDisplay?: boolean;
2053
+ };
2054
+ declare const PriceLabelV2: React__default.FC<Props$1>;
2055
+
2051
2056
  declare type Props = PriceLabelProps & {
2052
2057
  savingsDisplay?: boolean;
2058
+ itemsQuantity?: number;
2053
2059
  };
2054
- declare const PriceLabelV2: React__default.FC<Props>;
2060
+ declare const PriceLabelV3: React__default.FC<Props>;
2055
2061
 
2056
2062
  interface RatingProps {
2057
2063
  rating: number;
@@ -3405,4 +3411,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
3405
3411
 
3406
3412
  declare const mediaQueries: facepaint.DynamicStyleFunction;
3407
3413
 
3408
- export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, 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, ImageType, 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, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, 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, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
3414
+ export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, 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, ImageType, 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, 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, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };