@hero-design/rn 7.1.3-alpha2 → 7.1.3-alpha3

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/es/index.js CHANGED
@@ -9898,6 +9898,11 @@ var space = {
9898
9898
  };
9899
9899
 
9900
9900
  var BASE = 16;
9901
+ var fonts = {
9902
+ light: 'Be Vietnam Pro Light',
9903
+ regular: 'Be Vietnam Pro Regular',
9904
+ semiBold: 'Be Vietnam Pro SemiBold'
9905
+ };
9901
9906
  var fontSizes = {
9902
9907
  xxxxxlarge: scale(BASE * 2),
9903
9908
  xxxxlarge: scale(BASE * 1.75),
@@ -9910,12 +9915,6 @@ var fontSizes = {
9910
9915
  xsmall: scale(BASE * 0.625) // 10
9911
9916
 
9912
9917
  };
9913
- var fontWeights = {
9914
- light: 200,
9915
- regular: 400,
9916
- semiBold: 600,
9917
- bold: 700
9918
- };
9919
9918
  var lineHeights = {
9920
9919
  xxxxxlarge: fontSizes.xxxxxlarge + 8,
9921
9920
  xxxxlarge: fontSizes.xxxxlarge + 8,
@@ -9935,8 +9934,8 @@ var borderWidths = {
9935
9934
  var globalTheme = {
9936
9935
  colors: _objectSpread2({}, systemPalette),
9937
9936
  space: space,
9937
+ fonts: fonts,
9938
9938
  fontSizes: fontSizes,
9939
- fontWeights: fontWeights,
9940
9939
  lineHeights: lineHeights,
9941
9940
  borderWidths: borderWidths
9942
9941
  };
@@ -9958,12 +9957,12 @@ var getBadgeTheme = function getBadgeTheme(theme) {
9958
9957
  var padding = {
9959
9958
  "default": "".concat(theme.space.xsmall, "px ").concat(theme.space.small, "px")
9960
9959
  };
9960
+ var fonts = {
9961
+ "default": theme.fonts.semiBold
9962
+ };
9961
9963
  var fontSizes = {
9962
9964
  "default": "".concat(theme.fontSizes.small, "px")
9963
9965
  };
9964
- var fontWeights = {
9965
- "default": theme.fontWeights.semiBold
9966
- };
9967
9966
  var radii = {
9968
9967
  "default": "4px"
9969
9968
  };
@@ -9971,8 +9970,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
9971
9970
  borderWidths: borderWidths,
9972
9971
  colors: colors,
9973
9972
  padding: padding,
9973
+ fonts: fonts,
9974
9974
  fontSizes: fontSizes,
9975
- fontWeights: fontWeights,
9976
9975
  radii: radii
9977
9976
  };
9978
9977
  };
@@ -10060,17 +10059,17 @@ var getTypographyTheme = function getTypographyTheme(theme) {
10060
10059
  subdued: theme.colors.disabledText,
10061
10060
  primary: theme.colors.primary
10062
10061
  };
10062
+ var fonts = {
10063
+ light: theme.fonts.light,
10064
+ regular: theme.fonts.regular,
10065
+ semiBold: theme.fonts.semiBold
10066
+ };
10063
10067
  var fontSizes = {
10064
10068
  small: theme.fontSizes.small,
10065
10069
  medium: theme.fontSizes.medium,
10066
10070
  large: theme.fontSizes.large,
10067
10071
  xlarge: theme.fontSizes.xlarge
10068
10072
  };
10069
- var fontWeights = {
10070
- light: theme.fontWeights.light,
10071
- regular: theme.fontWeights.regular,
10072
- semiBold: theme.fontWeights.semiBold
10073
- };
10074
10073
  var lineHeights = {
10075
10074
  small: "".concat(theme.lineHeights.small, "px"),
10076
10075
  medium: "".concat(theme.lineHeights.medium, "px"),
@@ -10079,8 +10078,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
10079
10078
  };
10080
10079
  return {
10081
10080
  colors: colors,
10081
+ fonts: fonts,
10082
10082
  fontSizes: fontSizes,
10083
- fontWeights: fontWeights,
10084
10083
  lineHeights: lineHeights
10085
10084
  };
10086
10085
  };
@@ -10097,15 +10096,15 @@ var getFABTheme = function getFABTheme(theme) {
10097
10096
  width: '64px',
10098
10097
  height: '64px'
10099
10098
  };
10099
+ var fonts = {
10100
+ header: theme.fonts.semiBold,
10101
+ actionItemText: theme.fonts.regular
10102
+ };
10100
10103
  var fontSizes = {
10101
10104
  header: "".concat(theme.fontSizes.xxxlarge, "px"),
10102
10105
  buttonIcon: "".concat(theme.fontSizes.xxxlarge, "px"),
10103
10106
  actionItemText: "".concat(theme.fontSizes.medium, "px")
10104
10107
  };
10105
- var fontWeights = {
10106
- header: "".concat(theme.fontWeights.semiBold),
10107
- actionItemText: "".concat(theme.fontWeights.regular)
10108
- };
10109
10108
  var lineHeights = {
10110
10109
  header: "".concat(theme.lineHeights.xxxlarge, "px"),
10111
10110
  actionItemText: "".concat(theme.lineHeights.medium, "px")
@@ -10126,11 +10125,11 @@ var getFABTheme = function getFABTheme(theme) {
10126
10125
  };
10127
10126
  return {
10128
10127
  radii: radii,
10128
+ fonts: fonts,
10129
10129
  fontSizes: fontSizes,
10130
10130
  colors: colors,
10131
10131
  sizes: sizes,
10132
10132
  lineHeights: lineHeights,
10133
- fontWeights: fontWeights,
10134
10133
  space: space
10135
10134
  };
10136
10135
  };
@@ -10178,9 +10177,9 @@ var StyledView = styled(View)(_templateObject$9 || (_templateObject$9 = _taggedT
10178
10177
  return theme.__hd__.badge.colors[BACKGROUND_INTENTS[themeIntent]];
10179
10178
  });
10180
10179
  });
