react-native-screen-transitions 2.3.2 → 2.3.4

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.
Files changed (81) hide show
  1. package/README.md +73 -19
  2. package/lib/commonjs/__configs__/presets.js +7 -3
  3. package/lib/commonjs/__configs__/presets.js.map +1 -1
  4. package/lib/commonjs/__configs__/specs.js +1 -0
  5. package/lib/commonjs/__configs__/specs.js.map +1 -1
  6. package/lib/commonjs/components/controllers/screen-lifecycle.js +5 -8
  7. package/lib/commonjs/components/controllers/screen-lifecycle.js.map +1 -1
  8. package/lib/commonjs/components/create-transition-aware-component.js +2 -2
  9. package/lib/commonjs/components/create-transition-aware-component.js.map +1 -1
  10. package/lib/commonjs/hooks/bounds/use-bound-registry.js +11 -10
  11. package/lib/commonjs/hooks/bounds/use-bound-registry.js.map +1 -1
  12. package/lib/commonjs/hooks/gestures/use-build-gestures.js +18 -28
  13. package/lib/commonjs/hooks/gestures/use-build-gestures.js.map +1 -1
  14. package/lib/commonjs/integrations/native-stack/views/NativeStackView.native.js.map +1 -1
  15. package/lib/commonjs/utils/animation/start-screen-transition.js +8 -6
  16. package/lib/commonjs/utils/animation/start-screen-transition.js.map +1 -1
  17. package/lib/commonjs/utils/gesture/determine-dismissal.js +7 -55
  18. package/lib/commonjs/utils/gesture/determine-dismissal.js.map +1 -1
  19. package/lib/commonjs/utils/gesture/reset-gesture-values.js +46 -0
  20. package/lib/commonjs/utils/gesture/reset-gesture-values.js.map +1 -0
  21. package/lib/commonjs/utils/gesture/velocity.js +89 -0
  22. package/lib/commonjs/utils/gesture/velocity.js.map +1 -0
  23. package/lib/commonjs/utils/reanimated/version.js +12 -0
  24. package/lib/commonjs/utils/reanimated/version.js.map +1 -0
  25. package/lib/module/__configs__/presets.js +7 -3
  26. package/lib/module/__configs__/presets.js.map +1 -1
  27. package/lib/module/__configs__/specs.js +1 -0
  28. package/lib/module/__configs__/specs.js.map +1 -1
  29. package/lib/module/components/controllers/screen-lifecycle.js +5 -8
  30. package/lib/module/components/controllers/screen-lifecycle.js.map +1 -1
  31. package/lib/module/components/create-transition-aware-component.js +2 -2
  32. package/lib/module/components/create-transition-aware-component.js.map +1 -1
  33. package/lib/module/hooks/bounds/use-bound-registry.js +11 -10
  34. package/lib/module/hooks/bounds/use-bound-registry.js.map +1 -1
  35. package/lib/module/hooks/gestures/use-build-gestures.js +18 -28
  36. package/lib/module/hooks/gestures/use-build-gestures.js.map +1 -1
  37. package/lib/module/integrations/native-stack/views/NativeStackView.native.js.map +1 -1
  38. package/lib/module/utils/animation/start-screen-transition.js +8 -6
  39. package/lib/module/utils/animation/start-screen-transition.js.map +1 -1
  40. package/lib/module/utils/gesture/determine-dismissal.js +7 -55
  41. package/lib/module/utils/gesture/determine-dismissal.js.map +1 -1
  42. package/lib/module/utils/gesture/reset-gesture-values.js +41 -0
  43. package/lib/module/utils/gesture/reset-gesture-values.js.map +1 -0
  44. package/lib/module/utils/gesture/velocity.js +85 -0
  45. package/lib/module/utils/gesture/velocity.js.map +1 -0
  46. package/lib/module/utils/reanimated/version.js +7 -0
  47. package/lib/module/utils/reanimated/version.js.map +1 -0
  48. package/lib/typescript/__configs__/index.d.ts +1 -1
  49. package/lib/typescript/__configs__/presets.d.ts.map +1 -1
  50. package/lib/typescript/__configs__/specs.d.ts.map +1 -1
  51. package/lib/typescript/components/controllers/screen-lifecycle.d.ts.map +1 -1
  52. package/lib/typescript/components/create-transition-aware-component.d.ts +6 -12
  53. package/lib/typescript/components/create-transition-aware-component.d.ts.map +1 -1
  54. package/lib/typescript/hooks/bounds/use-bound-registry.d.ts +1 -5
  55. package/lib/typescript/hooks/bounds/use-bound-registry.d.ts.map +1 -1
  56. package/lib/typescript/hooks/gestures/use-build-gestures.d.ts.map +1 -1
  57. package/lib/typescript/index.d.ts +98 -62
  58. package/lib/typescript/index.d.ts.map +1 -1
  59. package/lib/typescript/utils/animation/start-screen-transition.d.ts +3 -2
  60. package/lib/typescript/utils/animation/start-screen-transition.d.ts.map +1 -1
  61. package/lib/typescript/utils/gesture/determine-dismissal.d.ts +0 -1
  62. package/lib/typescript/utils/gesture/determine-dismissal.d.ts.map +1 -1
  63. package/lib/typescript/utils/gesture/reset-gesture-values.d.ts +16 -0
  64. package/lib/typescript/utils/gesture/reset-gesture-values.d.ts.map +1 -0
  65. package/lib/typescript/utils/gesture/velocity.d.ts +25 -0
  66. package/lib/typescript/utils/gesture/velocity.d.ts.map +1 -0
  67. package/lib/typescript/utils/reanimated/version.d.ts +2 -0
  68. package/lib/typescript/utils/reanimated/version.d.ts.map +1 -0
  69. package/package.json +3 -3
  70. package/src/__configs__/presets.ts +7 -1
  71. package/src/__configs__/specs.ts +1 -0
  72. package/src/components/controllers/screen-lifecycle.tsx +5 -7
  73. package/src/components/create-transition-aware-component.tsx +2 -2
  74. package/src/hooks/bounds/use-bound-registry.tsx +21 -18
  75. package/src/hooks/gestures/use-build-gestures.tsx +20 -15
  76. package/src/integrations/native-stack/views/NativeStackView.native.tsx +1 -1
  77. package/src/utils/animation/start-screen-transition.ts +13 -4
  78. package/src/utils/gesture/determine-dismissal.ts +18 -69
  79. package/src/utils/gesture/reset-gesture-values.ts +48 -0
  80. package/src/utils/gesture/velocity.ts +144 -0
  81. package/src/utils/reanimated/version.ts +5 -0
