@trafilea/afrodita-components 5.0.0-beta.21 → 5.0.0-beta.211

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,1017 @@
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: 'The Spa Dr.',
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: '#2579C8', 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: '0.5rem',
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-pallete-secondary-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: '24px',
551
+ fontSize: '16px',
552
+ fontWeight: 600,
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: '16px',
669
+ textLineHeight: '24px',
670
+ amountFontSize: '16px',
671
+ amountFontWeight: 600,
672
+ amountLineHeight: '24px',
673
+ color: '--colors-semantic-positive-color',
674
+ },
675
+ },
676
+ },
677
+ subTotal: {
678
+ basicSubTotal: {
679
+ family: 'Jost',
680
+ size: '16px',
681
+ weight: 600,
682
+ lineHeight: '22px',
683
+ color: '--colors-shades-550-color',
684
+ },
685
+ },
686
+ pricing: {
687
+ priceLabel: {
688
+ price: {
689
+ size: ComponentSize.Small,
690
+ originalPriceColor: '--colors-shades-300-color',
691
+ actualPriceColor: '--colors-semantic-urgent-color',
692
+ },
693
+ },
694
+ },
695
+ orderSummary: {
696
+ headingTextAlign: 'left',
697
+ backgroundColor: '--colors-shades-5-color',
698
+ padding: '',
699
+ borderRadius: '',
700
+ maxWidth: '460px',
701
+ onMobile: {
702
+ maxWidth: '100%',
703
+ padding: '15px',
704
+ },
705
+ },
706
+ expressCheckout: {
707
+ fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
708
+ fontWeight: 500,
709
+ lineHeight: '16px',
710
+ },
711
+ copyrightText: {
712
+ fontSize: '16px',
713
+ fontWeight: 400,
714
+ lineHeight: '24px',
715
+ color: '--colors-pallete-secondary-color',
716
+ },
717
+ textButton: {
718
+ fontWeight: 500,
719
+ lineHeight: 'normal',
720
+ },
721
+ deliveryDetails: {
722
+ note: {
723
+ accentColor: '--colors-semantic-urgent-color',
724
+ color: '--colors-text-color',
725
+ backgroundColor: '--colors-pallete-primary-20-color',
726
+ },
727
+ },
728
+ text: {
729
+ orderHeader: {
730
+ color: '--colors-pallete-primary-color',
731
+ },
732
+ },
733
+ },
734
+ typography: {
735
+ config: {
736
+ weight: {
737
+ heavy: 900,
738
+ bold: 700,
739
+ demi: 600,
740
+ regular: 400,
741
+ },
742
+ },
743
+ variants: {
744
+ hero1: {
745
+ fontSize: 76,
746
+ lineHeight: '92px',
747
+ },
748
+ hero2: {
749
+ fontSize: 72,
750
+ lineHeight: '88px',
751
+ },
752
+ hero3: {
753
+ fontSize: 68,
754
+ lineHeight: '84px',
755
+ },
756
+ display1: {
757
+ fontSize: 60,
758
+ lineHeight: '76px',
759
+ },
760
+ display2: {
761
+ fontSize: 52,
762
+ lineHeight: '68px',
763
+ },
764
+ heading1: {
765
+ fontSize: 44,
766
+ lineHeight: '56px',
767
+ },
768
+ heading2: {
769
+ fontSize: 40,
770
+ lineHeight: '52px',
771
+ },
772
+ heading3: {
773
+ fontSize: 36,
774
+ lineHeight: '44px',
775
+ },
776
+ heading4: {
777
+ fontSize: 28,
778
+ lineHeight: '36px',
779
+ },
780
+ heading5: {
781
+ fontSize: 24,
782
+ lineHeight: '32px',
783
+ },
784
+ heading6: {
785
+ fontSize: 20,
786
+ lineHeight: '28px',
787
+ },
788
+ 'body-large': {
789
+ fontSize: 18,
790
+ lineHeight: '24px',
791
+ },
792
+ 'body-regular': {
793
+ fontSize: 16,
794
+ lineHeight: '24px',
795
+ },
796
+ 'body-small': {
797
+ fontSize: 14,
798
+ lineHeight: '22px',
799
+ },
800
+ 'body-xsmall': {
801
+ fontSize: 12,
802
+ lineHeight: '20px',
803
+ },
804
+ 'link-regular': {
805
+ fontSize: 16,
806
+ lineHeight: '24px',
807
+ },
808
+ 'link-small': {
809
+ fontSize: 14,
810
+ lineHeight: '22px',
811
+ },
812
+ 'pricing-large': {
813
+ fontSize: 28,
814
+ lineHeight: '32px',
815
+ },
816
+ 'pricing-medium': {
817
+ fontSize: 20,
818
+ lineHeight: '24px',
819
+ },
820
+ 'pricing-regular': {
821
+ fontSize: 16,
822
+ lineHeight: '22px',
823
+ },
824
+ 'pricing-small': {
825
+ fontSize: 14,
826
+ lineHeight: '20px',
827
+ },
828
+ button: {
829
+ textTransform: 'uppercase',
830
+ },
831
+ 'button-large': {
832
+ fontSize: 16,
833
+ lineHeight: '20px',
834
+ },
835
+ 'button-regular': {
836
+ fontSize: 14,
837
+ lineHeight: '18px',
838
+ },
839
+ 'button-small': {
840
+ fontSize: 12,
841
+ lineHeight: '16px',
842
+ },
843
+ 'label-large': {
844
+ fontSize: 14,
845
+ lineHeight: '20px',
846
+ },
847
+ 'label-regular': {
848
+ fontSize: 12,
849
+ lineHeight: '16px',
850
+ },
851
+ 'label-small': {
852
+ fontSize: 10,
853
+ lineHeight: '14px',
854
+ },
855
+ 'tag-regular': {
856
+ fontSize: 12,
857
+ lineHeight: '16px',
858
+ },
859
+ 'tag-small': {
860
+ fontSize: 10,
861
+ lineHeight: '14px',
862
+ },
863
+ 'tag-x-small': {
864
+ fontSize: 8,
865
+ lineHeight: '12px',
866
+ },
867
+ },
868
+ },
869
+ fonts: {
870
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/tsd',
871
+ config: [
872
+ {
873
+ family: 'Poppins',
874
+ src: 'Poppins-Regular.ttf',
875
+ },
876
+ {
877
+ family: 'Poppins',
878
+ src: 'Poppins-Italic.ttf',
879
+ style: 'italic',
880
+ },
881
+ {
882
+ family: 'Poppins',
883
+ src: 'Poppins-Bold.ttf',
884
+ },
885
+ {
886
+ family: 'Poppins',
887
+ src: 'Poppins-BoldItalic.ttf',
888
+ style: 'italic',
889
+ },
890
+ {
891
+ family: 'Poppins',
892
+ src: 'Poppins-ExtraBold.ttf',
893
+ },
894
+ {
895
+ family: 'Poppins',
896
+ src: 'Poppins-ExtraBoldItalic.ttf',
897
+ style: 'italic',
898
+ },
899
+ {
900
+ family: 'Poppins',
901
+ src: 'Poppins-Medium.ttf',
902
+ },
903
+ {
904
+ family: 'Poppins',
905
+ src: 'Poppins-MediumItalic.ttf',
906
+ style: 'italic',
907
+ },
908
+ {
909
+ family: 'Poppins',
910
+ src: 'Poppins-SemiBold.ttf',
911
+ },
912
+ {
913
+ family: 'Poppins',
914
+ src: 'Poppins-SemiBoldItalic.ttf',
915
+ style: 'italic',
916
+ },
917
+ {
918
+ family: 'Poppins',
919
+ src: 'Poppins-Light.ttf',
920
+ },
921
+ {
922
+ family: 'Poppins',
923
+ src: 'Poppins-LightItalic.ttf',
924
+ style: 'italic',
925
+ },
926
+ {
927
+ family: 'PlayfairDisplay',
928
+ src: 'PlayfairDisplay-Regular.ttf',
929
+ weight: 'normal',
930
+ },
931
+ {
932
+ family: 'PlayfairDisplay',
933
+ src: 'PlayfairDisplay-Black.ttf',
934
+ },
935
+ {
936
+ family: 'PlayfairDisplay',
937
+ src: 'PlayfairDisplay-BlackItalic.ttf',
938
+ style: 'italic',
939
+ },
940
+ {
941
+ family: 'PlayfairDisplay',
942
+ src: 'PlayfairDisplay-Bold.ttf',
943
+ },
944
+ {
945
+ family: 'PlayfairDisplay',
946
+ src: 'PlayfairDisplay-BoldItalic.ttf',
947
+ style: 'italic',
948
+ },
949
+ {
950
+ family: 'PlayfairDisplay',
951
+ src: 'PlayfairDisplay-ExtraBold.ttf',
952
+ },
953
+ {
954
+ family: 'PlayfairDisplay',
955
+ src: 'PlayfairDisplay-ExtraBoldItalic.ttf',
956
+ style: 'italic',
957
+ },
958
+ {
959
+ family: 'PlayfairDisplay',
960
+ src: 'PlayfairDisplay-Italic.ttf',
961
+ style: 'italic',
962
+ },
963
+ {
964
+ family: 'PlayfairDisplay',
965
+ src: 'PlayfairDisplay-Medium.ttf',
966
+ },
967
+ {
968
+ family: 'PlayfairDisplay',
969
+ src: 'PlayfairDisplay-MediumItalic.ttf',
970
+ style: 'italic',
971
+ },
972
+ {
973
+ family: 'PlayfairDisplay',
974
+ src: 'PlayfairDisplay-SemiBold.ttf',
975
+ },
976
+ {
977
+ family: 'PlayfairDisplay',
978
+ src: 'PlayfairDisplay-SemiBoldItalic.ttf',
979
+ style: 'italic',
980
+ },
981
+ {
982
+ family: 'Montserrat',
983
+ src: 'Montserrat-Regular.ttf',
984
+ },
985
+ {
986
+ family: 'Montserrat',
987
+ src: 'Montserrat-Bold.ttf',
988
+ },
989
+ {
990
+ family: 'Montserrat',
991
+ src: 'Montserrat-BoldItalic.ttf',
992
+ style: 'italic',
993
+ },
994
+ {
995
+ family: 'Montserrat',
996
+ src: 'Montserrat-Light.ttf',
997
+ },
998
+ {
999
+ family: 'Montserrat',
1000
+ src: 'Montserrat-LightItalic.ttf',
1001
+ },
1002
+ ],
1003
+ },
1004
+ assets: {
1005
+ images: {
1006
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_favicon.png',
1007
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1008
+ logoSize: {
1009
+ width: '375',
1010
+ height: '165',
1011
+ },
1012
+ logoMobile: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
1013
+ },
1014
+ },
1015
+ };
1016
+
1017
+ module.exports = tsd;