@trafilea/afrodita-components 5.0.0-beta.142 → 5.0.0-beta.143
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 +7 -0
- package/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/build/theme/revel.theme.d.ts +7 -0
- package/build/theme/revel.theme.js +7 -0
- package/build/theme/shapermint.theme.d.ts +7 -0
- package/build/theme/shapermint.theme.js +7 -0
- package/build/theme/truekind.theme.d.ts +7 -0
- package/build/theme/truekind.theme.js +7 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1671,6 +1671,8 @@ declare type ThemeComponent = {
|
|
|
1671
1671
|
};
|
|
1672
1672
|
expressCheckout: {
|
|
1673
1673
|
fontFamily: string;
|
|
1674
|
+
fontWeight: number;
|
|
1675
|
+
lineHeight: string;
|
|
1674
1676
|
};
|
|
1675
1677
|
copyrightText: {
|
|
1676
1678
|
fontSize: string;
|
|
@@ -1680,6 +1682,7 @@ declare type ThemeComponent = {
|
|
|
1680
1682
|
};
|
|
1681
1683
|
textButton: {
|
|
1682
1684
|
fontWeight: number;
|
|
1685
|
+
lineHeight: string;
|
|
1683
1686
|
};
|
|
1684
1687
|
};
|
|
1685
1688
|
declare type ThemeTypography = {
|
|
@@ -1707,6 +1710,10 @@ declare type ThemeAssets = {
|
|
|
1707
1710
|
images: {
|
|
1708
1711
|
favicon: string;
|
|
1709
1712
|
logo: string;
|
|
1713
|
+
logoSize?: {
|
|
1714
|
+
width: string;
|
|
1715
|
+
height: string;
|
|
1716
|
+
};
|
|
1710
1717
|
logoMobile?: string;
|
|
1711
1718
|
};
|
|
1712
1719
|
[key: string]: any;
|
package/build/index.esm.js
CHANGED
|
@@ -4928,7 +4928,7 @@ var getStylesBySize$8 = function (size) {
|
|
|
4928
4928
|
};
|
|
4929
4929
|
var textButtonStyles$1 = function (theme, size) {
|
|
4930
4930
|
var stylesBySize = getStylesBySize$8(size);
|
|
4931
|
-
return __assign$1(__assign$1({ border: 'none', background: 'transparent', padding: 0, color: theme.colors.shades['550'].color, alignItems: 'center', fontWeight: theme.component.textButton.fontWeight, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
|
|
4931
|
+
return __assign$1(__assign$1({ border: 'none', background: 'transparent', padding: 0, color: theme.colors.shades['550'].color, alignItems: 'center', fontFamily: theme.fonts.config[0].family, lineHeight: theme.component.textButton.lineHeight, fontWeight: theme.component.textButton.fontWeight, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
|
|
4932
4932
|
color: theme.colors.shades['250'].color,
|
|
4933
4933
|
textDecorationLine: 'none',
|
|
4934
4934
|
} });
|
package/build/index.js
CHANGED
|
@@ -4954,7 +4954,7 @@ var getStylesBySize$8 = function (size) {
|
|
|
4954
4954
|
};
|
|
4955
4955
|
var textButtonStyles$1 = function (theme, size) {
|
|
4956
4956
|
var stylesBySize = getStylesBySize$8(size);
|
|
4957
|
-
return __assign$1(__assign$1({ border: 'none', background: 'transparent', padding: 0, color: theme.colors.shades['550'].color, alignItems: 'center', fontWeight: theme.component.textButton.fontWeight, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
|
|
4957
|
+
return __assign$1(__assign$1({ border: 'none', background: 'transparent', padding: 0, color: theme.colors.shades['550'].color, alignItems: 'center', fontFamily: theme.fonts.config[0].family, lineHeight: theme.component.textButton.lineHeight, fontWeight: theme.component.textButton.fontWeight, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
|
|
4958
4958
|
color: theme.colors.shades['250'].color,
|
|
4959
4959
|
textDecorationLine: 'none',
|
|
4960
4960
|
} });
|
|
@@ -522,6 +522,8 @@ declare type ThemeComponent = {
|
|
|
522
522
|
};
|
|
523
523
|
expressCheckout: {
|
|
524
524
|
fontFamily: string;
|
|
525
|
+
fontWeight: number;
|
|
526
|
+
lineHeight: string;
|
|
525
527
|
};
|
|
526
528
|
copyrightText: {
|
|
527
529
|
fontSize: string;
|
|
@@ -531,6 +533,7 @@ declare type ThemeComponent = {
|
|
|
531
533
|
};
|
|
532
534
|
textButton: {
|
|
533
535
|
fontWeight: number;
|
|
536
|
+
lineHeight: string;
|
|
534
537
|
};
|
|
535
538
|
};
|
|
536
539
|
declare type ThemeTypography = {
|
|
@@ -558,6 +561,10 @@ declare type ThemeAssets = {
|
|
|
558
561
|
images: {
|
|
559
562
|
favicon: string;
|
|
560
563
|
logo: string;
|
|
564
|
+
logoSize?: {
|
|
565
|
+
width: string;
|
|
566
|
+
height: string;
|
|
567
|
+
};
|
|
561
568
|
logoMobile?: string;
|
|
562
569
|
};
|
|
563
570
|
[key: string]: any;
|
|
@@ -651,6 +651,8 @@ var revel = {
|
|
|
651
651
|
},
|
|
652
652
|
expressCheckout: {
|
|
653
653
|
fontFamily: 'Jost',
|
|
654
|
+
fontWeight: 600,
|
|
655
|
+
lineHeight: '22px',
|
|
654
656
|
},
|
|
655
657
|
copyrightText: {
|
|
656
658
|
fontSize: '14px',
|
|
@@ -660,6 +662,7 @@ var revel = {
|
|
|
660
662
|
},
|
|
661
663
|
textButton: {
|
|
662
664
|
fontWeight: 600,
|
|
665
|
+
lineHeight: '22px',
|
|
663
666
|
},
|
|
664
667
|
},
|
|
665
668
|
typography: {
|
|
@@ -905,6 +908,10 @@ var revel = {
|
|
|
905
908
|
images: {
|
|
906
909
|
favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revel_favicon.png',
|
|
907
910
|
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
|
|
911
|
+
logoSize: {
|
|
912
|
+
width: '342',
|
|
913
|
+
height: '22',
|
|
914
|
+
},
|
|
908
915
|
logoMobile: 'https://cdn11.bigcommerce.com/s-fjtlubkm6t/images/stencil/original/image-manager/mobilelogo.png?t=1667205066&_gl=1*1rjjnv8*_ga*MTM1MjY2Nzk4OS4xNjYzMjQ5ODIy*_ga_WS2VZYPC6G*MTY2NzIwNDk0OS41Ni4xLjE2NjcyMDUwNTguMTQuMC4w',
|
|
909
916
|
},
|
|
910
917
|
},
|
|
@@ -522,6 +522,8 @@ declare type ThemeComponent = {
|
|
|
522
522
|
};
|
|
523
523
|
expressCheckout: {
|
|
524
524
|
fontFamily: string;
|
|
525
|
+
fontWeight: number;
|
|
526
|
+
lineHeight: string;
|
|
525
527
|
};
|
|
526
528
|
copyrightText: {
|
|
527
529
|
fontSize: string;
|
|
@@ -531,6 +533,7 @@ declare type ThemeComponent = {
|
|
|
531
533
|
};
|
|
532
534
|
textButton: {
|
|
533
535
|
fontWeight: number;
|
|
536
|
+
lineHeight: string;
|
|
534
537
|
};
|
|
535
538
|
};
|
|
536
539
|
declare type ThemeTypography = {
|
|
@@ -558,6 +561,10 @@ declare type ThemeAssets = {
|
|
|
558
561
|
images: {
|
|
559
562
|
favicon: string;
|
|
560
563
|
logo: string;
|
|
564
|
+
logoSize?: {
|
|
565
|
+
width: string;
|
|
566
|
+
height: string;
|
|
567
|
+
};
|
|
561
568
|
logoMobile?: string;
|
|
562
569
|
};
|
|
563
570
|
[key: string]: any;
|
|
@@ -651,6 +651,8 @@ var shapermint = {
|
|
|
651
651
|
},
|
|
652
652
|
expressCheckout: {
|
|
653
653
|
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
654
|
+
fontWeight: 500,
|
|
655
|
+
lineHeight: '16px',
|
|
654
656
|
},
|
|
655
657
|
copyrightText: {
|
|
656
658
|
fontSize: '16px',
|
|
@@ -660,6 +662,7 @@ var shapermint = {
|
|
|
660
662
|
},
|
|
661
663
|
textButton: {
|
|
662
664
|
fontWeight: 500,
|
|
665
|
+
lineHeight: 'normal',
|
|
663
666
|
},
|
|
664
667
|
},
|
|
665
668
|
typography: {
|
|
@@ -872,6 +875,10 @@ var shapermint = {
|
|
|
872
875
|
images: {
|
|
873
876
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
874
877
|
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
878
|
+
logoSize: {
|
|
879
|
+
width: '230',
|
|
880
|
+
height: '46',
|
|
881
|
+
},
|
|
875
882
|
},
|
|
876
883
|
},
|
|
877
884
|
};
|
|
@@ -522,6 +522,8 @@ declare type ThemeComponent = {
|
|
|
522
522
|
};
|
|
523
523
|
expressCheckout: {
|
|
524
524
|
fontFamily: string;
|
|
525
|
+
fontWeight: number;
|
|
526
|
+
lineHeight: string;
|
|
525
527
|
};
|
|
526
528
|
copyrightText: {
|
|
527
529
|
fontSize: string;
|
|
@@ -531,6 +533,7 @@ declare type ThemeComponent = {
|
|
|
531
533
|
};
|
|
532
534
|
textButton: {
|
|
533
535
|
fontWeight: number;
|
|
536
|
+
lineHeight: string;
|
|
534
537
|
};
|
|
535
538
|
};
|
|
536
539
|
declare type ThemeTypography = {
|
|
@@ -558,6 +561,10 @@ declare type ThemeAssets = {
|
|
|
558
561
|
images: {
|
|
559
562
|
favicon: string;
|
|
560
563
|
logo: string;
|
|
564
|
+
logoSize?: {
|
|
565
|
+
width: string;
|
|
566
|
+
height: string;
|
|
567
|
+
};
|
|
561
568
|
logoMobile?: string;
|
|
562
569
|
};
|
|
563
570
|
[key: string]: any;
|
|
@@ -724,6 +724,8 @@ var truekind = {
|
|
|
724
724
|
},
|
|
725
725
|
expressCheckout: {
|
|
726
726
|
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
727
|
+
fontWeight: 500,
|
|
728
|
+
lineHeight: '16px',
|
|
727
729
|
},
|
|
728
730
|
copyrightText: {
|
|
729
731
|
fontSize: '16px',
|
|
@@ -733,6 +735,7 @@ var truekind = {
|
|
|
733
735
|
},
|
|
734
736
|
textButton: {
|
|
735
737
|
fontWeight: 500,
|
|
738
|
+
lineHeight: 'normal',
|
|
736
739
|
},
|
|
737
740
|
},
|
|
738
741
|
fonts: {
|
|
@@ -860,6 +863,10 @@ var truekind = {
|
|
|
860
863
|
images: {
|
|
861
864
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
862
865
|
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
866
|
+
logoSize: {
|
|
867
|
+
width: '',
|
|
868
|
+
height: '',
|
|
869
|
+
},
|
|
863
870
|
},
|
|
864
871
|
},
|
|
865
872
|
};
|
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.143",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|