@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.web.mjs
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
subscribeDynamicTokens,
|
|
11
11
|
subscribeGlobalDarkMode,
|
|
12
12
|
toggleGlobalDarkMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-23JJORPW.mjs";
|
|
14
14
|
import {
|
|
15
15
|
defaultTheme,
|
|
16
16
|
getTheme,
|
|
17
17
|
resolveClassName,
|
|
18
18
|
setTheme
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z5Q3FGXR.mjs";
|
|
20
20
|
|
|
21
21
|
// src/config.ts
|
|
22
22
|
function parseHexRgb(hex) {
|
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -2002,6 +2002,8 @@ function resolveTextNative(parsed, theme) {
|
|
|
2002
2002
|
if (size !== null) return [decl("font-size", size)];
|
|
2003
2003
|
const align = textAlign(parsed.value);
|
|
2004
2004
|
if (align !== null) return [decl("text-align", align)];
|
|
2005
|
+
} else if (parsed.isArbitrary && parsed.value !== null && looksLikeLength(parsed.value)) {
|
|
2006
|
+
return [decl("font-size", parsed.value)];
|
|
2005
2007
|
}
|
|
2006
2008
|
const hex = nativeHexColor(parsed, theme);
|
|
2007
2009
|
return hex === null ? null : [decl("color", hex)];
|