@tamagui/react-native-web-lite 2.0.0-rc.9 → 2.0.0

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 (1041) hide show
  1. package/dist/cjs/AccessibilityInfo/index.cjs +77 -65
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +70 -49
  3. package/dist/cjs/ActivityIndicator/index.cjs +110 -108
  4. package/dist/cjs/Alert/index.cjs +12 -10
  5. package/dist/cjs/AppRegistry/AppContainer.cjs +50 -45
  6. package/dist/cjs/AppRegistry/__tests__/index-test.cjs +32 -18
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +47 -40
  8. package/dist/cjs/AppRegistry/index.cjs +38 -26
  9. package/dist/cjs/AppRegistry/renderApplication.cjs +44 -39
  10. package/dist/cjs/AppState/__tests__/index-test.cjs +13 -9
  11. package/dist/cjs/AppState/index.cjs +41 -25
  12. package/dist/cjs/Appearance/index.cjs +38 -27
  13. package/dist/cjs/BackHandler/index.cjs +12 -10
  14. package/dist/cjs/Clipboard/index.cjs +30 -17
  15. package/dist/cjs/DeviceEmitter.cjs +12 -10
  16. package/dist/cjs/DeviceInfo/index.cjs +21 -13
  17. package/dist/cjs/Dimensions/__tests__/index-test.cjs +29 -16
  18. package/dist/cjs/Dimensions/index.cjs +63 -33
  19. package/dist/cjs/FlatList.cjs +139 -95
  20. package/dist/cjs/I18nManager/index.cjs +19 -13
  21. package/dist/cjs/Image/index.cjs +209 -147
  22. package/dist/cjs/Image/types.cjs +7 -5
  23. package/dist/cjs/ImageBackground/__tests__/index-test.cjs +33 -29
  24. package/dist/cjs/ImageBackground/index.cjs +49 -47
  25. package/dist/cjs/InteractionManager/TaskQueue.cjs +49 -25
  26. package/dist/cjs/InteractionManager/index.cjs +115 -88
  27. package/dist/cjs/Keyboard/index.cjs +12 -10
  28. package/dist/cjs/KeyboardAvoidingView/index.cjs +30 -26
  29. package/dist/cjs/Libraries/Pressability/Pressability.cjs +28 -0
  30. package/dist/cjs/Libraries/Pressability/usePressability.cjs +28 -0
  31. package/dist/cjs/Linking/__tests__/index-test.cjs +31 -15
  32. package/dist/cjs/Linking/index.cjs +37 -23
  33. package/dist/cjs/LogBox/index.cjs +12 -10
  34. package/dist/cjs/Modal/ModalAnimation.cjs +141 -114
  35. package/dist/cjs/Modal/ModalContent.cjs +39 -29
  36. package/dist/cjs/Modal/ModalPortal.cjs +44 -33
  37. package/dist/cjs/Modal/index.cjs +12 -10
  38. package/dist/cjs/NativeModules/index.cjs +12 -10
  39. package/dist/cjs/PanResponder/index.cjs +24 -22
  40. package/dist/cjs/PixelRatio/index.cjs +12 -10
  41. package/dist/cjs/Pressable/index.cjs +128 -100
  42. package/dist/cjs/RefreshControl/index.cjs +14 -12
  43. package/dist/cjs/SafeAreaView/index.cjs +44 -37
  44. package/dist/cjs/ScrollView/ScrollViewBase.cjs +111 -87
  45. package/dist/cjs/ScrollView/index.cjs +255 -174
  46. package/dist/cjs/SectionList.cjs +26 -24
  47. package/dist/cjs/Share/index.cjs +25 -15
  48. package/dist/cjs/StatusBar/index.cjs +12 -10
  49. package/dist/cjs/Text/index.cjs +171 -144
  50. package/dist/cjs/Text/types.cjs +7 -5
  51. package/dist/cjs/TextInput/index.cjs +252 -141
  52. package/dist/cjs/TextInput/types.cjs +7 -5
  53. package/dist/cjs/TouchableNativeFeedback.cjs +12 -10
  54. package/dist/cjs/TouchableOpacity.cjs +91 -82
  55. package/dist/cjs/TouchableWithoutFeedback.cjs +73 -69
  56. package/dist/cjs/UnimplementedView.cjs +31 -26
  57. package/dist/cjs/Vibration/index.cjs +23 -19
  58. package/dist/cjs/View/index.cjs +106 -85
  59. package/dist/cjs/View/types.cjs +7 -5
  60. package/dist/cjs/VirtualizedList.cjs +26 -24
  61. package/dist/cjs/codegenNativeCommand.cjs +14 -11
  62. package/dist/cjs/codegenNativeComponent.cjs +14 -11
  63. package/dist/cjs/createElement/__tests__/index-test.cjs +162 -99
  64. package/dist/cjs/createElement/index.cjs +78 -68
  65. package/dist/cjs/createReactDOMStyle.cjs +16 -12
  66. package/dist/cjs/index.cjs +78 -76
  67. package/dist/cjs/modules/requestIdleCallback.cjs +28 -26
  68. package/dist/cjs/preprocess.cjs +13 -10
  69. package/dist/cjs/render/index.cjs +12 -10
  70. package/dist/cjs/styleTypes.cjs +7 -5
  71. package/dist/cjs/types.cjs +7 -5
  72. package/dist/cjs/useColorScheme/index.cjs +29 -26
  73. package/dist/cjs/useLocaleContext/index.cjs +12 -10
  74. package/dist/cjs/useWindowDimensions/index.cjs +35 -28
  75. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +31 -29
  76. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +97 -45
  77. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +545 -466
  78. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +106 -99
  79. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +27 -15
  80. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +303 -215
  81. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +58 -56
  82. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +55 -53
  83. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +22 -14
  84. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +22 -14
  85. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +45 -21
  86. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +116 -44
  87. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +77 -32
  88. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +68 -27
  89. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +33 -31
  90. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +26 -13
  91. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +33 -31
  92. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +33 -31
  93. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +14 -12
  94. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +14 -12
  95. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +40 -37
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +26 -17
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +148 -65
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +28 -18
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +42 -22
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +122 -47
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +21 -15
  102. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +26 -17
  103. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +70 -27
  104. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +73 -32
  105. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +60 -28
  106. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +26 -17
  107. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +36 -19
  108. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +57 -32
  109. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +108 -39
  110. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +53 -30
  111. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +44 -18
  112. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +63 -43
  113. package/dist/cjs/vendor/react-native/Batchinator/index.cjs +27 -15
  114. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +28 -16
  115. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +12 -10
  116. package/dist/cjs/vendor/react-native/FeatureFlags.cjs +18 -16
  117. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +92 -42
  118. package/dist/cjs/vendor/react-native/FlatList/index.cjs +166 -105
  119. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +39 -24
  120. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +75 -71
  121. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +181 -118
  122. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +44 -30
  123. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +17 -15
  124. package/dist/cjs/vendor/react-native/SectionList/index.cjs +63 -39
  125. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +25 -23
  126. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +24 -22
  127. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +48 -29
  128. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -15
  129. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +14 -11
  130. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +127 -125
  131. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +12 -10
  132. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +19 -11
  133. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +19 -12
  134. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +21 -11
  135. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +19 -11
  136. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +92 -51
  137. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +91 -50
  138. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +96 -58
  139. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +75 -44
  140. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +36 -17
  141. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +51 -41
  142. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +87 -78
  143. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +36 -32
  144. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +19 -17
  145. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +147 -101
  146. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +93 -58
  147. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +49 -19
  148. package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +12 -10
  149. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +16 -11
  150. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +31 -20
  151. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +12 -10
  152. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +31 -17
  153. package/dist/cjs/vendor/react-native/infoLog/index.cjs +12 -10
  154. package/dist/cjs/vendor/react-native/useRefEffect.cjs +19 -11
  155. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +37 -22
  156. package/dist/cjs/without-animated.cjs +167 -150
  157. package/dist/esm/AccessibilityInfo/index.mjs +65 -55
  158. package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
  159. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +56 -37
  160. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -1
  161. package/dist/esm/ActivityIndicator/index.mjs +82 -82
  162. package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
  163. package/dist/esm/AppRegistry/AppContainer.mjs +22 -19
  164. package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
  165. package/dist/esm/AppRegistry/__tests__/index-test.mjs +22 -10
  166. package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -1
  167. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +35 -30
  168. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -1
  169. package/dist/esm/AppRegistry/index.mjs +23 -13
  170. package/dist/esm/AppRegistry/index.mjs.map +1 -1
  171. package/dist/esm/AppRegistry/renderApplication.mjs +27 -24
  172. package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
  173. package/dist/esm/AppState/__tests__/index-test.mjs +5 -3
  174. package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -1
  175. package/dist/esm/AppState/index.mjs +29 -15
  176. package/dist/esm/AppState/index.mjs.map +1 -1
  177. package/dist/esm/Appearance/index.mjs +26 -17
  178. package/dist/esm/Appearance/index.mjs.map +1 -1
  179. package/dist/esm/Clipboard/index.mjs +18 -7
  180. package/dist/esm/Clipboard/index.mjs.map +1 -1
  181. package/dist/esm/DeviceInfo/index.mjs +7 -1
  182. package/dist/esm/DeviceInfo/index.mjs.map +1 -1
  183. package/dist/esm/Dimensions/__tests__/index-test.mjs +21 -10
  184. package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -1
  185. package/dist/esm/Dimensions/index.mjs +51 -23
  186. package/dist/esm/Dimensions/index.mjs.map +1 -1
  187. package/dist/esm/FlatList.mjs +111 -69
  188. package/dist/esm/FlatList.mjs.map +1 -1
  189. package/dist/esm/I18nManager/index.mjs +7 -3
  190. package/dist/esm/I18nManager/index.mjs.map +1 -1
  191. package/dist/esm/Image/index.mjs +178 -118
  192. package/dist/esm/Image/index.mjs.map +1 -1
  193. package/dist/esm/ImageBackground/__tests__/index-test.mjs +22 -20
  194. package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -1
  195. package/dist/esm/ImageBackground/index.mjs +32 -32
  196. package/dist/esm/ImageBackground/index.mjs.map +1 -1
  197. package/dist/esm/InteractionManager/TaskQueue.mjs +37 -15
  198. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
  199. package/dist/esm/InteractionManager/index.mjs +87 -62
  200. package/dist/esm/InteractionManager/index.mjs.map +1 -1
  201. package/dist/esm/KeyboardAvoidingView/index.mjs +3 -1
  202. package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
  203. package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
  204. package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
  205. package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
  206. package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
  207. package/dist/esm/Linking/__tests__/index-test.mjs +23 -9
  208. package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -1
  209. package/dist/esm/Linking/index.mjs +25 -13
  210. package/dist/esm/Linking/index.mjs.map +1 -1
  211. package/dist/esm/Modal/ModalAnimation.mjs +113 -88
  212. package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
  213. package/dist/esm/Modal/ModalContent.mjs +13 -5
  214. package/dist/esm/Modal/ModalContent.mjs.map +1 -1
  215. package/dist/esm/Modal/ModalPortal.mjs +17 -8
  216. package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
  217. package/dist/esm/Pressable/index.mjs +97 -71
  218. package/dist/esm/Pressable/index.mjs.map +1 -1
  219. package/dist/esm/SafeAreaView/index.mjs +16 -11
  220. package/dist/esm/SafeAreaView/index.mjs.map +1 -1
  221. package/dist/esm/ScrollView/ScrollViewBase.mjs +83 -61
  222. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
  223. package/dist/esm/ScrollView/index.mjs +225 -146
  224. package/dist/esm/ScrollView/index.mjs.map +1 -1
  225. package/dist/esm/SectionList.mjs +2 -2
  226. package/dist/esm/Share/index.mjs +13 -5
  227. package/dist/esm/Share/index.mjs.map +1 -1
  228. package/dist/esm/Text/index.mjs +143 -118
  229. package/dist/esm/Text/index.mjs.map +1 -1
  230. package/dist/esm/TextInput/index.mjs +224 -115
  231. package/dist/esm/TextInput/index.mjs.map +1 -1
  232. package/dist/esm/TouchableOpacity.mjs +63 -56
  233. package/dist/esm/TouchableOpacity.mjs.map +1 -1
  234. package/dist/esm/TouchableWithoutFeedback.mjs +46 -44
  235. package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
  236. package/dist/esm/UnimplementedView.mjs +4 -1
  237. package/dist/esm/UnimplementedView.mjs.map +1 -1
  238. package/dist/esm/Vibration/index.mjs +11 -9
  239. package/dist/esm/Vibration/index.mjs.map +1 -1
  240. package/dist/esm/View/index.mjs +79 -60
  241. package/dist/esm/View/index.mjs.map +1 -1
  242. package/dist/esm/VirtualizedList.mjs +2 -2
  243. package/dist/esm/codegenNativeCommand.mjs +2 -1
  244. package/dist/esm/codegenNativeCommand.mjs.map +1 -1
  245. package/dist/esm/codegenNativeComponent.mjs +2 -1
  246. package/dist/esm/codegenNativeComponent.mjs.map +1 -1
  247. package/dist/esm/createElement/__tests__/index-test.mjs +151 -90
  248. package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -1
  249. package/dist/esm/createElement/index.mjs +49 -41
  250. package/dist/esm/createElement/index.mjs.map +1 -1
  251. package/dist/esm/createReactDOMStyle.mjs +2 -1
  252. package/dist/esm/createReactDOMStyle.mjs.map +1 -1
  253. package/dist/esm/index.js +52 -158
  254. package/dist/esm/index.js.map +1 -6
  255. package/dist/esm/index.mjs +4 -4
  256. package/dist/esm/index.mjs.map +1 -1
  257. package/dist/esm/modules/requestIdleCallback.mjs +16 -16
  258. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
  259. package/dist/esm/preprocess.mjs +2 -2
  260. package/dist/esm/preprocess.mjs.map +1 -1
  261. package/dist/esm/useColorScheme/index.mjs +3 -2
  262. package/dist/esm/useColorScheme/index.mjs.map +1 -1
  263. package/dist/esm/useWindowDimensions/index.mjs +9 -4
  264. package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
  265. package/dist/esm/vendor/react-native/Animated/Animated.mjs +10 -10
  266. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
  267. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +81 -31
  268. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
  269. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +519 -442
  270. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
  271. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +86 -81
  272. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
  273. package/dist/esm/vendor/react-native/Animated/Easing.mjs +15 -5
  274. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
  275. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +284 -198
  276. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
  277. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +34 -34
  278. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
  279. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +31 -31
  280. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
  281. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +10 -4
  282. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
  283. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +10 -4
  284. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
  285. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +31 -9
  286. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
  287. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +100 -30
  288. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
  289. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +62 -19
  290. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
  291. package/dist/esm/vendor/react-native/Animated/bezier.mjs +56 -17
  292. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
  293. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +5 -5
  294. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
  295. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +2 -2
  296. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
  297. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +6 -6
  298. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
  299. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +5 -5
  300. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -1
  301. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -1
  302. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -1
  303. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +12 -11
  304. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
  305. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +11 -4
  306. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
  307. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +132 -51
  308. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
  309. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +14 -6
  310. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
  311. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +26 -8
  312. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
  313. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +107 -34
  314. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
  315. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +7 -3
  316. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
  317. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +11 -4
  318. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
  319. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +56 -15
  320. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
  321. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +56 -17
  322. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
  323. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +43 -13
  324. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
  325. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +11 -4
  326. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
  327. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +22 -7
  328. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
  329. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +42 -19
  330. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
  331. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +92 -25
  332. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
  333. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +38 -17
  334. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
  335. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +30 -6
  336. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
  337. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +45 -27
  338. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
  339. package/dist/esm/vendor/react-native/Batchinator/index.mjs +15 -5
  340. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
  341. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +14 -4
  342. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
  343. package/dist/esm/vendor/react-native/FeatureFlags.mjs +6 -6
  344. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +80 -32
  345. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
  346. package/dist/esm/vendor/react-native/FlatList/index.mjs +137 -78
  347. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
  348. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +28 -15
  349. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
  350. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +61 -59
  351. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
  352. package/dist/esm/vendor/react-native/PanResponder/index.mjs +155 -94
  353. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
  354. package/dist/esm/vendor/react-native/PooledClass/index.mjs +32 -20
  355. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
  356. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +5 -5
  357. package/dist/esm/vendor/react-native/SectionList/index.mjs +37 -15
  358. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
  359. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +1 -1
  360. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
  361. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +36 -19
  362. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
  363. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +5 -5
  364. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
  365. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +2 -1
  366. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
  367. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +115 -115
  368. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
  369. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +7 -1
  370. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
  371. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +7 -2
  372. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
  373. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +9 -1
  374. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
  375. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +7 -1
  376. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
  377. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +80 -41
  378. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
  379. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +79 -40
  380. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
  381. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +84 -48
  382. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
  383. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +63 -34
  384. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
  385. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +24 -7
  386. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
  387. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +25 -17
  388. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
  389. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +59 -52
  390. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
  391. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +9 -7
  392. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
  393. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +7 -7
  394. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +128 -84
  395. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
  396. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +67 -34
  397. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
  398. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +37 -9
  399. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
  400. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +4 -1
  401. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
  402. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +16 -7
  403. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
  404. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +19 -7
  405. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
  406. package/dist/esm/vendor/react-native/useRefEffect.mjs +7 -1
  407. package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
  408. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +25 -12
  409. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
  410. package/dist/esm/without-animated.mjs +86 -71
  411. package/dist/esm/without-animated.mjs.map +1 -1
  412. package/package.json +34 -8
  413. package/src/Libraries/Pressability/Pressability.ts +2 -0
  414. package/src/Libraries/Pressability/usePressability.ts +2 -0
  415. package/src/ScrollView/ScrollViewBase.tsx +7 -7
  416. package/src/ScrollView/index.tsx +0 -2
  417. package/src/createReactDOMStyle.ts +4 -1
  418. package/src/preprocess.ts +1 -0
  419. package/src/vendor/react-native/Animated/AnimatedImplementation.js +7 -7
  420. package/dist/cjs/AccessibilityInfo/index.js +0 -95
  421. package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
  422. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
  423. package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
  424. package/dist/cjs/ActivityIndicator/index.js +0 -109
  425. package/dist/cjs/ActivityIndicator/index.js.map +0 -6
  426. package/dist/cjs/Alert/index.js +0 -24
  427. package/dist/cjs/Alert/index.js.map +0 -6
  428. package/dist/cjs/AppRegistry/AppContainer.js +0 -41
  429. package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
  430. package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
  431. package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
  432. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
  433. package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
  434. package/dist/cjs/AppRegistry/index.js +0 -90
  435. package/dist/cjs/AppRegistry/index.js.map +0 -6
  436. package/dist/cjs/AppRegistry/renderApplication.js +0 -43
  437. package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
  438. package/dist/cjs/AppState/__tests__/index-test.js +0 -33
  439. package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
  440. package/dist/cjs/AppState/index.js +0 -71
  441. package/dist/cjs/AppState/index.js.map +0 -6
  442. package/dist/cjs/Appearance/index.js +0 -40
  443. package/dist/cjs/Appearance/index.js.map +0 -6
  444. package/dist/cjs/BackHandler/index.js +0 -31
  445. package/dist/cjs/BackHandler/index.js.map +0 -6
  446. package/dist/cjs/Clipboard/index.js +0 -47
  447. package/dist/cjs/Clipboard/index.js.map +0 -6
  448. package/dist/cjs/DeviceEmitter.js +0 -22
  449. package/dist/cjs/DeviceEmitter.js.map +0 -6
  450. package/dist/cjs/DeviceInfo/index.js +0 -53
  451. package/dist/cjs/DeviceInfo/index.js.map +0 -6
  452. package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
  453. package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
  454. package/dist/cjs/Dimensions/index.js +0 -76
  455. package/dist/cjs/Dimensions/index.js.map +0 -6
  456. package/dist/cjs/FlatList.js +0 -194
  457. package/dist/cjs/FlatList.js.map +0 -6
  458. package/dist/cjs/I18nManager/index.js +0 -29
  459. package/dist/cjs/I18nManager/index.js.map +0 -6
  460. package/dist/cjs/Image/index.js +0 -254
  461. package/dist/cjs/Image/index.js.map +0 -6
  462. package/dist/cjs/Image/types.js +0 -14
  463. package/dist/cjs/Image/types.js.map +0 -6
  464. package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
  465. package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
  466. package/dist/cjs/ImageBackground/index.js +0 -55
  467. package/dist/cjs/ImageBackground/index.js.map +0 -6
  468. package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
  469. package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
  470. package/dist/cjs/InteractionManager/index.js +0 -94
  471. package/dist/cjs/InteractionManager/index.js.map +0 -6
  472. package/dist/cjs/Keyboard/index.js +0 -34
  473. package/dist/cjs/Keyboard/index.js.map +0 -6
  474. package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
  475. package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
  476. package/dist/cjs/Linking/__tests__/index-test.js +0 -38
  477. package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
  478. package/dist/cjs/Linking/index.js +0 -85
  479. package/dist/cjs/Linking/index.js.map +0 -6
  480. package/dist/cjs/LogBox/index.js +0 -32
  481. package/dist/cjs/LogBox/index.js.map +0 -6
  482. package/dist/cjs/Modal/ModalAnimation.js +0 -137
  483. package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
  484. package/dist/cjs/Modal/ModalContent.js +0 -77
  485. package/dist/cjs/Modal/ModalContent.js.map +0 -6
  486. package/dist/cjs/Modal/ModalPortal.js +0 -42
  487. package/dist/cjs/Modal/ModalPortal.js.map +0 -6
  488. package/dist/cjs/Modal/index.js +0 -21
  489. package/dist/cjs/Modal/index.js.map +0 -6
  490. package/dist/cjs/NativeModules/index.js +0 -24
  491. package/dist/cjs/NativeModules/index.js.map +0 -6
  492. package/dist/cjs/PanResponder/index.js +0 -29
  493. package/dist/cjs/PanResponder/index.js.map +0 -6
  494. package/dist/cjs/PixelRatio/index.js +0 -52
  495. package/dist/cjs/PixelRatio/index.js.map +0 -6
  496. package/dist/cjs/Pressable/index.js +0 -141
  497. package/dist/cjs/Pressable/index.js.map +0 -6
  498. package/dist/cjs/RefreshControl/index.js +0 -41
  499. package/dist/cjs/RefreshControl/index.js.map +0 -6
  500. package/dist/cjs/SafeAreaView/index.js +0 -44
  501. package/dist/cjs/SafeAreaView/index.js.map +0 -6
  502. package/dist/cjs/ScrollView/ScrollViewBase.js +0 -130
  503. package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
  504. package/dist/cjs/ScrollView/index.js +0 -558
  505. package/dist/cjs/ScrollView/index.js.map +0 -6
  506. package/dist/cjs/SectionList.js +0 -30
  507. package/dist/cjs/SectionList.js.map +0 -6
  508. package/dist/cjs/Share/index.js +0 -55
  509. package/dist/cjs/Share/index.js.map +0 -6
  510. package/dist/cjs/StatusBar/index.js +0 -32
  511. package/dist/cjs/StatusBar/index.js.map +0 -6
  512. package/dist/cjs/Text/index.js +0 -153
  513. package/dist/cjs/Text/index.js.map +0 -6
  514. package/dist/cjs/Text/types.js +0 -14
  515. package/dist/cjs/Text/types.js.map +0 -6
  516. package/dist/cjs/TextInput/index.js +0 -269
  517. package/dist/cjs/TextInput/index.js.map +0 -6
  518. package/dist/cjs/TextInput/types.js +0 -14
  519. package/dist/cjs/TextInput/types.js.map +0 -6
  520. package/dist/cjs/TouchableNativeFeedback.js +0 -21
  521. package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
  522. package/dist/cjs/TouchableOpacity.js +0 -122
  523. package/dist/cjs/TouchableOpacity.js.map +0 -6
  524. package/dist/cjs/TouchableWithoutFeedback.js +0 -89
  525. package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
  526. package/dist/cjs/UnimplementedView.js +0 -36
  527. package/dist/cjs/UnimplementedView.js.map +0 -6
  528. package/dist/cjs/Vibration/index.js +0 -30
  529. package/dist/cjs/Vibration/index.js.map +0 -6
  530. package/dist/cjs/View/index.js +0 -102
  531. package/dist/cjs/View/index.js.map +0 -6
  532. package/dist/cjs/View/types.js +0 -14
  533. package/dist/cjs/View/types.js.map +0 -6
  534. package/dist/cjs/VirtualizedList.js +0 -30
  535. package/dist/cjs/VirtualizedList.js.map +0 -6
  536. package/dist/cjs/codegenNativeCommand.js +0 -23
  537. package/dist/cjs/codegenNativeCommand.js.map +0 -6
  538. package/dist/cjs/codegenNativeComponent.js +0 -23
  539. package/dist/cjs/codegenNativeComponent.js.map +0 -6
  540. package/dist/cjs/createElement/__tests__/index-test.js +0 -536
  541. package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
  542. package/dist/cjs/createElement/index.js +0 -60
  543. package/dist/cjs/createElement/index.js.map +0 -6
  544. package/dist/cjs/createReactDOMStyle.js +0 -21
  545. package/dist/cjs/createReactDOMStyle.js.map +0 -6
  546. package/dist/cjs/index.js +0 -114
  547. package/dist/cjs/index.js.map +0 -6
  548. package/dist/cjs/modules/requestIdleCallback.js +0 -34
  549. package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
  550. package/dist/cjs/preprocess.js +0 -24
  551. package/dist/cjs/preprocess.js.map +0 -6
  552. package/dist/cjs/render/index.js +0 -31
  553. package/dist/cjs/render/index.js.map +0 -6
  554. package/dist/cjs/styleTypes.js +0 -14
  555. package/dist/cjs/styleTypes.js.map +0 -6
  556. package/dist/cjs/types.js +0 -14
  557. package/dist/cjs/types.js.map +0 -6
  558. package/dist/cjs/useColorScheme/index.js +0 -39
  559. package/dist/cjs/useColorScheme/index.js.map +0 -6
  560. package/dist/cjs/useLocaleContext/index.js +0 -21
  561. package/dist/cjs/useLocaleContext/index.js.map +0 -6
  562. package/dist/cjs/useWindowDimensions/index.js +0 -40
  563. package/dist/cjs/useWindowDimensions/index.js.map +0 -6
  564. package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
  565. package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
  566. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
  567. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  568. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
  569. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  570. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
  571. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  572. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
  573. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  574. package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
  575. package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
  576. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
  577. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  578. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
  579. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  580. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
  581. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  582. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
  583. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  584. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
  585. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  586. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
  587. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  588. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
  589. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  590. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
  591. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  592. package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
  593. package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
  594. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
  595. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  596. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
  597. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  598. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
  599. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  600. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
  601. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  602. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
  603. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  604. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
  605. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  606. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
  607. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  608. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
  609. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  610. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
  611. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  612. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
  613. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  614. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
  615. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  616. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
  617. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  618. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
  619. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  620. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
  621. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  622. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
  623. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  624. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
  625. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  626. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
  627. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  628. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
  629. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  630. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
  631. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  632. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
  633. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  634. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
  635. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  636. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
  637. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  638. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
  639. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  640. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
  641. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  642. package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
  643. package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
  644. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
  645. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  646. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
  647. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  648. package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
  649. package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
  650. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
  651. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
  652. package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
  653. package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
  654. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
  655. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  656. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
  657. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  658. package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
  659. package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
  660. package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
  661. package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
  662. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
  663. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  664. package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
  665. package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
  666. package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
  667. package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
  668. package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
  669. package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
  670. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
  671. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  672. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
  673. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  674. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
  675. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  676. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
  677. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  678. package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
  679. package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
  680. package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
  681. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
  682. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
  683. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  684. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
  685. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  686. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
  687. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  688. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
  689. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  690. package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
  691. package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
  692. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
  693. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  694. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
  695. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  696. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
  697. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  698. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
  699. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  700. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
  701. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  702. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
  703. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  704. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
  705. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  706. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
  707. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
  708. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
  709. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  710. package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
  711. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
  712. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
  713. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  714. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
  715. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  716. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
  717. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  718. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
  719. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  720. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
  721. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  722. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
  723. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  724. package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
  725. package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
  726. package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
  727. package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
  728. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
  729. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  730. package/dist/cjs/without-animated.js +0 -248
  731. package/dist/cjs/without-animated.js.map +0 -6
  732. package/dist/esm/AccessibilityInfo/index.js +0 -79
  733. package/dist/esm/AccessibilityInfo/index.js.map +0 -6
  734. package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
  735. package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
  736. package/dist/esm/ActivityIndicator/index.js +0 -88
  737. package/dist/esm/ActivityIndicator/index.js.map +0 -6
  738. package/dist/esm/Alert/index.js +0 -8
  739. package/dist/esm/Alert/index.js.map +0 -6
  740. package/dist/esm/AppRegistry/AppContainer.js +0 -20
  741. package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
  742. package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
  743. package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
  744. package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
  745. package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
  746. package/dist/esm/AppRegistry/index.js +0 -76
  747. package/dist/esm/AppRegistry/index.js.map +0 -6
  748. package/dist/esm/AppRegistry/renderApplication.js +0 -31
  749. package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
  750. package/dist/esm/AppState/__tests__/index-test.js +0 -14
  751. package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
  752. package/dist/esm/AppState/index.js +0 -55
  753. package/dist/esm/AppState/index.js.map +0 -6
  754. package/dist/esm/Appearance/index.js +0 -24
  755. package/dist/esm/Appearance/index.js.map +0 -6
  756. package/dist/esm/BackHandler/index.js +0 -15
  757. package/dist/esm/BackHandler/index.js.map +0 -6
  758. package/dist/esm/Clipboard/index.js +0 -31
  759. package/dist/esm/Clipboard/index.js.map +0 -6
  760. package/dist/esm/DeviceEmitter.js +0 -6
  761. package/dist/esm/DeviceEmitter.js.map +0 -6
  762. package/dist/esm/DeviceInfo/index.js +0 -38
  763. package/dist/esm/DeviceInfo/index.js.map +0 -6
  764. package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
  765. package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
  766. package/dist/esm/Dimensions/index.js +0 -60
  767. package/dist/esm/Dimensions/index.js.map +0 -6
  768. package/dist/esm/FlatList.js +0 -177
  769. package/dist/esm/FlatList.js.map +0 -6
  770. package/dist/esm/I18nManager/index.js +0 -13
  771. package/dist/esm/I18nManager/index.js.map +0 -6
  772. package/dist/esm/Image/index.js +0 -240
  773. package/dist/esm/Image/index.js.map +0 -6
  774. package/dist/esm/Image/types.js +0 -1
  775. package/dist/esm/Image/types.js.map +0 -6
  776. package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
  777. package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
  778. package/dist/esm/ImageBackground/index.js +0 -43
  779. package/dist/esm/ImageBackground/index.js.map +0 -6
  780. package/dist/esm/InteractionManager/TaskQueue.js +0 -59
  781. package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
  782. package/dist/esm/InteractionManager/index.js +0 -73
  783. package/dist/esm/InteractionManager/index.js.map +0 -6
  784. package/dist/esm/Keyboard/index.js +0 -18
  785. package/dist/esm/Keyboard/index.js.map +0 -6
  786. package/dist/esm/KeyboardAvoidingView/index.js +0 -35
  787. package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
  788. package/dist/esm/Linking/__tests__/index-test.js +0 -19
  789. package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
  790. package/dist/esm/Linking/index.js +0 -69
  791. package/dist/esm/Linking/index.js.map +0 -6
  792. package/dist/esm/LogBox/index.js +0 -16
  793. package/dist/esm/LogBox/index.js.map +0 -6
  794. package/dist/esm/Modal/ModalAnimation.js +0 -116
  795. package/dist/esm/Modal/ModalAnimation.js.map +0 -6
  796. package/dist/esm/Modal/ModalContent.js +0 -55
  797. package/dist/esm/Modal/ModalContent.js.map +0 -6
  798. package/dist/esm/Modal/ModalPortal.js +0 -20
  799. package/dist/esm/Modal/ModalPortal.js.map +0 -6
  800. package/dist/esm/Modal/index.js +0 -5
  801. package/dist/esm/Modal/index.js.map +0 -6
  802. package/dist/esm/NativeModules/index.js +0 -8
  803. package/dist/esm/NativeModules/index.js.map +0 -6
  804. package/dist/esm/PanResponder/index.js +0 -5
  805. package/dist/esm/PanResponder/index.js.map +0 -6
  806. package/dist/esm/PixelRatio/index.js +0 -36
  807. package/dist/esm/PixelRatio/index.js.map +0 -6
  808. package/dist/esm/Pressable/index.js +0 -122
  809. package/dist/esm/Pressable/index.js.map +0 -6
  810. package/dist/esm/RefreshControl/index.js +0 -26
  811. package/dist/esm/RefreshControl/index.js.map +0 -6
  812. package/dist/esm/SafeAreaView/index.js +0 -23
  813. package/dist/esm/SafeAreaView/index.js.map +0 -6
  814. package/dist/esm/ScrollView/ScrollViewBase.js +0 -109
  815. package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
  816. package/dist/esm/ScrollView/index.js +0 -548
  817. package/dist/esm/ScrollView/index.js.map +0 -6
  818. package/dist/esm/SectionList.js +0 -7
  819. package/dist/esm/SectionList.js.map +0 -6
  820. package/dist/esm/Share/index.js +0 -39
  821. package/dist/esm/Share/index.js.map +0 -6
  822. package/dist/esm/StatusBar/index.js +0 -16
  823. package/dist/esm/StatusBar/index.js.map +0 -6
  824. package/dist/esm/Text/index.js +0 -142
  825. package/dist/esm/Text/index.js.map +0 -6
  826. package/dist/esm/Text/types.js +0 -1
  827. package/dist/esm/Text/types.js.map +0 -6
  828. package/dist/esm/TextInput/index.js +0 -258
  829. package/dist/esm/TextInput/index.js.map +0 -6
  830. package/dist/esm/TextInput/types.js +0 -1
  831. package/dist/esm/TextInput/types.js.map +0 -6
  832. package/dist/esm/TouchableNativeFeedback.js +0 -5
  833. package/dist/esm/TouchableNativeFeedback.js.map +0 -6
  834. package/dist/esm/TouchableOpacity.js +0 -105
  835. package/dist/esm/TouchableOpacity.js.map +0 -6
  836. package/dist/esm/TouchableWithoutFeedback.js +0 -67
  837. package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
  838. package/dist/esm/UnimplementedView.js +0 -14
  839. package/dist/esm/UnimplementedView.js.map +0 -6
  840. package/dist/esm/Vibration/index.js +0 -14
  841. package/dist/esm/Vibration/index.js.map +0 -6
  842. package/dist/esm/View/index.js +0 -90
  843. package/dist/esm/View/index.js.map +0 -6
  844. package/dist/esm/View/types.js +0 -1
  845. package/dist/esm/View/types.js.map +0 -6
  846. package/dist/esm/VirtualizedList.js +0 -7
  847. package/dist/esm/VirtualizedList.js.map +0 -6
  848. package/dist/esm/codegenNativeCommand.js +0 -7
  849. package/dist/esm/codegenNativeCommand.js.map +0 -6
  850. package/dist/esm/codegenNativeComponent.js +0 -7
  851. package/dist/esm/codegenNativeComponent.js.map +0 -6
  852. package/dist/esm/createElement/__tests__/index-test.js +0 -519
  853. package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
  854. package/dist/esm/createElement/index.js +0 -48
  855. package/dist/esm/createElement/index.js.map +0 -6
  856. package/dist/esm/createReactDOMStyle.js +0 -5
  857. package/dist/esm/createReactDOMStyle.js.map +0 -6
  858. package/dist/esm/modules/requestIdleCallback.js +0 -18
  859. package/dist/esm/modules/requestIdleCallback.js.map +0 -6
  860. package/dist/esm/preprocess.js +0 -13
  861. package/dist/esm/preprocess.js.map +0 -6
  862. package/dist/esm/render/index.js +0 -15
  863. package/dist/esm/render/index.js.map +0 -6
  864. package/dist/esm/styleTypes.js +0 -1
  865. package/dist/esm/styleTypes.js.map +0 -6
  866. package/dist/esm/types.js +0 -1
  867. package/dist/esm/types.js.map +0 -6
  868. package/dist/esm/useColorScheme/index.js +0 -16
  869. package/dist/esm/useColorScheme/index.js.map +0 -6
  870. package/dist/esm/useLocaleContext/index.js +0 -5
  871. package/dist/esm/useLocaleContext/index.js.map +0 -6
  872. package/dist/esm/useWindowDimensions/index.js +0 -17
  873. package/dist/esm/useWindowDimensions/index.js.map +0 -6
  874. package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
  875. package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
  876. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
  877. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  878. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
  879. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  880. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
  881. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  882. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
  883. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  884. package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
  885. package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
  886. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
  887. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  888. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
  889. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  890. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
  891. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  892. package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
  893. package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  894. package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
  895. package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  896. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
  897. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  898. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
  899. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  900. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
  901. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  902. package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
  903. package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
  904. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
  905. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  906. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
  907. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  908. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
  909. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  910. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
  911. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  912. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
  913. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  914. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
  915. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  916. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
  917. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  918. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
  919. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  920. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
  921. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  922. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
  923. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  924. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
  925. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  926. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
  927. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  928. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
  929. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  930. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
  931. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  932. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
  933. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  934. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
  935. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  936. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
  937. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  938. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
  939. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  940. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
  941. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  942. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
  943. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  944. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
  945. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  946. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
  947. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  948. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
  949. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  950. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
  951. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  952. package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
  953. package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
  954. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
  955. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  956. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
  957. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  958. package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
  959. package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
  960. package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
  961. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
  962. package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
  963. package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
  964. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
  965. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  966. package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
  967. package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  968. package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
  969. package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
  970. package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
  971. package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
  972. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
  973. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  974. package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
  975. package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
  976. package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
  977. package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
  978. package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
  979. package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
  980. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
  981. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  982. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
  983. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  984. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
  985. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  986. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
  987. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  988. package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
  989. package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
  990. package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
  991. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
  992. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
  993. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  994. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
  995. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  996. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
  997. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  998. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
  999. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  1000. package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
  1001. package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
  1002. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
  1003. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  1004. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
  1005. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  1006. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
  1007. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  1008. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
  1009. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  1010. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
  1011. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  1012. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
  1013. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  1014. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
  1015. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  1016. package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
  1017. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
  1018. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
  1019. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  1020. package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
  1021. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
  1022. package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
  1023. package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  1024. package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
  1025. package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  1026. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
  1027. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  1028. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
  1029. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  1030. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
  1031. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  1032. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
  1033. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  1034. package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
  1035. package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
  1036. package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
  1037. package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
  1038. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
  1039. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  1040. package/dist/esm/without-animated.js +0 -302
  1041. package/dist/esm/without-animated.js.map +0 -6
