@trafilea/afrodita-components 5.0.0-beta.1 → 5.0.0-beta.10

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 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 {
@@ -491,16 +501,16 @@ interface SizeSelectorProps {
491
501
  selectedValue: SizeOption;
492
502
  onChange: (size: SizeOption) => void;
493
503
  inline?: boolean;
504
+ width?: string;
494
505
  }
495
- declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
506
+ declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
496
507
 
497
508
  interface SizeFitGuideProps {
498
509
  title: string;
499
- fitPercentageLabel: string;
500
- fitPercentage: number;
510
+ fitPercentage?: number;
501
511
  onClick: () => void;
502
512
  }
503
- declare const SizeFitGuide: ({ title, fitPercentageLabel, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
513
+ declare const SizeFitGuide: ({ title, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
504
514
 
505
515
  interface BaseButtonProps {
506
516
  children: React.ReactNode;
@@ -1014,8 +1024,10 @@ declare type ThemeComponent = {
1014
1024
  packSelector: {
1015
1025
  borderRadius: string;
1016
1026
  borderColor: string;
1017
- highlight: string;
1018
- selected: string;
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 };