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

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,1064 @@
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
+ },
746
+ typography: {
747
+ config: {
748
+ weight: {
749
+ heavy: 900,
750
+ bold: 700,
751
+ demi: 600,
752
+ regular: 400,
753
+ },
754
+ },
755
+ variants: {
756
+ hero1: {
757
+ fontSize: 76,
758
+ lineHeight: '92px',
759
+ },
760
+ hero2: {
761
+ fontSize: 72,
762
+ lineHeight: '88px',
763
+ },
764
+ hero3: {
765
+ fontSize: 68,
766
+ lineHeight: '84px',
767
+ },
768
+ display1: {
769
+ fontSize: 60,
770
+ lineHeight: '76px',
771
+ },
772
+ display2: {
773
+ fontSize: 52,
774
+ lineHeight: '68px',
775
+ },
776
+ heading1: {
777
+ fontSize: 44,
778
+ lineHeight: '56px',
779
+ },
780
+ heading2: {
781
+ fontSize: 40,
782
+ lineHeight: '52px',
783
+ },
784
+ heading3: {
785
+ fontSize: 36,
786
+ lineHeight: '44px',
787
+ },
788
+ heading4: {
789
+ fontSize: 28,
790
+ lineHeight: '36px',
791
+ },
792
+ heading5: {
793
+ fontSize: 24,
794
+ lineHeight: '32px',
795
+ },
796
+ heading6: {
797
+ fontSize: 18,
798
+ lineHeight: '22px',
799
+ },
800
+ heading7: {
801
+ fontSize: 20,
802
+ lineHeight: '28px',
803
+ },
804
+ heading8: {
805
+ fontSize: 18,
806
+ lineHeight: '28px',
807
+ },
808
+ 'body-large': {
809
+ fontSize: 18,
810
+ lineHeight: '24px',
811
+ },
812
+ 'body-regular': {
813
+ fontSize: 16,
814
+ lineHeight: '24px',
815
+ },
816
+ 'body-small': {
817
+ fontSize: 14,
818
+ lineHeight: '22px',
819
+ },
820
+ 'body-xsmall': {
821
+ fontSize: 12,
822
+ lineHeight: '20px',
823
+ },
824
+ 'link-regular': {
825
+ fontSize: 16,
826
+ lineHeight: '24px',
827
+ },
828
+ 'link-small': {
829
+ fontSize: 14,
830
+ lineHeight: '22px',
831
+ },
832
+ 'pricing-large': {
833
+ fontSize: 28,
834
+ lineHeight: '32px',
835
+ },
836
+ 'pricing-medium': {
837
+ fontSize: 18,
838
+ lineHeight: '24px',
839
+ },
840
+ 'pricing-regular': {
841
+ fontSize: 16,
842
+ lineHeight: '22px',
843
+ },
844
+ 'pricing-small': {
845
+ fontSize: 14,
846
+ lineHeight: '20px',
847
+ },
848
+ button: {
849
+ textTransform: 'uppercase',
850
+ },
851
+ 'button-large': {
852
+ fontSize: 16,
853
+ lineHeight: '20px',
854
+ },
855
+ 'button-regular': {
856
+ fontSize: 14,
857
+ lineHeight: '18px',
858
+ },
859
+ 'button-small': {
860
+ fontSize: 12,
861
+ lineHeight: '16px',
862
+ },
863
+ 'label-large': {
864
+ fontSize: 14,
865
+ lineHeight: '20px',
866
+ },
867
+ 'label-regular': {
868
+ fontSize: 12,
869
+ lineHeight: '16px',
870
+ },
871
+ 'label-small': {
872
+ fontSize: 10,
873
+ lineHeight: '14px',
874
+ },
875
+ 'tag-regular': {
876
+ fontSize: 12,
877
+ lineHeight: '16px',
878
+ },
879
+ 'tag-small': {
880
+ fontSize: 10,
881
+ lineHeight: '14px',
882
+ },
883
+ 'tag-x-small': {
884
+ fontSize: 8,
885
+ lineHeight: '12px',
886
+ },
887
+ },
888
+ },
889
+ fonts: {
890
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/tsd',
891
+ config: [
892
+ {
893
+ family: 'Poppins',
894
+ src: 'Poppins-Regular.ttf',
895
+ weight: 400,
896
+ },
897
+ {
898
+ family: 'Poppins',
899
+ src: 'Poppins-Italic.ttf',
900
+ style: 'italic',
901
+ weight: 400,
902
+ },
903
+ {
904
+ family: 'Poppins',
905
+ src: 'Poppins-Bold.ttf',
906
+ weight: 700,
907
+ },
908
+ {
909
+ family: 'Poppins',
910
+ src: 'Poppins-BoldItalic.ttf',
911
+ style: 'italic',
912
+ weight: 700,
913
+ },
914
+ {
915
+ family: 'Poppins',
916
+ src: 'Poppins-ExtraBold.ttf',
917
+ weight: 900,
918
+ },
919
+ {
920
+ family: 'Poppins',
921
+ src: 'Poppins-ExtraBoldItalic.ttf',
922
+ style: 'italic',
923
+ weight: 900,
924
+ },
925
+ {
926
+ family: 'Poppins',
927
+ src: 'Poppins-Medium.ttf',
928
+ weight: 500,
929
+ },
930
+ {
931
+ family: 'Poppins',
932
+ src: 'Poppins-MediumItalic.ttf',
933
+ style: 'italic',
934
+ weight: 500,
935
+ },
936
+ {
937
+ family: 'Poppins',
938
+ src: 'Poppins-SemiBold.ttf',
939
+ weight: 600,
940
+ },
941
+ {
942
+ family: 'Poppins',
943
+ src: 'Poppins-SemiBoldItalic.ttf',
944
+ style: 'italic',
945
+ weight: 600,
946
+ },
947
+ {
948
+ family: 'Poppins',
949
+ src: 'Poppins-Light.ttf',
950
+ weight: 300,
951
+ },
952
+ {
953
+ family: 'Poppins',
954
+ src: 'Poppins-LightItalic.ttf',
955
+ style: 'italic',
956
+ weight: 300,
957
+ },
958
+ {
959
+ family: 'PlayfairDisplay',
960
+ src: 'PlayfairDisplay-Regular.ttf',
961
+ weight: 'normal',
962
+ },
963
+ {
964
+ family: 'PlayfairDisplay',
965
+ src: 'PlayfairDisplay-Black.ttf',
966
+ },
967
+ {
968
+ family: 'PlayfairDisplay',
969
+ src: 'PlayfairDisplay-BlackItalic.ttf',
970
+ style: 'italic',
971
+ },
972
+ {
973
+ family: 'PlayfairDisplay',
974
+ src: 'PlayfairDisplay-Bold.ttf',
975
+ },
976
+ {
977
+ family: 'PlayfairDisplay',
978
+ src: 'PlayfairDisplay-BoldItalic.ttf',
979
+ style: 'italic',
980
+ },
981
+ {
982
+ family: 'PlayfairDisplay',
983
+ src: 'PlayfairDisplay-ExtraBold.ttf',
984
+ },
985
+ {
986
+ family: 'PlayfairDisplay',
987
+ src: 'PlayfairDisplay-ExtraBoldItalic.ttf',
988
+ style: 'italic',
989
+ },
990
+ {
991
+ family: 'PlayfairDisplay',
992
+ src: 'PlayfairDisplay-Italic.ttf',
993
+ style: 'italic',
994
+ },
995
+ {
996
+ family: 'PlayfairDisplay',
997
+ src: 'PlayfairDisplay-Medium.ttf',
998
+ },
999
+ {
1000
+ family: 'PlayfairDisplay',
1001
+ src: 'PlayfairDisplay-MediumItalic.ttf',
1002
+ style: 'italic',
1003
+ },
1004
+ {
1005
+ family: 'PlayfairDisplay',
1006
+ src: 'PlayfairDisplay-SemiBold.ttf',
1007
+ },
1008
+ {
1009
+ family: 'PlayfairDisplay',
1010
+ src: 'PlayfairDisplay-SemiBoldItalic.ttf',
1011
+ style: 'italic',
1012
+ },
1013
+ {
1014
+ family: 'Montserrat',
1015
+ src: 'Montserrat-Regular.ttf',
1016
+ },
1017
+ {
1018
+ family: 'Montserrat',
1019
+ src: 'Montserrat-Bold.ttf',
1020
+ },
1021
+ {
1022
+ family: 'Montserrat',
1023
+ src: 'Montserrat-BoldItalic.ttf',
1024
+ style: 'italic',
1025
+ },
1026
+ {
1027
+ family: 'Montserrat',
1028
+ src: 'Montserrat-Light.ttf',
1029
+ },
1030
+ {
1031
+ family: 'Montserrat',
1032
+ src: 'Montserrat-LightItalic.ttf',
1033
+ },
1034
+ ],
1035
+ },
1036
+ assets: {
1037
+ images: {
1038
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_favicon.png',
1039
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1040
+ logoSize: {
1041
+ width: '375',
1042
+ height: '165',
1043
+ },
1044
+ logoMobile: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1045
+ checkoutLogo: {
1046
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo_checkout.png',
1047
+ width: '421',
1048
+ height: '82s',
1049
+ },
1050
+ upsellLogo: {
1051
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1052
+ width: '102',
1053
+ height: '43',
1054
+ },
1055
+ tyLogo: {
1056
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1057
+ width: '169',
1058
+ height: '73',
1059
+ },
1060
+ },
1061
+ },
1062
+ };
1063
+
1064
+ module.exports = tsd;