react-crud-mobile 1.3.516 → 1.3.517

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
@@ -2203,8 +2203,9 @@ function UIElement(props) {
2203
2203
  }
2204
2204
  }
2205
2205
  if (isCard) {
2206
+ let shadow = original.shadow ? boxStyle.box : boxStyle.card;
2206
2207
  let box2 = {
2207
- ...getStyle("box", { ...boxStyle.box, alignSelf: "stretch" })
2208
+ ...getStyle("card", { ...shadow, alignSelf: "stretch" })
2208
2209
  };
2209
2210
  let borderWidth = original.boxBorder;
2210
2211
  if (borderWidth || borderWidth === 0) {
@@ -2330,6 +2331,14 @@ function UIElement(props) {
2330
2331
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CrudContext.Provider, { value: { crud, theme }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Tag, { ref, style: getStyle(), ...custom, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Card, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Container, {}) }) }) });
2331
2332
  }
2332
2333
  var boxStyle = import_react_native21.StyleSheet.create({
2334
+ card: {
2335
+ borderWidth: 1,
2336
+ borderColor: "#dedede",
2337
+ borderStyle: "solid",
2338
+ backgroundColor: "white",
2339
+ borderRadius: 10,
2340
+ width: "100%"
2341
+ },
2333
2342
  box: {
2334
2343
  borderWidth: 1,
2335
2344
  borderColor: "#dedede",