react-native-better-html 1.0.14 → 1.0.15
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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1290,6 +1290,7 @@ import {
|
|
|
1290
1290
|
import { Fragment as Fragment3, jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1291
1291
|
var InputFieldComponent = forwardRef(
|
|
1292
1292
|
({
|
|
1293
|
+
flex,
|
|
1293
1294
|
placeholder,
|
|
1294
1295
|
type = "text",
|
|
1295
1296
|
iOSDateTimeFullSize,
|
|
@@ -1329,7 +1330,8 @@ var InputFieldComponent = forwardRef(
|
|
|
1329
1330
|
onPress,
|
|
1330
1331
|
onPressPrefix,
|
|
1331
1332
|
onPressSuffix,
|
|
1332
|
-
onPressEnter
|
|
1333
|
+
onPressEnter,
|
|
1334
|
+
...props
|
|
1333
1335
|
}, ref) => {
|
|
1334
1336
|
const theme2 = useTheme8();
|
|
1335
1337
|
const { colorTheme } = useBetterCoreContext3();
|
|
@@ -1444,13 +1446,14 @@ var InputFieldComponent = forwardRef(
|
|
|
1444
1446
|
return /* @__PURE__ */ jsxs4(
|
|
1445
1447
|
Animate_default.View,
|
|
1446
1448
|
{
|
|
1447
|
-
flex
|
|
1449
|
+
flex,
|
|
1448
1450
|
gap: theme2.styles.gap / 3,
|
|
1449
1451
|
initialOpacity: 1,
|
|
1450
1452
|
animateOpacity: disabled ? 0.6 : 1,
|
|
1453
|
+
...props,
|
|
1451
1454
|
children: [
|
|
1452
1455
|
isIOSDateTime && !iOSDateTimeFullSize ? void 0 : labelComponent,
|
|
1453
|
-
/* @__PURE__ */ jsxs4(View_default, { isRow: true, position: "relative", alignItems: "center",
|
|
1456
|
+
/* @__PURE__ */ jsxs4(View_default, { isRow: true, position: "relative", alignItems: "center", height: readyHeight, children: [
|
|
1454
1457
|
prefix && /* @__PURE__ */ jsx9(
|
|
1455
1458
|
View_default,
|
|
1456
1459
|
{
|
|
@@ -1639,6 +1642,7 @@ InputFieldComponent.code = forwardRef(function Password2({ isSmall, ...props },
|
|
|
1639
1642
|
return /* @__PURE__ */ jsx9(
|
|
1640
1643
|
InputFieldComponent,
|
|
1641
1644
|
{
|
|
1645
|
+
flex: 1,
|
|
1642
1646
|
fontSize: isSmall ? 36 : 42,
|
|
1643
1647
|
fontWeight: 900,
|
|
1644
1648
|
lineHeight: isSmall ? 42 : 50,
|