@tamagui/react-native-web-lite 2.7.6 → 3.0.0-beta.637.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (504) hide show
  1. package/dist/cjs/AccessibilityInfo/index.cjs +82 -87
  2. package/dist/cjs/ActivityIndicator/index.cjs +83 -103
  3. package/dist/cjs/Alert/index.cjs +17 -20
  4. package/dist/cjs/AppRegistry/AppContainer.cjs +37 -52
  5. package/dist/cjs/AppRegistry/index.cjs +69 -81
  6. package/dist/cjs/AppRegistry/renderApplication.cjs +42 -54
  7. package/dist/cjs/AppState/index.cjs +60 -67
  8. package/dist/cjs/Appearance/index.cjs +40 -49
  9. package/dist/cjs/BackHandler/index.cjs +20 -25
  10. package/dist/cjs/Clipboard/index.cjs +50 -53
  11. package/dist/cjs/DeviceEmitter.cjs +15 -18
  12. package/dist/cjs/DeviceInfo/index.cjs +50 -63
  13. package/dist/cjs/Dimensions/index.cjs +86 -89
  14. package/dist/cjs/FlatList.cjs +177 -211
  15. package/dist/cjs/I18nManager/index.cjs +24 -29
  16. package/dist/cjs/Image/index.cjs +277 -308
  17. package/dist/cjs/Image/types.cjs +10 -11
  18. package/dist/cjs/ImageBackground/index.cjs +35 -48
  19. package/dist/cjs/InteractionManager/TaskQueue.cjs +95 -100
  20. package/dist/cjs/InteractionManager/index.cjs +105 -115
  21. package/dist/cjs/Keyboard/index.cjs +23 -28
  22. package/dist/cjs/KeyboardAvoidingView/index.cjs +41 -54
  23. package/dist/cjs/Libraries/Pressability/Pressability.cjs +15 -18
  24. package/dist/cjs/Libraries/Pressability/usePressability.cjs +15 -18
  25. package/dist/cjs/Linking/index.cjs +86 -89
  26. package/dist/cjs/LogBox/index.cjs +20 -21
  27. package/dist/cjs/Modal/ModalAnimation.cjs +131 -151
  28. package/dist/cjs/Modal/ModalContent.cjs +57 -77
  29. package/dist/cjs/Modal/ModalPortal.cjs +38 -46
  30. package/dist/cjs/Modal/index.cjs +15 -18
  31. package/dist/cjs/NativeModules/index.cjs +15 -20
  32. package/dist/cjs/PanResponder/index.cjs +18 -26
  33. package/dist/cjs/PixelRatio/index.cjs +45 -48
  34. package/dist/cjs/Pressable/index.cjs +130 -142
  35. package/dist/cjs/RefreshControl/index.cjs +18 -35
  36. package/dist/cjs/SafeAreaView/index.cjs +35 -46
  37. package/dist/cjs/ScrollView/WebScrollView.cjs +270 -0
  38. package/dist/cjs/ScrollView/index.cjs +15 -662
  39. package/dist/cjs/SectionList.cjs +19 -25
  40. package/dist/cjs/Share/index.cjs +44 -47
  41. package/dist/cjs/StatusBar/index.cjs +17 -18
  42. package/dist/cjs/Text/index.cjs +133 -171
  43. package/dist/cjs/Text/types.cjs +10 -11
  44. package/dist/cjs/TextInput/index.cjs +281 -359
  45. package/dist/cjs/TextInput/types.cjs +10 -11
  46. package/dist/cjs/TouchableNativeFeedback.cjs +15 -18
  47. package/dist/cjs/TouchableOpacity.cjs +91 -99
  48. package/dist/cjs/TouchableWithoutFeedback.cjs +65 -74
  49. package/dist/cjs/UnimplementedView.cjs +26 -36
  50. package/dist/cjs/Vibration/index.cjs +25 -28
  51. package/dist/cjs/View/index.cjs +89 -121
  52. package/dist/cjs/View/types.cjs +10 -11
  53. package/dist/cjs/VirtualizedList.cjs +19 -25
  54. package/dist/cjs/codegenNativeCommands.cjs +32 -0
  55. package/dist/cjs/codegenNativeComponent.cjs +19 -18
  56. package/dist/cjs/createElement/index.cjs +52 -70
  57. package/dist/cjs/createReactDOMStyle.cjs +16 -17
  58. package/dist/cjs/index.cjs +106 -106
  59. package/dist/cjs/modules/requestIdleCallback.cjs +28 -29
  60. package/dist/cjs/preprocess.cjs +19 -20
  61. package/dist/cjs/render/index.cjs +18 -19
  62. package/dist/cjs/styleTypes.cjs +10 -11
  63. package/dist/cjs/types.cjs +10 -11
  64. package/dist/cjs/useColorScheme/index.cjs +27 -37
  65. package/dist/cjs/useLocaleContext/index.cjs +15 -18
  66. package/dist/cjs/useWindowDimensions/index.cjs +32 -42
  67. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +23 -24
  68. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +136 -141
  69. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +500 -533
  70. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +100 -109
  71. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +2 -1
  72. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +182 -183
  73. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +302 -328
  74. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +48 -56
  75. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +46 -53
  76. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +63 -64
  77. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +52 -56
  78. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +74 -79
  79. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +210 -215
  80. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +107 -116
  81. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +83 -88
  82. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +23 -29
  83. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +19 -25
  84. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +23 -29
  85. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +23 -29
  86. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +16 -17
  87. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +16 -17
  88. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +32 -44
  89. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +51 -52
  90. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +244 -247
  91. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +59 -60
  92. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +65 -66
  93. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +185 -188
  94. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +49 -50
  95. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +51 -52
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +152 -156
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +133 -134
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +113 -116
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +51 -52
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +73 -75
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +109 -110
  102. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +212 -216
  103. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +96 -103
  104. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +70 -71
  105. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +75 -76
  106. package/dist/cjs/vendor/react-native/Batchinator/index.cjs +46 -57
  107. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +54 -57
  108. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +16 -17
  109. package/dist/cjs/vendor/react-native/FeatureFlags.cjs +21 -24
  110. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +165 -173
  111. package/dist/cjs/vendor/react-native/FlatList/index.cjs +259 -294
  112. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +66 -69
  113. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +87 -91
  114. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +170 -176
  115. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +42 -43
  116. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +21 -22
  117. package/dist/cjs/vendor/react-native/SectionList/index.cjs +95 -110
  118. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +28 -34
  119. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +27 -33
  120. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +82 -111
  121. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -22
  122. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +20 -21
  123. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +124 -127
  124. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +16 -17
  125. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +23 -24
  126. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +26 -30
  127. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +27 -30
  128. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +26 -27
  129. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +154 -163
  130. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +147 -156
  131. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +124 -125
  132. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +100 -99
  133. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +63 -64
  134. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +66 -75
  135. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +104 -160
  136. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +56 -64
  137. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +51 -52
  138. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +222 -284
  139. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +124 -144
  140. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +58 -59
  141. package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +16 -17
  142. package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +2 -1
  143. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +43 -44
  144. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +115 -120
  145. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +31 -32
  146. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +80 -81
  147. package/dist/cjs/vendor/react-native/infoLog/index.cjs +17 -18
  148. package/dist/cjs/vendor/react-native/useRefEffect.cjs +26 -27
  149. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +88 -89
  150. package/dist/cjs/without-animated.cjs +255 -267
  151. package/dist/esm/AccessibilityInfo/index.mjs +69 -69
  152. package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
  153. package/dist/esm/ActivityIndicator/index.mjs +66 -78
  154. package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
  155. package/dist/esm/Alert/index.mjs +4 -3
  156. package/dist/esm/Alert/index.mjs.map +1 -1
  157. package/dist/esm/AppRegistry/AppContainer.mjs +21 -28
  158. package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
  159. package/dist/esm/AppRegistry/index.mjs +58 -65
  160. package/dist/esm/AppRegistry/index.mjs.map +1 -1
  161. package/dist/esm/AppRegistry/renderApplication.mjs +30 -40
  162. package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
  163. package/dist/esm/AppState/index.mjs +48 -50
  164. package/dist/esm/AppState/index.mjs.map +1 -1
  165. package/dist/esm/Appearance/index.mjs +27 -31
  166. package/dist/esm/Appearance/index.mjs.map +1 -1
  167. package/dist/esm/BackHandler/index.mjs +6 -7
  168. package/dist/esm/BackHandler/index.mjs.map +1 -1
  169. package/dist/esm/Clipboard/index.mjs +37 -36
  170. package/dist/esm/Clipboard/index.mjs.map +1 -1
  171. package/dist/esm/DeviceEmitter.mjs +2 -0
  172. package/dist/esm/DeviceEmitter.mjs.map +1 -1
  173. package/dist/esm/DeviceInfo/index.mjs +37 -45
  174. package/dist/esm/DeviceInfo/index.mjs.map +1 -1
  175. package/dist/esm/Dimensions/index.mjs +72 -72
  176. package/dist/esm/Dimensions/index.mjs.map +1 -1
  177. package/dist/esm/FlatList.mjs +162 -188
  178. package/dist/esm/FlatList.mjs.map +1 -1
  179. package/dist/esm/I18nManager/index.mjs +10 -11
  180. package/dist/esm/I18nManager/index.mjs.map +1 -1
  181. package/dist/esm/Image/index.mjs +261 -285
  182. package/dist/esm/Image/index.mjs.map +1 -1
  183. package/dist/esm/Image/types.mjs +0 -2
  184. package/dist/esm/ImageBackground/index.mjs +21 -31
  185. package/dist/esm/ImageBackground/index.mjs.map +1 -1
  186. package/dist/esm/InteractionManager/TaskQueue.mjs +83 -83
  187. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
  188. package/dist/esm/InteractionManager/index.mjs +89 -89
  189. package/dist/esm/InteractionManager/index.mjs.map +1 -1
  190. package/dist/esm/Keyboard/index.mjs +10 -10
  191. package/dist/esm/Keyboard/index.mjs.map +1 -1
  192. package/dist/esm/KeyboardAvoidingView/index.mjs +24 -29
  193. package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
  194. package/dist/esm/Libraries/Pressability/Pressability.mjs +1 -0
  195. package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -1
  196. package/dist/esm/Libraries/Pressability/usePressability.mjs +2 -1
  197. package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -1
  198. package/dist/esm/Linking/index.mjs +73 -71
  199. package/dist/esm/Linking/index.mjs.map +1 -1
  200. package/dist/esm/LogBox/index.mjs +5 -4
  201. package/dist/esm/LogBox/index.mjs.map +1 -1
  202. package/dist/esm/Modal/ModalAnimation.mjs +116 -126
  203. package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
  204. package/dist/esm/Modal/ModalContent.mjs +41 -51
  205. package/dist/esm/Modal/ModalContent.mjs.map +1 -1
  206. package/dist/esm/Modal/ModalPortal.mjs +22 -20
  207. package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
  208. package/dist/esm/Modal/index.mjs +1 -0
  209. package/dist/esm/Modal/index.mjs.map +1 -1
  210. package/dist/esm/NativeModules/index.mjs +3 -3
  211. package/dist/esm/NativeModules/index.mjs.map +1 -1
  212. package/dist/esm/PanResponder/index.mjs +3 -3
  213. package/dist/esm/PixelRatio/index.mjs +33 -31
  214. package/dist/esm/PixelRatio/index.mjs.map +1 -1
  215. package/dist/esm/Pressable/index.mjs +114 -119
  216. package/dist/esm/Pressable/index.mjs.map +1 -1
  217. package/dist/esm/RefreshControl/index.mjs +4 -18
  218. package/dist/esm/RefreshControl/index.mjs.map +1 -1
  219. package/dist/esm/SafeAreaView/index.mjs +18 -21
  220. package/dist/esm/SafeAreaView/index.mjs.map +1 -1
  221. package/dist/esm/ScrollView/WebScrollView.mjs +244 -0
  222. package/dist/esm/ScrollView/WebScrollView.mjs.map +1 -0
  223. package/dist/esm/ScrollView/index.mjs +3 -635
  224. package/dist/esm/SectionList.mjs +3 -4
  225. package/dist/esm/Share/index.mjs +32 -30
  226. package/dist/esm/Share/index.mjs.map +1 -1
  227. package/dist/esm/StatusBar/index.mjs +2 -1
  228. package/dist/esm/StatusBar/index.mjs.map +1 -1
  229. package/dist/esm/Text/index.mjs +116 -146
  230. package/dist/esm/Text/index.mjs.map +1 -1
  231. package/dist/esm/Text/types.mjs +0 -2
  232. package/dist/esm/TextInput/index.mjs +265 -336
  233. package/dist/esm/TextInput/index.mjs.map +1 -1
  234. package/dist/esm/TextInput/types.mjs +0 -2
  235. package/dist/esm/TouchableNativeFeedback.mjs +2 -2
  236. package/dist/esm/TouchableOpacity.mjs +75 -73
  237. package/dist/esm/TouchableOpacity.mjs.map +1 -1
  238. package/dist/esm/TouchableWithoutFeedback.mjs +49 -48
  239. package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
  240. package/dist/esm/UnimplementedView.mjs +11 -11
  241. package/dist/esm/UnimplementedView.mjs.map +1 -1
  242. package/dist/esm/Vibration/index.mjs +11 -10
  243. package/dist/esm/Vibration/index.mjs.map +1 -1
  244. package/dist/esm/View/index.mjs +73 -97
  245. package/dist/esm/View/index.mjs.map +1 -1
  246. package/dist/esm/View/types.mjs +0 -2
  247. package/dist/esm/VirtualizedList.mjs +3 -4
  248. package/dist/esm/codegenNativeCommands.mjs +8 -0
  249. package/dist/esm/codegenNativeCommands.mjs.map +1 -0
  250. package/dist/esm/codegenNativeComponent.mjs +5 -3
  251. package/dist/esm/codegenNativeComponent.mjs.map +1 -1
  252. package/dist/esm/createElement/index.mjs +35 -45
  253. package/dist/esm/createElement/index.mjs.map +1 -1
  254. package/dist/esm/createReactDOMStyle.mjs +2 -0
  255. package/dist/esm/createReactDOMStyle.mjs.map +1 -1
  256. package/dist/esm/index.js +15 -10
  257. package/dist/esm/index.js.map +1 -1
  258. package/dist/esm/index.mjs +15 -10
  259. package/dist/esm/index.mjs.map +1 -1
  260. package/dist/esm/modules/requestIdleCallback.mjs +13 -12
  261. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
  262. package/dist/esm/preprocess.mjs +3 -3
  263. package/dist/esm/render/index.mjs +1 -0
  264. package/dist/esm/render/index.mjs.map +1 -1
  265. package/dist/esm/styleTypes.mjs +0 -2
  266. package/dist/esm/types.mjs +0 -2
  267. package/dist/esm/useColorScheme/index.mjs +11 -11
  268. package/dist/esm/useColorScheme/index.mjs.map +1 -1
  269. package/dist/esm/useLocaleContext/index.mjs +2 -2
  270. package/dist/esm/useWindowDimensions/index.mjs +16 -16
  271. package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
  272. package/dist/esm/vendor/react-native/Animated/Animated.mjs +12 -10
  273. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
  274. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +124 -127
  275. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
  276. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +485 -515
  277. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
  278. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +85 -91
  279. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
  280. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +0 -2
  281. package/dist/esm/vendor/react-native/Animated/Easing.mjs +169 -167
  282. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
  283. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +273 -296
  284. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
  285. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +26 -26
  286. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
  287. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +24 -23
  288. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
  289. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +48 -47
  290. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
  291. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +38 -39
  292. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
  293. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +60 -62
  294. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
  295. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +196 -198
  296. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
  297. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +93 -99
  298. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
  299. package/dist/esm/vendor/react-native/Animated/bezier.mjs +68 -71
  300. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
  301. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +7 -5
  302. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
  303. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +3 -1
  304. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
  305. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +7 -5
  306. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
  307. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +7 -5
  308. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -1
  309. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +2 -0
  310. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -1
  311. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +2 -0
  312. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -1
  313. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +15 -19
  314. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
  315. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +37 -35
  316. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
  317. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +230 -230
  318. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
  319. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +45 -43
  320. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
  321. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +51 -49
  322. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
  323. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +172 -172
  324. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
  325. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +35 -33
  326. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
  327. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +37 -35
  328. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
  329. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +138 -139
  330. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
  331. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +119 -117
  332. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
  333. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +99 -99
  334. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
  335. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +37 -35
  336. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
  337. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +60 -59
  338. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
  339. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +95 -93
  340. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
  341. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +198 -199
  342. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
  343. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +82 -86
  344. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
  345. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +56 -54
  346. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
  347. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +61 -59
  348. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
  349. package/dist/esm/vendor/react-native/Batchinator/index.mjs +32 -40
  350. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
  351. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +40 -40
  352. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
  353. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +2 -0
  354. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -1
  355. package/dist/esm/vendor/react-native/FeatureFlags.mjs +7 -6
  356. package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +1 -1
  357. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +150 -156
  358. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
  359. package/dist/esm/vendor/react-native/FlatList/index.mjs +244 -271
  360. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
  361. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -52
  362. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
  363. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +73 -74
  364. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
  365. package/dist/esm/vendor/react-native/PanResponder/index.mjs +153 -151
  366. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
  367. package/dist/esm/vendor/react-native/PooledClass/index.mjs +27 -26
  368. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
  369. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +6 -5
  370. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -1
  371. package/dist/esm/vendor/react-native/SectionList/index.mjs +78 -85
  372. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
  373. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +11 -9
  374. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
  375. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +10 -8
  376. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -1
  377. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +67 -94
  378. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
  379. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +3 -6
  380. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
  381. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +6 -4
  382. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
  383. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +105 -106
  384. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
  385. package/dist/esm/vendor/react-native/Utilities/Platform.mjs +2 -0
  386. package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -1
  387. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +8 -7
  388. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
  389. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +11 -13
  390. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
  391. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +13 -13
  392. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
  393. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +12 -10
  394. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
  395. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +140 -146
  396. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
  397. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +133 -139
  398. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
  399. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +107 -106
  400. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
  401. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +88 -82
  402. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
  403. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +49 -47
  404. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
  405. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +49 -50
  406. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
  407. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +87 -135
  408. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
  409. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +38 -38
  410. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
  411. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +36 -35
  412. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -1
  413. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +207 -266
  414. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
  415. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +107 -119
  416. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
  417. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +43 -42
  418. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
  419. package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +2 -0
  420. package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +1 -1
  421. package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +0 -2
  422. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +29 -27
  423. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
  424. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +101 -103
  425. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
  426. package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +16 -15
  427. package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +1 -1
  428. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +66 -64
  429. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
  430. package/dist/esm/vendor/react-native/infoLog/index.mjs +2 -1
  431. package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -1
  432. package/dist/esm/vendor/react-native/useRefEffect.mjs +12 -10
  433. package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
  434. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +71 -70
  435. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
  436. package/dist/esm/without-animated.mjs +172 -187
  437. package/dist/esm/without-animated.mjs.map +1 -1
  438. package/package.json +12 -12
  439. package/src/ScrollView/WebScrollView.tsx +383 -0
  440. package/src/ScrollView/index.tsx +6 -892
  441. package/src/codegenNativeCommands.ts +6 -0
  442. package/src/codegenNativeComponent.ts +2 -2
  443. package/src/index.tsx +3 -0
  444. package/src/without-animated.tsx +1 -0
  445. package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +0 -209
  446. package/dist/cjs/AppRegistry/__tests__/index-test.cjs +0 -97
  447. package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +0 -162
  448. package/dist/cjs/AppState/__tests__/index-test.cjs +0 -38
  449. package/dist/cjs/Dimensions/__tests__/index-test.cjs +0 -67
  450. package/dist/cjs/ImageBackground/__tests__/index-test.cjs +0 -72
  451. package/dist/cjs/Linking/__tests__/index-test.cjs +0 -56
  452. package/dist/cjs/ScrollView/ScrollViewBase.cjs +0 -167
  453. package/dist/cjs/codegenNativeCommand.cjs +0 -31
  454. package/dist/cjs/createElement/__tests__/index-test.cjs +0 -828
  455. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +0 -186
  456. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +0 -1
  457. package/dist/esm/AppRegistry/__tests__/index-test.mjs +0 -74
  458. package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +0 -1
  459. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +0 -139
  460. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +0 -1
  461. package/dist/esm/AppState/__tests__/index-test.mjs +0 -15
  462. package/dist/esm/AppState/__tests__/index-test.mjs.map +0 -1
  463. package/dist/esm/Dimensions/__tests__/index-test.mjs +0 -44
  464. package/dist/esm/Dimensions/__tests__/index-test.mjs.map +0 -1
  465. package/dist/esm/Image/types.mjs.map +0 -1
  466. package/dist/esm/ImageBackground/__tests__/index-test.mjs +0 -49
  467. package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +0 -1
  468. package/dist/esm/Linking/__tests__/index-test.mjs +0 -33
  469. package/dist/esm/Linking/__tests__/index-test.mjs.map +0 -1
  470. package/dist/esm/PanResponder/index.mjs.map +0 -1
  471. package/dist/esm/ScrollView/ScrollViewBase.mjs +0 -130
  472. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +0 -1
  473. package/dist/esm/ScrollView/index.mjs.map +0 -1
  474. package/dist/esm/SectionList.mjs.map +0 -1
  475. package/dist/esm/Text/types.mjs.map +0 -1
  476. package/dist/esm/TextInput/types.mjs.map +0 -1
  477. package/dist/esm/TouchableNativeFeedback.mjs.map +0 -1
  478. package/dist/esm/View/types.mjs.map +0 -1
  479. package/dist/esm/VirtualizedList.mjs.map +0 -1
  480. package/dist/esm/codegenNativeCommand.mjs +0 -6
  481. package/dist/esm/codegenNativeCommand.mjs.map +0 -1
  482. package/dist/esm/createElement/__tests__/index-test.mjs +0 -805
  483. package/dist/esm/createElement/__tests__/index-test.mjs.map +0 -1
  484. package/dist/esm/preprocess.mjs.map +0 -1
  485. package/dist/esm/styleTypes.mjs.map +0 -1
  486. package/dist/esm/types.mjs.map +0 -1
  487. package/dist/esm/useLocaleContext/index.mjs.map +0 -1
  488. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +0 -1
  489. package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +0 -1
  490. package/src/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +0 -466
  491. package/src/ActivityIndicator/__tests__/index-test.tsx +0 -147
  492. package/src/AppRegistry/__tests__/index-test.node.tsx +0 -144
  493. package/src/AppRegistry/__tests__/index-test.tsx +0 -94
  494. package/src/AppState/__tests__/index-test.tsx +0 -24
  495. package/src/Dimensions/__tests__/index-test.tsx +0 -54
  496. package/src/ImageBackground/__tests__/index-test.tsx +0 -49
  497. package/src/Linking/__tests__/index-test.tsx +0 -37
  498. package/src/Pressable/__tests__/__snapshots__/index-test.js.snap +0 -196
  499. package/src/ScrollView/ScrollViewBase.tsx +0 -183
  500. package/src/ScrollView/__tests__/__snapshots__/index-test.js.snap +0 -49
  501. package/src/Text/__tests__/__snapshots__/index-test.js.snap +0 -218
  502. package/src/codegenNativeCommand.ts +0 -6
  503. package/src/createElement/__tests__/__snapshots__/index-test.js.snap +0 -13
  504. package/src/createElement/__tests__/index-test.tsx +0 -647
