@hanzogui/react-native-web-lite 2.0.0-rc.41-hanzoai.5

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 (644) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +31 -0
  3. package/dist/cjs/AccessibilityInfo/index.cjs +109 -0
  4. package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +209 -0
  5. package/dist/cjs/ActivityIndicator/index.cjs +130 -0
  6. package/dist/cjs/Alert/index.cjs +30 -0
  7. package/dist/cjs/AppRegistry/AppContainer.cjs +75 -0
  8. package/dist/cjs/AppRegistry/__tests__/index-test.cjs +97 -0
  9. package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +162 -0
  10. package/dist/cjs/AppRegistry/index.cjs +100 -0
  11. package/dist/cjs/AppRegistry/renderApplication.cjs +74 -0
  12. package/dist/cjs/AppState/__tests__/index-test.cjs +38 -0
  13. package/dist/cjs/AppState/index.cjs +85 -0
  14. package/dist/cjs/Appearance/index.cjs +64 -0
  15. package/dist/cjs/BackHandler/index.cjs +37 -0
  16. package/dist/cjs/Clipboard/index.cjs +64 -0
  17. package/dist/cjs/DeviceEmitter.cjs +29 -0
  18. package/dist/cjs/DeviceInfo/index.cjs +76 -0
  19. package/dist/cjs/Dimensions/__tests__/index-test.cjs +67 -0
  20. package/dist/cjs/Dimensions/index.cjs +112 -0
  21. package/dist/cjs/FlatList.cjs +241 -0
  22. package/dist/cjs/I18nManager/index.cjs +40 -0
  23. package/dist/cjs/Image/index.cjs +355 -0
  24. package/dist/cjs/Image/types.cjs +18 -0
  25. package/dist/cjs/ImageBackground/__tests__/index-test.cjs +72 -0
  26. package/dist/cjs/ImageBackground/index.cjs +69 -0
  27. package/dist/cjs/InteractionManager/TaskQueue.cjs +111 -0
  28. package/dist/cjs/InteractionManager/index.cjs +141 -0
  29. package/dist/cjs/Keyboard/index.cjs +40 -0
  30. package/dist/cjs/KeyboardAvoidingView/index.cjs +72 -0
  31. package/dist/cjs/Libraries/Pressability/Pressability.cjs +28 -0
  32. package/dist/cjs/Libraries/Pressability/usePressability.cjs +28 -0
  33. package/dist/cjs/Linking/__tests__/index-test.cjs +56 -0
  34. package/dist/cjs/Linking/index.cjs +103 -0
  35. package/dist/cjs/LogBox/index.cjs +35 -0
  36. package/dist/cjs/Modal/ModalAnimation.cjs +174 -0
  37. package/dist/cjs/Modal/ModalContent.cjs +95 -0
  38. package/dist/cjs/Modal/ModalPortal.cjs +63 -0
  39. package/dist/cjs/Modal/index.cjs +28 -0
  40. package/dist/cjs/NativeModules/index.cjs +31 -0
  41. package/dist/cjs/PanResponder/index.cjs +39 -0
  42. package/dist/cjs/PixelRatio/index.cjs +59 -0
  43. package/dist/cjs/Pressable/index.cjs +172 -0
  44. package/dist/cjs/RefreshControl/index.cjs +51 -0
  45. package/dist/cjs/SafeAreaView/index.cjs +70 -0
  46. package/dist/cjs/ScrollView/ScrollViewBase.cjs +167 -0
  47. package/dist/cjs/ScrollView/index.cjs +672 -0
  48. package/dist/cjs/SectionList.cjs +41 -0
  49. package/dist/cjs/Share/index.cjs +58 -0
  50. package/dist/cjs/StatusBar/index.cjs +38 -0
  51. package/dist/cjs/Text/index.cjs +197 -0
  52. package/dist/cjs/Text/types.cjs +18 -0
  53. package/dist/cjs/TextInput/index.cjs +396 -0
  54. package/dist/cjs/TextInput/types.cjs +18 -0
  55. package/dist/cjs/TouchableNativeFeedback.cjs +28 -0
  56. package/dist/cjs/TouchableOpacity.cjs +125 -0
  57. package/dist/cjs/TouchableWithoutFeedback.cjs +95 -0
  58. package/dist/cjs/UnimplementedView.cjs +52 -0
  59. package/dist/cjs/Vibration/index.cjs +40 -0
  60. package/dist/cjs/View/index.cjs +144 -0
  61. package/dist/cjs/View/types.cjs +18 -0
  62. package/dist/cjs/VirtualizedList.cjs +41 -0
  63. package/dist/cjs/codegenNativeCommand.cjs +31 -0
  64. package/dist/cjs/codegenNativeComponent.cjs +31 -0
  65. package/dist/cjs/createElement/__tests__/index-test.cjs +828 -0
  66. package/dist/cjs/createElement/index.cjs +94 -0
  67. package/dist/cjs/createReactDOMStyle.cjs +30 -0
  68. package/dist/cjs/index.cjs +174 -0
  69. package/dist/cjs/modules/requestIdleCallback.cjs +45 -0
  70. package/dist/cjs/preprocess.cjs +32 -0
  71. package/dist/cjs/render/index.cjs +34 -0
  72. package/dist/cjs/styleTypes.cjs +18 -0
  73. package/dist/cjs/types.cjs +18 -0
  74. package/dist/cjs/useColorScheme/index.cjs +53 -0
  75. package/dist/cjs/useLocaleContext/index.cjs +28 -0
  76. package/dist/cjs/useWindowDimensions/index.cjs +58 -0
  77. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +48 -0
  78. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +164 -0
  79. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +587 -0
  80. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +147 -0
  81. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -0
  82. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +199 -0
  83. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +402 -0
  84. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +80 -0
  85. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +77 -0
  86. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +86 -0
  87. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +72 -0
  88. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +95 -0
  89. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +233 -0
  90. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +134 -0
  91. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +124 -0
  92. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +50 -0
  93. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +44 -0
  94. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +50 -0
  95. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +50 -0
  96. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +32 -0
  97. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +32 -0
  98. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +65 -0
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +69 -0
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +274 -0
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +74 -0
  102. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +84 -0
  103. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +225 -0
  104. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +64 -0
  105. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +69 -0
  106. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +174 -0
  107. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +151 -0
  108. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +136 -0
  109. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +69 -0
  110. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +90 -0
  111. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +127 -0
  112. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +239 -0
  113. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +119 -0
  114. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +87 -0
  115. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +104 -0
  116. package/dist/cjs/vendor/react-native/Batchinator/index.cjs +72 -0
  117. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +73 -0
  118. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +31 -0
  119. package/dist/cjs/vendor/react-native/FeatureFlags.cjs +35 -0
  120. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +189 -0
  121. package/dist/cjs/vendor/react-native/FlatList/index.cjs +324 -0
  122. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +93 -0
  123. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +116 -0
  124. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +207 -0
  125. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +62 -0
  126. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +36 -0
  127. package/dist/cjs/vendor/react-native/SectionList/index.cjs +128 -0
  128. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +52 -0
  129. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +51 -0
  130. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +125 -0
  131. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +36 -0
  132. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +39 -0
  133. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +158 -0
  134. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +30 -0
  135. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +40 -0
  136. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +45 -0
  137. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +45 -0
  138. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +42 -0
  139. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +184 -0
  140. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +175 -0
  141. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +144 -0
  142. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +110 -0
  143. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +77 -0
  144. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +92 -0
  145. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +182 -0
  146. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +89 -0
  147. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +66 -0
  148. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +310 -0
  149. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +165 -0
  150. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +74 -0
  151. package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +32 -0
  152. package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -0
  153. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +59 -0
  154. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +136 -0
  155. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +46 -0
  156. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +96 -0
  157. package/dist/cjs/vendor/react-native/infoLog/index.cjs +34 -0
  158. package/dist/cjs/vendor/react-native/useRefEffect.cjs +42 -0
  159. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +103 -0
  160. package/dist/cjs/without-animated.cjs +348 -0
  161. package/dist/esm/AccessibilityInfo/index.mjs +84 -0
  162. package/dist/esm/AccessibilityInfo/index.mjs.map +1 -0
  163. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +186 -0
  164. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -0
  165. package/dist/esm/ActivityIndicator/index.mjs +93 -0
  166. package/dist/esm/ActivityIndicator/index.mjs.map +1 -0
  167. package/dist/esm/Alert/index.mjs +5 -0
  168. package/dist/esm/Alert/index.mjs.map +1 -0
  169. package/dist/esm/AppRegistry/AppContainer.mjs +38 -0
  170. package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -0
  171. package/dist/esm/AppRegistry/__tests__/index-test.mjs +74 -0
  172. package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -0
  173. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +139 -0
  174. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -0
  175. package/dist/esm/AppRegistry/index.mjs +75 -0
  176. package/dist/esm/AppRegistry/index.mjs.map +1 -0
  177. package/dist/esm/AppRegistry/renderApplication.mjs +48 -0
  178. package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -0
  179. package/dist/esm/AppState/__tests__/index-test.mjs +15 -0
  180. package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -0
  181. package/dist/esm/AppState/index.mjs +60 -0
  182. package/dist/esm/AppState/index.mjs.map +1 -0
  183. package/dist/esm/Appearance/index.mjs +39 -0
  184. package/dist/esm/Appearance/index.mjs.map +1 -0
  185. package/dist/esm/BackHandler/index.mjs +12 -0
  186. package/dist/esm/BackHandler/index.mjs.map +1 -0
  187. package/dist/esm/Clipboard/index.mjs +39 -0
  188. package/dist/esm/Clipboard/index.mjs.map +1 -0
  189. package/dist/esm/DeviceEmitter.mjs +4 -0
  190. package/dist/esm/DeviceEmitter.mjs.map +1 -0
  191. package/dist/esm/DeviceInfo/index.mjs +51 -0
  192. package/dist/esm/DeviceInfo/index.mjs.map +1 -0
  193. package/dist/esm/Dimensions/__tests__/index-test.mjs +44 -0
  194. package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -0
  195. package/dist/esm/Dimensions/index.mjs +86 -0
  196. package/dist/esm/Dimensions/index.mjs.map +1 -0
  197. package/dist/esm/FlatList.mjs +204 -0
  198. package/dist/esm/FlatList.mjs.map +1 -0
  199. package/dist/esm/I18nManager/index.mjs +15 -0
  200. package/dist/esm/I18nManager/index.mjs.map +1 -0
  201. package/dist/esm/Image/index.mjs +318 -0
  202. package/dist/esm/Image/index.mjs.map +1 -0
  203. package/dist/esm/Image/types.mjs +2 -0
  204. package/dist/esm/Image/types.mjs.map +1 -0
  205. package/dist/esm/ImageBackground/__tests__/index-test.mjs +49 -0
  206. package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -0
  207. package/dist/esm/ImageBackground/index.mjs +43 -0
  208. package/dist/esm/ImageBackground/index.mjs.map +1 -0
  209. package/dist/esm/InteractionManager/TaskQueue.mjs +86 -0
  210. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -0
  211. package/dist/esm/InteractionManager/index.mjs +105 -0
  212. package/dist/esm/InteractionManager/index.mjs.map +1 -0
  213. package/dist/esm/Keyboard/index.mjs +15 -0
  214. package/dist/esm/Keyboard/index.mjs.map +1 -0
  215. package/dist/esm/KeyboardAvoidingView/index.mjs +35 -0
  216. package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -0
  217. package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
  218. package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
  219. package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
  220. package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
  221. package/dist/esm/Linking/__tests__/index-test.mjs +33 -0
  222. package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -0
  223. package/dist/esm/Linking/index.mjs +78 -0
  224. package/dist/esm/Linking/index.mjs.map +1 -0
  225. package/dist/esm/LogBox/index.mjs +9 -0
  226. package/dist/esm/LogBox/index.mjs.map +1 -0
  227. package/dist/esm/Modal/ModalAnimation.mjs +138 -0
  228. package/dist/esm/Modal/ModalAnimation.mjs.map +1 -0
  229. package/dist/esm/Modal/ModalContent.mjs +59 -0
  230. package/dist/esm/Modal/ModalContent.mjs.map +1 -0
  231. package/dist/esm/Modal/ModalPortal.mjs +27 -0
  232. package/dist/esm/Modal/ModalPortal.mjs.map +1 -0
  233. package/dist/esm/Modal/index.mjs +3 -0
  234. package/dist/esm/Modal/index.mjs.map +1 -0
  235. package/dist/esm/NativeModules/index.mjs +6 -0
  236. package/dist/esm/NativeModules/index.mjs.map +1 -0
  237. package/dist/esm/PanResponder/index.mjs +3 -0
  238. package/dist/esm/PanResponder/index.mjs.map +1 -0
  239. package/dist/esm/PixelRatio/index.mjs +34 -0
  240. package/dist/esm/PixelRatio/index.mjs.map +1 -0
  241. package/dist/esm/Pressable/index.mjs +133 -0
  242. package/dist/esm/Pressable/index.mjs.map +1 -0
  243. package/dist/esm/RefreshControl/index.mjs +25 -0
  244. package/dist/esm/RefreshControl/index.mjs.map +1 -0
  245. package/dist/esm/SafeAreaView/index.mjs +33 -0
  246. package/dist/esm/SafeAreaView/index.mjs.map +1 -0
  247. package/dist/esm/ScrollView/ScrollViewBase.mjs +130 -0
  248. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -0
  249. package/dist/esm/ScrollView/index.mjs +635 -0
  250. package/dist/esm/ScrollView/index.mjs.map +1 -0
  251. package/dist/esm/SectionList.mjs +4 -0
  252. package/dist/esm/SectionList.mjs.map +1 -0
  253. package/dist/esm/Share/index.mjs +33 -0
  254. package/dist/esm/Share/index.mjs.map +1 -0
  255. package/dist/esm/StatusBar/index.mjs +12 -0
  256. package/dist/esm/StatusBar/index.mjs.map +1 -0
  257. package/dist/esm/Text/index.mjs +160 -0
  258. package/dist/esm/Text/index.mjs.map +1 -0
  259. package/dist/esm/Text/types.mjs +2 -0
  260. package/dist/esm/Text/types.mjs.map +1 -0
  261. package/dist/esm/TextInput/index.mjs +359 -0
  262. package/dist/esm/TextInput/index.mjs.map +1 -0
  263. package/dist/esm/TextInput/types.mjs +2 -0
  264. package/dist/esm/TextInput/types.mjs.map +1 -0
  265. package/dist/esm/TouchableNativeFeedback.mjs +3 -0
  266. package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
  267. package/dist/esm/TouchableOpacity.mjs +87 -0
  268. package/dist/esm/TouchableOpacity.mjs.map +1 -0
  269. package/dist/esm/TouchableWithoutFeedback.mjs +59 -0
  270. package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -0
  271. package/dist/esm/UnimplementedView.mjs +16 -0
  272. package/dist/esm/UnimplementedView.mjs.map +1 -0
  273. package/dist/esm/Vibration/index.mjs +15 -0
  274. package/dist/esm/Vibration/index.mjs.map +1 -0
  275. package/dist/esm/View/index.mjs +107 -0
  276. package/dist/esm/View/index.mjs.map +1 -0
  277. package/dist/esm/View/types.mjs +2 -0
  278. package/dist/esm/View/types.mjs.map +1 -0
  279. package/dist/esm/VirtualizedList.mjs +4 -0
  280. package/dist/esm/VirtualizedList.mjs.map +1 -0
  281. package/dist/esm/codegenNativeCommand.mjs +6 -0
  282. package/dist/esm/codegenNativeCommand.mjs.map +1 -0
  283. package/dist/esm/codegenNativeComponent.mjs +6 -0
  284. package/dist/esm/codegenNativeComponent.mjs.map +1 -0
  285. package/dist/esm/createElement/__tests__/index-test.mjs +805 -0
  286. package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -0
  287. package/dist/esm/createElement/index.mjs +57 -0
  288. package/dist/esm/createElement/index.mjs.map +1 -0
  289. package/dist/esm/createReactDOMStyle.mjs +4 -0
  290. package/dist/esm/createReactDOMStyle.mjs.map +1 -0
  291. package/dist/esm/index.js +61 -0
  292. package/dist/esm/index.js.map +1 -0
  293. package/dist/esm/index.mjs +61 -0
  294. package/dist/esm/index.mjs.map +1 -0
  295. package/dist/esm/modules/requestIdleCallback.mjs +19 -0
  296. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
  297. package/dist/esm/preprocess.mjs +3 -0
  298. package/dist/esm/preprocess.mjs.map +1 -0
  299. package/dist/esm/render/index.mjs +6 -0
  300. package/dist/esm/render/index.mjs.map +1 -0
  301. package/dist/esm/styleTypes.mjs +2 -0
  302. package/dist/esm/styleTypes.mjs.map +1 -0
  303. package/dist/esm/types.mjs +2 -0
  304. package/dist/esm/types.mjs.map +1 -0
  305. package/dist/esm/useColorScheme/index.mjs +17 -0
  306. package/dist/esm/useColorScheme/index.mjs.map +1 -0
  307. package/dist/esm/useLocaleContext/index.mjs +3 -0
  308. package/dist/esm/useLocaleContext/index.mjs.map +1 -0
  309. package/dist/esm/useWindowDimensions/index.mjs +22 -0
  310. package/dist/esm/useWindowDimensions/index.mjs.map +1 -0
  311. package/dist/esm/vendor/react-native/Animated/Animated.mjs +22 -0
  312. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -0
  313. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +136 -0
  314. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -0
  315. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +558 -0
  316. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -0
  317. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +118 -0
  318. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -0
  319. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +2 -0
  320. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +1 -0
  321. package/dist/esm/vendor/react-native/Animated/Easing.mjs +171 -0
  322. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -0
  323. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +360 -0
  324. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -0
  325. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +38 -0
  326. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -0
  327. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +35 -0
  328. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -0
  329. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +60 -0
  330. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -0
  331. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +44 -0
  332. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -0
  333. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +67 -0
  334. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -0
  335. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +205 -0
  336. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -0
  337. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +108 -0
  338. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -0
  339. package/dist/esm/vendor/react-native/Animated/bezier.mjs +96 -0
  340. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -0
  341. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +13 -0
  342. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
  343. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +7 -0
  344. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -0
  345. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +13 -0
  346. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -0
  347. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +13 -0
  348. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
  349. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +6 -0
  350. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -0
  351. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +6 -0
  352. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -0
  353. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +28 -0
  354. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -0
  355. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +41 -0
  356. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -0
  357. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +248 -0
  358. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -0
  359. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +48 -0
  360. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -0
  361. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +56 -0
  362. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -0
  363. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +197 -0
  364. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -0
  365. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +38 -0
  366. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -0
  367. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +41 -0
  368. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -0
  369. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +146 -0
  370. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -0
  371. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +125 -0
  372. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -0
  373. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +110 -0
  374. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -0
  375. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +41 -0
  376. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -0
  377. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +64 -0
  378. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -0
  379. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +99 -0
  380. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -0
  381. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +211 -0
  382. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -0
  383. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +93 -0
  384. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -0
  385. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +59 -0
  386. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -0
  387. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +76 -0
  388. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -0
  389. package/dist/esm/vendor/react-native/Batchinator/index.mjs +44 -0
  390. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
  391. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +45 -0
  392. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
  393. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +5 -0
  394. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
  395. package/dist/esm/vendor/react-native/FeatureFlags.mjs +10 -0
  396. package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +1 -0
  397. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +163 -0
  398. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -0
  399. package/dist/esm/vendor/react-native/FlatList/index.mjs +287 -0
  400. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
  401. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +65 -0
  402. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
  403. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +88 -0
  404. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
  405. package/dist/esm/vendor/react-native/PanResponder/index.mjs +170 -0
  406. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -0
  407. package/dist/esm/vendor/react-native/PooledClass/index.mjs +36 -0
  408. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
  409. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +10 -0
  410. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -0
  411. package/dist/esm/vendor/react-native/SectionList/index.mjs +91 -0
  412. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
  413. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +13 -0
  414. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -0
  415. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +12 -0
  416. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -0
  417. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +99 -0
  418. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -0
  419. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +8 -0
  420. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -0
  421. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +11 -0
  422. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -0
  423. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +126 -0
  424. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -0
  425. package/dist/esm/vendor/react-native/Utilities/Platform.mjs +4 -0
  426. package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -0
  427. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +12 -0
  428. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -0
  429. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +17 -0
  430. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -0
  431. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +19 -0
  432. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
  433. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +16 -0
  434. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
  435. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +156 -0
  436. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
  437. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +149 -0
  438. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -0
  439. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +116 -0
  440. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -0
  441. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +85 -0
  442. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -0
  443. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +51 -0
  444. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -0
  445. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +55 -0
  446. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -0
  447. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +145 -0
  448. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -0
  449. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +50 -0
  450. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -0
  451. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +40 -0
  452. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -0
  453. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +284 -0
  454. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -0
  455. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +128 -0
  456. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
  457. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +46 -0
  458. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -0
  459. package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +4 -0
  460. package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +1 -0
  461. package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +2 -0
  462. package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +1 -0
  463. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +31 -0
  464. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -0
  465. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +110 -0
  466. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -0
  467. package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +18 -0
  468. package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +1 -0
  469. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +68 -0
  470. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -0
  471. package/dist/esm/vendor/react-native/infoLog/index.mjs +6 -0
  472. package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -0
  473. package/dist/esm/vendor/react-native/useRefEffect.mjs +16 -0
  474. package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -0
  475. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +75 -0
  476. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
  477. package/dist/esm/without-animated.mjs +234 -0
  478. package/dist/esm/without-animated.mjs.map +1 -0
  479. package/package.json +125 -0
  480. package/src/AccessibilityInfo/index.tsx +113 -0
  481. package/src/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +466 -0
  482. package/src/ActivityIndicator/__tests__/index-test.tsx +147 -0
  483. package/src/ActivityIndicator/index.tsx +116 -0
  484. package/src/Alert/index.tsx +12 -0
  485. package/src/AppRegistry/AppContainer.tsx +54 -0
  486. package/src/AppRegistry/__tests__/index-test.node.tsx +144 -0
  487. package/src/AppRegistry/__tests__/index-test.tsx +94 -0
  488. package/src/AppRegistry/index.tsx +156 -0
  489. package/src/AppRegistry/renderApplication.tsx +75 -0
  490. package/src/AppState/__tests__/index-test.tsx +24 -0
  491. package/src/AppState/index.tsx +92 -0
  492. package/src/Appearance/index.tsx +59 -0
  493. package/src/BackHandler/index.tsx +23 -0
  494. package/src/Clipboard/index.tsx +61 -0
  495. package/src/DeviceEmitter.ts +3 -0
  496. package/src/DeviceInfo/index.tsx +55 -0
  497. package/src/Dimensions/__tests__/index-test.tsx +54 -0
  498. package/src/Dimensions/index.tsx +129 -0
  499. package/src/FlatList.tsx +331 -0
  500. package/src/I18nManager/index.tsx +31 -0
  501. package/src/Image/index.tsx +401 -0
  502. package/src/Image/types.tsx +112 -0
  503. package/src/ImageBackground/__tests__/index-test.tsx +49 -0
  504. package/src/ImageBackground/index.tsx +66 -0
  505. package/src/InteractionManager/TaskQueue.tsx +112 -0
  506. package/src/InteractionManager/index.tsx +140 -0
  507. package/src/Keyboard/index.tsx +24 -0
  508. package/src/KeyboardAvoidingView/index.tsx +55 -0
  509. package/src/Libraries/Pressability/Pressability.ts +2 -0
  510. package/src/Libraries/Pressability/usePressability.ts +2 -0
  511. package/src/Linking/__tests__/index-test.tsx +37 -0
  512. package/src/Linking/index.tsx +113 -0
  513. package/src/LogBox/index.tsx +17 -0
  514. package/src/Modal/ModalAnimation.js +178 -0
  515. package/src/Modal/ModalContent.js +73 -0
  516. package/src/Modal/ModalPortal.js +40 -0
  517. package/src/Modal/index.js +1 -0
  518. package/src/NativeModules/index.tsx +15 -0
  519. package/src/PanResponder/Alternative.tsx +385 -0
  520. package/src/PanResponder/index.tsx +1 -0
  521. package/src/PixelRatio/index.tsx +49 -0
  522. package/src/Pressable/__tests__/__snapshots__/index-test.js.snap +196 -0
  523. package/src/Pressable/index.tsx +236 -0
  524. package/src/RefreshControl/index.tsx +50 -0
  525. package/src/SafeAreaView/index.tsx +48 -0
  526. package/src/ScrollView/ScrollViewBase.tsx +183 -0
  527. package/src/ScrollView/__tests__/__snapshots__/index-test.js.snap +49 -0
  528. package/src/ScrollView/index.tsx +892 -0
  529. package/src/SectionList.tsx +9 -0
  530. package/src/Share/index.tsx +69 -0
  531. package/src/StatusBar/index.tsx +22 -0
  532. package/src/Text/__tests__/__snapshots__/index-test.js.snap +218 -0
  533. package/src/Text/index.tsx +208 -0
  534. package/src/Text/types.tsx +96 -0
  535. package/src/TextInput/index.tsx +453 -0
  536. package/src/TextInput/types.tsx +74 -0
  537. package/src/TouchableNativeFeedback.tsx +8 -0
  538. package/src/TouchableOpacity.tsx +150 -0
  539. package/src/TouchableWithoutFeedback.tsx +95 -0
  540. package/src/UnimplementedView.tsx +13 -0
  541. package/src/Vibration/index.tsx +26 -0
  542. package/src/View/index.tsx +139 -0
  543. package/src/View/types.tsx +170 -0
  544. package/src/VirtualizedList.tsx +9 -0
  545. package/src/codegenNativeCommand.ts +6 -0
  546. package/src/codegenNativeComponent.ts +6 -0
  547. package/src/createElement/__tests__/__snapshots__/index-test.js.snap +13 -0
  548. package/src/createElement/__tests__/index-test.tsx +647 -0
  549. package/src/createElement/index.tsx +92 -0
  550. package/src/createReactDOMStyle.ts +4 -0
  551. package/src/index.tsx +111 -0
  552. package/src/modules/requestIdleCallback.ts +32 -0
  553. package/src/preprocess.ts +7 -0
  554. package/src/render/index.tsx +16 -0
  555. package/src/styleTypes.ts +321 -0
  556. package/src/types.ts +77 -0
  557. package/src/useColorScheme/index.tsx +28 -0
  558. package/src/useLocaleContext/index.tsx +10 -0
  559. package/src/useWindowDimensions/index.tsx +34 -0
  560. package/src/vendor/react-native/Animated/Animated.js +33 -0
  561. package/src/vendor/react-native/Animated/AnimatedEvent.js +199 -0
  562. package/src/vendor/react-native/Animated/AnimatedImplementation.js +649 -0
  563. package/src/vendor/react-native/Animated/AnimatedMock.js +155 -0
  564. package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +11 -0
  565. package/src/vendor/react-native/Animated/Easing.js +249 -0
  566. package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +525 -0
  567. package/src/vendor/react-native/Animated/NativeAnimatedModule.js +57 -0
  568. package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +53 -0
  569. package/src/vendor/react-native/Animated/SpringConfig.js +88 -0
  570. package/src/vendor/react-native/Animated/animations/Animation.js +66 -0
  571. package/src/vendor/react-native/Animated/animations/DecayAnimation.js +88 -0
  572. package/src/vendor/react-native/Animated/animations/SpringAnimation.js +291 -0
  573. package/src/vendor/react-native/Animated/animations/TimingAnimation.js +133 -0
  574. package/src/vendor/react-native/Animated/bezier.js +142 -0
  575. package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +24 -0
  576. package/src/vendor/react-native/Animated/components/AnimatedImage.js +17 -0
  577. package/src/vendor/react-native/Animated/components/AnimatedScrollView.jsx +24 -0
  578. package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +24 -0
  579. package/src/vendor/react-native/Animated/components/AnimatedText.js +15 -0
  580. package/src/vendor/react-native/Animated/components/AnimatedView.js +15 -0
  581. package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +39 -0
  582. package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +60 -0
  583. package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +293 -0
  584. package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +67 -0
  585. package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +78 -0
  586. package/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.jsx +327 -0
  587. package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +56 -0
  588. package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +59 -0
  589. package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +190 -0
  590. package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +160 -0
  591. package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +137 -0
  592. package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +60 -0
  593. package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +90 -0
  594. package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +122 -0
  595. package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +292 -0
  596. package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +108 -0
  597. package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +89 -0
  598. package/src/vendor/react-native/Animated/useAnimatedProps.js +173 -0
  599. package/src/vendor/react-native/Batchinator/index.js +77 -0
  600. package/src/vendor/react-native/EventEmitter/NativeEventEmitter.js +85 -0
  601. package/src/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +22 -0
  602. package/src/vendor/react-native/FeatureFlags.js +8 -0
  603. package/src/vendor/react-native/FillRateHelper/index.js +213 -0
  604. package/src/vendor/react-native/FlatList/index.jsx +518 -0
  605. package/src/vendor/react-native/JSEventLoopWatchdog/index.js +85 -0
  606. package/src/vendor/react-native/LayoutAnimation/index.js +119 -0
  607. package/src/vendor/react-native/PanResponder/index.js +243 -0
  608. package/src/vendor/react-native/PooledClass/index.js +62 -0
  609. package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +20 -0
  610. package/src/vendor/react-native/SHA +2 -0
  611. package/src/vendor/react-native/SectionList/index.jsx +100 -0
  612. package/src/vendor/react-native/StaticContainer/index.js +43 -0
  613. package/src/vendor/react-native/StaticRenderer/index.js +26 -0
  614. package/src/vendor/react-native/TouchHistoryMath/index.js +137 -0
  615. package/src/vendor/react-native/TurboModule/RCTExport.js +37 -0
  616. package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +27 -0
  617. package/src/vendor/react-native/Types/CoreEventTypes.js +151 -0
  618. package/src/vendor/react-native/Utilities/Platform.js +3 -0
  619. package/src/vendor/react-native/Utilities/clamp.js +24 -0
  620. package/src/vendor/react-native/Utilities/setAndForwardRef.js +62 -0
  621. package/src/vendor/react-native/Utilities/useMergeRefs.js +40 -0
  622. package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
  623. package/src/vendor/react-native/ViewabilityHelper/index.js +251 -0
  624. package/src/vendor/react-native/ViewabilityHelper.ts +293 -0
  625. package/src/vendor/react-native/VirtualizeUtils/index.js +204 -0
  626. package/src/vendor/react-native/VirtualizedList/CellRenderMask.js +135 -0
  627. package/src/vendor/react-native/VirtualizedList/ChildListCollection.js +75 -0
  628. package/src/vendor/react-native/VirtualizedList/StateSafePureComponent.js +82 -0
  629. package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.jsx +184 -0
  630. package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.jsx +96 -0
  631. package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
  632. package/src/vendor/react-native/VirtualizedList/index.jsx +378 -0
  633. package/src/vendor/react-native/VirtualizedSectionList/index.jsx +149 -0
  634. package/src/vendor/react-native/deepDiffer/index.js +69 -0
  635. package/src/vendor/react-native/emitter/EventEmitter.js +14 -0
  636. package/src/vendor/react-native/emitter/EventSubscription.js +12 -0
  637. package/src/vendor/react-native/emitter/_EmitterSubscription.js +47 -0
  638. package/src/vendor/react-native/emitter/_EventEmitter.js +175 -0
  639. package/src/vendor/react-native/emitter/_EventSubscription.js +34 -0
  640. package/src/vendor/react-native/emitter/_EventSubscriptionVendor.js +96 -0
  641. package/src/vendor/react-native/infoLog/index.js +21 -0
  642. package/src/vendor/react-native/useRefEffect.js +44 -0
  643. package/src/vendor/react-native/vendor/emitter/EventEmitter.js +121 -0
  644. package/src/without-animated.tsx +288 -0
