@kbach/react-native 1.0.0-beta.51 → 1.0.0-beta.53
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 +103 -5
- package/README.md +16 -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-KHQ2BWYH.mjs → chunk-3JQAZNJK.mjs} +1 -1
- package/dist/{chunk-IJAXJVB4.mjs → chunk-P75PP2QR.mjs} +17 -8
- package/dist/{chunk-CD5WFFIQ.mjs → chunk-TC6VSV44.mjs} +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +54 -0
- package/dist/index.web.d.ts +2 -1
- package/dist/index.web.js +53 -1
- package/dist/index.web.mjs +36 -2
- package/dist/jsx-dev-runtime.d.ts +2 -2
- package/dist/jsx-dev-runtime.js +2 -0
- package/dist/jsx-dev-runtime.web.d.ts +2 -2
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +3 -3
- package/dist/jsx-runtime.d.ts +3 -3
- package/dist/jsx-runtime.js +2 -0
- package/dist/jsx-runtime.web.d.ts +3 -3
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/dist/{clsx-BLLSnqAa.d.ts → semanticElements-Bk3TB-vt.d.ts} +60 -3
- package/dist/theme.js +16 -7
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-3JQAZNJK.mjs";
|
|
2
2
|
import {
|
|
3
3
|
Fragment,
|
|
4
4
|
jsx,
|
|
5
5
|
jsxs
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TC6VSV44.mjs";
|
|
7
|
+
import "./chunk-P75PP2QR.mjs";
|
|
8
8
|
|
|
9
9
|
// src/jsxRuntimeCore.ts
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export { Fragment, JSX } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const jsx: (type: unknown, props: Record<string, unknown> | null, key?: string) =>
|
|
5
|
-
declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) =>
|
|
4
|
+
declare const jsx: (type: unknown, props: Record<string, unknown> | null, key?: string) => React.ReactElement;
|
|
5
|
+
declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) => React.ReactElement;
|
|
6
6
|
|
|
7
7
|
export { jsx, jsxs };
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -1993,6 +1993,8 @@ function resolveTextNative(parsed, theme) {
|
|
|
1993
1993
|
if (size !== null) return [decl("font-size", size)];
|
|
1994
1994
|
const align = textAlign(parsed.value);
|
|
1995
1995
|
if (align !== null) return [decl("text-align", align)];
|
|
1996
|
+
} else if (parsed.isArbitrary && parsed.value !== null && looksLikeLength(parsed.value)) {
|
|
1997
|
+
return [decl("font-size", parsed.value)];
|
|
1996
1998
|
}
|
|
1997
1999
|
const hex = nativeHexColor(parsed, theme);
|
|
1998
2000
|
return hex === null ? null : [decl("color", hex)];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export { Fragment, JSX } from 'react';
|
|
3
3
|
|
|
4
|
-
declare const jsx: (type: unknown, props: Record<string, unknown> | null, key?: string) =>
|
|
5
|
-
declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) =>
|
|
4
|
+
declare const jsx: (type: unknown, props: Record<string, unknown> | null, key?: string) => React.ReactElement;
|
|
5
|
+
declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) => React.ReactElement;
|
|
6
6
|
|
|
7
7
|
export { jsx, jsxs };
|