@umituz/react-native-design-system 2.6.51 → 2.6.53
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.
|
|
3
|
+
"version": "2.6.53",
|
|
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",
|
|
@@ -76,6 +76,9 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
|
|
|
76
76
|
marginTop: 12,
|
|
77
77
|
marginBottom: 8,
|
|
78
78
|
},
|
|
79
|
+
content: {
|
|
80
|
+
flex: 1,
|
|
81
|
+
},
|
|
79
82
|
});
|
|
80
83
|
|
|
81
84
|
return (
|
|
@@ -88,10 +91,15 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
|
|
|
88
91
|
>
|
|
89
92
|
<Pressable style={styles.overlay} onPress={dismiss}>
|
|
90
93
|
<View style={styles.container}>
|
|
91
|
-
|
|
94
|
+
{/* Using a dummy Pressable that covers the container area to consume touches */}
|
|
95
|
+
<Pressable
|
|
96
|
+
style={StyleSheet.absoluteFill}
|
|
97
|
+
onPress={() => {}} // Consumer
|
|
98
|
+
/>
|
|
99
|
+
<View style={{ flex: 1 }}>
|
|
92
100
|
<View style={styles.handle} />
|
|
93
101
|
{children}
|
|
94
|
-
</
|
|
102
|
+
</View>
|
|
95
103
|
</View>
|
|
96
104
|
</Pressable>
|
|
97
105
|
</Modal>
|
|
@@ -89,6 +89,9 @@ export const FilterBottomSheet = forwardRef<BottomSheetModalRef, FilterBottomShe
|
|
|
89
89
|
footer: {
|
|
90
90
|
marginTop: 16,
|
|
91
91
|
paddingBottom: 8,
|
|
92
|
+
},
|
|
93
|
+
scrollView: {
|
|
94
|
+
flex: 1,
|
|
92
95
|
}
|
|
93
96
|
}), [tokens]);
|
|
94
97
|
|
|
@@ -175,7 +178,7 @@ export const FilterBottomSheet = forwardRef<BottomSheetModalRef, FilterBottomShe
|
|
|
175
178
|
)}
|
|
176
179
|
</View>
|
|
177
180
|
|
|
178
|
-
<ScrollView showsVerticalScrollIndicator={false}>
|
|
181
|
+
<ScrollView style={styles.scrollView} showsVerticalScrollIndicator={false}>
|
|
179
182
|
{categories.map(renderCategory)}
|
|
180
183
|
</ScrollView>
|
|
181
184
|
|