@trafilea/afrodita-components 5.0.0-beta.140 → 5.0.0-beta.141

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 CHANGED
@@ -1626,6 +1626,18 @@ declare type ThemeComponent = {
1626
1626
  };
1627
1627
  };
1628
1628
  };
1629
+ expressCheckout: {
1630
+ fontFamily: string;
1631
+ };
1632
+ copyrightText: {
1633
+ fontSize: string;
1634
+ fontWeight: number;
1635
+ lineHeight: string;
1636
+ color: string;
1637
+ };
1638
+ textButton: {
1639
+ fontWeight: number;
1640
+ };
1629
1641
  };
1630
1642
  declare type ThemeTypography = {
1631
1643
  config: {
@@ -4918,17 +4918,17 @@ var getStylesBySize$8 = function (size) {
4918
4918
  };
4919
4919
  case ComponentSize.Small:
4920
4920
  return {
4921
- fontSize: '0.88rem',
4921
+ fontSize: '14px',
4922
4922
  };
4923
4923
  default:
4924
4924
  return {
4925
- fontSize: '0.88rem',
4925
+ fontSize: '14px',
4926
4926
  };
4927
4927
  }
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: 500, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
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': {
4932
4932
  color: theme.colors.shades['250'].color,
4933
4933
  textDecorationLine: 'none',
4934
4934
  } });
package/build/index.js CHANGED
@@ -4944,17 +4944,17 @@ var getStylesBySize$8 = function (size) {
4944
4944
  };
4945
4945
  case exports.ComponentSize.Small:
4946
4946
  return {
4947
- fontSize: '0.88rem',
4947
+ fontSize: '14px',
4948
4948
  };
4949
4949
  default:
4950
4950
  return {
4951
- fontSize: '0.88rem',
4951
+ fontSize: '14px',
4952
4952
  };
4953
4953
  }
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: 500, textDecorationLine: 'underline' }, stylesBySize), { '&:disabled': {
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': {
4958
4958
  color: theme.colors.shades['250'].color,
4959
4959
  textDecorationLine: 'none',
4960
4960
  } });
@@ -477,6 +477,18 @@ declare type ThemeComponent = {
477
477
  };
478
478
  };
479
479
  };
480
+ expressCheckout: {
481
+ fontFamily: string;
482
+ };
483
+ copyrightText: {
484
+ fontSize: string;
485
+ fontWeight: number;
486
+ lineHeight: string;
487
+ color: string;
488
+ };
489
+ textButton: {
490
+ fontWeight: number;
491
+ };
480
492
  };
481
493
  declare type ThemeTypography = {
482
494
  config: {
@@ -581,6 +581,18 @@ var revel = {
581
581
  },
582
582
  },
583
583
  },
584
+ expressCheckout: {
585
+ fontFamily: 'Jost',
586
+ },
587
+ copyrightText: {
588
+ fontSize: '14px',
589
+ fontWeight: 400,
590
+ lineHeight: '22px',
591
+ color: '--colors-shades-400-color',
592
+ },
593
+ textButton: {
594
+ fontWeight: 600,
595
+ },
584
596
  },
585
597
  typography: {
586
598
  config: {
@@ -477,6 +477,18 @@ declare type ThemeComponent = {
477
477
  };
478
478
  };
479
479
  };
480
+ expressCheckout: {
481
+ fontFamily: string;
482
+ };
483
+ copyrightText: {
484
+ fontSize: string;
485
+ fontWeight: number;
486
+ lineHeight: string;
487
+ color: string;
488
+ };
489
+ textButton: {
490
+ fontWeight: number;
491
+ };
480
492
  };
481
493
  declare type ThemeTypography = {
482
494
  config: {
@@ -581,6 +581,18 @@ var shapermint = {
581
581
  },
582
582
  },
583
583
  },
584
+ expressCheckout: {
585
+ fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
586
+ },
587
+ copyrightText: {
588
+ fontSize: '16px',
589
+ fontWeight: 400,
590
+ lineHeight: '24px',
591
+ color: '--colors-pallete-secondary-color',
592
+ },
593
+ textButton: {
594
+ fontWeight: 500,
595
+ },
584
596
  },
585
597
  typography: {
586
598
  config: {
@@ -477,6 +477,18 @@ declare type ThemeComponent = {
477
477
  };
478
478
  };
479
479
  };
480
+ expressCheckout: {
481
+ fontFamily: string;
482
+ };
483
+ copyrightText: {
484
+ fontSize: string;
485
+ fontWeight: number;
486
+ lineHeight: string;
487
+ color: string;
488
+ };
489
+ textButton: {
490
+ fontWeight: number;
491
+ };
480
492
  };
481
493
  declare type ThemeTypography = {
482
494
  config: {
@@ -654,6 +654,18 @@ var truekind = {
654
654
  },
655
655
  },
656
656
  },
657
+ expressCheckout: {
658
+ fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
659
+ },
660
+ copyrightText: {
661
+ fontSize: '16px',
662
+ fontWeight: 400,
663
+ lineHeight: '24px',
664
+ color: '--colors-pallete-secondary-color',
665
+ },
666
+ textButton: {
667
+ fontWeight: 500,
668
+ },
657
669
  },
658
670
  fonts: {
659
671
  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.140",
6
+ "version": "5.0.0-beta.141",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",