@umituz/react-native-design-system 2.6.59 → 2.6.61

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": "@umituz/react-native-design-system",
3
- "version": "2.6.59",
3
+ "version": "2.6.61",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -89,19 +89,19 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
89
89
  onRequestClose={dismiss}
90
90
  statusBarTranslucent
91
91
  >
92
- <Pressable style={styles.overlay} onPress={dismiss}>
93
- <View style={styles.container}>
94
- {/* Using a dummy Pressable that covers the container area to consume touches */}
95
- <Pressable
96
- style={StyleSheet.absoluteFill}
97
- onPress={() => {}} // Consumer
98
- />
92
+ <View style={styles.overlay}>
93
+ <Pressable
94
+ style={StyleSheet.absoluteFill}
95
+ onPress={dismiss}
96
+ accessibilityLabel="Close modal"
97
+ />
98
+ <View style={[styles.container, { width: '100%' }]}>
99
99
  <View style={{ flex: 1 }}>
100
100
  <View style={styles.handle} />
101
101
  {children}
102
102
  </View>
103
103
  </View>
104
- </Pressable>
104
+ </View>
105
105
  </Modal>
106
106
  );
107
107
  }