react-crud-mobile 1.3.547 → 1.3.550

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 CHANGED
@@ -348,6 +348,7 @@ function UIIcon({ scope }) {
348
348
  let name = scope.getValue();
349
349
  let libs = {
350
350
  ion: import_vector_icons.Ionicons,
351
+ fa: import_vector_icons.FontAwesome,
351
352
  ant: import_vector_icons.AntDesign,
352
353
  entypo: import_vector_icons.Entypo,
353
354
  evil: import_vector_icons.EvilIcons,
@@ -2198,7 +2199,21 @@ function UIElement(props) {
2198
2199
  scope.isType("view") && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UIView, { ...props, scope, crud }),
2199
2200
  scope.is("type", "icon") && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UIIcon, { ...defaultsUI, onClick, variant: scope.attr("variant", "outlined"), children: scope.getDisplayValue() }),
2200
2201
  isShowChild() && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UIChildren, { ...props, scope, crud, style: getStyle("inner") }),
2201
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UIModal, { ...props, scope, crud })
2202
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UIModal, { ...props, scope, crud }),
2203
+ original.help && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2204
+ import_react_native21.View,
2205
+ {
2206
+ style: getStyle("help", {
2207
+ alignSelf: "flex-start",
2208
+ flexDirection: "row",
2209
+ display: "flex",
2210
+ justifyContent: "space-between",
2211
+ alignItems: "center",
2212
+ width: "100%"
2213
+ }),
2214
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_native21.Text, { style: getStyle("helpText"), children: scope.getHelp() })
2215
+ }
2216
+ )
2202
2217
  ] });
2203
2218
  };
2204
2219
  let Card = (props2) => {
@@ -2211,7 +2226,7 @@ function UIElement(props) {
2211
2226
  }
2212
2227
  }
2213
2228
  if (isCard) {
2214
- let shadow = original.shadow ? boxStyle.box : boxStyle.card;
2229
+ let shadow = original.shadow !== false ? boxStyle.box : boxStyle.card;
2215
2230
  let box2 = {
2216
2231
  ...getStyle("card", { ...shadow, alignSelf: "stretch" })
2217
2232
  };