@kbach/react-native 1.0.0-beta.50 → 1.0.0-beta.52
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/AGENTS.md +58 -0
- package/README.md +7 -0
- package/android/src/main/jniLibs/arm64-v8a/libkbach_core_engine.so +0 -0
- package/android/src/main/jniLibs/x86_64/libkbach_core_engine.so +0 -0
- package/dist/{chunk-XOH25F3E.mjs → chunk-23JJORPW.mjs} +1 -1
- package/dist/{chunk-SC3L5I7H.mjs → chunk-HVGMZKV7.mjs} +1 -1
- package/dist/{chunk-3KLOVONL.mjs → chunk-Z5Q3FGXR.mjs} +4 -2
- package/dist/index.js +2 -0
- package/dist/index.web.js +1 -1
- package/dist/index.web.mjs +2 -2
- package/dist/jsx-dev-runtime.js +2 -0
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +3 -3
- package/dist/jsx-runtime.js +2 -0
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/dist/theme.d.ts +25 -0
- package/dist/theme.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1457,6 +1457,8 @@ function resolveTextNative(parsed, theme) {
|
|
|
1457
1457
|
if (size !== null) return [decl("font-size", size)];
|
|
1458
1458
|
const align = textAlign(parsed.value);
|
|
1459
1459
|
if (align !== null) return [decl("text-align", align)];
|
|
1460
|
+
} else if (parsed.isArbitrary && parsed.value !== null && looksLikeLength(parsed.value)) {
|
|
1461
|
+
return [decl("font-size", parsed.value)];
|
|
1460
1462
|
}
|
|
1461
1463
|
const hex = nativeHexColor(parsed, theme);
|
|
1462
1464
|
return hex === null ? null : [decl("color", hex)];
|