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

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 (676) 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/index.js +76 -18
  7. package/dist/cjs/preprocess.cjs +1 -0
  8. package/dist/cjs/without-animated.cjs +134 -43
  9. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +1 -1
  10. package/dist/esm/AppRegistry/__tests__/index-test.mjs +1 -1
  11. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +2 -2
  12. package/dist/esm/AppState/__tests__/index-test.mjs +1 -1
  13. package/dist/esm/Dimensions/__tests__/index-test.mjs +1 -1
  14. package/dist/esm/FlatList.mjs +4 -4
  15. package/dist/esm/ImageBackground/__tests__/index-test.mjs +2 -2
  16. package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
  17. package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
  18. package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
  19. package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
  20. package/dist/esm/Linking/__tests__/index-test.mjs +1 -1
  21. package/dist/esm/Modal/ModalContent.mjs +1 -1
  22. package/dist/esm/ScrollView/ScrollViewBase.mjs +9 -7
  23. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
  24. package/dist/esm/ScrollView/index.mjs +31 -0
  25. package/dist/esm/ScrollView/index.mjs.map +1 -1
  26. package/dist/esm/SectionList.mjs +2 -2
  27. package/dist/esm/TouchableOpacity.mjs +1 -1
  28. package/dist/esm/VirtualizedList.mjs +2 -2
  29. package/dist/esm/createElement/__tests__/index-test.mjs +1 -1
  30. package/dist/esm/createReactDOMStyle.mjs +2 -1
  31. package/dist/esm/createReactDOMStyle.mjs.map +1 -1
  32. package/dist/esm/index.js +54 -160
  33. package/dist/esm/index.js.map +1 -6
  34. package/dist/esm/preprocess.mjs +2 -2
  35. package/dist/esm/preprocess.mjs.map +1 -1
  36. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
  37. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +1 -1
  38. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -1
  39. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -1
  40. package/dist/esm/vendor/react-native/FlatList/index.mjs +4 -4
  41. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +1 -1
  42. package/dist/esm/vendor/react-native/SectionList/index.mjs +1 -1
  43. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +1 -1
  44. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +1 -1
  45. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +4 -4
  46. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +1 -1
  47. package/dist/esm/without-animated.mjs +133 -42
  48. package/dist/esm/without-animated.mjs.map +1 -1
  49. package/package.json +34 -8
  50. package/src/Libraries/Pressability/Pressability.ts +2 -0
  51. package/src/Libraries/Pressability/usePressability.ts +2 -0
  52. package/src/ScrollView/ScrollViewBase.tsx +12 -7
  53. package/src/ScrollView/index.tsx +31 -0
  54. package/src/createReactDOMStyle.ts +4 -1
  55. package/src/preprocess.ts +1 -0
  56. package/src/without-animated.tsx +156 -27
  57. package/dist/cjs/AccessibilityInfo/index.js +0 -95
  58. package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
  59. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
  60. package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
  61. package/dist/cjs/ActivityIndicator/index.js +0 -109
  62. package/dist/cjs/ActivityIndicator/index.js.map +0 -6
  63. package/dist/cjs/Alert/index.js +0 -24
  64. package/dist/cjs/Alert/index.js.map +0 -6
  65. package/dist/cjs/AppRegistry/AppContainer.js +0 -41
  66. package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
  67. package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
  68. package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
  69. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
  70. package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
  71. package/dist/cjs/AppRegistry/index.js +0 -90
  72. package/dist/cjs/AppRegistry/index.js.map +0 -6
  73. package/dist/cjs/AppRegistry/renderApplication.js +0 -43
  74. package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
  75. package/dist/cjs/AppState/__tests__/index-test.js +0 -33
  76. package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
  77. package/dist/cjs/AppState/index.js +0 -71
  78. package/dist/cjs/AppState/index.js.map +0 -6
  79. package/dist/cjs/Appearance/index.js +0 -40
  80. package/dist/cjs/Appearance/index.js.map +0 -6
  81. package/dist/cjs/BackHandler/index.js +0 -31
  82. package/dist/cjs/BackHandler/index.js.map +0 -6
  83. package/dist/cjs/Clipboard/index.js +0 -47
  84. package/dist/cjs/Clipboard/index.js.map +0 -6
  85. package/dist/cjs/DeviceEmitter.js +0 -22
  86. package/dist/cjs/DeviceEmitter.js.map +0 -6
  87. package/dist/cjs/DeviceInfo/index.js +0 -53
  88. package/dist/cjs/DeviceInfo/index.js.map +0 -6
  89. package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
  90. package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
  91. package/dist/cjs/Dimensions/index.js +0 -76
  92. package/dist/cjs/Dimensions/index.js.map +0 -6
  93. package/dist/cjs/FlatList.js +0 -194
  94. package/dist/cjs/FlatList.js.map +0 -6
  95. package/dist/cjs/I18nManager/index.js +0 -29
  96. package/dist/cjs/I18nManager/index.js.map +0 -6
  97. package/dist/cjs/Image/index.js +0 -254
  98. package/dist/cjs/Image/index.js.map +0 -6
  99. package/dist/cjs/Image/types.js +0 -14
  100. package/dist/cjs/Image/types.js.map +0 -6
  101. package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
  102. package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
  103. package/dist/cjs/ImageBackground/index.js +0 -55
  104. package/dist/cjs/ImageBackground/index.js.map +0 -6
  105. package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
  106. package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
  107. package/dist/cjs/InteractionManager/index.js +0 -94
  108. package/dist/cjs/InteractionManager/index.js.map +0 -6
  109. package/dist/cjs/Keyboard/index.js +0 -34
  110. package/dist/cjs/Keyboard/index.js.map +0 -6
  111. package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
  112. package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
  113. package/dist/cjs/Linking/__tests__/index-test.js +0 -38
  114. package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
  115. package/dist/cjs/Linking/index.js +0 -85
  116. package/dist/cjs/Linking/index.js.map +0 -6
  117. package/dist/cjs/LogBox/index.js +0 -32
  118. package/dist/cjs/LogBox/index.js.map +0 -6
  119. package/dist/cjs/Modal/ModalAnimation.js +0 -137
  120. package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
  121. package/dist/cjs/Modal/ModalContent.js +0 -77
  122. package/dist/cjs/Modal/ModalContent.js.map +0 -6
  123. package/dist/cjs/Modal/ModalPortal.js +0 -42
  124. package/dist/cjs/Modal/ModalPortal.js.map +0 -6
  125. package/dist/cjs/Modal/index.js +0 -21
  126. package/dist/cjs/Modal/index.js.map +0 -6
  127. package/dist/cjs/NativeModules/index.js +0 -24
  128. package/dist/cjs/NativeModules/index.js.map +0 -6
  129. package/dist/cjs/PanResponder/index.js +0 -29
  130. package/dist/cjs/PanResponder/index.js.map +0 -6
  131. package/dist/cjs/PixelRatio/index.js +0 -52
  132. package/dist/cjs/PixelRatio/index.js.map +0 -6
  133. package/dist/cjs/Pressable/index.js +0 -141
  134. package/dist/cjs/Pressable/index.js.map +0 -6
  135. package/dist/cjs/RefreshControl/index.js +0 -41
  136. package/dist/cjs/RefreshControl/index.js.map +0 -6
  137. package/dist/cjs/SafeAreaView/index.js +0 -44
  138. package/dist/cjs/SafeAreaView/index.js.map +0 -6
  139. package/dist/cjs/ScrollView/ScrollViewBase.js +0 -125
  140. package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
  141. package/dist/cjs/ScrollView/index.js +0 -525
  142. package/dist/cjs/ScrollView/index.js.map +0 -6
  143. package/dist/cjs/SectionList.js +0 -30
  144. package/dist/cjs/SectionList.js.map +0 -6
  145. package/dist/cjs/Share/index.js +0 -55
  146. package/dist/cjs/Share/index.js.map +0 -6
  147. package/dist/cjs/StatusBar/index.js +0 -32
  148. package/dist/cjs/StatusBar/index.js.map +0 -6
  149. package/dist/cjs/Text/index.js +0 -153
  150. package/dist/cjs/Text/index.js.map +0 -6
  151. package/dist/cjs/Text/types.js +0 -14
  152. package/dist/cjs/Text/types.js.map +0 -6
  153. package/dist/cjs/TextInput/index.js +0 -269
  154. package/dist/cjs/TextInput/index.js.map +0 -6
  155. package/dist/cjs/TextInput/types.js +0 -14
  156. package/dist/cjs/TextInput/types.js.map +0 -6
  157. package/dist/cjs/TouchableNativeFeedback.js +0 -21
  158. package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
  159. package/dist/cjs/TouchableOpacity.js +0 -122
  160. package/dist/cjs/TouchableOpacity.js.map +0 -6
  161. package/dist/cjs/TouchableWithoutFeedback.js +0 -89
  162. package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
  163. package/dist/cjs/UnimplementedView.js +0 -36
  164. package/dist/cjs/UnimplementedView.js.map +0 -6
  165. package/dist/cjs/Vibration/index.js +0 -30
  166. package/dist/cjs/Vibration/index.js.map +0 -6
  167. package/dist/cjs/View/index.js +0 -102
  168. package/dist/cjs/View/index.js.map +0 -6
  169. package/dist/cjs/View/types.js +0 -14
  170. package/dist/cjs/View/types.js.map +0 -6
  171. package/dist/cjs/VirtualizedList.js +0 -30
  172. package/dist/cjs/VirtualizedList.js.map +0 -6
  173. package/dist/cjs/codegenNativeCommand.js +0 -23
  174. package/dist/cjs/codegenNativeCommand.js.map +0 -6
  175. package/dist/cjs/codegenNativeComponent.js +0 -23
  176. package/dist/cjs/codegenNativeComponent.js.map +0 -6
  177. package/dist/cjs/createElement/__tests__/index-test.js +0 -536
  178. package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
  179. package/dist/cjs/createElement/index.js +0 -60
  180. package/dist/cjs/createElement/index.js.map +0 -6
  181. package/dist/cjs/createReactDOMStyle.js +0 -21
  182. package/dist/cjs/createReactDOMStyle.js.map +0 -6
  183. package/dist/cjs/modules/requestIdleCallback.js +0 -34
  184. package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
  185. package/dist/cjs/preprocess.js +0 -24
  186. package/dist/cjs/preprocess.js.map +0 -6
  187. package/dist/cjs/render/index.js +0 -31
  188. package/dist/cjs/render/index.js.map +0 -6
  189. package/dist/cjs/styleTypes.js +0 -14
  190. package/dist/cjs/styleTypes.js.map +0 -6
  191. package/dist/cjs/types.js +0 -14
  192. package/dist/cjs/types.js.map +0 -6
  193. package/dist/cjs/useColorScheme/index.js +0 -39
  194. package/dist/cjs/useColorScheme/index.js.map +0 -6
  195. package/dist/cjs/useLocaleContext/index.js +0 -21
  196. package/dist/cjs/useLocaleContext/index.js.map +0 -6
  197. package/dist/cjs/useWindowDimensions/index.js +0 -40
  198. package/dist/cjs/useWindowDimensions/index.js.map +0 -6
  199. package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
  200. package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
  201. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
  202. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  203. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
  204. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  205. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
  206. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  207. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
  208. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  209. package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
  210. package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
  211. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
  212. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  213. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
  214. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  215. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
  216. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  217. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
  218. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  219. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
  220. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  221. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
  222. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  223. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
  224. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  225. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
  226. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  227. package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
  228. package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
  229. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
  230. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  231. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
  232. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  233. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
  234. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  235. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
  236. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  237. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
  238. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  239. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
  240. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  241. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
  242. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  243. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
  244. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  245. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
  246. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  247. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
  248. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  249. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
  250. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  251. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
  252. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  253. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
  254. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  255. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
  256. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  257. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
  258. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  259. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
  260. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  261. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
  262. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  263. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
  264. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  265. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
  266. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  267. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
  268. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  269. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
  270. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  271. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
  272. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  273. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
  274. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  275. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
  276. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  277. package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
  278. package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
  279. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
  280. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  281. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
  282. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  283. package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
  284. package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
  285. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
  286. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
  287. package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
  288. package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
  289. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
  290. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  291. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
  292. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  293. package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
  294. package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
  295. package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
  296. package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
  297. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
  298. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  299. package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
  300. package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
  301. package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
  302. package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
  303. package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
  304. package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
  305. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
  306. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  307. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
  308. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  309. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
  310. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  311. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
  312. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  313. package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
  314. package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
  315. package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
  316. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
  317. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
  318. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  319. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
  320. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  321. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
  322. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  323. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
  324. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  325. package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
  326. package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
  327. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
  328. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  329. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
  330. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  331. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
  332. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  333. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
  334. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  335. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
  336. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  337. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
  338. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  339. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
  340. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  341. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
  342. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
  343. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
  344. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  345. package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
  346. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
  347. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
  348. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  349. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
  350. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  351. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
  352. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  353. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
  354. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  355. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
  356. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  357. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
  358. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  359. package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
  360. package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
  361. package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
  362. package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
  363. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
  364. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  365. package/dist/cjs/without-animated.js +0 -179
  366. package/dist/cjs/without-animated.js.map +0 -6
  367. package/dist/esm/AccessibilityInfo/index.js +0 -79
  368. package/dist/esm/AccessibilityInfo/index.js.map +0 -6
  369. package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
  370. package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
  371. package/dist/esm/ActivityIndicator/index.js +0 -88
  372. package/dist/esm/ActivityIndicator/index.js.map +0 -6
  373. package/dist/esm/Alert/index.js +0 -8
  374. package/dist/esm/Alert/index.js.map +0 -6
  375. package/dist/esm/AppRegistry/AppContainer.js +0 -20
  376. package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
  377. package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
  378. package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
  379. package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
  380. package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
  381. package/dist/esm/AppRegistry/index.js +0 -76
  382. package/dist/esm/AppRegistry/index.js.map +0 -6
  383. package/dist/esm/AppRegistry/renderApplication.js +0 -31
  384. package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
  385. package/dist/esm/AppState/__tests__/index-test.js +0 -14
  386. package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
  387. package/dist/esm/AppState/index.js +0 -55
  388. package/dist/esm/AppState/index.js.map +0 -6
  389. package/dist/esm/Appearance/index.js +0 -24
  390. package/dist/esm/Appearance/index.js.map +0 -6
  391. package/dist/esm/BackHandler/index.js +0 -15
  392. package/dist/esm/BackHandler/index.js.map +0 -6
  393. package/dist/esm/Clipboard/index.js +0 -31
  394. package/dist/esm/Clipboard/index.js.map +0 -6
  395. package/dist/esm/DeviceEmitter.js +0 -6
  396. package/dist/esm/DeviceEmitter.js.map +0 -6
  397. package/dist/esm/DeviceInfo/index.js +0 -38
  398. package/dist/esm/DeviceInfo/index.js.map +0 -6
  399. package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
  400. package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
  401. package/dist/esm/Dimensions/index.js +0 -60
  402. package/dist/esm/Dimensions/index.js.map +0 -6
  403. package/dist/esm/FlatList.js +0 -177
  404. package/dist/esm/FlatList.js.map +0 -6
  405. package/dist/esm/I18nManager/index.js +0 -13
  406. package/dist/esm/I18nManager/index.js.map +0 -6
  407. package/dist/esm/Image/index.js +0 -240
  408. package/dist/esm/Image/index.js.map +0 -6
  409. package/dist/esm/Image/types.js +0 -1
  410. package/dist/esm/Image/types.js.map +0 -6
  411. package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
  412. package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
  413. package/dist/esm/ImageBackground/index.js +0 -43
  414. package/dist/esm/ImageBackground/index.js.map +0 -6
  415. package/dist/esm/InteractionManager/TaskQueue.js +0 -59
  416. package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
  417. package/dist/esm/InteractionManager/index.js +0 -73
  418. package/dist/esm/InteractionManager/index.js.map +0 -6
  419. package/dist/esm/Keyboard/index.js +0 -18
  420. package/dist/esm/Keyboard/index.js.map +0 -6
  421. package/dist/esm/KeyboardAvoidingView/index.js +0 -35
  422. package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
  423. package/dist/esm/Linking/__tests__/index-test.js +0 -19
  424. package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
  425. package/dist/esm/Linking/index.js +0 -69
  426. package/dist/esm/Linking/index.js.map +0 -6
  427. package/dist/esm/LogBox/index.js +0 -16
  428. package/dist/esm/LogBox/index.js.map +0 -6
  429. package/dist/esm/Modal/ModalAnimation.js +0 -116
  430. package/dist/esm/Modal/ModalAnimation.js.map +0 -6
  431. package/dist/esm/Modal/ModalContent.js +0 -55
  432. package/dist/esm/Modal/ModalContent.js.map +0 -6
  433. package/dist/esm/Modal/ModalPortal.js +0 -20
  434. package/dist/esm/Modal/ModalPortal.js.map +0 -6
  435. package/dist/esm/Modal/index.js +0 -5
  436. package/dist/esm/Modal/index.js.map +0 -6
  437. package/dist/esm/NativeModules/index.js +0 -8
  438. package/dist/esm/NativeModules/index.js.map +0 -6
  439. package/dist/esm/PanResponder/index.js +0 -5
  440. package/dist/esm/PanResponder/index.js.map +0 -6
  441. package/dist/esm/PixelRatio/index.js +0 -36
  442. package/dist/esm/PixelRatio/index.js.map +0 -6
  443. package/dist/esm/Pressable/index.js +0 -122
  444. package/dist/esm/Pressable/index.js.map +0 -6
  445. package/dist/esm/RefreshControl/index.js +0 -26
  446. package/dist/esm/RefreshControl/index.js.map +0 -6
  447. package/dist/esm/SafeAreaView/index.js +0 -23
  448. package/dist/esm/SafeAreaView/index.js.map +0 -6
  449. package/dist/esm/ScrollView/ScrollViewBase.js +0 -104
  450. package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
  451. package/dist/esm/ScrollView/index.js +0 -515
  452. package/dist/esm/ScrollView/index.js.map +0 -6
  453. package/dist/esm/SectionList.js +0 -7
  454. package/dist/esm/SectionList.js.map +0 -6
  455. package/dist/esm/Share/index.js +0 -39
  456. package/dist/esm/Share/index.js.map +0 -6
  457. package/dist/esm/StatusBar/index.js +0 -16
  458. package/dist/esm/StatusBar/index.js.map +0 -6
  459. package/dist/esm/Text/index.js +0 -142
  460. package/dist/esm/Text/index.js.map +0 -6
  461. package/dist/esm/Text/types.js +0 -1
  462. package/dist/esm/Text/types.js.map +0 -6
  463. package/dist/esm/TextInput/index.js +0 -258
  464. package/dist/esm/TextInput/index.js.map +0 -6
  465. package/dist/esm/TextInput/types.js +0 -1
  466. package/dist/esm/TextInput/types.js.map +0 -6
  467. package/dist/esm/TouchableNativeFeedback.js +0 -5
  468. package/dist/esm/TouchableNativeFeedback.js.map +0 -6
  469. package/dist/esm/TouchableOpacity.js +0 -105
  470. package/dist/esm/TouchableOpacity.js.map +0 -6
  471. package/dist/esm/TouchableWithoutFeedback.js +0 -67
  472. package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
  473. package/dist/esm/UnimplementedView.js +0 -14
  474. package/dist/esm/UnimplementedView.js.map +0 -6
  475. package/dist/esm/Vibration/index.js +0 -14
  476. package/dist/esm/Vibration/index.js.map +0 -6
  477. package/dist/esm/View/index.js +0 -90
  478. package/dist/esm/View/index.js.map +0 -6
  479. package/dist/esm/View/types.js +0 -1
  480. package/dist/esm/View/types.js.map +0 -6
  481. package/dist/esm/VirtualizedList.js +0 -7
  482. package/dist/esm/VirtualizedList.js.map +0 -6
  483. package/dist/esm/codegenNativeCommand.js +0 -7
  484. package/dist/esm/codegenNativeCommand.js.map +0 -6
  485. package/dist/esm/codegenNativeComponent.js +0 -7
  486. package/dist/esm/codegenNativeComponent.js.map +0 -6
  487. package/dist/esm/createElement/__tests__/index-test.js +0 -519
  488. package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
  489. package/dist/esm/createElement/index.js +0 -48
  490. package/dist/esm/createElement/index.js.map +0 -6
  491. package/dist/esm/createReactDOMStyle.js +0 -5
  492. package/dist/esm/createReactDOMStyle.js.map +0 -6
  493. package/dist/esm/modules/requestIdleCallback.js +0 -18
  494. package/dist/esm/modules/requestIdleCallback.js.map +0 -6
  495. package/dist/esm/preprocess.js +0 -13
  496. package/dist/esm/preprocess.js.map +0 -6
  497. package/dist/esm/render/index.js +0 -15
  498. package/dist/esm/render/index.js.map +0 -6
  499. package/dist/esm/styleTypes.js +0 -1
  500. package/dist/esm/styleTypes.js.map +0 -6
  501. package/dist/esm/types.js +0 -1
  502. package/dist/esm/types.js.map +0 -6
  503. package/dist/esm/useColorScheme/index.js +0 -16
  504. package/dist/esm/useColorScheme/index.js.map +0 -6
  505. package/dist/esm/useLocaleContext/index.js +0 -5
  506. package/dist/esm/useLocaleContext/index.js.map +0 -6
  507. package/dist/esm/useWindowDimensions/index.js +0 -17
  508. package/dist/esm/useWindowDimensions/index.js.map +0 -6
  509. package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
  510. package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
  511. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
  512. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  513. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
  514. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  515. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
  516. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  517. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
  518. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  519. package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
  520. package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
  521. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
  522. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  523. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
  524. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  525. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
  526. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  527. package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
  528. package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  529. package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
  530. package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  531. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
  532. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  533. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
  534. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  535. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
  536. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  537. package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
  538. package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
  539. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
  540. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  541. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
  542. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  543. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
  544. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  545. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
  546. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  547. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
  548. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  549. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
  550. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  551. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
  552. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  553. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
  554. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  555. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
  556. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  557. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
  558. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  559. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
  560. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  561. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
  562. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  563. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
  564. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  565. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
  566. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  567. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
  568. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  569. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
  570. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  571. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
  572. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  573. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
  574. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  575. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
  576. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  577. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
  578. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  579. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
  580. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  581. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
  582. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  583. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
  584. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  585. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
  586. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  587. package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
  588. package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
  589. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
  590. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  591. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
  592. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  593. package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
  594. package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
  595. package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
  596. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
  597. package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
  598. package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
  599. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
  600. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  601. package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
  602. package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  603. package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
  604. package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
  605. package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
  606. package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
  607. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
  608. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  609. package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
  610. package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
  611. package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
  612. package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
  613. package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
  614. package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
  615. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
  616. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  617. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
  618. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  619. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
  620. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  621. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
  622. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  623. package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
  624. package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
  625. package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
  626. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
  627. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
  628. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  629. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
  630. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  631. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
  632. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  633. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
  634. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  635. package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
  636. package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
  637. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
  638. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  639. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
  640. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  641. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
  642. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  643. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
  644. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  645. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
  646. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  647. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
  648. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  649. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
  650. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  651. package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
  652. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
  653. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
  654. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  655. package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
  656. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
  657. package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
  658. package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  659. package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
  660. package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  661. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
  662. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  663. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
  664. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  665. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
  666. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  667. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
  668. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  669. package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
  670. package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
  671. package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
  672. package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
  673. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
  674. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  675. package/dist/esm/without-animated.js +0 -229
  676. 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;AAChB,WAAO,KAAK;AAAA,EACd;AA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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
- }