@shaquillehinds/react-native-bottom-sheet 0.0.1
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/LICENSE +20 -0
- package/README.md +880 -0
- package/lib/commonjs/BottomSheet/animations/drag.animation.js +72 -0
- package/lib/commonjs/BottomSheet/animations/drag.animation.js.map +1 -0
- package/lib/commonjs/BottomSheet/components/BottomSheet.js +92 -0
- package/lib/commonjs/BottomSheet/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetFlatlist.js +38 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetFlatlist.js.map +1 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetModal.js +34 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetModal.js.map +1 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetScrollView.js +37 -0
- package/lib/commonjs/BottomSheet/components/BottomSheetScrollView.js.map +1 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.constants.js +35 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.constants.js.map +1 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.styles.js +42 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.styles.js.map +1 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.types.js +14 -0
- package/lib/commonjs/BottomSheet/config/bottomSheet.types.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/bottomFlatlist.controller.js +69 -0
- package/lib/commonjs/BottomSheet/controller/bottomFlatlist.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/bottomScrollView.controller.js +41 -0
- package/lib/commonjs/BottomSheet/controller/bottomScrollView.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/bottomSheet.controller.js +216 -0
- package/lib/commonjs/BottomSheet/controller/bottomSheet.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/callbacks.controller.js +135 -0
- package/lib/commonjs/BottomSheet/controller/callbacks.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/dragAnimation.controller.js +127 -0
- package/lib/commonjs/BottomSheet/controller/dragAnimation.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/hooks/useBottomSheetRef.js +60 -0
- package/lib/commonjs/BottomSheet/controller/hooks/useBottomSheetRef.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/hooks/useBottomSheetUtils.js +74 -0
- package/lib/commonjs/BottomSheet/controller/hooks/useBottomSheetUtils.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/index.js +17 -0
- package/lib/commonjs/BottomSheet/controller/index.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/keyboardAnimation.controller.js +88 -0
- package/lib/commonjs/BottomSheet/controller/keyboardAnimation.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/controller/scrollContent.controller.js +89 -0
- package/lib/commonjs/BottomSheet/controller/scrollContent.controller.js.map +1 -0
- package/lib/commonjs/BottomSheet/index.js +130 -0
- package/lib/commonjs/BottomSheet/index.js.map +1 -0
- package/lib/commonjs/index.js +17 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/module/BottomSheet/animations/drag.animation.js +68 -0
- package/lib/module/BottomSheet/animations/drag.animation.js.map +1 -0
- package/lib/module/BottomSheet/components/BottomSheet.js +87 -0
- package/lib/module/BottomSheet/components/BottomSheet.js.map +1 -0
- package/lib/module/BottomSheet/components/BottomSheetFlatlist.js +32 -0
- package/lib/module/BottomSheet/components/BottomSheetFlatlist.js.map +1 -0
- package/lib/module/BottomSheet/components/BottomSheetModal.js +30 -0
- package/lib/module/BottomSheet/components/BottomSheetModal.js.map +1 -0
- package/lib/module/BottomSheet/components/BottomSheetScrollView.js +31 -0
- package/lib/module/BottomSheet/components/BottomSheetScrollView.js.map +1 -0
- package/lib/module/BottomSheet/config/bottomSheet.constants.js +30 -0
- package/lib/module/BottomSheet/config/bottomSheet.constants.js.map +1 -0
- package/lib/module/BottomSheet/config/bottomSheet.styles.js +38 -0
- package/lib/module/BottomSheet/config/bottomSheet.styles.js.map +1 -0
- package/lib/module/BottomSheet/config/bottomSheet.types.js +10 -0
- package/lib/module/BottomSheet/config/bottomSheet.types.js.map +1 -0
- package/lib/module/BottomSheet/controller/bottomFlatlist.controller.js +64 -0
- package/lib/module/BottomSheet/controller/bottomFlatlist.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/bottomScrollView.controller.js +37 -0
- package/lib/module/BottomSheet/controller/bottomScrollView.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/bottomSheet.controller.js +212 -0
- package/lib/module/BottomSheet/controller/bottomSheet.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/callbacks.controller.js +130 -0
- package/lib/module/BottomSheet/controller/callbacks.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/dragAnimation.controller.js +122 -0
- package/lib/module/BottomSheet/controller/dragAnimation.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/hooks/useBottomSheetRef.js +56 -0
- package/lib/module/BottomSheet/controller/hooks/useBottomSheetRef.js.map +1 -0
- package/lib/module/BottomSheet/controller/hooks/useBottomSheetUtils.js +70 -0
- package/lib/module/BottomSheet/controller/hooks/useBottomSheetUtils.js.map +1 -0
- package/lib/module/BottomSheet/controller/index.js +4 -0
- package/lib/module/BottomSheet/controller/index.js.map +1 -0
- package/lib/module/BottomSheet/controller/keyboardAnimation.controller.js +84 -0
- package/lib/module/BottomSheet/controller/keyboardAnimation.controller.js.map +1 -0
- package/lib/module/BottomSheet/controller/scrollContent.controller.js +84 -0
- package/lib/module/BottomSheet/controller/scrollContent.controller.js.map +1 -0
- package/lib/module/BottomSheet/index.js +112 -0
- package/lib/module/BottomSheet/index.js.map +1 -0
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/animations/drag.animation.d.ts +31 -0
- package/lib/typescript/commonjs/src/BottomSheet/animations/drag.animation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheet.d.ts +9 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetFlatlist.d.ts +3 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetFlatlist.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetModal.d.ts +8 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetScrollView.d.ts +3 -0
- package/lib/typescript/commonjs/src/BottomSheet/components/BottomSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.constants.d.ts +30 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.styles.d.ts +37 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.types.d.ts +185 -0
- package/lib/typescript/commonjs/src/BottomSheet/config/bottomSheet.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomFlatlist.controller.d.ts +480 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomFlatlist.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomScrollView.controller.d.ts +338 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomScrollView.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomSheet.controller.d.ts +51 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/bottomSheet.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/callbacks.controller.d.ts +36 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/callbacks.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/dragAnimation.controller.d.ts +27 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/dragAnimation.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/hooks/useBottomSheetRef.d.ts +12 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/hooks/useBottomSheetRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/hooks/useBottomSheetUtils.d.ts +40 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/hooks/useBottomSheetUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/keyboardAnimation.controller.d.ts +15 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/keyboardAnimation.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/scrollContent.controller.d.ts +20 -0
- package/lib/typescript/commonjs/src/BottomSheet/controller/scrollContent.controller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BottomSheet/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/BottomSheet/animations/drag.animation.d.ts +31 -0
- package/lib/typescript/module/src/BottomSheet/animations/drag.animation.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheet.d.ts +9 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetFlatlist.d.ts +3 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetFlatlist.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetModal.d.ts +8 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetModal.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetScrollView.d.ts +3 -0
- package/lib/typescript/module/src/BottomSheet/components/BottomSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.constants.d.ts +30 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.constants.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.styles.d.ts +37 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.styles.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.types.d.ts +185 -0
- package/lib/typescript/module/src/BottomSheet/config/bottomSheet.types.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomFlatlist.controller.d.ts +480 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomFlatlist.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomScrollView.controller.d.ts +338 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomScrollView.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomSheet.controller.d.ts +51 -0
- package/lib/typescript/module/src/BottomSheet/controller/bottomSheet.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/callbacks.controller.d.ts +36 -0
- package/lib/typescript/module/src/BottomSheet/controller/callbacks.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/dragAnimation.controller.d.ts +27 -0
- package/lib/typescript/module/src/BottomSheet/controller/dragAnimation.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/hooks/useBottomSheetRef.d.ts +12 -0
- package/lib/typescript/module/src/BottomSheet/controller/hooks/useBottomSheetRef.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/hooks/useBottomSheetUtils.d.ts +40 -0
- package/lib/typescript/module/src/BottomSheet/controller/hooks/useBottomSheetUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/index.d.ts +2 -0
- package/lib/typescript/module/src/BottomSheet/controller/index.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/keyboardAnimation.controller.d.ts +15 -0
- package/lib/typescript/module/src/BottomSheet/controller/keyboardAnimation.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/controller/scrollContent.controller.d.ts +20 -0
- package/lib/typescript/module/src/BottomSheet/controller/scrollContent.controller.d.ts.map +1 -0
- package/lib/typescript/module/src/BottomSheet/index.d.ts +23 -0
- package/lib/typescript/module/src/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +2 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/package.json +203 -0
- package/src/BottomSheet/animations/drag.animation.ts +86 -0
- package/src/BottomSheet/components/BottomSheet.tsx +157 -0
- package/src/BottomSheet/components/BottomSheetFlatlist.tsx +46 -0
- package/src/BottomSheet/components/BottomSheetModal.tsx +47 -0
- package/src/BottomSheet/components/BottomSheetScrollView.tsx +46 -0
- package/src/BottomSheet/config/bottomSheet.constants.ts +31 -0
- package/src/BottomSheet/config/bottomSheet.styles.ts +42 -0
- package/src/BottomSheet/config/bottomSheet.types.ts +246 -0
- package/src/BottomSheet/controller/bottomFlatlist.controller.ts +87 -0
- package/src/BottomSheet/controller/bottomScrollView.controller.ts +43 -0
- package/src/BottomSheet/controller/bottomSheet.controller.ts +238 -0
- package/src/BottomSheet/controller/callbacks.controller.ts +222 -0
- package/src/BottomSheet/controller/dragAnimation.controller.ts +211 -0
- package/src/BottomSheet/controller/hooks/useBottomSheetRef.ts +73 -0
- package/src/BottomSheet/controller/hooks/useBottomSheetUtils.ts +75 -0
- package/src/BottomSheet/controller/index.ts +1 -0
- package/src/BottomSheet/controller/keyboardAnimation.controller.ts +148 -0
- package/src/BottomSheet/controller/scrollContent.controller.ts +120 -0
- package/src/BottomSheet/index.tsx +139 -0
- package/src/index.tsx +1 -0
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
import type { BottomSheetScrollViewProps, ReanimatedOnScroll } from '../config/bottomSheet.types';
|
|
2
|
+
export declare function bottomScrollViewController(props: BottomSheetScrollViewProps): {
|
|
3
|
+
context: import("../config/bottomSheet.types").BottomSheetContextProps | null;
|
|
4
|
+
onScroll: ReanimatedOnScroll | import("../config/bottomSheet.types").DefaultOnScroll | undefined;
|
|
5
|
+
assignRef: () => void;
|
|
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
|
+
scrollViewProps: {
|
|
8
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | import("react-native-reanimated").SharedValue<"box-none" | "none" | "box-only" | "auto" | undefined> | undefined;
|
|
9
|
+
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
10
|
+
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
11
|
+
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
12
|
+
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
13
|
+
fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
14
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
15
|
+
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
16
|
+
decelerationRate?: number | "fast" | "normal" | import("react-native-reanimated").SharedValue<number | "fast" | "normal" | undefined> | undefined;
|
|
17
|
+
invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
18
|
+
keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
|
|
19
|
+
onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
|
|
20
|
+
onScrollBeginDrag?: ((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;
|
|
21
|
+
onScrollEndDrag?: ((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;
|
|
22
|
+
onMomentumScrollEnd?: ((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;
|
|
23
|
+
onMomentumScrollBegin?: ((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;
|
|
24
|
+
pagingEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
25
|
+
scrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
26
|
+
showsHorizontalScrollIndicator?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
27
|
+
showsVerticalScrollIndicator?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
28
|
+
stickyHeaderHiddenOnScroll?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
29
|
+
refreshControl?: import("react").ReactElement<import("react-native").RefreshControlProps, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ReactElement<import("react-native").RefreshControlProps, string | import("react").JSXElementConstructor<any>> | undefined> | undefined;
|
|
30
|
+
snapToInterval?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
31
|
+
snapToOffsets?: number[] | import("react-native-reanimated").SharedValue<number[] | undefined> | undefined;
|
|
32
|
+
snapToStart?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
33
|
+
snapToEnd?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
34
|
+
stickyHeaderIndices?: number[] | import("react-native-reanimated").SharedValue<number[] | undefined> | undefined;
|
|
35
|
+
disableIntervalMomentum?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
36
|
+
disableScrollViewPanResponder?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
37
|
+
StickyHeaderComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | undefined> | undefined;
|
|
38
|
+
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
39
|
+
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
40
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
41
|
+
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
42
|
+
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
43
|
+
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
44
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
45
|
+
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
46
|
+
renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
47
|
+
focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
48
|
+
tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
|
|
49
|
+
shouldRasterizeIOS?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
50
|
+
isTVSelectable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
51
|
+
hasTVPreferredFocus?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
52
|
+
tvParallaxShiftDistanceX?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
53
|
+
tvParallaxShiftDistanceY?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
54
|
+
tvParallaxTiltAngle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
55
|
+
tvParallaxMagnification?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
56
|
+
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
57
|
+
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
58
|
+
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
59
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
60
|
+
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
61
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
62
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
63
|
+
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
64
|
+
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
65
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
66
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
67
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
68
|
+
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
69
|
+
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
70
|
+
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
71
|
+
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
72
|
+
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
73
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
74
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
75
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
76
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
77
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
78
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
79
|
+
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
80
|
+
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
81
|
+
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
82
|
+
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
83
|
+
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
84
|
+
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
85
|
+
accessible?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
86
|
+
accessibilityActions?: readonly Readonly<{
|
|
87
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
88
|
+
label?: string | undefined;
|
|
89
|
+
}>[] | import("react-native-reanimated").SharedValue<readonly Readonly<{
|
|
90
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
91
|
+
label?: string | undefined;
|
|
92
|
+
}>[] | undefined> | undefined;
|
|
93
|
+
accessibilityLabel?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
94
|
+
'aria-label'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
95
|
+
accessibilityRole?: import("react-native").AccessibilityRole | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityRole | undefined> | undefined;
|
|
96
|
+
accessibilityState?: import("react-native").AccessibilityState | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityState | undefined> | undefined;
|
|
97
|
+
'aria-busy'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
98
|
+
'aria-checked'?: boolean | "mixed" | import("react-native-reanimated").SharedValue<boolean | "mixed" | undefined> | undefined;
|
|
99
|
+
'aria-disabled'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
100
|
+
'aria-expanded'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
101
|
+
'aria-selected'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
102
|
+
accessibilityHint?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
103
|
+
accessibilityValue?: import("react-native").AccessibilityValue | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityValue | undefined> | undefined;
|
|
104
|
+
'aria-valuemax'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
105
|
+
'aria-valuemin'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
106
|
+
'aria-valuenow'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
107
|
+
'aria-valuetext'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
108
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
|
|
109
|
+
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | import("react-native-reanimated").SharedValue<"auto" | "yes" | "no" | "no-hide-descendants" | undefined> | undefined;
|
|
110
|
+
'aria-hidden'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
111
|
+
'aria-modal'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
112
|
+
role?: import("react-native").Role | import("react-native-reanimated").SharedValue<import("react-native").Role | undefined> | undefined;
|
|
113
|
+
accessibilityLabelledBy?: string | string[] | import("react-native-reanimated").SharedValue<string | string[] | undefined> | undefined;
|
|
114
|
+
'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
115
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
|
|
116
|
+
'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
|
|
117
|
+
accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
118
|
+
accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
119
|
+
onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
120
|
+
onAccessibilityTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
121
|
+
onMagicTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
122
|
+
accessibilityIgnoresInvertColors?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
123
|
+
accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
124
|
+
accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
125
|
+
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
126
|
+
alwaysBounceHorizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
127
|
+
alwaysBounceVertical?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
128
|
+
automaticallyAdjustContentInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
129
|
+
automaticallyAdjustKeyboardInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
130
|
+
automaticallyAdjustsScrollIndicatorInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
131
|
+
bounces?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
132
|
+
bouncesZoom?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
133
|
+
canCancelContentTouches?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
134
|
+
centerContent?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
135
|
+
contentInset?: import("react-native").Insets | import("react-native-reanimated").SharedValue<import("react-native").Insets | undefined> | undefined;
|
|
136
|
+
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
137
|
+
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
138
|
+
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
139
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"white" | "default" | "black" | undefined>>;
|
|
140
|
+
maintainVisibleContentPosition?: {
|
|
141
|
+
autoscrollToTopThreshold?: number | null | undefined;
|
|
142
|
+
minIndexForVisible: number;
|
|
143
|
+
} | import("react-native-reanimated").SharedValue<{
|
|
144
|
+
autoscrollToTopThreshold?: number | null | undefined;
|
|
145
|
+
minIndexForVisible: number;
|
|
146
|
+
} | null | undefined> | null | undefined;
|
|
147
|
+
maximumZoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
148
|
+
minimumZoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
149
|
+
onScrollAnimationEnd?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
150
|
+
pinchGestureEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
151
|
+
scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
152
|
+
scrollIndicatorInsets?: import("react-native").Insets | import("react-native-reanimated").SharedValue<import("react-native").Insets | undefined> | undefined;
|
|
153
|
+
scrollToOverflowEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
154
|
+
scrollsToTop?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
155
|
+
snapToAlignment?: "center" | "end" | "start" | import("react-native-reanimated").SharedValue<"center" | "end" | "start" | undefined> | undefined;
|
|
156
|
+
onScrollToTop?: ((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;
|
|
157
|
+
zoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
158
|
+
endFillColor?: import("react-native").ColorValue | import("react-native-reanimated").SharedValue<import("react-native").ColorValue | undefined> | undefined;
|
|
159
|
+
scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
160
|
+
overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
|
|
161
|
+
nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
162
|
+
persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
163
|
+
layout?: (import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder) | undefined;
|
|
164
|
+
entering?: import("react-native-reanimated").EntryOrExitLayoutType | undefined;
|
|
165
|
+
exiting?: import("react-native-reanimated").EntryOrExitLayoutType | undefined;
|
|
166
|
+
sharedTransitionTag?: string | undefined;
|
|
167
|
+
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition | undefined;
|
|
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
|
+
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
|
+
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled" | import("react-native-reanimated").SharedValue<boolean | "always" | "never" | "handled" | undefined> | undefined;
|
|
172
|
+
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
173
|
+
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
174
|
+
fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
175
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
176
|
+
decelerationRate?: number | "fast" | "normal" | import("react-native-reanimated").SharedValue<number | "fast" | "normal" | undefined> | undefined;
|
|
177
|
+
invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
178
|
+
keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
|
|
179
|
+
onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
|
|
180
|
+
onScrollBeginDrag?: ((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;
|
|
181
|
+
onScrollEndDrag?: ((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;
|
|
182
|
+
onMomentumScrollEnd?: ((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;
|
|
183
|
+
onMomentumScrollBegin?: ((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;
|
|
184
|
+
pagingEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
185
|
+
scrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
186
|
+
showsHorizontalScrollIndicator?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
187
|
+
showsVerticalScrollIndicator?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
188
|
+
stickyHeaderHiddenOnScroll?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
189
|
+
refreshControl?: import("react").ReactElement<import("react-native").RefreshControlProps, string | import("react").JSXElementConstructor<any>> | import("react-native-reanimated").SharedValue<import("react").ReactElement<import("react-native").RefreshControlProps, string | import("react").JSXElementConstructor<any>> | undefined> | undefined;
|
|
190
|
+
snapToInterval?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
191
|
+
snapToOffsets?: number[] | import("react-native-reanimated").SharedValue<number[] | undefined> | undefined;
|
|
192
|
+
snapToStart?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
193
|
+
snapToEnd?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
194
|
+
stickyHeaderIndices?: number[] | import("react-native-reanimated").SharedValue<number[] | undefined> | undefined;
|
|
195
|
+
disableIntervalMomentum?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
196
|
+
disableScrollViewPanResponder?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
197
|
+
StickyHeaderComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | undefined> | undefined;
|
|
198
|
+
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
199
|
+
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
200
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
201
|
+
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
202
|
+
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
203
|
+
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
204
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
205
|
+
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
206
|
+
renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
207
|
+
focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
208
|
+
tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
|
|
209
|
+
shouldRasterizeIOS?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
210
|
+
isTVSelectable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
211
|
+
hasTVPreferredFocus?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
212
|
+
tvParallaxShiftDistanceX?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
213
|
+
tvParallaxShiftDistanceY?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
214
|
+
tvParallaxTiltAngle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
215
|
+
tvParallaxMagnification?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
216
|
+
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
217
|
+
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
218
|
+
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
219
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
220
|
+
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
221
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
222
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
223
|
+
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
224
|
+
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
225
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
226
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
227
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
228
|
+
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
229
|
+
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
230
|
+
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
231
|
+
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
232
|
+
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
233
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
234
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
235
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
236
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
237
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
238
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
239
|
+
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
240
|
+
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
241
|
+
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
242
|
+
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
243
|
+
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
244
|
+
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
245
|
+
accessible?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
246
|
+
accessibilityActions?: readonly Readonly<{
|
|
247
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
248
|
+
label?: string | undefined;
|
|
249
|
+
}>[] | import("react-native-reanimated").SharedValue<readonly Readonly<{
|
|
250
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
251
|
+
label?: string | undefined;
|
|
252
|
+
}>[] | undefined> | undefined;
|
|
253
|
+
accessibilityLabel?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
254
|
+
'aria-label'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
255
|
+
accessibilityRole?: import("react-native").AccessibilityRole | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityRole | undefined> | undefined;
|
|
256
|
+
accessibilityState?: import("react-native").AccessibilityState | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityState | undefined> | undefined;
|
|
257
|
+
'aria-busy'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
258
|
+
'aria-checked'?: boolean | "mixed" | import("react-native-reanimated").SharedValue<boolean | "mixed" | undefined> | undefined;
|
|
259
|
+
'aria-disabled'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
260
|
+
'aria-expanded'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
261
|
+
'aria-selected'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
262
|
+
accessibilityHint?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
263
|
+
accessibilityValue?: import("react-native").AccessibilityValue | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityValue | undefined> | undefined;
|
|
264
|
+
'aria-valuemax'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
265
|
+
'aria-valuemin'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
266
|
+
'aria-valuenow'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
267
|
+
'aria-valuetext'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
268
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
|
|
269
|
+
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | import("react-native-reanimated").SharedValue<"auto" | "yes" | "no" | "no-hide-descendants" | undefined> | undefined;
|
|
270
|
+
'aria-hidden'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
271
|
+
'aria-modal'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
272
|
+
role?: import("react-native").Role | import("react-native-reanimated").SharedValue<import("react-native").Role | undefined> | undefined;
|
|
273
|
+
accessibilityLabelledBy?: string | string[] | import("react-native-reanimated").SharedValue<string | string[] | undefined> | undefined;
|
|
274
|
+
'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
275
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
|
|
276
|
+
'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
|
|
277
|
+
accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
278
|
+
accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
279
|
+
onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
280
|
+
onAccessibilityTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
281
|
+
onMagicTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
282
|
+
accessibilityIgnoresInvertColors?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
283
|
+
accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
284
|
+
accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
285
|
+
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
286
|
+
alwaysBounceHorizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
287
|
+
alwaysBounceVertical?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
288
|
+
automaticallyAdjustContentInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
289
|
+
automaticallyAdjustKeyboardInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
290
|
+
automaticallyAdjustsScrollIndicatorInsets?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
291
|
+
bounces?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
292
|
+
bouncesZoom?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
293
|
+
canCancelContentTouches?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
294
|
+
centerContent?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
295
|
+
contentInset?: import("react-native").Insets | import("react-native-reanimated").SharedValue<import("react-native").Insets | undefined> | undefined;
|
|
296
|
+
contentOffset?: import("react-native").PointProp | import("react-native-reanimated").SharedValue<import("react-native").PointProp | undefined> | undefined;
|
|
297
|
+
contentInsetAdjustmentBehavior?: "always" | "never" | "automatic" | "scrollableAxes" | import("react-native-reanimated").SharedValue<"always" | "never" | "automatic" | "scrollableAxes" | undefined> | undefined;
|
|
298
|
+
directionalLockEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
299
|
+
maintainVisibleContentPosition?: {
|
|
300
|
+
autoscrollToTopThreshold?: number | null | undefined;
|
|
301
|
+
minIndexForVisible: number;
|
|
302
|
+
} | import("react-native-reanimated").SharedValue<{
|
|
303
|
+
autoscrollToTopThreshold?: number | null | undefined;
|
|
304
|
+
minIndexForVisible: number;
|
|
305
|
+
} | null | undefined> | null | undefined;
|
|
306
|
+
maximumZoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
307
|
+
minimumZoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
308
|
+
onScrollAnimationEnd?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
309
|
+
pinchGestureEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
310
|
+
scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
311
|
+
scrollIndicatorInsets?: import("react-native").Insets | import("react-native-reanimated").SharedValue<import("react-native").Insets | undefined> | undefined;
|
|
312
|
+
scrollToOverflowEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
313
|
+
scrollsToTop?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
314
|
+
snapToAlignment?: "center" | "end" | "start" | import("react-native-reanimated").SharedValue<"center" | "end" | "start" | undefined> | undefined;
|
|
315
|
+
onScrollToTop?: ((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;
|
|
316
|
+
zoomScale?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
317
|
+
endFillColor?: import("react-native").ColorValue | import("react-native-reanimated").SharedValue<import("react-native").ColorValue | undefined> | undefined;
|
|
318
|
+
scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
319
|
+
overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
|
|
320
|
+
nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
321
|
+
persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
322
|
+
} & {
|
|
323
|
+
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
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<"white" | "default" | "black" | undefined>>;
|
|
326
|
+
} & {
|
|
327
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
328
|
+
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
329
|
+
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
330
|
+
} & {
|
|
331
|
+
sharedTransitionTag?: string;
|
|
332
|
+
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
333
|
+
}> | undefined;
|
|
334
|
+
scrollViewOffset?: import("react-native-reanimated").SharedValue<number> | undefined;
|
|
335
|
+
};
|
|
336
|
+
animatedScrollHandler: import("react-native-reanimated").ScrollHandlerProcessed<Record<string, unknown>>;
|
|
337
|
+
};
|
|
338
|
+
//# sourceMappingURL=bottomScrollView.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottomScrollView.controller.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/controller/bottomScrollView.controller.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAGrC,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC3E"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ModalState, type BottomSheetModalProps, type ScrollComponentRefProps } from '../config/bottomSheet.types';
|
|
2
|
+
export declare function bottomSheetController(props: BottomSheetModalProps): {
|
|
3
|
+
modalState: import("react").MutableRefObject<ModalState>;
|
|
4
|
+
scrollY: import("react-native-reanimated").SharedValue<number>;
|
|
5
|
+
inverted: import("react-native-reanimated").SharedValue<boolean>;
|
|
6
|
+
onEndScroll: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
7
|
+
onBeginScroll: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
8
|
+
onUpdateScroll: (e: import("react-native-gesture-handler").GestureUpdateEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
9
|
+
maxScrollOffset: import("react-native-reanimated").SharedValue<number>;
|
|
10
|
+
scrollableComponentRef: import("react").MutableRefObject<ScrollComponentRefProps>;
|
|
11
|
+
disableLayoutAnimation: import("react").MutableRefObject<boolean>;
|
|
12
|
+
animateModalOpen: (height: number, modalHeight: number) => void;
|
|
13
|
+
animateModalClose: (prop?: import("../config/bottomSheet.types").AnimateCloseModalProps) => void;
|
|
14
|
+
animateToPercentage: (percentage: string | number, screenHeight: number) => void;
|
|
15
|
+
animateToSnapPointIndex: (snapPointIndex: number) => void;
|
|
16
|
+
onDragGesture: (e: import("react-native-gesture-handler").GestureUpdateEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
17
|
+
onDragStartGesture: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
18
|
+
onDragEndGesture: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
19
|
+
onPlatformViewLayout: (e: import("react-native").LayoutChangeEvent) => void;
|
|
20
|
+
onModalContentLayout: (e: import("react-native").LayoutChangeEvent) => void;
|
|
21
|
+
onRequestClose: () => void;
|
|
22
|
+
onModalBackdropPress: () => void;
|
|
23
|
+
dragAnimatedStyle: {
|
|
24
|
+
transform: ({
|
|
25
|
+
translateX: number;
|
|
26
|
+
translateY?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
translateY: number;
|
|
29
|
+
translateX?: undefined;
|
|
30
|
+
})[];
|
|
31
|
+
};
|
|
32
|
+
modalContentAnimatedStyle: {
|
|
33
|
+
transform: {
|
|
34
|
+
translateY: number;
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
backdropOpacityStyle: {
|
|
38
|
+
opacity: number;
|
|
39
|
+
};
|
|
40
|
+
contentOpacityStyle: {
|
|
41
|
+
opacity: number;
|
|
42
|
+
};
|
|
43
|
+
modalDimensionsStyle: {
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
bottom: number;
|
|
47
|
+
};
|
|
48
|
+
screenHeight: number;
|
|
49
|
+
};
|
|
50
|
+
export type BottomSheetControllerReturn = ReturnType<typeof bottomSheetController>;
|
|
51
|
+
//# sourceMappingURL=bottomSheet.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottomSheet.controller.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/controller/bottomSheet.controller.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAE7B,MAAM,6BAA6B,CAAC;AAQrC,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoNjE;AAED,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,qBAAqB,CAC7B,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type SharedValue } from 'react-native-reanimated';
|
|
2
|
+
import { type LayoutChangeEvent } from 'react-native';
|
|
3
|
+
import { ModalState, type AnimateCloseModalProps, type SnapPoint } from '../config/bottomSheet.types';
|
|
4
|
+
import type { UseBottomSheetUtilsReturn } from './hooks/useBottomSheetUtils';
|
|
5
|
+
type CallbackControllerProps = {
|
|
6
|
+
unMounter?: () => void;
|
|
7
|
+
snapPoints: SharedValue<SnapPoint[]>;
|
|
8
|
+
modalState: React.MutableRefObject<ModalState>;
|
|
9
|
+
translationX: SharedValue<number>;
|
|
10
|
+
translationY: SharedValue<number>;
|
|
11
|
+
currentSnapPoint: SharedValue<SnapPoint>;
|
|
12
|
+
prevTranslationY: SharedValue<number>;
|
|
13
|
+
backdropOpacity: SharedValue<number>;
|
|
14
|
+
closedYPosition: SharedValue<number>;
|
|
15
|
+
fullyOpenYPosition: SharedValue<number>;
|
|
16
|
+
disableLayoutAnimation: React.MutableRefObject<boolean>;
|
|
17
|
+
setDisableLayoutAnimation: (bool: boolean) => void;
|
|
18
|
+
disableCloseOnBackdropPress?: boolean;
|
|
19
|
+
onBackDropPress?: (animateModalClose?: () => void) => void;
|
|
20
|
+
setShowModal?: React.Dispatch<React.SetStateAction<boolean>> | ((bool: boolean) => void);
|
|
21
|
+
utils: UseBottomSheetUtilsReturn;
|
|
22
|
+
onSnapPointReach?: (snapPointIndex: number) => Promise<void> | void;
|
|
23
|
+
};
|
|
24
|
+
export declare function callbackController(props: CallbackControllerProps): {
|
|
25
|
+
closeModal: (delayMS?: number) => void;
|
|
26
|
+
animateModalOpen: (height: number, modalHeight: number) => void;
|
|
27
|
+
animateModalClose: (prop?: AnimateCloseModalProps) => void;
|
|
28
|
+
animateToPercentage: (percentage: string | number, screenHeight: number) => void;
|
|
29
|
+
animateToSnapPointIndex: (snapPointIndex: number) => void;
|
|
30
|
+
onRequestClose: () => void;
|
|
31
|
+
onPlatformViewLayout: (e: LayoutChangeEvent) => void;
|
|
32
|
+
onModalContentLayout: (e: LayoutChangeEvent) => void;
|
|
33
|
+
onModalBackdropPress: () => void;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=callbacks.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callbacks.controller.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/controller/callbacks.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EACL,UAAU,EACV,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,KAAK,uBAAuB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,UAAU,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAC/C,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,gBAAgB,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,sBAAsB,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxD,yBAAyB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,eAAe,CAAC,EAAE,CAAC,iBAAiB,CAAC,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC3D,YAAY,CAAC,EACT,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,GAC7C,CAAC,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;IAC9B,KAAK,EAAE,yBAAyB,CAAC;IACjC,gBAAgB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACrE,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB;2BAgIlD,MAAM;+BAjGR,MAAM,eAAe,MAAM;+BAyBQ,sBAAsB;sCA2CrD,MAAM,GAAG,MAAM,gBAAgB,MAAM;8CAPS,MAAM;;8BA1BtB,iBAAiB;8BA0CxD,iBAAiB;;EAqExB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type SharedValue } from 'react-native-reanimated';
|
|
2
|
+
import { type OnMoveAnimationProps } from '../animations/drag.animation';
|
|
3
|
+
import type { SnapPoint } from '../config/bottomSheet.types';
|
|
4
|
+
type DragAnimationControllerProps = {
|
|
5
|
+
snapPoints: SharedValue<SnapPoint[]>;
|
|
6
|
+
currentSnapPoint: SharedValue<SnapPoint>;
|
|
7
|
+
keyboardHeight: SharedValue<number>;
|
|
8
|
+
translationY: SharedValue<number>;
|
|
9
|
+
prevTranslationY: SharedValue<number>;
|
|
10
|
+
fullyOpenYPosition: SharedValue<number>;
|
|
11
|
+
lowestSnapPointPosition: SharedValue<number>;
|
|
12
|
+
backdropOpacity: SharedValue<number>;
|
|
13
|
+
closedYPosition: SharedValue<number>;
|
|
14
|
+
keepMounted?: boolean;
|
|
15
|
+
allowDragWhileKeyboardVisible?: boolean;
|
|
16
|
+
onDrag: (props: OnMoveAnimationProps) => void;
|
|
17
|
+
onDragStart: () => void;
|
|
18
|
+
closeModal: (delayMS?: number) => void;
|
|
19
|
+
onSnapPointReach?: (snapPointIndex: number) => Promise<void> | void;
|
|
20
|
+
};
|
|
21
|
+
export declare function dragAnimationController(props: DragAnimationControllerProps): {
|
|
22
|
+
onDragGesture: (e: import("react-native-gesture-handler").GestureUpdateEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
23
|
+
onDragEndGesture: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
24
|
+
onDragStartGesture: (e: import("react-native-gesture-handler").GestureStateChangeEvent<import("react-native-gesture-handler").PanGestureHandlerEventPayload>) => void;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=dragAnimation.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dragAnimation.controller.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/controller/dragAnimation.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC;IACrC,gBAAgB,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7C,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAErC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC,MAAM,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC9C,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACrE,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B;;;;EAiL1E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BottomSheetRef, BottomModalRef, BottomModalRefObject, BottomSheetProps } from '../../config/bottomSheet.types';
|
|
2
|
+
import type { ComponentMounterController } from '@shaquillehinds/react-native-essentials';
|
|
3
|
+
type UseBottomModalRefProps = {
|
|
4
|
+
ref: BottomModalRefObject;
|
|
5
|
+
} & Pick<BottomSheetProps, 'showModal' | 'setShowModal'>;
|
|
6
|
+
export declare function useBottomSheetRef({ ref, showModal, setShowModal, }: UseBottomModalRefProps): {
|
|
7
|
+
mounterRef: import("react").MutableRefObject<ComponentMounterController | null>;
|
|
8
|
+
sheetRef: import("react").MutableRefObject<BottomSheetRef | null>;
|
|
9
|
+
modalRef: BottomModalRef;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useBottomSheetRef.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBottomSheetRef.d.ts","sourceRoot":"","sources":["../../../../../../../src/BottomSheet/controller/hooks/useBottomSheetRef.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAG1F,KAAK,sBAAsB,GAAG;IAC5B,GAAG,EAAE,oBAAoB,CAAC;CAC3B,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,cAAc,CAAC,CAAC;AAEzD,wBAAgB,iBAAiB,CAAC,EAChC,GAAG,EACH,SAAS,EACT,YAAY,GACb,EAAE,sBAAsB;;;;EAsDxB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { SharedValue } from 'react-native-reanimated';
|
|
2
|
+
import type { SnapPoint } from '../../config/bottomSheet.types';
|
|
3
|
+
export declare function useBottomSheetUtils(): {
|
|
4
|
+
extraHeight: number;
|
|
5
|
+
modalHeight: number;
|
|
6
|
+
modalBottomOffset: number;
|
|
7
|
+
getMaxMinSnapPoints: (snapPoints: SnapPoint[]) => {
|
|
8
|
+
maxSnapPoint: number;
|
|
9
|
+
minSnapPoint: number;
|
|
10
|
+
firstSnapPoint: SnapPoint;
|
|
11
|
+
};
|
|
12
|
+
getMaxMinSnapPointsWorklet: (snapPoints: SharedValue<SnapPoint[]>) => {
|
|
13
|
+
maxSnapPoint: number;
|
|
14
|
+
minSnapPoint: number;
|
|
15
|
+
firstSnapPoint: SnapPoint;
|
|
16
|
+
};
|
|
17
|
+
percentageToSnapPoint: (p: string | number) => {
|
|
18
|
+
percentage: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
};
|
|
21
|
+
percentageToSnapPointWorklet: (p: string | number, screenHeight: number) => {
|
|
22
|
+
percentage: number;
|
|
23
|
+
offset: number;
|
|
24
|
+
};
|
|
25
|
+
relativeX: (num: number) => number;
|
|
26
|
+
relativeY: (num: number) => number;
|
|
27
|
+
relativeXWorklet: (num: number) => number;
|
|
28
|
+
relativeYWorklet: (num: number) => number;
|
|
29
|
+
relativeShort: (num: number) => number;
|
|
30
|
+
relativeShortWorklet: (num: number) => number;
|
|
31
|
+
relativeLong: (num: number) => number;
|
|
32
|
+
relativeLongWorklet: (num: number) => number;
|
|
33
|
+
normalize: (size: number) => number;
|
|
34
|
+
normalizeShort: (size: number) => number;
|
|
35
|
+
screenWidth: number;
|
|
36
|
+
screenHeight: number;
|
|
37
|
+
orientation: import("@shaquillehinds/react-native-essentials").DeviceOrientation;
|
|
38
|
+
};
|
|
39
|
+
export type UseBottomSheetUtilsReturn = ReturnType<typeof useBottomSheetUtils>;
|
|
40
|
+
//# sourceMappingURL=useBottomSheetUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBottomSheetUtils.d.ts","sourceRoot":"","sources":["../../../../../../../src/BottomSheet/controller/hooks/useBottomSheetUtils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAGhE,wBAAgB,mBAAmB;;;;sCAOQ,SAAS,EAAE;;;;;6CAWJ,WAAW,CAAC,SAAS,EAAE,CAAC;;;;;+BAYtC,MAAM,GAAG,MAAM;;;;sCAS5C,MAAM,GAAG,MAAM,gBACJ,MAAM;;;;;;;;;;;;;;;;;EAuBvB;AAED,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/BottomSheet/controller/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|