react-crud-mobile 1.3.563 → 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 +13 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +8 -4
- package/src/elements/core/UIOrder.tsx +5 -4
package/dist/index.mjs
CHANGED
|
@@ -1828,10 +1828,11 @@ var styles11 = StyleSheet14.create({
|
|
|
1828
1828
|
paddingHorizontal: 12,
|
|
1829
1829
|
alignItems: "center",
|
|
1830
1830
|
flexDirection: "row",
|
|
1831
|
-
elevation:
|
|
1832
|
-
shadowColor: "#
|
|
1833
|
-
|
|
1834
|
-
|
|
1831
|
+
elevation: 2,
|
|
1832
|
+
shadowColor: "#0f172a",
|
|
1833
|
+
shadowOffset: { width: 0, height: 2 },
|
|
1834
|
+
shadowOpacity: 0.08,
|
|
1835
|
+
shadowRadius: 4
|
|
1835
1836
|
},
|
|
1836
1837
|
handle: { width: 40, alignItems: "center", justifyContent: "center" },
|
|
1837
1838
|
handleText: { fontSize: 22, color: "#666" },
|
|
@@ -2342,10 +2343,14 @@ var boxStyle = StyleSheet15.create({
|
|
|
2342
2343
|
backgroundColor: "white",
|
|
2343
2344
|
borderRadius: 10,
|
|
2344
2345
|
width: "100%",
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2346
|
+
// Keep the iOS shadow aligned with Android's elevation: a subtle
|
|
2347
|
+
// downward cast reads more naturally than a shadow spread evenly around
|
|
2348
|
+
// the card.
|
|
2349
|
+
shadowColor: "#0f172a",
|
|
2350
|
+
shadowOffset: { width: 0, height: 2 },
|
|
2351
|
+
shadowOpacity: 0.12,
|
|
2352
|
+
shadowRadius: 5,
|
|
2353
|
+
elevation: 2
|
|
2349
2354
|
}
|
|
2350
2355
|
});
|
|
2351
2356
|
var box = {
|