@trafilea/afrodita-components 5.0.0-beta.308 → 5.0.0-beta.310
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 +141 -9
- package/build/index.esm.js +604 -367
- package/build/index.esm.js.map +1 -1
- package/build/index.js +606 -366
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +17 -0
- package/build/theme/revel.theme.js +17 -0
- package/build/theme/shapermint.theme.d.ts +17 -0
- package/build/theme/shapermint.theme.js +17 -0
- package/build/theme/thespadr.theme.d.ts +17 -0
- package/build/theme/thespadr.theme.js +18 -1
- package/build/theme/truekind.theme.d.ts +17 -0
- package/build/theme/truekind.theme.js +18 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
5
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
6
|
import { StyledComponent } from '@emotion/styled';
|
|
7
7
|
export { default as styled } from '@emotion/styled';
|
|
8
|
+
import { TextProps as TextProps$1 } from 'src/components/text/Text';
|
|
8
9
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
9
10
|
import * as _emotion_react from '@emotion/react';
|
|
10
11
|
import { ComponentSize as ComponentSize$1 } from 'src/types/enums';
|
|
@@ -142,6 +143,18 @@ interface imageVideoProps {
|
|
|
142
143
|
|
|
143
144
|
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
144
145
|
|
|
146
|
+
declare const Bra: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
147
|
+
|
|
148
|
+
declare const Underwear: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
149
|
+
|
|
150
|
+
declare const PacksAndBundles: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
151
|
+
|
|
152
|
+
declare const SeamlessSupportBra: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
153
|
+
|
|
154
|
+
declare const WireFreeComfort: ({ height, width, fill, title, }: IconProps) => JSX.Element;
|
|
155
|
+
|
|
156
|
+
declare const SixtyDaysBold: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
157
|
+
|
|
145
158
|
declare const Frown: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
146
159
|
|
|
147
160
|
declare const Smiling: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
@@ -173,6 +186,12 @@ declare const Certified: ({ height, width, fill, testId }: IconProps) => JSX.Ele
|
|
|
173
186
|
declare const NewSixtyDaysGuarantee: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
174
187
|
|
|
175
188
|
declare const Custom_SixtyDaysGuarantee: typeof SixtyDaysGuarantee;
|
|
189
|
+
declare const Custom_Bra: typeof Bra;
|
|
190
|
+
declare const Custom_Underwear: typeof Underwear;
|
|
191
|
+
declare const Custom_PacksAndBundles: typeof PacksAndBundles;
|
|
192
|
+
declare const Custom_SeamlessSupportBra: typeof SeamlessSupportBra;
|
|
193
|
+
declare const Custom_WireFreeComfort: typeof WireFreeComfort;
|
|
194
|
+
declare const Custom_SixtyDaysBold: typeof SixtyDaysBold;
|
|
176
195
|
declare const Custom_Frown: typeof Frown;
|
|
177
196
|
declare const Custom_Smiling: typeof Smiling;
|
|
178
197
|
declare const Custom_BulletOne: typeof BulletOne;
|
|
@@ -191,6 +210,12 @@ declare const Custom_NewSixtyDaysGuarantee: typeof NewSixtyDaysGuarantee;
|
|
|
191
210
|
declare namespace Custom {
|
|
192
211
|
export {
|
|
193
212
|
Custom_SixtyDaysGuarantee as SixtyDaysGuarantee,
|
|
213
|
+
Custom_Bra as Bra,
|
|
214
|
+
Custom_Underwear as Underwear,
|
|
215
|
+
Custom_PacksAndBundles as PacksAndBundles,
|
|
216
|
+
Custom_SeamlessSupportBra as SeamlessSupportBra,
|
|
217
|
+
Custom_WireFreeComfort as WireFreeComfort,
|
|
218
|
+
Custom_SixtyDaysBold as SixtyDaysBold,
|
|
194
219
|
Custom_Frown as Frown,
|
|
195
220
|
Custom_Smiling as Smiling,
|
|
196
221
|
Custom_BulletOne as BulletOne,
|
|
@@ -412,7 +437,7 @@ declare const HasselFreeReturns: ({ height, width, fill, testId }: IconProps) =>
|
|
|
412
437
|
|
|
413
438
|
declare const Play: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
414
439
|
|
|
415
|
-
declare const FitGuarantee: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
440
|
+
declare const FitGuarantee$1: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
416
441
|
|
|
417
442
|
declare const QuestionWithCircle: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
418
443
|
|
|
@@ -444,7 +469,6 @@ declare const Other_FreeExchange: typeof FreeExchange;
|
|
|
444
469
|
declare const Other_ShopNow: typeof ShopNow;
|
|
445
470
|
declare const Other_HasselFreeReturns: typeof HasselFreeReturns;
|
|
446
471
|
declare const Other_Play: typeof Play;
|
|
447
|
-
declare const Other_FitGuarantee: typeof FitGuarantee;
|
|
448
472
|
declare const Other_QuestionWithCircle: typeof QuestionWithCircle;
|
|
449
473
|
declare const Other_ExpressShipping: typeof ExpressShipping;
|
|
450
474
|
declare const Other_ShapermintClubLabel: typeof ShapermintClubLabel;
|
|
@@ -471,7 +495,7 @@ declare namespace Other {
|
|
|
471
495
|
Other_ShopNow as ShopNow,
|
|
472
496
|
Other_HasselFreeReturns as HasselFreeReturns,
|
|
473
497
|
Other_Play as Play,
|
|
474
|
-
|
|
498
|
+
FitGuarantee$1 as FitGuarantee,
|
|
475
499
|
Other_QuestionWithCircle as QuestionWithCircle,
|
|
476
500
|
Other_ExpressShipping as ExpressShipping,
|
|
477
501
|
Other_ShapermintClubLabel as ShapermintClubLabel,
|
|
@@ -519,6 +543,8 @@ declare const CircleLineLeft: ({ width, height, fill }: IconProps) => JSX.Elemen
|
|
|
519
543
|
|
|
520
544
|
declare const CircleLineRight: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
521
545
|
|
|
546
|
+
declare const DoubleArrowUp: ({ width, height, fill }: IconProps) => JSX.Element;
|
|
547
|
+
|
|
522
548
|
declare const Arrows_ChevronDown: typeof ChevronDown;
|
|
523
549
|
declare const Arrows_ChevronLeft: typeof ChevronLeft;
|
|
524
550
|
declare const Arrows_ChevronRight: typeof ChevronRight;
|
|
@@ -537,6 +563,7 @@ declare const Arrows_CircleLineUp: typeof CircleLineUp;
|
|
|
537
563
|
declare const Arrows_CircleLineDown: typeof CircleLineDown;
|
|
538
564
|
declare const Arrows_CircleLineLeft: typeof CircleLineLeft;
|
|
539
565
|
declare const Arrows_CircleLineRight: typeof CircleLineRight;
|
|
566
|
+
declare const Arrows_DoubleArrowUp: typeof DoubleArrowUp;
|
|
540
567
|
declare namespace Arrows {
|
|
541
568
|
export {
|
|
542
569
|
Arrows_ChevronDown as ChevronDown,
|
|
@@ -557,6 +584,7 @@ declare namespace Arrows {
|
|
|
557
584
|
Arrows_CircleLineDown as CircleLineDown,
|
|
558
585
|
Arrows_CircleLineLeft as CircleLineLeft,
|
|
559
586
|
Arrows_CircleLineRight as CircleLineRight,
|
|
587
|
+
Arrows_DoubleArrowUp as DoubleArrowUp,
|
|
560
588
|
};
|
|
561
589
|
}
|
|
562
590
|
|
|
@@ -588,6 +616,8 @@ declare const CircleNumber: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
588
616
|
|
|
589
617
|
declare const SizeEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
590
618
|
|
|
619
|
+
declare const SizeEmptyV2: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
620
|
+
|
|
591
621
|
declare const PlayMini: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
592
622
|
|
|
593
623
|
declare const ShippingEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
@@ -621,6 +651,7 @@ declare const PDP_Shipping: typeof Shipping;
|
|
|
621
651
|
declare const PDP_ErrorCross: typeof ErrorCross;
|
|
622
652
|
declare const PDP_CircleNumber: typeof CircleNumber;
|
|
623
653
|
declare const PDP_SizeEmpty: typeof SizeEmpty;
|
|
654
|
+
declare const PDP_SizeEmptyV2: typeof SizeEmptyV2;
|
|
624
655
|
declare const PDP_PlayMini: typeof PlayMini;
|
|
625
656
|
declare const PDP_ShippingEmpty: typeof ShippingEmpty;
|
|
626
657
|
declare const PDP_Drop: typeof Drop;
|
|
@@ -647,6 +678,7 @@ declare namespace PDP {
|
|
|
647
678
|
PDP_ErrorCross as ErrorCross,
|
|
648
679
|
PDP_CircleNumber as CircleNumber,
|
|
649
680
|
PDP_SizeEmpty as SizeEmpty,
|
|
681
|
+
PDP_SizeEmptyV2 as SizeEmptyV2,
|
|
650
682
|
PDP_PlayMini as PlayMini,
|
|
651
683
|
PDP_ShippingEmpty as ShippingEmpty,
|
|
652
684
|
PDP_Drop as Drop,
|
|
@@ -745,6 +777,8 @@ declare const UserV2: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
745
777
|
|
|
746
778
|
declare const ShoppingCartV2: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
747
779
|
|
|
780
|
+
declare const ShoppingBagV3: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
781
|
+
|
|
748
782
|
declare const Navigation_Search: typeof Search;
|
|
749
783
|
declare const Navigation_User: typeof User;
|
|
750
784
|
declare const Navigation_ShoppingBag: typeof ShoppingBag;
|
|
@@ -767,6 +801,7 @@ declare const Navigation_Loading: typeof Loading;
|
|
|
767
801
|
declare const Navigation_MapSolid: typeof MapSolid;
|
|
768
802
|
declare const Navigation_UserV2: typeof UserV2;
|
|
769
803
|
declare const Navigation_ShoppingCartV2: typeof ShoppingCartV2;
|
|
804
|
+
declare const Navigation_ShoppingBagV3: typeof ShoppingBagV3;
|
|
770
805
|
declare namespace Navigation {
|
|
771
806
|
export {
|
|
772
807
|
Navigation_Search as Search,
|
|
@@ -793,9 +828,12 @@ declare namespace Navigation {
|
|
|
793
828
|
Navigation_MapSolid as MapSolid,
|
|
794
829
|
Navigation_UserV2 as UserV2,
|
|
795
830
|
Navigation_ShoppingCartV2 as ShoppingCartV2,
|
|
831
|
+
Navigation_ShoppingBagV3 as ShoppingBagV3,
|
|
796
832
|
};
|
|
797
833
|
}
|
|
798
834
|
|
|
835
|
+
declare const AdaChat: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
836
|
+
|
|
799
837
|
declare const QuestionCircle: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
800
838
|
|
|
801
839
|
declare const Messenger: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
@@ -837,6 +875,7 @@ declare const CommentLight: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
837
875
|
|
|
838
876
|
declare const CommentMoney: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
839
877
|
|
|
878
|
+
declare const Messaging_AdaChat: typeof AdaChat;
|
|
840
879
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
841
880
|
declare const Messaging_Messenger: typeof Messenger;
|
|
842
881
|
declare const Messaging_Comment: typeof Comment;
|
|
@@ -853,6 +892,7 @@ declare const Messaging_CommentLight: typeof CommentLight;
|
|
|
853
892
|
declare const Messaging_CommentMoney: typeof CommentMoney;
|
|
854
893
|
declare namespace Messaging {
|
|
855
894
|
export {
|
|
895
|
+
Messaging_AdaChat as AdaChat,
|
|
856
896
|
Messaging_QuestionCircle as QuestionCircle,
|
|
857
897
|
Messaging_Messenger as Messenger,
|
|
858
898
|
Messaging_Comment as Comment,
|
|
@@ -1162,8 +1202,9 @@ interface DiscountTagProps {
|
|
|
1162
1202
|
textColor?: string;
|
|
1163
1203
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1164
1204
|
style?: React.CSSProperties;
|
|
1205
|
+
bordersRounded?: boolean;
|
|
1165
1206
|
}
|
|
1166
|
-
declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, }: DiscountTagProps) => JSX.Element;
|
|
1207
|
+
declare const DiscountTag: ({ discount, offText, savings, showSavings, disabled, backgroundColor, borderColor, textColor, size, style, bordersRounded, }: DiscountTagProps) => JSX.Element;
|
|
1167
1208
|
|
|
1168
1209
|
interface ClubOfferTagProps {
|
|
1169
1210
|
clubOfferText?: string;
|
|
@@ -1190,10 +1231,11 @@ interface PriceLabelProps {
|
|
|
1190
1231
|
originalPriceUnderlined?: boolean;
|
|
1191
1232
|
testId?: string;
|
|
1192
1233
|
clubStyle?: boolean;
|
|
1234
|
+
bordersRounded?: boolean;
|
|
1193
1235
|
}
|
|
1194
1236
|
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, originalPriceUnderlined, size, clubStyle, }: PriceLabelProps) => JSX.Element;
|
|
1195
1237
|
|
|
1196
|
-
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, clubOffer, color, testId, originalPriceStyled, originalPriceUnderlined, size, savingsDisplay, }: PriceLabelProps & {
|
|
1238
|
+
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, clubOffer, color, testId, originalPriceStyled, originalPriceUnderlined, size, bordersRounded, savingsDisplay, }: PriceLabelProps & {
|
|
1197
1239
|
savingsDisplay?: boolean | undefined;
|
|
1198
1240
|
}) => JSX.Element;
|
|
1199
1241
|
|
|
@@ -1227,8 +1269,9 @@ interface ProductGalleryProps {
|
|
|
1227
1269
|
ctaText?: string;
|
|
1228
1270
|
ctaAction?: () => void;
|
|
1229
1271
|
hideCTA?: boolean;
|
|
1272
|
+
hasOverflowArrows?: boolean;
|
|
1230
1273
|
}
|
|
1231
|
-
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, }: ProductGalleryProps) => JSX.Element;
|
|
1274
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, borderRadiusVariant, previewImgBorderColor, ctaText, ctaAction, hideCTA, hasOverflowArrows, }: ProductGalleryProps) => JSX.Element;
|
|
1232
1275
|
|
|
1233
1276
|
interface RatingProps {
|
|
1234
1277
|
rating: number;
|
|
@@ -1246,6 +1289,16 @@ interface FitPredictorProps {
|
|
|
1246
1289
|
}
|
|
1247
1290
|
declare const FitPredictor: ({ onClick }: FitPredictorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1248
1291
|
|
|
1292
|
+
interface FitGuaranteeProps {
|
|
1293
|
+
backgroundColor?: string;
|
|
1294
|
+
borderColor?: string;
|
|
1295
|
+
title: string;
|
|
1296
|
+
description: string;
|
|
1297
|
+
widthAuto?: boolean;
|
|
1298
|
+
testId?: string;
|
|
1299
|
+
}
|
|
1300
|
+
declare const FitGuarantee: ({ backgroundColor, borderColor, title, description, widthAuto, testId, }: FitGuaranteeProps) => JSX.Element;
|
|
1301
|
+
|
|
1249
1302
|
interface ProgressBarProps {
|
|
1250
1303
|
description?: string;
|
|
1251
1304
|
fillColor: string;
|
|
@@ -1724,8 +1777,13 @@ declare type ThemeComponent = {
|
|
|
1724
1777
|
borderColor: string;
|
|
1725
1778
|
color: string;
|
|
1726
1779
|
borderRadius: string;
|
|
1780
|
+
borderRadiusV2?: string;
|
|
1727
1781
|
backgroundColor?: string;
|
|
1728
1782
|
};
|
|
1783
|
+
optionsWrapper: {
|
|
1784
|
+
borderRadius: string;
|
|
1785
|
+
overflow: string;
|
|
1786
|
+
};
|
|
1729
1787
|
};
|
|
1730
1788
|
modal: {
|
|
1731
1789
|
minWidth: string;
|
|
@@ -1913,6 +1971,12 @@ declare type ThemeComponent = {
|
|
|
1913
1971
|
orderHeader: {
|
|
1914
1972
|
color: string;
|
|
1915
1973
|
};
|
|
1974
|
+
fitGuarantee: {
|
|
1975
|
+
fontWeight: number | string;
|
|
1976
|
+
};
|
|
1977
|
+
offerBanner: {
|
|
1978
|
+
borderRadius: string;
|
|
1979
|
+
};
|
|
1916
1980
|
};
|
|
1917
1981
|
orderBar: {
|
|
1918
1982
|
backgroundColor: string;
|
|
@@ -1984,6 +2048,12 @@ declare type ThemeComponent = {
|
|
|
1984
2048
|
color: string;
|
|
1985
2049
|
};
|
|
1986
2050
|
};
|
|
2051
|
+
hurryUp: {
|
|
2052
|
+
borderRadius?: string;
|
|
2053
|
+
};
|
|
2054
|
+
qtyPicker: {
|
|
2055
|
+
borderRadius: string;
|
|
2056
|
+
};
|
|
1987
2057
|
};
|
|
1988
2058
|
declare type ThemeTypography = {
|
|
1989
2059
|
config: {
|
|
@@ -2119,14 +2189,35 @@ interface CategoryTagProps {
|
|
|
2119
2189
|
}
|
|
2120
2190
|
declare const CategoryTag: ({ text, size, className, styledBorder }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2121
2191
|
|
|
2192
|
+
interface CategorySquareTagProps {
|
|
2193
|
+
text: string;
|
|
2194
|
+
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
2195
|
+
className?: string;
|
|
2196
|
+
styledBorder?: boolean;
|
|
2197
|
+
}
|
|
2198
|
+
declare const CategorySquareTag: ({ text, size, className, styledBorder, }: CategorySquareTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2199
|
+
|
|
2122
2200
|
interface SeasonOfferTagProps {
|
|
2123
2201
|
text: string;
|
|
2124
2202
|
backgroundColor?: string;
|
|
2125
2203
|
size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
2126
2204
|
className?: string;
|
|
2127
2205
|
styledBorder?: boolean;
|
|
2206
|
+
bottomRightBorderRounded?: string;
|
|
2207
|
+
allBordersRounded?: {
|
|
2208
|
+
value: string;
|
|
2209
|
+
size?: ComponentSize;
|
|
2210
|
+
};
|
|
2128
2211
|
}
|
|
2129
|
-
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, styledBorder, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2212
|
+
declare const SeasonOfferTag: ({ text, backgroundColor, size, className, styledBorder, bottomRightBorderRounded, allBordersRounded, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2213
|
+
|
|
2214
|
+
interface SeasonOfferRoundedTagProps {
|
|
2215
|
+
text: string;
|
|
2216
|
+
backgroundColor?: string;
|
|
2217
|
+
size: ComponentSize;
|
|
2218
|
+
className?: string;
|
|
2219
|
+
}
|
|
2220
|
+
declare const SeasonOfferRoundedTag: ({ text, backgroundColor, size, className, }: SeasonOfferRoundedTagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2130
2221
|
|
|
2131
2222
|
interface TimeProps {
|
|
2132
2223
|
hours: number;
|
|
@@ -2199,11 +2290,12 @@ declare type CustomProps = BaseInputProps & {
|
|
|
2199
2290
|
onClick: () => void;
|
|
2200
2291
|
text: string;
|
|
2201
2292
|
variant: ButtonProps['variant'];
|
|
2293
|
+
defaultRounded?: boolean;
|
|
2202
2294
|
};
|
|
2203
2295
|
|
|
2204
2296
|
declare const Input: {
|
|
2205
2297
|
Simple: ({ value, onChange, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, requiredPlaceholder, ...rest }: BaseInputCommonProps) => JSX.Element;
|
|
2206
|
-
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
2298
|
+
Custom: ({ onClick, text, variant, defaultRounded, ...rest }: CustomProps) => JSX.Element;
|
|
2207
2299
|
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
2208
2300
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
2209
2301
|
};
|
|
@@ -2434,6 +2526,45 @@ interface ProductItemProps {
|
|
|
2434
2526
|
className?: string;
|
|
2435
2527
|
}
|
|
2436
2528
|
|
|
2529
|
+
interface ProductItemSmallMobileProps$1 extends ProductItemProps {
|
|
2530
|
+
titleStyle?: Pick<TextProps$1, 'variant' | 'weight' | 'size'>;
|
|
2531
|
+
ImageBorderRadius?: string;
|
|
2532
|
+
hasSpacing?: boolean;
|
|
2533
|
+
textContainerGap?: string;
|
|
2534
|
+
customSizeRating?: ComponentSize.XSmall | ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large | '';
|
|
2535
|
+
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
2536
|
+
imageHover?: ImageProps;
|
|
2537
|
+
topTag?: JSX.Element;
|
|
2538
|
+
bottomTag?: JSX.Element;
|
|
2539
|
+
onClick?: () => void;
|
|
2540
|
+
originalPriceStyled?: boolean;
|
|
2541
|
+
priceDisplayType?: 'default' | 'styled';
|
|
2542
|
+
priceAtBottom?: boolean;
|
|
2543
|
+
priceLoading?: boolean;
|
|
2544
|
+
noFollow?: boolean;
|
|
2545
|
+
colorPicker?: {
|
|
2546
|
+
display: boolean;
|
|
2547
|
+
position: string;
|
|
2548
|
+
component: JSX.Element | JSX.Element[] | undefined;
|
|
2549
|
+
};
|
|
2550
|
+
isBNPL?: {
|
|
2551
|
+
displayBNPL: boolean;
|
|
2552
|
+
installments: number;
|
|
2553
|
+
installmentPrice: string;
|
|
2554
|
+
iconFolder?: string;
|
|
2555
|
+
iconName: string;
|
|
2556
|
+
showLogo?: boolean;
|
|
2557
|
+
iconColor: string;
|
|
2558
|
+
fontSize: string;
|
|
2559
|
+
};
|
|
2560
|
+
hasStrength?: {
|
|
2561
|
+
strength: number;
|
|
2562
|
+
description: string;
|
|
2563
|
+
};
|
|
2564
|
+
clubPrice?: string;
|
|
2565
|
+
showClubPriceLabel?: boolean;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2437
2568
|
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
2438
2569
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
2439
2570
|
imageHover?: ImageProps;
|
|
@@ -2475,6 +2606,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
2475
2606
|
declare const Collection: {
|
|
2476
2607
|
ProductItemMobile: ({ title, image, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2477
2608
|
withProductGrid: typeof withProductGrid;
|
|
2609
|
+
ProductItemTK: ({ title, titleStyle, hasSpacing, textContainerGap, customSizeRating, image, ImageBorderRadius, imageHover, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, originalPriceStyled, priceAtBottom, priceLoading, noFollow, colorPicker, isBNPL, hasStrength, clubPrice, showClubPriceLabel, }: ProductItemSmallMobileProps$1) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2478
2610
|
};
|
|
2479
2611
|
|
|
2480
2612
|
interface StarListProps {
|
|
@@ -3129,4 +3261,4 @@ declare const getSrcSet: (imgLink: string, ...breakpoints: number[]) => string;
|
|
|
3129
3261
|
|
|
3130
3262
|
declare const mediaQueries: facepaint.DynamicStyleFunction;
|
|
3131
3263
|
|
|
3132
|
-
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
3264
|
+
export { AbsorbencyLevel, Accordion, AccordionOptions, AmazonButton, AssetsProvider, Autoship, BeforeAfterCard, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, BuyNowPayLater, CTAProps, _default as Card, CardSectionType, CartProductItem, CategorySquareTag, CategoryTag, Checkbox, ClubOfferTag, ClubRadioGroupInput, Collection, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownDialog, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitGuarantee, FitPredictor, HurryUp, Icon, IconButton, IconProps, IconWithOpacityProps, IconsWithTitle, Image, ImageCardWithDescription, ImageType, Input, InputValidationType, Modal, MotivatorProgressBar, MultiColorPicker, Note, OfferBanner, OrderBar, Overlay, PackSelector, PackSelectorV2, Pagination, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, ProductGallery, ProductGalleryMobile, ProductGalleryMobileV2, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, RadioPrimary, Rating, Review$1 as Review, Review as ReviewDetail, ReviewsHeader, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, ShortBanner, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeChartTable, SizeDropdown, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, StrengthBars, Tab, Tabs, Text, TextButton, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, TrackingProgress, TrackingProgressV2, WithTestId, decimalFormat, formatPrice, getSrcSet, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, mediaQueries, modalEvent, SeasonOfferRoundedTag as seasonOfferRoundedTag, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|