@@ -0,0 +1,110 @@
1
+ import { AnimatedNode } from "./AnimatedNode.mjs";
2
+ import { AnimatedTransform } from "./AnimatedTransform.mjs";
3
+ import { AnimatedWithChildren } from "./AnimatedWithChildren.mjs";
4
+ import { NativeAnimatedHelper } from "../NativeAnimatedHelper.mjs";
5
+ import { StyleSheet } from "@hanzogui/react-native-web-internals";
6
+ const flattenStyle = StyleSheet.flatten;
7
+ function createAnimatedStyle(inputStyle) {
8
+ const style = flattenStyle(inputStyle);
9
+ const animatedStyles = {};
10
+ for (const key in style) {
11
+ const value = style[key];
12
+ if (key === "transform" && Array.isArray(value)) {
13
+ animatedStyles[key] = new AnimatedTransform(value);
14
+ } else if (value instanceof AnimatedNode) {
15
+ animatedStyles[key] = value;
16
+ } else if (value && !Array.isArray(value) && typeof value === "object") {
17
+ animatedStyles[key] = createAnimatedStyle(value);
18
+ }
19
+ }
20
+ return animatedStyles;
21
+ }
22
+ class AnimatedStyle extends AnimatedWithChildren {
23
+ _inputStyle;
24
+ _style;
25
+ constructor(style) {
26
+ super();
27
+ this._inputStyle = style;
28
+ this._style = createAnimatedStyle(style);
29
+ }
30
+ // Recursively get values for nested styles (like iOS's shadowOffset)
31
+ _walkStyleAndGetValues(style) {
32
+ const updatedStyle = {};
33
+ for (const key in style) {
34
+ const value = style[key];
35
+ if (value instanceof AnimatedNode) {
36
+ if (!value.__isNative) {
37
+ updatedStyle[key] = value.__getValue();
38
+ }
39
+ } else if (value && !Array.isArray(value) && typeof value === "object") {
40
+ updatedStyle[key] = this._walkStyleAndGetValues(value);
41
+ } else {
42
+ updatedStyle[key] = value;
43
+ }
44
+ }
45
+ return updatedStyle;
46
+ }
47
+ __getValue() {
48
+ return [this._inputStyle, this._walkStyleAndGetValues(this._style)];
49
+ }
50
+ // Recursively get animated values for nested styles (like iOS's shadowOffset)
51
+ _walkStyleAndGetAnimatedValues(style) {
52
+ const updatedStyle = {};
53
+ for (const key in style) {
54
+ const value = style[key];
55
+ if (value instanceof AnimatedNode) {
56
+ updatedStyle[key] = value.__getAnimatedValue();
57
+ } else if (value && !Array.isArray(value) && typeof value === "object") {
58
+ updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);
59
+ }
60
+ }
61
+ return updatedStyle;
62
+ }
63
+ __getAnimatedValue() {
64
+ return this._walkStyleAndGetAnimatedValues(this._style);
65
+ }
66
+ __attach() {
67
+ for (const key in this._style) {
68
+ const value = this._style[key];
69
+ if (value instanceof AnimatedNode) {
70
+ value.__addChild(this);
71
+ }
72
+ }
73
+ }
74
+ __detach() {
75
+ for (const key in this._style) {
76
+ const value = this._style[key];
77
+ if (value instanceof AnimatedNode) {
78
+ value.__removeChild(this);
79
+ }
80
+ }
81
+ super.__detach();
82
+ }
83
+ __makeNative() {
84
+ for (const key in this._style) {
85
+ const value = this._style[key];
86
+ if (value instanceof AnimatedNode) {
87
+ value.__makeNative();
88
+ }
89
+ }
90
+ super.__makeNative();
91
+ }
92
+ __getNativeConfig() {
93
+ const styleConfig = {};
94
+ for (const styleKey in this._style) {
95
+ if (this._style[styleKey] instanceof AnimatedNode) {
96
+ const style = this._style[styleKey];
97
+ style.__makeNative();
98
+ styleConfig[styleKey] = style.__getNativeTag();
99
+ }
100
+ }
101
+ NativeAnimatedHelper.validateStyles(styleConfig);
102
+ return {
103
+ type: "style",
104
+ style: styleConfig
105
+ };
106
+ }
107
+ }
108
+ var AnimatedStyle_default = AnimatedStyle;
109
+ export { AnimatedStyle, AnimatedStyle_default as default };
110
+ //# sourceMappingURL=AnimatedStyle.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedNode","AnimatedTransform","AnimatedWithChildren","NativeAnimatedHelper","StyleSheet","flattenStyle","flatten","createAnimatedStyle","inputStyle","style","animatedStyles","key","value","Array","isArray","AnimatedStyle","_inputStyle","_style","constructor","_walkStyleAndGetValues","updatedStyle","__isNative","__getValue","_walkStyleAndGetAnimatedValues","__getAnimatedValue","__attach","__addChild","__detach","__removeChild","__makeNative","__getNativeConfig","styleConfig","styleKey","__getNativeTag","validateStyles","type","AnimatedStyle_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedStyle.js"],"sourcesContent":[null],"mappings":"AAUA,SAASA,YAAA,QAAoB;AAC7B,SAASC,iBAAA,QAAyB;AAClC,SAASC,oBAAA,QAA4B;AACrC,SAASC,oBAAA,QAA4B;AAErC,SAASC,UAAA,QAAkB;AAE3B,MAAMC,YAAA,GAAeD,UAAA,CAAWE,OAAA;AAEhC,SAASC,oBAAoBC,UAAA,EAAY;EACvC,MAAMC,KAAA,GAAQJ,YAAA,CAAaG,UAAU;EACrC,MAAME,cAAA,GAAiB,CAAC;EACxB,WAAWC,GAAA,IAAOF,KAAA,EAAO;IACvB,MAAMG,KAAA,GAAQH,KAAA,CAAME,GAAG;IACvB,IAAIA,GAAA,KAAQ,eAAeE,KAAA,CAAMC,OAAA,CAAQF,KAAK,GAAG;MAC/CF,cAAA,CAAeC,GAAG,IAAI,IAAIV,iBAAA,CAAkBW,KAAK;IACnD,WAAWA,KAAA,YAAiBZ,YAAA,EAAc;MACxCU,cAAA,CAAeC,GAAG,IAAIC,KAAA;IACxB,WAAWA,KAAA,IAAS,CAACC,KAAA,CAAMC,OAAA,CAAQF,KAAK,KAAK,OAAOA,KAAA,KAAU,UAAU;MACtEF,cAAA,CAAeC,GAAG,IAAIJ,mBAAA,CAAoBK,KAAK;IACjD;EACF;EACA,OAAOF,cAAA;AACT;AAEA,MAAMK,aAAA,SAAsBb,oBAAA,CAAqB;EAC/Cc,WAAA;EACAC,MAAA;EAEAC,YAAYT,KAAA,EAAO;IACjB,MAAM;IACN,KA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nimatedInterpolation.mjs";
2
+ import { AnimatedValue } from "./AnimatedValue.mjs";
3
+ import { AnimatedWithChildren } from "./AnimatedWithChildren.mjs";
4
+ class AnimatedSubtraction extends AnimatedWithChildren {
5
+ _a;
6
+ _b;
7
+ constructor(a, b) {
8
+ super();
9
+ this._a = typeof a === "number" ? new AnimatedValue(a) : a;
10
+ this._b = typeof b === "number" ? new AnimatedValue(b) : b;
11
+ }
12
+ __makeNative(platformConfig) {
13
+ this._a.__makeNative(platformConfig);
14
+ this._b.__makeNative(platformConfig);
15
+ super.__makeNative(platformConfig);
16
+ }
17
+ __getValue() {
18
+ return this._a.__getValue() - this._b.__getValue();
19
+ }
20
+ interpolate(config) {
21
+ return new AnimatedInterpolation(this, config);
22
+ }
23
+ __attach() {
24
+ this._a.__addChild(this);
25
+ this._b.__addChild(this);
26
+ }
27
+ __detach() {
28
+ this._a.__removeChild(this);
29
+ this._b.__removeChild(this);
30
+ super.__detach();
31
+ }
32
+ __getNativeConfig() {
33
+ return {
34
+ type: "subtraction",
35
+ input: [this._a.__getNativeTag(), this._b.__getNativeTag()]
36
+ };
37
+ }
38
+ }
39
+ var AnimatedSubtraction_default = AnimatedSubtraction;
40
+ export { AnimatedSubtraction, AnimatedSubtraction_default as default };
41
+ //# sourceMappingURL=AnimatedSubtraction.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedInterpolation","AnimatedValue","AnimatedWithChildren","AnimatedSubtraction","_a","_b","constructor","a","b","__makeNative","platformConfig","__getValue","interpolate","config","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedSubtraction_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js"],"sourcesContent":[null],"mappings":"AAWA,SAASA,qBAAA,QAA6B;AACtC,SAASC,aAAA,QAAqB;AAC9B,SAASC,oBAAA,QAA4B;AAErC,MAAMC,mBAAA,SAA4BD,oBAAA,CAAqB;EACrDE,EAAA;EACAC,EAAA;EAEAC,YAAYC,CAAA,EAAGC,CAAA,EAAG;IAChB,MAAM;IACN,KAAKJ,EAAA,GAAK,OAAOG,CAAA,KAAM,WAAW,IAAIN,aAAA,CAAcM,CAAC,IAAIA,CAAA;IACzD,KAAKF,EAAA,GAAK,OAAOG,CAAA,KAAM,WAAW,IAAIP,aAAA,CAAcO,CAAC,IAAIA,CAAA;EAC3D;EAEAC,aAAaC,cAAA,EAAgB;IAC3B,KAAKN,EAAA,CAAGK,YAAA,CAAaC,cAAc;IACnC,KAAKL,EAAA,CAAGI,YAAA,CAAaC,cAAc;IACnC,MAAMD,YAAA,CAAaC,cAAc;EACnC;EAEAC,WAAA,EAAa;IACX,OAAO,KAAKP,EAAA,CAAGO,UAAA,CAAW,IAAI,KAAKN,EAAA,CAAGM,UAAA,CAAW;EACnD;EAEAC,YAAYC,MAAA,EAAQ;IAClB,OAAO,IAAIb,qBAAA,CAAsB,MAAMa,MAAM;EAC/C;EAEAC,SAAA,EAAW;IACT,KAAKV,EAAA,CAAGW,UAAA,CAAW,IAAI;IACvB,KAAKV,EAAA,CAAGU,UAAA,CAAW,IAAI;EACzB;EAEAC,SAAA,EAAW;IACT,KAAKZ,EAAA,CAAGa,aAAA,CAAc,IAAI;IAC1B,KAAKZ,EAAA,CAAGY,aAAA,CAAc,IAAI;IAC1B,MAAMD,QAAA,CAAS;EACjB;EAEAE,kBAAA,EAAoB;IAClB,OAAO;MACLC,IAAA,EAAM;MACNC,KAAA,EAAO,CAAC,KAAKhB,EAAA,CAAGiB,cAAA,CAAe,GAAG,KAAKhB,EAAA,CAAGgB,cAAA,CAAe,CAAC;IAC5D;EACF;AACF;AAGA,IAAOC,2BAAA,GAAQnB,mBAAA","ignoreList":[]}
@@ -0,0 +1,64 @@
1
+ import { AnimatedValue } from "./AnimatedValue.mjs";
2
+ import { AnimatedNode } from "./AnimatedNode.mjs";
3
+ import { generateNewAnimationId, shouldUseNativeDriver } from "../NativeAnimatedHelper.mjs";
4
+ class AnimatedTracking extends AnimatedNode {
5
+ _value;
6
+ _parent;
7
+ _callback;
8
+ _animationConfig;
9
+ _animationClass;
10
+ _useNativeDriver;
11
+ constructor(value, parent, animationClass, animationConfig, callback) {
12
+ super();
13
+ this._value = value;
14
+ this._parent = parent;
15
+ this._animationClass = animationClass;
16
+ this._animationConfig = animationConfig;
17
+ this._useNativeDriver = shouldUseNativeDriver(animationConfig);
18
+ this._callback = callback;
19
+ this.__attach();
20
+ }
21
+ __makeNative() {
22
+ this.__isNative = true;
23
+ this._parent.__makeNative();
24
+ super.__makeNative();
25
+ this._value.__makeNative();
26
+ }
27
+ __getValue() {
28
+ return this._parent.__getValue();
29
+ }
30
+ __attach() {
31
+ this._parent.__addChild(this);
32
+ if (this._useNativeDriver) {
33
+ this.__makeNative();
34
+ }
35
+ }
36
+ __detach() {
37
+ this._parent.__removeChild(this);
38
+ super.__detach();
39
+ }
40
+ update() {
41
+ this._value.animate(new this._animationClass({
42
+ ...this._animationConfig,
43
+ toValue: this._animationConfig.toValue.__getValue()
44
+ }), this._callback);
45
+ }
46
+ __getNativeConfig() {
47
+ const animation = new this._animationClass({
48
+ ...this._animationConfig,
49
+ // remove toValue from the config as it's a ref to Animated.Value
50
+ toValue: void 0
51
+ });
52
+ const animationConfig = animation.__getNativeAnimationConfig();
53
+ return {
54
+ type: "tracking",
55
+ animationId: generateNewAnimationId(),
56
+ animationConfig,
57
+ toValue: this._parent.__getNativeTag(),
58
+ value: this._value.__getNativeTag()
59
+ };
60
+ }
61
+ }
62
+ var AnimatedTracking_default = AnimatedTracking;
63
+ export { AnimatedTracking, AnimatedTracking_default as default };
64
+ //# sourceMappingURL=AnimatedTracking.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedValue","AnimatedNode","generateNewAnimationId","shouldUseNativeDriver","AnimatedTracking","_value","_parent","_callback","_animationConfig","_animationClass","_useNativeDriver","constructor","value","parent","animationClass","animationConfig","callback","__attach","__makeNative","__isNative","__getValue","__addChild","__detach","__removeChild","update","animate","toValue","__getNativeConfig","animation","__getNativeAnimationConfig","type","animationId","__getNativeTag","AnimatedTracking_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedTracking.js"],"sourcesContent":[null],"mappings":"AAUA,SAASA,aAAA,QAAqB;AAC9B,SAASC,YAAA,QAAoB;AAC7B,SAASC,sBAAA,EAAwBC,qBAAA,QAA6B;AAE9D,MAAMC,gBAAA,SAAyBH,YAAA,CAAa;EAC1CI,MAAA;EACAC,OAAA;EACAC,SAAA;EACAC,gBAAA;EACAC,eAAA;EACAC,gBAAA;EAEAC,YAAYC,KAAA,EAAOC,MAAA,EAAQC,cAAA,EAAgBC,eAAA,EAAiBC,QAAA,EAAU;IACpE,MAAM;IACN,KAAKX,MAAA,GAASO,KAAA;IACd,KAAKN,OAAA,GAAUO,MAAA;IACf,KAAKJ,eAAA,GAAkBK,cAAA;IACvB,KAAKN,gBAAA,GAAmBO,eAAA;IACxB,KAAKL,gBAAA,GAAmBP,qBAAA,CAAsBY,eAAe;IAC7D,KAAKR,SAAA,GAAYS,QAAA;IACjB,KAAKC,QAAA,CAAS;EAChB;EAEAC,aAAA,EAAe;IACb,KAAKC,UAAA,GAAa;IAClB,KAAKb,OAAA,CAAQY,YAAA,CAAa;IAC1B,MAAMA,YAAA,CAAa;IACnB,KAAKb,MAAA,CAAOa,YAAA,CAAa;EAC3B;EAEAE,WAAA,EAAa;IACX,OAAO,KAAKd,OAAA,CAAQc,UAAA,CAAW;EACjC;EAEAH,SAAA,EAAW;IACT,KAAKX,OAAA,CAAQe,UAAA,CAAW,IAAI;IAC5B,IAAI,KAAKX,gBAAA,EAAkB;MAMzB,KAAKQ,YAAA,CAAa;IACpB;EACF;EAEAI,SAAA,EAAW;IACT,KAAKhB,OAAA,CAAQiB,aAAA,CAAc,IAAI;IAC/B,MAAMD,QAAA,CAAS;EACjB;EAEAE,OAAA,EAAS;IACP,KAAKnB,MAAA,CAAOoB,OAAA,CACV,IAAI,KAAKhB,eAAA,CAAgB;MACvB,GAAG,KAAKD,gBAAA;MACRkB,OAAA,EAAS,KAAKlB,gBAAA,CAAiBkB,OAAA,CAAQN,UAAA,CAAW;IACpD,CAAC,GACD,KAAKb,SACP;EACF;EAEAoB,kBAAA,EAAoB;IAClB,MAAMC,SAAA,GAAY,IAAI,KAAKnB,eAAA,CAAgB;MACzC,GAAG,KAAKD,gBAAA;MAAA;MAERkB,OAAA,EAAS;IACX,CAAC;IACD,MAAMX,eAAA,GAAkBa,SAAA,CAAUC,0BAAA,CAA2B;IAC7D,OAAO;MACLC,IAAA,EAAM;MACNC,WAAA,EAAa7B,sBAAA,CAAuB;MACpCa,eAAA;MACAW,OAAA,EAAS,KAAKpB,OAAA,CAAQ0B,cAAA,CAAe;MACrCpB,KAAA,EAAO,KAAKP,MAAA,CAAO2B,cAAA,CAAe;IACpC;EACF;AACF;AAGA,IAAOC,wBAAA,GAAQ7B,gBAAA","ignoreList":[]}
@@ -0,0 +1,99 @@
1
+ import { AnimatedNode } from "./AnimatedNode.mjs";
2
+ import { AnimatedWithChildren } from "./AnimatedWithChildren.mjs";
3
+ import { NativeAnimatedHelper } from "../NativeAnimatedHelper.mjs";
4
+ class AnimatedTransform extends AnimatedWithChildren {
5
+ _transforms;
6
+ constructor(transforms) {
7
+ super();
8
+ this._transforms = transforms;
9
+ }
10
+ __makeNative() {
11
+ this._transforms.forEach(transform => {
12
+ for (const key in transform) {
13
+ const value = transform[key];
14
+ if (value instanceof AnimatedNode) {
15
+ value.__makeNative();
16
+ }
17
+ }
18
+ });
19
+ super.__makeNative();
20
+ }
21
+ __getValue() {
22
+ return this._transforms.map(transform => {
23
+ const result = {};
24
+ for (const key in transform) {
25
+ const value = transform[key];
26
+ if (value instanceof AnimatedNode) {
27
+ result[key] = value.__getValue();
28
+ } else {
29
+ result[key] = value;
30
+ }
31
+ }
32
+ return result;
33
+ });
34
+ }
35
+ __getAnimatedValue() {
36
+ return this._transforms.map(transform => {
37
+ const result = {};
38
+ for (const key in transform) {
39
+ const value = transform[key];
40
+ if (value instanceof AnimatedNode) {
41
+ result[key] = value.__getAnimatedValue();
42
+ } else {
43
+ result[key] = value;
44
+ }
45
+ }
46
+ return result;
47
+ });
48
+ }
49
+ __attach() {
50
+ this._transforms.forEach(transform => {
51
+ for (const key in transform) {
52
+ const value = transform[key];
53
+ if (value instanceof AnimatedNode) {
54
+ value.__addChild(this);
55
+ }
56
+ }
57
+ });
58
+ }
59
+ __detach() {
60
+ this._transforms.forEach(transform => {
61
+ for (const key in transform) {
62
+ const value = transform[key];
63
+ if (value instanceof AnimatedNode) {
64
+ value.__removeChild(this);
65
+ }
66
+ }
67
+ });
68
+ super.__detach();
69
+ }
70
+ __getNativeConfig() {
71
+ const transConfigs = [];
72
+ this._transforms.forEach(transform => {
73
+ for (const key in transform) {
74
+ const value = transform[key];
75
+ if (value instanceof AnimatedNode) {
76
+ transConfigs.push({
77
+ type: "animated",
78
+ property: key,
79
+ nodeTag: value.__getNativeTag()
80
+ });
81
+ } else {
82
+ transConfigs.push({
83
+ type: "static",
84
+ property: key,
85
+ value: NativeAnimatedHelper.transformDataType(value)
86
+ });
87
+ }
88
+ }
89
+ });
90
+ NativeAnimatedHelper.validateTransform(transConfigs);
91
+ return {
92
+ type: "transform",
93
+ transforms: transConfigs
94
+ };
95
+ }
96
+ }
97
+ var AnimatedTransform_default = AnimatedTransform;
98
+ export { AnimatedTransform, AnimatedTransform_default as default };
99
+ //# sourceMappingURL=AnimatedTransform.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedNode","AnimatedWithChildren","NativeAnimatedHelper","AnimatedTransform","_transforms","constructor","transforms","__makeNative","forEach","transform","key","value","__getValue","map","result","__getAnimatedValue","__attach","__addChild","__detach","__removeChild","__getNativeConfig","transConfigs","push","type","property","nodeTag","__getNativeTag","transformDataType","validateTransform","AnimatedTransform_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedTransform.js"],"sourcesContent":[null],"mappings":"AAYA,SAASA,YA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AGA,IAAOQ,yBAAA,GAAQ1B,iBAAA","ignoreList":[]}
@@ -0,0 +1,211 @@
1
+ import { AnimatedInterpolation } from "./AnimatedInterpolation.mjs";
2
+ import { AnimatedWithChildren } from "./AnimatedWithChildren.mjs";
3
+ import { InteractionManager } from "@hanzogui/react-native-web-internals";
4
+ import { NativeAnimatedHelper } from "../NativeAnimatedHelper.mjs";
5
+ const NativeAnimatedAPI = NativeAnimatedHelper.API;
6
+ function _flush(rootNode) {
7
+ const animatedStyles = /* @__PURE__ */new Set();
8
+ function findAnimatedStyles(node) {
9
+ if (typeof node.update === "function") {
10
+ animatedStyles.add(node);
11
+ } else {
12
+ node.__getChildren().forEach(findAnimatedStyles);
13
+ }
14
+ }
15
+ findAnimatedStyles(rootNode);
16
+ animatedStyles.forEach(animatedStyle => animatedStyle.update());
17
+ }
18
+ function _executeAsAnimatedBatch(id, operation) {
19
+ NativeAnimatedAPI.setWaitingForIdentifier(id);
20
+ operation();
21
+ NativeAnimatedAPI.unsetWaitingForIdentifier(id);
22
+ }
23
+ class AnimatedValue extends AnimatedWithChildren {
24
+ _value;
25
+ _startingValue;
26
+ _offset;
27
+ _animation;
28
+ _tracking;
29
+ constructor(value, config) {
30
+ super();
31
+ if (typeof value !== "number") {
32
+ throw new Error("AnimatedValue: Attempting to set value to undefined");
33
+ }
34
+ this._startingValue = this._value = value;
35
+ this._offset = 0;
36
+ this._animation = null;
37
+ if (config && config.useNativeDriver) {
38
+ this.__makeNative();
39
+ }
40
+ }
41
+ __detach() {
42
+ if (this.__isNative) {
43
+ NativeAnimatedAPI.getValue(this.__getNativeTag(), value => {
44
+ this._value = value - this._offset;
45
+ });
46
+ }
47
+ this.stopAnimation();
48
+ super.__detach();
49
+ }
50
+ __getValue() {
51
+ return this._value + this._offset;
52
+ }
53
+ /**
54
+ * Directly set the value. This will stop any animations running on the value
55
+ * and update all the bound properties.
56
+ *
57
+ * See https://reactnative.dev/docs/animatedvalue#setvalue
58
+ */
59
+ setValue(value) {
60
+ if (this._animation) {
61
+ this._animation.stop();
62
+ this._animation = null;
63
+ }
64
+ this._updateValue(value, !this.__isNative
65
+ /* don't perform a flush for natively driven values */);
66
+ if (this.__isNative) {
67
+ _executeAsAnimatedBatch(this.__getNativeTag().toString(), () => NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value));
68
+ }
69
+ }
70
+ /**
71
+ * Sets an offset that is applied on top of whatever value is set, whether via
72
+ * `setValue`, an animation, or `Animated.event`. Useful for compensating
73
+ * things like the start of a pan gesture.
74
+ *
75
+ * See https://reactnative.dev/docs/animatedvalue#setoffset
76
+ */
77
+ setOffset(offset) {
78
+ this._offset = offset;
79
+ if (this.__isNative) {
80
+ NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);
81
+ }
82
+ }
83
+ /**
84
+ * Merges the offset value into the base value and resets the offset to zero.
85
+ * The final output of the value is unchanged.
86
+ *
87
+ * See https://reactnative.dev/docs/animatedvalue#flattenoffset
88
+ */
89
+ flattenOffset() {
90
+ this._value += this._offset;
91
+ this._offset = 0;
92
+ if (this.__isNative) {
93
+ NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());
94
+ }
95
+ }
96
+ /**
97
+ * Sets the offset value to the base value, and resets the base value to zero.
98
+ * The final output of the value is unchanged.
99
+ *
100
+ * See https://reactnative.dev/docs/animatedvalue#extractoffset
101
+ */
102
+ extractOffset() {
103
+ this._offset += this._value;
104
+ this._value = 0;
105
+ if (this.__isNative) {
106
+ NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());
107
+ }
108
+ }
109
+ /**
110
+ * Stops any running animation or tracking. `callback` is invoked with the
111
+ * final value after stopping the animation, which is useful for updating
112
+ * state to match the animation position with layout.
113
+ *
114
+ * See https://reactnative.dev/docs/animatedvalue#stopanimation
115
+ */
116
+ stopAnimation(callback) {
117
+ this.stopTracking();
118
+ this._animation && this._animation.stop();
119
+ this._animation = null;
120
+ if (callback) {
121
+ if (this.__isNative) {
122
+ NativeAnimatedAPI.getValue(this.__getNativeTag(), callback);
123
+ } else {
124
+ callback(this.__getValue());
125
+ }
126
+ }
127
+ }
128
+ /**
129
+ * Stops any animation and resets the value to its original.
130
+ *
131
+ * See https://reactnative.dev/docs/animatedvalue#resetanimation
132
+ */
133
+ resetAnimation(callback) {
134
+ this.stopAnimation(callback);
135
+ this._value = this._startingValue;
136
+ if (this.__isNative) {
137
+ NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), this._startingValue);
138
+ }
139
+ }
140
+ __onAnimatedValueUpdateReceived(value) {
141
+ this._updateValue(value, false
142
+ /*flush*/);
143
+ }
144
+ /**
145
+ * Interpolates the value before updating the property, e.g. mapping 0-1 to
146
+ * 0-10.
147
+ */
148
+ interpolate(config) {
149
+ return new AnimatedInterpolation(this, config);
150
+ }
151
+ /**
152
+ * Typically only used internally, but could be used by a custom Animation
153
+ * class.
154
+ *
155
+ * See https://reactnative.dev/docs/animatedvalue#animate
156
+ */
157
+ animate(animation, callback) {
158
+ let handle = null;
159
+ if (animation.__isInteraction) {
160
+ handle = InteractionManager.createInteractionHandle();
161
+ }
162
+ const previousAnimation = this._animation;
163
+ this._animation && this._animation.stop();
164
+ this._animation = animation;
165
+ animation.start(this._value, value => {
166
+ this._updateValue(value, true
167
+ /* flush */);
168
+ }, result => {
169
+ this._animation = null;
170
+ if (handle !== null) {
171
+ InteractionManager.clearInteractionHandle(handle);
172
+ }
173
+ callback && callback(result);
174
+ }, previousAnimation, this);
175
+ }
176
+ /**
177
+ * Typically only used internally.
178
+ */
179
+ stopTracking() {
180
+ this._tracking && this._tracking.__detach();
181
+ this._tracking = null;
182
+ }
183
+ /**
184
+ * Typically only used internally.
185
+ */
186
+ track(tracking) {
187
+ this.stopTracking();
188
+ this._tracking = tracking;
189
+ this._tracking && this._tracking.update();
190
+ }
191
+ _updateValue(value, flush) {
192
+ if (value === void 0) {
193
+ throw new Error("AnimatedValue: Attempting to set value to undefined");
194
+ }
195
+ this._value = value;
196
+ if (flush) {
197
+ _flush(this);
198
+ }
199
+ super.__callListeners(this.__getValue());
200
+ }
201
+ __getNativeConfig() {
202
+ return {
203
+ type: "value",
204
+ value: this._value,
205
+ offset: this._offset
206
+ };
207
+ }
208
+ }
209
+ var AnimatedValue_default = AnimatedValue;
210
+ export { AnimatedValue, AnimatedValue_default as default };
211
+ //# sourceMappingURL=AnimatedValue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedInterpolation","AnimatedWithChildren","InteractionManager","NativeAnimatedHelper","NativeAnimatedAPI","API","_flush","rootNode","animatedStyles","Set","findAnimatedStyles","node","update","add","__getChildren","forEach","animatedStyle","_executeAsAnimatedBatch","id","operation","setWaitingForIdentifier","unsetWaitingForIdentifier","AnimatedValue","_value","_startingValue","_offset","_animation","_tracking","constructor","value","config","Error","useNativeDriver","__makeNative","__detach","__isNative","getValue","__getNativeTag","stopAnimation","__getValue","setValue","stop","_updateValue","toString","setAnimatedNodeValue","setOffset","offset","setAnimatedNodeOffset","flattenOffset","flattenAnimatedNodeOffset","extractOffset","extractAnimatedNodeOffset","callback","stopTracking","resetAnimation","__onAnimatedValueUpdateReceived","interpolate","animate","animation","handle","__isInteraction","createInteractionHandle","previousAnimation","start","result","clearInteractionHandle","track","tracking","flush","__callListeners","__getNativeConfig","type","AnimatedValue_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedValue.js"],"sourcesContent":[null],"mappings":"AAWA,SAASA,qBAAA,QAA6B;AACtC,SAASC,oBAAA,QAA4B;AACrC,SAASC,kBAAA,QAA0B;AACnC,SAASC,oBAAA,QAA4B;AAErC,MAAMC,iBAAA,GAAoBD,oBAAA,CAAqBE,GAAA;AAwB/C,SAASC,OAAOC,QAAA,EAAU;EACxB,MAAMC,cAAA,GAAiB,mBAAIC,GAAA,CAAI;EAC/B,SAASC,mBAAmBC,IAAA,EAAM;IAIhC,IAAI,OAAOA,IAAA,CAAKC,MAAA,KAAW,YAAY;MACrCJ,c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iBAAA,EACA,IACF;EACF;EAAA;AAAA;AAAA;EAKAT,aAAA,EAAe;IACb,KAAK1B,SAAA,IAAa,KAAKA,SAAA,CAAUO,QAAA,CAAS;IAC1C,KAAKP,SAAA,GAAY;EACnB;EAAA;AAAA;AAAA;EAKAuC,MAAMC,QAAA,EAAU;IACd,KAAKd,YAAA,CAAa;IAClB,KAAK1B,SAAA,GAAYwC,QAAA;IAEjB,KAAKxC,SAAA,IAAa,KAAKA,SAAA,CAAUf,MAAA,CAAO;EAC1C;EAEA8B,aAAab,KAAA,EAAOuC,KAAA,EAAO;IACzB,IAAIvC,KAAA,KAAU,QAAW;MACvB,MAAM,IAAIE,KAAA,CAAM,qDAAqD;IACvE;IAEA,KAAKR,MAAA,GAASM,KAAA;IACd,IAAIuC,KAAA,EAAO;MACT9D,MAAA,CAAO,IAAI;IACb;IACA,MAAM+D,eAAA,CAAgB,KAAK9B,UAAA,CAAW,CAAC;EACzC;EAEA+B,kBAAA,EAAoB;IAClB,OAAO;MACLC,IAAA,EAAM;MACN1C,KAAA,EAAO,KAAKN,MAAA;MACZuB,MAAA,EAAQ,KAAKrB;IACf;EACF;AACF;AAGA,IAAO+C,qBAAA,GAAQlD,aAAA","ignoreList":[]}
@@ -0,0 +1,93 @@
1
+ import { AnimatedValue } from "./AnimatedValue.mjs";
2
+ import { AnimatedWithChildren } from "./AnimatedWithChildren.mjs";
3
+ import { invariant } from "@hanzogui/react-native-web-internals";
4
+ let _uniqueId = 1;
5
+ class AnimatedValueXY extends AnimatedWithChildren {
6
+ constructor(valueIn) {
7
+ super();
8
+ const value = valueIn || {
9
+ x: 0,
10
+ y: 0
11
+ };
12
+ if (typeof value.x === "number" && typeof value.y === "number") {
13
+ this.x = new AnimatedValue(value.x);
14
+ this.y = new AnimatedValue(value.y);
15
+ } else {
16
+ invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, "AnimatedValueXY must be initialized with an object of numbers or AnimatedValues.");
17
+ this.x = value.x;
18
+ this.y = value.y;
19
+ }
20
+ this._listeners = {};
21
+ }
22
+ setValue(value) {
23
+ this.x.setValue(value.x);
24
+ this.y.setValue(value.y);
25
+ }
26
+ setOffset(offset) {
27
+ this.x.setOffset(offset.x);
28
+ this.y.setOffset(offset.y);
29
+ }
30
+ flattenOffset() {
31
+ this.x.flattenOffset();
32
+ this.y.flattenOffset();
33
+ }
34
+ extractOffset() {
35
+ this.x.extractOffset();
36
+ this.y.extractOffset();
37
+ }
38
+ __getValue() {
39
+ return {
40
+ x: this.x.__getValue(),
41
+ y: this.y.__getValue()
42
+ };
43
+ }
44
+ resetAnimation(callback) {
45
+ this.x.resetAnimation();
46
+ this.y.resetAnimation();
47
+ callback && callback(this.__getValue());
48
+ }
49
+ stopAnimation(callback) {
50
+ this.x.stopAnimation();
51
+ this.y.stopAnimation();
52
+ callback && callback(this.__getValue());
53
+ }
54
+ addListener(callback) {
55
+ const id = String(_uniqueId++);
56
+ const jointCallback = ({
57
+ value
58
+ }) => {
59
+ callback(this.__getValue());
60
+ };
61
+ this._listeners[id] = {
62
+ x: this.x.addListener(jointCallback),
63
+ y: this.y.addListener(jointCallback)
64
+ };
65
+ return id;
66
+ }
67
+ removeListener(id) {
68
+ this.x.removeListener(this._listeners[id].x);
69
+ this.y.removeListener(this._listeners[id].y);
70
+ delete this._listeners[id];
71
+ }
72
+ removeAllListeners() {
73
+ this.x.removeAllListeners();
74
+ this.y.removeAllListeners();
75
+ this._listeners = {};
76
+ }
77
+ getLayout() {
78
+ return {
79
+ left: this.x,
80
+ top: this.y
81
+ };
82
+ }
83
+ getTranslateTransform() {
84
+ return [{
85
+ translateX: this.x
86
+ }, {
87
+ translateY: this.y
88
+ }];
89
+ }
90
+ }
91
+ var AnimatedValueXY_default = AnimatedValueXY;
92
+ export { AnimatedValueXY, AnimatedValueXY_default as default };
93
+ //# sourceMappingURL=AnimatedValueXY.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AnimatedValue","AnimatedWithChildren","invariant","_uniqueId","AnimatedValueXY","constructor","valueIn","value","x","y","_listeners","setValue","setOffset","offset","flattenOffset","extractOffset","__getValue","resetAnimation","callback","stopAnimation","addListener","id","String","jointCallback","removeListener","removeAllListeners","getLayout","left","top","getTranslateTransform","translateX","translateY","AnimatedValueXY_default"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedValueXY.js"],"sourcesContent":[null],"mappings":"AAOA,SAASA,aAAA,QAAqB;AAC9B,SAASC,oBAAA,QAA4B;AACrC,SAASC,SAAA,QAAiB;AAE1B,IAAIC,SAAA,GAAY;AAEhB,MAAMC,eAAA,SAAwBH,oBAAA,CAAqB;EACjDI,YAAYC,OAAA,EAAS;IACnB,MAAM;IACN,MAAMC,KAAA,GAAQD,OAAA,IAAW;MAAEE,CAAA,EAAG;MAAGC,CAAA,EAAG;IAAE;IACtC,IAAI,OAAOF,KAAA,CAAMC,CAAA,KAAM,YAAY,OAAOD,KAAA,CAAME,CAAA,KAAM,UAAU;MAC9D,KAAKD,CAAA,GAAI,IAAIR,aAAA,CAAcO,KAAA,CAAMC,CAAC;MAClC,KAAKC,CAAA,GAAI,IAAIT,aAAA,CAAcO,KAAA,CAAME,CAAC;IACpC,OAAO;MACLP,SAAA,CACEK,KAAA,CAAMC,CAAA,YAAaR,aAAA,IAAiBO,KAAA,CAAME,CAAA,YAAaT,aAAA,EACvD,kFACF;MACA,KAAKQ,CAAA,GAAID,KAAA,CAAMC,CAAA;MACf,KAAKC,CAAA,GAAIF,KAAA,CAAME,CAAA;IACjB;IACA,KAAKC,UAAA,GAAa,CAAC;EACrB;EAEAC,SAASJ,KAAA,EAAO;IACd,KAAKC,CAAA,CAAEG,QAAA,CAASJ,KAAA,CAAMC,CAAC;IACvB,KAAKC,CAAA,CAAEE,QAAA,CAASJ,KAAA,CAAME,CAAC;EACzB;EAEAG,UAAUC,MAAA,EAAQ;IAChB,KAAKL,CAAA,CAAEI,SAAA,CAAUC,MAAA,CAAOL,CAAC;IACzB,KAAKC,CAAA,CAA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