@kbach/react-native 1.0.0-beta.39 → 1.0.0-beta.40
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.
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1731,6 +1731,9 @@ function rnStyleValue(property, value) {
|
|
|
1731
1731
|
if (!NUMERIC_LENGTH_PROPS.has(property)) {
|
|
1732
1732
|
return { value, warning: null };
|
|
1733
1733
|
}
|
|
1734
|
+
if (value === "auto") {
|
|
1735
|
+
return { value: "auto", warning: null };
|
|
1736
|
+
}
|
|
1734
1737
|
let px = null;
|
|
1735
1738
|
if (value.endsWith("px")) {
|
|
1736
1739
|
const n = Number(value.slice(0, -2));
|
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -2115,6 +2115,9 @@ function rnStyleValue(property, value) {
|
|
|
2115
2115
|
if (!NUMERIC_LENGTH_PROPS.has(property)) {
|
|
2116
2116
|
return { value, warning: null };
|
|
2117
2117
|
}
|
|
2118
|
+
if (value === "auto") {
|
|
2119
|
+
return { value: "auto", warning: null };
|
|
2120
|
+
}
|
|
2118
2121
|
let px = null;
|
|
2119
2122
|
if (value.endsWith("px")) {
|
|
2120
2123
|
const n = Number(value.slice(0, -2));
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -2106,6 +2106,9 @@ function rnStyleValue(property, value) {
|
|
|
2106
2106
|
if (!NUMERIC_LENGTH_PROPS.has(property)) {
|
|
2107
2107
|
return { value, warning: null };
|
|
2108
2108
|
}
|
|
2109
|
+
if (value === "auto") {
|
|
2110
|
+
return { value: "auto", warning: null };
|
|
2111
|
+
}
|
|
2109
2112
|
let px = null;
|
|
2110
2113
|
if (value.endsWith("px")) {
|
|
2111
2114
|
const n = Number(value.slice(0, -2));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kbach/react-native",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.40",
|
|
4
4
|
"description": "Kbach's utility-class styling engine for React Native — the same class names as @kbach/react, resolved to a StyleSheet-ready style object via a Kotlin/JNI TurboModule (native), the same WASM engine @kbach/react uses (Expo Web / react-native-web), or a pure-JS fallback engine (Expo Go). Ships its own native Android module — one npm install, no separate native package. Beta. Native is Android-only (no iOS bridge yet); works with the React Native CLI, an Expo dev client, AND Expo Go (a reduced-coverage pure-JS fallback, since Expo Go can't load any custom native module).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|