@@ -1,109 +0,0 @@
1
- import { useMergeRefs } from "@tamagui/react-native-web-internals";
2
- import * as React from "react";
3
- import { View } from "../View/index";
4
- import { jsx } from "react/jsx-runtime";
5
- function normalizeScrollEvent(e) {
6
- return {
7
- nativeEvent: {
8
- contentOffset: {
9
- get x() {
10
- return e.target.scrollLeft;
11
- },
12
- get y() {
13
- return e.target.scrollTop;
14
- }
15
- },
16
- contentSize: {
17
- get height() {
18
- return e.target.scrollHeight;
19
- },
20
- get width() {
21
- return e.target.scrollWidth;
22
- }
23
- },
24
- layoutMeasurement: {
25
- get height() {
26
- return e.target.offsetHeight;
27
- },
28
- get width() {
29
- return e.target.offsetWidth;
30
- }
31
- }
32
- },
33
- timeStamp: Date.now()
34
- };
35
- }
36
- function shouldEmitScrollEvent(lastTick, eventThrottle) {
37
- const timeSinceLastTick = Date.now() - lastTick;
38
- return eventThrottle > 0 && timeSinceLastTick >= eventThrottle;
39
- }
40
- const ScrollViewBase = React.forwardRef((props, forwardedRef) => {
41
- const {
42
- onScroll,
43
- onTouchMove,
44
- onWheel,
45
- scrollEnabled = !0,
46
- scrollEventThrottle = 0,
47
- showsHorizontalScrollIndicator,
48
- showsVerticalScrollIndicator,
49
- style,
50
- // strip RN-only props that shouldn't reach the DOM
51
- onMomentumScrollBegin,
52
- onMomentumScrollEnd,
53
- onScrollBeginDrag,
54
- onScrollEndDrag,
55
- ...rest
56
- } = props, scrollState = React.useRef({ isScrolling: !1, scrollLastTick: 0 }), scrollTimeout = React.useRef(null), scrollRef = React.useRef(null);
57
- function createPreventableScrollHandler(handler) {
58
- return (e) => {
59
- scrollEnabled && handler && handler(e);
60
- };
61
- }
62
- function handleScroll(e) {
63
- e.stopPropagation(), e.target === scrollRef.current && (e.persist(), scrollTimeout.current != null && clearTimeout(scrollTimeout.current), scrollTimeout.current = setTimeout(() => {
64
- handleScrollEnd(e);
65
- }, 100), scrollState.current.isScrolling ? shouldEmitScrollEvent(scrollState.current.scrollLastTick, scrollEventThrottle) && handleScrollTick(e) : handleScrollStart(e));
66
- }
67
- function handleScrollStart(e) {
68
- scrollState.current.isScrolling = !0, handleScrollTick(e);
69
- }
70
- function handleScrollTick(e) {
71
- scrollState.current.scrollLastTick = Date.now(), onScroll && onScroll(normalizeScrollEvent(e));
72
- }
73
- function handleScrollEnd(e) {
74
- scrollState.current.isScrolling = !1, onScroll && onScroll(normalizeScrollEvent(e));
75
- }
76
- const hideScrollbar = showsHorizontalScrollIndicator === !1 || showsVerticalScrollIndicator === !1;
77
- return /* @__PURE__ */ jsx(
78
- View,
79
- {
80
- ...rest,
81
- onScroll: handleScroll,
82
- onTouchMove: createPreventableScrollHandler(onTouchMove),
83
- onWheel: createPreventableScrollHandler(onWheel),
84
- ref: useMergeRefs(scrollRef, forwardedRef),
85
- style: [
86
- style,
87
- // @ts-ignore
88
- !scrollEnabled && styles.scrollDisabled,
89
- // @ts-ignore
90
- hideScrollbar && styles.hideScrollbar
91
- ]
92
- }
93
- );
94
- }), styles = {
95
- scrollDisabled: {
96
- overflowX: "hidden",
97
- overflowY: "hidden",
98
- touchAction: "none"
99
- },
100
- hideScrollbar: {
101
- scrollbarWidth: "none"
102
- }
103
- };
104
- var ScrollViewBase_default = ScrollViewBase;
105
- export {
106
- ScrollViewBase,
107
- ScrollViewBase_default as default
108
- };
109
- //# sourceMappingURL=ScrollViewBase.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/ScrollView/ScrollViewBase.tsx"],
4
- "mappings": "AASA,SAAS,oBAAoB;AAC7B,YAAY,WAAW;AAGvB,SAAS,YAAY;AAyIjB;AAzHJ,SAAS,qBAAqB,GAAG;AAC/B,SAAO;AAAA,IACL,aAAa;AAAA,MACX,eAAe;AAAA,QACb,IAAI,IAAI;AACN,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,QACA,IAAI,IAAI;AACN,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,MACF;AAAA,MACA,aAAa;AAAA,QACX,IAAI,SAAS;AACX,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,QACA,IAAI,QAAQ;AACV,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,MACF;AAAA,MACA,mBAAmB;AAAA,QACjB,IAAI,SAAS;AACX,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,QACA,IAAI,QAAQ;AACV,iBAAO,EAAE,OAAO;AAAA,QAClB;AAAA,MACF;AAAA,IACF;AAAA,IACA,WAAW,KAAK,IAAI;AAAA,EACtB;AACF;AAEA,SAAS,sBAAsB,UAAkB,eAAuB;AACtE,QAAM,oBAAoB,KAAK,IAAI,IAAI;AACvC,SAAO,gBAAgB,KAAK,qBAAqB;AACnD;AAKA,MAAM,iBAAiB,MAAM,WAAW,CAAC,OAAc,iBAAiB;AACtE,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,gBAAgB;AAAA,IAChB,sBAAsB;AAAA,IACtB;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,IAAI,OAEE,cAAc,MAAM,OAAO,EAAE,aAAa,IAAO,gBAAgB,EAAE,CAAC,GACpE,gBAAgB,MAAM,OAAO,IAAI,GACjC,YAAY,MAAM,OAAO,IAAI;AAEnC,WAAS,+BAA+B,SAAmB;AACzD,WAAO,CAAC,MAAc;AACpB,MAAI,iBACE,WACF,QAAQ,CAAC;AAAA,IAGf;AAAA,EACF;AAEA,WAAS,aAAa,GAAQ;AAC5B,MAAE,gBAAgB,GACd,EAAE,WAAW,UAAU,YACzB,EAAE,QAAQ,GAEN,cAAc,WAAW,QAC3B,aAAa,cAAc,OAAO,GAGpC,cAAc,UAAU,WAAW,MAAM;AACvC,sBAAgB,CAAC;AAAA,IACnB,GAAG,GAAG,GACF,YAAY,QAAQ,cAGpB,sBAAsB,YAAY,QAAQ,gBAAgB,mBAAmB,KAE7E,iBAAiB,CAAC,IAIpB,kBAAkB,CAAC;AAAA,EAGzB;AAEA,WAAS,kBAAkB,GAAW;AACpC,gBAAY,QAAQ,cAAc,IAClC,iBAAiB,CAAC;AAAA,EACpB;AAEA,WAAS,iBAAiB,GAAW;AACnC,gBAAY,QAAQ,iBAAiB,KAAK,IAAI,GAC1C,YACF,SAAS,qBAAqB,CAAC,CAAC;AAAA,EAEpC;AAEA,WAAS,gBAAgB,GAAW;AAClC,gBAAY,QAAQ,cAAc,IAC9B,YACF,SAAS,qBAAqB,CAAC,CAAC;AAAA,EAEpC;AAEA,QAAM,gBACJ,mCAAmC,MAAS,iCAAiC;AAE/E,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,UAAU;AAAA,MACV,aAAa,+BAA+B,WAAkB;AAAA,MAC9D,SAAS,+BAA+B,OAAc;AAAA,MACtD,KAAK,aAAa,WAAW,YAAY;AAAA,MACzC,OAAO;AAAA,QACL;AAAA;AAAA,QAEA,CAAC,iBAAiB,OAAO;AAAA;AAAA,QAEzB,iBAAiB,OAAO;AAAA,MAC1B;AAAA;AAAA,EACF;AAEJ,CAAC,GAKK,SAAS;AAAA,EACb,gBAAgB;AAAA,IACd,WAAW;AAAA,IACX,WAAW;AAAA,IACX,aAAa;AAAA,EACf;AAAA,EACA,eAAe;AAAA,IACb,gBAAgB;AAAA,EAClB;AACF;AAGA,IAAO,yBAAQ;",
5
- "names": []
6
- }
@@ -1,548 +0,0 @@
1
- import React from "react";
2
- import {
3
- Platform,
4
- StyleSheet,
5
- TextInputState,
6
- UIManager,
7
- dismissKeyboard,
8
- invariant,
9
- mergeRefs,
10
- warning
11
- } from "@tamagui/react-native-web-internals";
12
- import { Dimensions } from "../Dimensions/index";
13
- import { View } from "../View/index";
14
- import { ScrollViewBase } from "./ScrollViewBase";
15
- import { jsx } from "react/jsx-runtime";
16
- const emptyObject = {}, IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;
17
- class ScrollView extends React.Component {
18
- _scrollNodeRef;
19
- _innerViewRef;
20
- keyboardWillOpenTo = null;
21
- additionalScrollOffset = 0;
22
- preventNegativeScrollOffset = !1;
23
- isTouching = !1;
24
- lastMomentumScrollBeginTime = 0;
25
- lastMomentumScrollEndTime = 0;
26
- // Reset to false every time becomes responder. This is used to:
27
- // - Determine if the scroll view has been scrolled and therefore should
28
- // refuse to give up its responder lock.
29
- // - Determine if releasing should dismiss the keyboard when we are in
30
- // tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).
31
- observedScrollSinceBecomingResponder = !1;
32
- becameResponderWhileAnimating = !1;
33
- /**
34
- * Returns a reference to the underlying scroll responder, which supports
35
- * operations like `scrollTo`. All ScrollView-like components should
36
- * implement this method so that they can be composed while providing access
37
- * to the underlying scroll responder's methods.
38
- */
39
- getScrollResponder() {
40
- return this;
41
- }
42
- getScrollableNode() {
43
- return this._scrollNodeRef;
44
- }
45
- getInnerViewRef() {
46
- return this._innerViewRef;
47
- }
48
- getInnerViewNode() {
49
- return this._innerViewRef;
50
- }
51
- getNativeScrollRef() {
52
- return this._scrollNodeRef;
53
- }
54
- flashScrollIndicators = () => {
55
- this.scrollResponderFlashScrollIndicators();
56
- };
57
- /**
58
- * Scrolls to a given x, y offset, either immediately or with a smooth animation.
59
- * Syntax:
60
- *
61
- * scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
62
- *
63
- * Note: The weird argument signature is due to the fact that, for historical reasons,
64
- * the function also accepts separate arguments as as alternative to the options object.
65
- * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
66
- */
67
- scrollTo = (y, x, animated) => {
68
- typeof y == "number" ? console.warn(
69
- "`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead."
70
- ) : { x, y, animated } = y || emptyObject, this.scrollResponderScrollTo({
71
- x: x || 0,
72
- y: y || 0,
73
- animated: animated !== !1
74
- });
75
- };
76
- /**
77
- * If this is a vertical ScrollView scrolls to the bottom.
78
- * If this is a horizontal ScrollView scrolls to the right.
79
- *
80
- * Use `scrollToEnd({ animated: true })` for smooth animated scrolling,
81
- * `scrollToEnd({ animated: false })` for immediate scrolling.
82
- * If no options are passed, `animated` defaults to true.
83
- */
84
- scrollToEnd = (options) => {
85
- const animated = (options && options.animated) !== !1, { horizontal } = this.props, scrollResponderNode = this.getScrollableNode(), x = horizontal ? scrollResponderNode.scrollWidth : 0, y = horizontal ? 0 : scrollResponderNode.scrollHeight;
86
- this.scrollResponderScrollTo({ x, y, animated });
87
- };
88
- render() {
89
- const {
90
- contentContainerStyle,
91
- horizontal,
92
- onContentSizeChange,
93
- refreshControl,
94
- stickyHeaderIndices,
95
- pagingEnabled,
96
- /* eslint-disable */
97
- forwardedRef,
98
- keyboardDismissMode,
99
- onScroll,
100
- centerContent,
101
- // strip RN-only props that shouldn't reach the DOM
102
- contentOffset,
103
- contentInset,
104
- contentInsetAdjustmentBehavior,
105
- decelerationRate,
106
- directionalLockEnabled,
107
- disableIntervalMomentum,
108
- disableScrollViewPanResponder,
109
- endFillColor,
110
- fadingEdgeLength,
111
- indicatorStyle,
112
- invertStickyHeaders,
113
- keyboardShouldPersistTaps,
114
- maintainVisibleContentPosition,
115
- maximumZoomScale,
116
- minimumZoomScale,
117
- nestedScrollEnabled,
118
- onScrollToTop,
119
- overScrollMode,
120
- pinchGestureEnabled,
121
- removeClippedSubviews,
122
- scrollIndicatorInsets,
123
- scrollPerfTag,
124
- scrollToOverflowEnabled,
125
- showsHorizontalScrollIndicator: _showsH,
126
- showsVerticalScrollIndicator: _showsV,
127
- snapToAlignment,
128
- snapToEnd,
129
- snapToInterval,
130
- snapToOffsets,
131
- snapToStart,
132
- StickyHeaderComponent,
133
- ScrollComponent,
134
- /* eslint-enable */
135
- ...other
136
- } = this.props;
137
- if (process.env.NODE_ENV !== "production" && this.props.style) {
138
- const style = StyleSheet.flatten(this.props.style), childLayoutProps = ["alignItems", "justifyContent"].filter(
139
- (prop) => style && style[prop] !== void 0
140
- );
141
- invariant(
142
- childLayoutProps.length === 0,
143
- `ScrollView child layout (${JSON.stringify(childLayoutProps)}) must be applied through the contentContainerStyle prop.`
144
- );
145
- }
146
- let contentSizeChangeProps = {};
147
- onContentSizeChange && (contentSizeChangeProps = {
148
- onLayout: this._handleContentOnLayout.bind(this)
149
- });
150
- const hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices), children = hasStickyHeaderIndices || pagingEnabled ? React.Children.map(this.props.children, (child, i) => {
151
- const isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
152
- return child != null && (isSticky || pagingEnabled) ? /* @__PURE__ */ jsx(
153
- View,
154
- {
155
- style: StyleSheet.compose(
156
- isSticky && styles.stickyHeader,
157
- pagingEnabled && styles.pagingEnabledChild
158
- ),
159
- children: child
160
- }
161
- ) : child;
162
- }) : this.props.children, contentContainer = /* @__PURE__ */ jsx(
163
- View,
164
- {
165
- ...contentSizeChangeProps,
166
- collapsable: !1,
167
- ref: this._setInnerViewRef.bind(this),
168
- style: [
169
- horizontal && styles.contentContainerHorizontal,
170
- centerContent && styles.contentContainerCenterContent,
171
- contentContainerStyle
172
- ],
173
- children
174
- }
175
- ), baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical, pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical, props = {
176
- ...other,
177
- style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],
178
- onTouchStart: this.scrollResponderHandleTouchStart.bind(this),
179
- onTouchMove: this.scrollResponderHandleTouchMove.bind(this),
180
- onTouchEnd: this.scrollResponderHandleTouchEnd.bind(this),
181
- onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag.bind(this),
182
- onScrollEndDrag: this.scrollResponderHandleScrollEndDrag.bind(this),
183
- onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin.bind(this),
184
- onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd.bind(this),
185
- onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder.bind(this),
186
- onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture.bind(this),
187
- onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder.bind(this),
188
- onScroll: this._handleScroll.bind(this),
189
- onResponderGrant: this.scrollResponderHandleResponderGrant.bind(this),
190
- onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest.bind(this),
191
- onResponderRelease: this.scrollResponderHandleResponderRelease.bind(this),
192
- onResponderReject: this.scrollResponderHandleResponderReject.bind(this),
193
- onResponderTerminate: this.scrollResponderHandleTerminate.bind(this)
194
- }, ScrollViewClass = ScrollViewBase;
195
- invariant(ScrollViewClass !== void 0, "ScrollViewClass must not be undefined");
196
- const scrollView = /* @__PURE__ */ jsx(ScrollViewClass, { ...props, ref: this._setScrollNodeRef.bind(this), children: contentContainer });
197
- return refreshControl ? React.cloneElement(refreshControl, { style: props.style }, scrollView) : scrollView;
198
- }
199
- _handleContentOnLayout(e) {
200
- const { width, height } = e.nativeEvent.layout;
201
- this.props.onContentSizeChange?.(width, height);
202
- }
203
- _handleScroll(e) {
204
- process.env.NODE_ENV !== "production" && this.props.onScroll && this.props.scrollEventThrottle == null && console.info(
205
- "You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."
206
- ), this.props.keyboardDismissMode === "on-drag" && dismissKeyboard(), this.scrollResponderHandleScroll(e);
207
- }
208
- _setInnerViewRef(node) {
209
- this._innerViewRef = node;
210
- }
211
- _setScrollNodeRef(node) {
212
- this._scrollNodeRef = node, node != null && (node.getScrollResponder = this.getScrollResponder, node.getInnerViewNode = this.getInnerViewNode, node.getInnerViewRef = this.getInnerViewRef, node.getNativeScrollRef = this.getNativeScrollRef, node.getScrollableNode = this.getScrollableNode, node.scrollTo = this.scrollTo, node.scrollToEnd = this.scrollToEnd, node.flashScrollIndicators = this.flashScrollIndicators, node.scrollResponderZoomTo = this.scrollResponderZoomTo, node.scrollResponderScrollNativeHandleToKeyboard = this.scrollResponderScrollNativeHandleToKeyboard), mergeRefs(this.props.forwardedRef)(node);
213
- }
214
- /**
215
- * Invoke this from an `onScroll` event.
216
- */
217
- scrollResponderHandleScrollShouldSetResponder() {
218
- return this.isTouching;
219
- }
220
- /**
221
- * Merely touch starting is not sufficient for a scroll view to become the
222
- * responder. Being the "responder" means that the very next touch move/end
223
- * event will result in an action/movement.
224
- *
225
- * Invoke this from an `onStartShouldSetResponder` event.
226
- *
227
- * `onStartShouldSetResponder` is used when the next move/end will trigger
228
- * some UI movement/action, but when you want to yield priority to views
229
- * nested inside of the view.
230
- *
231
- * There may be some cases where scroll views actually should return `true`
232
- * from `onStartShouldSetResponder`: Any time we are detecting a standard tap
233
- * that gives priority to nested views.
234
- *
235
- * - If a single tap on the scroll view triggers an action such as
236
- * recentering a map style view yet wants to give priority to interaction
237
- * views inside (such as dropped pins or labels), then we would return true
238
- * from this method when there is a single touch.
239
- *
240
- * - Similar to the previous case, if a two finger "tap" should trigger a
241
- * zoom, we would check the `touches` count, and if `>= 2`, we would return
242
- * true.
243
- *
244
- */
245
- scrollResponderHandleStartShouldSetResponder() {
246
- return !1;
247
- }
248
- /**
249
- * There are times when the scroll view wants to become the responder
250
- * (meaning respond to the next immediate `touchStart/touchEnd`), in a way
251
- * that *doesn't* give priority to nested views (hence the capture phase):
252
- *
253
- * - Currently animating.
254
- * - Tapping anywhere that is not the focused input, while the keyboard is
255
- * up (which should dismiss the keyboard).
256
- *
257
- * Invoke this from an `onStartShouldSetResponderCapture` event.
258
- */
259
- scrollResponderHandleStartShouldSetResponderCapture(e) {
260
- return this.scrollResponderIsAnimating();
261
- }
262
- /**
263
- * Invoke this from an `onResponderReject` event.
264
- *
265
- * Some other element is not yielding its role as responder. Normally, we'd
266
- * just disable the `UIScrollView`, but a touch has already began on it, the
267
- * `UIScrollView` will not accept being disabled after that. The easiest
268
- * solution for now is to accept the limitation of disallowing this
269
- * altogether. To improve this, find a way to disable the `UIScrollView` after
270
- * a touch has already started.
271
- */
272
- scrollResponderHandleResponderReject() {
273
- warning(!1, "ScrollView doesn't take rejection well - scrolls anyway");
274
- }
275
- /**
276
- * We will allow the scroll view to give up its lock iff it acquired the lock
277
- * during an animation. This is a very useful default that happens to satisfy
278
- * many common user experiences.
279
- *
280
- * - Stop a scroll on the left edge, then turn that into an outer view's
281
- * backswipe.
282
- * - Stop a scroll mid-bounce at the top, continue pulling to have the outer
283
- * view dismiss.
284
- * - However, without catching the scroll view mid-bounce (while it is
285
- * motionless), if you drag far enough for the scroll view to become
286
- * responder (and therefore drag the scroll view a bit), any backswipe
287
- * navigation of a swipe gesture higher in the view hierarchy, should be
288
- * rejected.
289
- */
290
- scrollResponderHandleTerminationRequest() {
291
- return !this.observedScrollSinceBecomingResponder;
292
- }
293
- /**
294
- * Invoke this from an `onTouchEnd` event.
295
- *
296
- * @param {SyntheticEvent} e Event.
297
- */
298
- scrollResponderHandleTouchEnd(e) {
299
- const nativeEvent = e.nativeEvent;
300
- this.isTouching = nativeEvent.touches.length !== 0, this.props.onTouchEnd && this.props.onTouchEnd(e);
301
- }
302
- /**
303
- * Invoke this from an `onResponderRelease` event.
304
- */
305
- scrollResponderHandleResponderRelease(e) {
306
- this.props.onResponderRelease && this.props.onResponderRelease(e);
307
- const currentlyFocusedTextInput = TextInputState.currentlyFocusedField();
308
- !this.props.keyboardShouldPersistTaps && currentlyFocusedTextInput != null && e.target !== currentlyFocusedTextInput && !this.observedScrollSinceBecomingResponder && !this.becameResponderWhileAnimating && (this.props.onScrollResponderKeyboardDismissed && this.props.onScrollResponderKeyboardDismissed(e), TextInputState.blurTextInput(currentlyFocusedTextInput));
309
- }
310
- scrollResponderHandleScroll(e) {
311
- this.observedScrollSinceBecomingResponder = !0, this.props.onScroll && this.props.onScroll(e);
312
- }
313
- /**
314
- * Invoke this from an `onResponderGrant` event.
315
- */
316
- scrollResponderHandleResponderGrant(e) {
317
- this.observedScrollSinceBecomingResponder = !1, this.props.onResponderGrant && this.props.onResponderGrant(e), this.becameResponderWhileAnimating = this.scrollResponderIsAnimating();
318
- }
319
- /**
320
- * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll
321
- * animation, and there's not an easy way to distinguish a drag vs. stopping
322
- * momentum.
323
- *
324
- * Invoke this from an `onScrollBeginDrag` event.
325
- */
326
- scrollResponderHandleScrollBeginDrag(e) {
327
- this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);
328
- }
329
- /**
330
- * Invoke this from an `onScrollEndDrag` event.
331
- */
332
- scrollResponderHandleScrollEndDrag(e) {
333
- this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);
334
- }
335
- /**
336
- * Invoke this from an `onMomentumScrollBegin` event.
337
- */
338
- scrollResponderHandleMomentumScrollBegin(e) {
339
- this.lastMomentumScrollBeginTime = Date.now(), this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);
340
- }
341
- /**
342
- * Invoke this from an `onMomentumScrollEnd` event.
343
- */
344
- scrollResponderHandleMomentumScrollEnd(e) {
345
- this.lastMomentumScrollEndTime = Date.now(), this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);
346
- }
347
- /**
348
- * Invoke this from an `onTouchStart` event.
349
- *
350
- * Since we know that the `SimpleEventPlugin` occurs later in the plugin
351
- * order, after `ResponderEventPlugin`, we can detect that we were *not*
352
- * permitted to be the responder (presumably because a contained view became
353
- * responder). The `onResponderReject` won't fire in that case - it only
354
- * fires when a *current* responder rejects our request.
355
- *
356
- * @param {SyntheticEvent} e Touch Start event.
357
- */
358
- scrollResponderHandleTouchStart(e) {
359
- this.isTouching = !0, this.props.onTouchStart && this.props.onTouchStart(e);
360
- }
361
- /**
362
- * Invoke this from an `onTouchMove` event.
363
- *
364
- * Since we know that the `SimpleEventPlugin` occurs later in the plugin
365
- * order, after `ResponderEventPlugin`, we can detect that we were *not*
366
- * permitted to be the responder (presumably because a contained view became
367
- * responder). The `onResponderReject` won't fire in that case - it only
368
- * fires when a *current* responder rejects our request.
369
- *
370
- * @param {SyntheticEvent} e Touch Start event.
371
- */
372
- scrollResponderHandleTouchMove(e) {
373
- this.props.onTouchMove && this.props.onTouchMove(e);
374
- }
375
- scrollResponderHandleTerminate(e) {
376
- this.props.onResponderTerminate && this.props.onResponderTerminate(e);
377
- }
378
- /**
379
- * A helper function for this class that lets us quickly determine if the
380
- * view is currently animating. This is particularly useful to know when
381
- * a touch has just started or ended.
382
- */
383
- scrollResponderIsAnimating() {
384
- return Date.now() - this.lastMomentumScrollEndTime < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.lastMomentumScrollEndTime < this.lastMomentumScrollBeginTime;
385
- }
386
- /**
387
- * A helper function to scroll to a specific point in the scrollview.
388
- * This is currently used to help focus on child textviews, but can also
389
- * be used to quickly scroll to any element we want to focus. Syntax:
390
- *
391
- * scrollResponderScrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
392
- *
393
- * Note: The weird argument signature is due to the fact that, for historical reasons,
394
- * the function also accepts separate arguments as as alternative to the options object.
395
- * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
396
- */
397
- scrollResponderScrollTo = (x, y, animated) => {
398
- typeof x == "number" ? console.warn(
399
- "`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead."
400
- ) : { x, y, animated } = x || emptyObject;
401
- const node = this.getScrollableNode(), left = x || 0, top = y || 0;
402
- node != null && (typeof node.scroll == "function" ? node.scroll({ top, left, behavior: animated ? "smooth" : "auto" }) : (node.scrollLeft = left, node.scrollTop = top));
403
- };
404
- /**
405
- * A helper function to zoom to a specific rect in the scrollview. The argument has the shape
406
- * {x: number; y: number; width: number; height: number; animated: boolean = true}
407
- *
408
- * @platform ios
409
- */
410
- scrollResponderZoomTo = (rect, animated) => {
411
- Platform.OS !== "ios" && invariant("zoomToRect is not implemented");
412
- };
413
- /**
414
- * Displays the scroll indicators momentarily.
415
- */
416
- scrollResponderFlashScrollIndicators() {
417
- }
418
- /**
419
- * This method should be used as the callback to onFocus in a TextInputs'
420
- * parent view. Note that any module using this mixin needs to return
421
- * the parent view's ref in getScrollViewRef() in order to use this method.
422
- * @param {any} nodeHandle The TextInput node handle
423
- * @param {number} additionalOffset The scroll view's top "contentInset".
424
- * Default is 0.
425
- * @param {bool} preventNegativeScrolling Whether to allow pulling the content
426
- * down to make it meet the keyboard's top. Default is false.
427
- */
428
- scrollResponderScrollNativeHandleToKeyboard = (nodeHandle, additionalOffset, preventNegativeScrollOffset) => {
429
- this.additionalScrollOffset = additionalOffset || 0, this.preventNegativeScrollOffset = !!preventNegativeScrollOffset, UIManager.measureLayout(
430
- nodeHandle,
431
- this.getInnerViewNode(),
432
- this.scrollResponderTextInputFocusError,
433
- this.scrollResponderInputMeasureAndScrollToKeyboard
434
- );
435
- };
436
- /**
437
- * The calculations performed here assume the scroll view takes up the entire
438
- * screen - even if has some content inset. We then measure the offsets of the
439
- * keyboard, and compensate both for the scroll view's "contentInset".
440
- *
441
- * @param {number} left Position of input w.r.t. table view.
442
- * @param {number} top Position of input w.r.t. table view.
443
- * @param {number} width Width of the text input.
444
- * @param {number} height Height of the text input.
445
- */
446
- scrollResponderInputMeasureAndScrollToKeyboard = (left, top, width, height) => {
447
- let keyboardScreenY = Dimensions.get("window").height;
448
- this.keyboardWillOpenTo && (keyboardScreenY = this.keyboardWillOpenTo.endCoordinates.screenY);
449
- let scrollOffsetY = top - keyboardScreenY + height + this.additionalScrollOffset;
450
- this.preventNegativeScrollOffset && (scrollOffsetY = Math.max(0, scrollOffsetY)), this.scrollResponderScrollTo({ x: 0, y: scrollOffsetY, animated: !0 }), this.additionalScrollOffset = 0, this.preventNegativeScrollOffset = !1;
451
- };
452
- scrollResponderTextInputFocusError(e) {
453
- console.error("Error measuring text field: ", e);
454
- }
455
- /**
456
- * Warning, this may be called several times for a single keyboard opening.
457
- * It's best to store the information in this method and then take any action
458
- * at a later point (either in `keyboardDidShow` or other).
459
- *
460
- * Here's the order that events occur in:
461
- * - focus
462
- * - willShow {startCoordinates, endCoordinates} several times
463
- * - didShow several times
464
- * - blur
465
- * - willHide {startCoordinates, endCoordinates} several times
466
- * - didHide several times
467
- *
468
- * The `ScrollResponder` providesModule callbacks for each of these events.
469
- * Even though any user could have easily listened to keyboard events
470
- * themselves, using these `props` callbacks ensures that ordering of events
471
- * is consistent - and not dependent on the order that the keyboard events are
472
- * subscribed to. This matters when telling the scroll view to scroll to where
473
- * the keyboard is headed - the scroll responder better have been notified of
474
- * the keyboard destination before being instructed to scroll to where the
475
- * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything
476
- * will work.
477
- *
478
- * WARNING: These callbacks will fire even if a keyboard is displayed in a
479
- * different navigation pane. Filter out the events to determine if they are
480
- * relevant to you. (For example, only if you receive these callbacks after
481
- * you had explicitly focused a node etc).
482
- */
483
- scrollResponderKeyboardWillShow = (e) => {
484
- this.keyboardWillOpenTo = e, this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);
485
- };
486
- scrollResponderKeyboardWillHide = (e) => {
487
- this.keyboardWillOpenTo = null, this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);
488
- };
489
- scrollResponderKeyboardDidShow = (e) => {
490
- e && (this.keyboardWillOpenTo = e), this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);
491
- };
492
- scrollResponderKeyboardDidHide = (e) => {
493
- this.keyboardWillOpenTo = null, this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);
494
- };
495
- }
496
- const commonStyle = {
497
- flexGrow: 1,
498
- flexShrink: 1,
499
- // Enable hardware compositing in modern browsers.
500
- // Creates a new layer with its own backing surface that can significantly
501
- // improve scroll performance.
502
- transform: [{ translateZ: 0 }],
503
- // iOS native scrolling
504
- WebkitOverflowScrolling: "touch"
505
- }, styles = {
506
- baseVertical: {
507
- ...commonStyle,
508
- flexDirection: "column",
509
- overflowX: "hidden",
510
- overflowY: "auto"
511
- },
512
- baseHorizontal: {
513
- ...commonStyle,
514
- flexDirection: "row",
515
- overflowX: "auto",
516
- overflowY: "hidden"
517
- },
518
- contentContainerHorizontal: {
519
- flexDirection: "row"
520
- },
521
- contentContainerCenterContent: {
522
- justifyContent: "center",
523
- flexGrow: 1
524
- },
525
- stickyHeader: {
526
- position: "sticky",
527
- top: 0,
528
- zIndex: 10
529
- },
530
- pagingEnabledHorizontal: {
531
- scrollSnapType: "x mandatory"
532
- },
533
- pagingEnabledVertical: {
534
- scrollSnapType: "y mandatory"
535
- },
536
- pagingEnabledChild: {
537
- scrollSnapAlign: "start"
538
- }
539
- }, ForwardedScrollView = React.forwardRef(
540
- (props, forwardedRef) => /* @__PURE__ */ jsx(ScrollView, { ...props, forwardedRef })
541
- );
542
- ForwardedScrollView.displayName = "ScrollView";
543
- var ScrollView_default = ForwardedScrollView;
544
- export {
545
- ForwardedScrollView as ScrollView,
546
- ScrollView_default as default
547
- };
548
- //# sourceMappingURL=index.js.map