react-native-tvos 0.81.4-0 → 0.81.5-0

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 (269) hide show
  1. package/Libraries/Components/Button.js +0 -1
  2. package/Libraries/Components/Pressable/Pressable.d.ts +1 -1
  3. package/Libraries/Components/Pressable/Pressable.js +14 -12
  4. package/Libraries/Components/TV/TVParallaxProperties.d.ts +42 -0
  5. package/Libraries/Components/TV/TVViewPropTypes.js +45 -8
  6. package/Libraries/Components/Touchable/TouchableHighlight.js +5 -32
  7. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +5 -50
  8. package/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -1
  9. package/Libraries/Components/Touchable/TouchableOpacity.js +5 -56
  10. package/Libraries/Components/View/View.js +21 -1
  11. package/Libraries/Components/View/ViewPropTypes.d.ts +59 -41
  12. package/Libraries/Components/View/ViewPropTypes.js +5 -86
  13. package/Libraries/Core/ReactNativeVersion.js +1 -1
  14. package/React/Base/RCTUtils.mm +5 -1
  15. package/React/Base/RCTVersion.m +1 -1
  16. package/React/CoreModules/RCTDeviceInfo.mm +3 -4
  17. package/React/Views/RCTSwitchManager.m +24 -0
  18. package/ReactAndroid/gradle.properties +1 -1
  19. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +25 -1
  20. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  21. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.kt +1 -1
  22. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +2 -2
  23. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +13 -26
  24. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
  25. package/ReactAndroid/src/main/jni/react/jni/TransformHelper.cpp +3 -1
  26. package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
  27. package/ReactCommon/react/renderer/components/view/BaseViewProps.cpp +0 -3
  28. package/ReactCommon/react/renderer/components/view/tests/ResolveTransformTest.cpp +377 -0
  29. package/package.json +8 -8
  30. package/sdks/hermesc/osx-bin/hermes +0 -0
  31. package/sdks/hermesc/osx-bin/hermesc +0 -0
  32. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  33. package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
  34. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  35. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  36. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  37. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  38. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  39. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  40. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  41. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  42. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  43. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  44. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  45. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  46. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  47. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  48. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  49. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  50. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  51. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  52. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  53. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  54. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  55. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  56. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  57. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  58. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  59. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  60. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  61. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  62. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  63. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  64. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  65. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  66. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  67. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  68. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  69. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  70. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  71. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  72. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  73. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  74. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  75. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  76. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  77. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  78. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  79. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  80. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  81. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  82. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  83. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  84. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  85. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  86. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  87. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  88. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  89. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  90. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  91. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  92. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  93. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  94. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  95. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  96. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  97. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  98. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  99. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  100. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  101. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  102. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  103. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  104. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  105. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  106. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  107. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  108. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  109. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  110. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  111. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  112. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  113. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  114. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  115. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  116. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  117. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  118. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  119. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  120. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  121. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  122. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  123. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  124. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  125. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  126. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  127. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  128. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  129. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  130. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  131. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  132. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  133. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  134. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  135. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  136. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  137. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  138. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  139. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  140. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  141. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  142. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  143. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  144. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  145. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  146. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  147. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  148. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  149. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  150. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  151. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  152. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  153. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  154. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  155. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  156. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  157. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  158. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  159. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  160. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  161. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  162. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  163. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  164. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  165. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  166. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  167. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  168. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  169. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  170. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  171. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  172. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  173. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  174. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  175. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  176. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  177. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  178. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  179. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  180. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  181. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  182. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  183. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  184. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  185. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  186. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  187. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  188. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  189. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  190. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  191. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  192. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  193. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  194. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  195. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  196. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  197. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  198. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  199. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  200. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  201. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  202. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  203. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  204. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  205. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  206. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  207. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  208. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  209. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  210. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  211. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  212. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  213. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  214. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  215. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  216. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  217. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  218. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  219. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  220. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  221. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  222. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  223. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  224. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  225. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  226. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  227. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  228. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  229. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  230. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  231. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  232. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  233. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  234. package/types_generated/index.d.ts +0 -164
  235. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  236. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  237. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  238. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  239. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  240. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  241. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  242. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  243. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  244. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  245. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  246. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  247. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  248. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  249. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  250. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  251. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  252. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  253. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  254. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  255. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  256. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  257. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  258. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  259. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  260. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  261. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  262. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  263. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  264. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  265. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  266. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  267. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  268. package/types_generated/tsconfig.json +0 -3
  269. package/types_generated/tsconfig.test.json +0 -16
