@tamagui/react-native-web-lite 1.116.0 → 1.116.2

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 (243) hide show
  1. package/dist/cjs/AccessibilityInfo/index.js +96 -0
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +116 -0
  3. package/dist/cjs/ActivityIndicator/index.js +108 -0
  4. package/dist/cjs/Alert/index.js +25 -0
  5. package/dist/cjs/AppRegistry/AppContainer.js +41 -0
  6. package/dist/cjs/AppRegistry/__tests__/index-test.js +77 -0
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +131 -0
  8. package/dist/cjs/AppRegistry/index.js +98 -0
  9. package/dist/cjs/AppRegistry/renderApplication.js +51 -0
  10. package/dist/cjs/AppState/__tests__/index-test.js +33 -0
  11. package/dist/cjs/AppState/index.js +71 -0
  12. package/dist/cjs/Appearance/index.js +41 -0
  13. package/dist/cjs/BackHandler/index.js +32 -0
  14. package/dist/cjs/Clipboard/index.js +47 -0
  15. package/dist/cjs/DeviceEmitter.js +29 -0
  16. package/dist/cjs/DeviceInfo/index.js +62 -0
  17. package/dist/cjs/Dimensions/__tests__/index-test.js +51 -0
  18. package/dist/cjs/Dimensions/index.js +74 -0
  19. package/dist/cjs/I18nManager/index.js +30 -0
  20. package/dist/cjs/Image/index.js +253 -0
  21. package/dist/cjs/Image/types.js +14 -0
  22. package/dist/cjs/ImageBackground/__tests__/index-test.js +48 -0
  23. package/dist/cjs/ImageBackground/index.js +62 -0
  24. package/dist/cjs/Keyboard/index.js +35 -0
  25. package/dist/cjs/KeyboardAvoidingView/index.js +56 -0
  26. package/dist/cjs/Linking/__tests__/index-test.js +38 -0
  27. package/dist/cjs/Linking/index.js +86 -0
  28. package/dist/cjs/LogBox/index.js +31 -0
  29. package/dist/cjs/Modal/ModalAnimation.js +137 -0
  30. package/dist/cjs/Modal/ModalContent.js +75 -0
  31. package/dist/cjs/Modal/ModalFocusTrap.js +105 -0
  32. package/dist/cjs/Modal/ModalPortal.js +43 -0
  33. package/dist/cjs/Modal/index.js +92 -0
  34. package/dist/cjs/NativeModules/index.js +25 -0
  35. package/dist/cjs/PanResponder/index.js +29 -0
  36. package/dist/cjs/PixelRatio/index.js +60 -0
  37. package/dist/cjs/Pressable/index.js +140 -0
  38. package/dist/cjs/RefreshControl/index.js +48 -0
  39. package/dist/cjs/SafeAreaView/index.js +43 -0
  40. package/dist/cjs/ScrollView/ScrollViewBase.js +124 -0
  41. package/dist/cjs/ScrollView/index.js +374 -0
  42. package/dist/cjs/Share/index.js +56 -0
  43. package/dist/cjs/StatusBar/index.js +31 -0
  44. package/dist/cjs/Text/index.js +152 -0
  45. package/dist/cjs/Text/types.js +14 -0
  46. package/dist/cjs/TextInput/__tests__/index-test.js +422 -0
  47. package/dist/cjs/TextInput/index.js +260 -0
  48. package/dist/cjs/TextInput/types.js +14 -0
  49. package/dist/cjs/TouchableOpacity.js +123 -0
  50. package/dist/cjs/TouchableWithoutFeedback.js +90 -0
  51. package/dist/cjs/UnimplementedView.js +36 -0
  52. package/dist/cjs/Vibration/index.js +31 -0
  53. package/dist/cjs/View/index.js +101 -0
  54. package/dist/cjs/View/types.js +14 -0
  55. package/dist/cjs/createElement/__tests__/index-test.js +536 -0
  56. package/dist/cjs/createElement/index.js +37 -0
  57. package/dist/cjs/createReactDOMStyle.js +21 -0
  58. package/dist/cjs/findNodeHandle.js +29 -0
  59. package/dist/cjs/index.js +110 -0
  60. package/dist/cjs/render/index.js +45 -0
  61. package/dist/cjs/styleTypes.js +14 -0
  62. package/dist/cjs/types.js +14 -0
  63. package/dist/cjs/useColorScheme/index.js +39 -0
  64. package/dist/cjs/useLocaleContext/index.js +21 -0
  65. package/dist/cjs/useWindowDimensions/index.js +41 -0
  66. package/dist/cjs/vendor/react-native/Animated/Animated.js +35 -0
  67. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +143 -0
  68. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +458 -0
  69. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +126 -0
  70. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +2 -0
  71. package/dist/cjs/vendor/react-native/Animated/Easing.js +189 -0
  72. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +335 -0
  73. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +29 -0
  74. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +29 -0
  75. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +70 -0
  76. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +64 -0
  77. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +63 -0
  78. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +146 -0
  79. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +82 -0
  80. package/dist/cjs/vendor/react-native/Animated/bezier.js +72 -0
  81. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +29 -0
  82. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +38 -0
  83. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +29 -0
  84. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +29 -0
  85. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +42 -0
  86. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +57 -0
  87. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +197 -0
  88. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +60 -0
  89. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +58 -0
  90. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +175 -0
  91. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +58 -0
  92. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +57 -0
  93. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +136 -0
  94. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +112 -0
  95. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +100 -0
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +57 -0
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +76 -0
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +100 -0
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +182 -0
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +167 -0
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +67 -0
  102. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +89 -0
  103. package/dist/cjs/vendor/react-native/FeatureFlags.js +28 -0
  104. package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js +29 -0
  105. package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js +73 -0
  106. package/dist/cjs/vendor/react-native/PanResponder/index.js +272 -0
  107. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +118 -0
  108. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +2 -0
  109. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +28 -0
  110. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +15 -0
  111. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +29 -0
  112. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +30 -0
  113. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +2 -0
  114. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +55 -0
  115. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +135 -0
  116. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +37 -0
  117. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +76 -0
  118. package/dist/cjs/vendor/react-native/infoLog/index.js +25 -0
  119. package/dist/cjs/vendor/react-native/useRefEffect.js +30 -0
  120. package/dist/cjs/without-animated.js +95 -0
  121. package/package.json +6 -6
  122. package/dist/cjs/PanResponder/Alternative.cjs +0 -198
  123. package/dist/cjs/PanResponder/Alternative.cjs.map +0 -6
  124. /package/dist/cjs/AccessibilityInfo/{index.cjs.map → index.js.map} +0 -0
  125. /package/dist/cjs/ActivityIndicator/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  126. /package/dist/cjs/ActivityIndicator/{index.cjs.map → index.js.map} +0 -0
  127. /package/dist/cjs/Alert/{index.cjs.map → index.js.map} +0 -0
  128. /package/dist/cjs/AppRegistry/{AppContainer.cjs.map → AppContainer.js.map} +0 -0
  129. /package/dist/cjs/AppRegistry/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  130. /package/dist/cjs/AppRegistry/__tests__/{index-test.node.cjs.map → index-test.node.js.map} +0 -0
  131. /package/dist/cjs/AppRegistry/{index.cjs.map → index.js.map} +0 -0
  132. /package/dist/cjs/AppRegistry/{renderApplication.cjs.map → renderApplication.js.map} +0 -0
  133. /package/dist/cjs/AppState/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  134. /package/dist/cjs/AppState/{index.cjs.map → index.js.map} +0 -0
  135. /package/dist/cjs/Appearance/{index.cjs.map → index.js.map} +0 -0
  136. /package/dist/cjs/BackHandler/{index.cjs.map → index.js.map} +0 -0
  137. /package/dist/cjs/Clipboard/{index.cjs.map → index.js.map} +0 -0
  138. /package/dist/cjs/{DeviceEmitter.cjs.map → DeviceEmitter.js.map} +0 -0
  139. /package/dist/cjs/DeviceInfo/{index.cjs.map → index.js.map} +0 -0
  140. /package/dist/cjs/Dimensions/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  141. /package/dist/cjs/Dimensions/{index.cjs.map → index.js.map} +0 -0
  142. /package/dist/cjs/I18nManager/{index.cjs.map → index.js.map} +0 -0
  143. /package/dist/cjs/Image/{index.cjs.map → index.js.map} +0 -0
  144. /package/dist/cjs/Image/{types.cjs.map → types.js.map} +0 -0
  145. /package/dist/cjs/ImageBackground/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  146. /package/dist/cjs/ImageBackground/{index.cjs.map → index.js.map} +0 -0
  147. /package/dist/cjs/Keyboard/{index.cjs.map → index.js.map} +0 -0
  148. /package/dist/cjs/KeyboardAvoidingView/{index.cjs.map → index.js.map} +0 -0
  149. /package/dist/cjs/Linking/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  150. /package/dist/cjs/Linking/{index.cjs.map → index.js.map} +0 -0
  151. /package/dist/cjs/LogBox/{index.cjs.map → index.js.map} +0 -0
  152. /package/dist/cjs/Modal/{ModalAnimation.cjs.map → ModalAnimation.js.map} +0 -0
  153. /package/dist/cjs/Modal/{ModalContent.cjs.map → ModalContent.js.map} +0 -0
  154. /package/dist/cjs/Modal/{ModalFocusTrap.cjs.map → ModalFocusTrap.js.map} +0 -0
  155. /package/dist/cjs/Modal/{ModalPortal.cjs.map → ModalPortal.js.map} +0 -0
  156. /package/dist/cjs/Modal/{index.cjs.map → index.js.map} +0 -0
  157. /package/dist/cjs/NativeModules/{index.cjs.map → index.js.map} +0 -0
  158. /package/dist/cjs/PanResponder/{index.cjs.map → index.js.map} +0 -0
  159. /package/dist/cjs/PixelRatio/{index.cjs.map → index.js.map} +0 -0
  160. /package/dist/cjs/Pressable/{index.cjs.map → index.js.map} +0 -0
  161. /package/dist/cjs/RefreshControl/{index.cjs.map → index.js.map} +0 -0
  162. /package/dist/cjs/SafeAreaView/{index.cjs.map → index.js.map} +0 -0
  163. /package/dist/cjs/ScrollView/{ScrollViewBase.cjs.map → ScrollViewBase.js.map} +0 -0
  164. /package/dist/cjs/ScrollView/{index.cjs.map → index.js.map} +0 -0
  165. /package/dist/cjs/Share/{index.cjs.map → index.js.map} +0 -0
  166. /package/dist/cjs/StatusBar/{index.cjs.map → index.js.map} +0 -0
  167. /package/dist/cjs/Text/{index.cjs.map → index.js.map} +0 -0
  168. /package/dist/cjs/Text/{types.cjs.map → types.js.map} +0 -0
  169. /package/dist/cjs/TextInput/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  170. /package/dist/cjs/TextInput/{index.cjs.map → index.js.map} +0 -0
  171. /package/dist/cjs/TextInput/{types.cjs.map → types.js.map} +0 -0
  172. /package/dist/cjs/{TouchableOpacity.cjs.map → TouchableOpacity.js.map} +0 -0
  173. /package/dist/cjs/{TouchableWithoutFeedback.cjs.map → TouchableWithoutFeedback.js.map} +0 -0
  174. /package/dist/cjs/{UnimplementedView.cjs.map → UnimplementedView.js.map} +0 -0
  175. /package/dist/cjs/Vibration/{index.cjs.map → index.js.map} +0 -0
  176. /package/dist/cjs/View/{index.cjs.map → index.js.map} +0 -0
  177. /package/dist/cjs/View/{types.cjs.map → types.js.map} +0 -0
  178. /package/dist/cjs/createElement/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  179. /package/dist/cjs/createElement/{index.cjs.map → index.js.map} +0 -0
  180. /package/dist/cjs/{createReactDOMStyle.cjs.map → createReactDOMStyle.js.map} +0 -0
  181. /package/dist/cjs/{findNodeHandle.cjs.map → findNodeHandle.js.map} +0 -0
  182. /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
  183. /package/dist/cjs/render/{index.cjs.map → index.js.map} +0 -0
  184. /package/dist/cjs/{styleTypes.cjs.map → styleTypes.js.map} +0 -0
  185. /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
  186. /package/dist/cjs/useColorScheme/{index.cjs.map → index.js.map} +0 -0
  187. /package/dist/cjs/useLocaleContext/{index.cjs.map → index.js.map} +0 -0
  188. /package/dist/cjs/useWindowDimensions/{index.cjs.map → index.js.map} +0 -0
  189. /package/dist/cjs/vendor/react-native/Animated/{Animated.cjs.map → Animated.js.map} +0 -0
  190. /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.cjs.map → AnimatedEvent.js.map} +0 -0
  191. /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.cjs.map → AnimatedImplementation.js.map} +0 -0
  192. /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.cjs.map → AnimatedMock.js.map} +0 -0
  193. /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.cjs.map → AnimatedPlatformConfig.js.map} +0 -0
  194. /package/dist/cjs/vendor/react-native/Animated/{Easing.cjs.map → Easing.js.map} +0 -0
  195. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.cjs.map → NativeAnimatedHelper.js.map} +0 -0
  196. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.cjs.map → NativeAnimatedModule.js.map} +0 -0
  197. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.cjs.map → NativeAnimatedTurboModule.js.map} +0 -0
  198. /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.cjs.map → SpringConfig.js.map} +0 -0
  199. /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.cjs.map → Animation.js.map} +0 -0
  200. /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.cjs.map → DecayAnimation.js.map} +0 -0
  201. /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.cjs.map → SpringAnimation.js.map} +0 -0
  202. /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.cjs.map → TimingAnimation.js.map} +0 -0
  203. /package/dist/cjs/vendor/react-native/Animated/{bezier.cjs.map → bezier.js.map} +0 -0
  204. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.cjs.map → AnimatedImage.js.map} +0 -0
  205. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.cjs.map → AnimatedScrollView.js.map} +0 -0
  206. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.cjs.map → AnimatedText.js.map} +0 -0
  207. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.cjs.map → AnimatedView.js.map} +0 -0
  208. /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.cjs.map → createAnimatedComponent.js.map} +0 -0
  209. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.cjs.map → AnimatedAddition.js.map} +0 -0
  210. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.cjs.map → AnimatedColor.js.map} +0 -0
  211. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.cjs.map → AnimatedDiffClamp.js.map} +0 -0
  212. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.cjs.map → AnimatedDivision.js.map} +0 -0
  213. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.cjs.map → AnimatedInterpolation.js.map} +0 -0
  214. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.cjs.map → AnimatedModulo.js.map} +0 -0
  215. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.cjs.map → AnimatedMultiplication.js.map} +0 -0
  216. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.cjs.map → AnimatedNode.js.map} +0 -0
  217. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.cjs.map → AnimatedProps.js.map} +0 -0
  218. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.cjs.map → AnimatedStyle.js.map} +0 -0
  219. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.cjs.map → AnimatedSubtraction.js.map} +0 -0
  220. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.cjs.map → AnimatedTracking.js.map} +0 -0
  221. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.cjs.map → AnimatedTransform.js.map} +0 -0
  222. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.cjs.map → AnimatedValue.js.map} +0 -0
  223. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.cjs.map → AnimatedValueXY.js.map} +0 -0
  224. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.cjs.map → AnimatedWithChildren.js.map} +0 -0
  225. /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.cjs.map → useAnimatedProps.js.map} +0 -0
  226. /package/dist/cjs/vendor/react-native/{FeatureFlags.cjs.map → FeatureFlags.js.map} +0 -0
  227. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.cjs.map → RCTDeviceEventEmitter.js.map} +0 -0
  228. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.cjs.map → index.js.map} +0 -0
  229. /package/dist/cjs/vendor/react-native/PanResponder/{index.cjs.map → index.js.map} +0 -0
  230. /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.cjs.map → index.js.map} +0 -0
  231. /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.cjs.map → RCTExport.js.map} +0 -0
  232. /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.cjs.map → TurboModuleRegistry.js.map} +0 -0
  233. /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.cjs.map → CoreEventTypes.js.map} +0 -0
  234. /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.cjs.map → setAndForwardRef.js.map} +0 -0
  235. /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.cjs.map → EventEmitter.js.map} +0 -0
  236. /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.cjs.map → EventSubscription.js.map} +0 -0
  237. /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.cjs.map → _EmitterSubscription.js.map} +0 -0
  238. /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.cjs.map → _EventEmitter.js.map} +0 -0
  239. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.cjs.map → _EventSubscription.js.map} +0 -0
  240. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.cjs.map → _EventSubscriptionVendor.js.map} +0 -0
  241. /package/dist/cjs/vendor/react-native/infoLog/{index.cjs.map → index.js.map} +0 -0
  242. /package/dist/cjs/vendor/react-native/{useRefEffect.cjs.map → useRefEffect.js.map} +0 -0
  243. /package/dist/cjs/{without-animated.cjs.map → without-animated.js.map} +0 -0
