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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.562",
3
+ "version": "1.3.564",
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",
@@ -686,10 +686,14 @@ let boxStyle = StyleSheet.create({
686
686
  backgroundColor: 'white',
687
687
  borderRadius: 10,
688
688
  width: '100%',
689
- shadowColor: '#000',
690
- shadowOpacity: 0.1,
691
- shadowRadius: 8,
692
- elevation: 3,
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
 
@@ -37,5 +37,5 @@ export default function UIIcon({ scope }: ChildType) {
37
37
 
38
38
  if (size) css.fontSize = size;
39
39
 
40
- return <Aux size={size} name={name} style={css} />;
40
+ return <Aux size={size} name={icon} style={css} />;
41
41
  }
@@ -231,10 +231,11 @@ const styles = StyleSheet.create({
231
231
  paddingHorizontal: 12,
232
232
  alignItems: 'center',
233
233
  flexDirection: 'row',
234
- elevation: 3,
235
- shadowColor: '#000',
236
- shadowOpacity: 0.05,
237
- shadowRadius: 6,
234
+ elevation: 2,
235
+ shadowColor: '#0f172a',
236
+ shadowOffset: { width: 0, height: 2 },
237
+ shadowOpacity: 0.08,
238
+ shadowRadius: 4,
238
239
  },
239
240
  handle: { width: 40, alignItems: 'center', justifyContent: 'center' },
240
241
  handleText: { fontSize: 22, color: '#666' },