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

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 (677) hide show
  1. package/dist/cjs/Libraries/Pressability/Pressability.cjs +26 -0
  2. package/dist/cjs/Libraries/Pressability/usePressability.cjs +26 -0
  3. package/dist/cjs/ScrollView/ScrollViewBase.cjs +9 -7
  4. package/dist/cjs/ScrollView/index.cjs +31 -0
  5. package/dist/cjs/createReactDOMStyle.cjs +4 -2
  6. package/dist/cjs/preprocess.cjs +1 -0
  7. package/dist/cjs/without-animated.cjs +134 -43
  8. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +1 -1
  9. package/dist/esm/AppRegistry/__tests__/index-test.mjs +1 -1
  10. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +2 -2
  11. package/dist/esm/AppState/__tests__/index-test.mjs +1 -1
  12. package/dist/esm/Dimensions/__tests__/index-test.mjs +1 -1
  13. package/dist/esm/FlatList.mjs +4 -4
  14. package/dist/esm/ImageBackground/__tests__/index-test.mjs +2 -2
  15. package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
  16. package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
  17. package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
  18. package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
  19. package/dist/esm/Linking/__tests__/index-test.mjs +1 -1
  20. package/dist/esm/Modal/ModalContent.mjs +1 -1
  21. package/dist/esm/ScrollView/ScrollViewBase.mjs +9 -7
  22. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
  23. package/dist/esm/ScrollView/index.mjs +31 -0
  24. package/dist/esm/ScrollView/index.mjs.map +1 -1
  25. package/dist/esm/SectionList.mjs +2 -2
  26. package/dist/esm/TouchableOpacity.mjs +1 -1
  27. package/dist/esm/VirtualizedList.mjs +2 -2
  28. package/dist/esm/createElement/__tests__/index-test.mjs +1 -1
  29. package/dist/esm/createReactDOMStyle.mjs +2 -1
  30. package/dist/esm/createReactDOMStyle.mjs.map +1 -1
  31. package/dist/esm/index.js +54 -160
  32. package/dist/esm/index.js.map +1 -6
  33. package/dist/esm/preprocess.mjs +2 -2
  34. package/dist/esm/preprocess.mjs.map +1 -1
  35. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
  36. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +1 -1
  37. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -1
  38. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -1
  39. package/dist/esm/vendor/react-native/FlatList/index.mjs +4 -4
  40. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +1 -1
  41. package/dist/esm/vendor/react-native/SectionList/index.mjs +1 -1
  42. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +1 -1
  43. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +1 -1
  44. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +4 -4
  45. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +1 -1
  46. package/dist/esm/without-animated.mjs +133 -42
  47. package/dist/esm/without-animated.mjs.map +1 -1
  48. package/package.json +34 -8
  49. package/src/Libraries/Pressability/Pressability.ts +2 -0
  50. package/src/Libraries/Pressability/usePressability.ts +2 -0
  51. package/src/ScrollView/ScrollViewBase.tsx +12 -7
  52. package/src/ScrollView/index.tsx +31 -0
  53. package/src/createReactDOMStyle.ts +4 -1
  54. package/src/preprocess.ts +1 -0
  55. package/src/without-animated.tsx +156 -27
  56. package/dist/cjs/AccessibilityInfo/index.js +0 -95
  57. package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
  58. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
  59. package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
  60. package/dist/cjs/ActivityIndicator/index.js +0 -109
  61. package/dist/cjs/ActivityIndicator/index.js.map +0 -6
  62. package/dist/cjs/Alert/index.js +0 -24
  63. package/dist/cjs/Alert/index.js.map +0 -6
  64. package/dist/cjs/AppRegistry/AppContainer.js +0 -41
  65. package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
  66. package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
  67. package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
  68. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
  69. package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
  70. package/dist/cjs/AppRegistry/index.js +0 -90
  71. package/dist/cjs/AppRegistry/index.js.map +0 -6
  72. package/dist/cjs/AppRegistry/renderApplication.js +0 -43
  73. package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
  74. package/dist/cjs/AppState/__tests__/index-test.js +0 -33
  75. package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
  76. package/dist/cjs/AppState/index.js +0 -71
  77. package/dist/cjs/AppState/index.js.map +0 -6
  78. package/dist/cjs/Appearance/index.js +0 -40
  79. package/dist/cjs/Appearance/index.js.map +0 -6
  80. package/dist/cjs/BackHandler/index.js +0 -31
  81. package/dist/cjs/BackHandler/index.js.map +0 -6
  82. package/dist/cjs/Clipboard/index.js +0 -47
  83. package/dist/cjs/Clipboard/index.js.map +0 -6
  84. package/dist/cjs/DeviceEmitter.js +0 -22
  85. package/dist/cjs/DeviceEmitter.js.map +0 -6
  86. package/dist/cjs/DeviceInfo/index.js +0 -53
  87. package/dist/cjs/DeviceInfo/index.js.map +0 -6
  88. package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
  89. package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
  90. package/dist/cjs/Dimensions/index.js +0 -76
  91. package/dist/cjs/Dimensions/index.js.map +0 -6
  92. package/dist/cjs/FlatList.js +0 -194
  93. package/dist/cjs/FlatList.js.map +0 -6
  94. package/dist/cjs/I18nManager/index.js +0 -29
  95. package/dist/cjs/I18nManager/index.js.map +0 -6
  96. package/dist/cjs/Image/index.js +0 -254
  97. package/dist/cjs/Image/index.js.map +0 -6
  98. package/dist/cjs/Image/types.js +0 -14
  99. package/dist/cjs/Image/types.js.map +0 -6
  100. package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
  101. package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
  102. package/dist/cjs/ImageBackground/index.js +0 -55
  103. package/dist/cjs/ImageBackground/index.js.map +0 -6
  104. package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
  105. package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
  106. package/dist/cjs/InteractionManager/index.js +0 -94
  107. package/dist/cjs/InteractionManager/index.js.map +0 -6
  108. package/dist/cjs/Keyboard/index.js +0 -34
  109. package/dist/cjs/Keyboard/index.js.map +0 -6
  110. package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
  111. package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
  112. package/dist/cjs/Linking/__tests__/index-test.js +0 -38
  113. package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
  114. package/dist/cjs/Linking/index.js +0 -85
  115. package/dist/cjs/Linking/index.js.map +0 -6
  116. package/dist/cjs/LogBox/index.js +0 -32
  117. package/dist/cjs/LogBox/index.js.map +0 -6
  118. package/dist/cjs/Modal/ModalAnimation.js +0 -137
  119. package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
  120. package/dist/cjs/Modal/ModalContent.js +0 -77
  121. package/dist/cjs/Modal/ModalContent.js.map +0 -6
  122. package/dist/cjs/Modal/ModalPortal.js +0 -42
  123. package/dist/cjs/Modal/ModalPortal.js.map +0 -6
  124. package/dist/cjs/Modal/index.js +0 -21
  125. package/dist/cjs/Modal/index.js.map +0 -6
  126. package/dist/cjs/NativeModules/index.js +0 -24
  127. package/dist/cjs/NativeModules/index.js.map +0 -6
  128. package/dist/cjs/PanResponder/index.js +0 -29
  129. package/dist/cjs/PanResponder/index.js.map +0 -6
  130. package/dist/cjs/PixelRatio/index.js +0 -52
  131. package/dist/cjs/PixelRatio/index.js.map +0 -6
  132. package/dist/cjs/Pressable/index.js +0 -141
  133. package/dist/cjs/Pressable/index.js.map +0 -6
  134. package/dist/cjs/RefreshControl/index.js +0 -41
  135. package/dist/cjs/RefreshControl/index.js.map +0 -6
  136. package/dist/cjs/SafeAreaView/index.js +0 -44
  137. package/dist/cjs/SafeAreaView/index.js.map +0 -6
  138. package/dist/cjs/ScrollView/ScrollViewBase.js +0 -125
  139. package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
  140. package/dist/cjs/ScrollView/index.js +0 -525
  141. package/dist/cjs/ScrollView/index.js.map +0 -6
  142. package/dist/cjs/SectionList.js +0 -30
  143. package/dist/cjs/SectionList.js.map +0 -6
  144. package/dist/cjs/Share/index.js +0 -55
  145. package/dist/cjs/Share/index.js.map +0 -6
  146. package/dist/cjs/StatusBar/index.js +0 -32
  147. package/dist/cjs/StatusBar/index.js.map +0 -6
  148. package/dist/cjs/Text/index.js +0 -153
  149. package/dist/cjs/Text/index.js.map +0 -6
  150. package/dist/cjs/Text/types.js +0 -14
  151. package/dist/cjs/Text/types.js.map +0 -6
  152. package/dist/cjs/TextInput/index.js +0 -269
  153. package/dist/cjs/TextInput/index.js.map +0 -6
  154. package/dist/cjs/TextInput/types.js +0 -14
  155. package/dist/cjs/TextInput/types.js.map +0 -6
  156. package/dist/cjs/TouchableNativeFeedback.js +0 -21
  157. package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
  158. package/dist/cjs/TouchableOpacity.js +0 -122
  159. package/dist/cjs/TouchableOpacity.js.map +0 -6
  160. package/dist/cjs/TouchableWithoutFeedback.js +0 -89
  161. package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
  162. package/dist/cjs/UnimplementedView.js +0 -36
  163. package/dist/cjs/UnimplementedView.js.map +0 -6
  164. package/dist/cjs/Vibration/index.js +0 -30
  165. package/dist/cjs/Vibration/index.js.map +0 -6
  166. package/dist/cjs/View/index.js +0 -102
  167. package/dist/cjs/View/index.js.map +0 -6
  168. package/dist/cjs/View/types.js +0 -14
  169. package/dist/cjs/View/types.js.map +0 -6
  170. package/dist/cjs/VirtualizedList.js +0 -30
  171. package/dist/cjs/VirtualizedList.js.map +0 -6
  172. package/dist/cjs/codegenNativeCommand.js +0 -23
  173. package/dist/cjs/codegenNativeCommand.js.map +0 -6
  174. package/dist/cjs/codegenNativeComponent.js +0 -23
  175. package/dist/cjs/codegenNativeComponent.js.map +0 -6
  176. package/dist/cjs/createElement/__tests__/index-test.js +0 -536
  177. package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
  178. package/dist/cjs/createElement/index.js +0 -60
  179. package/dist/cjs/createElement/index.js.map +0 -6
  180. package/dist/cjs/createReactDOMStyle.js +0 -21
  181. package/dist/cjs/createReactDOMStyle.js.map +0 -6
  182. package/dist/cjs/index.js +0 -114
  183. package/dist/cjs/index.js.map +0 -6
  184. package/dist/cjs/modules/requestIdleCallback.js +0 -34
  185. package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
  186. package/dist/cjs/preprocess.js +0 -24
  187. package/dist/cjs/preprocess.js.map +0 -6
  188. package/dist/cjs/render/index.js +0 -31
  189. package/dist/cjs/render/index.js.map +0 -6
  190. package/dist/cjs/styleTypes.js +0 -14
  191. package/dist/cjs/styleTypes.js.map +0 -6
  192. package/dist/cjs/types.js +0 -14
  193. package/dist/cjs/types.js.map +0 -6
  194. package/dist/cjs/useColorScheme/index.js +0 -39
  195. package/dist/cjs/useColorScheme/index.js.map +0 -6
  196. package/dist/cjs/useLocaleContext/index.js +0 -21
  197. package/dist/cjs/useLocaleContext/index.js.map +0 -6
  198. package/dist/cjs/useWindowDimensions/index.js +0 -40
  199. package/dist/cjs/useWindowDimensions/index.js.map +0 -6
  200. package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
  201. package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
  202. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
  203. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  204. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
  205. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  206. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
  207. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  208. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
  209. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  210. package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
  211. package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
  212. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
  213. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  214. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
  215. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  216. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
  217. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  218. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
  219. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  220. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
  221. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  222. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
  223. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  224. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
  225. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  226. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
  227. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  228. package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
  229. package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
  230. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
  231. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  232. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
  233. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  234. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
  235. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  236. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
  237. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  238. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
  239. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  240. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
  241. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  242. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
  243. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  244. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
  245. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  246. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
  247. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  248. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
  249. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  250. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
  251. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  252. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
  253. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  254. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
  255. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  256. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
  257. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  258. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
  259. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  260. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
  261. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  262. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
  263. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  264. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
  265. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  266. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
  267. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  268. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
  269. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  270. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
  271. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  272. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
  273. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  274. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
  275. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  276. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
  277. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  278. package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
  279. package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
  280. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
  281. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  282. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
  283. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  284. package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
  285. package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
  286. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
  287. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
  288. package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
  289. package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
  290. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
  291. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  292. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
  293. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  294. package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
  295. package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
  296. package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
  297. package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
  298. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
  299. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  300. package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
  301. package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
  302. package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
  303. package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
  304. package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
  305. package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
  306. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
  307. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  308. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
  309. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  310. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
  311. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  312. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
  313. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  314. package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
  315. package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
  316. package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
  317. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
  318. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
  319. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  320. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
  321. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  322. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
  323. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  324. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
  325. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  326. package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
  327. package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
  328. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
  329. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  330. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
  331. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  332. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
  333. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  334. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
  335. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  336. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
  337. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  338. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
  339. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  340. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
  341. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  342. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
  343. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
  344. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
  345. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  346. package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
  347. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
  348. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
  349. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  350. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
  351. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  352. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
  353. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  354. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
  355. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  356. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
  357. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  358. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
  359. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  360. package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
  361. package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
  362. package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
  363. package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
  364. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
  365. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  366. package/dist/cjs/without-animated.js +0 -179
  367. package/dist/cjs/without-animated.js.map +0 -6
  368. package/dist/esm/AccessibilityInfo/index.js +0 -79
  369. package/dist/esm/AccessibilityInfo/index.js.map +0 -6
  370. package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
  371. package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
  372. package/dist/esm/ActivityIndicator/index.js +0 -88
  373. package/dist/esm/ActivityIndicator/index.js.map +0 -6
  374. package/dist/esm/Alert/index.js +0 -8
  375. package/dist/esm/Alert/index.js.map +0 -6
  376. package/dist/esm/AppRegistry/AppContainer.js +0 -20
  377. package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
  378. package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
  379. package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
  380. package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
  381. package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
  382. package/dist/esm/AppRegistry/index.js +0 -76
  383. package/dist/esm/AppRegistry/index.js.map +0 -6
  384. package/dist/esm/AppRegistry/renderApplication.js +0 -31
  385. package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
  386. package/dist/esm/AppState/__tests__/index-test.js +0 -14
  387. package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
  388. package/dist/esm/AppState/index.js +0 -55
  389. package/dist/esm/AppState/index.js.map +0 -6
  390. package/dist/esm/Appearance/index.js +0 -24
  391. package/dist/esm/Appearance/index.js.map +0 -6
  392. package/dist/esm/BackHandler/index.js +0 -15
  393. package/dist/esm/BackHandler/index.js.map +0 -6
  394. package/dist/esm/Clipboard/index.js +0 -31
  395. package/dist/esm/Clipboard/index.js.map +0 -6
  396. package/dist/esm/DeviceEmitter.js +0 -6
  397. package/dist/esm/DeviceEmitter.js.map +0 -6
  398. package/dist/esm/DeviceInfo/index.js +0 -38
  399. package/dist/esm/DeviceInfo/index.js.map +0 -6
  400. package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
  401. package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
  402. package/dist/esm/Dimensions/index.js +0 -60
  403. package/dist/esm/Dimensions/index.js.map +0 -6
  404. package/dist/esm/FlatList.js +0 -177
  405. package/dist/esm/FlatList.js.map +0 -6
  406. package/dist/esm/I18nManager/index.js +0 -13
  407. package/dist/esm/I18nManager/index.js.map +0 -6
  408. package/dist/esm/Image/index.js +0 -240
  409. package/dist/esm/Image/index.js.map +0 -6
  410. package/dist/esm/Image/types.js +0 -1
  411. package/dist/esm/Image/types.js.map +0 -6
  412. package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
  413. package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
  414. package/dist/esm/ImageBackground/index.js +0 -43
  415. package/dist/esm/ImageBackground/index.js.map +0 -6
  416. package/dist/esm/InteractionManager/TaskQueue.js +0 -59
  417. package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
  418. package/dist/esm/InteractionManager/index.js +0 -73
  419. package/dist/esm/InteractionManager/index.js.map +0 -6
  420. package/dist/esm/Keyboard/index.js +0 -18
  421. package/dist/esm/Keyboard/index.js.map +0 -6
  422. package/dist/esm/KeyboardAvoidingView/index.js +0 -35
  423. package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
  424. package/dist/esm/Linking/__tests__/index-test.js +0 -19
  425. package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
  426. package/dist/esm/Linking/index.js +0 -69
  427. package/dist/esm/Linking/index.js.map +0 -6
  428. package/dist/esm/LogBox/index.js +0 -16
  429. package/dist/esm/LogBox/index.js.map +0 -6
  430. package/dist/esm/Modal/ModalAnimation.js +0 -116
  431. package/dist/esm/Modal/ModalAnimation.js.map +0 -6
  432. package/dist/esm/Modal/ModalContent.js +0 -55
  433. package/dist/esm/Modal/ModalContent.js.map +0 -6
  434. package/dist/esm/Modal/ModalPortal.js +0 -20
  435. package/dist/esm/Modal/ModalPortal.js.map +0 -6
  436. package/dist/esm/Modal/index.js +0 -5
  437. package/dist/esm/Modal/index.js.map +0 -6
  438. package/dist/esm/NativeModules/index.js +0 -8
  439. package/dist/esm/NativeModules/index.js.map +0 -6
  440. package/dist/esm/PanResponder/index.js +0 -5
  441. package/dist/esm/PanResponder/index.js.map +0 -6
  442. package/dist/esm/PixelRatio/index.js +0 -36
  443. package/dist/esm/PixelRatio/index.js.map +0 -6
  444. package/dist/esm/Pressable/index.js +0 -122
  445. package/dist/esm/Pressable/index.js.map +0 -6
  446. package/dist/esm/RefreshControl/index.js +0 -26
  447. package/dist/esm/RefreshControl/index.js.map +0 -6
  448. package/dist/esm/SafeAreaView/index.js +0 -23
  449. package/dist/esm/SafeAreaView/index.js.map +0 -6
  450. package/dist/esm/ScrollView/ScrollViewBase.js +0 -104
  451. package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
  452. package/dist/esm/ScrollView/index.js +0 -515
  453. package/dist/esm/ScrollView/index.js.map +0 -6
  454. package/dist/esm/SectionList.js +0 -7
  455. package/dist/esm/SectionList.js.map +0 -6
  456. package/dist/esm/Share/index.js +0 -39
  457. package/dist/esm/Share/index.js.map +0 -6
  458. package/dist/esm/StatusBar/index.js +0 -16
  459. package/dist/esm/StatusBar/index.js.map +0 -6
  460. package/dist/esm/Text/index.js +0 -142
  461. package/dist/esm/Text/index.js.map +0 -6
  462. package/dist/esm/Text/types.js +0 -1
  463. package/dist/esm/Text/types.js.map +0 -6
  464. package/dist/esm/TextInput/index.js +0 -258
  465. package/dist/esm/TextInput/index.js.map +0 -6
  466. package/dist/esm/TextInput/types.js +0 -1
  467. package/dist/esm/TextInput/types.js.map +0 -6
  468. package/dist/esm/TouchableNativeFeedback.js +0 -5
  469. package/dist/esm/TouchableNativeFeedback.js.map +0 -6
  470. package/dist/esm/TouchableOpacity.js +0 -105
  471. package/dist/esm/TouchableOpacity.js.map +0 -6
  472. package/dist/esm/TouchableWithoutFeedback.js +0 -67
  473. package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
  474. package/dist/esm/UnimplementedView.js +0 -14
  475. package/dist/esm/UnimplementedView.js.map +0 -6
  476. package/dist/esm/Vibration/index.js +0 -14
  477. package/dist/esm/Vibration/index.js.map +0 -6
  478. package/dist/esm/View/index.js +0 -90
  479. package/dist/esm/View/index.js.map +0 -6
  480. package/dist/esm/View/types.js +0 -1
  481. package/dist/esm/View/types.js.map +0 -6
  482. package/dist/esm/VirtualizedList.js +0 -7
  483. package/dist/esm/VirtualizedList.js.map +0 -6
  484. package/dist/esm/codegenNativeCommand.js +0 -7
  485. package/dist/esm/codegenNativeCommand.js.map +0 -6
  486. package/dist/esm/codegenNativeComponent.js +0 -7
  487. package/dist/esm/codegenNativeComponent.js.map +0 -6
  488. package/dist/esm/createElement/__tests__/index-test.js +0 -519
  489. package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
  490. package/dist/esm/createElement/index.js +0 -48
  491. package/dist/esm/createElement/index.js.map +0 -6
  492. package/dist/esm/createReactDOMStyle.js +0 -5
  493. package/dist/esm/createReactDOMStyle.js.map +0 -6
  494. package/dist/esm/modules/requestIdleCallback.js +0 -18
  495. package/dist/esm/modules/requestIdleCallback.js.map +0 -6
  496. package/dist/esm/preprocess.js +0 -13
  497. package/dist/esm/preprocess.js.map +0 -6
  498. package/dist/esm/render/index.js +0 -15
  499. package/dist/esm/render/index.js.map +0 -6
  500. package/dist/esm/styleTypes.js +0 -1
  501. package/dist/esm/styleTypes.js.map +0 -6
  502. package/dist/esm/types.js +0 -1
  503. package/dist/esm/types.js.map +0 -6
  504. package/dist/esm/useColorScheme/index.js +0 -16
  505. package/dist/esm/useColorScheme/index.js.map +0 -6
  506. package/dist/esm/useLocaleContext/index.js +0 -5
  507. package/dist/esm/useLocaleContext/index.js.map +0 -6
  508. package/dist/esm/useWindowDimensions/index.js +0 -17
  509. package/dist/esm/useWindowDimensions/index.js.map +0 -6
  510. package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
  511. package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
  512. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
  513. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  514. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
  515. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  516. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
  517. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  518. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
  519. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  520. package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
  521. package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
  522. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
  523. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  524. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
  525. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  526. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
  527. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  528. package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
  529. package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  530. package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
  531. package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  532. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
  533. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  534. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
  535. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  536. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
  537. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  538. package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
  539. package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
  540. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
  541. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  542. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
  543. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  544. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
  545. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  546. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
  547. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  548. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
  549. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  550. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
  551. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  552. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
  553. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  554. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
  555. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  556. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
  557. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  558. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
  559. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  560. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
  561. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  562. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
  563. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  564. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
  565. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  566. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
  567. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  568. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
  569. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  570. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
  571. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  572. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
  573. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  574. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
  575. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  576. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
  577. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  578. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
  579. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  580. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
  581. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  582. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
  583. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  584. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
  585. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  586. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
  587. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  588. package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
  589. package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
  590. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
  591. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  592. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
  593. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  594. package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
  595. package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
  596. package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
  597. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
  598. package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
  599. package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
  600. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
  601. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  602. package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
  603. package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  604. package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
  605. package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
  606. package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
  607. package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
  608. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
  609. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  610. package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
  611. package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
  612. package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
  613. package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
  614. package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
  615. package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
  616. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
  617. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  618. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
  619. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  620. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
  621. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  622. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
  623. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  624. package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
  625. package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
  626. package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
  627. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
  628. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
  629. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  630. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
  631. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  632. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
  633. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  634. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
  635. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  636. package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
  637. package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
  638. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
  639. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  640. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
  641. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  642. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
  643. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  644. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
  645. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  646. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
  647. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  648. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
  649. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  650. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
  651. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  652. package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
  653. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
  654. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
  655. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  656. package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
  657. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
  658. package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
  659. package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  660. package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
  661. package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  662. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
  663. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  664. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
  665. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  666. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
  667. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  668. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
  669. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  670. package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
  671. package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
  672. package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
  673. package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
  674. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
  675. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  676. package/dist/esm/without-animated.js +0 -229
  677. package/dist/esm/without-animated.js.map +0 -6
