@trafilea/afrodita-components 5.0.0-beta.220 → 5.0.0-beta.221
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 +13 -1
- package/build/index.esm.js +6 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -3
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +1 -0
- package/build/theme/shapermint.theme.d.ts +1 -0
- package/build/theme/truekind.theme.d.ts +1 -0
- package/build/theme/tsd.theme.d.ts +1 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1335,6 +1335,7 @@ declare type ThemeColors = {
|
|
|
1335
1335
|
disabled: string;
|
|
1336
1336
|
highlight: string;
|
|
1337
1337
|
shadow?: string;
|
|
1338
|
+
isChecked?: string;
|
|
1338
1339
|
};
|
|
1339
1340
|
background: {
|
|
1340
1341
|
color: string;
|
|
@@ -2821,6 +2822,17 @@ interface HurryUpProps {
|
|
|
2821
2822
|
}
|
|
2822
2823
|
declare const HurryUp: ({ hurryUpText, backgroundColor, iconSize, textPosition, showTimer, }: HurryUpProps) => JSX.Element;
|
|
2823
2824
|
|
|
2825
|
+
interface BuyNowPayLaterProps {
|
|
2826
|
+
installments: number;
|
|
2827
|
+
installmentPrice: string;
|
|
2828
|
+
iconFolder?: string;
|
|
2829
|
+
iconName: string;
|
|
2830
|
+
showLogo?: boolean;
|
|
2831
|
+
iconColor?: string;
|
|
2832
|
+
fontSize?: string;
|
|
2833
|
+
}
|
|
2834
|
+
declare const BuyNowPayLater: ({ installments, installmentPrice, iconFolder, iconName, showLogo, iconColor, fontSize, }: BuyNowPayLaterProps) => JSX.Element | null;
|
|
2835
|
+
|
|
2824
2836
|
declare global {
|
|
2825
2837
|
interface Events {
|
|
2826
2838
|
modal: {
|
|
@@ -2864,4 +2876,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
2864
2876
|
|
|
2865
2877
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
2866
2878
|
|
|
2867
|
-
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 };
|
|
2879
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, 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 };
|
package/build/index.esm.js
CHANGED
|
@@ -12216,7 +12216,7 @@ var RadioGroupInput = function (_a) {
|
|
|
12216
12216
|
|
|
12217
12217
|
/* base styles & size variants */
|
|
12218
12218
|
var CustomRadioStyles = {
|
|
12219
|
-
baseStyles: function (theme, disabled) {
|
|
12219
|
+
baseStyles: function (theme, disabled, isChecked) {
|
|
12220
12220
|
return css({
|
|
12221
12221
|
borderRadius: '50%',
|
|
12222
12222
|
height: '100%',
|
|
@@ -12224,7 +12224,9 @@ var CustomRadioStyles = {
|
|
|
12224
12224
|
boxSizing: 'border-box',
|
|
12225
12225
|
borderStyle: 'solid',
|
|
12226
12226
|
background: theme.component.radio.background,
|
|
12227
|
-
borderColor:
|
|
12227
|
+
borderColor: isChecked
|
|
12228
|
+
? 'var(--colors-pallete-wine-color)'
|
|
12229
|
+
: theme.component.radio.borderColor,
|
|
12228
12230
|
});
|
|
12229
12231
|
},
|
|
12230
12232
|
small: function (theme, active) {
|
|
@@ -12284,7 +12286,7 @@ var Input$2 = newStyled.input(templateObject_2$L || (templateObject_2$L = __make
|
|
|
12284
12286
|
return (disabled ? 'not-allowed' : 'pointer');
|
|
12285
12287
|
});
|
|
12286
12288
|
var CustomRadio = newStyled.div(function (props) { return [
|
|
12287
|
-
CustomRadioStyles.baseStyles(props.theme, props.disabled),
|
|
12289
|
+
CustomRadioStyles.baseStyles(props.theme, props.disabled, props.isChecked),
|
|
12288
12290
|
CustomRadioStyles[props.size](props.theme, props.isChecked),
|
|
12289
12291
|
]; });
|
|
12290
12292
|
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$B || (templateObject_3$B = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n &[aria-checked='true'] {\n color: var(--colors-pallete-wine-color);\n }\n"], ["\n font-size: ", ";\n line-height: ", " !important;\n &[aria-checked='true'] {\n color: var(--colors-pallete-wine-color);\n }\n"])), function (_a) {
|
|
@@ -18682,5 +18684,5 @@ var HurryUp = function (_a) {
|
|
|
18682
18684
|
};
|
|
18683
18685
|
var templateObject_1;
|
|
18684
18686
|
|
|
18685
|
-
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, Card$3 as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ComponentPosition, ComponentSize, index as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, HurryUp, Icon, IconButton, IconsWithTitle, Image, ImageCardWithDescription, Input$1 as Input, InputValidationType, Modal, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioInput, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Tab, Tabs, Text$6 as Text, TextButton, TextWithImage, ThemeProvider, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, decimalFormat, formatPrice, getSrcSet, isEmail, isEmpty, isNumber$1 as isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, simulateMouseClick, sliceString, newStyled as styled, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
18687
|
+
export { AbsorbencyLevel, Accordion$1 as Accordion, AccordionOptions, AmazonButton, AssetsProvider, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, BuyNowPayLater, Card$3 as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ComponentPosition, ComponentSize, index as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, HurryUp, Icon, IconButton, IconsWithTitle, Image, ImageCardWithDescription, Input$1 as Input, InputValidationType, Modal, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioInput, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Tab, Tabs, Text$6 as Text, TextButton, TextWithImage, ThemeProvider, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, decimalFormat, formatPrice, getSrcSet, isEmail, isEmpty, isNumber$1 as isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, simulateMouseClick, sliceString, newStyled as styled, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
18686
18688
|
//# sourceMappingURL=index.esm.js.map
|