@@ -1,130 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<b4097007f0fa633a18b89c525ea20c52>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/animations/SpringAnimation.js
11
- */
12
-
13
- import type AnimatedInterpolation from "../nodes/AnimatedInterpolation";
14
- import type AnimatedValue from "../nodes/AnimatedValue";
15
- import type AnimatedValueXY from "../nodes/AnimatedValueXY";
16
- import type { AnimationConfig, EndCallback } from "./Animation";
17
- import AnimatedColor from "../nodes/AnimatedColor";
18
- import Animation from "./Animation";
19
- export type SpringAnimationConfig = Readonly<Omit<AnimationConfig, keyof {
20
- toValue: number | AnimatedValue | {
21
- x: number;
22
- y: number;
23
- } | AnimatedValueXY | {
24
- r: number;
25
- g: number;
26
- b: number;
27
- a: number;
28
- } | AnimatedColor | AnimatedInterpolation<number>;
29
- overshootClamping?: boolean;
30
- restDisplacementThreshold?: number;
31
- restSpeedThreshold?: number;
32
- velocity?: number | Readonly<{
33
- x: number;
34
- y: number;
35
- }>;
36
- bounciness?: number;
37
- speed?: number;
38
- tension?: number;
39
- friction?: number;
40
- stiffness?: number;
41
- damping?: number;
42
- mass?: number;
43
- delay?: number;
44
- }> & {
45
- toValue: number | AnimatedValue | {
46
- x: number;
47
- y: number;
48
- } | AnimatedValueXY | {
49
- r: number;
50
- g: number;
51
- b: number;
52
- a: number;
53
- } | AnimatedColor | AnimatedInterpolation<number>;
54
- overshootClamping?: boolean;
55
- restDisplacementThreshold?: number;
56
- restSpeedThreshold?: number;
57
- velocity?: number | Readonly<{
58
- x: number;
59
- y: number;
60
- }>;
61
- bounciness?: number;
62
- speed?: number;
63
- tension?: number;
64
- friction?: number;
65
- stiffness?: number;
66
- damping?: number;
67
- mass?: number;
68
- delay?: number;
69
- }>;
70
- export type SpringAnimationConfigSingle = Readonly<Omit<AnimationConfig, keyof {
71
- toValue: number;
72
- overshootClamping?: boolean;
73
- restDisplacementThreshold?: number;
74
- restSpeedThreshold?: number;
75
- velocity?: number;
76
- bounciness?: number;
77
- speed?: number;
78
- tension?: number;
79
- friction?: number;
80
- stiffness?: number;
81
- damping?: number;
82
- mass?: number;
83
- delay?: number;
84
- }> & {
85
- toValue: number;
86
- overshootClamping?: boolean;
87
- restDisplacementThreshold?: number;
88
- restSpeedThreshold?: number;
89
- velocity?: number;
90
- bounciness?: number;
91
- speed?: number;
92
- tension?: number;
93
- friction?: number;
94
- stiffness?: number;
95
- damping?: number;
96
- mass?: number;
97
- delay?: number;
98
- }>;
99
- declare type SpringAnimationInternalState = symbol & {
100
- __SpringAnimationInternalState__: string;
101
- };
102
- declare class SpringAnimation extends Animation {
103
- constructor(config: SpringAnimationConfigSingle);
104
- start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
105
- getInternalState(): SpringAnimationInternalState;
106
- /**
107
- * This spring model is based off of a damped harmonic oscillator
108
- * (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).
109
- *
110
- * We use the closed form of the second order differential equation:
111
- *
112
- * x'' + (2ζ⍵_0)x' + ⍵^2x = 0
113
- *
114
- * where
115
- * ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),
116
- * ζ = c / 2√mk (damping ratio),
117
- * c = damping constant
118
- * k = stiffness
119
- * m = mass
120
- *
121
- * The derivation of the closed form is described in detail here:
122
- * http://planetmath.org/sites/default/files/texpdf/39745.pdf
123
- *
124
- * This algorithm happens to match the algorithm used by CASpringAnimation,
125
- * a QuartzCore (iOS) API that creates spring animations.
126
- */
127
- onUpdate(): void;
128
- stop(): void;
129
- }
130
- export default SpringAnimation;
@@ -1,54 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<10aca2cbf9da64ef713c98599b9e6c62>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/animations/TimingAnimation.js
11
- */
12
-
13
- import type { RgbaValue } from "../nodes/AnimatedColor";
14
- import type AnimatedInterpolation from "../nodes/AnimatedInterpolation";
15
- import type AnimatedValue from "../nodes/AnimatedValue";
16
- import type AnimatedValueXY from "../nodes/AnimatedValueXY";
17
- import type { AnimationConfig, EndCallback } from "./Animation";
18
- import AnimatedColor from "../nodes/AnimatedColor";
19
- import Animation from "./Animation";
20
- export type TimingAnimationConfig = Readonly<Omit<AnimationConfig, keyof {
21
- toValue: number | AnimatedValue | Readonly<{
22
- x: number;
23
- y: number;
24
- }> | AnimatedValueXY | RgbaValue | AnimatedColor | AnimatedInterpolation<number>;
25
- easing?: (value: number) => number;
26
- duration?: number;
27
- delay?: number;
28
- }> & {
29
- toValue: number | AnimatedValue | Readonly<{
30
- x: number;
31
- y: number;
32
- }> | AnimatedValueXY | RgbaValue | AnimatedColor | AnimatedInterpolation<number>;
33
- easing?: (value: number) => number;
34
- duration?: number;
35
- delay?: number;
36
- }>;
37
- export type TimingAnimationConfigSingle = Readonly<Omit<AnimationConfig, keyof {
38
- toValue: number;
39
- easing?: (value: number) => number;
40
- duration?: number;
41
- delay?: number;
42
- }> & {
43
- toValue: number;
44
- easing?: (value: number) => number;
45
- duration?: number;
46
- delay?: number;
47
- }>;
48
- declare class TimingAnimation extends Animation {
49
- constructor(config: TimingAnimationConfigSingle);
50
- start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
51
- onUpdate(): void;
52
- stop(): void;
53
- }
54
- export default TimingAnimation;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<176398c5af1905b551d343377340c335>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedFlatList.js
11
- */
12
-
13
- import type { AnimatedProps } from "../createAnimatedComponent";
14
- import FlatList, { type FlatListProps } from "../../Lists/FlatList";
15
- import * as React from "react";
16
- declare const $$AnimatedFlatList: <ItemT = any>(props: Omit<AnimatedProps<FlatListProps<ItemT>>, keyof {
17
- ref?: React.Ref<FlatList<ItemT>>;
18
- }> & {
19
- ref?: React.Ref<FlatList<ItemT>>;
20
- }) => React.ReactNode;
21
- declare type $$AnimatedFlatList = typeof $$AnimatedFlatList;
22
- export default $$AnimatedFlatList;
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<09f21486cfab11e52fb7ee57590d23cb>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedImage.js
11
- */
12
-
13
- import type { AnimatedComponentType } from "../createAnimatedComponent";
14
- import Image from "../../Image/Image";
15
- import * as React from "react";
16
- declare const $$AnimatedImage: AnimatedComponentType<React.JSX.LibraryManagedAttributes<typeof Image, React.ComponentProps<typeof Image>>, React.ComponentRef<typeof Image>>;
17
- declare type $$AnimatedImage = typeof $$AnimatedImage;
18
- export default $$AnimatedImage;
@@ -1,23 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<280b262a7f1961a247d6b99480ad376f>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedScrollView.js
11
- */
12
-
13
- import type { AnimatedComponentType } from "../createAnimatedComponent";
14
- import ScrollView, { type ScrollViewProps } from "../../Components/ScrollView/ScrollView";
15
- import * as React from "react";
16
- type AnimatedScrollViewInstance = React.ComponentRef<typeof ScrollView>;
17
- declare const AnimatedScrollView: AnimatedComponentType<ScrollViewProps, AnimatedScrollViewInstance>;
18
- /**
19
- * @see https://github.com/facebook/react-native/commit/b8c8562
20
- */
21
- declare const $$AnimatedScrollView: typeof AnimatedScrollView;
22
- declare type $$AnimatedScrollView = typeof $$AnimatedScrollView;
23
- export default $$AnimatedScrollView;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<aedda1f50ecb98b51a19456b5702ce87>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedSectionList.js
11
- */
12
-
13
- import type { AnimatedProps } from "../createAnimatedComponent";
14
- import SectionList, { type SectionListProps } from "../../Lists/SectionList";
15
- import * as React from "react";
16
- declare const $$AnimatedSectionList: <ItemT = any, SectionT = any>(props: Omit<AnimatedProps<SectionListProps<ItemT, SectionT>>, keyof {
17
- ref?: React.Ref<SectionList<ItemT, SectionT>>;
18
- }> & {
19
- ref?: React.Ref<SectionList<ItemT, SectionT>>;
20
- }) => React.ReactNode;
21
- declare type $$AnimatedSectionList = typeof $$AnimatedSectionList;
22
- export default $$AnimatedSectionList;
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<49a7d653104f009d30b8200bb01678c9>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedText.js
11
- */
12
-
13
- import type { AnimatedComponentType } from "../createAnimatedComponent";
14
- import Text, { type TextProps } from "../../Text/Text";
15
- import * as React from "react";
16
- declare const $$AnimatedText: AnimatedComponentType<TextProps, React.ComponentRef<typeof Text>>;
17
- declare type $$AnimatedText = typeof $$AnimatedText;
18
- export default $$AnimatedText;
@@ -1,19 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<4df1184d42ff255b692006941e5266ef>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/components/AnimatedView.js
11
- */
12
-
13
- import type { ViewProps } from "../../Components/View/ViewPropTypes";
14
- import type { AnimatedComponentType } from "../createAnimatedComponent";
15
- import View from "../../Components/View/View";
16
- import * as React from "react";
17
- declare const $$AnimatedView: AnimatedComponentType<ViewProps, React.ComponentRef<typeof View>>;
18
- declare type $$AnimatedView = typeof $$AnimatedView;
19
- export default $$AnimatedView;
@@ -1,42 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<7bc77677fdb78236f62002655c7b88ea>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/createAnimatedComponent.js
11
- */
12
-
13
- import type AnimatedAddition from "./nodes/AnimatedAddition";
14
- import type AnimatedDiffClamp from "./nodes/AnimatedDiffClamp";
15
- import type AnimatedDivision from "./nodes/AnimatedDivision";
16
- import type AnimatedInterpolation from "./nodes/AnimatedInterpolation";
17
- import type AnimatedModulo from "./nodes/AnimatedModulo";
18
- import type AnimatedMultiplication from "./nodes/AnimatedMultiplication";
19
- import type AnimatedNode from "./nodes/AnimatedNode";
20
- import type { AnimatedPropsAllowlist } from "./nodes/AnimatedProps";
21
- import type AnimatedSubtraction from "./nodes/AnimatedSubtraction";
22
- import type AnimatedValue from "./nodes/AnimatedValue";
23
- import { type ViewProps } from "../Components/View/ViewPropTypes";
24
- import * as React from "react";
25
- type Nullable = void | null;
26
- type Primitive = string | number | boolean | symbol | void;
27
- type Builtin = (...$$REST$$: ReadonlyArray<never>) => unknown | Date | Error | RegExp;
28
- export type WithAnimatedValue<T> = T extends Builtin | Nullable ? T : T extends Primitive ? T | AnimatedNode | AnimatedAddition | AnimatedSubtraction | AnimatedDivision | AnimatedMultiplication | AnimatedModulo | AnimatedDiffClamp | AnimatedValue | AnimatedInterpolation<number | string> | AnimatedInterpolation<number> | AnimatedInterpolation<string> : T extends ReadonlyArray<infer P> ? ReadonlyArray<WithAnimatedValue<P>> : T extends {} ? { readonly [K in keyof T]: WithAnimatedValue<T[K]> } : T;
29
- type NonAnimatedProps = "ref" | "innerViewRef" | "scrollViewRef" | "testID" | "disabled" | "accessibilityLabel";
30
- type PassThroughProps = Readonly<{
31
- passthroughAnimatedPropExplicitValues?: ViewProps | null;
32
- }>;
33
- export type AnimatedProps<Props extends {}> = { [K in keyof Props]: K extends NonAnimatedProps ? Props[K] : WithAnimatedValue<Props[K]> } & PassThroughProps;
34
- export type AnimatedBaseProps<Props extends {}> = { [K in keyof Props]: K extends NonAnimatedProps ? Props[K] : WithAnimatedValue<Props[K]> };
35
- export type AnimatedComponentType<Props extends {}, Instance = unknown> = (props: Omit<AnimatedProps<Props>, keyof {
36
- ref?: React.Ref<Instance>;
37
- }> & {
38
- ref?: React.Ref<Instance>;
39
- }) => React.ReactNode;
40
- declare function createAnimatedComponent<TInstance extends React.ComponentType<any>>(Component: TInstance): AnimatedComponentType<Readonly<React.ComponentProps<TInstance>>, React.ComponentRef<TInstance>>;
41
- export default createAnimatedComponent;
42
- export declare function unstable_createAnimatedComponentWithAllowlist<TProps extends {}, TInstance extends React.ComponentType<TProps>>(Component: TInstance, allowlist: null | undefined | AnimatedPropsAllowlist): AnimatedComponentType<TProps, React.ComponentRef<TInstance>>;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<895ca75965363e9b99897356fc7c590e>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedAddition.js
11
- */
12
-
13
- import type { InterpolationConfigType } from "./AnimatedInterpolation";
14
- import type AnimatedNode from "./AnimatedNode";
15
- import type { AnimatedNodeConfig } from "./AnimatedNode";
16
- import AnimatedInterpolation from "./AnimatedInterpolation";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- declare class AnimatedAddition extends AnimatedWithChildren {
19
- constructor(a: AnimatedNode | number, b: AnimatedNode | number, config?: null | undefined | AnimatedNodeConfig);
20
- interpolate<OutputT extends number | string>(config: InterpolationConfigType<OutputT>): AnimatedInterpolation<OutputT>;
21
- }
22
- export default AnimatedAddition;
@@ -1,76 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<7a0706d1c8b16e612732498fdeb60a18>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedColor.js
11
- */
12
-
13
- import type { ColorValue } from "../../StyleSheet/StyleSheet";
14
- import type { NativeColorValue } from "../../StyleSheet/StyleSheetTypes";
15
- import type { AnimatedNodeConfig } from "./AnimatedNode";
16
- import AnimatedValue from "./AnimatedValue";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- export type AnimatedColorConfig = Readonly<Omit<AnimatedNodeConfig, keyof {
19
- useNativeDriver: boolean;
20
- }> & {
21
- useNativeDriver: boolean;
22
- }>;
23
- type ColorListenerCallback = (value: ColorValue) => unknown;
24
- export type RgbaValue = {
25
- readonly r: number;
26
- readonly g: number;
27
- readonly b: number;
28
- readonly a: number;
29
- };
30
- type RgbaAnimatedValue = {
31
- readonly r: AnimatedValue;
32
- readonly g: AnimatedValue;
33
- readonly b: AnimatedValue;
34
- readonly a: AnimatedValue;
35
- };
36
- export type InputValue = null | undefined | (RgbaValue | RgbaAnimatedValue | ColorValue);
37
- declare class AnimatedColor extends AnimatedWithChildren {
38
- r: AnimatedValue;
39
- g: AnimatedValue;
40
- b: AnimatedValue;
41
- a: AnimatedValue;
42
- nativeColor: null | undefined | NativeColorValue;
43
- constructor(valueIn?: InputValue, config?: null | undefined | AnimatedColorConfig);
44
- /**
45
- * Directly set the value. This will stop any animations running on the value
46
- * and update all the bound properties.
47
- */
48
- setValue(value: RgbaValue | ColorValue): void;
49
- /**
50
- * Sets an offset that is applied on top of whatever value is set, whether
51
- * via `setValue`, an animation, or `Animated.event`. Useful for compensating
52
- * things like the start of a pan gesture.
53
- */
54
- setOffset(offset: RgbaValue): void;
55
- /**
56
- * Merges the offset value into the base value and resets the offset to zero.
57
- * The final output of the value is unchanged.
58
- */
59
- flattenOffset(): void;
60
- /**
61
- * Sets the offset value to the base value, and resets the base value to
62
- * zero. The final output of the value is unchanged.
63
- */
64
- extractOffset(): void;
65
- /**
66
- * Stops any running animation or tracking. `callback` is invoked with the
67
- * final value after stopping the animation, which is useful for updating
68
- * state to match the animation position with layout.
69
- */
70
- stopAnimation(callback?: ColorListenerCallback): void;
71
- /**
72
- * Stops any animation and resets the value to its original.
73
- */
74
- resetAnimation(callback?: ColorListenerCallback): void;
75
- }
76
- export default AnimatedColor;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<937cda520248f4cff94c45f7660751ef>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedDiffClamp.js
11
- */
12
-
13
- import type { InterpolationConfigType } from "./AnimatedInterpolation";
14
- import type AnimatedNode from "./AnimatedNode";
15
- import type { AnimatedNodeConfig } from "./AnimatedNode";
16
- import AnimatedInterpolation from "./AnimatedInterpolation";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- declare class AnimatedDiffClamp extends AnimatedWithChildren {
19
- constructor(a: AnimatedNode, min: number, max: number, config?: null | undefined | AnimatedNodeConfig);
20
- interpolate<OutputT extends number | string>(config: InterpolationConfigType<OutputT>): AnimatedInterpolation<OutputT>;
21
- }
22
- export default AnimatedDiffClamp;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<4e62e8d749da5f7dbf5a81625da5452c>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedDivision.js
11
- */
12
-
13
- import type { InterpolationConfigType } from "./AnimatedInterpolation";
14
- import type { AnimatedNodeConfig } from "./AnimatedNode";
15
- import AnimatedInterpolation from "./AnimatedInterpolation";
16
- import AnimatedNode from "./AnimatedNode";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- declare class AnimatedDivision extends AnimatedWithChildren {
19
- constructor(a: AnimatedNode | number, b: AnimatedNode | number, config?: null | undefined | AnimatedNodeConfig);
20
- interpolate<OutputT extends number | string>(config: InterpolationConfigType<OutputT>): AnimatedInterpolation<OutputT>;
21
- }
22
- export default AnimatedDivision;
@@ -1,36 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<7534ffa526e88943520b114359435835>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedInterpolation.js
11
- */
12
-
13
- import type AnimatedNode from "./AnimatedNode";
14
- import type { AnimatedNodeConfig } from "./AnimatedNode";
15
- import AnimatedWithChildren from "./AnimatedWithChildren";
16
- type ExtrapolateType = "extend" | "identity" | "clamp";
17
- export type InterpolationConfigType<OutputT extends number | string> = Readonly<Omit<AnimatedNodeConfig, keyof {
18
- inputRange: ReadonlyArray<number>;
19
- outputRange: ReadonlyArray<OutputT>;
20
- easing?: (input: number) => number;
21
- extrapolate?: ExtrapolateType;
22
- extrapolateLeft?: ExtrapolateType;
23
- extrapolateRight?: ExtrapolateType;
24
- }> & {
25
- inputRange: ReadonlyArray<number>;
26
- outputRange: ReadonlyArray<OutputT>;
27
- easing?: (input: number) => number;
28
- extrapolate?: ExtrapolateType;
29
- extrapolateLeft?: ExtrapolateType;
30
- extrapolateRight?: ExtrapolateType;
31
- }>;
32
- declare class AnimatedInterpolation<OutputT extends number | string> extends AnimatedWithChildren {
33
- constructor(parent: AnimatedNode, config: InterpolationConfigType<OutputT>);
34
- interpolate<NewOutputT extends number | string>(config: InterpolationConfigType<NewOutputT>): AnimatedInterpolation<NewOutputT>;
35
- }
36
- export default AnimatedInterpolation;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<60c4f22efd19c158398b0acf8973ee49>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedModulo.js
11
- */
12
-
13
- import type { InterpolationConfigType } from "./AnimatedInterpolation";
14
- import type AnimatedNode from "./AnimatedNode";
15
- import type { AnimatedNodeConfig } from "./AnimatedNode";
16
- import AnimatedInterpolation from "./AnimatedInterpolation";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- declare class AnimatedModulo extends AnimatedWithChildren {
19
- constructor(a: AnimatedNode, modulus: number, config?: null | undefined | AnimatedNodeConfig);
20
- interpolate<OutputT extends number | string>(config: InterpolationConfigType<OutputT>): AnimatedInterpolation<OutputT>;
21
- }
22
- export default AnimatedModulo;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<91bfc05c026e95077a519861f988c6b2>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedMultiplication.js
11
- */
12
-
13
- import type { InterpolationConfigType } from "./AnimatedInterpolation";
14
- import type AnimatedNode from "./AnimatedNode";
15
- import type { AnimatedNodeConfig } from "./AnimatedNode";
16
- import AnimatedInterpolation from "./AnimatedInterpolation";
17
- import AnimatedWithChildren from "./AnimatedWithChildren";
18
- declare class AnimatedMultiplication extends AnimatedWithChildren {
19
- constructor(a: AnimatedNode | number, b: AnimatedNode | number, config?: null | undefined | AnimatedNodeConfig);
20
- interpolate<OutputT extends number | string>(config: InterpolationConfigType<OutputT>): AnimatedInterpolation<OutputT>;
21
- }
22
- export default AnimatedMultiplication;
@@ -1,46 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<963cf69679c74d08c66b749959a3adeb>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedNode.js
11
- */
12
-
13
- export type AnimatedNodeConfig = Readonly<{
14
- debugID?: string;
15
- }>;
16
- declare class AnimatedNode {
17
- constructor(config?: null | undefined | Readonly<Omit<AnimatedNodeConfig, keyof {}> & {}>);
18
- /**
19
- * Adds an asynchronous listener to the value so you can observe updates from
20
- * animations. This is useful because there is no way to
21
- * synchronously read the value because it might be driven natively.
22
- *
23
- * See https://reactnative.dev/docs/animatedvalue#addlistener
24
- */
25
- addListener(callback: (value: any) => unknown): string;
26
- /**
27
- * Unregister a listener. The `id` param shall match the identifier
28
- * previously returned by `addListener()`.
29
- *
30
- * See https://reactnative.dev/docs/animatedvalue#removelistener
31
- */
32
- removeListener(id: string): void;
33
- /**
34
- * Remove all registered listeners.
35
- *
36
- * See https://reactnative.dev/docs/animatedvalue#removealllisteners
37
- */
38
- removeAllListeners(): void;
39
- hasListeners(): boolean;
40
- /**
41
- * NOTE: This is intended to prevent `JSON.stringify` from throwing "cyclic
42
- * structure" errors in React DevTools. Avoid depending on this!
43
- */
44
- toJSON(): unknown;
45
- }
46
- export default AnimatedNode;
@@ -1,29 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<fbb08335c0ecc21da5a2c9de6337be8c>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/nodes/AnimatedProps.js
11
- */
12
-
13
- import * as React from "react";
14
- import type { AnimatedNodeConfig } from "./AnimatedNode";
15
- import type { AnimatedStyleAllowlist } from "./AnimatedStyle";
16
- import AnimatedNode from "./AnimatedNode";
17
- export type AnimatedPropsAllowlist = Readonly<{
18
- style?: AnimatedStyleAllowlist | undefined;
19
- [key: string]: true | AnimatedStyleAllowlist;
20
- }>;
21
- type TargetViewInstance = React.ComponentRef<React.ElementType>;
22
- declare class AnimatedProps extends AnimatedNode {
23
- constructor(inputProps: {
24
- [$$Key$$: string]: unknown;
25
- }, callback: () => void, allowlist?: null | undefined | AnimatedPropsAllowlist, config?: null | undefined | AnimatedNodeConfig);
26
- update(): void;
27
- setNativeView(instance: TargetViewInstance): void;
28
- }
29
- export default AnimatedProps;