@trafilea/afrodita-components 5.0.0-beta.20 → 5.0.0-beta.200
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 +4 -1
- package/build/index.d.ts +1088 -75
- package/build/index.esm.css +4 -1
- package/build/index.esm.js +8609 -5342
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8633 -5344
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +606 -0
- package/build/theme/revel.theme.js +950 -0
- package/build/theme/shapermint.theme.d.ts +190 -0
- package/build/theme/shapermint.theme.js +219 -1
- package/build/theme/truekind.theme.d.ts +190 -0
- package/build/theme/truekind.theme.js +210 -0
- package/package.json +4 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
+
import { ComponentSize } from 'src/types/enums';
|
|
2
3
|
|
|
3
4
|
declare type Theme = {
|
|
4
5
|
name: string;
|
|
@@ -49,6 +50,7 @@ declare type ThemeColors = {
|
|
|
49
50
|
50: ThemeBasicPallete;
|
|
50
51
|
100: ThemeBasicPallete;
|
|
51
52
|
150: ThemeBasicPallete;
|
|
53
|
+
175: ThemeBasicPallete;
|
|
52
54
|
200: ThemeBasicPallete;
|
|
53
55
|
250: ThemeBasicPallete;
|
|
54
56
|
300: ThemeBasicPallete;
|
|
@@ -92,6 +94,10 @@ declare type ThemeComponent = {
|
|
|
92
94
|
border: string;
|
|
93
95
|
borderRadius: string;
|
|
94
96
|
fontWeight: number;
|
|
97
|
+
lineHeight: string;
|
|
98
|
+
letterSpacing: string;
|
|
99
|
+
minWidth: string;
|
|
100
|
+
minHeight: string;
|
|
95
101
|
size: {
|
|
96
102
|
small: {
|
|
97
103
|
fontSize: string;
|
|
@@ -138,6 +144,12 @@ declare type ThemeComponent = {
|
|
|
138
144
|
lineHeight: string;
|
|
139
145
|
border: string;
|
|
140
146
|
boxShadow: string;
|
|
147
|
+
errorBorder: string;
|
|
148
|
+
};
|
|
149
|
+
inputPlaceholder: {
|
|
150
|
+
fontSize: string;
|
|
151
|
+
padding: string;
|
|
152
|
+
focusBorder: string;
|
|
141
153
|
};
|
|
142
154
|
inputCustom: {
|
|
143
155
|
button: {
|
|
@@ -170,6 +182,12 @@ declare type ThemeComponent = {
|
|
|
170
182
|
border: string;
|
|
171
183
|
color: string;
|
|
172
184
|
};
|
|
185
|
+
noStock: {
|
|
186
|
+
fontWeight: number;
|
|
187
|
+
background: string;
|
|
188
|
+
border: string;
|
|
189
|
+
color: string;
|
|
190
|
+
};
|
|
173
191
|
disabled: {
|
|
174
192
|
border: string;
|
|
175
193
|
};
|
|
@@ -223,10 +241,13 @@ declare type ThemeComponent = {
|
|
|
223
241
|
};
|
|
224
242
|
card: {
|
|
225
243
|
borderRadius: string;
|
|
244
|
+
backgroundColor: string;
|
|
226
245
|
};
|
|
227
246
|
radio: {
|
|
228
247
|
borderColor: string;
|
|
229
248
|
background: string;
|
|
249
|
+
textSize: string;
|
|
250
|
+
lineHeight: string;
|
|
230
251
|
size: {
|
|
231
252
|
small: {
|
|
232
253
|
borderWidth: string;
|
|
@@ -255,6 +276,7 @@ declare type ThemeComponent = {
|
|
|
255
276
|
};
|
|
256
277
|
};
|
|
257
278
|
label: {
|
|
279
|
+
color: string;
|
|
258
280
|
fontSize: {
|
|
259
281
|
small: string;
|
|
260
282
|
medium: string;
|
|
@@ -368,6 +390,7 @@ declare type ThemeComponent = {
|
|
|
368
390
|
options: {
|
|
369
391
|
borderColor: string;
|
|
370
392
|
color: string;
|
|
393
|
+
borderRadius: string;
|
|
371
394
|
};
|
|
372
395
|
};
|
|
373
396
|
modal: {
|
|
@@ -381,6 +404,168 @@ declare type ThemeComponent = {
|
|
|
381
404
|
selectedContrast: string;
|
|
382
405
|
tagColor: string;
|
|
383
406
|
};
|
|
407
|
+
slideNavigation: {
|
|
408
|
+
slideDots: {
|
|
409
|
+
unselectedDotColor: string;
|
|
410
|
+
selectedDotColor: string;
|
|
411
|
+
dotsOpacity: number;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
beforeAfter: {
|
|
415
|
+
size: {
|
|
416
|
+
small: {
|
|
417
|
+
image: {
|
|
418
|
+
minHeight: string;
|
|
419
|
+
minWidth: string;
|
|
420
|
+
mobile: {
|
|
421
|
+
minHeight: string;
|
|
422
|
+
minWidth: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
imageContainer: {
|
|
426
|
+
maxWidth: string;
|
|
427
|
+
padding: string;
|
|
428
|
+
mobile: {
|
|
429
|
+
maxWidth: string;
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
userInfoText: {
|
|
433
|
+
fontSize: string;
|
|
434
|
+
mobile: {
|
|
435
|
+
fontSize: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
medium: {
|
|
440
|
+
image: {
|
|
441
|
+
minHeight: string;
|
|
442
|
+
minWidth: string;
|
|
443
|
+
mobile: {
|
|
444
|
+
minHeight: string;
|
|
445
|
+
minWidth: string;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
imageContainer: {
|
|
449
|
+
maxWidth: string;
|
|
450
|
+
padding: string;
|
|
451
|
+
mobile: {
|
|
452
|
+
maxWidth: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
userInfoText: {
|
|
456
|
+
fontSize: string;
|
|
457
|
+
mobile: {
|
|
458
|
+
fontSize: string;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
large: {
|
|
463
|
+
image: {
|
|
464
|
+
minHeight: string;
|
|
465
|
+
minWidth: string;
|
|
466
|
+
mobile: {
|
|
467
|
+
minHeight: string;
|
|
468
|
+
minWidth: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
imageContainer: {
|
|
472
|
+
maxWidth: string;
|
|
473
|
+
padding: string;
|
|
474
|
+
mobile: {
|
|
475
|
+
maxWidth: string;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
userInfoText: {
|
|
479
|
+
fontSize: string;
|
|
480
|
+
mobile: {
|
|
481
|
+
fontSize: string;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
total: {
|
|
488
|
+
basicTotal: {
|
|
489
|
+
amount: {
|
|
490
|
+
color: string;
|
|
491
|
+
fontSize: string;
|
|
492
|
+
};
|
|
493
|
+
currency: {
|
|
494
|
+
color: string;
|
|
495
|
+
fontSize: string;
|
|
496
|
+
lineHeight: string;
|
|
497
|
+
alignSelf?: string;
|
|
498
|
+
};
|
|
499
|
+
savings: {
|
|
500
|
+
textFontSize: string;
|
|
501
|
+
textLineHeight: string;
|
|
502
|
+
amountFontSize: string;
|
|
503
|
+
amountFontWeight: number;
|
|
504
|
+
amountLineHeight: string;
|
|
505
|
+
color?: string;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
subTotal: {
|
|
510
|
+
basicSubTotal: {
|
|
511
|
+
family: string;
|
|
512
|
+
size: string;
|
|
513
|
+
weight: number;
|
|
514
|
+
lineHeight: string;
|
|
515
|
+
color: string;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
pricing: {
|
|
519
|
+
priceLabel: {
|
|
520
|
+
price: {
|
|
521
|
+
size: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
522
|
+
originalPriceColor: string;
|
|
523
|
+
actualPriceColor: string;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
orderSummary: {
|
|
528
|
+
headingTextAlign: string;
|
|
529
|
+
backgroundColor: string;
|
|
530
|
+
maxWidth?: string;
|
|
531
|
+
padding?: string;
|
|
532
|
+
borderRadius?: string;
|
|
533
|
+
onMobile: {
|
|
534
|
+
maxWidth?: string;
|
|
535
|
+
padding?: string;
|
|
536
|
+
backgroundColor?: string;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
expressCheckout: {
|
|
540
|
+
fontFamily: string;
|
|
541
|
+
fontWeight: number;
|
|
542
|
+
lineHeight: string;
|
|
543
|
+
};
|
|
544
|
+
copyrightText: {
|
|
545
|
+
fontSize: string;
|
|
546
|
+
fontWeight: number;
|
|
547
|
+
lineHeight: string;
|
|
548
|
+
color: string;
|
|
549
|
+
};
|
|
550
|
+
textButton: {
|
|
551
|
+
fontWeight: number;
|
|
552
|
+
lineHeight: string;
|
|
553
|
+
};
|
|
554
|
+
deliveryDetails: {
|
|
555
|
+
note: {
|
|
556
|
+
accentColor: string;
|
|
557
|
+
color: string;
|
|
558
|
+
backgroundColor: string;
|
|
559
|
+
};
|
|
560
|
+
SectionDetails?: {
|
|
561
|
+
marginLeft: string;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
text: {
|
|
565
|
+
orderHeader: {
|
|
566
|
+
color: string;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
384
569
|
};
|
|
385
570
|
declare type ThemeTypography = {
|
|
386
571
|
config: {
|
|
@@ -407,6 +592,11 @@ declare type ThemeAssets = {
|
|
|
407
592
|
images: {
|
|
408
593
|
favicon: string;
|
|
409
594
|
logo: string;
|
|
595
|
+
logoSize?: {
|
|
596
|
+
width: string;
|
|
597
|
+
height: string;
|
|
598
|
+
};
|
|
599
|
+
logoMobile?: string;
|
|
410
600
|
};
|
|
411
601
|
[key: string]: any;
|
|
412
602
|
};
|
|
@@ -26,6 +26,32 @@ var __assign = function() {
|
|
|
26
26
|
return __assign.apply(this, arguments);
|
|
27
27
|
};
|
|
28
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
|
+
|
|
29
55
|
var truekind = {
|
|
30
56
|
name: 'Truekind',
|
|
31
57
|
fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
@@ -103,6 +129,7 @@ var truekind = {
|
|
|
103
129
|
50: { color: '#efefef', contrast: '--colors-shades-700-color' },
|
|
104
130
|
100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
|
|
105
131
|
150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
|
|
132
|
+
175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
|
|
106
133
|
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
107
134
|
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
108
135
|
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
@@ -269,6 +296,10 @@ var truekind = {
|
|
|
269
296
|
border: 'none',
|
|
270
297
|
borderRadius: '1.5rem',
|
|
271
298
|
fontWeight: 700,
|
|
299
|
+
lineHeight: 'normal',
|
|
300
|
+
letterSpacing: 'normal',
|
|
301
|
+
minWidth: 'unset',
|
|
302
|
+
minHeight: 'unset',
|
|
272
303
|
size: {
|
|
273
304
|
small: {
|
|
274
305
|
fontSize: '1rem',
|
|
@@ -315,6 +346,12 @@ var truekind = {
|
|
|
315
346
|
lineHeight: '1.5rem',
|
|
316
347
|
border: '0.063rem solid #BBBBBB',
|
|
317
348
|
boxShadow: '0 0 0 0.25rem #D9EEFF',
|
|
349
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
350
|
+
},
|
|
351
|
+
inputPlaceholder: {
|
|
352
|
+
fontSize: '0.875rem',
|
|
353
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
354
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
318
355
|
},
|
|
319
356
|
inputCustom: {
|
|
320
357
|
button: {
|
|
@@ -347,6 +384,12 @@ var truekind = {
|
|
|
347
384
|
border: 'none',
|
|
348
385
|
color: '#FFFFFF',
|
|
349
386
|
},
|
|
387
|
+
noStock: {
|
|
388
|
+
fontWeight: 600,
|
|
389
|
+
background: 'transparent',
|
|
390
|
+
border: '1px solid #3a3a3a4d',
|
|
391
|
+
color: '#3a3a3a4d',
|
|
392
|
+
},
|
|
350
393
|
disabled: {
|
|
351
394
|
border: '0.063rem solid #E5E5E5',
|
|
352
395
|
},
|
|
@@ -400,10 +443,13 @@ var truekind = {
|
|
|
400
443
|
},
|
|
401
444
|
card: {
|
|
402
445
|
borderRadius: '1.5rem',
|
|
446
|
+
backgroundColor: '#f7ece4',
|
|
403
447
|
},
|
|
404
448
|
radio: {
|
|
405
449
|
borderColor: '#686872',
|
|
406
450
|
background: '#FFFFFF',
|
|
451
|
+
textSize: '16px',
|
|
452
|
+
lineHeight: 'normal',
|
|
407
453
|
size: {
|
|
408
454
|
large: {
|
|
409
455
|
borderWidth: '0.094rem',
|
|
@@ -432,6 +478,7 @@ var truekind = {
|
|
|
432
478
|
},
|
|
433
479
|
},
|
|
434
480
|
label: {
|
|
481
|
+
color: '--colors-pallete-secondary-color',
|
|
435
482
|
fontSize: {
|
|
436
483
|
small: '0.625rem',
|
|
437
484
|
medium: '0.75rem',
|
|
@@ -545,6 +592,7 @@ var truekind = {
|
|
|
545
592
|
options: {
|
|
546
593
|
borderColor: '#8BBEEA',
|
|
547
594
|
color: '#292929',
|
|
595
|
+
borderRadius: '0.5rem',
|
|
548
596
|
},
|
|
549
597
|
},
|
|
550
598
|
modal: {
|
|
@@ -558,6 +606,164 @@ var truekind = {
|
|
|
558
606
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
559
607
|
tagColor: '--colors-semantic-attention-color',
|
|
560
608
|
},
|
|
609
|
+
slideNavigation: {
|
|
610
|
+
slideDots: {
|
|
611
|
+
unselectedDotColor: '--colors-shades-700-color:',
|
|
612
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
613
|
+
dotsOpacity: 0.6,
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
beforeAfter: {
|
|
617
|
+
size: {
|
|
618
|
+
small: {
|
|
619
|
+
image: {
|
|
620
|
+
minHeight: 'auto',
|
|
621
|
+
minWidth: '92px',
|
|
622
|
+
mobile: {
|
|
623
|
+
minHeight: '138px',
|
|
624
|
+
minWidth: '128px',
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
imageContainer: {
|
|
628
|
+
maxWidth: '214px',
|
|
629
|
+
padding: '12px',
|
|
630
|
+
mobile: {
|
|
631
|
+
maxWidth: '286px',
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
userInfoText: {
|
|
635
|
+
fontSize: '12px',
|
|
636
|
+
mobile: {
|
|
637
|
+
fontSize: '12px',
|
|
638
|
+
},
|
|
639
|
+
},
|
|
640
|
+
},
|
|
641
|
+
medium: {
|
|
642
|
+
image: {
|
|
643
|
+
minHeight: '200px',
|
|
644
|
+
minWidth: '187px',
|
|
645
|
+
mobile: {
|
|
646
|
+
minHeight: '157px',
|
|
647
|
+
minWidth: '150px',
|
|
648
|
+
},
|
|
649
|
+
},
|
|
650
|
+
imageContainer: {
|
|
651
|
+
maxWidth: '427px',
|
|
652
|
+
padding: '18px',
|
|
653
|
+
mobile: {
|
|
654
|
+
maxWidth: '342px',
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
userInfoText: {
|
|
658
|
+
fontSize: '18px',
|
|
659
|
+
mobile: {
|
|
660
|
+
fontSize: '14px',
|
|
661
|
+
},
|
|
662
|
+
},
|
|
663
|
+
},
|
|
664
|
+
large: {
|
|
665
|
+
image: {
|
|
666
|
+
minHeight: '200px',
|
|
667
|
+
minWidth: '187px',
|
|
668
|
+
mobile: {
|
|
669
|
+
minHeight: '157px',
|
|
670
|
+
minWidth: '150px',
|
|
671
|
+
},
|
|
672
|
+
},
|
|
673
|
+
imageContainer: {
|
|
674
|
+
maxWidth: '427px',
|
|
675
|
+
padding: '18px',
|
|
676
|
+
mobile: {
|
|
677
|
+
maxWidth: '342px',
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
userInfoText: {
|
|
681
|
+
fontSize: '18px',
|
|
682
|
+
mobile: {
|
|
683
|
+
fontSize: '14px',
|
|
684
|
+
},
|
|
685
|
+
},
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
},
|
|
689
|
+
total: {
|
|
690
|
+
basicTotal: {
|
|
691
|
+
amount: {
|
|
692
|
+
color: '--colors-shades-550-color',
|
|
693
|
+
fontSize: '24px',
|
|
694
|
+
},
|
|
695
|
+
currency: {
|
|
696
|
+
color: '--colors-shades-550-color',
|
|
697
|
+
fontSize: '14px',
|
|
698
|
+
lineHeight: '22px',
|
|
699
|
+
alignSelf: 'flex-end',
|
|
700
|
+
},
|
|
701
|
+
savings: {
|
|
702
|
+
textFontSize: '16px',
|
|
703
|
+
textLineHeight: '24px',
|
|
704
|
+
amountFontSize: '16px',
|
|
705
|
+
amountFontWeight: 600,
|
|
706
|
+
amountLineHeight: '24px',
|
|
707
|
+
color: '--colors-semantic-positive-color',
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
subTotal: {
|
|
712
|
+
basicSubTotal: {
|
|
713
|
+
family: 'Jost',
|
|
714
|
+
size: '14px',
|
|
715
|
+
weight: 600,
|
|
716
|
+
lineHeight: '22px',
|
|
717
|
+
color: '--colors-shades-550-color',
|
|
718
|
+
},
|
|
719
|
+
},
|
|
720
|
+
pricing: {
|
|
721
|
+
priceLabel: {
|
|
722
|
+
price: {
|
|
723
|
+
size: ComponentSize.Small,
|
|
724
|
+
originalPriceColor: '--colors-shades-300-color',
|
|
725
|
+
actualPriceColor: '--colors-semantic-urgent-color',
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
orderSummary: {
|
|
730
|
+
headingTextAlign: 'left',
|
|
731
|
+
backgroundColor: '--colors-shades-5-color',
|
|
732
|
+
padding: '',
|
|
733
|
+
borderRadius: '',
|
|
734
|
+
maxWidth: '460px',
|
|
735
|
+
onMobile: {
|
|
736
|
+
maxWidth: '100%',
|
|
737
|
+
padding: '15px',
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
expressCheckout: {
|
|
741
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
742
|
+
fontWeight: 500,
|
|
743
|
+
lineHeight: '16px',
|
|
744
|
+
},
|
|
745
|
+
copyrightText: {
|
|
746
|
+
fontSize: '16px',
|
|
747
|
+
fontWeight: 400,
|
|
748
|
+
lineHeight: '24px',
|
|
749
|
+
color: '--colors-pallete-secondary-color',
|
|
750
|
+
},
|
|
751
|
+
textButton: {
|
|
752
|
+
fontWeight: 500,
|
|
753
|
+
lineHeight: 'normal',
|
|
754
|
+
},
|
|
755
|
+
deliveryDetails: {
|
|
756
|
+
note: {
|
|
757
|
+
accentColor: '--colors-semantic-urgent-color',
|
|
758
|
+
color: '--colors-text-color',
|
|
759
|
+
backgroundColor: '--colors-pallete-primary-20-color',
|
|
760
|
+
},
|
|
761
|
+
},
|
|
762
|
+
text: {
|
|
763
|
+
orderHeader: {
|
|
764
|
+
color: '--colors-pallete-primary-color',
|
|
765
|
+
},
|
|
766
|
+
},
|
|
561
767
|
},
|
|
562
768
|
fonts: {
|
|
563
769
|
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
|
@@ -684,6 +890,10 @@ var truekind = {
|
|
|
684
890
|
images: {
|
|
685
891
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
686
892
|
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
893
|
+
logoSize: {
|
|
894
|
+
width: '230',
|
|
895
|
+
height: '46',
|
|
896
|
+
},
|
|
687
897
|
},
|
|
688
898
|
},
|
|
689
899
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.200",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
"build"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ant-design/react-slick": "^0.
|
|
16
|
+
"@ant-design/react-slick": "^0.29.2",
|
|
17
17
|
"@emotion/react": "^11.4.0",
|
|
18
18
|
"@emotion/styled": "^11.3.0",
|
|
19
19
|
"@headlessui/react": "^1.4.0",
|
|
20
20
|
"@ribeirolabs/events": "3.0.0",
|
|
21
21
|
"facepaint": "^1.2.1",
|
|
22
22
|
"html-react-parser": "1.4.8",
|
|
23
|
+
"react-inner-image-zoom": "^3.0.2",
|
|
23
24
|
"react-swipeable": "6.2.0",
|
|
24
25
|
"typescript": "^4.3.5"
|
|
25
26
|
},
|
|
@@ -85,6 +86,7 @@
|
|
|
85
86
|
"@types/node": "^12.20.17",
|
|
86
87
|
"@types/react": "^17.0.15",
|
|
87
88
|
"@types/react-dom": "^17.0.9",
|
|
89
|
+
"@types/react-inner-image-zoom": "^3.0.0",
|
|
88
90
|
"@types/react-slick": "^0.23.7",
|
|
89
91
|
"chromatic": "^5.9.2",
|
|
90
92
|
"eslint": "^7.31.0",
|