@trafilea/afrodita-components 5.0.0-beta.5 → 5.0.0-beta.50
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 +195 -37
- package/build/index.esm.css +3 -1
- package/build/index.esm.js +4219 -2325
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4224 -2325
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.d.ts +10 -2
- package/build/theme/shapermint.theme.js +10 -2
- package/build/theme/truekind.theme.d.ts +10 -2
- package/build/theme/truekind.theme.js +10 -2
- package/package.json +4 -1
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,11 @@ declare type Filter = {
|
|
|
100
102
|
title: string;
|
|
101
103
|
columns: number;
|
|
102
104
|
isOpenByDefault?: boolean;
|
|
103
|
-
|
|
105
|
+
isMultiselect: boolean;
|
|
106
|
+
items: Array<{
|
|
107
|
+
label: string;
|
|
108
|
+
checked?: boolean;
|
|
109
|
+
}>;
|
|
104
110
|
};
|
|
105
111
|
declare type FilterChange = {
|
|
106
112
|
sectionIndex: number;
|
|
@@ -111,6 +117,7 @@ interface SearchBarOptionItem {
|
|
|
111
117
|
src: string;
|
|
112
118
|
price: string;
|
|
113
119
|
title: string;
|
|
120
|
+
optionUrl: string;
|
|
114
121
|
}
|
|
115
122
|
|
|
116
123
|
declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
|
|
@@ -143,6 +150,12 @@ declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
143
150
|
|
|
144
151
|
declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
145
152
|
|
|
153
|
+
declare const Warning: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
154
|
+
|
|
155
|
+
declare const Edit: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
156
|
+
|
|
157
|
+
declare const SignOut: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
158
|
+
|
|
146
159
|
declare const Actions_Check: typeof Check;
|
|
147
160
|
declare const Actions_ClearLight: typeof ClearLight;
|
|
148
161
|
declare const Actions_LightExclamation: typeof LightExclamation;
|
|
@@ -151,6 +164,9 @@ declare const Actions_LightCheck: typeof LightCheck;
|
|
|
151
164
|
declare const Actions_Question: typeof Question;
|
|
152
165
|
declare const Actions_Close: typeof Close;
|
|
153
166
|
declare const Actions_Trash: typeof Trash;
|
|
167
|
+
declare const Actions_Warning: typeof Warning;
|
|
168
|
+
declare const Actions_Edit: typeof Edit;
|
|
169
|
+
declare const Actions_SignOut: typeof SignOut;
|
|
154
170
|
declare namespace Actions {
|
|
155
171
|
export {
|
|
156
172
|
Actions_Check as Check,
|
|
@@ -161,6 +177,9 @@ declare namespace Actions {
|
|
|
161
177
|
Actions_Question as Question,
|
|
162
178
|
Actions_Close as Close,
|
|
163
179
|
Actions_Trash as Trash,
|
|
180
|
+
Actions_Warning as Warning,
|
|
181
|
+
Actions_Edit as Edit,
|
|
182
|
+
Actions_SignOut as SignOut,
|
|
164
183
|
};
|
|
165
184
|
}
|
|
166
185
|
|
|
@@ -175,10 +194,25 @@ declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
|
|
|
175
194
|
|
|
176
195
|
declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
|
|
177
196
|
|
|
197
|
+
declare const GetDiscount: ({ height, width }: IconProps) => JSX.Element;
|
|
198
|
+
|
|
199
|
+
declare const ShapermintLogo: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
200
|
+
|
|
201
|
+
declare const Chat: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
202
|
+
|
|
203
|
+
declare const Email: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
204
|
+
|
|
205
|
+
declare const CallUs: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
206
|
+
|
|
178
207
|
type Other_LoadingProps = LoadingProps;
|
|
179
208
|
declare const Other_Loading: typeof Loading;
|
|
180
209
|
declare const Other_Shapermint: typeof Shapermint;
|
|
181
210
|
declare const Other_McAfee: typeof McAfee;
|
|
211
|
+
declare const Other_GetDiscount: typeof GetDiscount;
|
|
212
|
+
declare const Other_ShapermintLogo: typeof ShapermintLogo;
|
|
213
|
+
declare const Other_Chat: typeof Chat;
|
|
214
|
+
declare const Other_Email: typeof Email;
|
|
215
|
+
declare const Other_CallUs: typeof CallUs;
|
|
182
216
|
declare namespace Other {
|
|
183
217
|
export {
|
|
184
218
|
FitPredictor$1 as FitPredictor,
|
|
@@ -186,14 +220,19 @@ declare namespace Other {
|
|
|
186
220
|
Other_Loading as Loading,
|
|
187
221
|
Other_Shapermint as Shapermint,
|
|
188
222
|
Other_McAfee as McAfee,
|
|
223
|
+
Other_GetDiscount as GetDiscount,
|
|
224
|
+
Other_ShapermintLogo as ShapermintLogo,
|
|
225
|
+
Other_Chat as Chat,
|
|
226
|
+
Other_Email as Email,
|
|
227
|
+
Other_CallUs as CallUs,
|
|
189
228
|
};
|
|
190
229
|
}
|
|
191
230
|
|
|
192
231
|
declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
193
232
|
|
|
194
|
-
declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
233
|
+
declare const ChevronLeft: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
|
|
195
234
|
|
|
196
|
-
declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
|
|
235
|
+
declare const ChevronRight: ({ height, width, fill, opacity, testId }: IconWithOpacityProps) => JSX.Element;
|
|
197
236
|
|
|
198
237
|
declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
199
238
|
|
|
@@ -242,6 +281,10 @@ declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Elem
|
|
|
242
281
|
|
|
243
282
|
declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
244
283
|
|
|
284
|
+
declare const LightBulb: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
285
|
+
|
|
286
|
+
declare const ErrorCross: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
287
|
+
|
|
245
288
|
declare const PDP_Clock: typeof Clock;
|
|
246
289
|
declare const PDP_FlagUSA: typeof FlagUSA;
|
|
247
290
|
declare const PDP_Minus: typeof Minus;
|
|
@@ -252,6 +295,8 @@ declare const PDP_StarEmpty: typeof StarEmpty;
|
|
|
252
295
|
declare const PDP_StarHalf: typeof StarHalf;
|
|
253
296
|
declare const PDP_Stopwatch: typeof Stopwatch;
|
|
254
297
|
declare const PDP_Shipping: typeof Shipping;
|
|
298
|
+
declare const PDP_LightBulb: typeof LightBulb;
|
|
299
|
+
declare const PDP_ErrorCross: typeof ErrorCross;
|
|
255
300
|
declare namespace PDP {
|
|
256
301
|
export {
|
|
257
302
|
PDP_Clock as Clock,
|
|
@@ -264,6 +309,8 @@ declare namespace PDP {
|
|
|
264
309
|
PDP_StarHalf as StarHalf,
|
|
265
310
|
PDP_Stopwatch as Stopwatch,
|
|
266
311
|
PDP_Shipping as Shipping,
|
|
312
|
+
PDP_LightBulb as LightBulb,
|
|
313
|
+
PDP_ErrorCross as ErrorCross,
|
|
267
314
|
};
|
|
268
315
|
}
|
|
269
316
|
|
|
@@ -300,11 +347,11 @@ declare namespace SocialMedia {
|
|
|
300
347
|
};
|
|
301
348
|
}
|
|
302
349
|
|
|
303
|
-
declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
350
|
+
declare const Search: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
304
351
|
|
|
305
352
|
declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
306
353
|
|
|
307
|
-
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
354
|
+
declare const ShoppingBag: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
308
355
|
|
|
309
356
|
declare const ShoppingCart: FC<IconProps>;
|
|
310
357
|
|
|
@@ -312,12 +359,21 @@ declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
312
359
|
|
|
313
360
|
declare const Hamburger: FC<IconProps>;
|
|
314
361
|
|
|
362
|
+
declare const AddressInformation: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
363
|
+
|
|
364
|
+
declare const ClubMembership: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
365
|
+
|
|
366
|
+
declare const Benefits: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
367
|
+
|
|
315
368
|
declare const Navigation_Search: typeof Search;
|
|
316
369
|
declare const Navigation_User: typeof User;
|
|
317
370
|
declare const Navigation_ShoppingBag: typeof ShoppingBag;
|
|
318
371
|
declare const Navigation_ShoppingCart: typeof ShoppingCart;
|
|
319
372
|
declare const Navigation_MapMarker: typeof MapMarker;
|
|
320
373
|
declare const Navigation_Hamburger: typeof Hamburger;
|
|
374
|
+
declare const Navigation_AddressInformation: typeof AddressInformation;
|
|
375
|
+
declare const Navigation_ClubMembership: typeof ClubMembership;
|
|
376
|
+
declare const Navigation_Benefits: typeof Benefits;
|
|
321
377
|
declare namespace Navigation {
|
|
322
378
|
export {
|
|
323
379
|
Navigation_Search as Search,
|
|
@@ -326,6 +382,9 @@ declare namespace Navigation {
|
|
|
326
382
|
Navigation_ShoppingCart as ShoppingCart,
|
|
327
383
|
Navigation_MapMarker as MapMarker,
|
|
328
384
|
Navigation_Hamburger as Hamburger,
|
|
385
|
+
Navigation_AddressInformation as AddressInformation,
|
|
386
|
+
Navigation_ClubMembership as ClubMembership,
|
|
387
|
+
Navigation_Benefits as Benefits,
|
|
329
388
|
};
|
|
330
389
|
}
|
|
331
390
|
|
|
@@ -342,11 +401,11 @@ interface IconWrapperProps {
|
|
|
342
401
|
viewBoxX: number;
|
|
343
402
|
viewBoxY: number;
|
|
344
403
|
children: React.ReactNode;
|
|
345
|
-
|
|
404
|
+
testId?: string;
|
|
346
405
|
fill?: string;
|
|
347
406
|
}
|
|
348
407
|
|
|
349
|
-
declare const Mail: ({ height, width }: IconWrapperProps) => JSX.Element;
|
|
408
|
+
declare const Mail: ({ height, width, }: Pick<IconWrapperProps, 'width' | 'height'>) => JSX.Element;
|
|
350
409
|
|
|
351
410
|
declare const Messaging_QuestionCircle: typeof QuestionCircle;
|
|
352
411
|
declare const Messaging_Messenger: typeof Messenger;
|
|
@@ -416,7 +475,16 @@ declare namespace SlideDots {
|
|
|
416
475
|
};
|
|
417
476
|
}
|
|
418
477
|
|
|
419
|
-
declare
|
|
478
|
+
declare const Thinking: ({ height, width }: IconProps$1) => JSX.Element;
|
|
479
|
+
|
|
480
|
+
declare const Emoji_Thinking: typeof Thinking;
|
|
481
|
+
declare namespace Emoji {
|
|
482
|
+
export {
|
|
483
|
+
Emoji_Thinking as Thinking,
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
420
488
|
declare const Icon: {
|
|
421
489
|
Custom: typeof Custom;
|
|
422
490
|
Arrows: typeof Arrows;
|
|
@@ -429,6 +497,7 @@ declare const Icon: {
|
|
|
429
497
|
Download: typeof Download;
|
|
430
498
|
Payment: typeof Payment;
|
|
431
499
|
SlideDots: typeof SlideDots;
|
|
500
|
+
Emoji: typeof Emoji;
|
|
432
501
|
};
|
|
433
502
|
|
|
434
503
|
interface CardBodyProps {
|
|
@@ -499,8 +568,9 @@ interface SizeFitGuideProps {
|
|
|
499
568
|
title: string;
|
|
500
569
|
fitPercentage?: number;
|
|
501
570
|
onClick: () => void;
|
|
571
|
+
onClickFitPercentage?: () => void;
|
|
502
572
|
}
|
|
503
|
-
declare const SizeFitGuide: ({ title, fitPercentage, onClick }: SizeFitGuideProps) => JSX.Element;
|
|
573
|
+
declare const SizeFitGuide: ({ title, fitPercentage, onClick, onClickFitPercentage, }: SizeFitGuideProps) => JSX.Element;
|
|
504
574
|
|
|
505
575
|
interface BaseButtonProps {
|
|
506
576
|
children: React.ReactNode;
|
|
@@ -511,6 +581,7 @@ interface BaseButtonProps {
|
|
|
511
581
|
onClick: () => void;
|
|
512
582
|
className?: string;
|
|
513
583
|
inline?: boolean;
|
|
584
|
+
uppercase?: boolean;
|
|
514
585
|
testId?: string;
|
|
515
586
|
}
|
|
516
587
|
|
|
@@ -521,8 +592,9 @@ interface TextButtonProps$1 extends BaseProps {
|
|
|
521
592
|
TrailingIcon?: IconType;
|
|
522
593
|
iconColor?: string;
|
|
523
594
|
size?: ComponentSize;
|
|
595
|
+
uppercase?: boolean;
|
|
524
596
|
}
|
|
525
|
-
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
597
|
+
declare const TextButton: ({ text, LeadingIcon, TrailingIcon, iconColor, disabled, type, size, uppercase, onClick, }: TextButtonProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
526
598
|
|
|
527
599
|
interface DiscountTagProps {
|
|
528
600
|
discount: number;
|
|
@@ -541,8 +613,9 @@ interface PriceLabelProps {
|
|
|
541
613
|
color?: string;
|
|
542
614
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
543
615
|
discount?: DiscountTagProps;
|
|
616
|
+
testId?: string;
|
|
544
617
|
}
|
|
545
|
-
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
|
|
618
|
+
declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, testId, size, }: PriceLabelProps) => JSX.Element;
|
|
546
619
|
|
|
547
620
|
interface ColorPickerProps {
|
|
548
621
|
options: ColorPickerOption[];
|
|
@@ -564,12 +637,13 @@ declare const MultiColorPicker: ({ options, label, selectedValue, onChange, }: M
|
|
|
564
637
|
interface ProductGalleryProps {
|
|
565
638
|
images: ImageType[];
|
|
566
639
|
selectedValue?: ImageType;
|
|
567
|
-
|
|
568
|
-
|
|
640
|
+
topTag?: JSX.Element;
|
|
641
|
+
bottomTag?: JSX.Element;
|
|
569
642
|
productImageDataTestId?: string;
|
|
570
643
|
previewListDataTestId?: string;
|
|
644
|
+
thumbnailPosition?: 'vertical' | 'horizontal';
|
|
571
645
|
}
|
|
572
|
-
declare const ProductGallery: ({ images, selectedValue,
|
|
646
|
+
declare const ProductGallery: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, previewListDataTestId, thumbnailPosition, }: ProductGalleryProps) => JSX.Element;
|
|
573
647
|
|
|
574
648
|
interface RatingProps {
|
|
575
649
|
rating: number;
|
|
@@ -577,8 +651,10 @@ interface RatingProps {
|
|
|
577
651
|
reviews: number;
|
|
578
652
|
reviewsText: string;
|
|
579
653
|
wrapWithParenthesis?: boolean;
|
|
654
|
+
underline?: boolean;
|
|
655
|
+
reviewsContainerId?: string;
|
|
580
656
|
}
|
|
581
|
-
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, }: RatingProps) => JSX.Element;
|
|
657
|
+
declare const Rating: ({ size, reviews, reviewsText, rating, wrapWithParenthesis, underline, reviewsContainerId, }: RatingProps) => JSX.Element;
|
|
582
658
|
|
|
583
659
|
interface FitPredictorProps {
|
|
584
660
|
onClick: () => void;
|
|
@@ -776,6 +852,12 @@ declare type ThemeComponent = {
|
|
|
776
852
|
lineHeight: string;
|
|
777
853
|
border: string;
|
|
778
854
|
boxShadow: string;
|
|
855
|
+
errorBorder: string;
|
|
856
|
+
};
|
|
857
|
+
inputPlaceholder: {
|
|
858
|
+
fontSize: string;
|
|
859
|
+
padding: string;
|
|
860
|
+
focusBorder: string;
|
|
779
861
|
};
|
|
780
862
|
inputCustom: {
|
|
781
863
|
button: {
|
|
@@ -1014,8 +1096,10 @@ declare type ThemeComponent = {
|
|
|
1014
1096
|
packSelector: {
|
|
1015
1097
|
borderRadius: string;
|
|
1016
1098
|
borderColor: string;
|
|
1017
|
-
|
|
1018
|
-
|
|
1099
|
+
highlightColor: string;
|
|
1100
|
+
selectedColor: string;
|
|
1101
|
+
selectedContrast: string;
|
|
1102
|
+
tagColor: string;
|
|
1019
1103
|
};
|
|
1020
1104
|
};
|
|
1021
1105
|
declare type ThemeTypography = {
|
|
@@ -1090,10 +1174,11 @@ interface MinimalisticProps {
|
|
|
1090
1174
|
discount: number;
|
|
1091
1175
|
offText: string;
|
|
1092
1176
|
widthAuto?: boolean;
|
|
1177
|
+
testId?: string;
|
|
1093
1178
|
}
|
|
1094
1179
|
|
|
1095
1180
|
declare const Bundle: {
|
|
1096
|
-
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
|
|
1181
|
+
Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, testId, }: MinimalisticProps) => JSX.Element;
|
|
1097
1182
|
Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
|
|
1098
1183
|
};
|
|
1099
1184
|
|
|
@@ -1133,6 +1218,9 @@ interface BaseInputCommmonProps {
|
|
|
1133
1218
|
required?: string;
|
|
1134
1219
|
children?: React.ReactNode;
|
|
1135
1220
|
size?: 'regular' | 'small';
|
|
1221
|
+
inlinePlaceholder?: boolean;
|
|
1222
|
+
hasError?: boolean;
|
|
1223
|
+
inputType?: 'text' | 'email' | 'password' | 'url';
|
|
1136
1224
|
}
|
|
1137
1225
|
interface BaseInputControlled extends BaseInputCommmonProps {
|
|
1138
1226
|
value: string;
|
|
@@ -1166,6 +1254,7 @@ interface BaseCTAProps {
|
|
|
1166
1254
|
size?: ComponentSize;
|
|
1167
1255
|
text: string;
|
|
1168
1256
|
type?: ButtonType;
|
|
1257
|
+
inline?: boolean;
|
|
1169
1258
|
testId?: string;
|
|
1170
1259
|
}
|
|
1171
1260
|
|
|
@@ -1180,7 +1269,7 @@ declare type CustomProps = BaseInputProps & {
|
|
|
1180
1269
|
};
|
|
1181
1270
|
|
|
1182
1271
|
declare const Input: {
|
|
1183
|
-
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
|
|
1272
|
+
Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, ...rest }: BaseInputProps) => JSX.Element;
|
|
1184
1273
|
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1185
1274
|
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1186
1275
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|
|
@@ -1314,19 +1403,22 @@ interface ReviewProps {
|
|
|
1314
1403
|
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1315
1404
|
|
|
1316
1405
|
interface SliderNavigationProps {
|
|
1317
|
-
children: JSX.Element[]
|
|
1406
|
+
children: JSX.Element | JSX.Element[] | StyledComponent<any>;
|
|
1318
1407
|
infinite: boolean;
|
|
1319
1408
|
adaptiveHeight: boolean;
|
|
1320
|
-
dotsSize
|
|
1321
|
-
dotListMarginTop
|
|
1409
|
+
dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1410
|
+
dotListMarginTop?: number;
|
|
1322
1411
|
initialSlide?: number;
|
|
1323
1412
|
arrows?: {
|
|
1324
1413
|
arrowWidth: number;
|
|
1325
1414
|
arrowHeight: number;
|
|
1326
1415
|
arrowPadding: number;
|
|
1327
1416
|
};
|
|
1417
|
+
dots?: boolean;
|
|
1418
|
+
slidesToShow?: number;
|
|
1419
|
+
speed?: number;
|
|
1328
1420
|
}
|
|
1329
|
-
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1421
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1330
1422
|
|
|
1331
1423
|
interface DropdownListIconsProps {
|
|
1332
1424
|
items: DropdownListIconsItem[];
|
|
@@ -1380,8 +1472,8 @@ interface ProductItemProps {
|
|
|
1380
1472
|
price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
|
|
1381
1473
|
rating: Pick<RatingProps, 'rating' | 'reviews'>;
|
|
1382
1474
|
tags?: {
|
|
1383
|
-
categoryTagText
|
|
1384
|
-
seasonOfferTagText
|
|
1475
|
+
categoryTagText?: string;
|
|
1476
|
+
seasonOfferTagText?: string;
|
|
1385
1477
|
};
|
|
1386
1478
|
alignName?: 'left' | 'center';
|
|
1387
1479
|
url?: string;
|
|
@@ -1390,6 +1482,9 @@ interface ProductItemProps {
|
|
|
1390
1482
|
|
|
1391
1483
|
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1392
1484
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
1485
|
+
topTag?: JSX.Element;
|
|
1486
|
+
bottomTag?: JSX.Element;
|
|
1487
|
+
onClick?: () => void;
|
|
1393
1488
|
}
|
|
1394
1489
|
|
|
1395
1490
|
declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
|
|
@@ -1398,7 +1493,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
1398
1493
|
};
|
|
1399
1494
|
|
|
1400
1495
|
declare const Collection: {
|
|
1401
|
-
ProductItemMobile: ({ title, image, price, rating, size,
|
|
1496
|
+
ProductItemMobile: ({ title, image, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1402
1497
|
withProductGrid: typeof withProductGrid;
|
|
1403
1498
|
};
|
|
1404
1499
|
|
|
@@ -1556,6 +1651,7 @@ declare type TextTagProps = {
|
|
|
1556
1651
|
declare type TextProps = AriaAttributes & {
|
|
1557
1652
|
style?: CSSProperties;
|
|
1558
1653
|
className?: string;
|
|
1654
|
+
testId?: string;
|
|
1559
1655
|
} & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
|
|
1560
1656
|
|
|
1561
1657
|
interface SearchBarProps {
|
|
@@ -1563,19 +1659,23 @@ interface SearchBarProps {
|
|
|
1563
1659
|
resultOptions: SearchBarOptionItem[];
|
|
1564
1660
|
onChange: (text: string) => void;
|
|
1565
1661
|
onSearch: (term: string) => void;
|
|
1662
|
+
onClose: () => void;
|
|
1566
1663
|
resultsPanelDataTestId?: string;
|
|
1664
|
+
allResults?: number;
|
|
1665
|
+
initialTerm?: string;
|
|
1666
|
+
shouldClear?: boolean;
|
|
1567
1667
|
}
|
|
1568
|
-
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
|
|
1668
|
+
declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, onClose, resultsPanelDataTestId, allResults, initialTerm, shouldClear, }: SearchBarProps) => JSX.Element;
|
|
1569
1669
|
|
|
1570
1670
|
interface ProductGalleryMobileProps {
|
|
1571
1671
|
images: ImageType[];
|
|
1572
1672
|
selectedValue?: ImageType;
|
|
1573
|
-
|
|
1574
|
-
|
|
1673
|
+
topTag?: JSX.Element;
|
|
1674
|
+
bottomTag?: JSX.Element;
|
|
1575
1675
|
productImageDataTestId?: string;
|
|
1576
1676
|
slideDotsDataTestId?: string;
|
|
1577
1677
|
}
|
|
1578
|
-
declare const ProductGalleryMobile: ({ images, selectedValue,
|
|
1678
|
+
declare const ProductGalleryMobile: ({ images, selectedValue, topTag, bottomTag, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
|
|
1579
1679
|
|
|
1580
1680
|
interface RadioProps {
|
|
1581
1681
|
name: string;
|
|
@@ -1592,22 +1692,32 @@ declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange
|
|
|
1592
1692
|
declare type PortalProps = {
|
|
1593
1693
|
id: string;
|
|
1594
1694
|
className?: string;
|
|
1695
|
+
overflow?: boolean;
|
|
1696
|
+
style?: CSSProperties;
|
|
1595
1697
|
};
|
|
1596
1698
|
declare const Portal: FC<PortalProps>;
|
|
1597
1699
|
|
|
1598
1700
|
declare type ModalProps = {
|
|
1599
1701
|
id: string;
|
|
1600
1702
|
dismissable?: boolean;
|
|
1703
|
+
maxFullScreen?: boolean;
|
|
1601
1704
|
};
|
|
1705
|
+
interface ContainerProps {
|
|
1706
|
+
maxFullScreen: boolean;
|
|
1707
|
+
opened?: boolean;
|
|
1708
|
+
}
|
|
1602
1709
|
declare const Overlay: _emotion_styled.StyledComponent<{
|
|
1603
1710
|
theme?: _emotion_react.Theme | undefined;
|
|
1604
1711
|
as?: React.ElementType<any> | undefined;
|
|
1605
|
-
} & {
|
|
1606
|
-
opened?: boolean | undefined;
|
|
1607
|
-
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1712
|
+
} & Pick<ContainerProps, "opened">, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1608
1713
|
declare const Modal: FC<ModalProps>;
|
|
1609
1714
|
declare const modalEvent: (id: string, detail: Omit<Events['modal'], 'id'>) => void;
|
|
1610
|
-
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1715
|
+
declare const useModalEvent: (id: string, cb: (event: CustomEvent<Events['modal']>) => void) => void;
|
|
1716
|
+
declare const useModal: (id: string) => {
|
|
1717
|
+
opened: boolean;
|
|
1718
|
+
open: () => void;
|
|
1719
|
+
close: () => void;
|
|
1720
|
+
};
|
|
1611
1721
|
|
|
1612
1722
|
interface CloseButtonProps {
|
|
1613
1723
|
onClick: () => void;
|
|
@@ -1646,8 +1756,9 @@ declare type QuantityPickerPropsUncontrolled = {
|
|
|
1646
1756
|
declare type QuantityPickerProps = {
|
|
1647
1757
|
initialValue?: number;
|
|
1648
1758
|
maxValue?: number;
|
|
1759
|
+
testId?: string;
|
|
1649
1760
|
} & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
|
|
1650
|
-
declare const QuantityPicker: ({ initialValue, maxValue, value, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1761
|
+
declare const QuantityPicker: ({ initialValue, maxValue, value, testId, onChange, }: QuantityPickerProps) => JSX.Element;
|
|
1651
1762
|
|
|
1652
1763
|
declare type SpacingProps = {
|
|
1653
1764
|
size: number;
|
|
@@ -1675,6 +1786,53 @@ interface PackSelectorProps {
|
|
|
1675
1786
|
}
|
|
1676
1787
|
declare const PackSelector: FC<PackSelectorProps>;
|
|
1677
1788
|
|
|
1789
|
+
interface FiltersProps {
|
|
1790
|
+
values: Filter[];
|
|
1791
|
+
onChange: (newValues: Filter[], filtersState?: FilterChange) => void;
|
|
1792
|
+
tagsColor?: string;
|
|
1793
|
+
filterByText: string;
|
|
1794
|
+
clearAllText: string;
|
|
1795
|
+
filtersSelectText: string;
|
|
1796
|
+
isMobile: boolean;
|
|
1797
|
+
applyText: string;
|
|
1798
|
+
mobileBackArrowClick: () => void;
|
|
1799
|
+
mobileApplyButtonClick: () => void;
|
|
1800
|
+
onResetValues: () => void;
|
|
1801
|
+
}
|
|
1802
|
+
declare const Filters: ({ values, onChange, tagsColor, filterByText, clearAllText, isMobile, filtersSelectText, applyText, mobileApplyButtonClick, mobileBackArrowClick, onResetValues, }: FiltersProps) => JSX.Element;
|
|
1803
|
+
|
|
1804
|
+
interface SearchNavigationProps {
|
|
1805
|
+
returnText?: string;
|
|
1806
|
+
returnUrl?: string;
|
|
1807
|
+
steps?: string[];
|
|
1808
|
+
returnAction?: () => void;
|
|
1809
|
+
}
|
|
1810
|
+
declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
|
|
1811
|
+
|
|
1812
|
+
interface TabProps$1 {
|
|
1813
|
+
title: string;
|
|
1814
|
+
content: ReactNode;
|
|
1815
|
+
}
|
|
1816
|
+
interface TabsProps {
|
|
1817
|
+
backgroundColor?: string;
|
|
1818
|
+
initialSelected?: string;
|
|
1819
|
+
tabsMaxWidth?: string;
|
|
1820
|
+
tabs: TabProps$1[];
|
|
1821
|
+
}
|
|
1822
|
+
declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
|
|
1823
|
+
|
|
1824
|
+
interface TabProps {
|
|
1825
|
+
title: string;
|
|
1826
|
+
titleSize?: string;
|
|
1827
|
+
selectedTitleWeight?: number;
|
|
1828
|
+
height?: string;
|
|
1829
|
+
selected?: boolean;
|
|
1830
|
+
color?: string;
|
|
1831
|
+
tabsMaxWidth?: string;
|
|
1832
|
+
onClick: (clickedTab: string) => void;
|
|
1833
|
+
}
|
|
1834
|
+
declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
|
|
1835
|
+
|
|
1678
1836
|
declare global {
|
|
1679
1837
|
interface Events {
|
|
1680
1838
|
modal: {
|
|
@@ -1714,4 +1872,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
|
|
|
1714
1872
|
currency?: string | undefined;
|
|
1715
1873
|
}) => string;
|
|
1716
1874
|
|
|
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 };
|
|
1875
|
+
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, Tab, Tabs, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
package/build/index.esm.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;}
|