@@ -1,525 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
- // If the importer is in node compatibility mode or this is not an ESM
17
- // file that has been converted to a CommonJS file using a Babel-
18
- // compatible transform (i.e. "__esModule" has not been set), then set
19
- // "default" to the CommonJS "module.exports" for node compatibility.
20
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
- mod
22
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
- var ScrollView_exports = {};
24
- __export(ScrollView_exports, {
25
- ScrollView: () => ForwardedScrollView,
26
- default: () => ScrollView_default
27
- });
28
- module.exports = __toCommonJS(ScrollView_exports);
29
- var import_react = __toESM(require("react"), 1), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_Dimensions = require("../Dimensions/index"), import_View = require("../View/index"), import_ScrollViewBase = require("./ScrollViewBase"), import_jsx_runtime = require("react/jsx-runtime");
30
- const emptyObject = {}, IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;
31
- class ScrollView extends import_react.default.Component {
32
- _scrollNodeRef;
33
- _innerViewRef;
34
- keyboardWillOpenTo = null;
35
- additionalScrollOffset = 0;
36
- preventNegativeScrollOffset = !1;
37
- isTouching = !1;
38
- lastMomentumScrollBeginTime = 0;
39
- lastMomentumScrollEndTime = 0;
40
- // Reset to false every time becomes responder. This is used to:
41
- // - Determine if the scroll view has been scrolled and therefore should
42
- // refuse to give up its responder lock.
43
- // - Determine if releasing should dismiss the keyboard when we are in
44
- // tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).
45
- observedScrollSinceBecomingResponder = !1;
46
- becameResponderWhileAnimating = !1;
47
- /**
48
- * Returns a reference to the underlying scroll responder, which supports
49
- * operations like `scrollTo`. All ScrollView-like components should
50
- * implement this method so that they can be composed while providing access
51
- * to the underlying scroll responder's methods.
52
- */
53
- getScrollResponder() {
54
- return this;
55
- }
56
- getScrollableNode() {
57
- return this._scrollNodeRef;
58
- }
59
- getInnerViewRef() {
60
- return this._innerViewRef;
61
- }
62
- getInnerViewNode() {
63
- return this._innerViewRef;
64
- }
65
- getNativeScrollRef() {
66
- return this._scrollNodeRef;
67
- }
68
- flashScrollIndicators = () => {
69
- this.scrollResponderFlashScrollIndicators();
70
- };
71
- /**
72
- * Scrolls to a given x, y offset, either immediately or with a smooth animation.
73
- * Syntax:
74
- *
75
- * scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
76
- *
77
- * Note: The weird argument signature is due to the fact that, for historical reasons,
78
- * the function also accepts separate arguments as as alternative to the options object.
79
- * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
80
- */
81
- scrollTo = (y, x, animated) => {
82
- typeof y == "number" ? console.warn(
83
- "`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead."
84
- ) : { x, y, animated } = y || emptyObject, this.scrollResponderScrollTo({
85
- x: x || 0,
86
- y: y || 0,
87
- animated: animated !== !1
88
- });
89
- };
90
- /**
91
- * If this is a vertical ScrollView scrolls to the bottom.
92
- * If this is a horizontal ScrollView scrolls to the right.
93
- *
94
- * Use `scrollToEnd({ animated: true })` for smooth animated scrolling,
95
- * `scrollToEnd({ animated: false })` for immediate scrolling.
96
- * If no options are passed, `animated` defaults to true.
97
- */
98
- scrollToEnd = (options) => {
99
- const animated = (options && options.animated) !== !1, { horizontal } = this.props, scrollResponderNode = this.getScrollableNode(), x = horizontal ? scrollResponderNode.scrollWidth : 0, y = horizontal ? 0 : scrollResponderNode.scrollHeight;
100
- this.scrollResponderScrollTo({ x, y, animated });
101
- };
102
- render() {
103
- const {
104
- contentContainerStyle,
105
- horizontal,
106
- onContentSizeChange,
107
- refreshControl,
108
- stickyHeaderIndices,
109
- pagingEnabled,
110
- /* eslint-disable */
111
- forwardedRef,
112
- keyboardDismissMode,
113
- onScroll,
114
- centerContent,
115
- /* eslint-enable */
116
- ...other
117
- } = this.props;
118
- if (process.env.NODE_ENV !== "production" && this.props.style) {
119
- const style = import_react_native_web_internals.StyleSheet.flatten(this.props.style), childLayoutProps = ["alignItems", "justifyContent"].filter(
120
- (prop) => style && style[prop] !== void 0
121
- );
122
- (0, import_react_native_web_internals.invariant)(
123
- childLayoutProps.length === 0,
124
- `ScrollView child layout (${JSON.stringify(childLayoutProps)}) must be applied through the contentContainerStyle prop.`
125
- );
126
- }
127
- let contentSizeChangeProps = {};
128
- onContentSizeChange && (contentSizeChangeProps = {
129
- onLayout: this._handleContentOnLayout.bind(this)
130
- });
131
- const hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices), children = hasStickyHeaderIndices || pagingEnabled ? import_react.default.Children.map(this.props.children, (child, i) => {
132
- const isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
133
- return child != null && (isSticky || pagingEnabled) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
134
- import_View.View,
135
- {
136
- style: import_react_native_web_internals.StyleSheet.compose(
137
- isSticky && styles.stickyHeader,
138
- pagingEnabled && styles.pagingEnabledChild
139
- ),
140
- children: child
141
- }
142
- ) : child;
143
- }) : this.props.children, contentContainer = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
144
- import_View.View,
145
- {
146
- ...contentSizeChangeProps,
147
- collapsable: !1,
148
- ref: this._setInnerViewRef.bind(this),
149
- style: [
150
- horizontal && styles.contentContainerHorizontal,
151
- centerContent && styles.contentContainerCenterContent,
152
- contentContainerStyle
153
- ],
154
- children
155
- }
156
- ), baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical, pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical, props = {
157
- ...other,
158
- style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],
159
- onTouchStart: this.scrollResponderHandleTouchStart.bind(this),
160
- onTouchMove: this.scrollResponderHandleTouchMove.bind(this),
161
- onTouchEnd: this.scrollResponderHandleTouchEnd.bind(this),
162
- onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag.bind(this),
163
- onScrollEndDrag: this.scrollResponderHandleScrollEndDrag.bind(this),
164
- onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin.bind(this),
165
- onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd.bind(this),
166
- onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder.bind(this),
167
- onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture.bind(this),
168
- onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder.bind(this),
169
- onScroll: this._handleScroll.bind(this),
170
- onResponderGrant: this.scrollResponderHandleResponderGrant.bind(this),
171
- onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest.bind(this),
172
- onResponderRelease: this.scrollResponderHandleResponderRelease.bind(this),
173
- onResponderReject: this.scrollResponderHandleResponderReject.bind(this),
174
- onResponderTerminate: this.scrollResponderHandleTerminate.bind(this)
175
- }, ScrollViewClass = import_ScrollViewBase.ScrollViewBase;
176
- (0, import_react_native_web_internals.invariant)(ScrollViewClass !== void 0, "ScrollViewClass must not be undefined");
177
- const scrollView = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollViewClass, { ...props, ref: this._setScrollNodeRef.bind(this), children: contentContainer });
178
- return refreshControl ? import_react.default.cloneElement(refreshControl, { style: props.style }, scrollView) : scrollView;
179
- }
180
- _handleContentOnLayout(e) {
181
- const { width, height } = e.nativeEvent.layout;
182
- this.props.onContentSizeChange?.(width, height);
183
- }
184
- _handleScroll(e) {
185
- process.env.NODE_ENV !== "production" && this.props.onScroll && this.props.scrollEventThrottle == null && console.info(
186
- "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."
187
- ), this.props.keyboardDismissMode === "on-drag" && (0, import_react_native_web_internals.dismissKeyboard)(), this.scrollResponderHandleScroll(e);
188
- }
189
- _setInnerViewRef(node) {
190
- this._innerViewRef = node;
191
- }
192
- _setScrollNodeRef(node) {
193
- 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), (0, import_react_native_web_internals.mergeRefs)(this.props.forwardedRef)(node);
194
- }
195
- /**
196
- * Invoke this from an `onScroll` event.
197
- */
198
- scrollResponderHandleScrollShouldSetResponder() {
199
- return this.isTouching;
200
- }
201
- /**
202
- * Merely touch starting is not sufficient for a scroll view to become the
203
- * responder. Being the "responder" means that the very next touch move/end
204
- * event will result in an action/movement.
205
- *
206
- * Invoke this from an `onStartShouldSetResponder` event.
207
- *
208
- * `onStartShouldSetResponder` is used when the next move/end will trigger
209
- * some UI movement/action, but when you want to yield priority to views
210
- * nested inside of the view.
211
- *
212
- * There may be some cases where scroll views actually should return `true`
213
- * from `onStartShouldSetResponder`: Any time we are detecting a standard tap
214
- * that gives priority to nested views.
215
- *
216
- * - If a single tap on the scroll view triggers an action such as
217
- * recentering a map style view yet wants to give priority to interaction
218
- * views inside (such as dropped pins or labels), then we would return true
219
- * from this method when there is a single touch.
220
- *
221
- * - Similar to the previous case, if a two finger "tap" should trigger a
222
- * zoom, we would check the `touches` count, and if `>= 2`, we would return
223
- * true.
224
- *
225
- */
226
- scrollResponderHandleStartShouldSetResponder() {
227
- return !1;
228
- }
229
- /**
230
- * There are times when the scroll view wants to become the responder
231
- * (meaning respond to the next immediate `touchStart/touchEnd`), in a way
232
- * that *doesn't* give priority to nested views (hence the capture phase):
233
- *
234
- * - Currently animating.
235
- * - Tapping anywhere that is not the focused input, while the keyboard is
236
- * up (which should dismiss the keyboard).
237
- *
238
- * Invoke this from an `onStartShouldSetResponderCapture` event.
239
- */
240
- scrollResponderHandleStartShouldSetResponderCapture(e) {
241
- return this.scrollResponderIsAnimating();
242
- }
243
- /**
244
- * Invoke this from an `onResponderReject` event.
245
- *
246
- * Some other element is not yielding its role as responder. Normally, we'd
247
- * just disable the `UIScrollView`, but a touch has already began on it, the
248
- * `UIScrollView` will not accept being disabled after that. The easiest
249
- * solution for now is to accept the limitation of disallowing this
250
- * altogether. To improve this, find a way to disable the `UIScrollView` after
251
- * a touch has already started.
252
- */
253
- scrollResponderHandleResponderReject() {
254
- (0, import_react_native_web_internals.warning)(!1, "ScrollView doesn't take rejection well - scrolls anyway");
255
- }
256
- /**
257
- * We will allow the scroll view to give up its lock iff it acquired the lock
258
- * during an animation. This is a very useful default that happens to satisfy
259
- * many common user experiences.
260
- *
261
- * - Stop a scroll on the left edge, then turn that into an outer view's
262
- * backswipe.
263
- * - Stop a scroll mid-bounce at the top, continue pulling to have the outer
264
- * view dismiss.
265
- * - However, without catching the scroll view mid-bounce (while it is
266
- * motionless), if you drag far enough for the scroll view to become
267
- * responder (and therefore drag the scroll view a bit), any backswipe
268
- * navigation of a swipe gesture higher in the view hierarchy, should be
269
- * rejected.
270
- */
271
- scrollResponderHandleTerminationRequest() {
272
- return !this.observedScrollSinceBecomingResponder;
273
- }
274
- /**
275
- * Invoke this from an `onTouchEnd` event.
276
- *
277
- * @param {SyntheticEvent} e Event.
278
- */
279
- scrollResponderHandleTouchEnd(e) {
280
- const nativeEvent = e.nativeEvent;
281
- this.isTouching = nativeEvent.touches.length !== 0, this.props.onTouchEnd && this.props.onTouchEnd(e);
282
- }
283
- /**
284
- * Invoke this from an `onResponderRelease` event.
285
- */
286
- scrollResponderHandleResponderRelease(e) {
287
- this.props.onResponderRelease && this.props.onResponderRelease(e);
288
- const currentlyFocusedTextInput = import_react_native_web_internals.TextInputState.currentlyFocusedField();
289
- !this.props.keyboardShouldPersistTaps && currentlyFocusedTextInput != null && e.target !== currentlyFocusedTextInput && !this.observedScrollSinceBecomingResponder && !this.becameResponderWhileAnimating && (this.props.onScrollResponderKeyboardDismissed && this.props.onScrollResponderKeyboardDismissed(e), import_react_native_web_internals.TextInputState.blurTextInput(currentlyFocusedTextInput));
290
- }
291
- scrollResponderHandleScroll(e) {
292
- this.observedScrollSinceBecomingResponder = !0, this.props.onScroll && this.props.onScroll(e);
293
- }
294
- /**
295
- * Invoke this from an `onResponderGrant` event.
296
- */
297
- scrollResponderHandleResponderGrant(e) {
298
- this.observedScrollSinceBecomingResponder = !1, this.props.onResponderGrant && this.props.onResponderGrant(e), this.becameResponderWhileAnimating = this.scrollResponderIsAnimating();
299
- }
300
- /**
301
- * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll
302
- * animation, and there's not an easy way to distinguish a drag vs. stopping
303
- * momentum.
304
- *
305
- * Invoke this from an `onScrollBeginDrag` event.
306
- */
307
- scrollResponderHandleScrollBeginDrag(e) {
308
- this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);
309
- }
310
- /**
311
- * Invoke this from an `onScrollEndDrag` event.
312
- */
313
- scrollResponderHandleScrollEndDrag(e) {
314
- this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);
315
- }
316
- /**
317
- * Invoke this from an `onMomentumScrollBegin` event.
318
- */
319
- scrollResponderHandleMomentumScrollBegin(e) {
320
- this.lastMomentumScrollBeginTime = Date.now(), this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);
321
- }
322
- /**
323
- * Invoke this from an `onMomentumScrollEnd` event.
324
- */
325
- scrollResponderHandleMomentumScrollEnd(e) {
326
- this.lastMomentumScrollEndTime = Date.now(), this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);
327
- }
328
- /**
329
- * Invoke this from an `onTouchStart` event.
330
- *
331
- * Since we know that the `SimpleEventPlugin` occurs later in the plugin
332
- * order, after `ResponderEventPlugin`, we can detect that we were *not*
333
- * permitted to be the responder (presumably because a contained view became
334
- * responder). The `onResponderReject` won't fire in that case - it only
335
- * fires when a *current* responder rejects our request.
336
- *
337
- * @param {SyntheticEvent} e Touch Start event.
338
- */
339
- scrollResponderHandleTouchStart(e) {
340
- this.isTouching = !0, this.props.onTouchStart && this.props.onTouchStart(e);
341
- }
342
- /**
343
- * Invoke this from an `onTouchMove` event.
344
- *
345
- * Since we know that the `SimpleEventPlugin` occurs later in the plugin
346
- * order, after `ResponderEventPlugin`, we can detect that we were *not*
347
- * permitted to be the responder (presumably because a contained view became
348
- * responder). The `onResponderReject` won't fire in that case - it only
349
- * fires when a *current* responder rejects our request.
350
- *
351
- * @param {SyntheticEvent} e Touch Start event.
352
- */
353
- scrollResponderHandleTouchMove(e) {
354
- this.props.onTouchMove && this.props.onTouchMove(e);
355
- }
356
- scrollResponderHandleTerminate(e) {
357
- this.props.onResponderTerminate && this.props.onResponderTerminate(e);
358
- }
359
- /**
360
- * A helper function for this class that lets us quickly determine if the
361
- * view is currently animating. This is particularly useful to know when
362
- * a touch has just started or ended.
363
- */
364
- scrollResponderIsAnimating() {
365
- return Date.now() - this.lastMomentumScrollEndTime < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.lastMomentumScrollEndTime < this.lastMomentumScrollBeginTime;
366
- }
367
- /**
368
- * A helper function to scroll to a specific point in the scrollview.
369
- * This is currently used to help focus on child textviews, but can also
370
- * be used to quickly scroll to any element we want to focus. Syntax:
371
- *
372
- * scrollResponderScrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
373
- *
374
- * Note: The weird argument signature is due to the fact that, for historical reasons,
375
- * the function also accepts separate arguments as as alternative to the options object.
376
- * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
377
- */
378
- scrollResponderScrollTo = (x, y, animated) => {
379
- typeof x == "number" ? console.warn(
380
- "`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead."
381
- ) : { x, y, animated } = x || emptyObject;
382
- const node = this.getScrollableNode(), left = x || 0, top = y || 0;
383
- node != null && (typeof node.scroll == "function" ? node.scroll({ top, left, behavior: animated ? "smooth" : "auto" }) : (node.scrollLeft = left, node.scrollTop = top));
384
- };
385
- /**
386
- * A helper function to zoom to a specific rect in the scrollview. The argument has the shape
387
- * {x: number; y: number; width: number; height: number; animated: boolean = true}
388
- *
389
- * @platform ios
390
- */
391
- scrollResponderZoomTo = (rect, animated) => {
392
- import_react_native_web_internals.Platform.OS !== "ios" && (0, import_react_native_web_internals.invariant)("zoomToRect is not implemented");
393
- };
394
- /**
395
- * Displays the scroll indicators momentarily.
396
- */
397
- scrollResponderFlashScrollIndicators() {
398
- }
399
- /**
400
- * This method should be used as the callback to onFocus in a TextInputs'
401
- * parent view. Note that any module using this mixin needs to return
402
- * the parent view's ref in getScrollViewRef() in order to use this method.
403
- * @param {any} nodeHandle The TextInput node handle
404
- * @param {number} additionalOffset The scroll view's top "contentInset".
405
- * Default is 0.
406
- * @param {bool} preventNegativeScrolling Whether to allow pulling the content
407
- * down to make it meet the keyboard's top. Default is false.
408
- */
409
- scrollResponderScrollNativeHandleToKeyboard = (nodeHandle, additionalOffset, preventNegativeScrollOffset) => {
410
- this.additionalScrollOffset = additionalOffset || 0, this.preventNegativeScrollOffset = !!preventNegativeScrollOffset, import_react_native_web_internals.UIManager.measureLayout(
411
- nodeHandle,
412
- this.getInnerViewNode(),
413
- this.scrollResponderTextInputFocusError,
414
- this.scrollResponderInputMeasureAndScrollToKeyboard
415
- );
416
- };
417
- /**
418
- * The calculations performed here assume the scroll view takes up the entire
419
- * screen - even if has some content inset. We then measure the offsets of the
420
- * keyboard, and compensate both for the scroll view's "contentInset".
421
- *
422
- * @param {number} left Position of input w.r.t. table view.
423
- * @param {number} top Position of input w.r.t. table view.
424
- * @param {number} width Width of the text input.
425
- * @param {number} height Height of the text input.
426
- */
427
- scrollResponderInputMeasureAndScrollToKeyboard = (left, top, width, height) => {
428
- let keyboardScreenY = import_Dimensions.Dimensions.get("window").height;
429
- this.keyboardWillOpenTo && (keyboardScreenY = this.keyboardWillOpenTo.endCoordinates.screenY);
430
- let scrollOffsetY = top - keyboardScreenY + height + this.additionalScrollOffset;
431
- this.preventNegativeScrollOffset && (scrollOffsetY = Math.max(0, scrollOffsetY)), this.scrollResponderScrollTo({ x: 0, y: scrollOffsetY, animated: !0 }), this.additionalScrollOffset = 0, this.preventNegativeScrollOffset = !1;
432
- };
433
- scrollResponderTextInputFocusError(e) {
434
- console.error("Error measuring text field: ", e);
435
- }
436
- /**
437
- * Warning, this may be called several times for a single keyboard opening.
438
- * It's best to store the information in this method and then take any action
439
- * at a later point (either in `keyboardDidShow` or other).
440
- *
441
- * Here's the order that events occur in:
442
- * - focus
443
- * - willShow {startCoordinates, endCoordinates} several times
444
- * - didShow several times
445
- * - blur
446
- * - willHide {startCoordinates, endCoordinates} several times
447
- * - didHide several times
448
- *
449
- * The `ScrollResponder` providesModule callbacks for each of these events.
450
- * Even though any user could have easily listened to keyboard events
451
- * themselves, using these `props` callbacks ensures that ordering of events
452
- * is consistent - and not dependent on the order that the keyboard events are
453
- * subscribed to. This matters when telling the scroll view to scroll to where
454
- * the keyboard is headed - the scroll responder better have been notified of
455
- * the keyboard destination before being instructed to scroll to where the
456
- * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything
457
- * will work.
458
- *
459
- * WARNING: These callbacks will fire even if a keyboard is displayed in a
460
- * different navigation pane. Filter out the events to determine if they are
461
- * relevant to you. (For example, only if you receive these callbacks after
462
- * you had explicitly focused a node etc).
463
- */
464
- scrollResponderKeyboardWillShow = (e) => {
465
- this.keyboardWillOpenTo = e, this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);
466
- };
467
- scrollResponderKeyboardWillHide = (e) => {
468
- this.keyboardWillOpenTo = null, this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);
469
- };
470
- scrollResponderKeyboardDidShow = (e) => {
471
- e && (this.keyboardWillOpenTo = e), this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);
472
- };
473
- scrollResponderKeyboardDidHide = (e) => {
474
- this.keyboardWillOpenTo = null, this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);
475
- };
476
- }
477
- const commonStyle = {
478
- flexGrow: 1,
479
- flexShrink: 1,
480
- // Enable hardware compositing in modern browsers.
481
- // Creates a new layer with its own backing surface that can significantly
482
- // improve scroll performance.
483
- transform: [{ translateZ: 0 }],
484
- // iOS native scrolling
485
- WebkitOverflowScrolling: "touch"
486
- }, styles = {
487
- baseVertical: {
488
- ...commonStyle,
489
- flexDirection: "column",
490
- overflowX: "hidden",
491
- overflowY: "auto"
492
- },
493
- baseHorizontal: {
494
- ...commonStyle,
495
- flexDirection: "row",
496
- overflowX: "auto",
497
- overflowY: "hidden"
498
- },
499
- contentContainerHorizontal: {
500
- flexDirection: "row"
501
- },
502
- contentContainerCenterContent: {
503
- justifyContent: "center",
504
- flexGrow: 1
505
- },
506
- stickyHeader: {
507
- position: "sticky",
508
- top: 0,
509
- zIndex: 10
510
- },
511
- pagingEnabledHorizontal: {
512
- scrollSnapType: "x mandatory"
513
- },
514
- pagingEnabledVertical: {
515
- scrollSnapType: "y mandatory"
516
- },
517
- pagingEnabledChild: {
518
- scrollSnapAlign: "start"
519
- }
520
- }, ForwardedScrollView = import_react.default.forwardRef(
521
- (props, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollView, { ...props, forwardedRef })
522
- );
523
- ForwardedScrollView.displayName = "ScrollView";
524
- var ScrollView_default = ForwardedScrollView;
525
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/ScrollView/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,mBAAkB,8BAClB,oCASO,gDAEP,oBAA2B,gCAC3B,cAAqB,0BACrB,wBAA+B,6BAmJf;AAjJhB,MAAM,cAAc,CAAC,GACf,wCAAwC;AAI9C,MAAM,mBAAmB,aAAAA,QAAM,UAAe;AAAA,EAC5C;AAAA,EACA;AAAA,EAEA,qBAA0B;AAAA,EAC1B,yBAAyB;AAAA,EACzB,8BAA8B;AAAA,EAC9B,aAAa;AAAA,EACb,8BAA8B;AAAA,EAC9B,4BAA4B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAO5B,uCAAuC;AAAA,EACvC,gCAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQhC,qBAAqB;AACnB,WAAO;AAAA,EACT;AAAA,EAEA,oBAAoB;AAClB,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,kBAAkB;AACh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AChE;AACF;AAEA,MAAM,cAAc;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA;AAAA;AAAA;AAAA,EAIZ,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;AAAA;AAAA,EAE7B,yBAAyB;AAC3B,GAEM,SAAS;AAAA,EACb,cAAc;AAAA,IACZ,GAAG;AAAA,IACH,eAAe;AAAA,IACf,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,gBAAgB;AAAA,IACd,GAAG;AAAA,IACH,eAAe;AAAA,IACf,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,4BAA4B;AAAA,IAC1B,eAAe;AAAA,EACjB;AAAA,EACA,+BAA+B;AAAA,IAC7B,gBAAgB;AAAA,IAChB,UAAU;AAAA,EACZ;AAAA,EACA,cAAc;AAAA,IACZ,UAAU;AAAA,IACV,KAAK;AAAA,IACL,QAAQ;AAAA,EACV;AAAA,EACA,yBAAyB;AAAA,IACvB,gBAAgB;AAAA,EAClB;AAAA,EACA,uBAAuB;AAAA,IACrB,gBAAgB;AAAA,EAClB;AAAA,EACA,oBAAoB;AAAA,IAClB,iBAAiB;AAAA,EACnB;AACF,GA2BM,sBAAsB,aAAAA,QAAM;AAAA,EAChC,CAAC,OAAO,iBACC,4CAAC,cAAY,GAAG,OAAO,cAA4B;AAE9D;AAEA,oBAAoB,cAAc;AAGlC,IAAO,qBAAQ;",
5
- "names": ["React"]
6
- }
@@ -1,30 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
- // If the importer is in node compatibility mode or this is not an ESM
17
- // file that has been converted to a CommonJS file using a Babel-
18
- // compatible transform (i.e. "__esModule" has not been set), then set
19
- // "default" to the CommonJS "module.exports" for node compatibility.
20
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
- mod
22
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
- var SectionList_exports = {};
24
- __export(SectionList_exports, {
25
- SectionList: () => import_SectionList.default,
26
- default: () => import_SectionList2.SectionList
27
- });
28
- module.exports = __toCommonJS(SectionList_exports);
29
- var import_SectionList = __toESM(require("./vendor/react-native/SectionList"), 1), import_SectionList2 = require("./vendor/react-native/SectionList");
30
- //# sourceMappingURL=SectionList.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/SectionList.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,yBAAuC,0DACvCA,sBAAuC;",
5
- "names": ["import_SectionList"]
6
- }
@@ -1,55 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var Share_exports = {};
16
- __export(Share_exports, {
17
- Share: () => Share
18
- });
19
- module.exports = __toCommonJS(Share_exports);
20
- var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
21
- class Share {
22
- static share(content, options = {}) {
23
- return (0, import_react_native_web_internals.invariant)(
24
- typeof content == "object" && content !== null,
25
- "Content to share must be a valid object"
26
- ), (0, import_react_native_web_internals.invariant)(
27
- typeof content.url == "string" || typeof content.message == "string",
28
- "At least one of URL and message is required"
29
- ), (0, import_react_native_web_internals.invariant)(
30
- typeof options == "object" && options !== null,
31
- "Options must be a valid object"
32
- ), (0, import_react_native_web_internals.invariant)(
33
- !content.title || typeof content.title == "string",
34
- "Invalid title: title should be a string."
35
- ), window.navigator.share !== void 0 ? window.navigator.share({
36
- title: content.title,
37
- text: content.message,
38
- url: content.url
39
- }) : Promise.reject(new Error("Share is not supported in this browser"));
40
- }
41
- /**
42
- * The content was successfully shared.
43
- */
44
- static get sharedAction() {
45
- return "sharedAction";
46
- }
47
- /**
48
- * The dialog has been dismissed.
49
- * @platform ios
50
- */
51
- static get dismissedAction() {
52
- return "dismissedAction";
53
- }
54
- }
55
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/Share/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,wCAA0B;AAcnB,MAAM,MAAM;AAAA,EACjB,OAAO,MAAM,SAAkB,UAAkB,CAAC,GAAkB;AAkBlE,eAjBA;AAAA,MACE,OAAO,WAAY,YAAY,YAAY;AAAA,MAC3C;AAAA,IACF,OACA;AAAA,MACE,OAAO,QAAQ,OAAQ,YAAY,OAAO,QAAQ,WAAY;AAAA,MAC9D;AAAA,IACF,OACA;AAAA,MACE,OAAO,WAAY,YAAY,YAAY;AAAA,MAC3C;AAAA,IACF,OACA;AAAA,MACE,CAAC,QAAQ,SAAS,OAAO,QAAQ,SAAU;AAAA,MAC3C;AAAA,IACF,GAEI,OAAO,UAAU,UAAU,SACtB,OAAO,UAAU,MAAM;AAAA,MAC5B,OAAO,QAAQ;AAAA,MACf,MAAM,QAAQ;AAAA,MACd,KAAK,QAAQ;AAAA,IACf,CAAC,IAEM,QAAQ,OAAO,IAAI,MAAM,wCAAwC,CAAC;AAAA,EAE7E;AAAA;AAAA;AAAA;AAAA,EAKA,WAAW,eAAuB;AAChC,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAW,kBAA0B;AACnC,WAAO;AAAA,EACT;AACF;",
5
- "names": []
6
- }