@trafilea/afrodita-components 6.54.12 → 6.55.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 +46 -15
- package/build/index.esm.js +1115 -911
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1118 -910
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2536,6 +2536,10 @@ interface CouponProps {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
declare const CouponCard: FC<CouponProps>;
|
|
2538
2538
|
|
|
2539
|
+
declare const ArrowTip: React.FC<{
|
|
2540
|
+
isRight?: boolean;
|
|
2541
|
+
}>;
|
|
2542
|
+
|
|
2539
2543
|
interface IconProps {
|
|
2540
2544
|
width?: number | string;
|
|
2541
2545
|
height?: number | string;
|
|
@@ -4305,6 +4309,16 @@ declare type ProductGalleryMobileProps = {
|
|
|
4305
4309
|
};
|
|
4306
4310
|
declare const ProductGalleryMobileV5: react__default.FC<ProductGalleryMobileProps>;
|
|
4307
4311
|
|
|
4312
|
+
declare type ProductGalleryMobileV6Props = {
|
|
4313
|
+
images: ContentType[];
|
|
4314
|
+
variantImages: ContentType[];
|
|
4315
|
+
selectedValue?: ContentType;
|
|
4316
|
+
bottomTag?: JSX.Element;
|
|
4317
|
+
topRightTag?: JSX.Element;
|
|
4318
|
+
topTag?: JSX.Element;
|
|
4319
|
+
};
|
|
4320
|
+
declare const ProductGalleryMobileV6: FC<ProductGalleryMobileV6Props>;
|
|
4321
|
+
|
|
4308
4322
|
interface TableProps$1 {
|
|
4309
4323
|
headers: string[];
|
|
4310
4324
|
data: string[][];
|
|
@@ -4321,6 +4335,21 @@ interface TableProps {
|
|
|
4321
4335
|
|
|
4322
4336
|
declare const SizeChartTableV3: React.FC<TableProps>;
|
|
4323
4337
|
|
|
4338
|
+
interface DataCell {
|
|
4339
|
+
rowSpan?: number;
|
|
4340
|
+
content: string;
|
|
4341
|
+
}
|
|
4342
|
+
declare type DataRow = (DataCell | string)[];
|
|
4343
|
+
interface DataSet {
|
|
4344
|
+
header: string;
|
|
4345
|
+
data: DataRow[];
|
|
4346
|
+
}
|
|
4347
|
+
interface SizeChartTableV4Props {
|
|
4348
|
+
data: DataSet[];
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
declare const SizeChartTableV4: React.FC<SizeChartTableV4Props>;
|
|
4352
|
+
|
|
4324
4353
|
declare type WithBenefits = {
|
|
4325
4354
|
benefits: Benefit[];
|
|
4326
4355
|
children?: never;
|
|
@@ -4462,6 +4491,18 @@ declare type BuildImageUrl = ({ src, width, }: {
|
|
|
4462
4491
|
}) => string;
|
|
4463
4492
|
declare const buildImageUrl: BuildImageUrl;
|
|
4464
4493
|
|
|
4494
|
+
declare const isDangerouslySetInnerHTML: (content: any) => content is {
|
|
4495
|
+
__html: string;
|
|
4496
|
+
};
|
|
4497
|
+
|
|
4498
|
+
declare const title: JSX.Element;
|
|
4499
|
+
declare const benefits: (size: 'xsmall' | 'small' | 'regular') => OfferAtCartBenefitProps[];
|
|
4500
|
+
declare const benefitsRawHtml: OfferAtCartBenefitProps[];
|
|
4501
|
+
declare const benefitsRawHtmlV2: OfferAtCartBenefitProps[];
|
|
4502
|
+
declare const sizeOptions: SizeOptionProps[];
|
|
4503
|
+
|
|
4504
|
+
declare function debounce(fn: Function, timeout: number): (...args: any[]) => void;
|
|
4505
|
+
|
|
4465
4506
|
/**
|
|
4466
4507
|
* @returns number formatted with "," and 2 decimals as string
|
|
4467
4508
|
*/
|
|
@@ -4478,6 +4519,10 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
4478
4519
|
|
|
4479
4520
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
4480
4521
|
|
|
4522
|
+
declare type Partner = 'RevelBeauty' | 'TheSpaDr' | 'TheBodCon';
|
|
4523
|
+
declare type PartnerContent = 'RevelBeauty-1' | 'RevelBeauty-2' | 'TheSpaDr-1' | 'TheSpaDr-2' | 'TheBodCon';
|
|
4524
|
+
declare const CancellationFlowAccordionContentPerPartner: Record<Partner, JSX.Element[]>;
|
|
4525
|
+
|
|
4481
4526
|
declare const simulateMouseClick: (element: HTMLElement) => void;
|
|
4482
4527
|
|
|
4483
4528
|
declare const sliceString: (str: string, maxLength: number) => string;
|
|
@@ -4488,18 +4533,4 @@ declare const isNumber: (value: string) => boolean;
|
|
|
4488
4533
|
declare const isPhoneNumber: (value: string) => boolean;
|
|
4489
4534
|
declare const isValidDate: (value: string) => boolean;
|
|
4490
4535
|
|
|
4491
|
-
|
|
4492
|
-
declare type PartnerContent = 'RevelBeauty-1' | 'RevelBeauty-2' | 'TheSpaDr-1' | 'TheSpaDr-2' | 'TheBodCon';
|
|
4493
|
-
declare const CancellationFlowAccordionContentPerPartner: Record<Partner, JSX.Element[]>;
|
|
4494
|
-
|
|
4495
|
-
declare const isDangerouslySetInnerHTML: (content: any) => content is {
|
|
4496
|
-
__html: string;
|
|
4497
|
-
};
|
|
4498
|
-
|
|
4499
|
-
declare const title: JSX.Element;
|
|
4500
|
-
declare const benefits: (size: 'xsmall' | 'small' | 'regular') => OfferAtCartBenefitProps[];
|
|
4501
|
-
declare const benefitsRawHtml: OfferAtCartBenefitProps[];
|
|
4502
|
-
declare const benefitsRawHtmlV2: OfferAtCartBenefitProps[];
|
|
4503
|
-
declare const sizeOptions: SizeOptionProps[];
|
|
4504
|
-
|
|
4505
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, 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, 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, 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, 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 };
|
|
4536
|
+
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 };
|