10181
- var StyledText$1 = styled(Text$1)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n font-weight: ", ";\n font-size: ", ";\n\n ", ";\n"])), function (_ref7) {
10180
+ var StyledText$1 = styled(Text$1)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n\n ", ";\n"])), function (_ref7) {
10182
10181
  var theme = _ref7.theme;
10183
- return theme.__hd__.badge.fontWeights["default"];
10182
+ return theme.__hd__.badge.fonts["default"];
10184
10183
  }, function (_ref8) {
10185
10184
  var theme = _ref8.theme;
10186
10185
  return theme.__hd__.badge.fontSizes["default"];
@@ -19900,13 +19899,13 @@ var StyledText = styled(Text$1)(_templateObject$7 || (_templateObject$7 = _tagge
19900
19899
 
19901
19900
  switch (themeFontWeight) {
19902
19901
  case 'light':
19903
- return css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.light);
19902
+ return css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.light);
19904
19903
 
19905
19904
  case 'regular':
19906
- return css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.regular);
19905
+ return css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.regular);
19907
19906
 
19908
19907
  case 'semi-bold':
19909
- return css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.semiBold);
19908
+ return css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.semiBold);
19910
19909
  }
19911
19910
  }, function (_ref3) {
19912
19911
  var themeIntent = _ref3.themeIntent,
@@ -20269,7 +20268,7 @@ var StyledActionItem = styled(TouchableOpacity)(_templateObject$1 || (_templateO
20269
20268
  var theme = _ref8.theme;
20270
20269
  return theme.__hd__.fab.radii.actionItem;
20271
20270
  });
20272
- var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n padding-left: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_ref9) {
20271
+ var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n padding-left: ", ";\n font-size: ", ";\n line-height: ", ";\n font-family: ", ";\n"])), function (_ref9) {
20273
20272
  var theme = _ref9.theme;
20274
20273
  return theme.__hd__.fab.space.actionItemTextPaddingLeft;
20275
20274
  }, function (_ref10) {
@@ -20280,7 +20279,7 @@ var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templ
20280
20279
  return theme.__hd__.fab.lineHeights.actionItemText;
20281
20280
  }, function (_ref12) {
20282
20281
  var theme = _ref12.theme;
20283
- return theme.__hd__.fab.fontWeights.actionItemText;
20282
+ return theme.__hd__.fab.fonts.actionItemText;
20284
20283
  });
