@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.
@@ -1,10 +1,10 @@
1
- import "./chunk-KHQ2BWYH.mjs";
1
+ import "./chunk-3JQAZNJK.mjs";
2
2
  import {
3
3
  Fragment,
4
4
  jsx,
5
5
  jsxs
6
- } from "./chunk-CD5WFFIQ.mjs";
7
- import "./chunk-IJAXJVB4.mjs";
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";
@@ -1,7 +1,7 @@
1
- import * as react from 'react';
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) => react.ReactElement;
5
- declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) => react.ReactElement;
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 };
@@ -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 react from 'react';
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) => react.ReactElement;
5
- declare const jsxs: (type: unknown, props: Record<string, unknown> | null, key?: string) => react.ReactElement;
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 };