@trafilea/afrodita-components 5.0.0-beta.8 → 5.0.0-beta.80
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.css +3 -1
- package/build/index.d.ts +357 -50
- package/build/index.esm.css +3 -1
- package/build/index.esm.js +6675 -4555
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6682 -4555
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.d.ts +6 -0
- package/build/theme/shapermint.theme.js +15 -1
- package/build/theme/truekind.theme.d.ts +6 -0
- package/build/theme/truekind.theme.js +6 -0
- package/package.json +3 -1
package/build/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IconProps as IconProps$1 } from 'src/types/types';
|
|
3
|
-
import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes,
|
|
3
|
+
import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
4
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
-
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
6
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
|
+
import { StyledComponent } from '@emotion/styled';
|
|
7
|
+
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
7
8
|
import * as _emotion_react from '@emotion/react';
|
|
8
9
|
|
|
9
10
|
declare enum CardSectionType {
|
|
@@ -33,6 +34,7 @@ interface IconProps {
|
|
|
33
34
|
height?: number;
|
|
34
35
|
fill?: string;
|
|
35
36
|
title?: string;
|
|
37
|
+
testId?: string;
|
|
36
38
|
}
|
|
37
39
|
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
38
40
|
interface CTAProps {
|
|
@@ -57,11 +59,6 @@ declare type SizeOption = {
|
|
|
57
59
|
description: string;
|
|
58
60
|
disabled?: boolean;
|
|
59
61
|
};
|
|
60
|
-
declare type Color = {
|
|
61
|
-
primaryColor: string;
|
|
62
|
-
secondaryColor?: string;
|
|
63
|
-
tertiaryColor?: string;
|
|
64
|
-
};
|
|
65
62
|
declare type Pattern = {
|
|
66
63
|
url: string;
|
|
67
64
|
};
|
|
@@ -69,7 +66,7 @@ declare type ColorPickerOption = {
|
|
|
69
66
|
label: string;
|
|
70
67
|
description: string;
|
|
71
68
|
meta: {
|
|
72
|
-
color?:
|
|
69
|
+
color?: string[];
|
|
73
70
|
pattern?: Pattern;
|
|
74
71
|
};
|
|
75
72
|
};
|
|
@@ -100,7 +97,17 @@ declare type Filter = {
|
|
|
100
97
|
title: string;
|
|
101
98
|
columns: number;
|
|
102
99
|
isOpenByDefault?: boolean;
|
|
103
|
-
|
|
100
|
+
isLinkOption?: boolean;
|
|
101
|
+
link?: string;
|
|
102
|
+
color?: string;
|
|
103
|
+
isMultiselect: boolean;
|
|
104
|
+
items: Array<{
|
|
105
|
+
label: string;
|
|
106
|
+
checked?: boolean;
|
|
107
|
+
isLinkItem?: boolean;
|
|
108
|
+
link?: string;
|
|
109
|
+
uncheckedLink?: string;
|
|
110
|
+
}>;
|
|
104
111
|
};
|
|
105
112
|
declare type FilterChange = {
|
|
106
113
|
sectionIndex: number;
|
|
@@ -111,18 +118,45 @@ interface SearchBarOptionItem {
|
|
|
111
118
|
src: string;
|
|
112
119
|
price: string;
|
|
113
120
|
title: string;
|
|
121
|
+
optionUrl: string;
|
|
122
|
+
}
|
|
123
|
+
interface imageVideoProps {
|
|
124
|
+
imageLink: string;
|
|
125
|
+
isVideo?: {
|
|
126
|
+
videoTitle?: string;
|
|
127
|
+
videoSubtitle?: string;
|
|
128
|
+
textColor?: string;
|
|
129
|
+
videoLink?: string;
|
|
130
|
+
};
|
|
131
|
+
isMobile?: boolean;
|
|
114
132
|
}
|
|
115
133
|
|
|
116
134
|
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
117
135
|
|
|
118
136
|
declare const Frown: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
119
137
|
|
|
138
|
+
declare const Smiling: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
|
|
139
|
+
|
|
140
|
+
declare const BulletOne: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
141
|
+
|
|
142
|
+
declare const BulletTwo: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
143
|
+
|
|
144
|
+
declare const BulletThree: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
145
|
+
|
|
120
146
|
declare const Custom_SixtyDaysGuarantee: typeof SixtyDaysGuarantee;
|
|
121
147
|
declare const Custom_Frown: typeof Frown;
|
|
148
|
+
declare const Custom_Smiling: typeof Smiling;
|
|
149
|
+
declare const Custom_BulletOne: typeof BulletOne;
|
|
150
|
+
declare const Custom_BulletTwo: typeof BulletTwo;
|
|
151
|
+
declare const Custom_BulletThree: typeof BulletThree;
|
|
122
152
|
declare namespace Custom {
|
|
123
153
|
export {
|
|
124
154
|
Custom_SixtyDaysGuarantee as SixtyDaysGuarantee,
|
|
125
155
|
Custom_Frown as Frown,
|
|
156
|
+
Custom_Smiling as Smiling,
|
|
157
|
+
Custom_BulletOne as BulletOne,
|
|
158
|
+
Custom_BulletTwo as BulletTwo,
|
|
159
|
+
Custom_BulletThree as BulletThree,
|
|
126
160
|
};
|
|
127
161
|
}
|
|
128
162
|
|
|
@@ -143,6 +177,19 @@ declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
143
177
|
|
|
144
178
|
declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
145
179
|
|
|
180
|
+
declare const Warning: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
181
|
+
|
|
182
|
+
declare const Edit: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
183
|
+
|
|
184
|
+
declare const SignOut: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
185
|
+
|
|
186
|
+
declare const Add: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
187
|
+
|
|
188
|
+
interface CopyProps extends IconProps {
|
|
189
|
+
stroke?: string;
|
|
190
|
+
}
|
|
191
|
+
declare const Copy: ({ height, width, fill, stroke }: CopyProps) => JSX.Element;
|
|
192
|
+
|
|
146
193
|
declare const Actions_Check: typeof Check;
|
|
147
194
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
148
195
|
declare const Actions_LightExclamation: typeof LightExclamation;
|
|
@@ -151,6 +198,12 @@ declare const Actions_LightCheck: typeof LightCheck;
|
|
|
151
198
|
declare const Actions_Question: typeof Question;
|
|
152
199
|
declare const Actions_Close: typeof Close;
|
|
153
200
|
declare const Actions_Trash: typeof Trash;
|
|
201
|
+
declare const Actions_Warning: typeof Warning;
|
|
202
|
+
declare const Actions_Edit: typeof Edit;
|
|
203
|
+
declare const Actions_SignOut: typeof SignOut;
|
|
204
|
+
declare const Actions_Add: typeof Add;
|
|
205
|
+
type Actions_CopyProps = CopyProps;
|
|
206
|
+
declare const Actions_Copy: typeof Copy;
|
|
154
207
|
declare namespace Actions {
|
|
155
208
|
export {
|
|
156
209
|
Actions_Check as Check,
|
|
@@ -161,6 +214,12 @@ declare namespace Actions {
|
|
|
161
214
|
Actions_Question as Question,
|
|
162
215
|
Actions_Close as Close,
|
|
163
216
|
Actions_Trash as Trash,
|
|
217
|
+
Actions_Warning as Warning,
|
|
218
|
+
Actions_Edit as Edit,
|
|
219
|
+
Actions_SignOut as SignOut,
|
|
220
|
+
Actions_Add as Add,
|
|
221
|
+
Actions_CopyProps as CopyProps,
|
|
222
|
+
Actions_Copy as Copy,
|
|
164
223
|
};
|
|
165
224
|
}
|
|
166
225
|
|
|
@@ -175,10 +234,46 @@ declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
|
175
234
|
|
|
176
235
|
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
177
236
|
|
|
237
|
+
declare const GetDiscount: ({ height, width }: IconProps) => JSX.Element;
|
|
238
|
+
|
|
239
|
+
declare const ShapermintLogo: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
240
|
+
|
|
241
|
+
declare const Chat: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
242
|
+
|
|
243
|
+
declare const Email: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
244
|
+
|
|
245
|
+
declare const CallUs: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
246
|
+
|
|
247
|
+
declare const SignForm: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
248
|
+
|
|
249
|
+
declare const QrCode: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
250
|
+
|
|
251
|
+
declare const FreeExchange: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
252
|
+
|
|
253
|
+
declare const ShopNow: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
254
|
+
|
|
255
|
+
declare const HasselFreeReturns: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
256
|
+
|
|
257
|
+
declare const Play: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
258
|
+
|
|
259
|
+
declare const FitGuarantee: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
260
|
+
|
|
178
261
|
type Other_LoadingProps = LoadingProps;
|
|
179
262
|
declare const Other_Loading: typeof Loading;
|
|
180
263
|
declare const Other_Shapermint: typeof Shapermint;
|
|
181
264
|
declare const Other_McAfee: typeof McAfee;
|
|
265
|
+
declare const Other_GetDiscount: typeof GetDiscount;
|
|
266
|
+
declare const Other_ShapermintLogo: typeof ShapermintLogo;
|
|
267
|
+
declare const Other_Chat: typeof Chat;
|
|
268
|
+
declare const Other_Email: typeof Email;
|
|
269
|
+
declare const Other_CallUs: typeof CallUs;
|
|
270
|
+
declare const Other_SignForm: typeof SignForm;
|
|
271
|
+
declare const Other_QrCode: typeof QrCode;
|
|
272
|
+
declare const Other_FreeExchange: typeof FreeExchange;
|
|
273
|
+
declare const Other_ShopNow: typeof ShopNow;
|
|
274
|
+
declare const Other_HasselFreeReturns: typeof HasselFreeReturns;
|
|
275
|
+
declare const Other_Play: typeof Play;
|
|
276
|
+
declare const Other_FitGuarantee: typeof FitGuarantee;
|
|
182
277
|
declare namespace Other {
|
|
183
278
|
export {
|
|
184
279
|
FitPredictor$1 as FitPredictor,
|
|
@@ -186,14 +281,26 @@ declare namespace Other {
|
|
|
186
281
|
Other_Loading as Loading,
|
|
187
282
|
Other_Shapermint as Shapermint,
|
|
188
283
|
Other_McAfee as McAfee,
|
|
284
|
+
Other_GetDiscount as GetDiscount,
|
|
285
|
+
Other_ShapermintLogo as ShapermintLogo,
|
|
286
|
+
Other_Chat as Chat,
|
|
287
|
+
Other_Email as Email,
|
|
288
|
+
Other_CallUs as CallUs,
|
|
289
|
+
Other_SignForm as SignForm,
|
|
290
|
+
Other_QrCode as QrCode,
|
|
291
|
+
Other_FreeExchange as FreeExchange,
|
|
292
|
+
Other_ShopNow as ShopNow,
|
|
293
|
+
Other_HasselFreeReturns as HasselFreeReturns,
|
|
294
|
+
Other_Play as Play,
|
|
295
|
+
Other_FitGuarantee as FitGuarantee,
|
|
189
296
|
};
|
|
190
297
|
}
|
|
191
298
|
|
|
192
299
|
declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
193
300
|
|
|
194
|
-
declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
301
|
+
declare const ChevronLeft: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
|
|
195
302
|
|
|
196
|
-
declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
303
|
+
declare const ChevronRight: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
|
|
197
304
|
|
|
198
305
|
declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
199
306
|
|
|
@@ -242,6 +349,10 @@ declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Elem
|
|
|
242
349
|
|
|
243
350
|
declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
244
351
|
|
|
352
|
+
declare const LightBulb: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
353
|
+
|
|
354
|
+
declare const ErrorCross: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
355
|
+
|
|
245
356
|
declare const PDP_Clock: typeof Clock;
|
|
246
357
|
declare const PDP_FlagUSA: typeof FlagUSA;
|
|
247
358
|
declare const PDP_Minus: typeof Minus;
|
|
@@ -252,6 +363,8 @@ declare const PDP_StarEmpty: typeof StarEmpty;
|
|
|
252
363
|
declare const PDP_StarHalf: typeof StarHalf;
|
|
253
364
|
declare const PDP_Stopwatch: typeof Stopwatch;
|
|
254
365
|
declare const PDP_Shipping: typeof Shipping;
|
|
366
|
+
declare const PDP_LightBulb: typeof LightBulb;
|
|
367
|
+
declare const PDP_ErrorCross: typeof ErrorCross;
|
|
255
368
|
declare namespace PDP {
|
|
256
369
|
export {
|
|
257
370
|
PDP_Clock as Clock,
|
|
@@ -264,6 +377,8 @@ declare namespace PDP {
|
|
|
264
377
|
PDP_StarHalf as StarHalf,
|
|
265
378
|
PDP_Stopwatch as Stopwatch,
|
|
266
379
|
PDP_Shipping as Shipping,
|
|
380
|
+
PDP_LightBulb as LightBulb,
|
|
381
|
+
PDP_ErrorCross as ErrorCross,
|
|
267
382
|
};
|
|
268
383
|
}
|
|
269
384
|
|
|
@@ -281,6 +396,8 @@ declare const Twitter: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
281
396
|
|
|
282
397
|
declare const Youtube: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
283
398
|
|
|
399
|
+
declare const Interaction: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
400
|
+
|
|
284
401
|
declare const SocialMedia_Facebook: typeof Facebook;
|
|
285
402
|
declare const SocialMedia_FacebookSolid: typeof FacebookSolid;
|
|
286
403
|
declare const SocialMedia_Instagram: typeof Instagram;
|
|
@@ -288,6 +405,7 @@ declare const SocialMedia_InstagramSolid: typeof InstagramSolid;
|
|
|
288
405
|
declare const SocialMedia_Pinterest: typeof Pinterest;
|
|
289
406
|
declare const SocialMedia_Twitter: typeof Twitter;
|
|
290
407
|
declare const SocialMedia_Youtube: typeof Youtube;
|
|
408
|
+
declare const SocialMedia_Interaction: typeof Interaction;
|
|
291
409
|
declare namespace SocialMedia {
|
|
292
410
|
export {
|
|
293
411
|
SocialMedia_Facebook as Facebook,
|
|
@@ -297,14 +415,15 @@ declare namespace SocialMedia {
|
|
|
297
415
|
SocialMedia_Pinterest as Pinterest,
|
|
298
416
|
SocialMedia_Twitter as Twitter,
|
|
299
417
|
SocialMedia_Youtube as Youtube,
|
|
418
|
+
SocialMedia_Interaction as Interaction,
|
|
300
419
|
};
|
|
301
420
|
}
|
|
302
421
|
|
|
303
|
-
declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
422
|
+
declare const Search: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
304
423
|
|
|
305
424
|
declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
306
425
|
|
|
307
|
-
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
426
|
+
declare const ShoppingBag: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
308
427
|
|
|
309
428
|
declare const ShoppingCart: FC<IconProps>;
|
|
310
429
|
|
|
@@ -312,12 +431,21 @@ declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
312
431
|
|
|
313
432
|
declare const Hamburger: FC<IconProps>;
|
|
314
433
|
|
|
434
|
+
declare const AddressInformation: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
435
|
+
|
|
436
|
+
declare const ClubMembership: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
437
|
+
|
|
438
|
+
declare const Benefits: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
439
|
+
|
|
315
440
|
declare const Navigation_Search: typeof Search;
|
|
316
441
|
declare const Navigation_User: typeof User;
|
|
317
442
|
declare const Navigation_ShoppingBag: typeof ShoppingBag;
|
|
318
443
|
declare const Navigation_ShoppingCart: typeof ShoppingCart;
|
|
319
444
|
declare const Navigation_MapMarker: typeof MapMarker;
|
|
320
445
|
declare const Navigation_Hamburger: typeof Hamburger;
|
|
446
|
+
declare const Navigation_AddressInformation: typeof AddressInformation;
|
|
447
|
+
declare const Navigation_ClubMembership: typeof ClubMembership;
|
|
448
|
+
declare const Navigation_Benefits: typeof Benefits;
|
|
321
449
|
declare namespace Navigation {
|
|
322
450
|
export {
|
|
323
451
|
Navigation_Search as Search,
|
|
@@ -326,6 +454,9 @@ declare namespace Navigation {
|
|
|
326
454
|
Navigation_ShoppingCart as ShoppingCart,
|
|
327
455
|
Navigation_MapMarker as MapMarker,
|
|
328
456
|
Navigation_Hamburger as Hamburger,
|
|
457
|
+
Navigation_AddressInformation as AddressInformation,
|
|
458
|
+
Navigation_ClubMembership as ClubMembership,
|
|
459
|
+
Navigation_Benefits as Benefits,
|
|
329
460
|
};
|
|
330
461
|
}
|
|
331
462
|
|
|
@@ -342,11 +473,13 @@ interface IconWrapperProps {
|
|
|
342
473
|
viewBoxX: number;
|
|
343
474
|
viewBoxY: number;
|
|
344
475
|
children: React.ReactNode;
|
|
345
|
-
|
|
476
|
+
testId?: string;
|
|
346
477
|
fill?: string;
|
|
347
478
|
}
|
|
348
479
|
|
|
349
|
-
declare const Mail: ({ height, width }: IconWrapperProps) => JSX.Element;
|
|
480
|
+
declare const Mail: ({ height, width, }: Pick<IconWrapperProps, 'width' | 'height'>) => JSX.Element;
|
|
481
|
+
|
|
482
|
+
declare const Community$1: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
350
483
|
|
|
351
484
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
352
485
|
declare const Messaging_Messenger: typeof Messenger;
|
|
@@ -358,6 +491,7 @@ declare namespace Messaging {
|
|
|
358
491
|
Messaging_Messenger as Messenger,
|
|
359
492
|
Messaging_Comment as Comment,
|
|
360
493
|
Messaging_Mail as Mail,
|
|
494
|
+
Community$1 as Community,
|
|
361
495
|
};
|
|
362
496
|
}
|
|
363
497
|
|
|
@@ -416,7 +550,53 @@ declare namespace SlideDots {
|
|
|
416
550
|
};
|
|
417
551
|
}
|
|
418
552
|
|
|
419
|
-
declare
|
|
553
|
+
declare const Thinking: ({ height, width }: IconProps$1) => JSX.Element;
|
|
554
|
+
|
|
555
|
+
declare const Emoji_Thinking: typeof Thinking;
|
|
556
|
+
declare namespace Emoji {
|
|
557
|
+
export {
|
|
558
|
+
Emoji_Thinking as Thinking,
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
declare const FreeShipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
563
|
+
|
|
564
|
+
declare const PersonalStylist: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
565
|
+
|
|
566
|
+
declare const Community: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
567
|
+
|
|
568
|
+
declare const VIP: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
569
|
+
|
|
570
|
+
declare const DealsOffers: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
571
|
+
|
|
572
|
+
declare const StyleFashionContent: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
573
|
+
|
|
574
|
+
declare const MembersOnlyDiscount: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
575
|
+
|
|
576
|
+
declare const Profile: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
577
|
+
|
|
578
|
+
declare const MyAccount_FreeShipping: typeof FreeShipping;
|
|
579
|
+
declare const MyAccount_PersonalStylist: typeof PersonalStylist;
|
|
580
|
+
declare const MyAccount_Community: typeof Community;
|
|
581
|
+
declare const MyAccount_VIP: typeof VIP;
|
|
582
|
+
declare const MyAccount_DealsOffers: typeof DealsOffers;
|
|
583
|
+
declare const MyAccount_StyleFashionContent: typeof StyleFashionContent;
|
|
584
|
+
declare const MyAccount_MembersOnlyDiscount: typeof MembersOnlyDiscount;
|
|
585
|
+
declare const MyAccount_Profile: typeof Profile;
|
|
586
|
+
declare namespace MyAccount {
|
|
587
|
+
export {
|
|
588
|
+
MyAccount_FreeShipping as FreeShipping,
|
|
589
|
+
MyAccount_PersonalStylist as PersonalStylist,
|
|
590
|
+
MyAccount_Community as Community,
|
|
591
|
+
MyAccount_VIP as VIP,
|
|
592
|
+
MyAccount_DealsOffers as DealsOffers,
|
|
593
|
+
MyAccount_StyleFashionContent as StyleFashionContent,
|
|
594
|
+
MyAccount_MembersOnlyDiscount as MembersOnlyDiscount,
|
|
595
|
+
MyAccount_Profile as Profile,
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
420
600
|
declare const Icon: {
|
|
421
601
|
Custom: typeof Custom;
|
|
422
602
|
Arrows: typeof Arrows;
|
|
@@ -429,6 +609,8 @@ declare const Icon: {
|
|
|
429
609
|
Download: typeof Download;
|
|
430
610
|
Payment: typeof Payment;
|
|
431
611
|
SlideDots: typeof SlideDots;
|
|
612
|
+
Emoji: typeof Emoji;
|
|
613
|
+
MyAccount: typeof MyAccount;
|
|
432
614
|
};
|
|
433
615
|
|
|
434
616
|
interface CardBodyProps {
|
|
@@ -499,8 +681,9 @@ interface SizeFitGuideProps {
|
|
|
499
681
|
title: string;
|
|
500
682
|
fitPercentage?: number;
|
|
501
683
|
onClick: () => void;
|
|
684
|
+
onClickFitPercentage?: () => void;
|
|
502
685
|
}
|
|
503
|
-
declare const SizeFitGuide: ({ title, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
|
|
686
|
+
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
504
687
|
|
|
505
688
|
interface BaseButtonProps {
|
|
506
689
|
children: React.ReactNode;
|
|
@@ -511,6 +694,7 @@ interface BaseButtonProps {
|
|
|
511
694
|
onClick: () => void;
|
|
512
695
|
className?: string;
|
|
513
696
|
inline?: boolean;
|
|
697
|
+
uppercase?: boolean;
|
|
514
698
|
testId?: string;
|
|
515
699
|
}
|
|
516
700
|
|
|
@@ -521,8 +705,9 @@ interface TextButtonProps$1 extends BaseProps {
|
|
|
521
705
|
TrailingIcon?: IconType;
|
|
522
706
|
iconColor?: string;
|
|
523
707
|
size?: ComponentSize;
|
|
708
|
+
uppercase?: boolean;
|
|
524
709
|
}
|
|
525
|
-
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
710
|
+
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
526
711
|
|
|
527
712
|
interface DiscountTagProps {
|
|
528
713
|
discount: number;
|
|
@@ -541,8 +726,12 @@ interface PriceLabelProps {
|
|
|
541
726
|
color?: string;
|
|
542
727
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
543
728
|
discount?: DiscountTagProps;
|
|
729
|
+
finalPriceStyled?: boolean;
|
|
730
|
+
finalPriceStyle?: React.CSSProperties;
|
|
731
|
+
originalPriceStyled?: boolean;
|
|
732
|
+
testId?: string;
|
|
544
733
|
}
|
|
545
|
-
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
|
|
734
|
+
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, size, }: PriceLabelProps) => JSX.Element;
|
|
546
735
|
|
|
547
736
|
interface ColorPickerProps {
|
|
548
737
|
options: ColorPickerOption[];
|
|
@@ -564,12 +753,13 @@ declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: M
|
|
|
564
753
|
interface ProductGalleryProps {
|
|
565
754
|
images: ImageType[];
|
|
566
755
|
selectedValue?: ImageType;
|
|
567
|
-
|
|
568
|
-
|
|
756
|
+
topTag?: JSX.Element;
|
|
757
|
+
bottomTag?: JSX.Element;
|
|
569
758
|
productImageDataTestId?: string;
|
|
570
759
|
previewListDataTestId?: string;
|
|
760
|
+
thumbnailPosition?: 'vertical' | 'horizontal';
|
|
571
761
|
}
|
|
572
|
-
declare const ProductGallery: ({ images, selectedValue,
|
|
762
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, }: ProductGalleryProps) => JSX.Element;
|
|
573
763
|
|
|
574
764
|
interface RatingProps {
|
|
575
765
|
rating: number;
|
|
@@ -577,8 +767,10 @@ interface RatingProps {
|
|
|
577
767
|
reviews: number;
|
|
578
768
|
reviewsText: string;
|
|
579
769
|
wrapWithParenthesis?: boolean;
|
|
770
|
+
underline?: boolean;
|
|
771
|
+
reviewsContainerId?: string;
|
|
580
772
|
}
|
|
581
|
-
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, }: RatingProps) => JSX.Element;
|
|
773
|
+
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
|
|
582
774
|
|
|
583
775
|
interface FitPredictorProps {
|
|
584
776
|
onClick: () => void;
|
|
@@ -618,12 +810,13 @@ interface AccordionProps {
|
|
|
618
810
|
defaultOpen?: boolean;
|
|
619
811
|
variant: 'simple' | 'box';
|
|
620
812
|
header: ReactNode;
|
|
813
|
+
headerOnOpen?: ReactNode;
|
|
621
814
|
content: ReactNode;
|
|
622
815
|
disabled?: boolean;
|
|
623
816
|
openIcon: IconType;
|
|
624
817
|
closeIcon: IconType;
|
|
625
818
|
}
|
|
626
|
-
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
819
|
+
declare const Accordion: ({ header, headerOnOpen, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
627
820
|
|
|
628
821
|
declare const ThemeProvider: FC<{
|
|
629
822
|
theme: Theme;
|
|
@@ -776,6 +969,12 @@ declare type ThemeComponent = {
|
|
|
776
969
|
lineHeight: string;
|
|
777
970
|
border: string;
|
|
778
971
|
boxShadow: string;
|
|
972
|
+
errorBorder: string;
|
|
973
|
+
};
|
|
974
|
+
inputPlaceholder: {
|
|
975
|
+
fontSize: string;
|
|
976
|
+
padding: string;
|
|
977
|
+
focusBorder: string;
|
|
779
978
|
};
|
|
780
979
|
inputCustom: {
|
|
781
980
|
button: {
|
|
@@ -1092,10 +1291,11 @@ interface MinimalisticProps {
|
|
|
1092
1291
|
discount: number;
|
|
1093
1292
|
offText: string;
|
|
1094
1293
|
widthAuto?: boolean;
|
|
1294
|
+
testId?: string;
|
|
1095
1295
|
}
|
|
1096
1296
|
|
|
1097
1297
|
declare const Bundle: {
|
|
1098
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
1298
|
+
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
|
|
1099
1299
|
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
1100
1300
|
};
|
|
1101
1301
|
|
|
@@ -1135,6 +1335,11 @@ interface BaseInputCommmonProps {
|
|
|
1135
1335
|
required?: string;
|
|
1136
1336
|
children?: React.ReactNode;
|
|
1137
1337
|
size?: 'regular' | 'small';
|
|
1338
|
+
inlinePlaceholder?: boolean;
|
|
1339
|
+
hasError?: boolean;
|
|
1340
|
+
inputType?: 'text' | 'email' | 'password' | 'url';
|
|
1341
|
+
name?: string;
|
|
1342
|
+
autoFocus?: boolean;
|
|
1138
1343
|
}
|
|
1139
1344
|
interface BaseInputControlled extends BaseInputCommmonProps {
|
|
1140
1345
|
value: string;
|
|
@@ -1168,6 +1373,7 @@ interface BaseCTAProps {
|
|
|
1168
1373
|
size?: ComponentSize;
|
|
1169
1374
|
text: string;
|
|
1170
1375
|
type?: ButtonType;
|
|
1376
|
+
inline?: boolean;
|
|
1171
1377
|
testId?: string;
|
|
1172
1378
|
}
|
|
1173
1379
|
|
|
@@ -1182,7 +1388,7 @@ declare type CustomProps = BaseInputProps & {
|
|
|
1182
1388
|
};
|
|
1183
1389
|
|
|
1184
1390
|
declare const Input: {
|
|
1185
|
-
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
|
|
1391
|
+
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, ...rest }: BaseInputProps) => JSX.Element;
|
|
1186
1392
|
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1187
1393
|
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1188
1394
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
@@ -1295,8 +1501,9 @@ interface ProductOrderItemProps {
|
|
|
1295
1501
|
text: string;
|
|
1296
1502
|
backgroundColor: string;
|
|
1297
1503
|
};
|
|
1504
|
+
finalPriceStyle?: React.CSSProperties;
|
|
1298
1505
|
}
|
|
1299
|
-
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, }: ProductOrderItemProps) => JSX.Element;
|
|
1506
|
+
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, finalPriceStyle, }: ProductOrderItemProps) => JSX.Element;
|
|
1300
1507
|
|
|
1301
1508
|
interface ReviewProps {
|
|
1302
1509
|
reviewerName: string;
|
|
@@ -1316,19 +1523,22 @@ interface ReviewProps {
|
|
|
1316
1523
|
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1317
1524
|
|
|
1318
1525
|
interface SliderNavigationProps {
|
|
1319
|
-
children: JSX.Element[]
|
|
1526
|
+
children: JSX.Element | JSX.Element[] | StyledComponent<any>;
|
|
1320
1527
|
infinite: boolean;
|
|
1321
1528
|
adaptiveHeight: boolean;
|
|
1322
|
-
dotsSize
|
|
1323
|
-
dotListMarginTop
|
|
1529
|
+
dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1530
|
+
dotListMarginTop?: number;
|
|
1324
1531
|
initialSlide?: number;
|
|
1325
1532
|
arrows?: {
|
|
1326
1533
|
arrowWidth: number;
|
|
1327
1534
|
arrowHeight: number;
|
|
1328
1535
|
arrowPadding: number;
|
|
1329
1536
|
};
|
|
1537
|
+
dots?: boolean;
|
|
1538
|
+
slidesToShow?: number;
|
|
1539
|
+
speed?: number;
|
|
1330
1540
|
}
|
|
1331
|
-
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1541
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1332
1542
|
|
|
1333
1543
|
interface DropdownListIconsProps {
|
|
1334
1544
|
items: DropdownListIconsItem[];
|
|
@@ -1382,8 +1592,8 @@ interface ProductItemProps {
|
|
|
1382
1592
|
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
1383
1593
|
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
1384
1594
|
tags?: {
|
|
1385
|
-
categoryTagText
|
|
1386
|
-
seasonOfferTagText
|
|
1595
|
+
categoryTagText?: string;
|
|
1596
|
+
seasonOfferTagText?: string;
|
|
1387
1597
|
};
|
|
1388
1598
|
alignName?: 'left' | 'center';
|
|
1389
1599
|
url?: string;
|
|
@@ -1392,6 +1602,9 @@ interface ProductItemProps {
|
|
|
1392
1602
|
|
|
1393
1603
|
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1394
1604
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
1605
|
+
topTag?: JSX.Element;
|
|
1606
|
+
bottomTag?: JSX.Element;
|
|
1607
|
+
onClick?: () => void;
|
|
1395
1608
|
}
|
|
1396
1609
|
|
|
1397
1610
|
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
@@ -1400,7 +1613,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
1400
1613
|
};
|
|
1401
1614
|
|
|
1402
1615
|
declare const Collection: {
|
|
1403
|
-
ProductItemMobile: ({ title, image, price, rating, size,
|
|
1616
|
+
ProductItemMobile: ({ title, image, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1404
1617
|
withProductGrid: typeof withProductGrid;
|
|
1405
1618
|
};
|
|
1406
1619
|
|
|
@@ -1464,7 +1677,7 @@ interface PaginationProps {
|
|
|
1464
1677
|
}
|
|
1465
1678
|
declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
|
|
1466
1679
|
|
|
1467
|
-
declare const Text:
|
|
1680
|
+
declare const Text: ({ variant, children, testId, ...allProps }: TextProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1468
1681
|
declare type TextHeroProps = {
|
|
1469
1682
|
variant: 'hero1' | 'hero2' | 'hero3';
|
|
1470
1683
|
weight?: 'heavy' | 'bold' | 'demi';
|
|
@@ -1474,6 +1687,7 @@ declare type TextHeroProps = {
|
|
|
1474
1687
|
wide?: never;
|
|
1475
1688
|
original?: never;
|
|
1476
1689
|
allCaps?: never;
|
|
1690
|
+
href: never;
|
|
1477
1691
|
};
|
|
1478
1692
|
declare type TextDisplayProps = {
|
|
1479
1693
|
variant: 'display1' | 'display2';
|
|
@@ -1484,6 +1698,7 @@ declare type TextDisplayProps = {
|
|
|
1484
1698
|
wide?: never;
|
|
1485
1699
|
original?: never;
|
|
1486
1700
|
allCaps?: never;
|
|
1701
|
+
href: never;
|
|
1487
1702
|
};
|
|
1488
1703
|
declare type TextHeadingProps = {
|
|
1489
1704
|
variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
@@ -1494,6 +1709,7 @@ declare type TextHeadingProps = {
|
|
|
1494
1709
|
wide?: never;
|
|
1495
1710
|
original?: never;
|
|
1496
1711
|
allCaps?: never;
|
|
1712
|
+
href?: never;
|
|
1497
1713
|
};
|
|
1498
1714
|
declare type TextBodyProps = {
|
|
1499
1715
|
variant: 'body';
|
|
@@ -1504,6 +1720,7 @@ declare type TextBodyProps = {
|
|
|
1504
1720
|
wide?: never;
|
|
1505
1721
|
original?: never;
|
|
1506
1722
|
allCaps?: never;
|
|
1723
|
+
href?: never;
|
|
1507
1724
|
};
|
|
1508
1725
|
declare type TextButtonProps = {
|
|
1509
1726
|
variant: 'button';
|
|
@@ -1514,6 +1731,7 @@ declare type TextButtonProps = {
|
|
|
1514
1731
|
wide?: boolean;
|
|
1515
1732
|
original?: never;
|
|
1516
1733
|
allCaps?: never;
|
|
1734
|
+
href?: never;
|
|
1517
1735
|
};
|
|
1518
1736
|
declare type TextPricingProps = {
|
|
1519
1737
|
variant: 'pricing';
|
|
@@ -1524,6 +1742,7 @@ declare type TextPricingProps = {
|
|
|
1524
1742
|
wide?: never;
|
|
1525
1743
|
original?: boolean;
|
|
1526
1744
|
allCaps?: never;
|
|
1745
|
+
href?: never;
|
|
1527
1746
|
};
|
|
1528
1747
|
declare type TextLinkProps = {
|
|
1529
1748
|
variant: 'link';
|
|
@@ -1534,7 +1753,8 @@ declare type TextLinkProps = {
|
|
|
1534
1753
|
wide?: never;
|
|
1535
1754
|
original?: never;
|
|
1536
1755
|
allCaps?: never;
|
|
1537
|
-
|
|
1756
|
+
href?: string;
|
|
1757
|
+
};
|
|
1538
1758
|
declare type TextLabelProps = {
|
|
1539
1759
|
variant: 'label';
|
|
1540
1760
|
weight?: 'regular' | 'demi';
|
|
@@ -1544,6 +1764,7 @@ declare type TextLabelProps = {
|
|
|
1544
1764
|
wide?: never;
|
|
1545
1765
|
original?: never;
|
|
1546
1766
|
allCaps?: never;
|
|
1767
|
+
href?: never;
|
|
1547
1768
|
} & LabelHTMLAttributes<'label'>;
|
|
1548
1769
|
declare type TextTagProps = {
|
|
1549
1770
|
variant: 'tag';
|
|
@@ -1554,10 +1775,13 @@ declare type TextTagProps = {
|
|
|
1554
1775
|
wide?: never;
|
|
1555
1776
|
original?: never;
|
|
1556
1777
|
allCaps?: boolean;
|
|
1778
|
+
href?: never;
|
|
1557
1779
|
};
|
|
1558
|
-
declare type TextProps = AriaAttributes & {
|
|
1780
|
+
declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
|
|
1781
|
+
children: ReactNode;
|
|
1559
1782
|
style?: CSSProperties;
|
|
1560
1783
|
className?: string;
|
|
1784
|
+
testId?: string;
|
|
1561
1785
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1562
1786
|
|
|
1563
1787
|
interface SearchBarProps {
|
|
@@ -1565,19 +1789,23 @@ interface SearchBarProps {
|
|
|
1565
1789
|
resultOptions: SearchBarOptionItem[];
|
|
1566
1790
|
onChange: (text: string) => void;
|
|
1567
1791
|
onSearch: (term: string) => void;
|
|
1792
|
+
onClose: () => void;
|
|
1568
1793
|
resultsPanelDataTestId?: string;
|
|
1794
|
+
allResults?: number;
|
|
1795
|
+
initialTerm?: string;
|
|
1796
|
+
shouldClear?: boolean;
|
|
1569
1797
|
}
|
|
1570
|
-
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
|
|
1798
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, }: SearchBarProps) => JSX.Element;
|
|
1571
1799
|
|
|
1572
1800
|
interface ProductGalleryMobileProps {
|
|
1573
1801
|
images: ImageType[];
|
|
1574
1802
|
selectedValue?: ImageType;
|
|
1575
|
-
|
|
1576
|
-
|
|
1803
|
+
topTag?: JSX.Element;
|
|
1804
|
+
bottomTag?: JSX.Element;
|
|
1577
1805
|
productImageDataTestId?: string;
|
|
1578
1806
|
slideDotsDataTestId?: string;
|
|
1579
1807
|
}
|
|
1580
|
-
declare const ProductGalleryMobile: ({ images, selectedValue,
|
|
1808
|
+
declare const ProductGalleryMobile: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1581
1809
|
|
|
1582
1810
|
interface RadioProps {
|
|
1583
1811
|
name: string;
|
|
@@ -1594,22 +1822,32 @@ declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange
|
|
|
1594
1822
|
declare type PortalProps = {
|
|
1595
1823
|
id: string;
|
|
1596
1824
|
className?: string;
|
|
1825
|
+
overflow?: boolean;
|
|
1826
|
+
style?: CSSProperties;
|
|
1597
1827
|
};
|
|
1598
1828
|
declare const Portal: FC<PortalProps>;
|
|
1599
1829
|
|
|
1600
1830
|
declare type ModalProps = {
|
|
1601
1831
|
id: string;
|
|
1602
1832
|
dismissable?: boolean;
|
|
1833
|
+
maxFullScreen?: boolean;
|
|
1603
1834
|
};
|
|
1835
|
+
interface ContainerProps {
|
|
1836
|
+
maxFullScreen: boolean;
|
|
1837
|
+
opened?: boolean;
|
|
1838
|
+
}
|
|
1604
1839
|
declare const Overlay: _emotion_styled.StyledComponent<{
|
|
1605
1840
|
theme?: _emotion_react.Theme | undefined;
|
|
1606
1841
|
as?: React.ElementType<any> | undefined;
|
|
1607
|
-
} & {
|
|
1608
|
-
opened?: boolean | undefined;
|
|
1609
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1842
|
+
} & Pick<ContainerProps, "opened">, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1610
1843
|
declare const Modal: FC<ModalProps>;
|
|
1611
1844
|
declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
|
|
1612
|
-
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1845
|
+
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1846
|
+
declare const useModal: (id: string) => {
|
|
1847
|
+
opened: boolean;
|
|
1848
|
+
open: () => void;
|
|
1849
|
+
close: () => void;
|
|
1850
|
+
};
|
|
1613
1851
|
|
|
1614
1852
|
interface CloseButtonProps {
|
|
1615
1853
|
onClick: () => void;
|
|
@@ -1648,8 +1886,9 @@ declare type QuantityPickerPropsUncontrolled = {
|
|
|
1648
1886
|
declare type QuantityPickerProps = {
|
|
1649
1887
|
initialValue?: number;
|
|
1650
1888
|
maxValue?: number;
|
|
1889
|
+
testId?: string;
|
|
1651
1890
|
} & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
|
|
1652
|
-
declare const QuantityPicker: ({ initialValue, maxValue, value, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1891
|
+
declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1653
1892
|
|
|
1654
1893
|
declare type SpacingProps = {
|
|
1655
1894
|
size: number;
|
|
@@ -1678,8 +1917,8 @@ interface PackSelectorProps {
|
|
|
1678
1917
|
declare const PackSelector: FC<PackSelectorProps>;
|
|
1679
1918
|
|
|
1680
1919
|
interface FiltersProps {
|
|
1681
|
-
|
|
1682
|
-
onChange: (
|
|
1920
|
+
values: Filter[];
|
|
1921
|
+
onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
|
|
1683
1922
|
tagsColor?: string;
|
|
1684
1923
|
filterByText: string;
|
|
1685
1924
|
clearAllText: string;
|
|
@@ -1688,8 +1927,76 @@ interface FiltersProps {
|
|
|
1688
1927
|
applyText: string;
|
|
1689
1928
|
mobileBackArrowClick: () => void;
|
|
1690
1929
|
mobileApplyButtonClick: () => void;
|
|
1930
|
+
onResetValues: () => void;
|
|
1931
|
+
}
|
|
1932
|
+
declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
|
|
1933
|
+
|
|
1934
|
+
interface SearchNavigationProps {
|
|
1935
|
+
returnText?: string;
|
|
1936
|
+
returnUrl?: string;
|
|
1937
|
+
steps?: string[];
|
|
1938
|
+
returnAction?: () => void;
|
|
1939
|
+
}
|
|
1940
|
+
declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
|
|
1941
|
+
|
|
1942
|
+
interface TabProps$1 {
|
|
1943
|
+
title: string;
|
|
1944
|
+
content: ReactNode;
|
|
1945
|
+
}
|
|
1946
|
+
interface TabsProps {
|
|
1947
|
+
backgroundColor?: string;
|
|
1948
|
+
initialSelected?: string;
|
|
1949
|
+
tabsMaxWidth?: string;
|
|
1950
|
+
tabs: TabProps$1[];
|
|
1951
|
+
}
|
|
1952
|
+
declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
|
|
1953
|
+
|
|
1954
|
+
interface TabProps {
|
|
1955
|
+
title: string;
|
|
1956
|
+
titleSize?: string;
|
|
1957
|
+
selectedTitleWeight?: number;
|
|
1958
|
+
height?: string;
|
|
1959
|
+
selected?: boolean;
|
|
1960
|
+
color?: string;
|
|
1961
|
+
tabsMaxWidth?: string;
|
|
1962
|
+
onClick: (clickedTab: string) => void;
|
|
1963
|
+
}
|
|
1964
|
+
declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
|
|
1965
|
+
|
|
1966
|
+
interface IconList {
|
|
1967
|
+
backgroundColor: string;
|
|
1968
|
+
iconColor: string;
|
|
1969
|
+
iconName: string;
|
|
1970
|
+
iconTitle: string;
|
|
1971
|
+
}
|
|
1972
|
+
declare const IconsWithTitle: ({ iconName, iconTitle, backgroundColor, iconColor }: IconList) => JSX.Element | null;
|
|
1973
|
+
|
|
1974
|
+
interface NoteProps {
|
|
1975
|
+
accentColor: string;
|
|
1976
|
+
color: string;
|
|
1977
|
+
backgroundColor: string;
|
|
1978
|
+
importantNoteText: string;
|
|
1979
|
+
text: string;
|
|
1980
|
+
}
|
|
1981
|
+
declare const Note: ({ accentColor, color, backgroundColor, importantNoteText, text, }: NoteProps) => JSX.Element;
|
|
1982
|
+
|
|
1983
|
+
interface TextWithImageProps {
|
|
1984
|
+
title: string;
|
|
1985
|
+
text: string;
|
|
1986
|
+
buttomText: string;
|
|
1987
|
+
backgroundColor: string;
|
|
1988
|
+
imageLeftSide?: boolean;
|
|
1989
|
+
URLLink?: string;
|
|
1990
|
+
onButtonClick?: () => void;
|
|
1991
|
+
isRedirectionURL: boolean;
|
|
1992
|
+
btnBGColor?: string;
|
|
1993
|
+
btnHoverBGColor?: string;
|
|
1994
|
+
imgVideo: imageVideoProps;
|
|
1995
|
+
contentAfterButton?: React.ReactNode;
|
|
1996
|
+
titleStyle?: React.CSSProperties;
|
|
1997
|
+
textStyle?: React.CSSProperties;
|
|
1691
1998
|
}
|
|
1692
|
-
declare const
|
|
1999
|
+
declare const TextWithImage: ({ title, text, buttomText, backgroundColor, imageLeftSide, titleStyle, textStyle, ...props }: TextWithImageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1693
2000
|
|
|
1694
2001
|
declare global {
|
|
1695
2002
|
interface Events {
|
|
@@ -1730,4 +2037,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1730
2037
|
currency?: string | undefined;
|
|
1731
2038
|
}) => string;
|
|
1732
2039
|
|
|
1733
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection,
|
|
2040
|
+
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, Note, 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, TextWithImage, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, imageVideoProps, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|