@trafilea/afrodita-components 5.0.0-beta.9 → 5.0.0-beta.92
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 +379 -51
- package/build/index.esm.css +3 -1
- package/build/index.esm.js +6523 -4315
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6533 -4315
- 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
|
|
|
@@ -425,7 +559,48 @@ declare namespace Emoji {
|
|
|
425
559
|
};
|
|
426
560
|
}
|
|
427
561
|
|
|
428
|
-
declare
|
|
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 MembersOnlyDiscountOpposite: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
579
|
+
|
|
580
|
+
declare const MyAccount_FreeShipping: typeof FreeShipping;
|
|
581
|
+
declare const MyAccount_PersonalStylist: typeof PersonalStylist;
|
|
582
|
+
declare const MyAccount_Community: typeof Community;
|
|
583
|
+
declare const MyAccount_VIP: typeof VIP;
|
|
584
|
+
declare const MyAccount_DealsOffers: typeof DealsOffers;
|
|
585
|
+
declare const MyAccount_StyleFashionContent: typeof StyleFashionContent;
|
|
586
|
+
declare const MyAccount_MembersOnlyDiscount: typeof MembersOnlyDiscount;
|
|
587
|
+
declare const MyAccount_Profile: typeof Profile;
|
|
588
|
+
declare const MyAccount_MembersOnlyDiscountOpposite: typeof MembersOnlyDiscountOpposite;
|
|
589
|
+
declare namespace MyAccount {
|
|
590
|
+
export {
|
|
591
|
+
MyAccount_FreeShipping as FreeShipping,
|
|
592
|
+
MyAccount_PersonalStylist as PersonalStylist,
|
|
593
|
+
MyAccount_Community as Community,
|
|
594
|
+
MyAccount_VIP as VIP,
|
|
595
|
+
MyAccount_DealsOffers as DealsOffers,
|
|
596
|
+
MyAccount_StyleFashionContent as StyleFashionContent,
|
|
597
|
+
MyAccount_MembersOnlyDiscount as MembersOnlyDiscount,
|
|
598
|
+
MyAccount_Profile as Profile,
|
|
599
|
+
MyAccount_MembersOnlyDiscountOpposite as MembersOnlyDiscountOpposite,
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
429
604
|
declare const Icon: {
|
|
430
605
|
Custom: typeof Custom;
|
|
431
606
|
Arrows: typeof Arrows;
|
|
@@ -439,6 +614,7 @@ declare const Icon: {
|
|
|
439
614
|
Payment: typeof Payment;
|
|
440
615
|
SlideDots: typeof SlideDots;
|
|
441
616
|
Emoji: typeof Emoji;
|
|
617
|
+
MyAccount: typeof MyAccount;
|
|
442
618
|
};
|
|
443
619
|
|
|
444
620
|
interface CardBodyProps {
|
|
@@ -509,8 +685,9 @@ interface SizeFitGuideProps {
|
|
|
509
685
|
title: string;
|
|
510
686
|
fitPercentage?: number;
|
|
511
687
|
onClick: () => void;
|
|
688
|
+
onClickFitPercentage?: () => void;
|
|
512
689
|
}
|
|
513
|
-
declare const SizeFitGuide: ({ title, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
|
|
690
|
+
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
514
691
|
|
|
515
692
|
interface BaseButtonProps {
|
|
516
693
|
children: React.ReactNode;
|
|
@@ -521,6 +698,7 @@ interface BaseButtonProps {
|
|
|
521
698
|
onClick: () => void;
|
|
522
699
|
className?: string;
|
|
523
700
|
inline?: boolean;
|
|
701
|
+
uppercase?: boolean;
|
|
524
702
|
testId?: string;
|
|
525
703
|
}
|
|
526
704
|
|
|
@@ -531,8 +709,9 @@ interface TextButtonProps$1 extends BaseProps {
|
|
|
531
709
|
TrailingIcon?: IconType;
|
|
532
710
|
iconColor?: string;
|
|
533
711
|
size?: ComponentSize;
|
|
712
|
+
uppercase?: boolean;
|
|
534
713
|
}
|
|
535
|
-
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
536
715
|
|
|
537
716
|
interface DiscountTagProps {
|
|
538
717
|
discount: number;
|
|
@@ -542,8 +721,9 @@ interface DiscountTagProps {
|
|
|
542
721
|
borderColor?: string;
|
|
543
722
|
textColor?: string;
|
|
544
723
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
724
|
+
style?: React.CSSProperties;
|
|
545
725
|
}
|
|
546
|
-
declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
|
|
726
|
+
declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, style, }: DiscountTagProps) => JSX.Element;
|
|
547
727
|
|
|
548
728
|
interface PriceLabelProps {
|
|
549
729
|
finalPrice: string | number;
|
|
@@ -551,8 +731,14 @@ interface PriceLabelProps {
|
|
|
551
731
|
color?: string;
|
|
552
732
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
553
733
|
discount?: DiscountTagProps;
|
|
734
|
+
finalPriceStyled?: boolean;
|
|
735
|
+
finalPriceStyle?: React.CSSProperties;
|
|
736
|
+
originalPriceStyled?: boolean;
|
|
737
|
+
testId?: string;
|
|
554
738
|
}
|
|
555
|
-
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
|
|
739
|
+
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, finalPriceStyled, finalPriceStyle, originalPriceStyled, size, }: PriceLabelProps) => JSX.Element;
|
|
740
|
+
|
|
741
|
+
declare const PriceLabelV2: ({ finalPrice, originalPrice, discount, color, testId, originalPriceStyled, size, }: PriceLabelProps) => JSX.Element;
|
|
556
742
|
|
|
557
743
|
interface ColorPickerProps {
|
|
558
744
|
options: ColorPickerOption[];
|
|
@@ -574,12 +760,13 @@ declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: M
|
|
|
574
760
|
interface ProductGalleryProps {
|
|
575
761
|
images: ImageType[];
|
|
576
762
|
selectedValue?: ImageType;
|
|
577
|
-
|
|
578
|
-
|
|
763
|
+
topTag?: JSX.Element;
|
|
764
|
+
bottomTag?: JSX.Element;
|
|
579
765
|
productImageDataTestId?: string;
|
|
580
766
|
previewListDataTestId?: string;
|
|
767
|
+
thumbnailPosition?: 'vertical' | 'horizontal';
|
|
581
768
|
}
|
|
582
|
-
declare const ProductGallery: ({ images, selectedValue,
|
|
769
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, }: ProductGalleryProps) => JSX.Element;
|
|
583
770
|
|
|
584
771
|
interface RatingProps {
|
|
585
772
|
rating: number;
|
|
@@ -587,8 +774,10 @@ interface RatingProps {
|
|
|
587
774
|
reviews: number;
|
|
588
775
|
reviewsText: string;
|
|
589
776
|
wrapWithParenthesis?: boolean;
|
|
777
|
+
underline?: boolean;
|
|
778
|
+
reviewsContainerId?: string;
|
|
590
779
|
}
|
|
591
|
-
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, }: RatingProps) => JSX.Element;
|
|
780
|
+
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
|
|
592
781
|
|
|
593
782
|
interface FitPredictorProps {
|
|
594
783
|
onClick: () => void;
|
|
@@ -626,14 +815,19 @@ declare const Tooltip: ({ children, position, text, align, onClick, header, }: T
|
|
|
626
815
|
|
|
627
816
|
interface AccordionProps {
|
|
628
817
|
defaultOpen?: boolean;
|
|
818
|
+
forceOpenHandler?: boolean;
|
|
819
|
+
forceOpenValue?: boolean;
|
|
820
|
+
titleColor?: string;
|
|
629
821
|
variant: 'simple' | 'box';
|
|
630
822
|
header: ReactNode;
|
|
823
|
+
headerOnOpen?: ReactNode;
|
|
631
824
|
content: ReactNode;
|
|
632
825
|
disabled?: boolean;
|
|
633
826
|
openIcon: IconType;
|
|
634
827
|
closeIcon: IconType;
|
|
828
|
+
onClick?: (index: number) => void;
|
|
635
829
|
}
|
|
636
|
-
declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
|
|
830
|
+
declare const Accordion: ({ header, headerOnOpen, content, defaultOpen, forceOpenHandler, forceOpenValue, titleColor, variant, disabled, openIcon, closeIcon, onClick, }: AccordionProps) => JSX.Element;
|
|
637
831
|
|
|
638
832
|
declare const ThemeProvider: FC<{
|
|
639
833
|
theme: Theme;
|
|
@@ -786,6 +980,12 @@ declare type ThemeComponent = {
|
|
|
786
980
|
lineHeight: string;
|
|
787
981
|
border: string;
|
|
788
982
|
boxShadow: string;
|
|
983
|
+
errorBorder: string;
|
|
984
|
+
};
|
|
985
|
+
inputPlaceholder: {
|
|
986
|
+
fontSize: string;
|
|
987
|
+
padding: string;
|
|
988
|
+
focusBorder: string;
|
|
789
989
|
};
|
|
790
990
|
inputCustom: {
|
|
791
991
|
button: {
|
|
@@ -1102,10 +1302,11 @@ interface MinimalisticProps {
|
|
|
1102
1302
|
discount: number;
|
|
1103
1303
|
offText: string;
|
|
1104
1304
|
widthAuto?: boolean;
|
|
1305
|
+
testId?: string;
|
|
1105
1306
|
}
|
|
1106
1307
|
|
|
1107
1308
|
declare const Bundle: {
|
|
1108
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
1309
|
+
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
|
|
1109
1310
|
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
1110
1311
|
};
|
|
1111
1312
|
|
|
@@ -1136,6 +1337,10 @@ interface TimerProps extends TimeProps {
|
|
|
1136
1337
|
declare const Timer: ({ onTimeUp, displayZeroValues, ...rest }: TimerProps) => JSX.Element;
|
|
1137
1338
|
|
|
1138
1339
|
interface BaseInputCommmonProps {
|
|
1340
|
+
id?: string;
|
|
1341
|
+
innerRef?: React.Ref<HTMLInputElement>;
|
|
1342
|
+
onBlur?: () => void;
|
|
1343
|
+
hideClear?: boolean;
|
|
1139
1344
|
defaultValue?: string;
|
|
1140
1345
|
maxLength?: number;
|
|
1141
1346
|
placeholder?: string;
|
|
@@ -1145,6 +1350,11 @@ interface BaseInputCommmonProps {
|
|
|
1145
1350
|
required?: string;
|
|
1146
1351
|
children?: React.ReactNode;
|
|
1147
1352
|
size?: 'regular' | 'small';
|
|
1353
|
+
inlinePlaceholder?: boolean;
|
|
1354
|
+
hasError?: boolean;
|
|
1355
|
+
inputType?: 'text' | 'email' | 'password' | 'url';
|
|
1356
|
+
name?: string;
|
|
1357
|
+
autoFocus?: boolean;
|
|
1148
1358
|
}
|
|
1149
1359
|
interface BaseInputControlled extends BaseInputCommmonProps {
|
|
1150
1360
|
value: string;
|
|
@@ -1178,6 +1388,7 @@ interface BaseCTAProps {
|
|
|
1178
1388
|
size?: ComponentSize;
|
|
1179
1389
|
text: string;
|
|
1180
1390
|
type?: ButtonType;
|
|
1391
|
+
inline?: boolean;
|
|
1181
1392
|
testId?: string;
|
|
1182
1393
|
}
|
|
1183
1394
|
|
|
@@ -1192,7 +1403,7 @@ declare type CustomProps = BaseInputProps & {
|
|
|
1192
1403
|
};
|
|
1193
1404
|
|
|
1194
1405
|
declare const Input: {
|
|
1195
|
-
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
|
|
1406
|
+
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, ...rest }: BaseInputProps) => JSX.Element;
|
|
1196
1407
|
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1197
1408
|
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1198
1409
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
@@ -1305,8 +1516,9 @@ interface ProductOrderItemProps {
|
|
|
1305
1516
|
text: string;
|
|
1306
1517
|
backgroundColor: string;
|
|
1307
1518
|
};
|
|
1519
|
+
finalPriceStyle?: React.CSSProperties;
|
|
1308
1520
|
}
|
|
1309
|
-
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, }: ProductOrderItemProps) => JSX.Element;
|
|
1521
|
+
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, finalPriceStyle, }: ProductOrderItemProps) => JSX.Element;
|
|
1310
1522
|
|
|
1311
1523
|
interface ReviewProps {
|
|
1312
1524
|
reviewerName: string;
|
|
@@ -1326,19 +1538,22 @@ interface ReviewProps {
|
|
|
1326
1538
|
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1327
1539
|
|
|
1328
1540
|
interface SliderNavigationProps {
|
|
1329
|
-
children: JSX.Element[]
|
|
1541
|
+
children: JSX.Element | JSX.Element[] | StyledComponent<any>;
|
|
1330
1542
|
infinite: boolean;
|
|
1331
1543
|
adaptiveHeight: boolean;
|
|
1332
|
-
dotsSize
|
|
1333
|
-
dotListMarginTop
|
|
1544
|
+
dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1545
|
+
dotListMarginTop?: number;
|
|
1334
1546
|
initialSlide?: number;
|
|
1335
1547
|
arrows?: {
|
|
1336
1548
|
arrowWidth: number;
|
|
1337
1549
|
arrowHeight: number;
|
|
1338
1550
|
arrowPadding: number;
|
|
1339
1551
|
};
|
|
1552
|
+
dots?: boolean;
|
|
1553
|
+
slidesToShow?: number;
|
|
1554
|
+
speed?: number;
|
|
1340
1555
|
}
|
|
1341
|
-
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1556
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1342
1557
|
|
|
1343
1558
|
interface DropdownListIconsProps {
|
|
1344
1559
|
items: DropdownListIconsItem[];
|
|
@@ -1392,8 +1607,8 @@ interface ProductItemProps {
|
|
|
1392
1607
|
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
1393
1608
|
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
1394
1609
|
tags?: {
|
|
1395
|
-
categoryTagText
|
|
1396
|
-
seasonOfferTagText
|
|
1610
|
+
categoryTagText?: string;
|
|
1611
|
+
seasonOfferTagText?: string;
|
|
1397
1612
|
};
|
|
1398
1613
|
alignName?: 'left' | 'center';
|
|
1399
1614
|
url?: string;
|
|
@@ -1402,6 +1617,10 @@ interface ProductItemProps {
|
|
|
1402
1617
|
|
|
1403
1618
|
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1404
1619
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
1620
|
+
topTag?: JSX.Element;
|
|
1621
|
+
bottomTag?: JSX.Element;
|
|
1622
|
+
onClick?: () => void;
|
|
1623
|
+
priceDisplayType?: 'default' | 'styled';
|
|
1405
1624
|
}
|
|
1406
1625
|
|
|
1407
1626
|
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
@@ -1410,7 +1629,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
1410
1629
|
};
|
|
1411
1630
|
|
|
1412
1631
|
declare const Collection: {
|
|
1413
|
-
ProductItemMobile: ({ title, image, price, rating, size,
|
|
1632
|
+
ProductItemMobile: ({ title, image, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, priceDisplayType, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1414
1633
|
withProductGrid: typeof withProductGrid;
|
|
1415
1634
|
};
|
|
1416
1635
|
|
|
@@ -1474,7 +1693,9 @@ interface PaginationProps {
|
|
|
1474
1693
|
}
|
|
1475
1694
|
declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
|
|
1476
1695
|
|
|
1477
|
-
declare const
|
|
1696
|
+
declare const PaginatorBlog: ({ from, to, currentPage, onChange, }: Pick<PaginationProps, 'from' | 'to' | 'onChange' | 'currentPage'>) => JSX.Element;
|
|
1697
|
+
|
|
1698
|
+
declare const Text: ({ variant, children, testId, ...allProps }: TextProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1478
1699
|
declare type TextHeroProps = {
|
|
1479
1700
|
variant: 'hero1' | 'hero2' | 'hero3';
|
|
1480
1701
|
weight?: 'heavy' | 'bold' | 'demi';
|
|
@@ -1484,6 +1705,7 @@ declare type TextHeroProps = {
|
|
|
1484
1705
|
wide?: never;
|
|
1485
1706
|
original?: never;
|
|
1486
1707
|
allCaps?: never;
|
|
1708
|
+
href: never;
|
|
1487
1709
|
};
|
|
1488
1710
|
declare type TextDisplayProps = {
|
|
1489
1711
|
variant: 'display1' | 'display2';
|
|
@@ -1494,6 +1716,7 @@ declare type TextDisplayProps = {
|
|
|
1494
1716
|
wide?: never;
|
|
1495
1717
|
original?: never;
|
|
1496
1718
|
allCaps?: never;
|
|
1719
|
+
href: never;
|
|
1497
1720
|
};
|
|
1498
1721
|
declare type TextHeadingProps = {
|
|
1499
1722
|
variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
@@ -1504,6 +1727,7 @@ declare type TextHeadingProps = {
|
|
|
1504
1727
|
wide?: never;
|
|
1505
1728
|
original?: never;
|
|
1506
1729
|
allCaps?: never;
|
|
1730
|
+
href?: never;
|
|
1507
1731
|
};
|
|
1508
1732
|
declare type TextBodyProps = {
|
|
1509
1733
|
variant: 'body';
|
|
@@ -1514,6 +1738,7 @@ declare type TextBodyProps = {
|
|
|
1514
1738
|
wide?: never;
|
|
1515
1739
|
original?: never;
|
|
1516
1740
|
allCaps?: never;
|
|
1741
|
+
href?: never;
|
|
1517
1742
|
};
|
|
1518
1743
|
declare type TextButtonProps = {
|
|
1519
1744
|
variant: 'button';
|
|
@@ -1524,6 +1749,7 @@ declare type TextButtonProps = {
|
|
|
1524
1749
|
wide?: boolean;
|
|
1525
1750
|
original?: never;
|
|
1526
1751
|
allCaps?: never;
|
|
1752
|
+
href?: never;
|
|
1527
1753
|
};
|
|
1528
1754
|
declare type TextPricingProps = {
|
|
1529
1755
|
variant: 'pricing';
|
|
@@ -1534,6 +1760,7 @@ declare type TextPricingProps = {
|
|
|
1534
1760
|
wide?: never;
|
|
1535
1761
|
original?: boolean;
|
|
1536
1762
|
allCaps?: never;
|
|
1763
|
+
href?: never;
|
|
1537
1764
|
};
|
|
1538
1765
|
declare type TextLinkProps = {
|
|
1539
1766
|
variant: 'link';
|
|
@@ -1544,7 +1771,8 @@ declare type TextLinkProps = {
|
|
|
1544
1771
|
wide?: never;
|
|
1545
1772
|
original?: never;
|
|
1546
1773
|
allCaps?: never;
|
|
1547
|
-
|
|
1774
|
+
href?: string;
|
|
1775
|
+
};
|
|
1548
1776
|
declare type TextLabelProps = {
|
|
1549
1777
|
variant: 'label';
|
|
1550
1778
|
weight?: 'regular' | 'demi';
|
|
@@ -1554,6 +1782,7 @@ declare type TextLabelProps = {
|
|
|
1554
1782
|
wide?: never;
|
|
1555
1783
|
original?: never;
|
|
1556
1784
|
allCaps?: never;
|
|
1785
|
+
href?: never;
|
|
1557
1786
|
} & LabelHTMLAttributes<'label'>;
|
|
1558
1787
|
declare type TextTagProps = {
|
|
1559
1788
|
variant: 'tag';
|
|
@@ -1564,10 +1793,13 @@ declare type TextTagProps = {
|
|
|
1564
1793
|
wide?: never;
|
|
1565
1794
|
original?: never;
|
|
1566
1795
|
allCaps?: boolean;
|
|
1796
|
+
href?: never;
|
|
1567
1797
|
};
|
|
1568
|
-
declare type TextProps = AriaAttributes & {
|
|
1798
|
+
declare type TextProps<T = Element> = AriaAttributes & HTMLAttributes<T> & {
|
|
1799
|
+
children: ReactNode;
|
|
1569
1800
|
style?: CSSProperties;
|
|
1570
1801
|
className?: string;
|
|
1802
|
+
testId?: string;
|
|
1571
1803
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1572
1804
|
|
|
1573
1805
|
interface SearchBarProps {
|
|
@@ -1575,20 +1807,24 @@ interface SearchBarProps {
|
|
|
1575
1807
|
resultOptions: SearchBarOptionItem[];
|
|
1576
1808
|
onChange: (text: string) => void;
|
|
1577
1809
|
onSearch: (term: string) => void;
|
|
1810
|
+
onClose: () => void;
|
|
1578
1811
|
resultsPanelDataTestId?: string;
|
|
1579
1812
|
allResults?: number;
|
|
1813
|
+
initialTerm?: string;
|
|
1814
|
+
shouldClear?: boolean;
|
|
1815
|
+
isBlogSearchBar?: boolean;
|
|
1580
1816
|
}
|
|
1581
|
-
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, allResults, }: SearchBarProps) => JSX.Element;
|
|
1817
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, isBlogSearchBar, }: SearchBarProps) => JSX.Element;
|
|
1582
1818
|
|
|
1583
1819
|
interface ProductGalleryMobileProps {
|
|
1584
1820
|
images: ImageType[];
|
|
1585
1821
|
selectedValue?: ImageType;
|
|
1586
|
-
|
|
1587
|
-
|
|
1822
|
+
topTag?: JSX.Element;
|
|
1823
|
+
bottomTag?: JSX.Element;
|
|
1588
1824
|
productImageDataTestId?: string;
|
|
1589
1825
|
slideDotsDataTestId?: string;
|
|
1590
1826
|
}
|
|
1591
|
-
declare const ProductGalleryMobile: ({ images, selectedValue,
|
|
1827
|
+
declare const ProductGalleryMobile: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1592
1828
|
|
|
1593
1829
|
interface RadioProps {
|
|
1594
1830
|
name: string;
|
|
@@ -1605,22 +1841,32 @@ declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange
|
|
|
1605
1841
|
declare type PortalProps = {
|
|
1606
1842
|
id: string;
|
|
1607
1843
|
className?: string;
|
|
1844
|
+
overflow?: boolean;
|
|
1845
|
+
style?: CSSProperties;
|
|
1608
1846
|
};
|
|
1609
1847
|
declare const Portal: FC<PortalProps>;
|
|
1610
1848
|
|
|
1611
1849
|
declare type ModalProps = {
|
|
1612
1850
|
id: string;
|
|
1613
1851
|
dismissable?: boolean;
|
|
1852
|
+
maxFullScreen?: boolean;
|
|
1614
1853
|
};
|
|
1854
|
+
interface ContainerProps {
|
|
1855
|
+
maxFullScreen: boolean;
|
|
1856
|
+
opened?: boolean;
|
|
1857
|
+
}
|
|
1615
1858
|
declare const Overlay: _emotion_styled.StyledComponent<{
|
|
1616
1859
|
theme?: _emotion_react.Theme | undefined;
|
|
1617
1860
|
as?: React.ElementType<any> | undefined;
|
|
1618
|
-
} & {
|
|
1619
|
-
opened?: boolean | undefined;
|
|
1620
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1861
|
+
} & Pick<ContainerProps, "opened">, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1621
1862
|
declare const Modal: FC<ModalProps>;
|
|
1622
1863
|
declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
|
|
1623
|
-
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1864
|
+
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1865
|
+
declare const useModal: (id: string) => {
|
|
1866
|
+
opened: boolean;
|
|
1867
|
+
open: () => void;
|
|
1868
|
+
close: () => void;
|
|
1869
|
+
};
|
|
1624
1870
|
|
|
1625
1871
|
interface CloseButtonProps {
|
|
1626
1872
|
onClick: () => void;
|
|
@@ -1659,8 +1905,9 @@ declare type QuantityPickerPropsUncontrolled = {
|
|
|
1659
1905
|
declare type QuantityPickerProps = {
|
|
1660
1906
|
initialValue?: number;
|
|
1661
1907
|
maxValue?: number;
|
|
1908
|
+
testId?: string;
|
|
1662
1909
|
} & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
|
|
1663
|
-
declare const QuantityPicker: ({ initialValue, maxValue, value, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1910
|
+
declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1664
1911
|
|
|
1665
1912
|
declare type SpacingProps = {
|
|
1666
1913
|
size: number;
|
|
@@ -1689,8 +1936,8 @@ interface PackSelectorProps {
|
|
|
1689
1936
|
declare const PackSelector: FC<PackSelectorProps>;
|
|
1690
1937
|
|
|
1691
1938
|
interface FiltersProps {
|
|
1692
|
-
|
|
1693
|
-
onChange: (
|
|
1939
|
+
values: Filter[];
|
|
1940
|
+
onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
|
|
1694
1941
|
tagsColor?: string;
|
|
1695
1942
|
filterByText: string;
|
|
1696
1943
|
clearAllText: string;
|
|
@@ -1699,8 +1946,89 @@ interface FiltersProps {
|
|
|
1699
1946
|
applyText: string;
|
|
1700
1947
|
mobileBackArrowClick: () => void;
|
|
1701
1948
|
mobileApplyButtonClick: () => void;
|
|
1949
|
+
onResetValues: () => void;
|
|
1950
|
+
}
|
|
1951
|
+
declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
|
|
1952
|
+
|
|
1953
|
+
interface SearchNavigationProps {
|
|
1954
|
+
returnText?: string;
|
|
1955
|
+
returnUrl?: string;
|
|
1956
|
+
steps?: string[];
|
|
1957
|
+
returnAction?: () => void;
|
|
1958
|
+
}
|
|
1959
|
+
declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
|
|
1960
|
+
|
|
1961
|
+
interface TabProps$1 {
|
|
1962
|
+
title: string;
|
|
1963
|
+
content: ReactNode;
|
|
1964
|
+
}
|
|
1965
|
+
interface TabsProps {
|
|
1966
|
+
backgroundColor?: string;
|
|
1967
|
+
initialSelected?: string;
|
|
1968
|
+
tabsMaxWidth?: string;
|
|
1969
|
+
tabs: TabProps$1[];
|
|
1970
|
+
}
|
|
1971
|
+
declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
|
|
1972
|
+
|
|
1973
|
+
interface TabProps {
|
|
1974
|
+
title: string;
|
|
1975
|
+
titleSize?: string;
|
|
1976
|
+
selectedTitleWeight?: number;
|
|
1977
|
+
height?: string;
|
|
1978
|
+
selected?: boolean;
|
|
1979
|
+
color?: string;
|
|
1980
|
+
tabsMaxWidth?: string;
|
|
1981
|
+
onClick: (clickedTab: string) => void;
|
|
1982
|
+
}
|
|
1983
|
+
declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
|
|
1984
|
+
|
|
1985
|
+
interface IconList {
|
|
1986
|
+
backgroundColor: string;
|
|
1987
|
+
iconColor: string;
|
|
1988
|
+
iconName: string;
|
|
1989
|
+
iconTitle: string;
|
|
1990
|
+
iconSizeDesktop?: number;
|
|
1991
|
+
iconSizeMobile?: number;
|
|
1992
|
+
iconTitlePosition?: 'top' | 'bottom' | 'left' | 'right';
|
|
1993
|
+
iconTitleStyle?: string;
|
|
1994
|
+
iconStyle?: string;
|
|
1995
|
+
isTitleInnerHtml?: boolean;
|
|
1996
|
+
}
|
|
1997
|
+
declare const IconsWithTitle: ({ iconName, iconTitle, backgroundColor, iconColor, iconSizeDesktop, iconSizeMobile, iconTitlePosition, iconTitleStyle, iconStyle, isTitleInnerHtml, }: IconList) => JSX.Element | null;
|
|
1998
|
+
|
|
1999
|
+
interface NoteProps {
|
|
2000
|
+
accentColor: string;
|
|
2001
|
+
color: string;
|
|
2002
|
+
backgroundColor: string;
|
|
2003
|
+
importantNoteText: string;
|
|
2004
|
+
text: string;
|
|
2005
|
+
}
|
|
2006
|
+
declare const Note: ({ accentColor, color, backgroundColor, importantNoteText, text, }: NoteProps) => JSX.Element;
|
|
2007
|
+
|
|
2008
|
+
interface TextWithImageProps {
|
|
2009
|
+
title: string;
|
|
2010
|
+
text: string;
|
|
2011
|
+
buttomText: string;
|
|
2012
|
+
backgroundColor: string;
|
|
2013
|
+
imageLeftSide?: boolean;
|
|
2014
|
+
URLLink?: string;
|
|
2015
|
+
onButtonClick?: () => void;
|
|
2016
|
+
isRedirectionURL: boolean;
|
|
2017
|
+
btnBGColor?: string;
|
|
2018
|
+
btnHoverBGColor?: string;
|
|
2019
|
+
imgVideo: imageVideoProps;
|
|
2020
|
+
contentAfterButton?: React.ReactNode;
|
|
2021
|
+
titleStyle?: React.CSSProperties;
|
|
2022
|
+
textStyle?: React.CSSProperties;
|
|
2023
|
+
buttonWideOnMobile?: boolean;
|
|
2024
|
+
}
|
|
2025
|
+
declare const TextWithImage: ({ title, text, buttomText, backgroundColor, imageLeftSide, titleStyle, textStyle, buttonWideOnMobile, ...props }: TextWithImageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2026
|
+
|
|
2027
|
+
interface AccordionOptionsProps {
|
|
2028
|
+
titleColor: string;
|
|
2029
|
+
accordions: AccordionProps[];
|
|
1702
2030
|
}
|
|
1703
|
-
declare const
|
|
2031
|
+
declare const AccordionOptions: ({ titleColor, accordions }: AccordionOptionsProps) => JSX.Element;
|
|
1704
2032
|
|
|
1705
2033
|
declare global {
|
|
1706
2034
|
interface Events {
|
|
@@ -1741,4 +2069,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1741
2069
|
currency?: string | undefined;
|
|
1742
2070
|
}) => string;
|
|
1743
2071
|
|
|
1744
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection,
|
|
2072
|
+
export { Accordion, AccordionOptions, 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, PaginatorBlog, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, PriceLabelV2, 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 };
|