20285
20284
 
20286
20285
  var ActionItem = function ActionItem(_ref) {
@@ -20312,7 +20311,7 @@ var StyledBackdrop = styled(Animated.View)(_templateObject4 || (_templateObject4
20312
20311
  var theme = _ref3.theme;
20313
20312
  return theme.__hd__.fab.colors.backdropBackground;
20314
20313
  });
20315
- var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n text-align: right;\n"])), function (_ref4) {
20314
+ var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-family: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n text-align: right;\n"])), function (_ref4) {
20316
20315
  var theme = _ref4.theme;
20317
20316
  return theme.__hd__.fab.fontSizes.header;
20318
20317
  }, function (_ref5) {
@@ -20320,7 +20319,7 @@ var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObj
20320
20319
  return theme.__hd__.fab.lineHeights.header;
20321
20320
  }, function (_ref6) {
20322
20321
  var theme = _ref6.theme;
20323
- return theme.__hd__.fab.fontWeights.header;
20322
+ return theme.__hd__.fab.fonts.header;
20324
20323
  }, function (_ref7) {
20325
20324
  var theme = _ref7.theme;
20326
20325
  return theme.__hd__.fab.space.headerTextMarginRight;
@@ -20362,7 +20361,7 @@ var ActionGroup = function ActionGroup(_ref2) {
20362
20361
  });
20363
20362
  var interpolatedOpacityAnimation = tranlateXAnimation.current.interpolate({
20364
20363
  inputRange: [0, 1],
20365
- outputRange: [0, 0.5]
20364
+ outputRange: [0, 0.9]
20366
20365
  });
