@trafilea/afrodita-components 5.0.0-beta.213 → 5.0.0-beta.215
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 +26 -2
- package/build/index.esm.js +305 -127
- package/build/index.esm.js.map +1 -1
- package/build/index.js +306 -126
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1098,12 +1098,25 @@ interface DiscountTagProps {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, style, }: DiscountTagProps) => JSX.Element;
|
|
1100
1100
|
|
|
1101
|
+
interface ClubOfferTagProps {
|
|
1102
|
+
clubOfferText?: string;
|
|
1103
|
+
className?: string;
|
|
1104
|
+
disabled?: boolean;
|
|
1105
|
+
backgroundColor?: string;
|
|
1106
|
+
borderColor?: string;
|
|
1107
|
+
textColor?: string;
|
|
1108
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1109
|
+
style?: React.CSSProperties;
|
|
1110
|
+
}
|
|
1111
|
+
declare const ClubOfferTag: ({ clubOfferText, className, disabled, backgroundColor, borderColor, textColor, size, style, }: ClubOfferTagProps) => JSX.Element;
|
|
1112
|
+
|
|
1101
1113
|
interface PriceLabelProps {
|
|
1102
1114
|
finalPrice: string | number;
|
|
1103
1115
|
originalPrice?: string | number;
|
|
1104
1116
|
color?: string;
|
|
1105
1117
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1106
1118
|
discount?: DiscountTagProps;
|
|
1119
|
+
clubOffer?: ClubOfferTagProps;
|
|
1107
1120
|
finalPriceStyled?: boolean;
|
|
1108
1121
|
finalPriceStyle?: React.CSSProperties;
|
|
1109
1122
|
originalPriceStyled?: boolean;
|
|
@@ -1112,7 +1125,7 @@ interface PriceLabelProps {
|
|
|
1112
1125
|
}
|
|
1113
1126
|
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, originalPriceUnderlined, size, }: PriceLabelProps) => JSX.Element;
|
|
1114
1127
|
|
|
1115
|
-
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, color, testId, originalPriceStyled, originalPriceUnderlined, size, }: PriceLabelProps) => JSX.Element;
|
|
1128
|
+
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, clubOffer, color, testId, originalPriceStyled, originalPriceUnderlined, size, }: PriceLabelProps) => JSX.Element;
|
|
1116
1129
|
|
|
1117
1130
|
interface ColorPickerProps {
|
|
1118
1131
|
options: ColorPickerOption[];
|
|
@@ -1861,6 +1874,17 @@ interface RadioGroupInputProps {
|
|
|
1861
1874
|
}
|
|
1862
1875
|
declare const RadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
|
|
1863
1876
|
|
|
1877
|
+
interface ClubRadioGroupInputProps {
|
|
1878
|
+
name: string;
|
|
1879
|
+
options?: RadioGroupOption[];
|
|
1880
|
+
value?: RadioGroupOption;
|
|
1881
|
+
onChange: (value: RadioGroupOption) => void;
|
|
1882
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1883
|
+
disabled?: boolean;
|
|
1884
|
+
style?: React.CSSProperties;
|
|
1885
|
+
}
|
|
1886
|
+
declare const ClubRadioGroupInput: ({ style, name, options, value, onChange, size, disabled, }: ClubRadioGroupInputProps) => JSX.Element;
|
|
1887
|
+
|
|
1864
1888
|
interface SimpleProps {
|
|
1865
1889
|
title: string;
|
|
1866
1890
|
freeShippingText: string;
|
|
@@ -2822,4 +2846,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
2822
2846
|
|
|
2823
2847
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
2824
2848
|
|
|
2825
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, WithTestId, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
2849
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, 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, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, WithTestId, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|