@umituz/react-native-design-system 2.6.60 → 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.60",
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,17 +89,19 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
89
89
  onRequestClose={dismiss}
90
90
  statusBarTranslucent
91
91
  >
92
- <Pressable style={styles.overlay} onPress={dismiss}>
92
+ <View style={styles.overlay}>
93
93
  <Pressable
94
- style={styles.container}
95
- onPress={() => {}} // Consumer to prevent bubbling to overlay
96
- >
94
+ style={StyleSheet.absoluteFill}
95
+ onPress={dismiss}
96
+ accessibilityLabel="Close modal"
97
+ />
98
+ <View style={[styles.container, { width: '100%' }]}>
97
99
  <View style={{ flex: 1 }}>
98
100
  <View style={styles.handle} />
99
101
  {children}
100
102
  </View>
101
- </Pressable>
102
- </Pressable>
103
+ </View>
104
+ </View>
103
105
  </Modal>
104
106
  );
105
107
  }