20367
20366
  return /*#__PURE__*/React.createElement(StyledContainer, {
20368
20367
  testID: testID,
package/lib/index.js CHANGED
@@ -9907,6 +9907,11 @@ var space = {
9907
9907
  };
9908
9908
 
9909
9909
  var BASE = 16;
9910
+ var fonts = {
9911
+ light: 'Be Vietnam Pro Light',
9912
+ regular: 'Be Vietnam Pro Regular',
9913
+ semiBold: 'Be Vietnam Pro SemiBold'
9914
+ };
9910
9915
  var fontSizes = {
9911
9916
  xxxxxlarge: scale(BASE * 2),
9912
9917
  xxxxlarge: scale(BASE * 1.75),
@@ -9919,12 +9924,6 @@ var fontSizes = {
9919
9924
  xsmall: scale(BASE * 0.625) // 10
9920
9925
 
9921
9926
  };
9922
- var fontWeights = {
9923
- light: 200,
9924
- regular: 400,
9925
- semiBold: 600,
9926
- bold: 700
9927
- };
9928
9927
  var lineHeights = {
9929
9928
  xxxxxlarge: fontSizes.xxxxxlarge + 8,
9930
9929
  xxxxlarge: fontSizes.xxxxlarge + 8,
@@ -9944,8 +9943,8 @@ var borderWidths = {
9944
9943
  var globalTheme = {
9945
9944
  colors: _objectSpread2({}, systemPalette),
9946
9945
  space: space,
9946
+ fonts: fonts,
9947
9947
  fontSizes: fontSizes,
9948
- fontWeights: fontWeights,
9949
9948
  lineHeights: lineHeights,
9950
9949
  borderWidths: borderWidths
9951
9950
  };
@@ -9967,12 +9966,12 @@ var getBadgeTheme = function getBadgeTheme(theme) {
9967
9966
  var padding = {
9968
9967
  "default": "".concat(theme.space.xsmall, "px ").concat(theme.space.small, "px")
9969
9968
  };
9969
+ var fonts = {
9970
+ "default": theme.fonts.semiBold
9971
+ };
9970
9972
  var fontSizes = {
9971
9973
  "default": "".concat(theme.fontSizes.small, "px")
9972
9974
  };
9973
- var fontWeights = {
9974
- "default": theme.fontWeights.semiBold
9975
- };
9976
9975
  var radii = {
9977
9976
  "default": "4px"
9978
9977
  };
@@ -9980,8 +9979,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
9980
9979
  borderWidths: borderWidths,
9981
9980
  colors: colors,
9982
9981
  padding: padding,
9982
+ fonts: fonts,
9983
9983
  fontSizes: fontSizes,
9984
- fontWeights: fontWeights,
9985
9984
  radii: radii
9986
9985
  };
9987
9986
  };
@@ -10069,17 +10068,17 @@ var getTypographyTheme = function getTypographyTheme(theme) {
10069
10068
  subdued: theme.colors.disabledText,
10070
10069
  primary: theme.colors.primary
10071
10070
  };
10071
+ var fonts = {
10072
+ light: theme.fonts.light,
10073
+ regular: theme.fonts.regular,
10074
+ semiBold: theme.fonts.semiBold
10075
+ };
10072
10076
  var fontSizes = {
10073
10077
  small: theme.fontSizes.small,
10074
10078
  medium: theme.fontSizes.medium,
10075
10079
  large: theme.fontSizes.large,
10076
10080
  xlarge: theme.fontSizes.xlarge
10077
10081
  };
10078
- var fontWeights = {
10079
- light: theme.fontWeights.light,
10080
- regular: theme.fontWeights.regular,
10081
- semiBold: theme.fontWeights.semiBold
10082
- };
10083
10082
  var lineHeights = {
10084
10083
  small: "".concat(theme.lineHeights.small, "px"),
10085
10084
  medium: "".concat(theme.lineHeights.medium, "px"),
@@ -10088,8 +10087,8 @@ var getTypographyTheme = function getTypographyTheme(theme) {
10088
10087
  };
10089
10088
  return {
10090
10089
  colors: colors,
10090
+ fonts: fonts,
10091
10091
  fontSizes: fontSizes,
10092
- fontWeights: fontWeights,
10093
10092
  lineHeights: lineHeights
10094
10093
  };
10095
10094
  };
@@ -10106,15 +10105,15 @@ var getFABTheme = function getFABTheme(theme) {
10106
10105
  width: '64px',
10107
10106
  height: '64px'
10108
10107
  };
10108
+ var fonts = {
10109
+ header: theme.fonts.semiBold,
10110
+ actionItemText: theme.fonts.regular
10111
+ };
10109
10112
  var fontSizes = {
10110
10113
  header: "".concat(theme.fontSizes.xxxlarge, "px"),
10111
10114
  buttonIcon: "".concat(theme.fontSizes.xxxlarge, "px"),
10112
10115
  actionItemText: "".concat(theme.fontSizes.medium, "px")
10113
10116
  };
10114
- var fontWeights = {
10115
- header: "".concat(theme.fontWeights.semiBold),
10116
- actionItemText: "".concat(theme.fontWeights.regular)
10117
- };
10118
10117
  var lineHeights = {
10119
10118
  header: "".concat(theme.lineHeights.xxxlarge, "px"),
10120
10119
  actionItemText: "".concat(theme.lineHeights.medium, "px")
@@ -10135,11 +10134,11 @@ var getFABTheme = function getFABTheme(theme) {
10135
10134
  };
10136
10135
  return {
10137
10136
  radii: radii,
10137
+ fonts: fonts,
10138
10138
  fontSizes: fontSizes,
10139
10139
  colors: colors,
10140
10140
  sizes: sizes,
10141
10141
  lineHeights: lineHeights,
10142
- fontWeights: fontWeights,
10143
10142
  space: space
10144
10143
  };
10145
10144
  };
@@ -10187,9 +10186,9 @@ var StyledView = styled(require$$0$1.View)(_templateObject$9 || (_templateObject
10187
10186
  return theme.__hd__.badge.colors[BACKGROUND_INTENTS[themeIntent]];
10188
10187
  });
10189
10188
  });
10190
- var StyledText$1 = styled(require$$0$1.Text)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n font-weight: ", ";\n font-size: ", ";\n\n ", ";\n"])), function (_ref7) {
10189
+ var StyledText$1 = styled(require$$0$1.Text)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n\n ", ";\n"])), function (_ref7) {
10191
10190
  var theme = _ref7.theme;
10192
- return theme.__hd__.badge.fontWeights["default"];
10191
+ return theme.__hd__.badge.fonts["default"];
10193
10192
  }, function (_ref8) {
10194
10193
  var theme = _ref8.theme;
10195
10194
  return theme.__hd__.badge.fontSizes["default"];
@@ -19909,13 +19908,13 @@ var StyledText = styled(require$$0$1.Text)(_templateObject$7 || (_templateObject
19909
19908
 
19910
19909
  switch (themeFontWeight) {
19911
19910
  case 'light':
19912
- return css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.light);
19911
+ return css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.light);
19913
19912
 
19914
19913
  case 'regular':
19915
- return css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.regular);
19914
+ return css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.regular);
19916
19915
 
19917
19916
  case 'semi-bold':
19918
- return css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n font-weight: ", ";\n "])), theme.__hd__.typography.fontWeights.semiBold);
19917
+ return css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n font-family: ", ";\n "])), theme.__hd__.typography.fonts.semiBold);
19919
19918
  }
