@trafilea/afrodita-components 5.0.0-beta.4 → 5.0.0-beta.40

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 CHANGED
@@ -1,2 +1,4 @@
1
1
  .slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent;}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0;}.slick-list:focus{outline:none;}.slick-list.dragging{cursor:pointer;cursor:hand;}.slick-slider .slick-track,.slick-slider .slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto;}.slick-track:before,.slick-track:after{display:table;content:'';}.slick-track:after{clear:both;}.slick-loading .slick-track{visibility:hidden;}.slick-slide{display:none;float:left;height:100%;min-height:0.063rem;}[dir='rtl'] .slick-slide{float:right;}.slick-slide img{display:block;}.slick-slide.slick-loading img{display:none;}.slick-slide.dragging img{pointer-events:none;}.slick-initialized .slick-slide{display:block;}.slick-loading .slick-slide{visibility:hidden;}.slick-vertical .slick-slide{display:block;height:auto;border:0.063rem solid transparent;}.slick-arrow.slick-hidden{display:none;}
2
- .slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:1.25rem;height:1.25rem;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent;}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent;}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1;}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:0.25;}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:1.25rem;line-height:1;opacity:0.75;color:white;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-prev{left:-1.5rem;}[dir='rtl'] .slick-prev{right:-1.5rem;left:auto;}.slick-prev:before{content:'←';}[dir='rtl'] .slick-prev:before{content:'→';}.slick-next{right:-1.5rem;}[dir='rtl'] .slick-next{right:auto;left:-1.5rem;}.slick-next:before{content:'→';}[dir='rtl'] .slick-next:before{content:'←';}.slick-dotted.slick-slider{margin-bottom:1.875rem;}.slick-dots{position:absolute;bottom:-1.5rem;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center;}.slick-dots li{position:relative;display:inline-block;width:1.25rem;height:1.25rem;margin:0 0.313rem;padding:0;cursor:pointer;}.slick-dots li button{font-size:0;line-height:0;display:block;width:1.25rem;height:1.25rem;padding:0.313rem;cursor:pointer;color:transparent;border:0;outline:none;background:transparent;}.slick-dots li button:hover,.slick-dots li button:focus{outline:none;}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1;}.slick-dots li button:before{font-family:'slick';font-size:0.375rem;line-height:1.25rem;position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;content:'•';text-align:center;opacity:0.25;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-dots li.slick-active button:before{opacity:0.75;color:black;}
2
+ .slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:1.25rem;height:1.25rem;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent;}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent;}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1;}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:0.25;}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:1.25rem;line-height:1;opacity:0.75;color:white;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-prev{left:-1.5rem;}[dir='rtl'] .slick-prev{right:-1.5rem;left:auto;}.slick-prev:before{content:'←';}[dir='rtl'] .slick-prev:before{content:'→';}.slick-next{right:-1.5rem;}[dir='rtl'] .slick-next{right:auto;left:-1.5rem;}.slick-next:before{content:'→';}[dir='rtl'] .slick-next:before{content:'←';}.slick-dotted.slick-slider{margin-bottom:1.875rem;}.slick-dots{position:absolute;bottom:-1.5rem;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center;}.slick-dots li{position:relative;display:inline-block;width:1.25rem;height:1.25rem;margin:0 0.313rem;padding:0;cursor:pointer;}.slick-dots li button{font-size:0;line-height:0;display:block;width:1.25rem;height:1.25rem;padding:0.313rem;cursor:pointer;color:transparent;border:0;outline:none;background:transparent;}.slick-dots li button:hover,.slick-dots li button:focus{outline:none;}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1;}.slick-dots li button:before{font-family:'slick';font-size:0.375rem;line-height:1.25rem;position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;content:'•';text-align:center;opacity:0.25;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-dots li.slick-active button:before{opacity:0.75;color:black;}
3
+ .iiz{max-width:100%;margin:0;position:relative;overflow:hidden;display:inline-block;cursor:-webkit-zoom-in;cursor:zoom-in}.iiz--drag .iiz__zoom-img--visible{cursor:-webkit-grab;cursor:grab}.iiz__img{max-width:100%;height:auto;display:block;pointer-events:none;visibility:visible;opacity:1}.iiz__img--hidden{visibility:hidden;opacity:0}.iiz__img--abs{width:100%;height:100%;position:absolute;top:0;left:0;display:block}.iiz__zoom-img{width:auto!important;max-width:none!important;position:absolute;visibility:hidden;opacity:0;pointer-events:none;display:block}.iiz__zoom-img--visible{visibility:visible;opacity:1;pointer-events:auto;cursor:-webkit-zoom-out;cursor:zoom-out;-ms-touch-action:none;touch-action:none}.iiz__zoom-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000}.iiz__btn{background:rgba(255,255,255,.8);width:40px;height:40px;border:none;outline:0;padding:0;position:absolute;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.iiz__btn:before{content:" ";background-position:center;background-repeat:no-repeat;display:block}.iiz__hint{bottom:10px;right:10px;pointer-events:none}.iiz__hint:before{content:" ";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.9 19.9'%3E%3Cpath d='M13.9 7.4C13.9 3.8 11 .9 7.4.9S.9 3.8.9 7.4s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5zm5.3 12.5l-6.7-7.2c-1.4 1.3-3.2 2.1-5.1 2.1-4.1 0-7.4-3.3-7.4-7.4S3.3 0 7.4 0s7.4 3.3 7.4 7.4c0 1.7-.6 3.4-1.7 4.7l6.8 7.2-.7.6z' fill='%23000222'/%3E%3C/svg%3E");width:20px;height:20px}.iiz__close{top:10px;right:10px;visibility:hidden;opacity:0}.iiz__close--visible{visibility:visible;opacity:1;cursor:pointer}.iiz__close::before{content:" ";width:29px;height:29px;background-image:-webkit-gradient(linear,left top,left bottom,from(#222),to(#222)),-webkit-gradient(linear,left top,left bottom,from(#222),to(#222));background-image:linear-gradient(#222,#222),linear-gradient(#222,#222);background-size:100% 1px,1px 100%;-webkit-transform:rotate(45deg);transform:rotate(45deg)}
4
+ .iiz{max-width:100%;margin:0;position:relative;overflow:hidden;display:inline-block;cursor:-webkit-zoom-in;cursor:zoom-in;}.zoomWrapper.iiz{max-height:510px;}.iiz--drag .iiz__zoom-img--visible{cursor:-webkit-grab;cursor:grab;}.iiz__img{max-width:100%;height:auto;display:block;pointer-events:none;visibility:visible;opacity:1;}.iiz__img--hidden{visibility:hidden;opacity:0;}.iiz__img--abs{width:100%;height:100%;position:absolute;top:0;left:0;display:block;}.iiz__zoom-img{width:auto!important;max-width:none!important;position:absolute;visibility:hidden;opacity:0;pointer-events:none;display:block;}.iiz__zoom-img--visible{visibility:visible;opacity:1;pointer-events:auto;cursor:-webkit-zoom-out;cursor:zoom-out;-ms-touch-action:none;touch-action:none;zoom:1.2;}.iiz__zoom-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;}.iiz__btn{background:rgba(255,255,255,0.8);max-width:95px;min-width:fit-content;height:32px;border:none;outline:none;padding:0 8px;position:absolute;z-index:5;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-moz-appearance:none;-webkit-appearance:none;appearance:none;}.iiz__btn:before{content:' ';background-position:center;background-repeat:no-repeat;display:block;}.iiz__hint{bottom:10%;right:0;pointer-events:none;border-radius:150px 0 0 150px;}.iiz__hint:before{content:'+';background-image:none;width:17px;height:17px;font-size:19px;border-radius:500px;border:2px solid #292929;display:inline-block;position:relative;text-align:center;line-height:17px;font-weight:600;}.iiz__hint:after{content:'Zoom in';font-size:14px;font-weight:600;display:inline-block;margin-left:5px;}.iiz__close{border-radius:150px;top:auto;right:0;left:0;margin:auto;bottom:20px;visibility:hidden;opacity:0;color:#292929;}.iiz__close--visible{visibility:visible;opacity:1;cursor:pointer;}.iiz__close::before{content:' ';width:16px;height:16px;background-image:-webkit-gradient(linear,left top,left bottom,from(#222),to(#222)),-webkit-gradient(linear,left top,left bottom,from(#222),to(#222));background-image:linear-gradient(#222,#222),linear-gradient(#222,#222);background-size:65% 2px,2px 65%;transform:rotate(45deg);border-radius:500px;border:2px solid #292929;}.iiz__close::after{content:'Close';font-size:14px;font-weight:600;display:inline-block;margin-left:5px;}
package/build/index.d.ts CHANGED
@@ -2,8 +2,9 @@
2
2
  import { IconProps as IconProps$1 } from 'src/types/types';
3
3
  import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, AnchorHTMLAttributes, 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 {
@@ -100,7 +102,10 @@ declare type Filter = {
100
102
  title: string;
101
103
  columns: number;
102
104
  isOpenByDefault?: boolean;
103
- items: string[];
105
+ items: Array<{
106
+ label: string;
107
+ checked?: boolean;
108
+ }>;
104
109
  };
105
110
  declare type FilterChange = {
106
111
  sectionIndex: number;
@@ -111,6 +116,7 @@ interface SearchBarOptionItem {
111
116
  src: string;
112
117
  price: string;
113
118
  title: string;
119
+ optionUrl: string;
114
120
  }
115
121
 
116
122
  declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
@@ -175,10 +181,13 @@ declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
175
181
 
176
182
  declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
177
183
 
184
+ declare const GetDiscount: ({ height, width }: IconProps) => JSX.Element;
185
+
178
186
  type Other_LoadingProps = LoadingProps;
179
187
  declare const Other_Loading: typeof Loading;
180
188
  declare const Other_Shapermint: typeof Shapermint;
181
189
  declare const Other_McAfee: typeof McAfee;
190
+ declare const Other_GetDiscount: typeof GetDiscount;
182
191
  declare namespace Other {
183
192
  export {
184
193
  FitPredictor$1 as FitPredictor,
@@ -186,14 +195,15 @@ declare namespace Other {
186
195
  Other_Loading as Loading,
187
196
  Other_Shapermint as Shapermint,
188
197
  Other_McAfee as McAfee,
198
+ Other_GetDiscount as GetDiscount,
189
199
  };
190
200
  }
191
201
 
192
202
  declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
193
203
 
194
- declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
204
+ declare const ChevronLeft: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
195
205
 
196
- declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
206
+ declare const ChevronRight: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
197
207
 
198
208
  declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
199
209
 
@@ -300,11 +310,11 @@ declare namespace SocialMedia {
300
310
  };
301
311
  }
302
312
 
303
- declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
313
+ declare const Search: ({ height, width, fill, testId }: IconProps) => JSX.Element;
304
314
 
305
315
  declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
306
316
 
307
- declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
317
+ declare const ShoppingBag: ({ height, width, fill, testId }: IconProps) => JSX.Element;
308
318
 
309
319
  declare const ShoppingCart: FC<IconProps>;
310
320
 
@@ -342,7 +352,7 @@ interface IconWrapperProps {
342
352
  viewBoxX: number;
343
353
  viewBoxY: number;
344
354
  children: React.ReactNode;
345
- testid?: string;
355
+ testId?: string;
346
356
  fill?: string;
347
357
  }
348
358
 
@@ -416,7 +426,16 @@ declare namespace SlideDots {
416
426
  };
417
427
  }
418
428
 
419
- declare type IconType = ({ height, width, fill }: IconProps) => JSX.Element;
429
+ declare const Thinking: ({ height, width }: IconProps$1) => JSX.Element;
430
+
431
+ declare const Emoji_Thinking: typeof Thinking;
432
+ declare namespace Emoji {
433
+ export {
434
+ Emoji_Thinking as Thinking,
435
+ };
436
+ }
437
+
438
+ declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
420
439
  declare const Icon: {
421
440
  Custom: typeof Custom;
422
441
  Arrows: typeof Arrows;
@@ -429,6 +448,7 @@ declare const Icon: {
429
448
  Download: typeof Download;
430
449
  Payment: typeof Payment;
431
450
  SlideDots: typeof SlideDots;
451
+ Emoji: typeof Emoji;
432
452
  };
433
453
 
434
454
  interface CardBodyProps {
@@ -491,16 +511,17 @@ interface SizeSelectorProps {
491
511
  selectedValue: SizeOption;
492
512
  onChange: (size: SizeOption) => void;
493
513
  inline?: boolean;
514
+ width?: string;
494
515
  }
495
- declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
516
+ declare const SizeSelector: ({ label, sizes, selectedValue, onChange, inline, width, }: SizeSelectorProps) => _emotion_react_jsx_runtime.JSX.Element;
496
517
 
497
518
  interface SizeFitGuideProps {
498
519
  title: string;
499
- fitPercentageLabel: string;
500
- fitPercentage: number;
520
+ fitPercentage?: number;
501
521
  onClick: () => void;
522
+ onClickFitPercentage?: () => void;
502
523
  }
503
- declare const SizeFitGuide: ({ title, fitPercentageLabel, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
524
+ declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
504
525
 
505
526
  interface BaseButtonProps {
506
527
  children: React.ReactNode;
@@ -511,6 +532,7 @@ interface BaseButtonProps {
511
532
  onClick: () => void;
512
533
  className?: string;
513
534
  inline?: boolean;
535
+ uppercase?: boolean;
514
536
  testId?: string;
515
537
  }
516
538
 
@@ -521,8 +543,9 @@ interface TextButtonProps$1 extends BaseProps {
521
543
  TrailingIcon?: IconType;
522
544
  iconColor?: string;
523
545
  size?: ComponentSize;
546
+ uppercase?: boolean;
524
547
  }
525
- declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
548
+ declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
526
549
 
527
550
  interface DiscountTagProps {
528
551
  discount: number;
@@ -541,8 +564,9 @@ interface PriceLabelProps {
541
564
  color?: string;
542
565
  size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
543
566
  discount?: DiscountTagProps;
567
+ testId?: string;
544
568
  }
545
- declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
569
+ declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, size, }: PriceLabelProps) => JSX.Element;
546
570
 
547
571
  interface ColorPickerProps {
548
572
  options: ColorPickerOption[];
@@ -564,12 +588,13 @@ declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: M
564
588
  interface ProductGalleryProps {
565
589
  images: ImageType[];
566
590
  selectedValue?: ImageType;
567
- DiscountTagElement?: JSX.Element;
568
- BestSellerTagElement?: JSX.Element;
591
+ topTag?: JSX.Element;
592
+ bottomTag?: JSX.Element;
569
593
  productImageDataTestId?: string;
570
594
  previewListDataTestId?: string;
595
+ thumbnailPosition?: 'vertical' | 'horizontal';
571
596
  }
572
- declare const ProductGallery: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, previewListDataTestId, }: ProductGalleryProps) => JSX.Element;
597
+ declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, }: ProductGalleryProps) => JSX.Element;
573
598
 
574
599
  interface RatingProps {
575
600
  rating: number;
@@ -1014,8 +1039,10 @@ declare type ThemeComponent = {
1014
1039
  packSelector: {
1015
1040
  borderRadius: string;
1016
1041
  borderColor: string;
1017
- highlight: string;
1018
- selected: string;
1042
+ highlightColor: string;
1043
+ selectedColor: string;
1044
+ selectedContrast: string;
1045
+ tagColor: string;
1019
1046
  };
1020
1047
  };
1021
1048
  declare type ThemeTypography = {
@@ -1090,10 +1117,11 @@ interface MinimalisticProps {
1090
1117
  discount: number;
1091
1118
  offText: string;
1092
1119
  widthAuto?: boolean;
1120
+ testId?: string;
1093
1121
  }
1094
1122
 
1095
1123
  declare const Bundle: {
1096
- Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
1124
+ Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
1097
1125
  Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
1098
1126
  };
1099
1127
 
@@ -1166,6 +1194,7 @@ interface BaseCTAProps {
1166
1194
  size?: ComponentSize;
1167
1195
  text: string;
1168
1196
  type?: ButtonType;
1197
+ inline?: boolean;
1169
1198
  testId?: string;
1170
1199
  }
1171
1200
 
@@ -1314,19 +1343,22 @@ interface ReviewProps {
1314
1343
  declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
1315
1344
 
1316
1345
  interface SliderNavigationProps {
1317
- children: JSX.Element[];
1346
+ children: JSX.Element | JSX.Element[] | StyledComponent<any>;
1318
1347
  infinite: boolean;
1319
1348
  adaptiveHeight: boolean;
1320
- dotsSize: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1321
- dotListMarginTop: number;
1349
+ dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1350
+ dotListMarginTop?: number;
1322
1351
  initialSlide?: number;
1323
1352
  arrows?: {
1324
1353
  arrowWidth: number;
1325
1354
  arrowHeight: number;
1326
1355
  arrowPadding: number;
1327
1356
  };
1357
+ dots?: boolean;
1358
+ slidesToShow?: number;
1359
+ speed?: number;
1328
1360
  }
1329
- declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
1361
+ declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
1330
1362
 
1331
1363
  interface DropdownListIconsProps {
1332
1364
  items: DropdownListIconsItem[];
@@ -1380,8 +1412,8 @@ interface ProductItemProps {
1380
1412
  price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
1381
1413
  rating: Pick<RatingProps, 'rating' | 'reviews'>;
1382
1414
  tags?: {
1383
- categoryTagText: string;
1384
- seasonOfferTagText: string;
1415
+ categoryTagText?: string;
1416
+ seasonOfferTagText?: string;
1385
1417
  };
1386
1418
  alignName?: 'left' | 'center';
1387
1419
  url?: string;
@@ -1390,6 +1422,9 @@ interface ProductItemProps {
1390
1422
 
1391
1423
  interface ProductItemSmallMobileProps extends ProductItemProps {
1392
1424
  size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
1425
+ topTag?: JSX.Element;
1426
+ bottomTag?: JSX.Element;
1427
+ onClick?: () => void;
1393
1428
  }
1394
1429
 
1395
1430
  declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
@@ -1398,7 +1433,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
1398
1433
  };
1399
1434
 
1400
1435
  declare const Collection: {
1401
- ProductItemMobile: ({ title, image, price, rating, size, tags, alignName, url, className, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1436
+ ProductItemMobile: ({ title, image, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1402
1437
  withProductGrid: typeof withProductGrid;
1403
1438
  };
1404
1439
 
@@ -1556,6 +1591,7 @@ declare type TextTagProps = {
1556
1591
  declare type TextProps = AriaAttributes & {
1557
1592
  style?: CSSProperties;
1558
1593
  className?: string;
1594
+ testId?: string;
1559
1595
  } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
1560
1596
 
1561
1597
  interface SearchBarProps {
@@ -1563,19 +1599,23 @@ interface SearchBarProps {
1563
1599
  resultOptions: SearchBarOptionItem[];
1564
1600
  onChange: (text: string) => void;
1565
1601
  onSearch: (term: string) => void;
1602
+ onClose: () => void;
1566
1603
  resultsPanelDataTestId?: string;
1604
+ allResults?: number;
1605
+ initialTerm?: string;
1606
+ shouldClear?: boolean;
1567
1607
  }
1568
- declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
1608
+ declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, }: SearchBarProps) => JSX.Element;
1569
1609
 
1570
1610
  interface ProductGalleryMobileProps {
1571
1611
  images: ImageType[];
1572
1612
  selectedValue?: ImageType;
1573
- DiscountTagElement?: JSX.Element;
1574
- BestSellerTagElement?: JSX.Element;
1613
+ topTag?: JSX.Element;
1614
+ bottomTag?: JSX.Element;
1575
1615
  productImageDataTestId?: string;
1576
1616
  slideDotsDataTestId?: string;
1577
1617
  }
1578
- declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
1618
+ declare const ProductGalleryMobile: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
1579
1619
 
1580
1620
  interface RadioProps {
1581
1621
  name: string;
@@ -1598,16 +1638,24 @@ declare const Portal: FC<PortalProps>;
1598
1638
  declare type ModalProps = {
1599
1639
  id: string;
1600
1640
  dismissable?: boolean;
1641
+ maxFullScreen?: boolean;
1601
1642
  };
1643
+ interface ContainerProps {
1644
+ maxFullScreen: boolean;
1645
+ opened?: boolean;
1646
+ }
1602
1647
  declare const Overlay: _emotion_styled.StyledComponent<{
1603
1648
  theme?: _emotion_react.Theme | undefined;
1604
1649
  as?: React.ElementType<any> | undefined;
1605
- } & {
1606
- opened?: boolean | undefined;
1607
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1650
+ } & Pick<ContainerProps, "opened">, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1608
1651
  declare const Modal: FC<ModalProps>;
1609
1652
  declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
1610
- declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
1653
+ declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
1654
+ declare const useModal: (id: string) => {
1655
+ opened: boolean;
1656
+ open: () => void;
1657
+ close: () => void;
1658
+ };
1611
1659
 
1612
1660
  interface CloseButtonProps {
1613
1661
  onClick: () => void;
@@ -1646,8 +1694,9 @@ declare type QuantityPickerPropsUncontrolled = {
1646
1694
  declare type QuantityPickerProps = {
1647
1695
  initialValue?: number;
1648
1696
  maxValue?: number;
1697
+ testId?: string;
1649
1698
  } & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
1650
- declare const QuantityPicker: ({ initialValue, maxValue, value, onChange, }: QuantityPickerProps) => JSX.Element;
1699
+ declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
1651
1700
 
1652
1701
  declare type SpacingProps = {
1653
1702
  size: number;
@@ -1675,6 +1724,29 @@ interface PackSelectorProps {
1675
1724
  }
1676
1725
  declare const PackSelector: FC<PackSelectorProps>;
1677
1726
 
1727
+ interface FiltersProps {
1728
+ values: Filter[];
1729
+ onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
1730
+ tagsColor?: string;
1731
+ filterByText: string;
1732
+ clearAllText: string;
1733
+ filtersSelectText: string;
1734
+ isMobile: boolean;
1735
+ applyText: string;
1736
+ mobileBackArrowClick: () => void;
1737
+ mobileApplyButtonClick: () => void;
1738
+ onResetValues: () => void;
1739
+ }
1740
+ declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
1741
+
1742
+ interface SearchNavigationProps {
1743
+ returnText?: string;
1744
+ returnUrl?: string;
1745
+ steps?: string[];
1746
+ returnAction?: () => void;
1747
+ }
1748
+ declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
1749
+
1678
1750
  declare global {
1679
1751
  interface Events {
1680
1752
  modal: {
@@ -1714,4 +1786,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
1714
1786
  currency?: string | undefined;
1715
1787
  }) => string;
1716
1788
 
1717
- export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
1789
+ export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, Filters, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
@@ -1,2 +1,4 @@
1
1
  .slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent;}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0;}.slick-list:focus{outline:none;}.slick-list.dragging{cursor:pointer;cursor:hand;}.slick-slider .slick-track,.slick-slider .slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto;}.slick-track:before,.slick-track:after{display:table;content:'';}.slick-track:after{clear:both;}.slick-loading .slick-track{visibility:hidden;}.slick-slide{display:none;float:left;height:100%;min-height:0.063rem;}[dir='rtl'] .slick-slide{float:right;}.slick-slide img{display:block;}.slick-slide.slick-loading img{display:none;}.slick-slide.dragging img{pointer-events:none;}.slick-initialized .slick-slide{display:block;}.slick-loading .slick-slide{visibility:hidden;}.slick-vertical .slick-slide{display:block;height:auto;border:0.063rem solid transparent;}.slick-arrow.slick-hidden{display:none;}
2
- .slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:1.25rem;height:1.25rem;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent;}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent;}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1;}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:0.25;}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:1.25rem;line-height:1;opacity:0.75;color:white;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-prev{left:-1.5rem;}[dir='rtl'] .slick-prev{right:-1.5rem;left:auto;}.slick-prev:before{content:'←';}[dir='rtl'] .slick-prev:before{content:'→';}.slick-next{right:-1.5rem;}[dir='rtl'] .slick-next{right:auto;left:-1.5rem;}.slick-next:before{content:'→';}[dir='rtl'] .slick-next:before{content:'←';}.slick-dotted.slick-slider{margin-bottom:1.875rem;}.slick-dots{position:absolute;bottom:-1.5rem;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center;}.slick-dots li{position:relative;display:inline-block;width:1.25rem;height:1.25rem;margin:0 0.313rem;padding:0;cursor:pointer;}.slick-dots li button{font-size:0;line-height:0;display:block;width:1.25rem;height:1.25rem;padding:0.313rem;cursor:pointer;color:transparent;border:0;outline:none;background:transparent;}.slick-dots li button:hover,.slick-dots li button:focus{outline:none;}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1;}.slick-dots li button:before{font-family:'slick';font-size:0.375rem;line-height:1.25rem;position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;content:'•';text-align:center;opacity:0.25;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-dots li.slick-active button:before{opacity:0.75;color:black;}
2
+ .slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:1.25rem;height:1.25rem;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent;}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent;}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1;}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:0.25;}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:1.25rem;line-height:1;opacity:0.75;color:white;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-prev{left:-1.5rem;}[dir='rtl'] .slick-prev{right:-1.5rem;left:auto;}.slick-prev:before{content:'←';}[dir='rtl'] .slick-prev:before{content:'→';}.slick-next{right:-1.5rem;}[dir='rtl'] .slick-next{right:auto;left:-1.5rem;}.slick-next:before{content:'→';}[dir='rtl'] .slick-next:before{content:'←';}.slick-dotted.slick-slider{margin-bottom:1.875rem;}.slick-dots{position:absolute;bottom:-1.5rem;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center;}.slick-dots li{position:relative;display:inline-block;width:1.25rem;height:1.25rem;margin:0 0.313rem;padding:0;cursor:pointer;}.slick-dots li button{font-size:0;line-height:0;display:block;width:1.25rem;height:1.25rem;padding:0.313rem;cursor:pointer;color:transparent;border:0;outline:none;background:transparent;}.slick-dots li button:hover,.slick-dots li button:focus{outline:none;}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1;}.slick-dots li button:before{font-family:'slick';font-size:0.375rem;line-height:1.25rem;position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;content:'•';text-align:center;opacity:0.25;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-dots li.slick-active button:before{opacity:0.75;color:black;}
3
+ .iiz{max-width:100%;margin:0;position:relative;overflow:hidden;display:inline-block;cursor:-webkit-zoom-in;cursor:zoom-in}.iiz--drag .iiz__zoom-img--visible{cursor:-webkit-grab;cursor:grab}.iiz__img{max-width:100%;height:auto;display:block;pointer-events:none;visibility:visible;opacity:1}.iiz__img--hidden{visibility:hidden;opacity:0}.iiz__img--abs{width:100%;height:100%;position:absolute;top:0;left:0;display:block}.iiz__zoom-img{width:auto!important;max-width:none!important;position:absolute;visibility:hidden;opacity:0;pointer-events:none;display:block}.iiz__zoom-img--visible{visibility:visible;opacity:1;pointer-events:auto;cursor:-webkit-zoom-out;cursor:zoom-out;-ms-touch-action:none;touch-action:none}.iiz__zoom-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000}.iiz__btn{background:rgba(255,255,255,.8);width:40px;height:40px;border:none;outline:0;padding:0;position:absolute;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.iiz__btn:before{content:" ";background-position:center;background-repeat:no-repeat;display:block}.iiz__hint{bottom:10px;right:10px;pointer-events:none}.iiz__hint:before{content:" ";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.9 19.9'%3E%3Cpath d='M13.9 7.4C13.9 3.8 11 .9 7.4.9S.9 3.8.9 7.4s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5zm5.3 12.5l-6.7-7.2c-1.4 1.3-3.2 2.1-5.1 2.1-4.1 0-7.4-3.3-7.4-7.4S3.3 0 7.4 0s7.4 3.3 7.4 7.4c0 1.7-.6 3.4-1.7 4.7l6.8 7.2-.7.6z' fill='%23000222'/%3E%3C/svg%3E");width:20px;height:20px}.iiz__close{top:10px;right:10px;visibility:hidden;opacity:0}.iiz__close--visible{visibility:visible;opacity:1;cursor:pointer}.iiz__close::before{content:" ";width:29px;height:29px;background-image:-webkit-gradient(linear,left top,left bottom,from(#222),to(#222)),-webkit-gradient(linear,left top,left bottom,from(#222),to(#222));background-image:linear-gradient(#222,#222),linear-gradient(#222,#222);background-size:100% 1px,1px 100%;-webkit-transform:rotate(45deg);transform:rotate(45deg)}
4
+ .iiz{max-width:100%;margin:0;position:relative;overflow:hidden;display:inline-block;cursor:-webkit-zoom-in;cursor:zoom-in;}.zoomWrapper.iiz{max-height:510px;}.iiz--drag .iiz__zoom-img--visible{cursor:-webkit-grab;cursor:grab;}.iiz__img{max-width:100%;height:auto;display:block;pointer-events:none;visibility:visible;opacity:1;}.iiz__img--hidden{visibility:hidden;opacity:0;}.iiz__img--abs{width:100%;height:100%;position:absolute;top:0;left:0;display:block;}.iiz__zoom-img{width:auto!important;max-width:none!important;position:absolute;visibility:hidden;opacity:0;pointer-events:none;display:block;}.iiz__zoom-img--visible{visibility:visible;opacity:1;pointer-events:auto;cursor:-webkit-zoom-out;cursor:zoom-out;-ms-touch-action:none;touch-action:none;zoom:1.2;}.iiz__zoom-portal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;}.iiz__btn{background:rgba(255,255,255,0.8);max-width:95px;min-width:fit-content;height:32px;border:none;outline:none;padding:0 8px;position:absolute;z-index:5;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-moz-appearance:none;-webkit-appearance:none;appearance:none;}.iiz__btn:before{content:' ';background-position:center;background-repeat:no-repeat;display:block;}.iiz__hint{bottom:10%;right:0;pointer-events:none;border-radius:150px 0 0 150px;}.iiz__hint:before{content:'+';background-image:none;width:17px;height:17px;font-size:19px;border-radius:500px;border:2px solid #292929;display:inline-block;position:relative;text-align:center;line-height:17px;font-weight:600;}.iiz__hint:after{content:'Zoom in';font-size:14px;font-weight:600;display:inline-block;margin-left:5px;}.iiz__close{border-radius:150px;top:auto;right:0;left:0;margin:auto;bottom:20px;visibility:hidden;opacity:0;color:#292929;}.iiz__close--visible{visibility:visible;opacity:1;cursor:pointer;}.iiz__close::before{content:' ';width:16px;height:16px;background-image:-webkit-gradient(linear,left top,left bottom,from(#222),to(#222)),-webkit-gradient(linear,left top,left bottom,from(#222),to(#222));background-image:linear-gradient(#222,#222),linear-gradient(#222,#222);background-size:65% 2px,2px 65%;transform:rotate(45deg);border-radius:500px;border:2px solid #292929;}.iiz__close::after{content:'Close';font-size:14px;font-weight:600;display:inline-block;margin-left:5px;}