@@ -1,75 +1,76 @@
1
- class EventSubscription {
2
- remove() {}
3
- }
4
- class IEventEmitter {
5
- addListener(eventType, listener, context) {
6
- return new EventSubscription();
7
- }
8
- emit(eventType, ...args) {}
9
- removeAllListeners(eventType) {}
10
- listenerCount(eventType) {
11
- return 0;
12
- }
13
- }
14
- class EventEmitter {
15
- _registry = {};
16
- /**
17
- * Registers a listener that is called when the supplied event is emitted.
18
- * Returns a subscription that has a `remove` method to undo registration.
19
- */
20
- addListener(eventType, listener, context) {
21
- const registrations = allocate(this._registry, eventType);
22
- const registration = {
23
- context,
24
- listener,
25
- remove() {
26
- registrations.delete(registration);
27
- }
28
- };
29
- registrations.add(registration);
30
- return registration;
31
- }
32
- /**
33
- * Emits the supplied event. Additional arguments supplied to `emit` will be
34
- * passed through to each of the registered listeners.
35
- *
36
- * If a listener modifies the listeners registered for the same event, those
37
- * changes will not be reflected in the current invocation of `emit`.
38
- */
39
- emit(eventType, ...args) {
40
- const registrations = this._registry[eventType];
41
- if (registrations != null) {
42
- for (const registration of [...registrations]) {
43
- registration.listener.apply(registration.context, args);
44
- }
45
- }
46
- }
47
- /**
48
- * Removes all registered listeners.
49
- */
50
- removeAllListeners(eventType) {
51
- if (eventType == null) {
52
- this._registry = {};
53
- } else {
54
- delete this._registry[eventType];
55
- }
56
- }
57
- /**
58
- * Returns the number of registered listeners for the supplied event.
59
- */
60
- listenerCount(eventType) {
61
- const registrations = this._registry[eventType];
62
- return registrations == null ? 0 : registrations.size;
63
- }
64
- }
1
+ var EventSubscription = class {
2
+ remove() {}
3
+ };
4
+ var IEventEmitter = class {
5
+ addListener(eventType, listener, context) {
6
+ return new EventSubscription();
7
+ }
8
+ emit(eventType, ...args) {}
9
+ removeAllListeners(eventType) {}
10
+ listenerCount(eventType) {
11
+ return 0;
12
+ }
13
+ };
14
+ var EventEmitter = class {
15
+ _registry = {};
16
+ /**
17
+ * Registers a listener that is called when the supplied event is emitted.
18
+ * Returns a subscription that has a `remove` method to undo registration.
19
+ */
20
+ addListener(eventType, listener, context) {
21
+ const registrations = allocate(this._registry, eventType);
22
+ const registration = {
23
+ context,
24
+ listener,
25
+ remove() {
26
+ registrations.delete(registration);
27
+ }
28
+ };
29
+ registrations.add(registration);
30
+ return registration;
31
+ }
32
+ /**
33
+ * Emits the supplied event. Additional arguments supplied to `emit` will be
34
+ * passed through to each of the registered listeners.
35
+ *
36
+ * If a listener modifies the listeners registered for the same event, those
37
+ * changes will not be reflected in the current invocation of `emit`.
38
+ */
39
+ emit(eventType, ...args) {
40
+ const registrations = this._registry[eventType];
41
+ if (registrations != null) {
42
+ for (const registration of [...registrations]) {
43
+ registration.listener.apply(registration.context, args);
44
+ }
45
+ }
46
+ }
47
+ /**
48
+ * Removes all registered listeners.
49
+ */
50
+ removeAllListeners(eventType) {
51
+ if (eventType == null) {
52
+ this._registry = {};
53
+ } else {
54
+ delete this._registry[eventType];
55
+ }
56
+ }
57
+ /**
58
+ * Returns the number of registered listeners for the supplied event.
59
+ */
60
+ listenerCount(eventType) {
61
+ const registrations = this._registry[eventType];
62
+ return registrations == null ? 0 : registrations.size;
63
+ }
64
+ };
65
65
  function allocate(registry, eventType) {
66
- let registrations = registry[eventType];
67
- if (registrations == null) {
68
- registrations = /* @__PURE__ */new Set();
69
- registry[eventType] = registrations;
70
- }
71
- return registrations;
66
+ let registrations = registry[eventType];
67
+ if (registrations == null) {
68
+ registrations = /* @__PURE__ */ new Set();
69
+ registry[eventType] = registrations;
70
+ }
71
+ return registrations;
72
72
  }
