@ornikar/kitt-universal 29.4.1-canary.2269ca599b5583fc6238639eb399d62b3abcf0a1.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 (41) hide show
  1. package/CHANGELOG.md +3 -3
  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/definitions/themes/default.d.ts +0 -1
  5. package/dist/definitions/themes/default.d.ts.map +1 -1
  6. package/dist/definitions/themes/late-ocean/typography.d.ts +0 -1
  7. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  8. package/dist/index-metro.es.android.js +5 -4
  9. package/dist/index-metro.es.android.js.map +1 -1
  10. package/dist/index-metro.es.ios.js +5 -4
  11. package/dist/index-metro.es.ios.js.map +1 -1
  12. package/dist/index-node-22.17.cjs.js +5 -4
  13. package/dist/index-node-22.17.cjs.js.map +1 -1
  14. package/dist/index-node-22.17.cjs.web.js +4 -3
  15. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  16. package/dist/index-node-22.17.es.mjs +5 -4
  17. package/dist/index-node-22.17.es.mjs.map +1 -1
  18. package/dist/index-node-22.17.es.web.mjs +4 -3
  19. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  20. package/dist/index.es.js +5 -4
  21. package/dist/index.es.js.map +1 -1
  22. package/dist/index.es.web.js +4 -3
  23. package/dist/index.es.web.js.map +1 -1
  24. package/dist/linaria-themes-metro.es.android.js +0 -1
  25. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  26. package/dist/linaria-themes-metro.es.ios.js +0 -1
  27. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  28. package/dist/linaria-themes-node-22.17.cjs.js +0 -1
  29. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  30. package/dist/linaria-themes-node-22.17.cjs.web.js +0 -1
  31. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  32. package/dist/linaria-themes-node-22.17.es.mjs +0 -1
  33. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  34. package/dist/linaria-themes-node-22.17.es.web.mjs +0 -1
  35. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  36. package/dist/linaria-themes.es.js +0 -1
  37. package/dist/linaria-themes.es.js.map +1 -1
  38. package/dist/linaria-themes.es.web.js +0 -1
  39. package/dist/linaria-themes.es.web.js.map +1 -1
  40. package/dist/tsbuildinfo +1 -1
  41. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2129,7 +2129,6 @@ var typography = {
2129
2129
  contentCaps: {
2130
2130
  fontFamily: {
2131
2131
  "native": {
2132
- regular: 'GTStandardNarrow',
2133
2132
  bold: 'GTStandardNarrowBold'
2134
2133
  },
2135
2134
  web: {
@@ -3197,7 +3196,7 @@ function getUniversalFontWeight(type, variant, typographyFamily) {
3197
3196
  ThrowErrorIfInvalidVariant(variant, value, 'regular');
3198
3197
  resolvedVariant = 'regular';
3199
3198
  }
3200
- webFontWeight[typeName] = resolvedVariant;
3199
+ webFontWeight[typeName] = "".concat(typographyFamily, ".").concat(resolvedVariant);
3201
3200
  nativeFontFamily[typeName] = "".concat(typographyFamily, ".").concat(resolvedVariant);
3202
3201
  });
3203
3202
  return {
@@ -11230,18 +11229,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11230
11229
  fontWeights: {
11231
11230
  headings: {
11232
11231
  regular: theme.typography.types.headings.fontWeight.regular,
11232
+ semibold: theme.typography.types.headings.fontWeight.semibold,
11233
11233
  bold: theme.typography.types.headings.fontWeight.bold
11234
11234
  },
11235
11235
  bodies: {
11236
11236
  regular: theme.typography.types.bodies.fontWeight.regular,
11237
- // 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
11237
+ // TODO [expo@>=53]: Check if still needed with new expo-fonts version
11238
11238
  bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
11239
11239
  },
11240
11240
  labels: {
11241
11241
  semibold: theme.typography.types.labels.fontWeight.semibold
11242
11242
  },
11243
11243
  contentCaps: {
11244
- bold: theme.typography.types.contentCaps.fontWeight.bold
11244
+ // TODO [expo@>=53]: Check if still needed with new expo-fonts version
11245
+ bold: Platform.OS === 'android' ? 400 : theme.typography.types.contentCaps.fontWeight.bold
11245
11246
  }
11246
11247
  },
11247
11248
  fonts: {