@trafilea/afrodita-components 5.0.0-beta.6 → 5.0.0-beta.9
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 +31 -4
- package/build/index.esm.js +347 -270
- package/build/index.esm.js.map +1 -1
- package/build/index.js +348 -270
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.d.ts +4 -2
- package/build/theme/shapermint.theme.js +4 -2
- package/build/theme/truekind.theme.d.ts +4 -2
- package/build/theme/truekind.theme.js +4 -2
- package/package.json +2 -1
package/build/index.d.ts
CHANGED
|
@@ -416,6 +416,15 @@ declare namespace SlideDots {
|
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
+
declare const Thinking: ({ height, width }: IconProps$1) => JSX.Element;
|
|
420
|
+
|
|
421
|
+
declare const Emoji_Thinking: typeof Thinking;
|
|
422
|
+
declare namespace Emoji {
|
|
423
|
+
export {
|
|
424
|
+
Emoji_Thinking as Thinking,
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
419
428
|
declare type IconType = ({ height, width, fill }: IconProps) => JSX.Element;
|
|
420
429
|
declare const Icon: {
|
|
421
430
|
Custom: typeof Custom;
|
|
@@ -429,6 +438,7 @@ declare const Icon: {
|
|
|
429
438
|
Download: typeof Download;
|
|
430
439
|
Payment: typeof Payment;
|
|
431
440
|
SlideDots: typeof SlideDots;
|
|
441
|
+
Emoji: typeof Emoji;
|
|
432
442
|
};
|
|
433
443
|
|
|
434
444
|
interface CardBodyProps {
|
|
@@ -1014,8 +1024,10 @@ declare type ThemeComponent = {
|
|
|
1014
1024
|
packSelector: {
|
|
1015
1025
|
borderRadius: string;
|
|
1016
1026
|
borderColor: string;
|
|
1017
|
-
|
|
1018
|
-
|
|
1027
|
+
highlightColor: string;
|
|
1028
|
+
selectedColor: string;
|
|
1029
|
+
selectedContrast: string;
|
|
1030
|
+
tagColor: string;
|
|
1019
1031
|
};
|
|
1020
1032
|
};
|
|
1021
1033
|
declare type ThemeTypography = {
|
|
@@ -1564,8 +1576,9 @@ interface SearchBarProps {
|
|
|
1564
1576
|
onChange: (text: string) => void;
|
|
1565
1577
|
onSearch: (term: string) => void;
|
|
1566
1578
|
resultsPanelDataTestId?: string;
|
|
1579
|
+
allResults?: number;
|
|
1567
1580
|
}
|
|
1568
|
-
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
|
|
1581
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, allResults, }: SearchBarProps) => JSX.Element;
|
|
1569
1582
|
|
|
1570
1583
|
interface ProductGalleryMobileProps {
|
|
1571
1584
|
images: ImageType[];
|
|
@@ -1675,6 +1688,20 @@ interface PackSelectorProps {
|
|
|
1675
1688
|
}
|
|
1676
1689
|
declare const PackSelector: FC<PackSelectorProps>;
|
|
1677
1690
|
|
|
1691
|
+
interface FiltersProps {
|
|
1692
|
+
filters: Filter[];
|
|
1693
|
+
onChange: (update: FilterChange) => void;
|
|
1694
|
+
tagsColor?: string;
|
|
1695
|
+
filterByText: string;
|
|
1696
|
+
clearAllText: string;
|
|
1697
|
+
filtersSelectText: string;
|
|
1698
|
+
isMobile: boolean;
|
|
1699
|
+
applyText: string;
|
|
1700
|
+
mobileBackArrowClick: () => void;
|
|
1701
|
+
mobileApplyButtonClick: () => void;
|
|
1702
|
+
}
|
|
1703
|
+
declare const Filters: ({ filters, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, }: FiltersProps) => JSX.Element;
|
|
1704
|
+
|
|
1678
1705
|
declare global {
|
|
1679
1706
|
interface Events {
|
|
1680
1707
|
modal: {
|
|
@@ -1714,4 +1741,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1714
1741
|
currency?: string | undefined;
|
|
1715
1742
|
}) => string;
|
|
1716
1743
|
|
|
1717
|
-
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, 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 };
|
|
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 };
|