73
73
  var EventEmitter_default = EventEmitter;
74
+
74
75
  export { EventEmitter, EventSubscription, IEventEmitter, EventEmitter_default as default };
75
76
  //# sourceMappingURL=EventEmitter.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["EventSubscription","remove","IEventEmitter","addListener","eventType","listener","context","emit","args","removeAllListeners","listenerCount","EventEmitter","_registry","registrations","allocate","registration","delete","add","apply","size","registry","Set","EventEmitter_default"],"sources":["../../../../../../src/vendor/react-native/vendor/emitter/EventEmitter.js"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,EAAW;IACvB,MAAMS,aAAA,GAAgB,KAAKD,SAAA,CAAUR,SAAS;IAC9C,OAAOS,aAAA,IAAiB,OAAO,IAAIA,aAAA,CAAcM,IAAA;EACnD;AACF;AAEA,SAASL,SAASM,QAAA,EAAUhB,SAAA,EAAW;EACrC,IAAIS,aAAA,GAAgBO,QAAA,CAAShB,SAAS;EACtC,IAAIS,aAAA,IAAiB,MAAM;IACzBA,aAAA,GAAgB,mBAAIQ,GAAA,CAAI;IACxBD,QAAA,CAAShB,SAAS,IAAIS,aAAA;EACxB;EACA,OAAOA,aAAA;AACT;AAGA,IAAOS,oBAAA,GAAQX,YAAA","ignoreList":[]}
