@umituz/react-native-design-system 2.6.44 → 2.6.45
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.45",
|
|
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",
|
|
@@ -142,11 +142,11 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
|
|
|
142
142
|
ref={modalRef}
|
|
143
143
|
index={-1}
|
|
144
144
|
snapPoints={config.snapPoints}
|
|
145
|
-
enableDynamicSizing={
|
|
145
|
+
enableDynamicSizing={false}
|
|
146
146
|
backdropComponent={renderBackdrop}
|
|
147
147
|
keyboardBehavior={config.keyboardBehavior}
|
|
148
148
|
enableHandlePanningGesture={config.enableHandleIndicator}
|
|
149
|
-
enablePanDownToClose={config.enablePanDownToClose}
|
|
149
|
+
enablePanDownToClose={config.enablePanDownToClose ?? true}
|
|
150
150
|
onChange={handleSheetChange}
|
|
151
151
|
onDismiss={onDismiss}
|
|
152
152
|
onAnimate={(fromIndex, toIndex) => {
|
|
@@ -156,6 +156,7 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
|
|
|
156
156
|
}}
|
|
157
157
|
backgroundStyle={[styles.background, { backgroundColor: backgroundColor || tokens.colors.surface }]}
|
|
158
158
|
handleIndicatorStyle={[styles.handleIndicator, { backgroundColor: tokens.colors.border }]}
|
|
159
|
+
enableOverDrag={false}
|
|
159
160
|
>
|
|
160
161
|
<BottomSheetView style={styles.contentContainer}>
|
|
161
162
|
{children}
|