@@ -1,4 +1,4 @@
1
- import { View } from "react-native";
1
+ import { ScrollView, View } from "react-native";
2
2
  import { createTransitionAwareComponent } from "./components/create-transition-aware-component";
3
3
  import MaskedView from "./components/integrations/masked-view";
4
4
  declare const _default: {
@@ -14,6 +14,8 @@ declare const _default: {
14
14
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
15
15
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
16
16
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
17
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
18
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
17
19
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
18
20
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
19
21
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -85,6 +87,7 @@ declare const _default: {
85
87
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
86
88
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
87
89
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
90
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
88
91
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
89
92
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
90
93
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -94,17 +97,15 @@ declare const _default: {
94
97
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
95
98
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
96
99
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
100
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
97
101
  } & {
98
102
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
99
103
  } & {
100
104
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
101
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
102
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
105
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
106
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
103
107
  } & {
104
- sharedTransitionTag?: string;
105
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
106
- } & {
107
- animatedProps?: Partial<{
108
+ animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
108
109
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
109
110
  pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
110
111
  children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
@@ -116,6 +117,8 @@ declare const _default: {
116
117
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
117
118
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
118
119
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
120
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
121
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
119
122
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
120
123
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
121
124
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -187,6 +190,7 @@ declare const _default: {
187
190
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
188
191
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
189
192
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
193
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
190
194
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
191
195
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
192
196
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -196,16 +200,14 @@ declare const _default: {
196
200
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
197
201
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
198
202
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
203
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
199
204
  } & {
200
205
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
201
206
  } & {
202
207
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
203
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
204
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
205
- } & {
206
- sharedTransitionTag?: string;
207
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
208
- }> | undefined;
208
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
209
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
210
+ }> | import("react-native-reanimated").CSSStyle<import("react-native").ViewProps>> | undefined;
209
211
  } & {
210
212
  styleId?: string;
211
213
  sharedBoundTag?: string;
@@ -225,6 +227,8 @@ declare const _default: {
225
227
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
226
228
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
227
229
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
230
+ onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
231
+ onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
228
232
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
229
233
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
230
234
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -296,6 +300,7 @@ declare const _default: {
296
300
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
297
301
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
298
302
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
303
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
299
304
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
300
305
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
301
306
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -305,9 +310,8 @@ declare const _default: {
305
310
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
306
311
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
307
312
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
313
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
308
314
  disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
309
- onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
310
- onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
311
315
  onHoverIn?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
312
316
  onHoverOut?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
313
317
  onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
@@ -326,13 +330,10 @@ declare const _default: {
326
330
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>)>>;
327
331
  } & {
328
332
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
329
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
330
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
333
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
334
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
331
335
  } & {
332
- sharedTransitionTag?: string;
333
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
334
- } & {
335
- animatedProps?: Partial<{
336
+ animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
336
337
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
337
338
  key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
338
339
  pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
@@ -347,6 +348,8 @@ declare const _default: {
347
348
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
348
349
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
349
350
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
351
+ onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
352
+ onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
350
353
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
351
354
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
352
355
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -418,6 +421,7 @@ declare const _default: {
418
421
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
419
422
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
420
423
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
424
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
421
425
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
422
426
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
423
427
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -427,9 +431,8 @@ declare const _default: {
427
431
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
428
432
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
429
433
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
434
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
430
435
  disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
431
- onBlur?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
432
- onFocus?: ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | null | undefined> | null | undefined;
433
436
  onHoverIn?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
434
437
  onHoverOut?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
435
438
  onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
@@ -448,12 +451,9 @@ declare const _default: {
448
451
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>)>>;
449
452
  } & {
450
453
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
451
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
452
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
453
- } & {
454
- sharedTransitionTag?: string;
455
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
456
- }> | undefined;
454
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
455
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
456
+ }> | import("react-native-reanimated").CSSStyle<import("react-native").PressableProps & import("react").RefAttributes<View>>> | undefined;
457
457
  } & {
458
458
  styleId?: string;
459
459
  sharedBoundTag?: string;
@@ -471,6 +471,8 @@ declare const _default: {
471
471
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
472
472
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
473
473
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
474
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
475
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
474
476
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
475
477
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
476
478
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -542,6 +544,7 @@ declare const _default: {
542
544
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
543
545
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
544
546
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
547
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
545
548
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
546
549
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
547
550
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -551,9 +554,12 @@ declare const _default: {
551
554
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
552
555
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
553
556
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
557
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
554
558
  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;
555
- onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
559
+ onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | import("react-native-reanimated").SharedValue<((contentWidth: number, contentHeight: number) => void) | undefined> | undefined;
556
560
  scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
561
+ innerViewRef?: import("react").RefObject<View> | import("react-native-reanimated").SharedValue<import("react").RefObject<View> | undefined> | undefined;
562
+ scrollViewRef?: import("react").RefObject<ScrollView> | import("react-native-reanimated").SharedValue<import("react").RefObject<ScrollView> | undefined> | undefined;
557
563
  decelerationRate?: number | "normal" | "fast" | import("react-native-reanimated").SharedValue<number | "normal" | "fast" | undefined> | undefined;
558
564
  invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
559
565
  keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
@@ -610,7 +616,13 @@ declare const _default: {
610
616
  scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
611
617
  overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
612
618
  nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
613
- fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
619
+ fadingEdgeLength?: number | {
620
+ start: number;
621
+ end: number;
622
+ } | import("react-native-reanimated").SharedValue<number | {
623
+ start: number;
624
+ end: number;
625
+ } | undefined> | undefined;
614
626
  persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
615
627
  } & {
616
628
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
@@ -618,13 +630,10 @@ declare const _default: {
618
630
  indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "black" | "white" | undefined>>;
619
631
  } & {
620
632
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
621
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
622
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
633
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
634
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
623
635
  } & {
624
- sharedTransitionTag?: string;
625
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
626
- } & {
627
- animatedProps?: Partial<{
636
+ animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
628
637
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
629
638
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
630
639
  pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
@@ -637,6 +646,8 @@ declare const _default: {
637
646
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
638
647
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
639
648
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
649
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
650
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
640
651
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
641
652
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
642
653
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -708,6 +719,7 @@ declare const _default: {
708
719
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
709
720
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
710
721
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
722
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
711
723
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
712
724
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
713
725
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -717,9 +729,12 @@ declare const _default: {
717
729
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
718
730
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
719
731
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
732
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
720
733
  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;
721
- onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
734
+ onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | import("react-native-reanimated").SharedValue<((contentWidth: number, contentHeight: number) => void) | undefined> | undefined;
722
735
  scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
736
+ innerViewRef?: import("react").RefObject<View> | import("react-native-reanimated").SharedValue<import("react").RefObject<View> | undefined> | undefined;
737
+ scrollViewRef?: import("react").RefObject<ScrollView> | import("react-native-reanimated").SharedValue<import("react").RefObject<ScrollView> | undefined> | undefined;
723
738
  decelerationRate?: number | "normal" | "fast" | import("react-native-reanimated").SharedValue<number | "normal" | "fast" | undefined> | undefined;
724
739
  invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
725
740
  keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
@@ -776,7 +791,13 @@ declare const _default: {
776
791
  scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
777
792
  overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
778
793
  nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
779
- fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
794
+ fadingEdgeLength?: number | {
795
+ start: number;
796
+ end: number;
797
+ } | import("react-native-reanimated").SharedValue<number | {
798
+ start: number;
799
+ end: number;
800
+ } | undefined> | undefined;
780
801
  persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
781
802
  } & {
782
803
  style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
@@ -784,12 +805,9 @@ declare const _default: {
784
805
  indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"default" | "black" | "white" | undefined>>;
785
806
  } & {
786
807
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
787
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
788
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
789
- } & {
790
- sharedTransitionTag?: string;
791
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
792
- }> | undefined;
808
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
809
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
810
+ }> | import("react-native-reanimated").CSSStyle<import("react-native").ScrollViewProps>> | undefined;
793
811
  } & {
794
812
  styleId?: string;
795
813
  sharedBoundTag?: string;
@@ -809,6 +827,8 @@ declare const _default: {
809
827
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
810
828
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
811
829
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
830
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
831
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
812
832
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
813
833
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
814
834
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -880,6 +900,7 @@ declare const _default: {
880
900
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
881
901
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
882
902
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
903
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
883
904
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
884
905
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
885
906
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -889,9 +910,12 @@ declare const _default: {
889
910
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
890
911
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
891
912
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
913
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
892
914
  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;
893
- onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
915
+ onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | import("react-native-reanimated").SharedValue<((contentWidth: number, contentHeight: number) => void) | undefined> | undefined;
894
916
  scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
917
+ innerViewRef?: import("react").RefObject<View> | import("react-native-reanimated").SharedValue<import("react").RefObject<View> | undefined> | undefined;
918
+ scrollViewRef?: import("react").RefObject<ScrollView> | import("react-native-reanimated").SharedValue<import("react").RefObject<ScrollView> | undefined> | undefined;
895
919
  decelerationRate?: number | "normal" | "fast" | import("react-native-reanimated").SharedValue<number | "normal" | "fast" | undefined> | undefined;
896
920
  invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
897
921
  keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
@@ -948,7 +972,13 @@ declare const _default: {
948
972
  scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
949
973
  overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
950
974
  nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
951
- fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
975
+ fadingEdgeLength?: number | {
976
+ start: number;
977
+ end: number;
978
+ } | import("react-native-reanimated").SharedValue<number | {
979
+ start: number;
980
+ end: number;
981
+ } | undefined> | undefined;
952
982
  persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
953
983
  extraData?: any | undefined;
954
984
  getItemLayout?: ((data: ArrayLike<unknown> | null | undefined, index: number) => {
@@ -1021,13 +1051,10 @@ declare const _default: {
1021
1051
  ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
1022
1052
  } & {
1023
1053
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
1024
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
1025
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
1054
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
1055
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
1026
1056
  } & {
1027
- sharedTransitionTag?: string;
1028
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
1029
- } & {
1030
- animatedProps?: Partial<{
1057
+ animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
1031
1058
  id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1032
1059
  horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
1033
1060
  pointerEvents?: "none" | "auto" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
@@ -1042,6 +1069,8 @@ declare const _default: {
1042
1069
  nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1043
1070
  collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1044
1071
  collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1072
+ onBlur?: ((e: import("react-native").BlurEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").BlurEvent) => void) | null | undefined> | null | undefined;
1073
+ onFocus?: ((e: import("react-native").FocusEvent) => void) | import("react-native-reanimated").SharedValue<((e: import("react-native").FocusEvent) => void) | null | undefined> | null | undefined;
1045
1074
  renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1046
1075
  focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1047
1076
  tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
@@ -1113,6 +1142,7 @@ declare const _default: {
1113
1142
  'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1114
1143
  accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
1115
1144
  'aria-live'?: "polite" | "assertive" | "off" | import("react-native-reanimated").SharedValue<"polite" | "assertive" | "off" | undefined> | undefined;
1145
+ screenReaderFocusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1116
1146
  accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1117
1147
  accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1118
1148
  onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
@@ -1122,9 +1152,12 @@ declare const _default: {
1122
1152
  accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1123
1153
  accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1124
1154
  accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1155
+ accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1125
1156
  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;
1126
- onContentSizeChange?: ((w: number, h: number) => void) | import("react-native-reanimated").SharedValue<((w: number, h: number) => void) | undefined> | undefined;
1157
+ onContentSizeChange?: ((contentWidth: number, contentHeight: number) => void) | import("react-native-reanimated").SharedValue<((contentWidth: number, contentHeight: number) => void) | undefined> | undefined;
1127
1158
  scrollEventThrottle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
1159
+ innerViewRef?: import("react").RefObject<View> | import("react-native-reanimated").SharedValue<import("react").RefObject<View> | undefined> | undefined;
1160
+ scrollViewRef?: import("react").RefObject<ScrollView> | import("react-native-reanimated").SharedValue<import("react").RefObject<ScrollView> | undefined> | undefined;
1128
1161
  decelerationRate?: number | "normal" | "fast" | import("react-native-reanimated").SharedValue<number | "normal" | "fast" | undefined> | undefined;
1129
1162
  invertStickyHeaders?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1130
1163
  keyboardDismissMode?: "none" | "interactive" | "on-drag" | import("react-native-reanimated").SharedValue<"none" | "interactive" | "on-drag" | undefined> | undefined;
@@ -1181,7 +1214,13 @@ declare const _default: {
1181
1214
  scrollPerfTag?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
1182
1215
  overScrollMode?: "auto" | "always" | "never" | import("react-native-reanimated").SharedValue<"auto" | "always" | "never" | undefined> | undefined;
1183
1216
  nestedScrollEnabled?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1184
- fadingEdgeLength?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
1217
+ fadingEdgeLength?: number | {
1218
+ start: number;
1219
+ end: number;
1220
+ } | import("react-native-reanimated").SharedValue<number | {
1221
+ start: number;
1222
+ end: number;
1223
+ } | undefined> | undefined;
1185
1224
  persistentScrollbar?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
1186
1225
  extraData?: any | undefined;
1187
1226
  getItemLayout?: ((data: ArrayLike<unknown> | null | undefined, index: number) => {
@@ -1254,12 +1293,9 @@ declare const _default: {
1254
1293
  ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
1255
1294
  } & {
1256
1295
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
1257
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
1258
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
1259
- } & {
1260
- sharedTransitionTag?: string;
1261
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
1262
- }> | undefined;
1296
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
1297
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
1298
+ }> | import("react-native-reanimated").CSSStyle<import("react-native").FlatListProps<unknown>>> | undefined;
1263
1299
  } & {
1264
1300
  styleId?: string;
1265
1301
  sharedBoundTag?: string;
@@ -1278,7 +1314,7 @@ declare const _default: {
1278
1314
  SharedXImage: (config?: Partial<import("./types/navigator").ScreenTransitionConfig>) => import("./types/navigator").ScreenTransitionConfig;
1279
1315
  };
1280
1316
  specs: {
1281
- DefaultSpec: import("react-native-reanimated/lib/typescript/animation/springUtils").SpringConfig;
1317
+ DefaultSpec: import("react-native-reanimated/lib/typescript/animation/spring").SpringConfig;
1282
1318
  };
1283
1319
  createTransitionAwareComponent: typeof createTransitionAwareComponent;
1284
1320
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,IAAI,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+Bs1D,CAAC;;;;;;;;;;;AA7Bt5D,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAE/G,YAAY,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,GACtB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+Bs1D,CAAC;;;;;;;;;;;AA7Bt5D,wBAaE;AAEF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAE/G,YAAY,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,GACtB,MAAM,mBAAmB,CAAC"}
@@ -5,8 +5,9 @@ interface StartScreenTransitionProps {
5
5
  spec?: TransitionSpec;
6
6
  onAnimationFinish?: (finished: boolean) => void;
7
7
  animations: AnimationMap;
8
- velocity?: number;
8
+ /** Optional initial velocity for spring-based progress (units: progress/sec). */
9
+ initialVelocity?: number;
9
10
  }
10
- export declare const startScreenTransition: ({ target, spec, onAnimationFinish, animations, velocity, }: StartScreenTransitionProps) => void;
11
+ export declare const startScreenTransition: ({ target, spec, onAnimationFinish, animations, initialVelocity, }: StartScreenTransitionProps) => void;
11
12
  export {};
12
13
  //# sourceMappingURL=start-screen-transition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-screen-transition.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/start-screen-transition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,UAAU,0BAA0B;IACnC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,YAAY,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,qBAAqB,GAAI,4DAMnC,0BAA0B,SAgC5B,CAAC"}
1
+ {"version":3,"file":"start-screen-transition.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/start-screen-transition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,UAAU,0BAA0B;IACnC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,YAAY,CAAC;IACzB,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,GAAI,mEAMnC,0BAA0B,SAwC5B,CAAC"}
@@ -19,7 +19,6 @@ interface DetermineDismissalProps {
19
19
  }
20
20
  export declare const determineDismissal: ({ event, directions, dimensions, gestureVelocityImpact, }: DetermineDismissalProps) => {
21
21
  shouldDismiss: boolean;
22
- velocity: number;
23
22
  };
24
23
  export {};
25
24
  //# sourceMappingURL=determine-dismissal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"determine-dismissal.d.ts","sourceRoot":"","sources":["../../../../src/utils/gesture/determine-dismissal.ts"],"names":[],"mappings":"AAOA,UAAU,uBAAuB;IAChC,KAAK,EAAE;QACN,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACX,QAAQ,EAAE,OAAO,CAAC;QAClB,gBAAgB,EAAE,OAAO,CAAC;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,kBAAkB,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,qBAAqB,EAAE,MAAM,CAAC;CAC9B;AAuCD,eAAO,MAAM,kBAAkB,GAAI,2DAKhC,uBAAuB;;;CAgEzB,CAAC"}
1
+ {"version":3,"file":"determine-dismissal.d.ts","sourceRoot":"","sources":["../../../../src/utils/gesture/determine-dismissal.ts"],"names":[],"mappings":"AAOA,UAAU,uBAAuB;IAChC,KAAK,EAAE;QACN,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACX,QAAQ,EAAE,OAAO,CAAC;QAClB,gBAAgB,EAAE,OAAO,CAAC;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,kBAAkB,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,qBAAqB,EAAE,MAAM,CAAC;CAC9B;AAmBD,eAAO,MAAM,kBAAkB,GAAI,2DAKhC,uBAAuB;;CAiCzB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { GestureStateChangeEvent, PanGestureHandlerEventPayload } from "react-native-gesture-handler";
2
+ import type { GestureMap } from "../../stores/gestures";
3
+ import type { AnimationConfig } from "../../types/animation";
4
+ interface ResetGestureValuesProps {
5
+ spec?: AnimationConfig;
6
+ gestures: GestureMap;
7
+ shouldDismiss: boolean;
8
+ event: GestureStateChangeEvent<PanGestureHandlerEventPayload>;
9
+ dimensions: {
10
+ width: number;
11
+ height: number;
12
+ };
13
+ }
14
+ export declare const resetGestureValues: ({ spec, gestures, shouldDismiss, event, dimensions, }: ResetGestureValuesProps) => void;
15
+ export {};
16
+ //# sourceMappingURL=reset-gesture-values.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-gesture-values.d.ts","sourceRoot":"","sources":["../../../../src/utils/gesture/reset-gesture-values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,6BAA6B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAI7D,UAAU,uBAAuB;IAChC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,CAAC;IAC9D,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9C;AAED,eAAO,MAAM,kBAAkB,GAAI,uDAMhC,uBAAuB,SAwBzB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { GestureStateChangeEvent, PanGestureHandlerEventPayload } from "react-native-gesture-handler";
2
+ import type { AnimationMap } from "../../stores/animations";
3
+ interface CalculateProgressProps {
4
+ animations: AnimationMap;
5
+ shouldDismiss: boolean;
6
+ event: GestureStateChangeEvent<PanGestureHandlerEventPayload>;
7
+ dimensions: {
8
+ width: number;
9
+ height: number;
10
+ };
11
+ directions: {
12
+ horizontal: boolean;
13
+ horizontalInverted: boolean;
14
+ vertical: boolean;
15
+ verticalInverted: boolean;
16
+ };
17
+ }
18
+ export declare const velocity: {
19
+ normalize: (velocityPixelsPerSecond: number, screenSize: number) => number;
20
+ calculateRestoreVelocity: (currentValueNormalized: number, baseVelocityNormalized: number, threshold?: number) => number;
21
+ calculateProgressVelocity: ({ animations, shouldDismiss, event, dimensions, directions, }: CalculateProgressProps) => number;
22
+ shouldPassDismissalThreshold: (translationPixels: number, velocityPixelsPerSecond: number, screenSize: number, velocityWeight: number) => boolean;
23
+ };
24
+ export {};
25
+ //# sourceMappingURL=velocity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"velocity.d.ts","sourceRoot":"","sources":["../../../../src/utils/gesture/velocity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,6BAA6B,EAC7B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,UAAU,sBAAsB;IAC/B,UAAU,EAAE,YAAY,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,CAAC;IAC9D,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,UAAU,EAAE;QACX,UAAU,EAAE,OAAO,CAAC;QACpB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,QAAQ,EAAE,OAAO,CAAC;QAClB,gBAAgB,EAAE,OAAO,CAAC;KAC1B,CAAC;CACF;AAwHD,eAAO,MAAM,QAAQ;yCA/GuB,MAAM,cAAc,MAAM;uDAc7C,MAAM,0BACN,MAAM,cACnB,MAAM;+FAkBf,sBAAsB;sDAyDL,MAAM,2BACA,MAAM,cACnB,MAAM,kBACF,MAAM;CAsBtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const isReanimated4: () => boolean;
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../src/utils/reanimated/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,eAEzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screen-transitions",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "Easy screen transitions for React Native and Expo",
5
5
  "author": "Ed",
6
6
  "license": "MIT",
@@ -41,13 +41,13 @@
41
41
  "react": "*",
42
42
  "react-native": "*",
43
43
  "react-native-gesture-handler": ">=2.16.1",
44
- "react-native-reanimated": ">=3.16.0",
44
+ "react-native-reanimated": ">=3.16.0 || >=4.0.0-",
45
45
  "react-native-safe-area-context": "*",
46
46
  "react-native-screens": ">=4.4.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@testing-library/react-native": "^13.2.0",
50
- "@types/react": "~19.0.10",
50
+ "@types/react": "~19.1.10",
51
51
  "react-native-builder-bob": "0.39.0",
52
52
  "typescript": "catalog:"
53
53
  },