@trafilea/afrodita-components 6.13.0 → 6.14.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 +27 -9
- package/build/index.esm.js +784 -733
- package/build/index.esm.js.map +1 -1
- package/build/index.js +784 -732
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +7 -0
- package/build/theme/revel.theme.js +7 -0
- package/build/theme/shapermint.theme.d.ts +7 -0
- package/build/theme/shapermint.theme.js +7 -0
- package/build/theme/thebodcon.theme.d.ts +7 -0
- package/build/theme/thebodcon.theme.js +7 -0
- package/build/theme/thespadr.theme.d.ts +7 -0
- package/build/theme/thespadr.theme.js +7 -0
- package/build/theme/truekind.theme.d.ts +7 -0
- package/build/theme/truekind.theme.js +7 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2006,6 +2006,13 @@ declare type ThemeComponent = {
|
|
|
2006
2006
|
qtyPicker: {
|
|
2007
2007
|
borderRadius: string;
|
|
2008
2008
|
};
|
|
2009
|
+
gallery: {
|
|
2010
|
+
thumbnail?: {
|
|
2011
|
+
width?: string;
|
|
2012
|
+
height?: string;
|
|
2013
|
+
};
|
|
2014
|
+
aspectRatio?: string;
|
|
2015
|
+
};
|
|
2009
2016
|
};
|
|
2010
2017
|
declare type ThemeTypography = {
|
|
2011
2018
|
config: {
|
|
@@ -2597,8 +2604,9 @@ interface ProductGalleryProps {
|
|
|
2597
2604
|
ctaAction?: () => void;
|
|
2598
2605
|
hideCTA?: boolean;
|
|
2599
2606
|
hasOverflowArrows?: boolean;
|
|
2607
|
+
withZoom?: boolean;
|
|
2600
2608
|
}
|
|
2601
|
-
declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
|
|
2609
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, topRightTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, withZoom, }: ProductGalleryProps) => JSX.Element;
|
|
2602
2610
|
|
|
2603
2611
|
interface IconButtonProps {
|
|
2604
2612
|
children: React__default.ReactNode;
|
|
@@ -2709,7 +2717,7 @@ declare const Input: {
|
|
|
2709
2717
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
2710
2718
|
};
|
|
2711
2719
|
|
|
2712
|
-
interface ProductGalleryMobileProps$
|
|
2720
|
+
interface ProductGalleryMobileProps$3 {
|
|
2713
2721
|
images: ContentType[];
|
|
2714
2722
|
customClick?: boolean;
|
|
2715
2723
|
topTag?: JSX.Element;
|
|
@@ -2719,9 +2727,9 @@ interface ProductGalleryMobileProps$2 {
|
|
|
2719
2727
|
borderRadiusVariant?: boolean;
|
|
2720
2728
|
selectedValue?: ContentType;
|
|
2721
2729
|
}
|
|
2722
|
-
declare const ProductGalleryMobile:
|
|
2730
|
+
declare const ProductGalleryMobile: React__default.FC<ProductGalleryMobileProps$3>;
|
|
2723
2731
|
|
|
2724
|
-
interface ProductGalleryMobileProps$
|
|
2732
|
+
interface ProductGalleryMobileProps$2 {
|
|
2725
2733
|
images: ContentType[];
|
|
2726
2734
|
selectedValue?: ContentType;
|
|
2727
2735
|
topTag?: JSX.Element;
|
|
@@ -2730,9 +2738,9 @@ interface ProductGalleryMobileProps$1 {
|
|
|
2730
2738
|
slideDotsDataTestId?: string;
|
|
2731
2739
|
borderRadiusVariant?: boolean;
|
|
2732
2740
|
}
|
|
2733
|
-
declare const ProductGalleryMobileV2:
|
|
2741
|
+
declare const ProductGalleryMobileV2: React.FC<ProductGalleryMobileProps$2>;
|
|
2734
2742
|
|
|
2735
|
-
interface ProductGalleryMobileProps {
|
|
2743
|
+
interface ProductGalleryMobileProps$1 {
|
|
2736
2744
|
images: ContentType$1[];
|
|
2737
2745
|
customClick?: boolean;
|
|
2738
2746
|
topTag?: JSX.Element;
|
|
@@ -2741,7 +2749,7 @@ interface ProductGalleryMobileProps {
|
|
|
2741
2749
|
borderRadiusVariant?: boolean;
|
|
2742
2750
|
selectedValue?: ContentType$1;
|
|
2743
2751
|
}
|
|
2744
|
-
declare const ProductGalleryMobileV3:
|
|
2752
|
+
declare const ProductGalleryMobileV3: React__default.FC<ProductGalleryMobileProps$1>;
|
|
2745
2753
|
|
|
2746
2754
|
declare type ModalProps = {
|
|
2747
2755
|
id: string;
|
|
@@ -3176,8 +3184,9 @@ interface CategoryTagProps {
|
|
|
3176
3184
|
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
3177
3185
|
className?: string;
|
|
3178
3186
|
styledBorder?: boolean;
|
|
3187
|
+
backgroundColor?: string;
|
|
3179
3188
|
}
|
|
3180
|
-
declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3189
|
+
declare const CategoryTag: ({ text, size, className, styledBorder, backgroundColor, }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3181
3190
|
|
|
3182
3191
|
interface CategorySquareTagProps {
|
|
3183
3192
|
text: string;
|
|
@@ -3488,9 +3497,18 @@ declare const Spinner: React.FC<SpinnerProps>;
|
|
|
3488
3497
|
declare type VideoProps = {
|
|
3489
3498
|
thumbnail: string;
|
|
3490
3499
|
source: string;
|
|
3500
|
+
height?: string;
|
|
3491
3501
|
};
|
|
3492
3502
|
declare const Video: React.FC<VideoProps>;
|
|
3493
3503
|
|
|
3504
|
+
declare type ProductGalleryMobileProps = {
|
|
3505
|
+
images: ContentType[];
|
|
3506
|
+
topTag?: JSX.Element;
|
|
3507
|
+
bottomTag?: JSX.Element;
|
|
3508
|
+
productImageDataTestId?: string;
|
|
3509
|
+
};
|
|
3510
|
+
declare const ProductGalleryMobileV4: React__default.FC<ProductGalleryMobileProps>;
|
|
3511
|
+
|
|
3494
3512
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
3495
3513
|
|
|
3496
3514
|
declare type UseWindowDimensions = (breakpoints?: ThemeBreakpoints, options?: {
|
|
@@ -3549,4 +3567,4 @@ declare const isNumber: (value: string) => boolean;
|
|
|
3549
3567
|
declare const isPhoneNumber: (value: string) => boolean;
|
|
3550
3568
|
declare const isValidDate: (value: string) => boolean;
|
|
3551
3569
|
|
|
3552
|
-
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, ImageProps, 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, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithTestId, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
3570
|
+
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, ImageProps, 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, ProductGalleryMobileV4, 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, ThemeProviderProps, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, Video, VideoProps, WithTestId, buildImageUrl, componentSizeMapper, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|