@trafilea/afrodita-components 5.0.0-beta.51 → 5.0.0-beta.54
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 +52 -2
- package/build/index.esm.js +413 -300
- package/build/index.esm.js.map +1 -1
- package/build/index.js +413 -299
- 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
|
|
|
@@ -479,6 +486,39 @@ declare namespace Emoji {
|
|
|
479
486
|
};
|
|
480
487
|
}
|
|
481
488
|
|
|
489
|
+
declare const FreeShipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
490
|
+
|
|
491
|
+
declare const PersonalStylist: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
492
|
+
|
|
493
|
+
declare const Community: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
494
|
+
|
|
495
|
+
declare const VIP: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
496
|
+
|
|
497
|
+
declare const DealsOffers: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
498
|
+
|
|
499
|
+
declare const StyleFashionContent: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
500
|
+
|
|
501
|
+
declare const MembersOnlyDiscount: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
502
|
+
|
|
503
|
+
declare const MyAccount_FreeShipping: typeof FreeShipping;
|
|
504
|
+
declare const MyAccount_PersonalStylist: typeof PersonalStylist;
|
|
505
|
+
declare const MyAccount_Community: typeof Community;
|
|
506
|
+
declare const MyAccount_VIP: typeof VIP;
|
|
507
|
+
declare const MyAccount_DealsOffers: typeof DealsOffers;
|
|
508
|
+
declare const MyAccount_StyleFashionContent: typeof StyleFashionContent;
|
|
509
|
+
declare const MyAccount_MembersOnlyDiscount: typeof MembersOnlyDiscount;
|
|
510
|
+
declare namespace MyAccount {
|
|
511
|
+
export {
|
|
512
|
+
MyAccount_FreeShipping as FreeShipping,
|
|
513
|
+
MyAccount_PersonalStylist as PersonalStylist,
|
|
514
|
+
MyAccount_Community as Community,
|
|
515
|
+
MyAccount_VIP as VIP,
|
|
516
|
+
MyAccount_DealsOffers as DealsOffers,
|
|
517
|
+
MyAccount_StyleFashionContent as StyleFashionContent,
|
|
518
|
+
MyAccount_MembersOnlyDiscount as MembersOnlyDiscount,
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
|
|
482
522
|
declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
483
523
|
declare const Icon: {
|
|
484
524
|
Custom: typeof Custom;
|
|
@@ -493,6 +533,7 @@ declare const Icon: {
|
|
|
493
533
|
Payment: typeof Payment;
|
|
494
534
|
SlideDots: typeof SlideDots;
|
|
495
535
|
Emoji: typeof Emoji;
|
|
536
|
+
MyAccount: typeof MyAccount;
|
|
496
537
|
};
|
|
497
538
|
|
|
498
539
|
interface CardBodyProps {
|
|
@@ -608,9 +649,10 @@ interface PriceLabelProps {
|
|
|
608
649
|
color?: string;
|
|
609
650
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
610
651
|
discount?: DiscountTagProps;
|
|
652
|
+
finalPriceStyled?: boolean;
|
|
611
653
|
testId?: string;
|
|
612
654
|
}
|
|
613
|
-
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;
|
|
614
656
|
|
|
615
657
|
interface ColorPickerProps {
|
|
616
658
|
options: ColorPickerOption[];
|
|
@@ -1828,6 +1870,14 @@ interface TabProps {
|
|
|
1828
1870
|
}
|
|
1829
1871
|
declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
|
|
1830
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
|
+
|
|
1831
1881
|
declare global {
|
|
1832
1882
|
interface Events {
|
|
1833
1883
|
modal: {
|
|
@@ -1867,4 +1917,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1867
1917
|
currency?: string | undefined;
|
|
1868
1918
|
}) => string;
|
|
1869
1919
|
|
|
1870
|
-
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 };
|