@hanzogui/react-native-web-lite 3.0.5 → 4.3.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 (401) hide show
  1. package/dist/cjs/AccessibilityInfo/index.cjs +77 -65
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +70 -49
  3. package/dist/cjs/ActivityIndicator/index.cjs +110 -108
  4. package/dist/cjs/Alert/index.cjs +12 -10
  5. package/dist/cjs/AppRegistry/AppContainer.cjs +50 -45
  6. package/dist/cjs/AppRegistry/__tests__/index-test.cjs +32 -18
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +47 -40
  8. package/dist/cjs/AppRegistry/index.cjs +38 -26
  9. package/dist/cjs/AppRegistry/renderApplication.cjs +44 -39
  10. package/dist/cjs/AppState/__tests__/index-test.cjs +13 -9
  11. package/dist/cjs/AppState/index.cjs +41 -25
  12. package/dist/cjs/Appearance/index.cjs +38 -27
  13. package/dist/cjs/BackHandler/index.cjs +12 -10
  14. package/dist/cjs/Clipboard/index.cjs +30 -17
  15. package/dist/cjs/DeviceEmitter.cjs +12 -10
  16. package/dist/cjs/DeviceInfo/index.cjs +21 -13
  17. package/dist/cjs/Dimensions/__tests__/index-test.cjs +29 -16
  18. package/dist/cjs/Dimensions/index.cjs +63 -33
  19. package/dist/cjs/FlatList.cjs +139 -95
  20. package/dist/cjs/I18nManager/index.cjs +19 -13
  21. package/dist/cjs/Image/index.cjs +209 -147
  22. package/dist/cjs/Image/types.cjs +7 -5
  23. package/dist/cjs/ImageBackground/__tests__/index-test.cjs +33 -29
  24. package/dist/cjs/ImageBackground/index.cjs +49 -47
  25. package/dist/cjs/InteractionManager/TaskQueue.cjs +49 -25
  26. package/dist/cjs/InteractionManager/index.cjs +115 -88
  27. package/dist/cjs/Keyboard/index.cjs +12 -10
  28. package/dist/cjs/KeyboardAvoidingView/index.cjs +30 -26
  29. package/dist/cjs/Libraries/Pressability/Pressability.cjs +12 -10
  30. package/dist/cjs/Libraries/Pressability/usePressability.cjs +12 -10
  31. package/dist/cjs/Linking/__tests__/index-test.cjs +31 -15
  32. package/dist/cjs/Linking/index.cjs +37 -23
  33. package/dist/cjs/LogBox/index.cjs +12 -10
  34. package/dist/cjs/Modal/ModalAnimation.cjs +141 -114
  35. package/dist/cjs/Modal/ModalContent.cjs +39 -29
  36. package/dist/cjs/Modal/ModalPortal.cjs +44 -33
  37. package/dist/cjs/Modal/index.cjs +12 -10
  38. package/dist/cjs/NativeModules/index.cjs +12 -10
  39. package/dist/cjs/PanResponder/index.cjs +24 -22
  40. package/dist/cjs/PixelRatio/index.cjs +12 -10
  41. package/dist/cjs/Pressable/index.cjs +128 -100
  42. package/dist/cjs/RefreshControl/index.cjs +14 -12
  43. package/dist/cjs/SafeAreaView/index.cjs +44 -37
  44. package/dist/cjs/ScrollView/ScrollViewBase.cjs +111 -84
  45. package/dist/cjs/ScrollView/index.cjs +255 -172
  46. package/dist/cjs/SectionList.cjs +26 -24
  47. package/dist/cjs/Share/index.cjs +25 -15
  48. package/dist/cjs/StatusBar/index.cjs +12 -10
  49. package/dist/cjs/Text/index.cjs +171 -144
  50. package/dist/cjs/Text/types.cjs +7 -5
  51. package/dist/cjs/TextInput/index.cjs +252 -141
  52. package/dist/cjs/TextInput/types.cjs +7 -5
  53. package/dist/cjs/TouchableNativeFeedback.cjs +12 -10
  54. package/dist/cjs/TouchableOpacity.cjs +91 -82
  55. package/dist/cjs/TouchableWithoutFeedback.cjs +73 -69
  56. package/dist/cjs/UnimplementedView.cjs +31 -26
  57. package/dist/cjs/Vibration/index.cjs +23 -19
  58. package/dist/cjs/View/index.cjs +106 -85
  59. package/dist/cjs/View/types.cjs +7 -5
  60. package/dist/cjs/VirtualizedList.cjs +26 -24
  61. package/dist/cjs/codegenNativeCommand.cjs +14 -11
  62. package/dist/cjs/codegenNativeComponent.cjs +14 -11
  63. package/dist/cjs/createElement/__tests__/index-test.cjs +162 -99
  64. package/dist/cjs/createElement/index.cjs +78 -68
  65. package/dist/cjs/createReactDOMStyle.cjs +12 -10
  66. package/dist/cjs/index.cjs +78 -76
  67. package/dist/cjs/modules/requestIdleCallback.cjs +28 -26
  68. package/dist/cjs/preprocess.cjs +12 -10
  69. package/dist/cjs/render/index.cjs +12 -10
  70. package/dist/cjs/styleTypes.cjs +7 -5
  71. package/dist/cjs/types.cjs +7 -5
  72. package/dist/cjs/useColorScheme/index.cjs +29 -26
  73. package/dist/cjs/useLocaleContext/index.cjs +12 -10
  74. package/dist/cjs/useWindowDimensions/index.cjs +35 -28
  75. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +31 -29
  76. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +97 -45
  77. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +545 -466
  78. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +106 -99
  79. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +27 -15
  80. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +303 -215
  81. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +58 -56
  82. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +55 -53
  83. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +22 -14
  84. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +22 -14
  85. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +45 -21
  86. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +116 -44
  87. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +77 -32
  88. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +68 -27
  89. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +33 -31
  90. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +26 -13
  91. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +33 -31
  92. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +33 -31
  93. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +14 -12
  94. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +14 -12
  95. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +40 -37
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +26 -17
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +148 -65
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +28 -18
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +42 -22
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +122 -47
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +21 -15
  102. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +26 -17
  103. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +70 -27
  104. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +73 -32
  105. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +60 -28
  106. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +26 -17
  107. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +36 -19
  108. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +57 -32
  109. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +108 -39
  110. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +53 -30
  111. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +44 -18
  112. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +63 -43
  113. package/dist/cjs/vendor/react-native/Batchinator/index.cjs +27 -15
  114. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +28 -16
  115. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +12 -10
  116. package/dist/cjs/vendor/react-native/FeatureFlags.cjs +18 -16
  117. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +92 -42
  118. package/dist/cjs/vendor/react-native/FlatList/index.cjs +166 -105
  119. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +39 -24
  120. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +75 -71
  121. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +181 -118
  122. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +44 -30
  123. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +17 -15
  124. package/dist/cjs/vendor/react-native/SectionList/index.cjs +63 -39
  125. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +25 -23
  126. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +24 -22
  127. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +48 -29
  128. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -15
  129. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +14 -11
  130. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +127 -125
  131. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +12 -10
  132. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +19 -11
  133. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +19 -12
  134. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +21 -11
  135. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +19 -11
  136. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +92 -51
  137. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +91 -50
  138. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +96 -58
  139. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +75 -44
  140. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +36 -17
  141. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +51 -41
  142. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +87 -78
  143. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +36 -32
  144. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +19 -17
  145. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +147 -101
  146. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +93 -58
  147. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +49 -19
  148. package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +12 -10
  149. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +16 -11
  150. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +31 -20
  151. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +12 -10
  152. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +31 -17
  153. package/dist/cjs/vendor/react-native/infoLog/index.cjs +12 -10
  154. package/dist/cjs/vendor/react-native/useRefEffect.cjs +19 -11
  155. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +37 -22
  156. package/dist/cjs/without-animated.cjs +167 -150
  157. package/dist/esm/AccessibilityInfo/index.mjs +65 -55
  158. package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
  159. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +55 -36
  160. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -1
  161. package/dist/esm/ActivityIndicator/index.mjs +82 -82
  162. package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
  163. package/dist/esm/AppRegistry/AppContainer.mjs +22 -19
  164. package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
  165. package/dist/esm/AppRegistry/__tests__/index-test.mjs +21 -9
  166. package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -1
  167. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +33 -28
  168. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -1
  169. package/dist/esm/AppRegistry/index.mjs +23 -13
  170. package/dist/esm/AppRegistry/index.mjs.map +1 -1
  171. package/dist/esm/AppRegistry/renderApplication.mjs +27 -24
  172. package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
  173. package/dist/esm/AppState/__tests__/index-test.mjs +4 -2
  174. package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -1
  175. package/dist/esm/AppState/index.mjs +29 -15
  176. package/dist/esm/AppState/index.mjs.map +1 -1
  177. package/dist/esm/Appearance/index.mjs +26 -17
  178. package/dist/esm/Appearance/index.mjs.map +1 -1
  179. package/dist/esm/Clipboard/index.mjs +18 -7
  180. package/dist/esm/Clipboard/index.mjs.map +1 -1
  181. package/dist/esm/DeviceInfo/index.mjs +7 -1
  182. package/dist/esm/DeviceInfo/index.mjs.map +1 -1
  183. package/dist/esm/Dimensions/__tests__/index-test.mjs +20 -9
  184. package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -1
  185. package/dist/esm/Dimensions/index.mjs +51 -23
  186. package/dist/esm/Dimensions/index.mjs.map +1 -1
  187. package/dist/esm/FlatList.mjs +107 -65
  188. package/dist/esm/FlatList.mjs.map +1 -1
  189. package/dist/esm/I18nManager/index.mjs +7 -3
  190. package/dist/esm/I18nManager/index.mjs.map +1 -1
  191. package/dist/esm/Image/index.mjs +178 -118
  192. package/dist/esm/Image/index.mjs.map +1 -1
  193. package/dist/esm/ImageBackground/__tests__/index-test.mjs +20 -18
  194. package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -1
  195. package/dist/esm/ImageBackground/index.mjs +32 -32
  196. package/dist/esm/ImageBackground/index.mjs.map +1 -1
  197. package/dist/esm/InteractionManager/TaskQueue.mjs +37 -15
  198. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
  199. package/dist/esm/InteractionManager/index.mjs +87 -62
  200. package/dist/esm/InteractionManager/index.mjs.map +1 -1
  201. package/dist/esm/KeyboardAvoidingView/index.mjs +3 -1
  202. package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
  203. package/dist/esm/Linking/__tests__/index-test.mjs +22 -8
  204. package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -1
  205. package/dist/esm/Linking/index.mjs +25 -13
  206. package/dist/esm/Linking/index.mjs.map +1 -1
  207. package/dist/esm/Modal/ModalAnimation.mjs +113 -88
  208. package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
  209. package/dist/esm/Modal/ModalContent.mjs +12 -4
  210. package/dist/esm/Modal/ModalContent.mjs.map +1 -1
  211. package/dist/esm/Modal/ModalPortal.mjs +17 -8
  212. package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
  213. package/dist/esm/Pressable/index.mjs +97 -71
  214. package/dist/esm/Pressable/index.mjs.map +1 -1
  215. package/dist/esm/SafeAreaView/index.mjs +16 -11
  216. package/dist/esm/SafeAreaView/index.mjs.map +1 -1
  217. package/dist/esm/ScrollView/ScrollViewBase.mjs +83 -58
  218. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
  219. package/dist/esm/ScrollView/index.mjs +225 -144
  220. package/dist/esm/ScrollView/index.mjs.map +1 -1
  221. package/dist/esm/Share/index.mjs +13 -5
  222. package/dist/esm/Share/index.mjs.map +1 -1
  223. package/dist/esm/Text/index.mjs +143 -118
  224. package/dist/esm/Text/index.mjs.map +1 -1
  225. package/dist/esm/TextInput/index.mjs +224 -115
  226. package/dist/esm/TextInput/index.mjs.map +1 -1
  227. package/dist/esm/TouchableOpacity.mjs +62 -55
  228. package/dist/esm/TouchableOpacity.mjs.map +1 -1
  229. package/dist/esm/TouchableWithoutFeedback.mjs +46 -44
  230. package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
  231. package/dist/esm/UnimplementedView.mjs +4 -1
  232. package/dist/esm/UnimplementedView.mjs.map +1 -1
  233. package/dist/esm/Vibration/index.mjs +11 -9
  234. package/dist/esm/Vibration/index.mjs.map +1 -1
  235. package/dist/esm/View/index.mjs +79 -60
  236. package/dist/esm/View/index.mjs.map +1 -1
  237. package/dist/esm/codegenNativeCommand.mjs +2 -1
  238. package/dist/esm/codegenNativeCommand.mjs.map +1 -1
  239. package/dist/esm/codegenNativeComponent.mjs +2 -1
  240. package/dist/esm/codegenNativeComponent.mjs.map +1 -1
  241. package/dist/esm/createElement/__tests__/index-test.mjs +150 -89
  242. package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -1
  243. package/dist/esm/createElement/index.mjs +49 -41
  244. package/dist/esm/createElement/index.mjs.map +1 -1
  245. package/dist/esm/index.js +4 -4
  246. package/dist/esm/index.js.map +1 -1
  247. package/dist/esm/index.mjs +4 -4
  248. package/dist/esm/index.mjs.map +1 -1
  249. package/dist/esm/modules/requestIdleCallback.mjs +16 -16
  250. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
  251. package/dist/esm/useColorScheme/index.mjs +3 -2
  252. package/dist/esm/useColorScheme/index.mjs.map +1 -1
  253. package/dist/esm/useWindowDimensions/index.mjs +9 -4
  254. package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
  255. package/dist/esm/vendor/react-native/Animated/Animated.mjs +10 -10
  256. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
  257. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +81 -31
  258. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
  259. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +519 -442
  260. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
  261. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +86 -81
  262. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
  263. package/dist/esm/vendor/react-native/Animated/Easing.mjs +15 -5
  264. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
  265. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +284 -198
  266. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
  267. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +34 -34
  268. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
  269. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +31 -31
  270. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
  271. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +10 -4
  272. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
  273. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +10 -4
  274. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
  275. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +31 -9
  276. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
  277. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +100 -30
  278. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
  279. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +62 -19
  280. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
  281. package/dist/esm/vendor/react-native/Animated/bezier.mjs +56 -17
  282. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
  283. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +5 -5
  284. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
  285. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
  286. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
  287. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +5 -5
  288. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
  289. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +5 -5
  290. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -1
  291. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +12 -11
  292. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
  293. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +11 -4
  294. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
  295. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +132 -51
  296. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
  297. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +14 -6
  298. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
  299. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +26 -8
  300. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
  301. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +107 -34
  302. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
  303. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +7 -3
  304. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
  305. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +11 -4
  306. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
  307. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +56 -15
  308. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
  309. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +56 -17
  310. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
  311. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +43 -13
  312. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
  313. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +11 -4
  314. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
  315. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +22 -7
  316. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
  317. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +42 -19
  318. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
  319. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +92 -25
  320. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
  321. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +38 -17
  322. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
  323. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +30 -6
  324. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
  325. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +45 -27
  326. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
  327. package/dist/esm/vendor/react-native/Batchinator/index.mjs +15 -5
  328. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
  329. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +14 -4
  330. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
  331. package/dist/esm/vendor/react-native/FeatureFlags.mjs +6 -6
  332. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +80 -32
  333. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
  334. package/dist/esm/vendor/react-native/FlatList/index.mjs +133 -74
  335. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
  336. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +27 -14
  337. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
  338. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +61 -59
  339. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
  340. package/dist/esm/vendor/react-native/PanResponder/index.mjs +155 -94
  341. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
  342. package/dist/esm/vendor/react-native/PooledClass/index.mjs +32 -20
  343. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
  344. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +5 -5
  345. package/dist/esm/vendor/react-native/SectionList/index.mjs +36 -14
  346. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
  347. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +1 -1
  348. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
  349. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +36 -19
  350. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
  351. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +5 -5
  352. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
  353. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +2 -1
  354. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
  355. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +115 -115
  356. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
  357. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +7 -1
  358. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
  359. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +7 -2
  360. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
  361. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +9 -1
  362. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
  363. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +7 -1
  364. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
  365. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +80 -41
  366. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
  367. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +79 -40
  368. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
  369. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +84 -48
  370. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
  371. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +63 -34
  372. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
  373. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +24 -7
  374. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
  375. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +25 -17
  376. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
  377. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +58 -51
  378. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
  379. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +9 -7
  380. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
  381. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +7 -7
  382. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +124 -80
  383. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
  384. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +66 -33
  385. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
  386. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +37 -9
  387. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
  388. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +4 -1
  389. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
  390. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +16 -7
  391. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
  392. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +19 -7
  393. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
  394. package/dist/esm/vendor/react-native/useRefEffect.mjs +7 -1
  395. package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
  396. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +25 -12
  397. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
  398. package/dist/esm/without-animated.mjs +86 -71
  399. package/dist/esm/without-animated.mjs.map +1 -1
  400. package/package.json +7 -7
  401. package/src/vendor/react-native/Animated/AnimatedImplementation.js +7 -7
