react-crud-mobile 1.3.563 → 1.3.565

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.563",
3
+ "version": "1.3.565",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native v1",
6
6
  "author": "juarez",
@@ -42,7 +42,7 @@
42
42
  "@react-navigation/native": "^7.1.18",
43
43
  "expo-localization": "^17.0.7",
44
44
  "expo-status-bar": "~3.0.8",
45
- "react-crud-utils": "0.2.22",
45
+ "react-crud-utils": "0.2.23",
46
46
  "react-native-reanimated": "~4.1.0",
47
47
  "react-native-safe-area-context": "^5.6.1",
48
48
  "react-native-screens": "~4.16.0",
@@ -680,16 +680,20 @@ let boxStyle = StyleSheet.create({
680
680
  width: '100%',
681
681
  },
682
682
  box: {
683
- borderWidth: 1,
684
683
  borderColor: '#dedede',
685
684
  borderStyle: 'solid',
686
685
  backgroundColor: 'white',
687
686
  borderRadius: 10,
688
687
  width: '100%',
689
- shadowColor: '#000',
690
- shadowOpacity: 0.1,
691
- shadowRadius: 8,
692
- elevation: 3,
688
+ borderWidth: 0,
689
+ // Keep the iOS shadow aligned with Android's elevation: a subtle
690
+ // downward cast reads more naturally than a shadow spread evenly around
691
+ // the card.
692
+ shadowColor: '#0f172a',
693
+ shadowOffset: { width: 0, height: 2 },
694
+ shadowOpacity: 0.12,
695
+ shadowRadius: 5,
696
+ elevation: 2,
693
697
  },
694
698
  });
695
699
 
@@ -231,10 +231,11 @@ const styles = StyleSheet.create({
231
231
  paddingHorizontal: 12,
232
232
  alignItems: 'center',
233
233
  flexDirection: 'row',
234
- elevation: 3,
234
+ elevation: 1,
235
235
  shadowColor: '#000',
236
- shadowOpacity: 0.05,
237
- shadowRadius: 6,
236
+ shadowOffset: { width: 0, height: 1 },
237
+ shadowOpacity: 0.04,
238
+ shadowRadius: 3,
238
239
  },
239
240
  handle: { width: 40, alignItems: 'center', justifyContent: 'center' },
240
241
  handleText: { fontSize: 22, color: '#666' },