1
+ {"version":3,"file":"EventEmitter.js","names":[],"sources":["esm/vendor/react-native/vendor/emitter/EventEmitter.js"],"sourcesContent":["class EventSubscription {\n remove() {\n }\n}\nclass IEventEmitter {\n addListener(eventType, listener, context) {\n return new EventSubscription();\n }\n emit(eventType, ...args) {\n }\n removeAllListeners(eventType) {\n }\n listenerCount(eventType) {\n return 0;\n }\n}\nclass EventEmitter {\n _registry = {};\n /**\n * Registers a listener that is called when the supplied event is emitted.\n * Returns a subscription that has a `remove` method to undo registration.\n */\n addListener(eventType, listener, context) {\n const registrations = allocate(this._registry, eventType);\n const registration = {\n context,\n listener,\n remove() {\n registrations.delete(registration);\n }\n };\n registrations.add(registration);\n return registration;\n }\n /**\n * Emits the supplied event. Additional arguments supplied to `emit` will be\n * passed through to each of the registered listeners.\n *\n * If a listener modifies the listeners registered for the same event, those\n * changes will not be reflected in the current invocation of `emit`.\n */\n emit(eventType, ...args) {\n const registrations = this._registry[eventType];\n if (registrations != null) {\n for (const registration of [...registrations]) {\n registration.listener.apply(registration.context, args);\n }\n }\n }\n /**\n * Removes all registered listeners.\n */\n removeAllListeners(eventType) {\n if (eventType == null) {\n this._registry = {};\n } else {\n delete this._registry[eventType];\n }\n }\n /**\n * Returns the number of registered listeners for the supplied event.\n */\n listenerCount(eventType) {\n const registrations = this._registry[eventType];\n return registrations == null ? 0 : registrations.size;\n }\n}\nfunction allocate(registry, eventType) {\n let registrations = registry[eventType];\n if (registrations == null) {\n registrations = /* @__PURE__ */ new Set();\n registry[eventType] = registrations;\n }\n return registrations;\n}\nvar EventEmitter_default = EventEmitter;\nexport {\n EventEmitter,\n EventSubscription,\n IEventEmitter,\n EventEmitter_default as default\n};\n//# sourceMappingURL=EventEmitter.js.map\n"],"mappings":";AAAA,IAAM,oBAAN,MAAwB;CACtB,SAAS,CACT;AACF;AACA,IAAM,gBAAN,MAAoB;CAClB,YAAY,WAAW,UAAU,SAAS;EACxC,OAAO,IAAI,kBAAkB;CAC/B;CACA,KAAK,WAAW,GAAG,MAAM,CACzB;CACA,mBAAmB,WAAW,CAC9B;CACA,cAAc,WAAW;EACvB,OAAO;CACT;AACF;AACA,IAAM,eAAN,MAAmB;CACjB,YAAY,CAAC;;;;;CAKb,YAAY,WAAW,UAAU,SAAS;EACxC,MAAM,gBAAgB,SAAS,KAAK,WAAW,SAAS;EACxD,MAAM,eAAe;GACnB;GACA;GACA,SAAS;IACP,cAAc,OAAO,YAAY;GACnC;EACF;EACA,cAAc,IAAI,YAAY;EAC9B,OAAO;CACT;;;;;;;;CAQA,KAAK,WAAW,GAAG,MAAM;EACvB,MAAM,gBAAgB,KAAK,UAAU;EACrC,IAAI,iBAAiB,MAAM;GACzB,KAAK,MAAM,gBAAgB,CAAC,GAAG,aAAa,GAAG;IAC7C,aAAa,SAAS,MAAM,aAAa,SAAS,IAAI;GACxD;EACF;CACF;;;;CAIA,mBAAmB,WAAW;EAC5B,IAAI,aAAa,MAAM;GACrB,KAAK,YAAY,CAAC;EACpB,OAAO;GACL,OAAO,KAAK,UAAU;EACxB;CACF;;;;CAIA,cAAc,WAAW;EACvB,MAAM,gBAAgB,KAAK,UAAU;EACrC,OAAO,iBAAiB,OAAO,IAAI,cAAc;CACnD;AACF;AACA,SAAS,SAAS,UAAU,WAAW;CACrC,IAAI,gBAAgB,SAAS;CAC7B,IAAI,iBAAiB,MAAM;EACzB,gCAAgC,IAAI,IAAI;EACxC,SAAS,aAAa;CACxB;CACA,OAAO;AACT;AACA,IAAI,uBAAuB"}
@@ -1,9 +1,10 @@
1
1
  import { createContext } from "react";
