@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.
- package/CHANGELOG.md +3 -3
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +2 -4
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +0 -1
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +0 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +5 -4
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +5 -4
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +5 -4
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +4 -3
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +5 -4
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +4 -3
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +4 -3
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +0 -1
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +0 -1
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +0 -1
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +0 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +0 -1
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +0 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +0 -1
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +0 -1
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2134,7 +2134,6 @@ const typography = {
|
|
|
2134
2134
|
contentCaps: {
|
|
2135
2135
|
fontFamily: {
|
|
2136
2136
|
native: {
|
|
2137
|
-
regular: 'GTStandardNarrow',
|
|
2138
2137
|
bold: 'GTStandardNarrowBold'
|
|
2139
2138
|
},
|
|
2140
2139
|
web: {
|
|
@@ -3185,7 +3184,7 @@ function getUniversalFontWeight(type, variant, typographyFamily) {
|
|
|
3185
3184
|
ThrowErrorIfInvalidVariant(variant, value, 'regular');
|
|
3186
3185
|
resolvedVariant = 'regular';
|
|
3187
3186
|
}
|
|
3188
|
-
webFontWeight[typeName] = resolvedVariant
|
|
3187
|
+
webFontWeight[typeName] = `${typographyFamily}.${resolvedVariant}`;
|
|
3189
3188
|
nativeFontFamily[typeName] = `${typographyFamily}.${resolvedVariant}`;
|
|
3190
3189
|
});
|
|
3191
3190
|
return {
|
|
@@ -11012,18 +11011,20 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11012
11011
|
fontWeights: {
|
|
11013
11012
|
headings: {
|
|
11014
11013
|
regular: theme.typography.types.headings.fontWeight.regular,
|
|
11014
|
+
semibold: theme.typography.types.headings.fontWeight.semibold,
|
|
11015
11015
|
bold: theme.typography.types.headings.fontWeight.bold
|
|
11016
11016
|
},
|
|
11017
11017
|
bodies: {
|
|
11018
11018
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
11019
|
-
// TODO [
|
|
11019
|
+
// TODO [expo@>=53]: Check if still needed with new expo-fonts version
|
|
11020
11020
|
bold: reactNative.Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
|
|
11021
11021
|
},
|
|
11022
11022
|
labels: {
|
|
11023
11023
|
semibold: theme.typography.types.labels.fontWeight.semibold
|
|
11024
11024
|
},
|
|
11025
11025
|
contentCaps: {
|
|
11026
|
-
|
|
11026
|
+
// TODO [expo@>=53]: Check if still needed with new expo-fonts version
|
|
11027
|
+
bold: reactNative.Platform.OS === 'android' ? 400 : theme.typography.types.contentCaps.fontWeight.bold
|
|
11027
11028
|
}
|
|
11028
11029
|
},
|
|
11029
11030
|
fonts: {
|