@trafilea/afrodita-components 5.0.0-beta.10 → 5.0.0-beta.13
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 +18 -3
- package/build/index.esm.js +384 -403
- package/build/index.esm.js.map +1 -1
- package/build/index.js +385 -402
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -509,8 +509,9 @@ interface SizeFitGuideProps {
|
|
|
509
509
|
title: string;
|
|
510
510
|
fitPercentage?: number;
|
|
511
511
|
onClick: () => void;
|
|
512
|
+
onClickFitPercentage?: () => void;
|
|
512
513
|
}
|
|
513
|
-
declare const SizeFitGuide: ({ title, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
|
|
514
|
+
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
514
515
|
|
|
515
516
|
interface BaseButtonProps {
|
|
516
517
|
children: React.ReactNode;
|
|
@@ -1611,6 +1612,7 @@ declare const Portal: FC<PortalProps>;
|
|
|
1611
1612
|
declare type ModalProps = {
|
|
1612
1613
|
id: string;
|
|
1613
1614
|
dismissable?: boolean;
|
|
1615
|
+
maxFullScreen?: boolean;
|
|
1614
1616
|
};
|
|
1615
1617
|
declare const Overlay: _emotion_styled.StyledComponent<{
|
|
1616
1618
|
theme?: _emotion_react.Theme | undefined;
|
|
@@ -1620,7 +1622,12 @@ declare const Overlay: _emotion_styled.StyledComponent<{
|
|
|
1620
1622
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1621
1623
|
declare const Modal: FC<ModalProps>;
|
|
1622
1624
|
declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
|
|
1623
|
-
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1625
|
+
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1626
|
+
declare const useModal: (id: string) => {
|
|
1627
|
+
opened: boolean;
|
|
1628
|
+
open: () => void;
|
|
1629
|
+
close: () => void;
|
|
1630
|
+
};
|
|
1624
1631
|
|
|
1625
1632
|
interface CloseButtonProps {
|
|
1626
1633
|
onClick: () => void;
|
|
@@ -1702,6 +1709,14 @@ interface FiltersProps {
|
|
|
1702
1709
|
}
|
|
1703
1710
|
declare const Filters: ({ filters, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, }: FiltersProps) => JSX.Element;
|
|
1704
1711
|
|
|
1712
|
+
interface SearchNavigationProps {
|
|
1713
|
+
returnText?: string;
|
|
1714
|
+
returnUrl?: string;
|
|
1715
|
+
steps?: string[];
|
|
1716
|
+
returnAction?: () => void;
|
|
1717
|
+
}
|
|
1718
|
+
declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
|
|
1719
|
+
|
|
1705
1720
|
declare global {
|
|
1706
1721
|
interface Events {
|
|
1707
1722
|
modal: {
|
|
@@ -1741,4 +1756,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1741
1756
|
currency?: string | undefined;
|
|
1742
1757
|
}) => string;
|
|
1743
1758
|
|
|
1744
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
1759
|
+
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|