react-crud-mobile 1.3.562 → 1.3.564
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 +14 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +8 -4
- package/src/elements/core/UIIcon.tsx +1 -1
- package/src/elements/core/UIOrder.tsx +5 -4
package/dist/index.js
CHANGED
|
@@ -371,7 +371,7 @@ function UIIcon({ scope }) {
|
|
|
371
371
|
css = { ...css, ...scope.getStyle() };
|
|
372
372
|
}
|
|
373
373
|
if (size) css.fontSize = size;
|
|
374
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Aux, { size, name, style: css });
|
|
374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Aux, { size, name: icon, style: css });
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
// src/elements/core/UIButton.tsx
|
|
@@ -1849,10 +1849,11 @@ var styles11 = import_react_native20.StyleSheet.create({
|
|
|
1849
1849
|
paddingHorizontal: 12,
|
|
1850
1850
|
alignItems: "center",
|
|
1851
1851
|
flexDirection: "row",
|
|
1852
|
-
elevation:
|
|
1853
|
-
shadowColor: "#
|
|
1854
|
-
|
|
1855
|
-
|
|
1852
|
+
elevation: 2,
|
|
1853
|
+
shadowColor: "#0f172a",
|
|
1854
|
+
shadowOffset: { width: 0, height: 2 },
|
|
1855
|
+
shadowOpacity: 0.08,
|
|
1856
|
+
shadowRadius: 4
|
|
1856
1857
|
},
|
|
1857
1858
|
handle: { width: 40, alignItems: "center", justifyContent: "center" },
|
|
1858
1859
|
handleText: { fontSize: 22, color: "#666" },
|
|
@@ -2363,10 +2364,14 @@ var boxStyle = import_react_native21.StyleSheet.create({
|
|
|
2363
2364
|
backgroundColor: "white",
|
|
2364
2365
|
borderRadius: 10,
|
|
2365
2366
|
width: "100%",
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2367
|
+
// Keep the iOS shadow aligned with Android's elevation: a subtle
|
|
2368
|
+
// downward cast reads more naturally than a shadow spread evenly around
|
|
2369
|
+
// the card.
|
|
2370
|
+
shadowColor: "#0f172a",
|
|
2371
|
+
shadowOffset: { width: 0, height: 2 },
|
|
2372
|
+
shadowOpacity: 0.12,
|
|
2373
|
+
shadowRadius: 5,
|
|
2374
|
+
elevation: 2
|
|
2370
2375
|
}
|
|
2371
2376
|
});
|
|
2372
2377
|
var box = {
|