@trafilea/afrodita-components 5.0.0-beta.28 → 5.0.0-beta.281
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 +1386 -86
- package/build/index.esm.css +4 -1
- package/build/index.esm.js +7924 -3997
- package/build/index.esm.js.map +1 -1
- package/build/index.js +7957 -3999
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +710 -0
- package/build/theme/revel.theme.js +1040 -0
- package/build/theme/shapermint.theme.d.ts +295 -1
- package/build/theme/shapermint.theme.js +322 -3
- package/build/theme/thespadr.theme.d.ts +710 -0
- package/build/theme/thespadr.theme.js +1131 -0
- package/build/theme/truekind.theme.d.ts +295 -1
- package/build/theme/truekind.theme.js +329 -9
- package/package.json +4 -2
|
@@ -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 shapermint = {
|
|
30
56
|
name: 'Shapermint',
|
|
31
57
|
fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
@@ -120,6 +146,14 @@ var shapermint = {
|
|
|
120
146
|
contrast: '--colors-shades-700-color',
|
|
121
147
|
},
|
|
122
148
|
} }),
|
|
149
|
+
wine: {
|
|
150
|
+
color: '#882A2B',
|
|
151
|
+
contrast: '--colors-shades-white-color',
|
|
152
|
+
soft: {
|
|
153
|
+
color: '#DBBFBF',
|
|
154
|
+
contrast: '--colors-text-color',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
123
157
|
creamy: {
|
|
124
158
|
color: '#FFE9D8',
|
|
125
159
|
contrast: '--colors-text-color',
|
|
@@ -145,6 +179,7 @@ var shapermint = {
|
|
|
145
179
|
50: { color: '#efefef', contrast: '--colors-shades-700-color' },
|
|
146
180
|
100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
|
|
147
181
|
150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
|
|
182
|
+
175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
|
|
148
183
|
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
149
184
|
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
150
185
|
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
@@ -188,6 +223,10 @@ var shapermint = {
|
|
|
188
223
|
border: 'none',
|
|
189
224
|
borderRadius: '0.5rem',
|
|
190
225
|
fontWeight: 600,
|
|
226
|
+
lineHeight: 'normal',
|
|
227
|
+
letterSpacing: 'normal',
|
|
228
|
+
minWidth: 'unset',
|
|
229
|
+
minHeight: 'unset',
|
|
191
230
|
size: {
|
|
192
231
|
small: {
|
|
193
232
|
fontSize: '0.75rem',
|
|
@@ -226,14 +265,20 @@ var shapermint = {
|
|
|
226
265
|
input: {
|
|
227
266
|
background: '--colors-shades-white-color',
|
|
228
267
|
color: '--colors-shades-700-color',
|
|
229
|
-
placeholderColor: '--colors-shades-
|
|
268
|
+
placeholderColor: '--colors-shades-400-color',
|
|
230
269
|
borderRadius: '0.5rem',
|
|
231
|
-
fontSize: '
|
|
270
|
+
fontSize: '14px',
|
|
232
271
|
fontWeight: 400,
|
|
233
272
|
padding: '0.75rem 1rem',
|
|
234
273
|
lineHeight: '1.5rem',
|
|
235
274
|
border: '0.063rem solid var(--colors-shades-200-color)',
|
|
236
275
|
boxShadow: 'none',
|
|
276
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
277
|
+
},
|
|
278
|
+
inputPlaceholder: {
|
|
279
|
+
fontSize: '0.875rem',
|
|
280
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
281
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
237
282
|
},
|
|
238
283
|
inputCustom: {
|
|
239
284
|
button: {
|
|
@@ -266,6 +311,12 @@ var shapermint = {
|
|
|
266
311
|
border: 'none',
|
|
267
312
|
color: '--colors-shades-white-color',
|
|
268
313
|
},
|
|
314
|
+
noStock: {
|
|
315
|
+
fontWeight: 600,
|
|
316
|
+
background: 'transparent',
|
|
317
|
+
border: '1px solid #3a3a3a4d',
|
|
318
|
+
color: '#3a3a3a4d',
|
|
319
|
+
},
|
|
269
320
|
disabled: {
|
|
270
321
|
border: 'none',
|
|
271
322
|
},
|
|
@@ -319,10 +370,13 @@ var shapermint = {
|
|
|
319
370
|
},
|
|
320
371
|
card: {
|
|
321
372
|
borderRadius: '0.5rem',
|
|
373
|
+
backgroundColor: '#f7ece4',
|
|
322
374
|
},
|
|
323
375
|
radio: {
|
|
324
376
|
borderColor: '--colors-shades-700-color',
|
|
325
377
|
background: '--colors-shades-white-color',
|
|
378
|
+
textSize: '16px',
|
|
379
|
+
lineHeight: 'normal',
|
|
326
380
|
size: {
|
|
327
381
|
large: {
|
|
328
382
|
borderWidth: '0.094rem',
|
|
@@ -351,6 +405,7 @@ var shapermint = {
|
|
|
351
405
|
},
|
|
352
406
|
},
|
|
353
407
|
label: {
|
|
408
|
+
color: '--colors-pallete-secondary-color',
|
|
354
409
|
fontSize: {
|
|
355
410
|
small: '0.75rem',
|
|
356
411
|
medium: '0.75rem',
|
|
@@ -459,11 +514,13 @@ var shapermint = {
|
|
|
459
514
|
fontWeight: 600,
|
|
460
515
|
lineHeight: '1.125rem',
|
|
461
516
|
padding: '0.5rem 0.75rem 0.5rem 1rem',
|
|
517
|
+
optionPadding: '0.75rem 1rem 0.625rem 0.75rem',
|
|
462
518
|
color: '--colors-shades-700-color',
|
|
463
519
|
fill: '--colors-shades-700-color',
|
|
464
520
|
options: {
|
|
465
521
|
borderColor: '--colors-shades-700-color',
|
|
466
522
|
color: '--colors-shades-700-color',
|
|
523
|
+
borderRadius: '0.5rem',
|
|
467
524
|
},
|
|
468
525
|
},
|
|
469
526
|
modal: {
|
|
@@ -477,6 +534,239 @@ var shapermint = {
|
|
|
477
534
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
478
535
|
tagColor: '--colors-semantic-attention-color',
|
|
479
536
|
},
|
|
537
|
+
slideNavigation: {
|
|
538
|
+
slideDots: {
|
|
539
|
+
unselectedDotColor: '--colors-shades-700-color',
|
|
540
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
541
|
+
dotsOpacity: 0.6,
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
beforeAfter: {
|
|
545
|
+
size: {
|
|
546
|
+
small: {
|
|
547
|
+
image: {
|
|
548
|
+
minHeight: 'auto',
|
|
549
|
+
minWidth: '92px',
|
|
550
|
+
mobile: {
|
|
551
|
+
minHeight: '138px',
|
|
552
|
+
minWidth: '128px',
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
imageContainer: {
|
|
556
|
+
maxWidth: '214px',
|
|
557
|
+
padding: '12px',
|
|
558
|
+
mobile: {
|
|
559
|
+
maxWidth: '286px',
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
userInfoText: {
|
|
563
|
+
fontSize: '12px',
|
|
564
|
+
mobile: {
|
|
565
|
+
fontSize: '12px',
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
medium: {
|
|
570
|
+
image: {
|
|
571
|
+
minHeight: '200px',
|
|
572
|
+
minWidth: '187px',
|
|
573
|
+
mobile: {
|
|
574
|
+
minHeight: '157px',
|
|
575
|
+
minWidth: '150px',
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
imageContainer: {
|
|
579
|
+
maxWidth: '427px',
|
|
580
|
+
padding: '18px',
|
|
581
|
+
mobile: {
|
|
582
|
+
maxWidth: '342px',
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
userInfoText: {
|
|
586
|
+
fontSize: '18px',
|
|
587
|
+
mobile: {
|
|
588
|
+
fontSize: '14px',
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
},
|
|
592
|
+
large: {
|
|
593
|
+
image: {
|
|
594
|
+
minHeight: '200px',
|
|
595
|
+
minWidth: '187px',
|
|
596
|
+
mobile: {
|
|
597
|
+
minHeight: '157px',
|
|
598
|
+
minWidth: '150px',
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
imageContainer: {
|
|
602
|
+
maxWidth: '427px',
|
|
603
|
+
padding: '18px',
|
|
604
|
+
mobile: {
|
|
605
|
+
maxWidth: '342px',
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
userInfoText: {
|
|
609
|
+
fontSize: '18px',
|
|
610
|
+
mobile: {
|
|
611
|
+
fontSize: '14px',
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
total: {
|
|
618
|
+
basicTotal: {
|
|
619
|
+
amount: {
|
|
620
|
+
color: '--colors-shades-550-color',
|
|
621
|
+
fontSize: '24px',
|
|
622
|
+
},
|
|
623
|
+
currency: {
|
|
624
|
+
color: '--colors-shades-250-color',
|
|
625
|
+
fontSize: '14px',
|
|
626
|
+
lineHeight: '22px',
|
|
627
|
+
alignSelf: 'flex-end',
|
|
628
|
+
},
|
|
629
|
+
savings: {
|
|
630
|
+
amountFontWeight: 600,
|
|
631
|
+
color: '--colors-semantic-positive-color',
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
subTotal: {
|
|
636
|
+
basicSubTotal: {
|
|
637
|
+
family: 'Jost',
|
|
638
|
+
size: '16px',
|
|
639
|
+
weight: 600,
|
|
640
|
+
lineHeight: '22px',
|
|
641
|
+
color: '--colors-shades-550-color',
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
pricing: {
|
|
645
|
+
priceLabel: {
|
|
646
|
+
price: {
|
|
647
|
+
size: ComponentSize.Small,
|
|
648
|
+
originalPriceColor: '--colors-shades-300-color',
|
|
649
|
+
actualPriceColor: '--colors-semantic-urgent-color',
|
|
650
|
+
},
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
orderSummary: {
|
|
654
|
+
headingTextAlign: 'left',
|
|
655
|
+
maxWidth: '428px',
|
|
656
|
+
onMobile: {
|
|
657
|
+
maxWidth: '100%',
|
|
658
|
+
padding: '15px',
|
|
659
|
+
},
|
|
660
|
+
},
|
|
661
|
+
expressCheckout: {
|
|
662
|
+
button: {
|
|
663
|
+
borderRadius: '8px',
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
copyrightText: {
|
|
667
|
+
fontSize: '16px',
|
|
668
|
+
fontWeight: 400,
|
|
669
|
+
lineHeight: '24px',
|
|
670
|
+
color: '--colors-pallete-secondary-color',
|
|
671
|
+
},
|
|
672
|
+
thankyouFooterText: {
|
|
673
|
+
fontSize: '14px',
|
|
674
|
+
fontWeight: '700',
|
|
675
|
+
lineHeight: '20px',
|
|
676
|
+
},
|
|
677
|
+
textButton: {
|
|
678
|
+
fontWeight: 500,
|
|
679
|
+
lineHeight: 'normal',
|
|
680
|
+
},
|
|
681
|
+
deliveryDetails: {
|
|
682
|
+
title: {
|
|
683
|
+
fontSize: '1rem',
|
|
684
|
+
lineHeight: '1.5rem',
|
|
685
|
+
fontWeight: 700,
|
|
686
|
+
},
|
|
687
|
+
sectionTitle: {
|
|
688
|
+
fontSize: '0.875rem',
|
|
689
|
+
lineHeight: '1.375rem',
|
|
690
|
+
fontWeight: 700,
|
|
691
|
+
},
|
|
692
|
+
note: {
|
|
693
|
+
accentColor: '#D3373C',
|
|
694
|
+
color: '--colors-text-color',
|
|
695
|
+
backgroundColor: '#FDF1EF',
|
|
696
|
+
},
|
|
697
|
+
sectionDetails: {
|
|
698
|
+
fontSize: '0.875rem',
|
|
699
|
+
lineHeight: '1.375rem',
|
|
700
|
+
fontWeight: 400,
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
text: {
|
|
704
|
+
orderHeader: {
|
|
705
|
+
color: '--colors-pallete-primary-color',
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
orderBar: {
|
|
709
|
+
backgroundColor: '#dfefeb',
|
|
710
|
+
fontColor: '--colors-shades-700-color',
|
|
711
|
+
},
|
|
712
|
+
banner: {
|
|
713
|
+
outlineColor: '--colors-semantic-urgent-color',
|
|
714
|
+
filledColor: '--colors-semantic-urgent-color',
|
|
715
|
+
fontColor: '--colors-shades-white-color',
|
|
716
|
+
},
|
|
717
|
+
offerTitleText: {
|
|
718
|
+
size: '18px',
|
|
719
|
+
weight: 700,
|
|
720
|
+
lineHeight: '1.7rem',
|
|
721
|
+
},
|
|
722
|
+
linePrice: {
|
|
723
|
+
color: '--colors-semantic-urgent-color',
|
|
724
|
+
badge: {
|
|
725
|
+
color: '--colors-semantic-urgent-color',
|
|
726
|
+
borderRadius: '8px',
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
divider: {
|
|
730
|
+
color: '--colors-pallete-secondary-soft-color',
|
|
731
|
+
},
|
|
732
|
+
checkout: {
|
|
733
|
+
paymentInformation: {
|
|
734
|
+
borderRadius: '8px',
|
|
735
|
+
},
|
|
736
|
+
creditCardSection: {
|
|
737
|
+
borderRadius: '8px',
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
upsell: {
|
|
741
|
+
banner: {
|
|
742
|
+
outlined: {
|
|
743
|
+
color: '--colors-semantic-urgent-color',
|
|
744
|
+
},
|
|
745
|
+
},
|
|
746
|
+
price: {
|
|
747
|
+
colors: {
|
|
748
|
+
regular: '--colors-shades-400-color',
|
|
749
|
+
deal: '--colors-semantic-urgent-color',
|
|
750
|
+
each: '--colors-shades-700-color',
|
|
751
|
+
badgeBG: '--colors-semantic-urgent-color',
|
|
752
|
+
badgeColor: '--colors-shades-white-color',
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
hurryTimeCard: {
|
|
756
|
+
backgroundColor: '#F7ECE4',
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
thankyou: {
|
|
760
|
+
emailSection: {
|
|
761
|
+
backgroundColor: '#FDF1EF',
|
|
762
|
+
},
|
|
763
|
+
socialIcon: {
|
|
764
|
+
color: '--colors-pallete-primary-color',
|
|
765
|
+
},
|
|
766
|
+
orderId: {
|
|
767
|
+
color: '--colors-pallete-primary-color',
|
|
768
|
+
},
|
|
769
|
+
},
|
|
480
770
|
},
|
|
481
771
|
typography: {
|
|
482
772
|
config: {
|
|
@@ -532,6 +822,14 @@ var shapermint = {
|
|
|
532
822
|
fontSize: 18,
|
|
533
823
|
lineHeight: '28px',
|
|
534
824
|
},
|
|
825
|
+
heading7: {
|
|
826
|
+
fontSize: 20,
|
|
827
|
+
lineHeight: '28px',
|
|
828
|
+
},
|
|
829
|
+
heading8: {
|
|
830
|
+
fontSize: 18,
|
|
831
|
+
lineHeight: '28px',
|
|
832
|
+
},
|
|
535
833
|
'body-regular': {
|
|
536
834
|
fontSize: 16,
|
|
537
835
|
lineHeight: '24px',
|
|
@@ -609,6 +907,13 @@ var shapermint = {
|
|
|
609
907
|
src: 'AvenirNextLTPro-Regular.woff2',
|
|
610
908
|
weight: 'normal',
|
|
611
909
|
},
|
|
910
|
+
{
|
|
911
|
+
family: 'AvenirNextLTPro',
|
|
912
|
+
src: 'AvenirNextLTPro-It.otf',
|
|
913
|
+
weight: 'normal',
|
|
914
|
+
stretch: 'condensed',
|
|
915
|
+
style: 'italic',
|
|
916
|
+
},
|
|
612
917
|
{
|
|
613
918
|
family: 'AvenirNextLTPro',
|
|
614
919
|
src: 'AvenirNextLTPro-Demi.otf',
|
|
@@ -687,7 +992,21 @@ var shapermint = {
|
|
|
687
992
|
assets: {
|
|
688
993
|
images: {
|
|
689
994
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
690
|
-
logo: 'https://cdn.jsdelivr.net/gh/
|
|
995
|
+
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
996
|
+
logoSize: {
|
|
997
|
+
width: '204',
|
|
998
|
+
height: '35',
|
|
999
|
+
},
|
|
1000
|
+
upsellLogo: {
|
|
1001
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
1002
|
+
width: '210',
|
|
1003
|
+
height: '40',
|
|
1004
|
+
},
|
|
1005
|
+
tyLogo: {
|
|
1006
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
1007
|
+
width: '192',
|
|
1008
|
+
height: '36',
|
|
1009
|
+
},
|
|
691
1010
|
},
|
|
692
1011
|
},
|
|
693
1012
|
};
|