2
2
  import { createElement } from "./createElement/index.mjs";
3
- import { AccessibilityUtil, canUseDOM, clickProps, createDOMProps, dismissKeyboard, flattenStyle, ImageLoader, InteractionManager, isWebColor, LocaleProvider, mergeRefs, normalizeColor, Platform, processColor, processStyle, StyleSheet, TextAncestorContext, UIManager, useEvent, useHover, useLayoutEffect, useMergeRefs, usePlatformMethods } from "@tamagui/react-native-web-internals";
3
+ import { AccessibilityUtil, ImageLoader, InteractionManager, LocaleProvider, Platform, StyleSheet, TextAncestorContext, UIManager, canUseDOM, clickProps, createDOMProps, dismissKeyboard, flattenStyle, isWebColor, mergeRefs, normalizeColor, processColor, processStyle, useEvent, useHover, useLayoutEffect, useMergeRefs, usePlatformMethods } from "@tamagui/react-native-web-internals";
4
4
  import { render } from "./render/index.mjs";
5
5
  import { NativeModules } from "./NativeModules/index.mjs";
6
- import { default as default2 } from "./vendor/react-native/EventEmitter/NativeEventEmitter.mjs";
6
+ import default2 from "./vendor/react-native/EventEmitter/NativeEventEmitter.mjs";
7
+ import * as TurboModuleRegistry from "./vendor/react-native/TurboModule/TurboModuleRegistry.mjs";
7
8
  import { AccessibilityInfo } from "./AccessibilityInfo/index.mjs";
8
9
  import { Alert } from "./Alert/index.mjs";
9
10
  import { Appearance } from "./Appearance/index.mjs";
@@ -12,8 +13,7 @@ import { AppState } from "./AppState/index.mjs";
12
13
  import { BackHandler } from "./BackHandler/index.mjs";
13
14
  import { Clipboard } from "./Clipboard/index.mjs";
14
15
  import { DeviceInfo } from "./DeviceInfo/index.mjs";
15
- import { DeviceEmitter } from "./DeviceEmitter.mjs";
16
- import { DeviceEmitter as DeviceEmitter2 } from "./DeviceEmitter.mjs";
16
+ import { DeviceEmitter, DeviceEmitter as DeviceEmitter2 } from "./DeviceEmitter.mjs";
17
17
  import { Dimensions } from "./Dimensions/index.mjs";
18
18
  import { I18nManager } from "./I18nManager/index.mjs";
19
19
  import { Keyboard } from "./Keyboard/index.mjs";
@@ -22,213 +22,198 @@ import { PanResponder } from "./PanResponder/index.mjs";
22
22
  import { PixelRatio } from "./PixelRatio/index.mjs";
23
23
  import { Share } from "./Share/index.mjs";
24
24
  import { Vibration } from "./Vibration/index.mjs";
25
- import { UnimplementedView } from "./UnimplementedView.mjs";
26
- import { UnimplementedView as UnimplementedView2 } from "./UnimplementedView.mjs";
27
- import { UnimplementedView as UnimplementedView3 } from "./UnimplementedView.mjs";
28
- import { UnimplementedView as UnimplementedView4 } from "./UnimplementedView.mjs";
29
- import { UnimplementedView as UnimplementedView5 } from "./UnimplementedView.mjs";
30
- import { UnimplementedView as UnimplementedView6 } from "./UnimplementedView.mjs";
31
- import { UnimplementedView as UnimplementedView7 } from "./UnimplementedView.mjs";
25
+ import { UnimplementedView, UnimplementedView as UnimplementedView2, UnimplementedView as UnimplementedView3, UnimplementedView as UnimplementedView4, UnimplementedView as UnimplementedView5, UnimplementedView as UnimplementedView6, UnimplementedView as UnimplementedView7 } from "./UnimplementedView.mjs";
32
26
  import { TouchableOpacity, TouchableOpacity as TouchableOpacity2 } from "./TouchableOpacity.mjs";
33
27
  import { TouchableWithoutFeedback } from "./TouchableWithoutFeedback.mjs";
34
28
  import { ActivityIndicator } from "./ActivityIndicator/index.mjs";
35
- import { Image } from "./Image/index.mjs";
29
+ import { Image, Image as Image$1 } from "./Image/index.mjs";
36
30
  import { ImageBackground } from "./ImageBackground/index.mjs";
37
31
  import { KeyboardAvoidingView } from "./KeyboardAvoidingView/index.mjs";
38
32
  import { Modal } from "./Modal/index.mjs";
39
33
  import { Pressable } from "./Pressable/index.mjs";
40
34
  import { RefreshControl } from "./RefreshControl/index.mjs";
41
35
  import { SafeAreaView } from "./SafeAreaView/index.mjs";
42
- import { ScrollView } from "./ScrollView/index.mjs";
36
+ import { ScrollView, ScrollView as ScrollView$1 } from "./ScrollView/index.mjs";
43
37
  import { StatusBar } from "./StatusBar/index.mjs";
44
- import { Text } from "./Text/index.mjs";
38
+ import { Text, Text as Text$1 } from "./Text/index.mjs";
45
39
  import { TextInput } from "./TextInput/index.mjs";
46
- import { View } from "./View/index.mjs";
40
+ import { View, View as View$1 } from "./View/index.mjs";
47
41
  import { LogBox } from "./LogBox/index.mjs";
48
42
  import { useColorScheme } from "./useColorScheme/index.mjs";
49
43
  import { useLocaleContext } from "./useLocaleContext/index.mjs";
50
44
  import { useWindowDimensions } from "./useWindowDimensions/index.mjs";
51
- export * from "@tamagui/react-native-web-internals";
52
- import { View as _View } from "./View/index.mjs";
53
- import { Text as _Text } from "./Text/index.mjs";
54
- import { Image as _Image } from "./Image/index.mjs";
55
- import { ScrollView as _ScrollView } from "./ScrollView/index.mjs";
56
45
  import { unstable_batchedUpdates } from "react-dom";
46
+
47
+ export * from "@tamagui/react-native-web-internals"
48
+
57
49
  function requireNativeComponent(name) {
58
- return function FakeComponent() {
59
- return null;
60
- };
61
- }
62
- class AnimatedValue {
63
- _value;
64
- _offset;
65
- _listeners;
66
- _nextId;
67
- constructor(value = 0) {
68
- this._value = value;
69
- this._offset = 0;
70
- this._listeners = {};
71
- this._nextId = 0;
72
- }
73
- setValue(value) {
74
- this._value = value;
75
- this._notifyListeners();
76
- }
77
- setOffset(offset) {
78
- this._offset = offset;
79
- }
80
- flattenOffset() {
81
- this._value += this._offset;
82
- this._offset = 0;
83
- }
84
- extractOffset() {
85
- this._offset = this._value;
86
- this._value = 0;
87
- }
88
- addListener(callback) {
89
- const id = String(this._nextId++);
90
- this._listeners[id] = callback;
91
- return id;
92
- }
93
- removeListener(id) {
94
- delete this._listeners[id];
95
- }
96
- removeAllListeners() {
97
- this._listeners = {};
98
- }
99
- stopAnimation(callback) {
100
- callback?.(this._value);
101
- }
102
- resetAnimation(callback) {
103
- callback?.(this._value);
104
- }
105
- interpolate(config) {
106
- return new AnimatedValue(this._value);
107
- }
108
- _notifyListeners() {
109
- for (const key in this._listeners) {
110
- this._listeners[key]({
111
- value: this._value
112
- });
113
- }
114
- }
115
- __getValue() {
116
- return this._value + this._offset;
117
- }
118
- }
119
- class AnimatedValueXY {
120
- x;
121
- y;
122
- constructor(value) {
123
- this.x = new AnimatedValue(value?.x ?? 0);
124
- this.y = new AnimatedValue(value?.y ?? 0);
125
- }
126
- setValue(value) {
127
- this.x.setValue(value.x);
128
- this.y.setValue(value.y);
129
- }
130
- setOffset(offset) {
131
- this.x.setOffset(offset.x);
132
- this.y.setOffset(offset.y);
133
- }
134
- flattenOffset() {
135
- this.x.flattenOffset();
136
- this.y.flattenOffset();
137
- }
138
- stopAnimation(callback) {
139
- callback?.({
140
- x: this.x._value,
141
- y: this.y._value
142
- });
143
- }
144
- addListener(callback) {
145
- const xId = this.x.addListener(() => {
146
- callback({
147
- x: this.x._value,
148
- y: this.y._value
149
- });
150
- });
151
- this.y.addListener(() => {
152
- callback({
153
- x: this.x._value,
154
- y: this.y._value
155
- });
156
- });
157
- return xId;
158
- }
159
- removeAllListeners() {
160
- this.x.removeAllListeners();
161
- this.y.removeAllListeners();
162
- }
163
- getLayout() {
164
- return {
165
- left: this.x,
166
- top: this.y
167
- };
168
- }
169
- getTranslateTransform() {
170
- return [{
171
- translateX: this.x
172
- }, {
173
- translateY: this.y
174
- }];
175
- }
50
+ return function FakeComponent() {
51
+ return null;
52
+ };
176
53
  }
