@ornikar/kitt-universal 29.4.1-canary.51ab765f43eac2f1f62955fc8489c1a5f8dafd37.0 → 29.4.1-canary.cbb5dfd9b37cae9e4b2943cbcdd994e53c1d96d8.0

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +2 -7
  2. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +2 -4
  3. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  4. package/dist/index-metro.es.android.js +6 -4
  5. package/dist/index-metro.es.android.js.map +1 -1
  6. package/dist/index-metro.es.ios.js +6 -4
  7. package/dist/index-metro.es.ios.js.map +1 -1
  8. package/dist/index-node-22.17.cjs.js +6 -4
  9. package/dist/index-node-22.17.cjs.js.map +1 -1
  10. package/dist/index-node-22.17.cjs.web.js +5 -3
  11. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  12. package/dist/index-node-22.17.es.mjs +6 -4
  13. package/dist/index-node-22.17.es.mjs.map +1 -1
  14. package/dist/index-node-22.17.es.web.mjs +5 -3
  15. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  16. package/dist/index.es.js +6 -4
  17. package/dist/index.es.js.map +1 -1
  18. package/dist/index.es.web.js +5 -3
  19. package/dist/index.es.web.js.map +1 -1
  20. package/dist/linaria-themes-metro.es.android.js +1 -1
  21. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  22. package/dist/linaria-themes-metro.es.ios.js +1 -1
  23. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  24. package/dist/linaria-themes-node-22.17.cjs.js +1 -1
  25. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  26. package/dist/linaria-themes-node-22.17.cjs.web.js +1 -1
  27. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  28. package/dist/linaria-themes-node-22.17.es.mjs +1 -1
  29. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  30. package/dist/linaria-themes-node-22.17.es.web.mjs +1 -1
  31. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  32. package/dist/linaria-themes.es.js +1 -1
  33. package/dist/linaria-themes.es.js.map +1 -1
  34. package/dist/linaria-themes.es.web.js +1 -1
  35. package/dist/linaria-themes.es.web.js.map +1 -1
  36. package/dist/tsbuildinfo +1 -1
  37. package/package.json +1 -1
@@ -2118,7 +2118,7 @@ const typography = {
2118
2118
  }
2119
2119
  },
2120
2120
  fontWeight: {
2121
- bold: 600
2121
+ bold: 700
2122
2122
  },
2123
2123
  fontStyle: 'normal',
2124
2124
  configs: {
@@ -3161,7 +3161,7 @@ function getUniversalFontWeight(type, variant, typographyFamily) {
3161
3161
  ThrowErrorIfInvalidVariant(variant, value, 'regular');
3162
3162
  resolvedVariant = 'regular';
3163
3163
  }
3164
- webFontWeight[typeName] = resolvedVariant;
3164
+ webFontWeight[typeName] = `${typographyFamily}.${resolvedVariant}`;
3165
3165
  nativeFontFamily[typeName] = `${typographyFamily}.${resolvedVariant}`;
3166
3166
  });
3167
3167
  return {
@@ -10988,18 +10988,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10988
10988
  fontWeights: {
10989
10989
  headings: {
10990
10990
  regular: theme.typography.types.headings.fontWeight.regular,
10991
+ semibold: theme.typography.types.headings.fontWeight.semibold,
10991
10992
  bold: theme.typography.types.headings.fontWeight.bold
10992
10993
  },
10993
10994
  bodies: {
10994
10995
  regular: theme.typography.types.bodies.fontWeight.regular,
10995
- // TODO [https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts
10996
+ // TODO [expo@>=53]: Check if still needed with new expo-fonts version
10996
10997
  bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
10997
10998
  },
10998
10999
  labels: {
10999
11000
  semibold: theme.typography.types.labels.fontWeight.semibold
11000
11001
  },
11001
11002
  contentCaps: {
11002
- bold: theme.typography.types.contentCaps.fontWeight.bold
11003
+ // TODO [expo@>=53]: Check if still needed with new expo-fonts version
11004
+ bold: Platform.OS === 'android' ? 400 : theme.typography.types.contentCaps.fontWeight.bold
11003
11005
  }
11004
11006
  },
11005
11007
  fonts: {