@trafilea/afrodita-components 6.37.5 → 6.38.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 +45 -2
- package/build/index.esm.js +1029 -851
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1034 -850
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +11 -1
- package/build/theme/revel.theme.js +10 -0
- package/build/theme/shapermint.theme.d.ts +11 -1
- package/build/theme/shapermint.theme.js +14 -0
- package/build/theme/thebodcon.theme.d.ts +11 -1
- package/build/theme/thebodcon.theme.js +10 -0
- package/build/theme/thespadr.theme.d.ts +11 -1
- package/build/theme/thespadr.theme.js +10 -0
- package/build/theme/truekind.theme.d.ts +11 -1
- package/build/theme/truekind.theme.js +10 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -54,7 +54,8 @@ declare enum ComponentSize {
|
|
|
54
54
|
Large = "large",
|
|
55
55
|
Medium = "medium",
|
|
56
56
|
Small = "small",
|
|
57
|
-
XSmall = "xsmall"
|
|
57
|
+
XSmall = "xsmall",
|
|
58
|
+
XXSmall = "xxsmall"
|
|
58
59
|
}
|
|
59
60
|
declare enum ComponentPosition {
|
|
60
61
|
Top = 0,
|
|
@@ -1656,6 +1657,10 @@ declare type ThemeComponent = {
|
|
|
1656
1657
|
rating: {
|
|
1657
1658
|
fontWeight: number;
|
|
1658
1659
|
size: {
|
|
1660
|
+
xxsmall: {
|
|
1661
|
+
fontSize: string;
|
|
1662
|
+
lineHeight: string;
|
|
1663
|
+
};
|
|
1659
1664
|
xsmall: {
|
|
1660
1665
|
fontSize: string;
|
|
1661
1666
|
lineHeight: string;
|
|
@@ -1677,6 +1682,11 @@ declare type ThemeComponent = {
|
|
|
1677
1682
|
stars: {
|
|
1678
1683
|
element: {
|
|
1679
1684
|
color: string;
|
|
1685
|
+
xxsmall: {
|
|
1686
|
+
width: string;
|
|
1687
|
+
height: string;
|
|
1688
|
+
marginRight: string;
|
|
1689
|
+
};
|
|
1680
1690
|
xsmall: {
|
|
1681
1691
|
width: string;
|
|
1682
1692
|
height: string;
|
|
@@ -3553,6 +3563,7 @@ declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
|
|
|
3553
3563
|
className?: string;
|
|
3554
3564
|
testId?: string;
|
|
3555
3565
|
asSpan?: boolean;
|
|
3566
|
+
inline?: boolean;
|
|
3556
3567
|
color?: string;
|
|
3557
3568
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
3558
3569
|
|
|
@@ -4082,6 +4093,29 @@ declare type PriceType = {
|
|
|
4082
4093
|
|
|
4083
4094
|
declare const SubscriptionPlanSelector: FC<SubscriptionPlanSelectorProps>;
|
|
4084
4095
|
|
|
4096
|
+
declare type BenefitProps = {
|
|
4097
|
+
icon?: Pick<IconProps$1, 'name' | 'fill' | 'width' | 'height'>;
|
|
4098
|
+
text: string | ReactNode;
|
|
4099
|
+
};
|
|
4100
|
+
declare type SizeOptionProps = {
|
|
4101
|
+
key: string;
|
|
4102
|
+
label: string;
|
|
4103
|
+
value: string;
|
|
4104
|
+
disabled: boolean;
|
|
4105
|
+
};
|
|
4106
|
+
declare type OfferAtCartProps = {
|
|
4107
|
+
className?: string;
|
|
4108
|
+
title: ReactNode | string;
|
|
4109
|
+
image: ImageProps;
|
|
4110
|
+
benefits: BenefitProps[];
|
|
4111
|
+
sizeOptions: SizeOptionProps[];
|
|
4112
|
+
onAddToCart: (size: string, color?: string) => void;
|
|
4113
|
+
ctaText?: string;
|
|
4114
|
+
rating?: number;
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
declare const OfferAtCart: FC<OfferAtCartProps>;
|
|
4118
|
+
|
|
4085
4119
|
declare module '@emotion/react' {
|
|
4086
4120
|
interface Theme extends Theme {
|
|
4087
4121
|
}
|
|
@@ -4152,4 +4186,13 @@ declare type Partner = 'RevelBeauty' | 'TheSpaDr' | 'TheBodCon';
|
|
|
4152
4186
|
declare type PartnerContent = 'RevelBeauty-1' | 'RevelBeauty-2' | 'TheSpaDr-1' | 'TheSpaDr-2' | 'TheBodCon';
|
|
4153
4187
|
declare const CancellationFlowAccordionContentPerPartner: Record<Partner, JSX.Element[]>;
|
|
4154
4188
|
|
|
4155
|
-
|
|
4189
|
+
declare const isDangerouslySetInnerHTML: (content: any) => content is {
|
|
4190
|
+
__html: string;
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
declare const title: JSX.Element;
|
|
4194
|
+
declare const benefits: (size: 'xsmall' | 'small' | 'regular') => BenefitProps[];
|
|
4195
|
+
declare const benefitsRawHtml: BenefitProps[];
|
|
4196
|
+
declare const sizeOptions: SizeOptionProps[];
|
|
4197
|
+
|
|
4198
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipFrequency, AutoshipFrequencyDropdown, AutoshipOfferCard, AutoshipOfferCardCta, AutoshipV2, BasicAccordion, BeforeAfterCard, BeforeAfterVariant, BenefitProps, BenefitsList, BenefitsListProps, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, CancellationFlowAccordionContentPerPartner, _default as Card, CardSectionType, CartItemCard, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferSelector, ClubOfferTag, ClubPriceMemberLabel, ClubRadioGroupInput, Collection, ColorPickerOption, ColorPickerWithTooltip, 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, HurryUp, HurryUpProps, ISubscriptionFrequencyDropdown, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageProps, Input, InputValidationType, JoinClubCard, Icon$1 as LibIcon, IconProps$1 as LibIconProps, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferAtCart, OfferAtCartProps, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Partner, PartnerContent, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, PriceLabelV3, 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, Video, VideoProps, WithBenefits, WithChildren, WithTestId, benefits, benefitsRawHtml, 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 };
|