@trafilea/afrodita-components 6.55.6 → 6.56.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 +50 -2
- package/build/index.esm.js +429 -365
- package/build/index.esm.js.map +1 -1
- package/build/index.js +429 -364
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +20 -0
- package/build/theme/shapermint.theme.d.ts +20 -0
- package/build/theme/thebodcon.theme.d.ts +20 -0
- package/build/theme/thespadr.theme.d.ts +20 -0
- package/build/theme/thespadr.theme.js +25 -5
- package/build/theme/truekind.theme.d.ts +20 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ interface PriceLabelProps {
|
|
|
111
111
|
testId?: string;
|
|
112
112
|
clubStyle?: boolean;
|
|
113
113
|
bordersRounded?: boolean;
|
|
114
|
+
invertDirection?: boolean;
|
|
114
115
|
}
|
|
115
116
|
declare const PriceLabel: react__default.FC<PriceLabelProps>;
|
|
116
117
|
|
|
@@ -1438,6 +1439,8 @@ declare type AutoshipPropsV2 = {
|
|
|
1438
1439
|
currencySymbol: string;
|
|
1439
1440
|
discountLabel?: string;
|
|
1440
1441
|
disabledInputs?: AutoshipRadios[];
|
|
1442
|
+
hasInfoBulletIcons?: boolean;
|
|
1443
|
+
borderRadiusValue?: string;
|
|
1441
1444
|
};
|
|
1442
1445
|
declare const AutoshipV2: react__default.FC<AutoshipPropsV2>;
|
|
1443
1446
|
|
|
@@ -1700,6 +1703,26 @@ declare type ThemeComponent = {
|
|
|
1700
1703
|
color: string;
|
|
1701
1704
|
};
|
|
1702
1705
|
};
|
|
1706
|
+
outline?: {
|
|
1707
|
+
active: {
|
|
1708
|
+
backgroundColor: string;
|
|
1709
|
+
color: string;
|
|
1710
|
+
};
|
|
1711
|
+
hover: {
|
|
1712
|
+
backgroundColor: string;
|
|
1713
|
+
color: string;
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
tertiary?: {
|
|
1717
|
+
active: {
|
|
1718
|
+
backgroundColor: string;
|
|
1719
|
+
color: string;
|
|
1720
|
+
};
|
|
1721
|
+
hover: {
|
|
1722
|
+
backgroundColor: string;
|
|
1723
|
+
color: string;
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1703
1726
|
};
|
|
1704
1727
|
input: {
|
|
1705
1728
|
background: string;
|
|
@@ -2736,6 +2759,26 @@ declare type VideoProps = {
|
|
|
2736
2759
|
} & DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
|
|
2737
2760
|
declare const Video: React.FC<VideoProps>;
|
|
2738
2761
|
|
|
2762
|
+
declare type ListItem = {
|
|
2763
|
+
iconName?: string;
|
|
2764
|
+
iconFolder?: string;
|
|
2765
|
+
iconColor?: CSSProperties['color'];
|
|
2766
|
+
text: string;
|
|
2767
|
+
iconSizeDesktop?: number;
|
|
2768
|
+
iconSizeMobile?: number;
|
|
2769
|
+
iconTitleStyle?: string;
|
|
2770
|
+
};
|
|
2771
|
+
declare type IconsWithTitleListProps = {
|
|
2772
|
+
list: ListItem[];
|
|
2773
|
+
loading?: boolean;
|
|
2774
|
+
dividerWidth?: CSSProperties['width'];
|
|
2775
|
+
dividerHeight?: CSSProperties['height'];
|
|
2776
|
+
skeletonHeight?: CSSProperties['height'];
|
|
2777
|
+
itemsGapDesktop?: CSSProperties['gap'];
|
|
2778
|
+
itemsGapMobile?: CSSProperties['gap'];
|
|
2779
|
+
};
|
|
2780
|
+
declare function IconsWithTitleList({ list, loading, dividerWidth, dividerHeight, skeletonHeight, itemsGapDesktop, itemsGapMobile, }: Readonly<IconsWithTitleListProps>): JSX.Element;
|
|
2781
|
+
|
|
2739
2782
|
declare type LikeBtnContainerProps = Pick<CSSProperties, 'position' | 'top' | 'right' | 'zIndex' | 'padding' | 'boxSizing'>;
|
|
2740
2783
|
declare type ColorsState = {
|
|
2741
2784
|
active: string;
|
|
@@ -2816,6 +2859,9 @@ interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
|
2816
2859
|
};
|
|
2817
2860
|
likeBtn?: LikeButtonProps;
|
|
2818
2861
|
showDecimals?: boolean;
|
|
2862
|
+
showDivider?: boolean;
|
|
2863
|
+
invertPriceDirection?: boolean;
|
|
2864
|
+
priceAndReviewInOneLine?: boolean;
|
|
2819
2865
|
}
|
|
2820
2866
|
|
|
2821
2867
|
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: react__default.FC<P>, data: ProductItemProps[]): {
|
|
@@ -3659,8 +3705,10 @@ interface CategoryTagProps {
|
|
|
3659
3705
|
className?: string;
|
|
3660
3706
|
styledBorder?: boolean;
|
|
3661
3707
|
backgroundColor?: string;
|
|
3708
|
+
hasMargin?: boolean;
|
|
3709
|
+
noBorderRadius?: boolean;
|
|
3662
3710
|
}
|
|
3663
|
-
declare const CategoryTag: ({ text, size, className, styledBorder, backgroundColor, }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3711
|
+
declare const CategoryTag: ({ text, size, className, styledBorder, backgroundColor, hasMargin, noBorderRadius, }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3664
3712
|
|
|
3665
3713
|
interface CategorySquareTagProps {
|
|
3666
3714
|
text: string;
|
|
@@ -4526,4 +4574,4 @@ declare const isNumber: (value: string) => boolean;
|
|
|
4526
4574
|
declare const isPhoneNumber: (value: string) => boolean;
|
|
4527
4575
|
declare const isValidDate: (value: string) => boolean;
|
|
4528
4576
|
|
|
4529
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, ArrowTip, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipPdpCard, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferSelector2, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, ColorsState, CommonProps, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DeliveryDetails, DeviceType, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, GreetingsCard, HorizontalDivider, HorizontalDividerProps, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconName, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, Icon$1 as LibIcon, IconProps$1 as LibIconProps, LikeButton, LikeButtonColors, LikeButtonProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferAtCart, OfferAtCartBenefitProps, OfferAtCartProps, OfferAtCartV2, OfferAtCartV3, OfferAtCartV4, OfferAtPDP, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, PriceLabelV5, PriceType, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProductGalleryMobileV6, ProgressBar, QuantityPicker, RadioConfig, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, RadiosConfig, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SelectorOnChangeProps, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeChartTableV4, SizeDropdown, SizeFitGuide, SizeOption, SizeOptionProps, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, SubscriptionPlanSelector, SubscriptionPlanSelectorProps, SubscriptionPlanSelectorRadios, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, TooltipContent, TooltipHeader, TooltipType, Totals, TrackingProgress, TrackingProgressV2, TwoCtasAtCart, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, benefitsRawHtmlV2, buildImageUrl, componentSizeMapper, debounce, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
4577
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, ArrowTip, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipPdpCard, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferSelector2, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, ColorsState, CommonProps, ComponentPosition, ComponentSize, ContentType, CouponCard, index_d as CrossSell, DeliveryDetails, DeviceType, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, GreetingsCard, HorizontalDivider, HorizontalDividerProps, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconName, IconProps, IconWithOpacityProps, IconsWithTitle, IconsWithTitleList, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, Icon$1 as LibIcon, IconProps$1 as LibIconProps, LikeButton, LikeButtonColors, LikeButtonProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferAtCart, OfferAtCartBenefitProps, OfferAtCartProps, OfferAtCartV2, OfferAtCartV3, OfferAtCartV4, OfferAtPDP, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, PriceLabelV5, PriceType, ProductCard, ProductCardV2, ProductCardV3, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProductGalleryMobileV3, ProductGalleryMobileV4, ProductGalleryMobileV5, ProductGalleryMobileV6, ProgressBar, QuantityPicker, RadioConfig, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, RadiosConfig, Rating, Review, Review$1 as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SelectorOnChangeProps, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeChartTableV2, SizeChartTableV3, SizeChartTableV4, SizeDropdown, SizeFitGuide, SizeOption, SizeOptionProps, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, SpinnerProps, StarList, StrengthBars, SubscriptionPlanSelector, SubscriptionPlanSelectorProps, SubscriptionPlanSelectorRadios, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Toast, ToggleComponent, Tooltip, TooltipContent, TooltipHeader, TooltipType, Totals, TrackingProgress, TrackingProgressV2, TwoCtasAtCart, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, benefitsRawHtmlV2, buildImageUrl, componentSizeMapper, debounce, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isDangerouslySetInnerHTML, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sizeOptions, sliceString, title, useDeviceType, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|