54
+ var AnimatedValue = class AnimatedValue {
55
+ _value;
56
+ _offset;
57
+ _listeners;
58
+ _nextId;
59
+ constructor(value = 0) {
60
+ this._value = value;
61
+ this._offset = 0;
62
+ this._listeners = {};
63
+ this._nextId = 0;
64
+ }
65
+ setValue(value) {
66
+ this._value = value;
67
+ this._notifyListeners();
68
+ }
69
+ setOffset(offset) {
70
+ this._offset = offset;
71
+ }
72
+ flattenOffset() {
73
+ this._value += this._offset;
74
+ this._offset = 0;
75
+ }
76
+ extractOffset() {
77
+ this._offset = this._value;
78
+ this._value = 0;
79
+ }
80
+ addListener(callback) {
81
+ const id = String(this._nextId++);
82
+ this._listeners[id] = callback;
83
+ return id;
84
+ }
85
+ removeListener(id) {
86
+ delete this._listeners[id];
87
+ }
88
+ removeAllListeners() {
89
+ this._listeners = {};
90
+ }
91
+ stopAnimation(callback) {
92
+ callback?.(this._value);
93
+ }
94
+ resetAnimation(callback) {
95
+ callback?.(this._value);
96
+ }
97
+ interpolate(config) {
98
+ return new AnimatedValue(this._value);
99
+ }
100
+ _notifyListeners() {
101
+ for (const key in this._listeners) {
102
+ this._listeners[key]({ value: this._value });
103
+ }
104
+ }
105
+ __getValue() {
106
+ return this._value + this._offset;
107
+ }
108
+ };
109
+ var AnimatedValueXY = class {
110
+ x;
111
+ y;
112
+ constructor(value) {
113
+ this.x = new AnimatedValue(value?.x ?? 0);
114
+ this.y = new AnimatedValue(value?.y ?? 0);
115
+ }
116
+ setValue(value) {
117
+ this.x.setValue(value.x);
118
+ this.y.setValue(value.y);
119
+ }
120
+ setOffset(offset) {
121
+ this.x.setOffset(offset.x);
122
+ this.y.setOffset(offset.y);
123
+ }
124
+ flattenOffset() {
125
+ this.x.flattenOffset();
126
+ this.y.flattenOffset();
127
+ }
128
+ stopAnimation(callback) {
129
+ callback?.({
130
+ x: this.x._value,
131
+ y: this.y._value
132
+ });
133
+ }
134
+ addListener(callback) {
135
+ const xId = this.x.addListener(() => {
136
+ callback({
137
+ x: this.x._value,
138
+ y: this.y._value
139
+ });
140
+ });
141
+ this.y.addListener(() => {
142
+ callback({
143
+ x: this.x._value,
144
+ y: this.y._value
145
+ });
146
+ });
147
+ return xId;
148
+ }
149
+ removeAllListeners() {
150
+ this.x.removeAllListeners();
151
+ this.y.removeAllListeners();
152
+ }
153
+ getLayout() {
154
+ return {
155
+ left: this.x,
156
+ top: this.y
157
+ };
158
+ }
159
+ getTranslateTransform() {
160
+ return [{ translateX: this.x }, { translateY: this.y }];
161
+ }
162
+ };
177
163
  const noopAnim = {
178
- start: cb => cb?.({
179
- finished: true
180
- }),
181
- stop: () => {},
182
- reset: () => {}
164
+ start: (cb) => cb?.({ finished: true }),
165
+ stop: () => {},
166
+ reset: () => {}
183
167
  };
184
168
  const Animated = {
185
- View: _View,
186
- Text: _Text,
187
- Image: _Image,
188
- ScrollView: _ScrollView,
189
- FlatList: _View,
190
- SectionList: _View,
191
- Value: AnimatedValue,
192
- ValueXY: AnimatedValueXY,
193
- timing: () => noopAnim,
194
- spring: () => noopAnim,
195
- decay: () => noopAnim,
196
- sequence: () => noopAnim,
197
- parallel: () => noopAnim,
198
- stagger: () => noopAnim,
199
- loop: () => noopAnim,
200
- event: () => () => {},
201
- add: (a, b) => new AnimatedValue(0),
202
- subtract: (a, b) => new AnimatedValue(0),
203
- multiply: (a, b) => new AnimatedValue(0),
204
- divide: (a, b) => new AnimatedValue(0),
205
- modulo: (a, b) => new AnimatedValue(0),
206
- diffClamp: (a, min, max) => new AnimatedValue(0),
207
- delay: () => noopAnim,
208
- createAnimatedComponent: c => c
169
+ View: View$1,
170
+ Text: Text$1,
171
+ Image: Image$1,
172
+ ScrollView: ScrollView$1,
173
+ FlatList: View$1,
174
+ SectionList: View$1,
175
+ Value: AnimatedValue,
176
+ ValueXY: AnimatedValueXY,
177
+ timing: () => noopAnim,
178
+ spring: () => noopAnim,
179
+ decay: () => noopAnim,
180
+ sequence: () => noopAnim,
181
+ parallel: () => noopAnim,
182
+ stagger: () => noopAnim,
183
+ loop: () => noopAnim,
184
+ event: () => () => {},
185
+ add: (a, b) => new AnimatedValue(0),
186
+ subtract: (a, b) => new AnimatedValue(0),
187
+ multiply: (a, b) => new AnimatedValue(0),
188
+ divide: (a, b) => new AnimatedValue(0),
189
+ modulo: (a, b) => new AnimatedValue(0),
190
+ diffClamp: (a, min, max) => new AnimatedValue(0),
191
+ delay: () => noopAnim,
192
+ createAnimatedComponent: (c) => c
209
193
  };
210
194
  const Easing = {
211
- step0: () => 0,
212
- step1: () => 1,
213
- linear: t => t,
214
- ease: t => t,
215
- quad: t => t * t,
216
- cubic: t => t * t * t,
217
- poly: () => t => t,
218
- sin: t => t,
219
- circle: t => t,
220
- exp: t => t,
221
- elastic: () => t => t,
222
- back: () => t => t,
223
- bounce: t => t,
224
- bezier: () => t => t,
225
- in: fn => fn,
226
- out: fn => fn,
227
- inOut: fn => fn
195
+ step0: () => 0,
196
+ step1: () => 1,
197
+ linear: (t) => t,
198
+ ease: (t) => t,
199
+ quad: (t) => t * t,
200
+ cubic: (t) => t * t * t,
201
+ poly: () => (t) => t,
202
+ sin: (t) => t,
203
+ circle: (t) => t,
204
+ exp: (t) => t,
205
+ elastic: () => (t) => t,
206
+ back: () => (t) => t,
207
+ bounce: (t) => t,
208
+ bezier: () => (t) => t,
209
+ in: (fn) => fn,
210
+ out: (fn) => fn,
211
+ inOut: (fn) => fn
228
212
  };
