react-crud-mobile 1.3.528 → 1.3.530
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.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +68 -69
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIListRow.tsx +0 -1
- package/src/elements/core/UIModal.tsx +5 -3
- package/src/elements/core/UIView.tsx +2 -1
package/dist/index.js
CHANGED
|
@@ -1006,7 +1006,6 @@ function UIListRow(props) {
|
|
|
1006
1006
|
if (!isVisible && original.useIsInView && !row.visible && index > 20) {
|
|
1007
1007
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, {});
|
|
1008
1008
|
}
|
|
1009
|
-
console.log(row);
|
|
1010
1009
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(UIChildren, { transient: true, scope: row, crud: row.crud, children: props.children }, key) });
|
|
1011
1010
|
};
|
|
1012
1011
|
const ListItem = () => {
|
|
@@ -1399,7 +1398,6 @@ function UIQuantity(props) {
|
|
|
1399
1398
|
// src/elements/core/UIModal.tsx
|
|
1400
1399
|
var import_react14 = require("react");
|
|
1401
1400
|
var import_react_crud_utils15 = require("react-crud-utils");
|
|
1402
|
-
var import_react_native17 = require("react-native");
|
|
1403
1401
|
|
|
1404
1402
|
// src/elements/core/UIToast.tsx
|
|
1405
1403
|
var import_react_native16 = require("react-native");
|
|
@@ -1453,6 +1451,7 @@ function UIToast() {
|
|
|
1453
1451
|
|
|
1454
1452
|
// src/elements/core/UIModal.tsx
|
|
1455
1453
|
var import_react_native_safe_area_context2 = require("react-native-safe-area-context");
|
|
1454
|
+
var import_react_native17 = require("react-native");
|
|
1456
1455
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1457
1456
|
function UIModal(props) {
|
|
1458
1457
|
const scrollRef = (0, import_react14.useRef)(null);
|
|
@@ -1487,8 +1486,7 @@ function UIModal(props) {
|
|
|
1487
1486
|
const ModalInner = () => {
|
|
1488
1487
|
let area = {};
|
|
1489
1488
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_react_native_safe_area_context2.SafeAreaView, { style: style("modalSafe", area), children: [
|
|
1490
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UIChildren, { scope, children: custom }),
|
|
1491
|
-
";",
|
|
1489
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UIChildren, { transient: true, scope, children: custom }),
|
|
1492
1490
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UIToast, {})
|
|
1493
1491
|
] });
|
|
1494
1492
|
};
|
|
@@ -1612,7 +1610,8 @@ function UIView({ scope, children }) {
|
|
|
1612
1610
|
nestedScrollEnabled: true,
|
|
1613
1611
|
keyboardShouldPersistTaps: "handled",
|
|
1614
1612
|
contentContainerStyle: scope.getStyle("contentContainer", {
|
|
1615
|
-
paddingBottom: 50
|
|
1613
|
+
paddingBottom: 50,
|
|
1614
|
+
flexGrow: 1
|
|
1616
1615
|
}),
|
|
1617
1616
|
style: scope.getStyle("scroll", styles10.scroll),
|
|
1618
1617
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(UIChildren, { scope, children })
|