@trafilea/afrodita-components 5.0.0-beta.241 → 5.0.0-beta.244
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.d.ts +12 -0
- package/build/index.esm.js +3 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -4
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +12 -0
- package/build/theme/revel.theme.js +7 -0
- package/build/theme/shapermint.theme.d.ts +12 -0
- package/build/theme/shapermint.theme.js +7 -0
- package/build/theme/thespadr.theme.d.ts +12 -0
- package/build/theme/thespadr.theme.js +39 -15
- package/build/theme/truekind.theme.d.ts +12 -0
- package/build/theme/truekind.theme.js +7 -0
- package/package.json +1 -1
|
@@ -545,6 +545,9 @@ declare type ThemeComponent = {
|
|
|
545
545
|
fontFamily: string;
|
|
546
546
|
fontWeight: number;
|
|
547
547
|
lineHeight: string;
|
|
548
|
+
button: {
|
|
549
|
+
borderRadius: string;
|
|
550
|
+
};
|
|
548
551
|
};
|
|
549
552
|
copyrightText: {
|
|
550
553
|
fontSize: string;
|
|
@@ -571,6 +574,10 @@ declare type ThemeComponent = {
|
|
|
571
574
|
color: string;
|
|
572
575
|
};
|
|
573
576
|
};
|
|
577
|
+
orderBar: {
|
|
578
|
+
backgroundColor: string;
|
|
579
|
+
fontColor: string;
|
|
580
|
+
};
|
|
574
581
|
};
|
|
575
582
|
declare type ThemeTypography = {
|
|
576
583
|
config: {
|
|
@@ -602,6 +609,11 @@ declare type ThemeAssets = {
|
|
|
602
609
|
height: string;
|
|
603
610
|
};
|
|
604
611
|
logoMobile?: string;
|
|
612
|
+
checkoutLogo?: {
|
|
613
|
+
url: string;
|
|
614
|
+
width: string;
|
|
615
|
+
height: string;
|
|
616
|
+
};
|
|
605
617
|
};
|
|
606
618
|
[key: string]: any;
|
|
607
619
|
};
|
|
@@ -669,6 +669,9 @@ var revel = {
|
|
|
669
669
|
fontFamily: 'Jost',
|
|
670
670
|
fontWeight: 600,
|
|
671
671
|
lineHeight: '22px',
|
|
672
|
+
button: {
|
|
673
|
+
borderRadius: '4px',
|
|
674
|
+
},
|
|
672
675
|
},
|
|
673
676
|
copyrightText: {
|
|
674
677
|
fontSize: '14px',
|
|
@@ -695,6 +698,10 @@ var revel = {
|
|
|
695
698
|
color: '--colors-shades-650-color',
|
|
696
699
|
},
|
|
697
700
|
},
|
|
701
|
+
orderBar: {
|
|
702
|
+
backgroundColor: '#dfefeb',
|
|
703
|
+
fontColor: '--colors-shades-700-color',
|
|
704
|
+
},
|
|
698
705
|
},
|
|
699
706
|
typography: {
|
|
700
707
|
config: {
|
|
@@ -545,6 +545,9 @@ declare type ThemeComponent = {
|
|
|
545
545
|
fontFamily: string;
|
|
546
546
|
fontWeight: number;
|
|
547
547
|
lineHeight: string;
|
|
548
|
+
button: {
|
|
549
|
+
borderRadius: string;
|
|
550
|
+
};
|
|
548
551
|
};
|
|
549
552
|
copyrightText: {
|
|
550
553
|
fontSize: string;
|
|
@@ -571,6 +574,10 @@ declare type ThemeComponent = {
|
|
|
571
574
|
color: string;
|
|
572
575
|
};
|
|
573
576
|
};
|
|
577
|
+
orderBar: {
|
|
578
|
+
backgroundColor: string;
|
|
579
|
+
fontColor: string;
|
|
580
|
+
};
|
|
574
581
|
};
|
|
575
582
|
declare type ThemeTypography = {
|
|
576
583
|
config: {
|
|
@@ -602,6 +609,11 @@ declare type ThemeAssets = {
|
|
|
602
609
|
height: string;
|
|
603
610
|
};
|
|
604
611
|
logoMobile?: string;
|
|
612
|
+
checkoutLogo?: {
|
|
613
|
+
url: string;
|
|
614
|
+
width: string;
|
|
615
|
+
height: string;
|
|
616
|
+
};
|
|
605
617
|
};
|
|
606
618
|
[key: string]: any;
|
|
607
619
|
};
|
|
@@ -669,6 +669,9 @@ var shapermint = {
|
|
|
669
669
|
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
670
670
|
fontWeight: 500,
|
|
671
671
|
lineHeight: '16px',
|
|
672
|
+
button: {
|
|
673
|
+
borderRadius: '4px',
|
|
674
|
+
},
|
|
672
675
|
},
|
|
673
676
|
copyrightText: {
|
|
674
677
|
fontSize: '16px',
|
|
@@ -692,6 +695,10 @@ var shapermint = {
|
|
|
692
695
|
color: '--colors-pallete-primary-color',
|
|
693
696
|
},
|
|
694
697
|
},
|
|
698
|
+
orderBar: {
|
|
699
|
+
backgroundColor: '#dfefeb',
|
|
700
|
+
fontColor: '--colors-shades-700-color',
|
|
701
|
+
},
|
|
695
702
|
},
|
|
696
703
|
typography: {
|
|
697
704
|
config: {
|
|
@@ -545,6 +545,9 @@ declare type ThemeComponent = {
|
|
|
545
545
|
fontFamily: string;
|
|
546
546
|
fontWeight: number;
|
|
547
547
|
lineHeight: string;
|
|
548
|
+
button: {
|
|
549
|
+
borderRadius: string;
|
|
550
|
+
};
|
|
548
551
|
};
|
|
549
552
|
copyrightText: {
|
|
550
553
|
fontSize: string;
|
|
@@ -571,6 +574,10 @@ declare type ThemeComponent = {
|
|
|
571
574
|
color: string;
|
|
572
575
|
};
|
|
573
576
|
};
|
|
577
|
+
orderBar: {
|
|
578
|
+
backgroundColor: string;
|
|
579
|
+
fontColor: string;
|
|
580
|
+
};
|
|
574
581
|
};
|
|
575
582
|
declare type ThemeTypography = {
|
|
576
583
|
config: {
|
|
@@ -602,6 +609,11 @@ declare type ThemeAssets = {
|
|
|
602
609
|
height: string;
|
|
603
610
|
};
|
|
604
611
|
logoMobile?: string;
|
|
612
|
+
checkoutLogo?: {
|
|
613
|
+
url: string;
|
|
614
|
+
width: string;
|
|
615
|
+
height: string;
|
|
616
|
+
};
|
|
605
617
|
};
|
|
606
618
|
[key: string]: any;
|
|
607
619
|
};
|
|
@@ -53,7 +53,7 @@ var InputValidationType;
|
|
|
53
53
|
})(InputValidationType || (InputValidationType = {}));
|
|
54
54
|
|
|
55
55
|
var tsd = {
|
|
56
|
-
name: '
|
|
56
|
+
name: 'TheSpaDr',
|
|
57
57
|
fontSizes: [8, 10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
58
58
|
fontWeights: [400, 600, 500, 700, 900],
|
|
59
59
|
lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
|
|
@@ -239,7 +239,7 @@ var tsd = {
|
|
|
239
239
|
positive: { color: '#2F806A', contrast: '--colors-shades-white-color' },
|
|
240
240
|
urgent: { color: '#D82A2D', contrast: '--colors-shades-white-color' },
|
|
241
241
|
attention: { color: '#F2D96F', contrast: '--colors-shades-700-color' },
|
|
242
|
-
informative: { color: '#
|
|
242
|
+
informative: { color: '#0A609B', contrast: '--colors-shades-700-color' },
|
|
243
243
|
},
|
|
244
244
|
border: {
|
|
245
245
|
color: '',
|
|
@@ -407,7 +407,7 @@ var tsd = {
|
|
|
407
407
|
},
|
|
408
408
|
},
|
|
409
409
|
card: {
|
|
410
|
-
borderRadius: '
|
|
410
|
+
borderRadius: '20px',
|
|
411
411
|
backgroundColor: '--colors-pallete-primary-color',
|
|
412
412
|
},
|
|
413
413
|
radio: {
|
|
@@ -443,7 +443,7 @@ var tsd = {
|
|
|
443
443
|
},
|
|
444
444
|
},
|
|
445
445
|
label: {
|
|
446
|
-
color: '--colors-
|
|
446
|
+
color: '--colors-shades-400-color',
|
|
447
447
|
fontSize: {
|
|
448
448
|
small: '0.75rem',
|
|
449
449
|
medium: '0.75rem',
|
|
@@ -547,7 +547,7 @@ var tsd = {
|
|
|
547
547
|
},
|
|
548
548
|
},
|
|
549
549
|
dropdown: {
|
|
550
|
-
borderRadius: '
|
|
550
|
+
borderRadius: '15px',
|
|
551
551
|
fontSize: '16px',
|
|
552
552
|
fontWeight: 600,
|
|
553
553
|
lineHeight: '1.125rem',
|
|
@@ -686,7 +686,7 @@ var tsd = {
|
|
|
686
686
|
pricing: {
|
|
687
687
|
priceLabel: {
|
|
688
688
|
price: {
|
|
689
|
-
size: ComponentSize.
|
|
689
|
+
size: ComponentSize.Medium,
|
|
690
690
|
originalPriceColor: '--colors-shades-300-color',
|
|
691
691
|
actualPriceColor: '--colors-semantic-urgent-color',
|
|
692
692
|
},
|
|
@@ -704,15 +704,18 @@ var tsd = {
|
|
|
704
704
|
},
|
|
705
705
|
},
|
|
706
706
|
expressCheckout: {
|
|
707
|
-
fontFamily: '
|
|
708
|
-
fontWeight:
|
|
709
|
-
lineHeight: '
|
|
707
|
+
fontFamily: 'Avenir Next',
|
|
708
|
+
fontWeight: 600,
|
|
709
|
+
lineHeight: '22px',
|
|
710
|
+
button: {
|
|
711
|
+
borderRadius: '15px',
|
|
712
|
+
},
|
|
710
713
|
},
|
|
711
714
|
copyrightText: {
|
|
712
|
-
fontSize: '
|
|
715
|
+
fontSize: '14px',
|
|
713
716
|
fontWeight: 400,
|
|
714
|
-
lineHeight: '
|
|
715
|
-
color: '--colors-
|
|
717
|
+
lineHeight: '22px',
|
|
718
|
+
color: '--colors-shades-400-color',
|
|
716
719
|
},
|
|
717
720
|
textButton: {
|
|
718
721
|
fontWeight: 500,
|
|
@@ -730,6 +733,10 @@ var tsd = {
|
|
|
730
733
|
color: '--colors-pallete-primary-color',
|
|
731
734
|
},
|
|
732
735
|
},
|
|
736
|
+
orderBar: {
|
|
737
|
+
backgroundColor: '--colors-pallete-primary-color',
|
|
738
|
+
fontColor: '--colors-shades-white-color',
|
|
739
|
+
},
|
|
733
740
|
},
|
|
734
741
|
typography: {
|
|
735
742
|
config: {
|
|
@@ -782,8 +789,8 @@ var tsd = {
|
|
|
782
789
|
lineHeight: '32px',
|
|
783
790
|
},
|
|
784
791
|
heading6: {
|
|
785
|
-
fontSize:
|
|
786
|
-
lineHeight: '
|
|
792
|
+
fontSize: 18,
|
|
793
|
+
lineHeight: '22px',
|
|
787
794
|
},
|
|
788
795
|
'body-large': {
|
|
789
796
|
fontSize: 18,
|
|
@@ -814,7 +821,7 @@ var tsd = {
|
|
|
814
821
|
lineHeight: '32px',
|
|
815
822
|
},
|
|
816
823
|
'pricing-medium': {
|
|
817
|
-
fontSize:
|
|
824
|
+
fontSize: 18,
|
|
818
825
|
lineHeight: '24px',
|
|
819
826
|
},
|
|
820
827
|
'pricing-regular': {
|
|
@@ -872,56 +879,68 @@ var tsd = {
|
|
|
872
879
|
{
|
|
873
880
|
family: 'Poppins',
|
|
874
881
|
src: 'Poppins-Regular.ttf',
|
|
882
|
+
weight: 400,
|
|
875
883
|
},
|
|
876
884
|
{
|
|
877
885
|
family: 'Poppins',
|
|
878
886
|
src: 'Poppins-Italic.ttf',
|
|
879
887
|
style: 'italic',
|
|
888
|
+
weight: 400,
|
|
880
889
|
},
|
|
881
890
|
{
|
|
882
891
|
family: 'Poppins',
|
|
883
892
|
src: 'Poppins-Bold.ttf',
|
|
893
|
+
weight: 700,
|
|
884
894
|
},
|
|
885
895
|
{
|
|
886
896
|
family: 'Poppins',
|
|
887
897
|
src: 'Poppins-BoldItalic.ttf',
|
|
888
898
|
style: 'italic',
|
|
899
|
+
weight: 700,
|
|
889
900
|
},
|
|
890
901
|
{
|
|
891
902
|
family: 'Poppins',
|
|
892
903
|
src: 'Poppins-ExtraBold.ttf',
|
|
904
|
+
weight: 900,
|
|
893
905
|
},
|
|
894
906
|
{
|
|
895
907
|
family: 'Poppins',
|
|
896
908
|
src: 'Poppins-ExtraBoldItalic.ttf',
|
|
897
909
|
style: 'italic',
|
|
910
|
+
weight: 900,
|
|
898
911
|
},
|
|
899
912
|
{
|
|
900
913
|
family: 'Poppins',
|
|
901
914
|
src: 'Poppins-Medium.ttf',
|
|
915
|
+
weight: 500,
|
|
902
916
|
},
|
|
903
917
|
{
|
|
904
918
|
family: 'Poppins',
|
|
905
919
|
src: 'Poppins-MediumItalic.ttf',
|
|
906
920
|
style: 'italic',
|
|
921
|
+
weight: 500,
|
|
907
922
|
},
|
|
908
923
|
{
|
|
909
924
|
family: 'Poppins',
|
|
910
925
|
src: 'Poppins-SemiBold.ttf',
|
|
926
|
+
weight: 600,
|
|
911
927
|
},
|
|
912
928
|
{
|
|
913
929
|
family: 'Poppins',
|
|
914
930
|
src: 'Poppins-SemiBoldItalic.ttf',
|
|
915
931
|
style: 'italic',
|
|
932
|
+
weight: 600,
|
|
916
933
|
},
|
|
917
934
|
{
|
|
918
935
|
family: 'Poppins',
|
|
919
936
|
src: 'Poppins-Light.ttf',
|
|
937
|
+
weight: 300,
|
|
920
938
|
},
|
|
921
939
|
{
|
|
922
940
|
family: 'Poppins',
|
|
923
941
|
src: 'Poppins-LightItalic.ttf',
|
|
924
942
|
style: 'italic',
|
|
943
|
+
weight: 300,
|
|
925
944
|
},
|
|
926
945
|
{
|
|
927
946
|
family: 'PlayfairDisplay',
|
|
@@ -1010,6 +1029,11 @@ var tsd = {
|
|
|
1010
1029
|
height: '165',
|
|
1011
1030
|
},
|
|
1012
1031
|
logoMobile: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo.svg',
|
|
1032
|
+
checkoutLogo: {
|
|
1033
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/tsd/tsd_logo_checkout.png',
|
|
1034
|
+
width: '421',
|
|
1035
|
+
height: '82s',
|
|
1036
|
+
},
|
|
1013
1037
|
},
|
|
1014
1038
|
},
|
|
1015
1039
|
};
|
|
@@ -545,6 +545,9 @@ declare type ThemeComponent = {
|
|
|
545
545
|
fontFamily: string;
|
|
546
546
|
fontWeight: number;
|
|
547
547
|
lineHeight: string;
|
|
548
|
+
button: {
|
|
549
|
+
borderRadius: string;
|
|
550
|
+
};
|
|
548
551
|
};
|
|
549
552
|
copyrightText: {
|
|
550
553
|
fontSize: string;
|
|
@@ -571,6 +574,10 @@ declare type ThemeComponent = {
|
|
|
571
574
|
color: string;
|
|
572
575
|
};
|
|
573
576
|
};
|
|
577
|
+
orderBar: {
|
|
578
|
+
backgroundColor: string;
|
|
579
|
+
fontColor: string;
|
|
580
|
+
};
|
|
574
581
|
};
|
|
575
582
|
declare type ThemeTypography = {
|
|
576
583
|
config: {
|
|
@@ -602,6 +609,11 @@ declare type ThemeAssets = {
|
|
|
602
609
|
height: string;
|
|
603
610
|
};
|
|
604
611
|
logoMobile?: string;
|
|
612
|
+
checkoutLogo?: {
|
|
613
|
+
url: string;
|
|
614
|
+
width: string;
|
|
615
|
+
height: string;
|
|
616
|
+
};
|
|
605
617
|
};
|
|
606
618
|
[key: string]: any;
|
|
607
619
|
};
|
|
@@ -742,6 +742,9 @@ var truekind = {
|
|
|
742
742
|
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
743
743
|
fontWeight: 500,
|
|
744
744
|
lineHeight: '16px',
|
|
745
|
+
button: {
|
|
746
|
+
borderRadius: '4px',
|
|
747
|
+
},
|
|
745
748
|
},
|
|
746
749
|
copyrightText: {
|
|
747
750
|
fontSize: '16px',
|
|
@@ -765,6 +768,10 @@ var truekind = {
|
|
|
765
768
|
color: '--colors-pallete-primary-color',
|
|
766
769
|
},
|
|
767
770
|
},
|
|
771
|
+
orderBar: {
|
|
772
|
+
backgroundColor: '#dfefeb',
|
|
773
|
+
fontColor: '--colors-shades-700-color',
|
|
774
|
+
},
|
|
768
775
|
},
|
|
769
776
|
fonts: {
|
|
770
777
|
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
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.244",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|