@trafilea/afrodita-components 6.8.20 → 6.9.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 +33 -2
- package/build/index.esm.js +236 -123
- package/build/index.esm.js.map +1 -1
- package/build/index.js +237 -123
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1136,6 +1136,36 @@ declare type AutoshipProps = {
|
|
|
1136
1136
|
};
|
|
1137
1137
|
declare const Autoship: React.FC<AutoshipProps>;
|
|
1138
1138
|
|
|
1139
|
+
declare type AutoshipPropsV2 = {
|
|
1140
|
+
singlePurchaseLabel: string;
|
|
1141
|
+
subscriptionLabel: string;
|
|
1142
|
+
tooltipContent?: {
|
|
1143
|
+
text: string;
|
|
1144
|
+
color?: string;
|
|
1145
|
+
};
|
|
1146
|
+
tooltipHeader?: {
|
|
1147
|
+
title: string;
|
|
1148
|
+
};
|
|
1149
|
+
pricing: {
|
|
1150
|
+
listPrice: number;
|
|
1151
|
+
discountedPrice: number;
|
|
1152
|
+
autoshipDiscountPercentage: number;
|
|
1153
|
+
};
|
|
1154
|
+
frequencyValues?: Array<number>;
|
|
1155
|
+
frequencyUnit?: string;
|
|
1156
|
+
autoshipBenefits: string[];
|
|
1157
|
+
onChange: (values: {
|
|
1158
|
+
subscriptionPeriod: number;
|
|
1159
|
+
autoship: boolean;
|
|
1160
|
+
originalPrice: number;
|
|
1161
|
+
discountedPrice: number;
|
|
1162
|
+
}) => void;
|
|
1163
|
+
className?: string;
|
|
1164
|
+
closeIcon?: boolean;
|
|
1165
|
+
currencySymbol: string;
|
|
1166
|
+
};
|
|
1167
|
+
declare const AutoshipV2: React.FC<AutoshipPropsV2>;
|
|
1168
|
+
|
|
1139
1169
|
declare enum BeforeAfterVariant {
|
|
1140
1170
|
UserInfoText = "UserInfoText",
|
|
1141
1171
|
ResultFeedback = "ResultFeedback"
|
|
@@ -2880,8 +2910,9 @@ interface RadioProps {
|
|
|
2880
2910
|
disabled?: boolean;
|
|
2881
2911
|
onChange: (option: RadioGroupOption) => void;
|
|
2882
2912
|
style?: React__default.CSSProperties;
|
|
2913
|
+
useV2Style?: boolean;
|
|
2883
2914
|
}
|
|
2884
|
-
declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
|
|
2915
|
+
declare const RadioInput: ({ style, name, value, id, label, checked, disabled, onChange, size, useV2Style, }: RadioProps) => JSX.Element;
|
|
2885
2916
|
|
|
2886
2917
|
interface StarListProps {
|
|
2887
2918
|
rating: number;
|
|
@@ -3492,4 +3523,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
3492
3523
|
|
|
3493
3524
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
3494
3525
|
|
|
3495
|
-
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, ContentType, 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, 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, ProductGalleryMobileV3, 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 };
|
|
3526
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, AutoshipV2, BeforeAfterCard, BeforeAfterVariant, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, ContentType, 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, 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, ProductGalleryMobileV3, 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 };
|