@shaquillehinds/react-native-bottom-sheet 0.0.2 → 0.0.3
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/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheet.d.ts +1 -1
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetModal.d.ts +2 -2
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomFlatlist.controller.d.ts +6 -6
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomScrollView.controller.d.ts +6 -6
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomSheet.controller.d.ts +1 -1
- package/lib/typescript/commonjs/src/BottomSheet/index.d.ts +3 -3
- package/lib/typescript/commonjs/src/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/BottomSheet/components/BottomSheet.d.ts +1 -1
- package/lib/typescript/module/src/BottomSheet/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetModal.d.ts +2 -2
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/module/src/BottomSheet/controller/bottomFlatlist.controller.d.ts +6 -6
- package/lib/typescript/module/src/BottomSheet/controller/bottomScrollView.controller.d.ts +6 -6
- package/lib/typescript/module/src/BottomSheet/controller/bottomSheet.controller.d.ts +1 -1
- package/lib/typescript/module/src/BottomSheet/index.d.ts +3 -3
- package/lib/typescript/module/src/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +1 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeEssentials","require","_index","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNativeEssentials","require","_index","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAQA,IAAAC,MAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PortalProvider","BottomSheetPortalProvider","usePortalComponent","useBottomSheetPortalComponent","usePortal","useBottomSheetPortal"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SACEA,cAAc,IAAIC,yBAAyB,EAE3CC,kBAAkB,IAAIC,6BAA6B,EACnDC,SAAS,IAAIC,oBAAoB,QAC5B,yCAAyC;
|
|
1
|
+
{"version":3,"names":["PortalProvider","BottomSheetPortalProvider","usePortalComponent","useBottomSheetPortalComponent","usePortal","useBottomSheetPortal"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SACEA,cAAc,IAAIC,yBAAyB,EAE3CC,kBAAkB,IAAIC,6BAA6B,EACnDC,SAAS,IAAIC,oBAAoB,QAC5B,yCAAyC;AAGhD,cAAc,wBAAe","ignoreList":[]}
|
|
@@ -5,5 +5,5 @@ export declare const BottomSheet: import("react").ForwardRefExoticComponent<Bott
|
|
|
5
5
|
children?: import("react").ReactNode | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
controller: BottomSheetControllerReturn;
|
|
8
|
-
} & import("react").RefAttributes<import("
|
|
8
|
+
} & import("react").RefAttributes<import("../..").BottomSheetRef>>;
|
|
9
9
|
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheet.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;AAOrC,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;gBAGN,2BAA2B;
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheet.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;AAOrC,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;gBAGN,2BAA2B;kEAkH5C,CAAC"}
|
|
@@ -2,7 +2,7 @@ export declare const BottomSheetModal: import("react").ForwardRefExoticComponent
|
|
|
2
2
|
BackdropComponent?: React.ReactNode;
|
|
3
3
|
onBackDropPress?: () => void;
|
|
4
4
|
disableCloseOnBackdropPress?: boolean;
|
|
5
|
-
} & import("
|
|
5
|
+
} & import("../..").BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
6
6
|
children?: import("react").ReactNode | undefined;
|
|
7
|
-
} & import("react").RefAttributes<import("
|
|
7
|
+
} & import("react").RefAttributes<import("../..").BottomSheetRef>>;
|
|
8
8
|
//# sourceMappingURL=BottomSheetModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheetModal.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB;;;;;;
|
|
1
|
+
{"version":3,"file":"BottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheetModal.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB;;;;;;kEAiC5B,CAAC"}
|
|
@@ -3,7 +3,6 @@ import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent } from
|
|
|
3
3
|
export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistProps<T>): {
|
|
4
4
|
refFlatlist: import("react").MutableRefObject<import("react-native").FlatList<any>> | import("react").RefObject<import("react-native").FlatList<any>> | undefined;
|
|
5
5
|
flatlistProps: {
|
|
6
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
7
6
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
8
7
|
columnWrapperStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
9
8
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
@@ -104,6 +103,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
104
103
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
105
104
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
106
105
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
106
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
107
107
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
108
108
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
109
109
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -201,7 +201,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
201
201
|
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
202
202
|
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
203
203
|
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
204
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
204
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
205
205
|
maintainVisibleContentPosition?: {
|
|
206
206
|
autoscrollToTopThreshold?: number | null | undefined;
|
|
207
207
|
minIndexForVisible: number;
|
|
@@ -237,7 +237,6 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
237
237
|
sharedTransitionTag?: string | undefined;
|
|
238
238
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition | undefined;
|
|
239
239
|
animatedProps?: Partial<{
|
|
240
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
241
240
|
onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | import("react-native-reanimated").SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined> | undefined;
|
|
242
241
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
243
242
|
data: ArrayLike<T> | import("react-native-reanimated").SharedValue<ArrayLike<T> | null | undefined> | null | undefined;
|
|
@@ -334,6 +333,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
334
333
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
335
334
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
336
335
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
336
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
337
337
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
338
338
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
339
339
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -460,7 +460,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
460
460
|
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
461
461
|
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
462
462
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
463
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
463
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
464
464
|
} & {
|
|
465
465
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
466
466
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -470,8 +470,8 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
470
470
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
471
471
|
}> | undefined;
|
|
472
472
|
};
|
|
473
|
-
context: import("
|
|
474
|
-
onScroll: ReanimatedOnScroll | import("
|
|
473
|
+
context: import("../..").BottomSheetContextProps | null;
|
|
474
|
+
onScroll: ReanimatedOnScroll | import("../..").DefaultOnScroll | undefined;
|
|
475
475
|
onLayout: (e: LayoutChangeEvent) => void;
|
|
476
476
|
onScrollBegin: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
477
477
|
onContentSizeChange: (w: number, h: number) => void;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { BottomSheetScrollViewProps, ReanimatedOnScroll } from '../config/bottomSheet.types';
|
|
2
2
|
export declare function bottomScrollViewController(props: BottomSheetScrollViewProps): {
|
|
3
|
-
context: import("
|
|
4
|
-
onScroll: ReanimatedOnScroll | import("
|
|
3
|
+
context: import("../..").BottomSheetContextProps | null;
|
|
4
|
+
onScroll: ReanimatedOnScroll | import("../..").DefaultOnScroll | undefined;
|
|
5
5
|
assignRef: () => void;
|
|
6
6
|
refScrollView: import("react").MutableRefObject<import("react-native-reanimated/lib/typescript/Animated").ScrollView> | import("react").RefObject<import("react-native-reanimated/lib/typescript/Animated").ScrollView> | undefined;
|
|
7
7
|
scrollViewProps: {
|
|
8
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
9
8
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
10
9
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
11
10
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
@@ -39,6 +38,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
39
38
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
40
39
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
41
40
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
41
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
42
42
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
43
43
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
44
44
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -136,7 +136,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
136
136
|
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
137
137
|
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
138
138
|
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
139
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
139
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
140
140
|
maintainVisibleContentPosition?: {
|
|
141
141
|
autoscrollToTopThreshold?: number | null | undefined;
|
|
142
142
|
minIndexForVisible: number;
|
|
@@ -166,7 +166,6 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
166
166
|
sharedTransitionTag?: string | undefined;
|
|
167
167
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition | undefined;
|
|
168
168
|
animatedProps?: Partial<{
|
|
169
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
170
169
|
onScroll?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined> | undefined;
|
|
171
170
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
172
171
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
@@ -199,6 +198,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
199
198
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
200
199
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
201
200
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
201
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
202
202
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
203
203
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
204
204
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -322,7 +322,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
322
322
|
} & {
|
|
323
323
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
324
324
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
325
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
325
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
326
326
|
} & {
|
|
327
327
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
328
328
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -10,7 +10,7 @@ export declare function bottomSheetController(props: BottomSheetModalProps): {
|
|
|
10
10
|
scrollableComponentRef: import("react").MutableRefObject<ScrollComponentRefProps>;
|
|
11
11
|
disableLayoutAnimation: import("react").MutableRefObject<boolean>;
|
|
12
12
|
animateModalOpen: (height: number, modalHeight: number) => void;
|
|
13
|
-
animateModalClose: (prop?: import("
|
|
13
|
+
animateModalClose: (prop?: import("../..").AnimateCloseModalProps) => void;
|
|
14
14
|
animateToPercentage: (percentage: string | number, screenHeight: number) => void;
|
|
15
15
|
animateToSnapPointIndex: (snapPointIndex: number) => void;
|
|
16
16
|
onDragGesture: (e: import("react-native-gesture-handler").GestureUpdateEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
@@ -8,16 +8,16 @@ declare const BottomSheetModal: import("react").ForwardRefExoticComponent<{
|
|
|
8
8
|
disableCloseOnBackdropPress?: boolean;
|
|
9
9
|
} & BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
10
10
|
children?: import("react").ReactNode | undefined;
|
|
11
|
-
} & import("react").RefAttributes<import("
|
|
11
|
+
} & import("react").RefAttributes<import("..").BottomModalRef>>;
|
|
12
12
|
declare const BottomSheet: import("react").ForwardRefExoticComponent<{
|
|
13
13
|
BackdropComponent?: React.ReactNode;
|
|
14
14
|
onBackDropPress?: () => void;
|
|
15
15
|
disableCloseOnBackdropPress?: boolean;
|
|
16
16
|
} & BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
17
17
|
children?: import("react").ReactNode | undefined;
|
|
18
|
-
} & import("react").RefAttributes<import("
|
|
18
|
+
} & import("react").RefAttributes<import("..").BottomModalRef>>;
|
|
19
19
|
declare const useBottomSheetRef: () => {
|
|
20
|
-
modalRef: import("
|
|
20
|
+
modalRef: import("..").BottomModalRef | undefined;
|
|
21
21
|
};
|
|
22
22
|
export { BottomSheet, BottomSheetModal, BottomSheetFlatlist, BottomSheetScrollView, useBottomSheetRef, };
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BottomSheet/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,gBAAgB,EAIrB,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BottomSheet/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,gBAAgB,EAIrB,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;+DAyCrB,CAAC;AAaF,QAAA,MAAM,WAAW;;;;;;+DAyChB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;CAGtB,CAAC;AAEF,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAClB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { PortalProvider as BottomSheetPortalProvider, type PortalItem, usePortalComponent as useBottomSheetPortalComponent, usePortal as useBottomSheetPortal, } from '@shaquillehinds/react-native-essentials';
|
|
2
|
+
export type * from './BottomSheet/config/bottomSheet.types';
|
|
2
3
|
export * from './BottomSheet';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,yBAAyB,EAC3C,KAAK,UAAU,EACf,kBAAkB,IAAI,6BAA6B,EACnD,SAAS,IAAI,oBAAoB,GAClC,MAAM,yCAAyC,CAAC;AAEjD,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,yBAAyB,EAC3C,KAAK,UAAU,EACf,kBAAkB,IAAI,6BAA6B,EACnD,SAAS,IAAI,oBAAoB,GAClC,MAAM,yCAAyC,CAAC;AAEjD,mBAAmB,wCAAwC,CAAC;AAC5D,cAAc,eAAe,CAAC"}
|
|
@@ -5,5 +5,5 @@ export declare const BottomSheet: import("react").ForwardRefExoticComponent<Bott
|
|
|
5
5
|
children?: import("react").ReactNode | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
controller: BottomSheetControllerReturn;
|
|
8
|
-
} & import("react").RefAttributes<import("
|
|
8
|
+
} & import("react").RefAttributes<import("../..").BottomSheetRef>>;
|
|
9
9
|
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheet.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;AAOrC,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;gBAGN,2BAA2B;
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheet.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;AAOrC,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;gBAGN,2BAA2B;kEAkH5C,CAAC"}
|
|
@@ -2,7 +2,7 @@ export declare const BottomSheetModal: import("react").ForwardRefExoticComponent
|
|
|
2
2
|
BackdropComponent?: React.ReactNode;
|
|
3
3
|
onBackDropPress?: () => void;
|
|
4
4
|
disableCloseOnBackdropPress?: boolean;
|
|
5
|
-
} & import("
|
|
5
|
+
} & import("../..").BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
6
6
|
children?: import("react").ReactNode | undefined;
|
|
7
|
-
} & import("react").RefAttributes<import("
|
|
7
|
+
} & import("react").RefAttributes<import("../..").BottomSheetRef>>;
|
|
8
8
|
//# sourceMappingURL=BottomSheetModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheetModal.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB;;;;;;
|
|
1
|
+
{"version":3,"file":"BottomSheetModal.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/components/BottomSheetModal.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB;;;;;;kEAiC5B,CAAC"}
|
|
@@ -3,7 +3,6 @@ import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent } from
|
|
|
3
3
|
export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistProps<T>): {
|
|
4
4
|
refFlatlist: import("react").MutableRefObject<import("react-native").FlatList<any>> | import("react").RefObject<import("react-native").FlatList<any>> | undefined;
|
|
5
5
|
flatlistProps: {
|
|
6
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
7
6
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
8
7
|
columnWrapperStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
9
8
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
@@ -104,6 +103,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
104
103
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
105
104
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
106
105
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
106
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
107
107
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
108
108
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
109
109
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -201,7 +201,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
201
201
|
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
202
202
|
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
203
203
|
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
204
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
204
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
205
205
|
maintainVisibleContentPosition?: {
|
|
206
206
|
autoscrollToTopThreshold?: number | null | undefined;
|
|
207
207
|
minIndexForVisible: number;
|
|
@@ -237,7 +237,6 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
237
237
|
sharedTransitionTag?: string | undefined;
|
|
238
238
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition | undefined;
|
|
239
239
|
animatedProps?: Partial<{
|
|
240
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
241
240
|
onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | import("react-native-reanimated").SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined> | undefined;
|
|
242
241
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
243
242
|
data: ArrayLike<T> | import("react-native-reanimated").SharedValue<ArrayLike<T> | null | undefined> | null | undefined;
|
|
@@ -334,6 +333,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
334
333
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
335
334
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
336
335
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
336
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
337
337
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
338
338
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
339
339
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -460,7 +460,7 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
460
460
|
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
461
461
|
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
462
462
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
463
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
463
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
464
464
|
} & {
|
|
465
465
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
466
466
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -470,8 +470,8 @@ export declare function bottomFlatlistController<T>(props: BottomSheetFlatlistPr
|
|
|
470
470
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
471
471
|
}> | undefined;
|
|
472
472
|
};
|
|
473
|
-
context: import("
|
|
474
|
-
onScroll: ReanimatedOnScroll | import("
|
|
473
|
+
context: import("../..").BottomSheetContextProps | null;
|
|
474
|
+
onScroll: ReanimatedOnScroll | import("../..").DefaultOnScroll | undefined;
|
|
475
475
|
onLayout: (e: LayoutChangeEvent) => void;
|
|
476
476
|
onScrollBegin: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
477
477
|
onContentSizeChange: (w: number, h: number) => void;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { BottomSheetScrollViewProps, ReanimatedOnScroll } from '../config/bottomSheet.types';
|
|
2
2
|
export declare function bottomScrollViewController(props: BottomSheetScrollViewProps): {
|
|
3
|
-
context: import("
|
|
4
|
-
onScroll: ReanimatedOnScroll | import("
|
|
3
|
+
context: import("../..").BottomSheetContextProps | null;
|
|
4
|
+
onScroll: ReanimatedOnScroll | import("../..").DefaultOnScroll | undefined;
|
|
5
5
|
assignRef: () => void;
|
|
6
6
|
refScrollView: import("react").MutableRefObject<import("react-native-reanimated/lib/typescript/Animated").ScrollView> | import("react").RefObject<import("react-native-reanimated/lib/typescript/Animated").ScrollView> | undefined;
|
|
7
7
|
scrollViewProps: {
|
|
8
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
9
8
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
10
9
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
11
10
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
@@ -39,6 +38,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
39
38
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
40
39
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
41
40
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
41
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
42
42
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
43
43
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
44
44
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -136,7 +136,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
136
136
|
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
137
137
|
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
138
138
|
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
139
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
139
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
140
140
|
maintainVisibleContentPosition?: {
|
|
141
141
|
autoscrollToTopThreshold?: number | null | undefined;
|
|
142
142
|
minIndexForVisible: number;
|
|
@@ -166,7 +166,6 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
166
166
|
sharedTransitionTag?: string | undefined;
|
|
167
167
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition | undefined;
|
|
168
168
|
animatedProps?: Partial<{
|
|
169
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
170
169
|
onScroll?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void) | undefined> | undefined;
|
|
171
170
|
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
172
171
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
@@ -199,6 +198,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
199
198
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
200
199
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
201
200
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
201
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"none" | "box-none" | "box-only" | "auto" | undefined> | undefined;
|
|
202
202
|
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
203
203
|
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
204
204
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -322,7 +322,7 @@ export declare function bottomScrollViewController(props: BottomSheetScrollViewP
|
|
|
322
322
|
} & {
|
|
323
323
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
324
324
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
325
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
325
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "white" | "black" | undefined>>;
|
|
326
326
|
} & {
|
|
327
327
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
328
328
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -10,7 +10,7 @@ export declare function bottomSheetController(props: BottomSheetModalProps): {
|
|
|
10
10
|
scrollableComponentRef: import("react").MutableRefObject<ScrollComponentRefProps>;
|
|
11
11
|
disableLayoutAnimation: import("react").MutableRefObject<boolean>;
|
|
12
12
|
animateModalOpen: (height: number, modalHeight: number) => void;
|
|
13
|
-
animateModalClose: (prop?: import("
|
|
13
|
+
animateModalClose: (prop?: import("../..").AnimateCloseModalProps) => void;
|
|
14
14
|
animateToPercentage: (percentage: string | number, screenHeight: number) => void;
|
|
15
15
|
animateToSnapPointIndex: (snapPointIndex: number) => void;
|
|
16
16
|
onDragGesture: (e: import("react-native-gesture-handler").GestureUpdateEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
@@ -8,16 +8,16 @@ declare const BottomSheetModal: import("react").ForwardRefExoticComponent<{
|
|
|
8
8
|
disableCloseOnBackdropPress?: boolean;
|
|
9
9
|
} & BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
10
10
|
children?: import("react").ReactNode | undefined;
|
|
11
|
-
} & import("react").RefAttributes<import("
|
|
11
|
+
} & import("react").RefAttributes<import("..").BottomModalRef>>;
|
|
12
12
|
declare const BottomSheet: import("react").ForwardRefExoticComponent<{
|
|
13
13
|
BackdropComponent?: React.ReactNode;
|
|
14
14
|
onBackDropPress?: () => void;
|
|
15
15
|
disableCloseOnBackdropPress?: boolean;
|
|
16
16
|
} & BottomSheetProps & import("@shaquillehinds/react-native-essentials").ModalWrapperProps & {
|
|
17
17
|
children?: import("react").ReactNode | undefined;
|
|
18
|
-
} & import("react").RefAttributes<import("
|
|
18
|
+
} & import("react").RefAttributes<import("..").BottomModalRef>>;
|
|
19
19
|
declare const useBottomSheetRef: () => {
|
|
20
|
-
modalRef: import("
|
|
20
|
+
modalRef: import("..").BottomModalRef | undefined;
|
|
21
21
|
};
|
|
22
22
|
export { BottomSheet, BottomSheetModal, BottomSheetFlatlist, BottomSheetScrollView, useBottomSheetRef, };
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BottomSheet/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,gBAAgB,EAIrB,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BottomSheet/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,gBAAgB,EAIrB,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;+DAyCrB,CAAC;AAaF,QAAA,MAAM,WAAW;;;;;;+DAyChB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;CAGtB,CAAC;AAEF,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAClB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { PortalProvider as BottomSheetPortalProvider, type PortalItem, usePortalComponent as useBottomSheetPortalComponent, usePortal as useBottomSheetPortal, } from '@shaquillehinds/react-native-essentials';
|
|
2
|
+
export type * from './BottomSheet/config/bottomSheet.types';
|
|
2
3
|
export * from './BottomSheet';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,yBAAyB,EAC3C,KAAK,UAAU,EACf,kBAAkB,IAAI,6BAA6B,EACnD,SAAS,IAAI,oBAAoB,GAClC,MAAM,yCAAyC,CAAC;AAEjD,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,yBAAyB,EAC3C,KAAK,UAAU,EACf,kBAAkB,IAAI,6BAA6B,EACnD,SAAS,IAAI,oBAAoB,GAClC,MAAM,yCAAyC,CAAC;AAEjD,mBAAmB,wCAAwC,CAAC;AAC5D,cAAc,eAAe,CAAC"}
|
package/package.json
CHANGED