@trafilea/afrodita-components 5.0.0-beta.52 → 5.0.0-beta.55
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 -2
- package/build/index.esm.js +373 -307
- package/build/index.esm.js.map +1 -1
- package/build/index.js +373 -306
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -97,6 +97,9 @@ declare type Filter = {
|
|
|
97
97
|
title: string;
|
|
98
98
|
columns: number;
|
|
99
99
|
isOpenByDefault?: boolean;
|
|
100
|
+
isLinkOption?: boolean;
|
|
101
|
+
link?: string;
|
|
102
|
+
color?: string;
|
|
100
103
|
isMultiselect: boolean;
|
|
101
104
|
items: Array<{
|
|
102
105
|
label: string;
|
|
@@ -151,6 +154,8 @@ declare const Edit: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
151
154
|
|
|
152
155
|
declare const SignOut: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
153
156
|
|
|
157
|
+
declare const Add: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
158
|
+
|
|
154
159
|
declare const Actions_Check: typeof Check;
|
|
155
160
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
156
161
|
declare const Actions_LightExclamation: typeof LightExclamation;
|
|
@@ -162,6 +167,7 @@ declare const Actions_Trash: typeof Trash;
|
|
|
162
167
|
declare const Actions_Warning: typeof Warning;
|
|
163
168
|
declare const Actions_Edit: typeof Edit;
|
|
164
169
|
declare const Actions_SignOut: typeof SignOut;
|
|
170
|
+
declare const Actions_Add: typeof Add;
|
|
165
171
|
declare namespace Actions {
|
|
166
172
|
export {
|
|
167
173
|
Actions_Check as Check,
|
|
@@ -175,6 +181,7 @@ declare namespace Actions {
|
|
|
175
181
|
Actions_Warning as Warning,
|
|
176
182
|
Actions_Edit as Edit,
|
|
177
183
|
Actions_SignOut as SignOut,
|
|
184
|
+
Actions_Add as Add,
|
|
178
185
|
};
|
|
179
186
|
}
|
|
180
187
|
|
|
@@ -642,9 +649,10 @@ interface PriceLabelProps {
|
|
|
642
649
|
color?: string;
|
|
643
650
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
644
651
|
discount?: DiscountTagProps;
|
|
652
|
+
finalPriceStyled?: boolean;
|
|
645
653
|
testId?: string;
|
|
646
654
|
}
|
|
647
|
-
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, size, }: PriceLabelProps) => JSX.Element;
|
|
655
|
+
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, size, }: PriceLabelProps) => JSX.Element;
|
|
648
656
|
|
|
649
657
|
interface ColorPickerProps {
|
|
650
658
|
options: ColorPickerOption[];
|
|
@@ -1862,6 +1870,14 @@ interface TabProps {
|
|
|
1862
1870
|
}
|
|
1863
1871
|
declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
|
|
1864
1872
|
|
|
1873
|
+
interface IconList {
|
|
1874
|
+
backgroundColor: string;
|
|
1875
|
+
iconColor: string;
|
|
1876
|
+
iconName: string;
|
|
1877
|
+
iconTitle: string;
|
|
1878
|
+
}
|
|
1879
|
+
declare const IconsWithTitle: ({ iconName, iconTitle, backgroundColor, iconColor }: IconList) => JSX.Element | null;
|
|
1880
|
+
|
|
1865
1881
|
declare global {
|
|
1866
1882
|
interface Events {
|
|
1867
1883
|
modal: {
|
|
@@ -1901,4 +1917,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1901
1917
|
currency?: string | undefined;
|
|
1902
1918
|
}) => string;
|
|
1903
1919
|
|
|
1904
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, 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, Tab, Tabs, 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 };
|
|
1920
|
+
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, 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, IconsWithTitle, 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, Tab, Tabs, 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 };
|