19920
19919
  }, function (_ref3) {
19921
19920
  var themeIntent = _ref3.themeIntent,
@@ -20278,7 +20277,7 @@ var StyledActionItem = styled(require$$0$1.TouchableOpacity)(_templateObject$1 |
20278
20277
  var theme = _ref8.theme;
20279
20278
  return theme.__hd__.fab.radii.actionItem;
20280
20279
  });
20281
- var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n padding-left: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_ref9) {
20280
+ var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n padding-left: ", ";\n font-size: ", ";\n line-height: ", ";\n font-family: ", ";\n"])), function (_ref9) {
20282
20281
  var theme = _ref9.theme;
20283
20282
  return theme.__hd__.fab.space.actionItemTextPaddingLeft;
20284
20283
  }, function (_ref10) {
@@ -20289,7 +20288,7 @@ var StyledActionItemText = styled(Typography.Text)(_templateObject2$1 || (_templ
20289
20288
  return theme.__hd__.fab.lineHeights.actionItemText;
20290
20289
  }, function (_ref12) {
20291
20290
  var theme = _ref12.theme;
20292
- return theme.__hd__.fab.fontWeights.actionItemText;
20291
+ return theme.__hd__.fab.fonts.actionItemText;
20293
20292
  });
20294
20293
 
20295
20294
  var ActionItem = function ActionItem(_ref) {
@@ -20321,7 +20320,7 @@ var StyledBackdrop = styled(require$$0$1.Animated.View)(_templateObject4 || (_te
20321
20320
  var theme = _ref3.theme;
20322
20321
  return theme.__hd__.fab.colors.backdropBackground;
20323
20322
  });
20324
- var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n text-align: right;\n"])), function (_ref4) {
20323
+ var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-family: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n text-align: right;\n"])), function (_ref4) {
20325
20324
  var theme = _ref4.theme;
20326
20325
  return theme.__hd__.fab.fontSizes.header;
20327
20326
  }, function (_ref5) {
@@ -20329,7 +20328,7 @@ var StyledHeaderText = styled(Typography.Text)(_templateObject5 || (_templateObj
20329
20328
  return theme.__hd__.fab.lineHeights.header;
20330
20329
  }, function (_ref6) {
20331
20330
  var theme = _ref6.theme;
20332
- return theme.__hd__.fab.fontWeights.header;
20331
+ return theme.__hd__.fab.fonts.header;
20333
20332
  }, function (_ref7) {
20334
20333
  var theme = _ref7.theme;
20335
20334
  return theme.__hd__.fab.space.headerTextMarginRight;
@@ -20371,7 +20370,7 @@ var ActionGroup = function ActionGroup(_ref2) {
20371
20370
  });
20372
20371
  var interpolatedOpacityAnimation = tranlateXAnimation.current.interpolate({
20373
20372
  inputRange: [0, 1],
20374
- outputRange: [0, 0.5]
20373
+ outputRange: [0, 0.9]
20375
20374
  });
20376
20375
  return /*#__PURE__*/React__default["default"].createElement(StyledContainer, {
20377
20376
  testID: testID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "7.1.3-alpha2",
3
+ "version": "7.1.3-alpha3",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -16,11 +16,11 @@ declare const getBadgeTheme: (theme: GlobalTheme) => {
16
16
  padding: {
17
17
  default: string;
18
18
  };
19
- fontSizes: {
19
+ fonts: {
20
20
  default: string;
21
21
  };
22
- fontWeights: {
23
- default: number;
22
+ fontSizes: {
23
+ default: string;
24
24
  };
25
25
  radii: {
26
26
  default: string;
@@ -3,6 +3,10 @@ declare const getFABTheme: (theme: GlobalTheme) => {
3
3
  radii: {
4
4
  actionItem: string;
5
5
  };
6
+ fonts: {
7
+ header: string;
8
+ actionItemText: string;
9
+ };
6
10
  fontSizes: {
7
11
  header: string;
8
12
  buttonIcon: string;
@@ -23,10 +27,6 @@ declare const getFABTheme: (theme: GlobalTheme) => {
23
27
  header: string;
24
28
  actionItemText: string;
25
29
  };
26
- fontWeights: {
27
- header: string;
28
- actionItemText: string;
29
- };
30
30
  space: {
31
31
  actionItemPaddingLeft: string;
32
32
  actionItemPaddingRight: string;
@@ -5,17 +5,17 @@ declare const getTypographyTheme: (theme: GlobalTheme) => {
5
5
  subdued: string;
6
6
  primary: string;
7
7
  };
8
+ fonts: {
9
+ light: string;
10
+ regular: string;
11
+ semiBold: string;
12
+ };
8
13
  fontSizes: {
9
14
  small: number;
10
15
  medium: number;
11
16
  large: number;
12
17
  xlarge: number;
13
18
  };
14
- fontWeights: {
15
- light: number;
16
- regular: number;
17
- semiBold: number;
18
- };
19
19
  lineHeights: {
20
20
  small: string;
21
21
  medium: string;
@@ -34,6 +34,11 @@ declare const globalTheme: {
34
34
  xxxlarge: number;
35
35
  xxxxlarge: number;
36
36
  };
37
+ fonts: {
38
+ light: string;
39
+ regular: string;
40
+ semiBold: string;
41
+ };
37
42
  fontSizes: {
38
43
  xxxxxlarge: number;
39
44
  xxxxlarge: number;
@@ -45,12 +50,6 @@ declare const globalTheme: {
45
50
  small: number;
46
51
  xsmall: number;
47
52
  };
48
- fontWeights: {
49
- light: number;
50
- regular: number;
51
- semiBold: number;
52
- bold: number;
53
- };
54
53
  lineHeights: {
55
54
  xxxxxlarge: number;
56
55
  xxxxlarge: number;
@@ -1,3 +1,8 @@
1
+ declare const fonts: {
2
+ light: string;
3
+ regular: string;
4
+ semiBold: string;
5
+ };
1
6
  declare const fontSizes: {
2
7
  xxxxxlarge: number;
3
8
  xxxxlarge: number;
@@ -9,12 +14,6 @@ declare const fontSizes: {
9
14
  small: number;
10
15
  xsmall: number;
11
16
  };
12
- declare const fontWeights: {
13
- light: number;
14
- regular: number;
15
- semiBold: number;
16
- bold: number;
17
- };
18
17
  declare const lineHeights: {
19
18
  xxxxxlarge: number;
20
19
  xxxxlarge: number;
@@ -26,4 +25,4 @@ declare const lineHeights: {
26
25
  small: number;
27
26
  xsmall: number;
28
27
  };
29
- export { fontSizes, fontWeights, lineHeights };
28
+ export { fonts, fontSizes, lineHeights };