@@ -2,34 +2,36 @@ var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf,
6
- __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- },
20
- __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")),
21
- __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
27
- value: mod,
28
- enumerable: !0
29
- }) : target, mod)),
30
- __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
31
- value: !0
32
- }), mod);
19
+ }
20
+ return to;
21
+ };
22
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
+ // If the importer is in node compatibility mode or this is not an ESM
25
+ // file that has been converted to a CommonJS file using a Babel-
26
+ // compatible transform (i.e. "__esModule" has not been set), then set
27
+ // "default" to the CommonJS "module.exports" for node compatibility.
28
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
29
+ value: mod,
30
+ enumerable: true
31
+ }) : target, mod));
32
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
33
+ value: true
34
+ }), mod);
33
35
  var without_animated_exports = {};
34
36
  __export(without_animated_exports, {
35
37
  AccessibilityInfo: () => import_AccessibilityInfo.AccessibilityInfo,
@@ -112,64 +114,64 @@ __export(without_animated_exports, {
112
114
  useWindowDimensions: () => import_useWindowDimensions.useWindowDimensions
113
115
  });
114
116
  module.exports = __toCommonJS(without_animated_exports);
115
- var import_react = require("react"),
116
- import_createElement = require("./createElement/index.cjs"),
117
- import_react_native_web_internals = require("@hanzogui/react-native-web-internals"),
118
- import_render = require("./render/index.cjs"),
119
- import_NativeModules = require("./NativeModules/index.cjs"),
120
- import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter.cjs"), 1),
121
- import_AccessibilityInfo = require("./AccessibilityInfo/index.cjs"),
122
- import_Alert = require("./Alert/index.cjs"),
123
- import_Appearance = require("./Appearance/index.cjs"),
124
- import_AppRegistry = require("./AppRegistry/index.cjs"),
125
- import_AppState = require("./AppState/index.cjs"),
126
- import_BackHandler = require("./BackHandler/index.cjs"),
127
- import_Clipboard = require("./Clipboard/index.cjs"),
128
- import_DeviceInfo = require("./DeviceInfo/index.cjs"),
129
- import_DeviceEmitter = require("./DeviceEmitter.cjs"),
130
- import_DeviceEmitter2 = require("./DeviceEmitter.cjs"),
131
- import_Dimensions = require("./Dimensions/index.cjs"),
132
- import_I18nManager = require("./I18nManager/index.cjs"),
133
- import_Keyboard = require("./Keyboard/index.cjs"),
134
- import_Linking = require("./Linking/index.cjs"),
135
- import_PanResponder = require("./PanResponder/index.cjs"),
136
- import_PixelRatio = require("./PixelRatio/index.cjs"),
137
- import_Share = require("./Share/index.cjs"),
138
- import_Vibration = require("./Vibration/index.cjs"),
139
- import_UnimplementedView = require("./UnimplementedView.cjs"),
140
- import_UnimplementedView2 = require("./UnimplementedView.cjs"),
141
- import_UnimplementedView3 = require("./UnimplementedView.cjs"),
142
- import_UnimplementedView4 = require("./UnimplementedView.cjs"),
143
- import_UnimplementedView5 = require("./UnimplementedView.cjs"),
144
- import_UnimplementedView6 = require("./UnimplementedView.cjs"),
145
- import_UnimplementedView7 = require("./UnimplementedView.cjs"),
146
- import_TouchableOpacity = require("./TouchableOpacity.cjs"),
147
- import_TouchableWithoutFeedback = require("./TouchableWithoutFeedback.cjs"),
148
- import_ActivityIndicator = require("./ActivityIndicator/index.cjs"),
149
- import_Image = require("./Image/index.cjs"),
150
- import_ImageBackground = require("./ImageBackground/index.cjs"),
151
- import_KeyboardAvoidingView = require("./KeyboardAvoidingView/index.cjs"),
152
- import_Modal = require("./Modal/index.cjs"),
153
- import_Pressable = require("./Pressable/index.cjs"),
154
- import_RefreshControl = require("./RefreshControl/index.cjs"),
155
- import_SafeAreaView = require("./SafeAreaView/index.cjs"),
156
- import_ScrollView = require("./ScrollView/index.cjs"),
157
- import_StatusBar = require("./StatusBar/index.cjs"),
158
- import_Text = require("./Text/index.cjs"),
159
- import_TextInput = require("./TextInput/index.cjs"),
160
- import_View = require("./View/index.cjs"),
161
- import_LogBox = require("./LogBox/index.cjs"),
162
- import_useColorScheme = require("./useColorScheme/index.cjs"),
163
- import_useLocaleContext = require("./useLocaleContext/index.cjs"),
164
- import_useWindowDimensions = require("./useWindowDimensions/index.cjs");
117
+ var import_react = require("react");
118
+ var import_createElement = require("./createElement/index.cjs");
119
+ var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
120
+ var import_render = require("./render/index.cjs");
121
+ var import_NativeModules = require("./NativeModules/index.cjs");
122
+ var import_NativeEventEmitter = __toESM(require("./vendor/react-native/EventEmitter/NativeEventEmitter.cjs"), 1);
123
+ var import_AccessibilityInfo = require("./AccessibilityInfo/index.cjs");
124
+ var import_Alert = require("./Alert/index.cjs");
125
+ var import_Appearance = require("./Appearance/index.cjs");
126
+ var import_AppRegistry = require("./AppRegistry/index.cjs");
127
+ var import_AppState = require("./AppState/index.cjs");
128
+ var import_BackHandler = require("./BackHandler/index.cjs");
129
+ var import_Clipboard = require("./Clipboard/index.cjs");
130
+ var import_DeviceInfo = require("./DeviceInfo/index.cjs");
131
+ var import_DeviceEmitter = require("./DeviceEmitter.cjs");
132
+ var import_DeviceEmitter2 = require("./DeviceEmitter.cjs");
133
+ var import_Dimensions = require("./Dimensions/index.cjs");
134
+ var import_I18nManager = require("./I18nManager/index.cjs");
135
+ var import_Keyboard = require("./Keyboard/index.cjs");
136
+ var import_Linking = require("./Linking/index.cjs");
137
+ var import_PanResponder = require("./PanResponder/index.cjs");
138
+ var import_PixelRatio = require("./PixelRatio/index.cjs");
139
+ var import_Share = require("./Share/index.cjs");
140
+ var import_Vibration = require("./Vibration/index.cjs");
141
+ var import_UnimplementedView = require("./UnimplementedView.cjs");
142
+ var import_UnimplementedView2 = require("./UnimplementedView.cjs");
143
+ var import_UnimplementedView3 = require("./UnimplementedView.cjs");
144
+ var import_UnimplementedView4 = require("./UnimplementedView.cjs");
145
+ var import_UnimplementedView5 = require("./UnimplementedView.cjs");
146
+ var import_UnimplementedView6 = require("./UnimplementedView.cjs");
147
+ var import_UnimplementedView7 = require("./UnimplementedView.cjs");
148
+ var import_TouchableOpacity = require("./TouchableOpacity.cjs");
149
+ var import_TouchableWithoutFeedback = require("./TouchableWithoutFeedback.cjs");
150
+ var import_ActivityIndicator = require("./ActivityIndicator/index.cjs");
151
+ var import_Image = require("./Image/index.cjs");
152
+ var import_ImageBackground = require("./ImageBackground/index.cjs");
153
+ var import_KeyboardAvoidingView = require("./KeyboardAvoidingView/index.cjs");
154
+ var import_Modal = require("./Modal/index.cjs");
155
+ var import_Pressable = require("./Pressable/index.cjs");
156
+ var import_RefreshControl = require("./RefreshControl/index.cjs");
157
+ var import_SafeAreaView = require("./SafeAreaView/index.cjs");
158
+ var import_ScrollView = require("./ScrollView/index.cjs");
159
+ var import_StatusBar = require("./StatusBar/index.cjs");
160
+ var import_Text = require("./Text/index.cjs");
161
+ var import_TextInput = require("./TextInput/index.cjs");
162
+ var import_View = require("./View/index.cjs");
163
+ var import_LogBox = require("./LogBox/index.cjs");
164
+ var import_useColorScheme = require("./useColorScheme/index.cjs");
165
+ var import_useLocaleContext = require("./useLocaleContext/index.cjs");
166
+ var import_useWindowDimensions = require("./useWindowDimensions/index.cjs");
165
167
  __reExport(without_animated_exports, require("@hanzogui/react-native-web-internals"), module.exports);
166
- var import_View2 = require("./View/index.cjs"),
167
- import_Text2 = require("./Text/index.cjs"),
168
- import_Image2 = require("./Image/index.cjs"),
169
- import_ScrollView2 = require("./ScrollView/index.cjs"),
170
- import_react_dom = require("react-dom");
168
+ var import_View2 = require("./View/index.cjs");
169
+ var import_Text2 = require("./Text/index.cjs");
170
+ var import_Image2 = require("./Image/index.cjs");
171
+ var import_ScrollView2 = require("./ScrollView/index.cjs");
172
+ var import_react_dom = require("react-dom");
171
173
  function requireNativeComponent(name) {
172
- return function () {
174
+ return function FakeComponent() {
173
175
  return null;
174
176
  };
175
177
  }
@@ -179,23 +181,30 @@ class AnimatedValue {
179
181
  _listeners;
180
182
  _nextId;
181
183
  constructor(value = 0) {
182
- this._value = value, this._offset = 0, this._listeners = {}, this._nextId = 0;
184
+ this._value = value;
185
+ this._offset = 0;
186
+ this._listeners = {};
187
+ this._nextId = 0;
183
188
  }
184
189
  setValue(value) {
185
- this._value = value, this._notifyListeners();
190
+ this._value = value;
191
+ this._notifyListeners();
186
192
  }
187
193
  setOffset(offset) {
188
194
  this._offset = offset;
189
195
  }
190
196
  flattenOffset() {
191
- this._value += this._offset, this._offset = 0;
197
+ this._value += this._offset;
198
+ this._offset = 0;
192
199
  }
193
200
  extractOffset() {
194
- this._offset = this._value, this._value = 0;
201
+ this._offset = this._value;
202
+ this._value = 0;
195
203
  }
196
204
  addListener(callback) {
197
205
  const id = String(this._nextId++);
198
- return this._listeners[id] = callback, id;
206
+ this._listeners[id] = callback;
207
+ return id;
199
208
  }
200
209
  removeListener(id) {
201
210
  delete this._listeners[id];
@@ -213,9 +222,11 @@ class AnimatedValue {
213
222
  return new AnimatedValue(this._value);
214
223
  }
215
224
  _notifyListeners() {
216
- for (const key in this._listeners) this._listeners[key]({
217
- value: this._value
218
- });
225
+ for (const key in this._listeners) {
226
+ this._listeners[key]({
227
+ value: this._value
228
+ });
229
+ }
219
230
  }
220
231
  __getValue() {
221
232
  return this._value + this._offset;
@@ -225,16 +236,20 @@ class AnimatedValueXY {
225
236
  x;
226
237
  y;
227
238
  constructor(value) {
228
- this.x = new AnimatedValue(value?.x ?? 0), this.y = new AnimatedValue(value?.y ?? 0);
239
+ this.x = new AnimatedValue(value?.x ?? 0);
240
+ this.y = new AnimatedValue(value?.y ?? 0);
229
241
  }
230
242
  setValue(value) {
231
- this.x.setValue(value.x), this.y.setValue(value.y);
243
+ this.x.setValue(value.x);
244
+ this.y.setValue(value.y);
232
245
  }
233
246
  setOffset(offset) {
234
- this.x.setOffset(offset.x), this.y.setOffset(offset.y);
247
+ this.x.setOffset(offset.x);
248
+ this.y.setOffset(offset.y);
235
249
  }
236
250
  flattenOffset() {
237
- this.x.flattenOffset(), this.y.flattenOffset();
251
+ this.x.flattenOffset();
252
+ this.y.flattenOffset();
238
253
  }
239
254
  stopAnimation(callback) {
240
255
  callback?.({
@@ -249,15 +264,17 @@ class AnimatedValueXY {
249
264
  y: this.y._value
250
265
  });
251
266
  });
252
- return this.y.addListener(() => {
267
+ this.y.addListener(() => {
253
268
  callback({
254
269
  x: this.x._value,
255
270
  y: this.y._value
256
271
  });
257
- }), xId;
272
+ });
273
+ return xId;
258
274
  }
259
275
  removeAllListeners() {
260
- this.x.removeAllListeners(), this.y.removeAllListeners();
276
+ this.x.removeAllListeners();
277
+ this.y.removeAllListeners();
261
278
  }
262
279
  getLayout() {
263
280
  return {
@@ -274,58 +291,58 @@ class AnimatedValueXY {
274
291
  }
275
292
  }
276
293
  const noopAnim = {
277
- start: cb => cb?.({
278
- finished: !0
279
- }),
280
- stop: () => {},
281
- reset: () => {}
282
- },
283
- Animated = {
284
- View: import_View2.View,
285
- Text: import_Text2.Text,
286
- Image: import_Image2.Image,
287
- ScrollView: import_ScrollView2.ScrollView,
288
- FlatList: import_View2.View,
289
- SectionList: import_View2.View,
290
- Value: AnimatedValue,
291
- ValueXY: AnimatedValueXY,
292
- timing: () => noopAnim,
293
- spring: () => noopAnim,
294
- decay: () => noopAnim,
295
- sequence: () => noopAnim,
296
- parallel: () => noopAnim,
297
- stagger: () => noopAnim,
298
- loop: () => noopAnim,
299
- event: () => () => {},
300
- add: (a, b) => new AnimatedValue(0),
301
- subtract: (a, b) => new AnimatedValue(0),
302
- multiply: (a, b) => new AnimatedValue(0),
303
- divide: (a, b) => new AnimatedValue(0),
304
- modulo: (a, b) => new AnimatedValue(0),
305
- diffClamp: (a, min, max) => new AnimatedValue(0),
306
- delay: () => noopAnim,
307
- createAnimatedComponent: c => c
308
- },
309
- Easing = {
310
- step0: () => 0,
311
- step1: () => 1,
312
- linear: t => t,
313
- ease: t => t,
314
- quad: t => t * t,
315
- cubic: t => t * t * t,
316
- poly: () => t => t,
317
- sin: t => t,
318
- circle: t => t,
319
- exp: t => t,
320
- elastic: () => t => t,
321
- back: () => t => t,
322
- bounce: t => t,
323
- bezier: () => t => t,
324
- in: fn => fn,
325
- out: fn => fn,
326
- inOut: fn => fn
327
- },
328
- findNodeHandle = component => {
329
- throw new Error("not supported - use ref instead");
330
- },
331
- RootTagContext = (0, import_react.createContext)(null);
294
+ start: cb => cb?.({
295
+ finished: true
296
+ }),
297
+ stop: () => {},
298
+ reset: () => {}
299
+ };
300
+ const Animated = {
301
+ View: import_View2.View,
302
+ Text: import_Text2.Text,
303
+ Image: import_Image2.Image,
304
+ ScrollView: import_ScrollView2.ScrollView,
305
+ FlatList: import_View2.View,
306
+ SectionList: import_View2.View,
307
+ Value: AnimatedValue,
308
+ ValueXY: AnimatedValueXY,
309
+ timing: () => noopAnim,
310
+ spring: () => noopAnim,
311
+ decay: () => noopAnim,
312
+ sequence: () => noopAnim,
313
+ parallel: () => noopAnim,
314
+ stagger: () => noopAnim,
315
+ loop: () => noopAnim,
316
+ event: () => () => {},
317
+ add: (a, b) => new AnimatedValue(0),
318
+ subtract: (a, b) => new AnimatedValue(0),
319
+ multiply: (a, b) => new AnimatedValue(0),
320
+ divide: (a, b) => new AnimatedValue(0),
321
+ modulo: (a, b) => new AnimatedValue(0),
322
+ diffClamp: (a, min, max) => new AnimatedValue(0),
323
+ delay: () => noopAnim,
324
+ createAnimatedComponent: c => c
325
+ };
326
+ const Easing = {
327
+ step0: () => 0,
328
+ step1: () => 1,
329
+ linear: t => t,
330
+ ease: t => t,
331
+ quad: t => t * t,
332
+ cubic: t => t * t * t,
333
+ poly: () => t => t,
334
+ sin: t => t,
335
+ circle: t => t,
336
+ exp: t => t,
337
+ elastic: () => t => t,
338
+ back: () => t => t,
339
+ bounce: t => t,
340
+ bezier: () => t => t,
341
+ in: fn => fn,
342
+ out: fn => fn,
343
+ inOut: fn => fn
344
+ };
345
+ const findNodeHandle = component => {
346
+ throw new Error("not supported - use ref instead");
347
+ };
348
+ const RootTagContext = (0, import_react.createContext)(null);
@@ -1,74 +1,84 @@
1
1
  import { canUseDOM } from "@hanzogui/react-native-web-internals";
2
2
  function isScreenReaderEnabled() {
3
3
  return new Promise((resolve, reject) => {
4
- resolve(!0);
4
+ resolve(true);
5
5
  });
6
6
  }
7
- const prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia == "function" ? window.matchMedia("(prefers-reduced-motion: reduce)") : null;
7
+ const prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia === "function" ? window.matchMedia("(prefers-reduced-motion: reduce)") : null;
8
8
  function isReduceMotionEnabled() {
9
9
  return new Promise((resolve, reject) => {
10
- resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : !0);
10
+ resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : true);
11
11
  });
12
12
  }
13
13
  function addChangeListener(fn) {
14
- prefersReducedMotionMedia != null && (prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener("change", fn) : prefersReducedMotionMedia.addListener(fn));
14
+ if (prefersReducedMotionMedia != null) {
15
+ prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener("change", fn) : prefersReducedMotionMedia.addListener(fn);
16
+ }
15
17
  }
16
18
  function removeChangeListener(fn) {
17
- prefersReducedMotionMedia != null && (prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener("change", fn) : prefersReducedMotionMedia.removeListener(fn));
19
+ if (prefersReducedMotionMedia != null) {
20
+ prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener("change", fn) : prefersReducedMotionMedia.removeListener(fn);
21
+ }
18
22
  }
19
- const handlers = {},
20
- AccessibilityInfo = {
21
- /**
22
- * Query whether a screen reader is currently enabled.
23
- *
24
- * Returns a promise which resolves to a boolean.
25
- * The result is `true` when a screen reader is enabled and `false` otherwise.
26
- */
27
- isScreenReaderEnabled,
28
- /**
29
- * Query whether the user prefers reduced motion.
30
- *
31
- * Returns a promise which resolves to a boolean.
32
- * The result is `true` when a screen reader is enabled and `false` otherwise.
33
- */
34
- isReduceMotionEnabled,
35
- /**
36
- * Deprecated
37
- */
38
- fetch: isScreenReaderEnabled,
39
- /**
40
- * Add an event handler. Supported events: reduceMotionChanged
41
- */
42
- addEventListener: function (eventName, handler) {
43
- if (eventName === "reduceMotionChanged") {
44
- if (!prefersReducedMotionMedia) return;
45
- const listener = event => {
46
- handler(event.matches);
47
- };
48
- addChangeListener(listener), handlers[handler] = listener;
23
+ const handlers = {};
24
+ const AccessibilityInfo = {
25
+ /**
26
+ * Query whether a screen reader is currently enabled.
27
+ *
28
+ * Returns a promise which resolves to a boolean.
29
+ * The result is `true` when a screen reader is enabled and `false` otherwise.
30
+ */
31
+ isScreenReaderEnabled,
32
+ /**
33
+ * Query whether the user prefers reduced motion.
34
+ *
35
+ * Returns a promise which resolves to a boolean.
36
+ * The result is `true` when a screen reader is enabled and `false` otherwise.
37
+ */
38
+ isReduceMotionEnabled,
39
+ /**
40
+ * Deprecated
41
+ */
42
+ fetch: isScreenReaderEnabled,
43
+ /**
44
+ * Add an event handler. Supported events: reduceMotionChanged
45
+ */
46
+ addEventListener: function (eventName, handler) {
47
+ if (eventName === "reduceMotionChanged") {
48
+ if (!prefersReducedMotionMedia) {
49
+ return;
49
50
  }
50
- return {
51
- remove: () => AccessibilityInfo.removeEventListener(eventName, handler)
51
+ const listener = event => {
52
+ handler(event.matches);
52
53
  };
53
- },
54
- /**
55
- * Set accessibility focus to a react component.
56
- */
57
- setAccessibilityFocus: function (reactTag) {},
58
- /**
59
- * Post a string to be announced by the screen reader.
60
- */
61
- announceForAccessibility: function (announcement) {},
62
- /**
63
- * Remove an event handler.
64
- */
65
- removeEventListener: function (eventName, handler) {
66
- if (eventName === "reduceMotionChanged") {
67
- const listener = handlers[handler];
68
- if (!listener || !prefersReducedMotionMedia) return;
69
- removeChangeListener(listener);
54
+ addChangeListener(listener);
55
+ handlers[handler] = listener;
56
+ }
57
+ return {
58
+ remove: () => AccessibilityInfo.removeEventListener(eventName, handler)
59
+ };
60
+ },
61
+ /**
62
+ * Set accessibility focus to a react component.
63
+ */
64
+ setAccessibilityFocus: function (reactTag) {},
65
+ /**
66
+ * Post a string to be announced by the screen reader.
67
+ */
68
+ announceForAccessibility: function (announcement) {},
69
+ /**
70
+ * Remove an event handler.
71
+ */
72
+ removeEventListener: function (eventName, handler) {
73
+ if (eventName === "reduceMotionChanged") {
74
+ const listener = handlers[handler];
75
+ if (!listener || !prefersReducedMotionMedia) {
76
+ return;
70
77
  }
78
+ removeChangeListener(listener);
71
79
  }
72
- };
80
+ return;
81
+ }
82
+ };
73
83
  export { AccessibilityInfo };
74
84
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["canUseDOM","isScreenReaderEnabled","Promise","resolve","reject","prefersReducedMotionMedia","window","matchMedia","isReduceMotionEnabled","matches","addChangeListener","fn","addEventListener","addListener","removeChangeListener","removeEventListener","removeListener","handlers","AccessibilityInfo","fetch","eventName","handler","listener","event","remove","setAccessibilityFocus","reactTag","announceForAccessibility","announcement"],"sources":["../../../src/AccessibilityInfo/index.tsx"],"sourcesContent":[null],"mappings":"AAQA,SAASA,SAAA,QAAiB;AAE1B,SAASC,sBAAA,EAA0C;EACjD,OAAO,IAAIC,OAAA,CAAQ,CAACC,OAAA,EAASC,MAAA,KAAW;IACtCD,OAAA,CAAQ,EAAI;EACd,CAAC;AACH;AAEA,MAAME,yBAAA,GACJL,SAAA,IAAa,OAAOM,MAAA,CAAOC,UAAA,IAAe,aACtCD,MAAA,CAAOC,UAAA,CAAW,kCAAkC,IACpD;AAEN,SAASC,sBAAA,EAA0C;EACjD,OAAO,IAAIN,OAAA,CAAQ,CAACC,OAAA,EAASC,MAAA,KAAW;IACtCD,OAAA,CAAQE,yBAAA,GAA4BA,yBAAA,CAA0BI,OAAA,GAAU,EAAI;EAC9E,CAAC;AACH;AAEA,SAASC,kBAAkBC,EAAA,EAAI;EACzBN,yBAAA,IAA6B,SAC/BA,yBAAA,CAA0BO,gBAAA,IAAoB,OAC1CP,yBAAA,CAA0BO,gBAAA,CAAiB,UAAUD,EAAE,IACvDN,yBAAA,CAA0BQ,WAAA,CAAYF,EAAE;AAEhD;AAEA,SAASG,qBAAqBH,EAAA,EAAI;EAC5BN,yBAAA,IAA6B,SAC/BA,yBAAA,CAA0BU,mBAAA,IAAuB,OAC7CV,yBAAA,CAA0BU,mBAAA,CAAoB,UAAUJ,EAAE,IAC1DN,yBAAA,CAA0BW,cAAA,CAAeL,EAAE;AAEnD;AAEA,MAAMM,QAAA,GAAW,CAAC;EAELC,iBAAA,GAAoB;IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAO/BjB,qBAAA;IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAQAO,qBAAA;IAAA;AAAA;AAAA;IAKAW,KAAA,EAAOlB,qBAAA;IAAA;AAAA;AAAA;IAKPW,gBAAA,EAAkB,SAAAA,CAAUQ,SAAA,EAAmBC,OAAA,EAAwB;MACrE,IAAID,SAAA,KAAc,uBAAuB;QACvC,IAAI,CAACf,yBAAA,EACH;QAEF,MAAMiB,QAAA,GAAYC,KAAA,IAAU;UAC1BF,OAAA,CAAQE,KAAA,CAAMd,OAAO;QACvB;QACAC,iBAAA,CAAkBY,QAAQ,GAE1BL,QAAA,CAASI,OAAO,IAAIC,QAAA;MACtB;MAEA,OAAO;QACLE,MAAA,EAAQA,CAAA,KAAMN,iBAAA,CAAkBH,mBAAA,CAAoBK,SAAA,EAAWC,OAAO;MACxE;IACF;IAAA;AAAA;AAAA;IAKAI,qBAAA,EAAuB,SAAAA,CAAUC,QAAA,EAAwB,CAAC;IAAA;AAAA;AAAA;IAK1DC,wBAAA,EAA0B,SAAAA,CAAUC,YAAA,EAA4B,CAAC;IAAA;AAAA;AAAA;IAKjEb,mBAAA,EAAqB,SAAAA,CAAUK,SAAA,EAAmBC,OAAA,EAAyB;MACzE,IAAID,SAAA,KAAc,uBAAuB;QAEvC,MAAME,QAAA,GAAWL,QAAA,CAASI,OAAO;QACjC,IAAI,CAACC,QAAA,IAAY,CAACjB,yBAAA,EAChB;QAEFS,oBAAA,CAAqBQ,QAAQ;MAC/B;IAEF;EACF","ignoreList":[]}
1
+ {"version":3,"names":["canUseDOM","isScreenReaderEnabled","Promise","resolve","reject","prefersReducedMotionMedia","window","matchMedia","isReduceMotionEnabled","matches","addChangeListener","fn","addEventListener","addListener","removeChangeListener","removeEventListener","removeListener","handlers","AccessibilityInfo","fetch","eventName","handler","listener","event","remove","setAccessibilityFocus","reactTag","announceForAccessibility","announcement"],"sources":["../../../src/AccessibilityInfo/index.tsx"],"sourcesContent":[null],"mappings":"AAQA,SAASA,SAAA,QAAiB;AAE1B,SAASC,sBAAA,EAA0C;EACjD,OAAO,IAAIC,OAAA,CAAQ,CAACC,OAAA,EAASC,MAAA,KAAW;IACtCD,OAAA,CAAQ,IAAI;EACd,CAAC;AACH;AAEA,MAAME,yBAAA,GACJL,SAAA,IAAa,OAAOM,MAAA,CAAOC,UAAA,KAAe,aACtCD,MAAA,CAAOC,UAAA,CAAW,kCAAkC,IACpD;AAEN,SAASC,sBAAA,EAA0C;EACjD,OAAO,IAAIN,OAAA,CAAQ,CAACC,OAAA,EAASC,MAAA,KAAW;IACtCD,OAAA,CAAQE,yBAAA,GAA4BA,yBAAA,CAA0BI,OAAA,GAAU,IAAI;EAC9E,CAAC;AACH;AAEA,SAASC,kBAAkBC,EAAA,EAAI;EAC7B,IAAIN,yBAAA,IAA6B,MAAM;IACrCA,yBAAA,CAA0BO,gBAAA,IAAoB,OAC1CP,yBAAA,CAA0BO,gBAAA,CAAiB,UAAUD,EAAE,IACvDN,yBAAA,CAA0BQ,WAAA,CAAYF,EAAE;EAC9C;AACF;AAEA,SAASG,qBAAqBH,EAAA,EAAI;EAChC,IAAIN,yBAAA,IAA6B,MAAM;IACrCA,yBAAA,CAA0BU,mBAAA,IAAuB,OAC7CV,yBAAA,CAA0BU,mBAAA,CAAoB,UAAUJ,EAAE,IAC1DN,yBAAA,CAA0BW,cAAA,CAAeL,EAAE;EACjD;AACF;AAEA,MAAMM,QAAA,GAAW,CAAC;AAEX,MAAMC,iBAAA,GAAoB;EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAO/BjB,qBAAA;EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQAO,qBAAA;EAAA;AAAA;AAAA;EAKAW,KAAA,EAAOlB,qBAAA;EAAA;AAAA;AAAA;EAKPW,gBAAA,EAAkB,SAAAA,CAAUQ,SAAA,EAAmBC,OAAA,EAAwB;IACrE,IAAID,SAAA,KAAc,uBAAuB;MACvC,IAAI,CAACf,yBAAA,EAA2B;QAC9B;MACF;MACA,MAAMiB,QAAA,GAAYC,KAAA,IAAU;QAC1BF,OAAA,CAAQE,KAAA,CAAMd,OAAO;MACvB;MACAC,iBAAA,CAAkBY,QAAQ;MAE1BL,QAAA,CAASI,OAAO,IAAIC,QAAA;IACtB;IAEA,OAAO;MACLE,MAAA,EAAQA,CAAA,KAAMN,iBAAA,CAAkBH,mBAAA,CAAoBK,SAAA,EAAWC,OAAO;IACxE;EACF;EAAA;AAAA;AAAA;EAKAI,qBAAA,EAAuB,SAAAA,CAAUC,QAAA,EAAwB,CAAC;EAAA;AAAA;AAAA;EAK1DC,wBAAA,EAA0B,SAAAA,CAAUC,YAAA,EAA4B,CAAC;EAAA;AAAA;AAAA;EAKjEb,mBAAA,EAAqB,SAAAA,CAAUK,SAAA,EAAmBC,OAAA,EAAyB;IACzE,IAAID,SAAA,KAAc,uBAAuB;MAEvC,MAAME,QAAA,GAAWL,QAAA,CAASI,OAAO;MACjC,IAAI,CAACC,QAAA,IAAY,CAACjB,yBAAA,EAA2B;QAC3C;MACF;MACAS,oBAAA,CAAqBQ,QAAQ;IAC/B;IACA;EACF;AACF","ignoreList":[]}