@trafilea/afrodita-components 6.12.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 +29 -9
- package/build/index.esm.js +786 -733
- package/build/index.esm.js.map +1 -1
- package/build/index.js +786 -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 +16 -1
- 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: {
|
|
@@ -2586,6 +2593,7 @@ interface ProductGalleryProps {
|
|
|
2586
2593
|
images: ContentType[];
|
|
2587
2594
|
selectedValue?: ContentType;
|
|
2588
2595
|
topTag?: JSX.Element;
|
|
2596
|
+
topRightTag?: JSX.Element;
|
|
2589
2597
|
bottomTag?: JSX.Element;
|
|
2590
2598
|
productImageDataTestId?: string;
|
|
2591
2599
|
previewListDataTestId?: string;
|
|
@@ -2596,8 +2604,9 @@ interface ProductGalleryProps {
|
|
|
2596
2604
|
ctaAction?: () => void;
|
|
2597
2605
|
hideCTA?: boolean;
|
|
2598
2606
|
hasOverflowArrows?: boolean;
|
|
2607
|
+
withZoom?: boolean;
|
|
2599
2608
|
}
|
|
2600
|
-
declare const ProductGallery: ({ images, selectedValue, topTag, 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;
|
|
2601
2610
|
|
|
2602
2611
|
interface IconButtonProps {
|
|
2603
2612
|
children: React__default.ReactNode;
|
|
@@ -2708,18 +2717,19 @@ declare const Input: {
|
|
|
2708
2717
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
2709
2718
|
};
|
|
2710
2719
|
|
|
2711
|
-
interface ProductGalleryMobileProps$
|
|
2720
|
+
interface ProductGalleryMobileProps$3 {
|
|
2712
2721
|
images: ContentType[];
|
|
2713
2722
|
customClick?: boolean;
|
|
2714
2723
|
topTag?: JSX.Element;
|
|
2724
|
+
topRightTag?: JSX.Element;
|
|
2715
2725
|
bottomTag?: JSX.Element;
|
|
2716
2726
|
productImageDataTestId?: string;
|
|
2717
2727
|
borderRadiusVariant?: boolean;
|
|
2718
2728
|
selectedValue?: ContentType;
|
|
2719
2729
|
}
|
|
2720
|
-
declare const ProductGalleryMobile:
|
|
2730
|
+
declare const ProductGalleryMobile: React__default.FC<ProductGalleryMobileProps$3>;
|
|
2721
2731
|
|
|
2722
|
-
interface ProductGalleryMobileProps$
|
|
2732
|
+
interface ProductGalleryMobileProps$2 {
|
|
2723
2733
|
images: ContentType[];
|
|
2724
2734
|
selectedValue?: ContentType;
|
|
2725
2735
|
topTag?: JSX.Element;
|
|
@@ -2728,9 +2738,9 @@ interface ProductGalleryMobileProps$1 {
|
|
|
2728
2738
|
slideDotsDataTestId?: string;
|
|
2729
2739
|
borderRadiusVariant?: boolean;
|
|
2730
2740
|
}
|
|
2731
|
-
declare const ProductGalleryMobileV2:
|
|
2741
|
+
declare const ProductGalleryMobileV2: React.FC<ProductGalleryMobileProps$2>;
|
|
2732
2742
|
|
|
2733
|
-
interface ProductGalleryMobileProps {
|
|
2743
|
+
interface ProductGalleryMobileProps$1 {
|
|
2734
2744
|
images: ContentType$1[];
|
|
2735
2745
|
customClick?: boolean;
|
|
2736
2746
|
topTag?: JSX.Element;
|
|
@@ -2739,7 +2749,7 @@ interface ProductGalleryMobileProps {
|
|
|
2739
2749
|
borderRadiusVariant?: boolean;
|
|
2740
2750
|
selectedValue?: ContentType$1;
|
|
2741
2751
|
}
|
|
2742
|
-
declare const ProductGalleryMobileV3:
|
|
2752
|
+
declare const ProductGalleryMobileV3: React__default.FC<ProductGalleryMobileProps$1>;
|
|
2743
2753
|
|
|
2744
2754
|
declare type ModalProps = {
|
|
2745
2755
|
id: string;
|
|
@@ -3174,8 +3184,9 @@ interface CategoryTagProps {
|
|
|
3174
3184
|
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
3175
3185
|
className?: string;
|
|
3176
3186
|
styledBorder?: boolean;
|
|
3187
|
+
backgroundColor?: string;
|
|
3177
3188
|
}
|
|
3178
|
-
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;
|
|
3179
3190
|
|
|
3180
3191
|
interface CategorySquareTagProps {
|
|
3181
3192
|
text: string;
|
|
@@ -3486,9 +3497,18 @@ declare const Spinner: React.FC<SpinnerProps>;
|
|
|
3486
3497
|
declare type VideoProps = {
|
|
3487
3498
|
thumbnail: string;
|
|
3488
3499
|
source: string;
|
|
3500
|
+
height?: string;
|
|
3489
3501
|
};
|
|
3490
3502
|
declare const Video: React.FC<VideoProps>;
|
|
3491
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
|
+
|
|
3492
3512
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
3493
3513
|
|
|
3494
3514
|
declare type UseWindowDimensions = (breakpoints?: ThemeBreakpoints, options?: {
|
|
@@ -3547,4 +3567,4 @@ declare const isNumber: (value: string) => boolean;
|
|
|
3547
3567
|
declare const isPhoneNumber: (value: string) => boolean;
|
|
3548
3568
|
declare const isValidDate: (value: string) => boolean;
|
|
3549
3569
|
|
|
3550
|
-
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 };
|