229
- const findNodeHandle = component => {
230
- throw new Error("not supported - use ref instead");
213
+ const findNodeHandle = (component) => {
214
+ throw new Error("not supported - use ref instead");
231
215
  };
232
216
  const RootTagContext = createContext(null);
233
- export { AccessibilityInfo, AccessibilityUtil, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Clipboard, DeviceEmitter, DeviceEmitter2 as DeviceEventEmitter, DeviceInfo, Dimensions, UnimplementedView as DrawerLayoutAndroid, Easing, UnimplementedView4 as FlatList, I18nManager, Image, ImageBackground, ImageLoader, InteractionManager, Keyboard, KeyboardAvoidingView, Linking, LocaleProvider, LogBox, Modal, default2 as NativeEventEmitter, NativeModules, PanResponder, PixelRatio, Platform, Pressable, RefreshControl, RootTagContext, SafeAreaView, ScrollView, UnimplementedView7 as SectionList, Share, StatusBar, StyleSheet, UnimplementedView2 as Switch, Text, TextAncestorContext, TextInput, TouchableOpacity as Touchable, UnimplementedView5 as TouchableHighlight, UnimplementedView6 as TouchableNativeFeedback, TouchableOpacity2 as TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, UnimplementedView3 as VirtualizedList, canUseDOM, clickProps, createDOMProps, dismissKeyboard, findNodeHandle, flattenStyle, isWebColor, mergeRefs, normalizeColor, processColor, processStyle, render, requireNativeComponent, unstable_batchedUpdates, createElement as unstable_createElement, useColorScheme, useEvent, useHover, useLayoutEffect, useLocaleContext, useMergeRefs, usePlatformMethods, useWindowDimensions };
217
+
218
+ export { AccessibilityInfo, AccessibilityUtil, ActivityIndicator, Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Clipboard, DeviceEmitter, DeviceEmitter2 as DeviceEventEmitter, DeviceInfo, Dimensions, UnimplementedView as DrawerLayoutAndroid, Easing, UnimplementedView4 as FlatList, I18nManager, Image, ImageBackground, ImageLoader, InteractionManager, Keyboard, KeyboardAvoidingView, Linking, LocaleProvider, LogBox, Modal, default2 as NativeEventEmitter, NativeModules, PanResponder, PixelRatio, Platform, Pressable, RefreshControl, RootTagContext, SafeAreaView, ScrollView, UnimplementedView7 as SectionList, Share, StatusBar, StyleSheet, UnimplementedView2 as Switch, Text, TextAncestorContext, TextInput, TouchableOpacity as Touchable, UnimplementedView5 as TouchableHighlight, UnimplementedView6 as TouchableNativeFeedback, TouchableOpacity2 as TouchableOpacity, TouchableWithoutFeedback, TurboModuleRegistry, UIManager, Vibration, View, UnimplementedView3 as VirtualizedList, canUseDOM, clickProps, createDOMProps, dismissKeyboard, findNodeHandle, flattenStyle, isWebColor, mergeRefs, normalizeColor, processColor, processStyle, render, requireNativeComponent, unstable_batchedUpdates, createElement as unstable_createElement, useColorScheme, useEvent, useHover, useLayoutEffect, useLocaleContext, useMergeRefs, usePlatformMethods, useWindowDimensions };
234
219
  //# sourceMappingURL=without-animated.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["createContext","createElement","AccessibilityUtil","canUseDOM","clickProps","createDOMProps","dismissKeyboard","flattenStyle","ImageLoader","InteractionManager","isWebColor","LocaleProvider","mergeRefs","normalizeColor","Platform","processColor","processStyle","StyleSheet","TextAncestorContext","UIManager","useEvent","useHover","useLayoutEffect","useMergeRefs","usePlatformMethods","render","NativeModules","default","default2","AccessibilityInfo","Alert","Appearance","AppRegistry","AppState","BackHandler","Clipboard","DeviceInfo","DeviceEmitter","DeviceEmitter2","Dimensions","I18nManager","Keyboard","Linking","PanResponder","PixelRatio","Share","Vibration","UnimplementedView","UnimplementedView2","UnimplementedView3","UnimplementedView4","UnimplementedView5","UnimplementedView6","UnimplementedView7","TouchableOpacity","TouchableOpacity2","TouchableWithoutFeedback","ActivityIndicator","Image","ImageBackground","KeyboardAvoidingView","Modal","Pressable","RefreshControl","SafeAreaView","ScrollView","StatusBar","Text","TextInput","View","LogBox","useColorScheme","useLocaleContext","useWindowDimensions","_View","_Text","_Image","_ScrollView","unstable_batchedUpdates","requireNativeComponent","name","FakeComponent","AnimatedValue","_value","_offset","_listeners","_nextId","constructor","value","setValue","_notifyListeners","setOffset","offset","flattenOffset","extractOffset","addListener","callback","id","String","removeListener","removeAllListeners","stopAnimation","resetAnimation","interpolate","config","key","__getValue","AnimatedValueXY","x","y","xId","getLayout","left","top","getTranslateTransform","translateX","translateY","noopAnim","start","cb","finished","stop","reset","Animated","FlatList","SectionList","Value","ValueXY","timing","spring","decay","sequence","parallel","stagger","loop","event","add","a","b","subtract","multiply","divide","modulo","diffClamp","min","max","delay","createAnimatedComponent","c","Easing","step0","step1","linear","t","ease","quad","cubic","poly","sin","circle","exp","elastic","back","bounce","bezier","in","fn","out","inOut","findNodeHandle","component","Error","RootTagContext"],"sources":["../../src/without-animated.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAE9B,SAA0BC,aAAA,QAA8B;AACxD,SACEC,iBAAA,EACAC,SAAA,EACAC,UAAA,EACAC,cAAA,EACAC,eAAA,EACAC,YAAA,EACAC,WAAA,EACAC,kBAAA,EACAC,UAAA,EACAC,cAAA,EACAC,SAAA,EACAC,cAAA,EACAC,QAAA,EACAC,YAAA,EACAC,YAAA,EACAC,UAAA,EACAC,mBAAA,EACAC,SAAA,EACAC,QAAA,EACAC,QAAA,EACAC,eAAA,EACAC,YAAA,E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AAA,IAAcA,CAAA,GAAIA,CAAA,GAAIA,CAAA;EAC9BI,IAAA,EAAMA,CAAA,KAAOJ,CAAA,IAAcA,CAAA;EAC3BK,GAAA,EAAML,CAAA,IAAcA,CAAA;EACpBM,MAAA,EAASN,CAAA,IAAcA,CAAA;EACvBO,GAAA,EAAMP,CAAA,IAAcA,CAAA;EACpBQ,OAAA,EAASA,CAAA,KAAOR,CAAA,IAAcA,CAAA;EAC9BS,IAAA,EAAMA,CAAA,KAAOT,CAAA,IAAcA,CAAA;EAC3BU,MAAA,EAASV,CAAA,IAAcA,CAAA;EACvBW,MAAA,EAAQA,CAAA,KAAOX,CAAA,IAAcA,CAAA;EAC7BY,EAAA,EAAKC,EAAA,IAAYA,EAAA;EACjBC,GAAA,EAAMD,EAAA,IAAYA,EAAA;EAClBE,KAAA,EAAQF,EAAA,IAAYA;AACtB;AAEO,MAAMG,cAAA,GAAkBC,SAAA,IAAmB;EAChD,MAAM,IAAIC,KAAA,CAAM,iCAAiC;AACnD;AAKO,MAAMC,cAAA,GAAiB5K,aAAA,CAAc,IAAI","ignoreList":[]}
1
+ {"version":3,"file":"without-animated.js","names":["_View","_Text","_Image","_ScrollView"],"sources":["esm/without-animated.js"],"sourcesContent":["import { createContext } from \"react\";\nimport { createElement } from \"./createElement/index\";\nimport {\n AccessibilityUtil,\n canUseDOM,\n clickProps,\n createDOMProps,\n dismissKeyboard,\n flattenStyle,\n ImageLoader,\n InteractionManager,\n isWebColor,\n LocaleProvider,\n mergeRefs,\n normalizeColor,\n Platform,\n processColor,\n processStyle,\n StyleSheet,\n TextAncestorContext,\n UIManager,\n useEvent,\n useHover,\n useLayoutEffect,\n useMergeRefs,\n usePlatformMethods\n} from \"@tamagui/react-native-web-internals\";\nimport { render } from \"./render/index\";\nimport { NativeModules } from \"./NativeModules/index\";\nimport { default as default2 } from \"./vendor/react-native/EventEmitter/NativeEventEmitter\";\nimport * as TurboModuleRegistry from \"./vendor/react-native/TurboModule/TurboModuleRegistry\";\nimport { AccessibilityInfo } from \"./AccessibilityInfo/index\";\nimport { Alert } from \"./Alert/index\";\nimport { Appearance } from \"./Appearance/index\";\nimport { AppRegistry } from \"./AppRegistry/index\";\nimport { AppState } from \"./AppState/index\";\nimport { BackHandler } from \"./BackHandler/index\";\nimport { Clipboard } from \"./Clipboard/index\";\nimport { DeviceInfo } from \"./DeviceInfo/index\";\nimport { DeviceEmitter } from \"./DeviceEmitter\";\nimport { DeviceEmitter as DeviceEmitter2 } from \"./DeviceEmitter\";\nimport { Dimensions } from \"./Dimensions/index\";\nimport { I18nManager } from \"./I18nManager/index\";\nimport { Keyboard } from \"./Keyboard/index\";\nimport { Linking } from \"./Linking/index\";\nimport { PanResponder } from \"./PanResponder/index\";\nimport { PixelRatio } from \"./PixelRatio/index\";\nimport { Share } from \"./Share/index\";\nimport { Vibration } from \"./Vibration/index\";\nimport { UnimplementedView } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView2 } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView3 } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView4 } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView5 } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView6 } from \"./UnimplementedView\";\nimport { UnimplementedView as UnimplementedView7 } from \"./UnimplementedView\";\nimport { TouchableOpacity, TouchableOpacity as TouchableOpacity2 } from \"./TouchableOpacity\";\nimport { TouchableWithoutFeedback } from \"./TouchableWithoutFeedback\";\nimport { ActivityIndicator } from \"./ActivityIndicator/index\";\nimport { Image } from \"./Image/index\";\nimport { ImageBackground } from \"./ImageBackground/index\";\nimport { KeyboardAvoidingView } from \"./KeyboardAvoidingView/index\";\nimport { Modal } from \"./Modal/index\";\nimport { Pressable } from \"./Pressable/index\";\nimport { RefreshControl } from \"./RefreshControl/index\";\nimport { SafeAreaView } from \"./SafeAreaView/index\";\nimport { ScrollView } from \"./ScrollView/index\";\nimport { StatusBar } from \"./StatusBar/index\";\nimport { Text } from \"./Text/index\";\nimport { TextInput } from \"./TextInput/index\";\nimport { View } from \"./View/index\";\nimport { LogBox } from \"./LogBox/index\";\nimport { useColorScheme } from \"./useColorScheme/index\";\nimport { useLocaleContext } from \"./useLocaleContext/index\";\nimport { useWindowDimensions } from \"./useWindowDimensions/index\";\nexport * from \"@tamagui/react-native-web-internals\";\nimport { View as _View } from \"./View/index\";\nimport { Text as _Text } from \"./Text/index\";\nimport { Image as _Image } from \"./Image/index\";\nimport { ScrollView as _ScrollView } from \"./ScrollView/index\";\nimport { unstable_batchedUpdates } from \"react-dom\";\nfunction requireNativeComponent(name) {\n return function FakeComponent() {\n return null;\n };\n}\nclass AnimatedValue {\n _value;\n _offset;\n _listeners;\n _nextId;\n constructor(value = 0) {\n this._value = value;\n this._offset = 0;\n this._listeners = {};\n this._nextId = 0;\n }\n setValue(value) {\n this._value = value;\n this._notifyListeners();\n }\n setOffset(offset) {\n this._offset = offset;\n }\n flattenOffset() {\n this._value += this._offset;\n this._offset = 0;\n }\n extractOffset() {\n this._offset = this._value;\n this._value = 0;\n }\n addListener(callback) {\n const id = String(this._nextId++);\n this._listeners[id] = callback;\n return id;\n }\n removeListener(id) {\n delete this._listeners[id];\n }\n removeAllListeners() {\n this._listeners = {};\n }\n stopAnimation(callback) {\n callback?.(this._value);\n }\n resetAnimation(callback) {\n callback?.(this._value);\n }\n interpolate(config) {\n return new AnimatedValue(this._value);\n }\n _notifyListeners() {\n for (const key in this._listeners) {\n this._listeners[key]({ value: this._value });\n }\n }\n __getValue() {\n return this._value + this._offset;\n }\n}\nclass AnimatedValueXY {\n x;\n y;\n constructor(value) {\n this.x = new AnimatedValue(value?.x ?? 0);\n this.y = new AnimatedValue(value?.y ?? 0);\n }\n setValue(value) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n setOffset(offset) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n flattenOffset() {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n stopAnimation(callback) {\n callback?.({ x: this.x._value, y: this.y._value });\n }\n addListener(callback) {\n const xId = this.x.addListener(() => {\n callback({ x: this.x._value, y: this.y._value });\n });\n this.y.addListener(() => {\n callback({ x: this.x._value, y: this.y._value });\n });\n return xId;\n }\n removeAllListeners() {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n }\n getLayout() {\n return { left: this.x, top: this.y };\n }\n getTranslateTransform() {\n return [{ translateX: this.x }, { translateY: this.y }];\n }\n}\nconst noopAnim = {\n start: (cb) => cb?.({ finished: true }),\n stop: () => {\n },\n reset: () => {\n }\n};\nconst Animated = {\n View: _View,\n Text: _Text,\n Image: _Image,\n ScrollView: _ScrollView,\n FlatList: _View,\n SectionList: _View,\n Value: AnimatedValue,\n ValueXY: AnimatedValueXY,\n timing: () => noopAnim,\n spring: () => noopAnim,\n decay: () => noopAnim,\n sequence: () => noopAnim,\n parallel: () => noopAnim,\n stagger: () => noopAnim,\n loop: () => noopAnim,\n event: () => () => {\n },\n add: (a, b) => new AnimatedValue(0),\n subtract: (a, b) => new AnimatedValue(0),\n multiply: (a, b) => new AnimatedValue(0),\n divide: (a, b) => new AnimatedValue(0),\n modulo: (a, b) => new AnimatedValue(0),\n diffClamp: (a, min, max) => new AnimatedValue(0),\n delay: () => noopAnim,\n createAnimatedComponent: (c) => c\n};\nconst Easing = {\n step0: () => 0,\n step1: () => 1,\n linear: (t) => t,\n ease: (t) => t,\n quad: (t) => t * t,\n cubic: (t) => t * t * t,\n poly: () => (t) => t,\n sin: (t) => t,\n circle: (t) => t,\n exp: (t) => t,\n elastic: () => (t) => t,\n back: () => (t) => t,\n bounce: (t) => t,\n bezier: () => (t) => t,\n in: (fn) => fn,\n out: (fn) => fn,\n inOut: (fn) => fn\n};\nconst findNodeHandle = (component) => {\n throw new Error(\"not supported - use ref instead\");\n};\nconst RootTagContext = createContext(null);\nexport {\n AccessibilityInfo,\n AccessibilityUtil,\n ActivityIndicator,\n Alert,\n Animated,\n AppRegistry,\n AppState,\n Appearance,\n BackHandler,\n Clipboard,\n DeviceEmitter,\n DeviceEmitter2 as DeviceEventEmitter,\n DeviceInfo,\n Dimensions,\n UnimplementedView as DrawerLayoutAndroid,\n Easing,\n UnimplementedView4 as FlatList,\n I18nManager,\n Image,\n ImageBackground,\n ImageLoader,\n InteractionManager,\n Keyboard,\n KeyboardAvoidingView,\n Linking,\n LocaleProvider,\n LogBox,\n Modal,\n default2 as NativeEventEmitter,\n NativeModules,\n PanResponder,\n PixelRatio,\n Platform,\n Pressable,\n RefreshControl,\n RootTagContext,\n SafeAreaView,\n ScrollView,\n UnimplementedView7 as SectionList,\n Share,\n StatusBar,\n StyleSheet,\n UnimplementedView2 as Switch,\n Text,\n TextAncestorContext,\n TextInput,\n TouchableOpacity as Touchable,\n UnimplementedView5 as TouchableHighlight,\n UnimplementedView6 as TouchableNativeFeedback,\n TouchableOpacity2 as TouchableOpacity,\n TouchableWithoutFeedback,\n TurboModuleRegistry,\n UIManager,\n Vibration,\n View,\n UnimplementedView3 as VirtualizedList,\n canUseDOM,\n clickProps,\n createDOMProps,\n dismissKeyboard,\n findNodeHandle,\n flattenStyle,\n isWebColor,\n mergeRefs,\n normalizeColor,\n processColor,\n processStyle,\n render,\n requireNativeComponent,\n unstable_batchedUpdates,\n createElement as unstable_createElement,\n useColorScheme,\n useEvent,\n useHover,\n useLayoutEffect,\n useLocaleContext,\n useMergeRefs,\n usePlatformMethods,\n useWindowDimensions\n};\n//# sourceMappingURL=without-animated.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA,SAAS,uBAAuB,MAAM;CACpC,OAAO,SAAS,gBAAgB;EAC9B,OAAO;CACT;AACF;AACA,IAAM,gBAAN,MAAM,cAAc;CAClB;CACA;CACA;CACA;CACA,YAAY,QAAQ,GAAG;EACrB,KAAK,SAAS;EACd,KAAK,UAAU;EACf,KAAK,aAAa,CAAC;EACnB,KAAK,UAAU;CACjB;CACA,SA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