@trafilea/afrodita-components 5.0.0-beta.25 → 5.0.0-beta.251

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.
@@ -0,0 +1,1084 @@
1
+ 'use strict';
2
+
3
+ /*! *****************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */
17
+
18
+ var __assign = function() {
19
+ __assign = Object.assign || function __assign(t) {
20
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
21
+ s = arguments[i];
22
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+
29
+ var CardSectionType;
30
+ (function (CardSectionType) {
31
+ CardSectionType[CardSectionType["Header"] = 0] = "Header";
32
+ CardSectionType[CardSectionType["Footer"] = 1] = "Footer";
33
+ })(CardSectionType || (CardSectionType = {}));
34
+ var ComponentSize;
35
+ (function (ComponentSize) {
36
+ ComponentSize["Large"] = "large";
37
+ ComponentSize["Medium"] = "medium";
38
+ ComponentSize["Small"] = "small";
39
+ ComponentSize["XSmall"] = "xsmall";
40
+ })(ComponentSize || (ComponentSize = {}));
41
+ var ComponentPosition;
42
+ (function (ComponentPosition) {
43
+ ComponentPosition[ComponentPosition["Top"] = 0] = "Top";
44
+ ComponentPosition[ComponentPosition["Bottom"] = 1] = "Bottom";
45
+ ComponentPosition[ComponentPosition["Left"] = 2] = "Left";
46
+ ComponentPosition[ComponentPosition["Right"] = 3] = "Right";
47
+ })(ComponentPosition || (ComponentPosition = {}));
48
+ var InputValidationType;
49
+ (function (InputValidationType) {
50
+ InputValidationType[InputValidationType["Error"] = 0] = "Error";
51
+ InputValidationType[InputValidationType["Valid"] = 1] = "Valid";
52
+ InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
+ })(InputValidationType || (InputValidationType = {}));
54
+
55
+ var tsd = {
56
+ name: 'TheSpaDr',
57
+ fontSizes: [8, 10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
58
+ fontWeights: [400, 600, 500, 700, 900],
59
+ lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
60
+ mediaQueries: {
61
+ mobile: 768,
62
+ tablet: 900,
63
+ desktop: 1200,
64
+ },
65
+ radius: {
66
+ regular: '8px',
67
+ },
68
+ zIndex: {
69
+ modal: 50,
70
+ overlay: 49,
71
+ },
72
+ colors: {
73
+ pallete: {
74
+ primary: {
75
+ color: '#8bb948',
76
+ contrast: '--colors-shades-white-color',
77
+ soft: {
78
+ color: '#F3F8ED',
79
+ contrast: '--colors-shades-700-color',
80
+ },
81
+ 20: {
82
+ color: '#E8F1DA',
83
+ contrast: '--colors-shades-700-color',
84
+ },
85
+ 40: {
86
+ color: '#E3EED3',
87
+ contrast: '--colors-shades-700-color',
88
+ },
89
+ 60: {
90
+ color: '#B9D591',
91
+ contrast: '--colors-shades-700-color',
92
+ },
93
+ 80: {
94
+ color: '#A2C76D',
95
+ contrast: '--colors-shades-700-color',
96
+ },
97
+ },
98
+ secondary: {
99
+ color: '#18444C',
100
+ contrast: '--colors-shades-white-color',
101
+ soft: {
102
+ color: '#215170',
103
+ contrast: '--colors-shades-700-color',
104
+ },
105
+ 20: {
106
+ color: '#18444c33',
107
+ contrast: '--colors-shades-700-color',
108
+ soft: {
109
+ color: '#21517033',
110
+ contrast: '--colors-shades-700-color',
111
+ },
112
+ },
113
+ 40: {
114
+ color: '#18444c66',
115
+ contrast: '--colors-shades-700-color',
116
+ soft: {
117
+ color: '#21517066',
118
+ contrast: '--colors-shades-700-color',
119
+ },
120
+ },
121
+ 60: {
122
+ color: '#18444c99',
123
+ contrast: '--colors-shades-700-color',
124
+ soft: {
125
+ color: '#21517099',
126
+ contrast: '--colors-shades-700-color',
127
+ },
128
+ },
129
+ 80: {
130
+ color: '#18444ccc',
131
+ contrast: '--colors-shades-700-color',
132
+ soft: {
133
+ color: '#215170cc',
134
+ contrast: '--colors-shades-700-color',
135
+ },
136
+ },
137
+ },
138
+ tertiary: __assign({
139
+ color: '#292929',
140
+ contrast: '--colors-shades-white-color',
141
+ soft: {
142
+ color: '#bbbbbb',
143
+ contrast: '--colors-shades-700-color',
144
+ },
145
+ }, { 20: {
146
+ color: '#d4d4d4',
147
+ contrast: '--colors-shades-700-color',
148
+ soft: {
149
+ color: '#f1f1f1',
150
+ contrast: '--colors-shades-700-color',
151
+ },
152
+ }, 40: {
153
+ color: '#a9a9a9',
154
+ contrast: '--colors-shades-700-color',
155
+ soft: {
156
+ color: '#e4e4e4',
157
+ contrast: '--colors-shades-700-color',
158
+ },
159
+ }, 60: {
160
+ color: '#7f7f7f',
161
+ contrast: '--colors-shades-white-color',
162
+ soft: {
163
+ color: '#d6d6d6',
164
+ contrast: '--colors-shades-700-color',
165
+ },
166
+ }, 80: {
167
+ color: '#545454',
168
+ contrast: '--colors-shades-white-color',
169
+ soft: {
170
+ color: '#c9c9c9',
171
+ contrast: '--colors-shades-700-color',
172
+ },
173
+ } }),
174
+ gold: {
175
+ color: '#BFB26F',
176
+ contrast: '--colors-shades-white-color',
177
+ soft: {
178
+ color: '#CCC485',
179
+ contrast: '--colors-shades-white-color',
180
+ },
181
+ },
182
+ neutral: {
183
+ color: '#F7F4F2',
184
+ contrast: '#686872',
185
+ },
186
+ turquoise: {
187
+ color: '#83C6BD',
188
+ contrast: '--colors-shades-white-color',
189
+ },
190
+ mint: {
191
+ color: '#11444C',
192
+ contrast: '--colors-shades-white-color',
193
+ soft: {
194
+ color: '#C5DCA3',
195
+ contrast: '--colors-shades-700-color',
196
+ },
197
+ },
198
+ dardOceanBlue: {
199
+ color: '#215170',
200
+ contrast: '--colors-shades-white-color',
201
+ soft: {
202
+ color: '#416970',
203
+ contrast: '--colors-shades-700-color',
204
+ },
205
+ },
206
+ lightGray: {
207
+ color: '#F6F4F5',
208
+ contrast: '--colors-shades-700-color',
209
+ },
210
+ },
211
+ shades: {
212
+ black: { color: '#000', contrast: '--colors-shades-white-color' },
213
+ white: { color: '#fff', contrast: '--colors-shades-700-color' },
214
+ 5: { color: '#fafafa', contrast: '--colors-shades-700-color' },
215
+ 10: { color: '#f7f7f7', contrast: '--colors-shades-700-color' },
216
+ 50: { color: '#efefef', contrast: '--colors-shades-700-color' },
217
+ 100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
218
+ 150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
219
+ 175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
220
+ 200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
221
+ 250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
222
+ 300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
223
+ 350: { color: '#949494', contrast: '--colors-shades-white-color' },
224
+ 400: { color: '#808080', contrast: '--colors-shades-white-color' },
225
+ 450: { color: '#767676', contrast: '--colors-shades-white-color' },
226
+ 500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
227
+ 550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
228
+ 600: { color: '#343434', contrast: '--colors-shades-white-color' },
229
+ 650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
230
+ 700: { color: '#292929', contrast: '--colors-shades-white-color' },
231
+ 750: { color: '#232323', contrast: '--colors-shades-white-color' },
232
+ 800: { color: '#202020', contrast: '--colors-shades-white-color' },
233
+ 850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
234
+ 900: { color: '#191919', contrast: '--colors-shades-white-color' },
235
+ 950: { color: '#141414', contrast: '--colors-shades-white-color' },
236
+ 990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
237
+ },
238
+ semantic: {
239
+ positive: { color: '#2F806A', contrast: '--colors-shades-white-color' },
240
+ urgent: { color: '#D82A2D', contrast: '--colors-shades-white-color' },
241
+ attention: { color: '#F2D96F', contrast: '--colors-shades-700-color' },
242
+ informative: { color: '#0A609B', contrast: '--colors-shades-700-color' },
243
+ },
244
+ border: {
245
+ color: '',
246
+ disabled: '--colors-shades-200-color',
247
+ highlight: '#8BBEEA',
248
+ shadow: '#DAEEEB',
249
+ },
250
+ background: {
251
+ color: '--colors-shades-white-color',
252
+ disabled: '--colors-shades-50-color',
253
+ },
254
+ text: {
255
+ color: '--colors-shades-700-color',
256
+ disabled: '--colors-shades-250-color',
257
+ },
258
+ },
259
+ component: {
260
+ button: {
261
+ border: 'none',
262
+ borderRadius: '8px',
263
+ fontWeight: 700,
264
+ lineHeight: 'normal',
265
+ letterSpacing: 'normal',
266
+ minWidth: 'unset',
267
+ minHeight: 'unset',
268
+ size: {
269
+ small: {
270
+ fontSize: '0.75rem',
271
+ padding: '0.625rem 2rem',
272
+ },
273
+ medium: {
274
+ fontSize: '14px',
275
+ padding: '10px 36px',
276
+ },
277
+ large: {
278
+ fontSize: '16px',
279
+ padding: '14px 42px',
280
+ },
281
+ },
282
+ primary: {
283
+ active: {
284
+ backgroundColor: '--colors-pallete-primary-color',
285
+ color: '--colors-pallete-primary-contrast',
286
+ },
287
+ hover: {
288
+ backgroundColor: '--colors-pallete-primary-soft-color',
289
+ color: '--colors-pallete-primary-soft-contrast',
290
+ },
291
+ },
292
+ secondary: {
293
+ active: {
294
+ backgroundColor: '--colors-pallete-secondary-color',
295
+ color: '--colors-pallete-secondary-contrast',
296
+ },
297
+ hover: {
298
+ backgroundColor: '--colors-pallete-tertiary-color',
299
+ color: '--colors-pallete-tertiary-contrast',
300
+ },
301
+ },
302
+ },
303
+ input: {
304
+ background: '--colors-shades-white-color',
305
+ color: '--colors-shades-700-color',
306
+ placeholderColor: '--colors-shades-250-color',
307
+ borderRadius: '8px',
308
+ fontSize: '16px',
309
+ fontWeight: 400,
310
+ padding: '0.75rem 1.1rem',
311
+ lineHeight: '1.5rem',
312
+ border: '0.063rem solid var(--colors-shades-200-color)',
313
+ boxShadow: '0px 0px 0px 3px var(--colors-border-shadow)',
314
+ errorBorder: '0.09375rem solid #d3373c',
315
+ },
316
+ inputPlaceholder: {
317
+ fontSize: '0.875rem',
318
+ padding: '1.125rem 0.9375rem 0 0.9375rem',
319
+ focusBorder: '0.09375rem solid #1990c6',
320
+ },
321
+ inputCustom: {
322
+ button: {
323
+ borderRadius: '8px',
324
+ },
325
+ input: {
326
+ borderRadius: '24px 1rem 1rem 24px',
327
+ },
328
+ },
329
+ selector: {
330
+ size: {
331
+ small: {
332
+ padding: '0.625rem 1.25rem',
333
+ borderRadius: '0.5rem',
334
+ },
335
+ medium: {
336
+ padding: '0.25rem 1rem',
337
+ borderRadius: '0.375rem',
338
+ },
339
+ },
340
+ default: {
341
+ fontWeight: 600,
342
+ border: '0.063rem solid var(--colors-shades-250-color)',
343
+ background: '--colors-shades-white-color',
344
+ color: '--colors-shades-700-color',
345
+ },
346
+ hover: {
347
+ fontWeight: 600,
348
+ background: '--colors-shades-700-color',
349
+ border: 'none',
350
+ color: '--colors-shades-white-color',
351
+ },
352
+ noStock: {
353
+ fontWeight: 600,
354
+ background: 'transparent',
355
+ border: '1px solid #3a3a3a4d',
356
+ color: '#3a3a3a4d',
357
+ },
358
+ disabled: {
359
+ border: 'none',
360
+ },
361
+ fontSize: '0.75rem',
362
+ },
363
+ rating: {
364
+ fontWeight: 400,
365
+ size: {
366
+ xsmall: {
367
+ fontSize: '0.625rem',
368
+ lineHeight: '0.625rem',
369
+ },
370
+ small: {
371
+ fontSize: '0.875rem',
372
+ lineHeight: '0.875rem',
373
+ },
374
+ medium: {
375
+ fontSize: '1rem',
376
+ lineHeight: '1rem',
377
+ },
378
+ large: {
379
+ fontSize: '1.125rem',
380
+ lineHeight: '1.125rem',
381
+ },
382
+ },
383
+ },
384
+ stars: {
385
+ element: {
386
+ color: '#F2D96F',
387
+ xsmall: {
388
+ width: '0.656rem',
389
+ height: '0.656rem',
390
+ marginRight: '0.156rem',
391
+ },
392
+ small: {
393
+ width: '0.875rem',
394
+ height: '0.875rem',
395
+ marginRight: '0.25rem',
396
+ },
397
+ medium: {
398
+ width: '1.375rem',
399
+ height: '1.375rem',
400
+ marginRight: '0.375rem',
401
+ },
402
+ large: {
403
+ width: '2.375rem',
404
+ height: '2.375rem',
405
+ marginRight: '0.375rem',
406
+ },
407
+ },
408
+ },
409
+ card: {
410
+ borderRadius: '20px',
411
+ backgroundColor: '--colors-pallete-primary-color',
412
+ },
413
+ radio: {
414
+ borderColor: '--colors-pallete-primary-color',
415
+ background: '--colors-shades-white-color',
416
+ textSize: '16px',
417
+ lineHeight: 'normal',
418
+ size: {
419
+ large: {
420
+ borderWidth: '0.094rem',
421
+ margin: '0.5rem',
422
+ height: '2.25rem',
423
+ active: {
424
+ borderWidth: '0.875rem',
425
+ },
426
+ },
427
+ medium: {
428
+ borderWidth: '0.094rem',
429
+ margin: '0.375rem',
430
+ height: '1.375rem',
431
+ active: {
432
+ borderWidth: '0.5rem',
433
+ },
434
+ },
435
+ small: {
436
+ borderWidth: '0.063rem',
437
+ margin: '0.375rem',
438
+ height: '0.875rem',
439
+ active: {
440
+ borderWidth: '0.313rem',
441
+ },
442
+ },
443
+ },
444
+ },
445
+ label: {
446
+ color: '--colors-shades-400-color',
447
+ fontSize: {
448
+ small: '0.75rem',
449
+ medium: '0.75rem',
450
+ large: '0.875rem',
451
+ },
452
+ lineHeight: {
453
+ small: '1rem',
454
+ medium: '1rem',
455
+ large: '1.125rem',
456
+ },
457
+ },
458
+ checkbox: {
459
+ background: '--colors-shades-white-color',
460
+ borderColor: '--colors-shades-700-color',
461
+ active: {
462
+ background: '--colors-shades-700-color',
463
+ },
464
+ size: {
465
+ large: {
466
+ width: '1.8rem',
467
+ height: '1.8rem',
468
+ borderRadius: '0.25rem',
469
+ borderWidth: '0.094rem',
470
+ margin: '0.6rem',
471
+ icon: {
472
+ width: '1.1rem',
473
+ height: '0.8rem',
474
+ },
475
+ },
476
+ medium: {
477
+ width: '1.375rem',
478
+ height: '1.375rem',
479
+ borderRadius: '0.25rem',
480
+ borderWidth: '0.094rem',
481
+ margin: '0.438rem',
482
+ icon: {
483
+ width: '0.875rem',
484
+ height: '0.625rem',
485
+ },
486
+ },
487
+ small: {
488
+ width: '0.875rem',
489
+ height: '0.875rem',
490
+ borderRadius: '0.125rem',
491
+ borderWidth: '0.063rem',
492
+ margin: '0.563rem',
493
+ icon: {
494
+ width: '0.5rem',
495
+ height: '0.375rem',
496
+ },
497
+ },
498
+ },
499
+ },
500
+ accordion: {
501
+ variant: {
502
+ box: {
503
+ container: {
504
+ border: '0.063rem solid',
505
+ borderColor: '--colors-shades-100-color',
506
+ borderRadius: '0.25rem',
507
+ padding: '1.25rem 2rem',
508
+ },
509
+ summary: {
510
+ fontWeight: 600,
511
+ fontSize: '20px',
512
+ lineHeight: '28px',
513
+ color: '--colors-shades-700-color',
514
+ },
515
+ details: {
516
+ margin: '10px 0px 0px 0px',
517
+ },
518
+ icon: {
519
+ width: 1.5,
520
+ height: 1.5,
521
+ color: '--colors-shades-700-color',
522
+ },
523
+ },
524
+ simple: {
525
+ container: {
526
+ borderTop: '1px solid',
527
+ borderColor: '--colors-shades-100-color',
528
+ borderBottom: 'none',
529
+ borderRadius: 'none',
530
+ padding: '10px 0px',
531
+ },
532
+ summary: {
533
+ fontWeight: 400,
534
+ fontSize: '20px',
535
+ lineHeight: '28px',
536
+ color: '--colors-shades-700-color',
537
+ },
538
+ details: {
539
+ margin: '10px 0px 0px 0px',
540
+ },
541
+ icon: {
542
+ width: 1,
543
+ height: 1,
544
+ color: '--colors-shades-700-color',
545
+ },
546
+ },
547
+ },
548
+ },
549
+ dropdown: {
550
+ borderRadius: '8px',
551
+ fontSize: '16px',
552
+ fontWeight: 400,
553
+ lineHeight: '1.125rem',
554
+ padding: '12px 24px',
555
+ optionPadding: '0.75rem 1.2rem',
556
+ color: '--colors-shades-700-color',
557
+ fill: '--colors-shades-700-color',
558
+ options: {
559
+ borderColor: '--colors-shades-700-color',
560
+ color: '--colors-shades-700-color',
561
+ borderRadius: '0.5rem',
562
+ },
563
+ },
564
+ modal: {
565
+ minWidth: '540px',
566
+ },
567
+ packSelector: {
568
+ borderRadius: '8px',
569
+ borderColor: '--colors-shades-100-color',
570
+ highlightColor: '--colors-pallete-creamy-soft-color',
571
+ selectedColor: '--colors-semantic-positive-color',
572
+ selectedContrast: '--colors-semantic-positive-contrast',
573
+ tagColor: '--colors-semantic-attention-color',
574
+ },
575
+ slideNavigation: {
576
+ slideDots: {
577
+ unselectedDotColor: '--colors-shades-700-color',
578
+ selectedDotColor: '--colors-shades-white-color',
579
+ dotsOpacity: 0.6,
580
+ },
581
+ },
582
+ beforeAfter: {
583
+ size: {
584
+ small: {
585
+ image: {
586
+ minHeight: 'auto',
587
+ minWidth: '92px',
588
+ mobile: {
589
+ minHeight: '138px',
590
+ minWidth: '128px',
591
+ },
592
+ },
593
+ imageContainer: {
594
+ maxWidth: '214px',
595
+ padding: '12px',
596
+ mobile: {
597
+ maxWidth: '286px',
598
+ },
599
+ },
600
+ userInfoText: {
601
+ fontSize: '12px',
602
+ mobile: {
603
+ fontSize: '12px',
604
+ },
605
+ },
606
+ },
607
+ medium: {
608
+ image: {
609
+ minHeight: '200px',
610
+ minWidth: '187px',
611
+ mobile: {
612
+ minHeight: '157px',
613
+ minWidth: '150px',
614
+ },
615
+ },
616
+ imageContainer: {
617
+ maxWidth: '427px',
618
+ padding: '18px',
619
+ mobile: {
620
+ maxWidth: '342px',
621
+ },
622
+ },
623
+ userInfoText: {
624
+ fontSize: '18px',
625
+ mobile: {
626
+ fontSize: '14px',
627
+ },
628
+ },
629
+ },
630
+ large: {
631
+ image: {
632
+ minHeight: '200px',
633
+ minWidth: '187px',
634
+ mobile: {
635
+ minHeight: '157px',
636
+ minWidth: '150px',
637
+ },
638
+ },
639
+ imageContainer: {
640
+ maxWidth: '427px',
641
+ padding: '18px',
642
+ mobile: {
643
+ maxWidth: '342px',
644
+ },
645
+ },
646
+ userInfoText: {
647
+ fontSize: '18px',
648
+ mobile: {
649
+ fontSize: '14px',
650
+ },
651
+ },
652
+ },
653
+ },
654
+ },
655
+ total: {
656
+ basicTotal: {
657
+ amount: {
658
+ color: '--colors-shades-550-color',
659
+ fontSize: '24px',
660
+ },
661
+ currency: {
662
+ color: '--colors-shades-550-color',
663
+ fontSize: '14px',
664
+ lineHeight: '22px',
665
+ alignSelf: 'flex-end',
666
+ },
667
+ savings: {
668
+ textFontSize: '14px',
669
+ textLineHeight: '22px',
670
+ amountFontSize: '18px',
671
+ amountFontWeight: 700,
672
+ amountLineHeight: '20px',
673
+ color: '--colors-semantic-positive-color',
674
+ },
675
+ },
676
+ },
677
+ subTotal: {
678
+ basicSubTotal: {
679
+ family: 'Jost',
680
+ size: '16px',
681
+ weight: 700,
682
+ lineHeight: '20px',
683
+ color: '--colors-shades-550-color',
684
+ },
685
+ },
686
+ pricing: {
687
+ priceLabel: {
688
+ price: {
689
+ size: ComponentSize.Medium,
690
+ originalPriceColor: '--colors-shades-300-color',
691
+ actualPriceColor: '--colors-semantic-urgent-color',
692
+ },
693
+ },
694
+ },
695
+ orderSummary: {
696
+ headingTextAlign: 'center',
697
+ backgroundColor: '--colors-shades-10-color',
698
+ padding: '20px',
699
+ borderRadius: '--radius-regular',
700
+ maxWidth: '',
701
+ onMobile: {
702
+ maxWidth: '100%',
703
+ padding: '15px',
704
+ },
705
+ },
706
+ expressCheckout: {
707
+ fontFamily: 'Avenir Next',
708
+ fontWeight: 600,
709
+ lineHeight: '22px',
710
+ button: {
711
+ borderRadius: '15px',
712
+ },
713
+ },
714
+ copyrightText: {
715
+ fontSize: '14px',
716
+ fontWeight: 400,
717
+ lineHeight: '22px',
718
+ color: '--colors-shades-400-color',
719
+ },
720
+ textButton: {
721
+ fontWeight: 500,
722
+ lineHeight: 'normal',
723
+ },
724
+ deliveryDetails: {
725
+ title: {
726
+ fontSize: '1.125rem',
727
+ lineHeight: '1.75rem',
728
+ weight: 700,
729
+ },
730
+ note: {
731
+ accentColor: '--colors-semantic-urgent-color',
732
+ color: '--colors-text-color',
733
+ backgroundColor: '--colors-pallete-primary-20-color',
734
+ },
735
+ },
736
+ text: {
737
+ orderHeader: {
738
+ color: '--colors-pallete-primary-color',
739
+ },
740
+ },
741
+ orderBar: {
742
+ backgroundColor: '--colors-pallete-primary-color',
743
+ fontColor: '--colors-shades-white-color',
744
+ },
745
+ banner: {
746
+ outlineColor: '--colors-pallete-mint-soft-color',
747
+ filledColor: '--colors-pallete-mint-soft-color',
748
+ fontColor: '--colors-shades-700-color',
749
+ },
750
+ offerTitleText: {
751
+ size: '16px',
752
+ weight: 700,
753
+ lineHeight: '22px',
754
+ },
755
+ linePrice: {
756
+ color: '#8BB948',
757
+ badge: {
758
+ color: '#CCC485',
759
+ borderRadius: '6px',
760
+ },
761
+ },
762
+ divider: {
763
+ color: '--colors-pallete-tertiary-soft-color',
764
+ },
765
+ },
766
+ typography: {
767
+ config: {
768
+ weight: {
769
+ heavy: 900,
770
+ bold: 700,
771
+ demi: 600,
772
+ regular: 400,
773
+ },
774
+ },
775
+ variants: {
776
+ hero1: {
777
+ fontSize: 76,
778
+ lineHeight: '92px',
779
+ },
780
+ hero2: {
781
+ fontSize: 72,
782
+ lineHeight: '88px',
783
+ },
784
+ hero3: {
785
+ fontSize: 68,
786
+ lineHeight: '84px',
787
+ },
788
+ display1: {
789
+ fontSize: 60,
790
+ lineHeight: '76px',
791
+ },
792
+ display2: {
793
+ fontSize: 52,
794
+ lineHeight: '68px',
795
+ },
796
+ heading1: {
797
+ fontSize: 44,
798
+ lineHeight: '56px',
799
+ },
800
+ heading2: {
801
+ fontSize: 40,
802
+ lineHeight: '52px',
803
+ },
804
+ heading3: {
805
+ fontSize: 36,
806
+ lineHeight: '44px',
807
+ },
808
+ heading4: {
809
+ fontSize: 28,
810
+ lineHeight: '36px',
811
+ },
812
+ heading5: {
813
+ fontSize: 24,
814
+ lineHeight: '32px',
815
+ },
816
+ heading6: {
817
+ fontSize: 18,
818
+ lineHeight: '22px',
819
+ },
820
+ heading7: {
821
+ fontSize: 20,
822
+ lineHeight: '28px',
823
+ },
824
+ heading8: {
825
+ fontSize: 18,
826
+ lineHeight: '28px',
827
+ },
828
+ 'body-large': {
829
+ fontSize: 18,
830
+ lineHeight: '24px',
831
+ },
832
+ 'body-regular': {
833
+ fontSize: 16,
834
+ lineHeight: '24px',
835
+ },
836
+ 'body-small': {
837
+ fontSize: 14,
838
+ lineHeight: '22px',
839
+ },
840
+ 'body-xsmall': {
841
+ fontSize: 12,
842
+ lineHeight: '20px',
843
+ },
844
+ 'link-regular': {
845
+ fontSize: 16,
846
+ lineHeight: '24px',
847
+ },
848
+ 'link-small': {
849
+ fontSize: 14,
850
+ lineHeight: '22px',
851
+ },
852
+ 'pricing-large': {
853
+ fontSize: 28,
854
+ lineHeight: '32px',
855
+ },
856
+ 'pricing-medium': {
857
+ fontSize: 18,
858
+ lineHeight: '24px',
859
+ },
860
+ 'pricing-regular': {
861
+ fontSize: 16,
862
+ lineHeight: '22px',
863
+ },
864
+ 'pricing-small': {
865
+ fontSize: 14,
866
+ lineHeight: '20px',
867
+ },
868
+ button: {
869
+ textTransform: 'uppercase',
870
+ },
871
+ 'button-large': {
872
+ fontSize: 16,
873
+ lineHeight: '20px',
874
+ },
875
+ 'button-regular': {
876
+ fontSize: 14,
877
+ lineHeight: '18px',
878
+ },
879
+ 'button-small': {
880
+ fontSize: 12,
881
+ lineHeight: '16px',
882
+ },
883
+ 'label-large': {
884
+ fontSize: 14,
885
+ lineHeight: '20px',
886
+ },
887
+ 'label-regular': {
888
+ fontSize: 12,
889
+ lineHeight: '16px',
890
+ },
891
+ 'label-small': {
892
+ fontSize: 10,
893
+ lineHeight: '14px',
894
+ },
895
+ 'tag-regular': {
896
+ fontSize: 12,
897
+ lineHeight: '16px',
898
+ },
899
+ 'tag-small': {
900
+ fontSize: 10,
901
+ lineHeight: '14px',
902
+ },
903
+ 'tag-x-small': {
904
+ fontSize: 8,
905
+ lineHeight: '12px',
906
+ },
907
+ },
908
+ },
909
+ fonts: {
910
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/tsd',
911
+ config: [
912
+ {
913
+ family: 'Poppins',
914
+ src: 'Poppins-Regular.ttf',
915
+ weight: 400,
916
+ },
917
+ {
918
+ family: 'Poppins',
919
+ src: 'Poppins-Italic.ttf',
920
+ style: 'italic',
921
+ weight: 400,
922
+ },
923
+ {
924
+ family: 'Poppins',
925
+ src: 'Poppins-Bold.ttf',
926
+ weight: 700,
927
+ },
928
+ {
929
+ family: 'Poppins',
930
+ src: 'Poppins-BoldItalic.ttf',
931
+ style: 'italic',
932
+ weight: 700,
933
+ },
934
+ {
935
+ family: 'Poppins',
936
+ src: 'Poppins-ExtraBold.ttf',
937
+ weight: 900,
938
+ },
939
+ {
940
+ family: 'Poppins',
941
+ src: 'Poppins-ExtraBoldItalic.ttf',
942
+ style: 'italic',
943
+ weight: 900,
944
+ },
945
+ {
946
+ family: 'Poppins',
947
+ src: 'Poppins-Medium.ttf',
948
+ weight: 500,
949
+ },
950
+ {
951
+ family: 'Poppins',
952
+ src: 'Poppins-MediumItalic.ttf',
953
+ style: 'italic',
954
+ weight: 500,
955
+ },
956
+ {
957
+ family: 'Poppins',
958
+ src: 'Poppins-SemiBold.ttf',
959
+ weight: 600,
960
+ },
961
+ {
962
+ family: 'Poppins',
963
+ src: 'Poppins-SemiBoldItalic.ttf',
964
+ style: 'italic',
965
+ weight: 600,
966
+ },
967
+ {
968
+ family: 'Poppins',
969
+ src: 'Poppins-Light.ttf',
970
+ weight: 300,
971
+ },
972
+ {
973
+ family: 'Poppins',
974
+ src: 'Poppins-LightItalic.ttf',
975
+ style: 'italic',
976
+ weight: 300,
977
+ },
978
+ {
979
+ family: 'PlayfairDisplay',
980
+ src: 'PlayfairDisplay-Regular.ttf',
981
+ weight: 'normal',
982
+ },
983
+ {
984
+ family: 'PlayfairDisplay',
985
+ src: 'PlayfairDisplay-Black.ttf',
986
+ },
987
+ {
988
+ family: 'PlayfairDisplay',
989
+ src: 'PlayfairDisplay-BlackItalic.ttf',
990
+ style: 'italic',
991
+ },
992
+ {
993
+ family: 'PlayfairDisplay',
994
+ src: 'PlayfairDisplay-Bold.ttf',
995
+ },
996
+ {
997
+ family: 'PlayfairDisplay',
998
+ src: 'PlayfairDisplay-BoldItalic.ttf',
999
+ style: 'italic',
1000
+ },
1001
+ {
1002
+ family: 'PlayfairDisplay',
1003
+ src: 'PlayfairDisplay-ExtraBold.ttf',
1004
+ },
1005
+ {
1006
+ family: 'PlayfairDisplay',
1007
+ src: 'PlayfairDisplay-ExtraBoldItalic.ttf',
1008
+ style: 'italic',
1009
+ },
1010
+ {
1011
+ family: 'PlayfairDisplay',
1012
+ src: 'PlayfairDisplay-Italic.ttf',
1013
+ style: 'italic',
1014
+ },
1015
+ {
1016
+ family: 'PlayfairDisplay',
1017
+ src: 'PlayfairDisplay-Medium.ttf',
1018
+ },
1019
+ {
1020
+ family: 'PlayfairDisplay',
1021
+ src: 'PlayfairDisplay-MediumItalic.ttf',
1022
+ style: 'italic',
1023
+ },
1024
+ {
1025
+ family: 'PlayfairDisplay',
1026
+ src: 'PlayfairDisplay-SemiBold.ttf',
1027
+ },
1028
+ {
1029
+ family: 'PlayfairDisplay',
1030
+ src: 'PlayfairDisplay-SemiBoldItalic.ttf',
1031
+ style: 'italic',
1032
+ },
1033
+ {
1034
+ family: 'Montserrat',
1035
+ src: 'Montserrat-Regular.ttf',
1036
+ },
1037
+ {
1038
+ family: 'Montserrat',
1039
+ src: 'Montserrat-Bold.ttf',
1040
+ },
1041
+ {
1042
+ family: 'Montserrat',
1043
+ src: 'Montserrat-BoldItalic.ttf',
1044
+ style: 'italic',
1045
+ },
1046
+ {
1047
+ family: 'Montserrat',
1048
+ src: 'Montserrat-Light.ttf',
1049
+ },
1050
+ {
1051
+ family: 'Montserrat',
1052
+ src: 'Montserrat-LightItalic.ttf',
1053
+ },
1054
+ ],
1055
+ },
1056
+ assets: {
1057
+ images: {
1058
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_favicon.png',
1059
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1060
+ logoSize: {
1061
+ width: '375',
1062
+ height: '165',
1063
+ },
1064
+ logoMobile: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1065
+ checkoutLogo: {
1066
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo_checkout.png',
1067
+ width: '421',
1068
+ height: '82s',
1069
+ },
1070
+ upsellLogo: {
1071
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1072
+ width: '102',
1073
+ height: '43',
1074
+ },
1075
+ tyLogo: {
1076
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1077
+ width: '169',
1078
+ height: '73',
1079
+ },
1080
+ },
1081
+ },
1082
+ };
1083
+
1084
+ module.exports = tsd;