@trafilea/afrodita-components 5.0.0-beta.5 → 5.0.0-beta.8
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 +19 -3
- package/build/index.esm.js +324 -266
- package/build/index.esm.js.map +1 -1
- package/build/index.js +325 -266
- 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
|
@@ -1014,8 +1014,10 @@ declare type ThemeComponent = {
|
|
|
1014
1014
|
packSelector: {
|
|
1015
1015
|
borderRadius: string;
|
|
1016
1016
|
borderColor: string;
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
highlightColor: string;
|
|
1018
|
+
selectedColor: string;
|
|
1019
|
+
selectedContrast: string;
|
|
1020
|
+
tagColor: string;
|
|
1019
1021
|
};
|
|
1020
1022
|
};
|
|
1021
1023
|
declare type ThemeTypography = {
|
|
@@ -1675,6 +1677,20 @@ interface PackSelectorProps {
|
|
|
1675
1677
|
}
|
|
1676
1678
|
declare const PackSelector: FC<PackSelectorProps>;
|
|
1677
1679
|
|
|
1680
|
+
interface FiltersProps {
|
|
1681
|
+
filters: Filter[];
|
|
1682
|
+
onChange: (update: FilterChange) => void;
|
|
1683
|
+
tagsColor?: string;
|
|
1684
|
+
filterByText: string;
|
|
1685
|
+
clearAllText: string;
|
|
1686
|
+
filtersSelectText: string;
|
|
1687
|
+
isMobile: boolean;
|
|
1688
|
+
applyText: string;
|
|
1689
|
+
mobileBackArrowClick: () => void;
|
|
1690
|
+
mobileApplyButtonClick: () => void;
|
|
1691
|
+
}
|
|
1692
|
+
declare const Filters: ({ filters, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, }: FiltersProps) => JSX.Element;
|
|
1693
|
+
|
|
1678
1694
|
declare global {
|
|
1679
1695
|
interface Events {
|
|
1680
1696
|
modal: {
|
|
@@ -1714,4 +1730,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1714
1730
|
currency?: string | undefined;
|
|
1715
1731
|
}) => string;
|
|
1716
1732
|
|
|
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 };
|
|
1733
|
+
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 };
|