@@ -0,0 +1,182 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var AnimatedValue_exports = {};
25
+ __export(AnimatedValue_exports, {
26
+ default: () => AnimatedValue_default
27
+ });
28
+ module.exports = __toCommonJS(AnimatedValue_exports);
29
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_NativeAnimatedHelper = __toESM(require("../NativeAnimatedHelper")), import_AnimatedInterpolation = __toESM(require("./AnimatedInterpolation")), import_AnimatedWithChildren = __toESM(require("./AnimatedWithChildren")), NativeAnimatedAPI = import_NativeAnimatedHelper.default.API;
30
+ function _flush(rootNode) {
31
+ var animatedStyles = /* @__PURE__ */ new Set();
32
+ function findAnimatedStyles(node) {
33
+ typeof node.update == "function" ? animatedStyles.add(node) : node.__getChildren().forEach(findAnimatedStyles);
34
+ }
35
+ findAnimatedStyles(rootNode), animatedStyles.forEach((animatedStyle) => animatedStyle.update());
36
+ }
37
+ function _executeAsAnimatedBatch(id, operation) {
38
+ NativeAnimatedAPI.setWaitingForIdentifier(id), operation(), NativeAnimatedAPI.unsetWaitingForIdentifier(id);
39
+ }
40
+ class AnimatedValue extends import_AnimatedWithChildren.default {
41
+ constructor(value, config) {
42
+ if (super(), typeof value != "number")
43
+ throw new Error("AnimatedValue: Attempting to set value to undefined");
44
+ this._startingValue = this._value = value, this._offset = 0, this._animation = null, config && config.useNativeDriver && this.__makeNative();
45
+ }
46
+ __detach() {
47
+ this.__isNative && NativeAnimatedAPI.getValue(this.__getNativeTag(), (value) => {
48
+ this._value = value - this._offset;
49
+ }), this.stopAnimation(), super.__detach();
50
+ }
51
+ __getValue() {
52
+ return this._value + this._offset;
53
+ }
54
+ /**
55
+ * Directly set the value. This will stop any animations running on the value
56
+ * and update all the bound properties.
57
+ *
58
+ * See https://reactnative.dev/docs/animatedvalue#setvalue
59
+ */
60
+ setValue(value) {
61
+ this._animation && (this._animation.stop(), this._animation = null), this._updateValue(
62
+ value,
63
+ !this.__isNative
64
+ /* don't perform a flush for natively driven values */
65
+ ), this.__isNative && _executeAsAnimatedBatch(
66
+ this.__getNativeTag().toString(),
67
+ () => 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, this.__isNative && NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);
79
+ }
80
+ /**
81
+ * Merges the offset value into the base value and resets the offset to zero.
82
+ * The final output of the value is unchanged.
83
+ *
84
+ * See https://reactnative.dev/docs/animatedvalue#flattenoffset
85
+ */
86
+ flattenOffset() {
87
+ this._value += this._offset, this._offset = 0, this.__isNative && NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());
88
+ }
89
+ /**
90
+ * Sets the offset value to the base value, and resets the base value to zero.
91
+ * The final output of the value is unchanged.
92
+ *
93
+ * See https://reactnative.dev/docs/animatedvalue#extractoffset
94
+ */
95
+ extractOffset() {
96
+ this._offset += this._value, this._value = 0, this.__isNative && NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());
97
+ }
98
+ /**
99
+ * Stops any running animation or tracking. `callback` is invoked with the
100
+ * final value after stopping the animation, which is useful for updating
101
+ * state to match the animation position with layout.
102
+ *
103
+ * See https://reactnative.dev/docs/animatedvalue#stopanimation
104
+ */
105
+ stopAnimation(callback) {
106
+ this.stopTracking(), this._animation && this._animation.stop(), this._animation = null, callback && (this.__isNative ? NativeAnimatedAPI.getValue(this.__getNativeTag(), callback) : callback(this.__getValue()));
107
+ }
108
+ /**
109
+ * Stops any animation and resets the value to its original.
110
+ *
111
+ * See https://reactnative.dev/docs/animatedvalue#resetanimation
112
+ */
113
+ resetAnimation(callback) {
114
+ this.stopAnimation(callback), this._value = this._startingValue, this.__isNative && NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), this._startingValue);
115
+ }
116
+ __onAnimatedValueUpdateReceived(value) {
117
+ this._updateValue(
118
+ value,
119
+ !1
120
+ /*flush*/
121
+ );
122
+ }
123
+ /**
124
+ * Interpolates the value before updating the property, e.g. mapping 0-1 to
125
+ * 0-10.
126
+ */
127
+ interpolate(config) {
128
+ return new import_AnimatedInterpolation.default(this, config);
129
+ }
130
+ /**
131
+ * Typically only used internally, but could be used by a custom Animation
132
+ * class.
133
+ *
134
+ * See https://reactnative.dev/docs/animatedvalue#animate
135
+ */
136
+ animate(animation, callback) {
137
+ var handle = null;
138
+ animation.__isInteraction && (handle = import_react_native_web_internals.InteractionManager.createInteractionHandle());
139
+ var previousAnimation = this._animation;
140
+ this._animation && this._animation.stop(), this._animation = animation, animation.start(
141
+ this._value,
142
+ (value) => {
143
+ this._updateValue(
144
+ value,
145
+ !0
146
+ /* flush */
147
+ );
148
+ },
149
+ (result) => {
150
+ this._animation = null, handle !== null && import_react_native_web_internals.InteractionManager.clearInteractionHandle(handle), callback && callback(result);
151
+ },
152
+ previousAnimation,
153
+ this
154
+ );
155
+ }
156
+ /**
157
+ * Typically only used internally.
158
+ */
159
+ stopTracking() {
160
+ this._tracking && this._tracking.__detach(), this._tracking = null;
161
+ }
162
+ /**
163
+ * Typically only used internally.
164
+ */
165
+ track(tracking) {
166
+ this.stopTracking(), this._tracking = tracking, this._tracking && this._tracking.update();
167
+ }
168
+ _updateValue(value, flush) {
169
+ if (value === void 0)
170
+ throw new Error("AnimatedValue: Attempting to set value to undefined");
171
+ this._value = value, flush && _flush(this), super.__callListeners(this.__getValue());
172
+ }
173
+ __getNativeConfig() {
174
+ return {
175
+ type: "value",
176
+ value: this._value,
177
+ offset: this._offset
178
+ };
179
+ }
180
+ }
181
+ var AnimatedValue_default = AnimatedValue;
182
+ //# sourceMappingURL=AnimatedValue.js.map
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var AnimatedValueXY_exports = {};
25
+ __export(AnimatedValueXY_exports, {
26
+ default: () => AnimatedValueXY_default
27
+ });
28
+ module.exports = __toCommonJS(AnimatedValueXY_exports);
29
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_AnimatedValue = __toESM(require("./AnimatedValue")), import_AnimatedWithChildren = __toESM(require("./AnimatedWithChildren")), _uniqueId = 1;
30
+ class AnimatedValueXY extends import_AnimatedWithChildren.default {
31
+ constructor(valueIn) {
32
+ super();
33
+ var value = valueIn || {
34
+ x: 0,
35
+ y: 0
36
+ };
37
+ typeof value.x == "number" && typeof value.y == "number" ? (this.x = new import_AnimatedValue.default(value.x), this.y = new import_AnimatedValue.default(value.y)) : ((0, import_react_native_web_internals.invariant)(
38
+ value.x instanceof import_AnimatedValue.default && value.y instanceof import_AnimatedValue.default,
39
+ "AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."
40
+ ), this.x = value.x, this.y = value.y), this._listeners = {};
41
+ }
42
+ /**
43
+ * Directly set the value. This will stop any animations running on the value
44
+ * and update all the bound properties.
45
+ *
46
+ * See https://reactnative.dev/docs/animatedvaluexy.html#setvalue
47
+ */
48
+ setValue(value) {
49
+ this.x.setValue(value.x), this.y.setValue(value.y);
50
+ }
51
+ /**
52
+ * Sets an offset that is applied on top of whatever value is set, whether
53
+ * via `setValue`, an animation, or `Animated.event`. Useful for compensating
54
+ * things like the start of a pan gesture.
55
+ *
56
+ * See https://reactnative.dev/docs/animatedvaluexy.html#setoffset
57
+ */
58
+ setOffset(offset) {
59
+ this.x.setOffset(offset.x), this.y.setOffset(offset.y);
60
+ }
61
+ /**
62
+ * Merges the offset value into the base value and resets the offset to zero.
63
+ * The final output of the value is unchanged.
64
+ *
65
+ * See https://reactnative.dev/docs/animatedvaluexy.html#flattenoffset
66
+ */
67
+ flattenOffset() {
68
+ this.x.flattenOffset(), this.y.flattenOffset();
69
+ }
70
+ /**
71
+ * Sets the offset value to the base value, and resets the base value to
72
+ * zero. The final output of the value is unchanged.
73
+ *
74
+ * See https://reactnative.dev/docs/animatedvaluexy.html#extractoffset
75
+ */
76
+ extractOffset() {
77
+ this.x.extractOffset(), this.y.extractOffset();
78
+ }
79
+ __getValue() {
80
+ return {
81
+ x: this.x.__getValue(),
82
+ y: this.y.__getValue()
83
+ };
84
+ }
85
+ /**
86
+ * Stops any animation and resets the value to its original.
87
+ *
88
+ * See https://reactnative.dev/docs/animatedvaluexy.html#resetanimation
89
+ */
90
+ resetAnimation(callback) {
91
+ this.x.resetAnimation(), this.y.resetAnimation(), callback && callback(this.__getValue());
92
+ }
93
+ /**
94
+ * Stops any running animation or tracking. `callback` is invoked with the
95
+ * final value after stopping the animation, which is useful for updating
96
+ * state to match the animation position with layout.
97
+ *
98
+ * See https://reactnative.dev/docs/animatedvaluexy.html#stopanimation
99
+ */
100
+ stopAnimation(callback) {
101
+ this.x.stopAnimation(), this.y.stopAnimation(), callback && callback(this.__getValue());
102
+ }
103
+ /**
104
+ * Adds an asynchronous listener to the value so you can observe updates from
105
+ * animations. This is useful because there is no way to synchronously read
106
+ * the value because it might be driven natively.
107
+ *
108
+ * Returns a string that serves as an identifier for the listener.
109
+ *
110
+ * See https://reactnative.dev/docs/animatedvaluexy.html#addlistener
111
+ */
112
+ addListener(callback) {
113
+ var id = String(_uniqueId++), jointCallback = (_ref) => {
114
+ var number = _ref.value;
115
+ callback(this.__getValue());
116
+ };
117
+ return this._listeners[id] = {
118
+ x: this.x.addListener(jointCallback),
119
+ y: this.y.addListener(jointCallback)
120
+ }, id;
121
+ }
122
+ /**
123
+ * Unregister a listener. The `id` param shall match the identifier
124
+ * previously returned by `addListener()`.
125
+ *
126
+ * See https://reactnative.dev/docs/animatedvaluexy.html#removelistener
127
+ */
128
+ removeListener(id) {
129
+ this.x.removeListener(this._listeners[id].x), this.y.removeListener(this._listeners[id].y), delete this._listeners[id];
130
+ }
131
+ /**
132
+ * Remove all registered listeners.
133
+ *
134
+ * See https://reactnative.dev/docs/animatedvaluexy.html#removealllisteners
135
+ */
136
+ removeAllListeners() {
137
+ this.x.removeAllListeners(), this.y.removeAllListeners(), this._listeners = {};
138
+ }
139
+ /**
140
+ * Converts `{x, y}` into `{left, top}` for use in style.
141
+ *
142
+ * See https://reactnative.dev/docs/animatedvaluexy.html#getlayout
143
+ */
144
+ getLayout() {
145
+ return {
146
+ left: this.x,
147
+ top: this.y
148
+ };
149
+ }
150
+ /**
151
+ * Converts `{x, y}` into a useable translation transform.
152
+ *
153
+ * See https://reactnative.dev/docs/animatedvaluexy.html#gettranslatetransform
154
+ */
155
+ getTranslateTransform() {
156
+ return [
157
+ {
158
+ translateX: this.x
159
+ },
160
+ {
161
+ translateY: this.y
162
+ }
163
+ ];
164
+ }
165
+ }
166
+ var AnimatedValueXY_default = AnimatedValueXY;
167
+ //# sourceMappingURL=AnimatedValueXY.js.map
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var AnimatedWithChildren_exports = {};
25
+ __export(AnimatedWithChildren_exports, {
26
+ default: () => AnimatedWithChildren_default
27
+ });
28
+ module.exports = __toCommonJS(AnimatedWithChildren_exports);
29
+ var import_createForOfIteratorHelperLoose = __toESM(require("@babel/runtime/helpers/createForOfIteratorHelperLoose")), import_AnimatedNode = __toESM(require("./AnimatedNode")), import_NativeAnimatedHelper = __toESM(require("../NativeAnimatedHelper"));
30
+ class AnimatedWithChildren extends import_AnimatedNode.default {
31
+ constructor() {
32
+ super(), this._children = [];
33
+ }
34
+ __makeNative(platformConfig) {
35
+ if (!this.__isNative) {
36
+ this.__isNative = !0;
37
+ for (var _iterator = (0, import_createForOfIteratorHelperLoose.default)(this._children), _step; !(_step = _iterator()).done; ) {
38
+ var child = _step.value;
39
+ child.__makeNative(platformConfig), import_NativeAnimatedHelper.default.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());
40
+ }
41
+ }
42
+ super.__makeNative(platformConfig);
43
+ }
44
+ __addChild(child) {
45
+ this._children.length === 0 && this.__attach(), this._children.push(child), this.__isNative && (child.__makeNative(this.__getPlatformConfig()), import_NativeAnimatedHelper.default.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag()));
46
+ }
47
+ __removeChild(child) {
48
+ var index = this._children.indexOf(child);
49
+ if (index === -1) {
50
+ console.warn("Trying to remove a child that doesn't exist");
51
+ return;
52
+ }
53
+ this.__isNative && child.__isNative && import_NativeAnimatedHelper.default.API.disconnectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag()), this._children.splice(index, 1), this._children.length === 0 && this.__detach();
54
+ }
55
+ __getChildren() {
56
+ return this._children;
57
+ }
58
+ __callListeners(value) {
59
+ if (super.__callListeners(value), !this.__isNative)
60
+ for (var _iterator2 = (0, import_createForOfIteratorHelperLoose.default)(this._children), _step2; !(_step2 = _iterator2()).done; ) {
61
+ var child = _step2.value;
62
+ child.__getValue && child.__callListeners(child.__getValue());
63
+ }
64
+ }
65
+ }
66
+ var AnimatedWithChildren_default = AnimatedWithChildren;
67
+ //# sourceMappingURL=AnimatedWithChildren.js.map
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var useAnimatedProps_exports = {};
25
+ __export(useAnimatedProps_exports, {
26
+ default: () => useAnimatedProps
27
+ });
28
+ module.exports = __toCommonJS(useAnimatedProps_exports);
29
+ var import_createForOfIteratorHelperLoose = __toESM(require("@babel/runtime/helpers/createForOfIteratorHelperLoose")), import_react = require("react"), import_useRefEffect = __toESM(require("../useRefEffect")), import_AnimatedEvent = require("./AnimatedEvent"), import_NativeAnimatedHelper = __toESM(require("./NativeAnimatedHelper")), import_AnimatedProps = __toESM(require("./nodes/AnimatedProps"));
30
+ const useLayoutEffect = typeof window > "u" ? import_react.useEffect : import_react.useLayoutEffect;
31
+ function useAnimatedProps(props) {
32
+ var _useReducer = (0, import_react.useReducer)((count) => count + 1, 0), scheduleUpdate = _useReducer[1], onUpdateRef = (0, import_react.useRef)(null), node = (0, import_react.useMemo)(
33
+ () => new import_AnimatedProps.default(
34
+ props,
35
+ () => onUpdateRef.current == null ? void 0 : onUpdateRef.current()
36
+ ),
37
+ [props]
38
+ );
39
+ useAnimatedPropsLifecycle(node);
40
+ var refEffect = (0, import_react.useCallback)(
41
+ (instance) => {
42
+ node.setNativeView(instance), onUpdateRef.current = () => {
43
+ (0, import_react.startTransition)(() => {
44
+ scheduleUpdate();
45
+ });
46
+ };
47
+ var target = getEventTarget(instance), events = [];
48
+ for (var propName in props) {
49
+ var propValue = props[propName];
50
+ propValue instanceof import_AnimatedEvent.AnimatedEvent && propValue.__isNative && (propValue.__attach(target, propName), events.push([propName, propValue]));
51
+ }
52
+ return () => {
53
+ onUpdateRef.current = null;
54
+ for (var _iterator = (0, import_createForOfIteratorHelperLoose.default)(events), _step; !(_step = _iterator()).done; ) {
55
+ var _step$value = _step.value, _propName = _step$value[0], _propValue = _step$value[1];
56
+ _propValue.__detach(target, _propName);
57
+ }
58
+ };
59
+ },
60
+ [props, node]
61
+ ), callbackRef = (0, import_useRefEffect.default)(refEffect);
62
+ return [reduceAnimatedProps(node), callbackRef];
63
+ }
64
+ function reduceAnimatedProps(node) {
65
+ return {
66
+ ...node.__getValue(),
67
+ collapsable: !1
68
+ };
69
+ }
70
+ function useAnimatedPropsLifecycle(node) {
71
+ var prevNodeRef = (0, import_react.useRef)(null), isUnmountingRef = (0, import_react.useRef)(!1);
72
+ (0, import_react.useEffect)(() => {
73
+ import_NativeAnimatedHelper.default.API.flushQueue();
74
+ }), useLayoutEffect(() => (isUnmountingRef.current = !1, () => {
75
+ isUnmountingRef.current = !0;
76
+ }), []), useLayoutEffect(() => {
77
+ if (node.__attach(), prevNodeRef.current != null) {
78
+ var prevNode = prevNodeRef.current;
79
+ prevNode.__restoreDefaultValues(), prevNode.__detach(), prevNodeRef.current = null;
80
+ }
81
+ return () => {
82
+ isUnmountingRef.current ? node.__detach() : prevNodeRef.current = node;
83
+ };
84
+ }, [node]);
85
+ }
86
+ function getEventTarget(instance) {
87
+ return typeof instance == "object" && typeof instance?.getScrollableNode == "function" ? instance.getScrollableNode() : instance;
88
+ }
89
+ //# sourceMappingURL=useAnimatedProps.js.map
@@ -0,0 +1,28 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var FeatureFlags_exports = {};
16
+ __export(FeatureFlags_exports, {
17
+ ReactNativeFeatureFlags: () => ReactNativeFeatureFlags
18
+ });
19
+ module.exports = __toCommonJS(FeatureFlags_exports);
20
+ const ReactNativeFeatureFlags = {
21
+ isLayoutAnimationEnabled: () => !0,
22
+ shouldEmitW3CPointerEvents: () => !1,
23
+ shouldPressibilityUseW3CPointerEventsForHover: () => !1,
24
+ animatedShouldDebounceQueueFlush: () => !1,
25
+ animatedShouldUseSingleOp: () => !1,
26
+ enableCppComponents: () => !1
27
+ };
28
+ //# sourceMappingURL=FeatureFlags.js.map
@@ -0,0 +1,29 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
+ var RCTDeviceEventEmitter_exports = {};
24
+ __export(RCTDeviceEventEmitter_exports, {
25
+ default: () => RCTDeviceEventEmitter_default
26
+ });
27
+ module.exports = __toCommonJS(RCTDeviceEventEmitter_exports);
28
+ var import_EventEmitter = __toESM(require("../emitter/EventEmitter")), RCTDeviceEventEmitter_default = new import_EventEmitter.default();
29
+ //# sourceMappingURL=RCTDeviceEventEmitter.js.map
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var NativeEventEmitter_exports = {};
25
+ __export(NativeEventEmitter_exports, {
26
+ default: () => NativeEventEmitter
27
+ });
28
+ module.exports = __toCommonJS(NativeEventEmitter_exports);
29
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"), import_RCTDeviceEventEmitter = __toESM(require("./RCTDeviceEventEmitter"));
30
+ class NativeEventEmitter {
31
+ constructor(nativeModule) {
32
+ import_react_native_web_internals2.Platform.OS === "ios" && ((0, import_react_native_web_internals.invariant)(
33
+ nativeModule != null,
34
+ "`new NativeEventEmitter()` requires a non-null argument."
35
+ ), this._nativeModule = nativeModule);
36
+ }
37
+ addListener(eventType, listener, context) {
38
+ var _this$_nativeModule;
39
+ (_this$_nativeModule = this._nativeModule) == null || _this$_nativeModule.addListener(eventType);
40
+ var subscription = import_RCTDeviceEventEmitter.default.addListener(eventType, listener, context);
41
+ return {
42
+ remove: () => {
43
+ if (subscription != null) {
44
+ var _this$_nativeModule2;
45
+ (_this$_nativeModule2 = this._nativeModule) == null || _this$_nativeModule2.removeListeners(1), subscription.remove(), subscription = null;
46
+ }
47
+ }
48
+ };
49
+ }
50
+ /**
51
+ * @deprecated Use `remove` on the EventSubscription from `addListener`.
52
+ */
53
+ removeListener(eventType, listener) {
54
+ var _this$_nativeModule3;
55
+ (_this$_nativeModule3 = this._nativeModule) == null || _this$_nativeModule3.removeListeners(1), import_RCTDeviceEventEmitter.default.removeListener(eventType, listener);
56
+ }
57
+ emit(eventType) {
58
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
59
+ args[_key - 1] = arguments[_key];
60
+ import_RCTDeviceEventEmitter.default.emit(eventType, ...args);
61
+ }
62
+ removeAllListeners(eventType) {
63
+ var _this$_nativeModule4;
64
+ (0, import_react_native_web_internals.invariant)(
65
+ eventType != null,
66
+ "`NativeEventEmitter.removeAllListener()` requires a non-null argument."
67
+ ), (_this$_nativeModule4 = this._nativeModule) == null || _this$_nativeModule4.removeListeners(this.listenerCount(eventType)), import_RCTDeviceEventEmitter.default.removeAllListeners(eventType);
68
+ }
69
+ listenerCount(eventType) {
70
+ return import_RCTDeviceEventEmitter.default.listenerCount(eventType);
71
+ }
72
+ }
73
+ //# sourceMappingURL=index.js.map