@trafilea/afrodita-components 6.4.6 → 6.5.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 +24 -16
- package/build/index.esm.js +227 -144
- package/build/index.esm.js.map +1 -1
- package/build/index.js +227 -143
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +1 -1
- package/build/theme/shapermint.theme.d.ts +1 -1
- package/build/theme/thebodcon.theme.d.ts +764 -0
- package/build/theme/thebodcon.theme.js +1025 -0
- package/build/theme/thespadr.theme.d.ts +1 -1
- package/build/theme/truekind.theme.d.ts +1 -1
- package/package.json +1 -1
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$
|
|
78
|
-
declare type IconComponent = React__default.FC<Props$
|
|
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
|
|
2008
|
-
|
|
2009
|
-
|
|
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
|
|
2017
|
+
declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
|
|
2021
2018
|
|
|
2022
|
-
interface
|
|
2023
|
-
|
|
2024
|
-
|
|
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
|
|
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;
|
|
@@ -2045,13 +2045,21 @@ interface PriceLabelProps {
|
|
|
2045
2045
|
testId?: string;
|
|
2046
2046
|
clubStyle?: boolean;
|
|
2047
2047
|
bordersRounded?: boolean;
|
|
2048
|
+
hasPricePerItem?: boolean;
|
|
2049
|
+
quantity?: number;
|
|
2048
2050
|
}
|
|
2049
2051
|
declare const PriceLabel: React__default.FC<PriceLabelProps>;
|
|
2050
2052
|
|
|
2053
|
+
declare type Props$1 = PriceLabelProps & {
|
|
2054
|
+
savingsDisplay?: boolean;
|
|
2055
|
+
};
|
|
2056
|
+
declare const PriceLabelV2: React__default.FC<Props$1>;
|
|
2057
|
+
|
|
2051
2058
|
declare type Props = PriceLabelProps & {
|
|
2052
2059
|
savingsDisplay?: boolean;
|
|
2060
|
+
itemsQuantity?: number;
|
|
2053
2061
|
};
|
|
2054
|
-
declare const
|
|
2062
|
+
declare const PriceLabelV3: React__default.FC<Props>;
|
|
2055
2063
|
|
|
2056
2064
|
interface RatingProps {
|
|
2057
2065
|
rating: number;
|
|
@@ -3405,4 +3413,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
3405
3413
|
|
|
3406
3414
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
3407
3415
|
|
|
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 };
|
|
3416
|
+
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 };
|