react-native-tvos 0.81.4-0 → 0.81.4-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) 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/RCTVersion.m +1 -1
  15. package/ReactAndroid/gradle.properties +1 -1
  16. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  17. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +0 -25
  18. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
  19. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  20. package/package.json +2 -2
  21. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  22. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  23. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  24. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  25. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  26. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  27. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  28. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  29. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  30. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  31. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  32. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  33. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  34. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  35. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  36. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  37. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  38. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  39. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  40. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  41. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  42. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  43. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  44. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  45. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  46. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  47. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  48. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  49. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  50. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  51. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  52. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  53. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  54. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  55. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  56. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  57. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  58. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  59. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  60. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  61. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  62. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  63. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  64. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  65. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  66. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  67. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  68. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  69. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  70. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  71. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  72. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  73. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  74. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  75. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  76. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  77. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  78. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  79. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  80. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  81. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  82. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  83. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  84. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  85. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  86. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  87. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  88. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  89. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  90. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  91. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  92. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  93. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  94. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  95. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  96. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  97. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  98. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  99. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  100. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  101. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  102. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  103. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  104. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  105. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  106. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  107. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  108. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  109. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  110. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  111. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  112. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  113. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  114. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  115. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  116. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  117. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  118. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  119. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  120. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  121. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  122. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  123. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  124. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  125. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  126. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  127. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  128. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  129. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  130. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  131. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  132. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  133. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  134. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  135. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  136. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  137. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  138. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  139. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  140. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  141. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  142. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  143. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  144. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  145. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  146. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  147. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  148. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  149. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  150. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  151. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  152. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  153. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  154. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  155. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  156. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  157. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  158. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  159. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  160. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  161. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  162. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  163. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  164. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  165. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  166. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  167. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  168. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  169. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  170. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  171. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  172. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  173. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  174. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  175. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  176. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  177. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  178. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  179. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  180. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  181. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  182. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  183. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  184. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  185. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  186. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  187. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  188. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  189. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  190. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  191. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  192. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  193. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  194. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  195. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  196. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  197. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  198. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  199. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  200. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  201. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  202. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  203. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  204. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  205. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  206. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  207. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  208. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  209. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  210. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  211. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  212. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  213. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  214. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  215. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  216. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  217. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  218. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  219. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  220. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  221. package/types_generated/index.d.ts +0 -164
  222. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  223. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  224. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  225. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  226. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  227. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  228. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  229. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  230. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  231. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  232. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  233. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  234. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  235. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  236. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  237. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  238. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  239. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  240. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  241. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  242. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  243. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  244. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  245. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  246. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  247. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  248. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  249. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  250. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  251. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  252. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  253. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  254. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  255. package/types_generated/tsconfig.json +0 -3
  256. package/types_generated/tsconfig.test.json +0 -16
@@ -1,110 +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<<4d4d845f339e35ccb4fbcb06f6d7d104>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/PixelRatio.js
11
- */
12
-
13
- /**
14
- * PixelRatio class gives access to the device pixel density.
15
- *
16
- * ## Fetching a correctly sized image
17
- *
18
- * You should get a higher resolution image if you are on a high pixel density
19
- * device. A good rule of thumb is to multiply the size of the image you display
20
- * by the pixel ratio.
21
- *
22
- * ```
23
- * var image = getImage({
24
- * width: PixelRatio.getPixelSizeForLayoutSize(200),
25
- * height: PixelRatio.getPixelSizeForLayoutSize(100),
26
- * });
27
- * <Image source={image} style={{width: 200, height: 100}} />
28
- * ```
29
- *
30
- * ## Pixel grid snapping
31
- *
32
- * In iOS, you can specify positions and dimensions for elements with arbitrary
33
- * precision, for example 29.674825. But, ultimately the physical display only
34
- * have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334
35
- * for iPhone 6. iOS tries to be as faithful as possible to the user value by
36
- * spreading one original pixel into multiple ones to trick the eye. The
37
- * downside of this technique is that it makes the resulting element look
38
- * blurry.
39
- *
40
- * In practice, we found out that developers do not want this feature and they
41
- * have to work around it by doing manual rounding in order to avoid having
42
- * blurry elements. In React Native, we are rounding all the pixels
43
- * automatically.
44
- *
45
- * We have to be careful when to do this rounding. You never want to work with
46
- * rounded and unrounded values at the same time as you're going to accumulate
47
- * rounding errors. Having even one rounding error is deadly because a one
48
- * pixel border may vanish or be twice as big.
49
- *
50
- * In React Native, everything in JavaScript and within the layout engine works
51
- * with arbitrary precision numbers. It's only when we set the position and
52
- * dimensions of the native element on the main thread that we round. Also,
53
- * rounding is done relative to the root rather than the parent, again to avoid
54
- * accumulating rounding errors.
55
- *
56
- */
57
- declare class PixelRatio {
58
- /**
59
- * Returns the device pixel density. Some examples:
60
- *
61
- * - PixelRatio.get() === 1
62
- * - mdpi Android devices (160 dpi)
63
- * - PixelRatio.get() === 1.5
64
- * - hdpi Android devices (240 dpi)
65
- * - PixelRatio.get() === 2
66
- * - iPhone 4, 4S
67
- * - iPhone 5, 5c, 5s
68
- * - iPhone 6
69
- * - iPhone 7
70
- * - iPhone 8
71
- * - iPhone SE
72
- * - xhdpi Android devices (320 dpi)
73
- * - PixelRatio.get() === 3
74
- * - iPhone 6 Plus
75
- * - iPhone 7 Plus
76
- * - iPhone 8 Plus
77
- * - iPhone X
78
- * - xxhdpi Android devices (480 dpi)
79
- * - PixelRatio.get() === 3.5
80
- * - Nexus 6
81
- */
82
- static get(): number;
83
- /**
84
- * Returns the scaling factor for font sizes. This is the ratio that is used to calculate the
85
- * absolute font size, so any elements that heavily depend on that should use this to do
86
- * calculations.
87
- *
88
- * If a font scale is not set, this returns the device pixel ratio.
89
- *
90
- * This reflects the user preference set in:
91
- * - Settings > Display > Font size on Android,
92
- * - Settings > Display & Brightness > Text Size on iOS.
93
- */
94
- static getFontScale(): number;
95
- /**
96
- * Converts a layout size (dp) to pixel size (px).
97
- *
98
- * Guaranteed to return an integer number.
99
- */
100
- static getPixelSizeForLayoutSize(layoutSize: number): number;
101
- /**
102
- * Rounds a layout size (dp) to the nearest layout size that corresponds to
103
- * an integer number of pixels. For example, on a device with a PixelRatio
104
- * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to
105
- * exactly (8.33 * 3) = 25 pixels.
106
- */
107
- static roundToNearestPixel(layoutSize: number): number;
108
- static startDetecting(): void;
109
- }
110
- export default PixelRatio;
@@ -1,16 +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<<538e81ad34e0d9832a54f6393fe6ffcc>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/Platform.js.flow
11
- */
12
-
13
- import type { PlatformType } from "./PlatformTypes";
14
- declare const $$Platform: PlatformType;
15
- declare type $$Platform = typeof $$Platform;
16
- export default $$Platform;
@@ -1,134 +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<<fc7638b671713ddbae4f863ef2e73cea>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/PlatformTypes.js
11
- */
12
-
13
- export type PlatformOSType = "ios" | "android" | "macos" | "windows" | "web" | "native";
14
- type OptionalPlatformSelectSpec<T> = { [key in PlatformOSType]?: T };
15
- export type PlatformSelectSpec<T> = (Omit<OptionalPlatformSelectSpec<T>, keyof {
16
- default: T;
17
- }> & {
18
- default: T;
19
- }) | OptionalPlatformSelectSpec<T>;
20
- type IOSPlatform = {
21
- OS: "ios";
22
- get Version(): string;
23
- get constants(): {
24
- forceTouchAvailable: boolean;
25
- interfaceIdiom: string;
26
- isTesting: boolean;
27
- isDisableAnimations?: boolean;
28
- osVersion: string;
29
- reactNativeVersion: {
30
- major: number;
31
- minor: number;
32
- patch: number;
33
- prerelease: string | undefined;
34
- };
35
- systemName: string;
36
- isMacCatalyst?: boolean;
37
- };
38
- get isPad(): boolean;
39
- get isTV(): boolean;
40
- get isVision(): boolean;
41
- get isTesting(): boolean;
42
- get isDisableAnimations(): boolean;
43
- get isMacCatalyst(): boolean;
44
- select: <T>(spec: PlatformSelectSpec<T>) => T;
45
- };
46
- type AndroidPlatform = {
47
- OS: "android";
48
- get Version(): number;
49
- get constants(): {
50
- isTesting: boolean;
51
- isDisableAnimations?: boolean;
52
- reactNativeVersion: {
53
- major: number;
54
- minor: number;
55
- patch: number;
56
- prerelease: string | undefined;
57
- };
58
- Version: number;
59
- Release: string;
60
- Serial: string;
61
- Fingerprint: string;
62
- Model: string;
63
- ServerHost?: string;
64
- uiMode: string;
65
- Brand: string;
66
- Manufacturer: string;
67
- };
68
- get isTV(): boolean;
69
- get isVision(): boolean;
70
- get isTesting(): boolean;
71
- get isDisableAnimations(): boolean;
72
- select: <T>(spec: PlatformSelectSpec<T>) => T;
73
- };
74
- type WindowsPlatform = {
75
- OS: "windows";
76
- get Version(): number;
77
- get constants(): {
78
- isTesting: boolean;
79
- isDisableAnimations?: boolean;
80
- reactNativeVersion: {
81
- major: number;
82
- minor: number;
83
- patch: number;
84
- prerelease: string | undefined;
85
- };
86
- reactNativeWindowsVersion: {
87
- major: number;
88
- minor: number;
89
- patch: number;
90
- };
91
- osVersion: number;
92
- };
93
- get isTesting(): boolean;
94
- get isDisableAnimations(): boolean;
95
- get isTV(): boolean;
96
- select: <T>(spec: PlatformSelectSpec<T>) => T;
97
- };
98
- type MacOSPlatform = {
99
- OS: "macos";
100
- get Version(): string;
101
- get constants(): {
102
- isTesting: boolean;
103
- osVersion: string;
104
- reactNativeVersion: {
105
- major: number;
106
- minor: number;
107
- patch: number;
108
- prerelease: number | undefined;
109
- };
110
- systemName: string;
111
- };
112
- get isTV(): boolean;
113
- get isVision(): boolean;
114
- get isTesting(): boolean;
115
- get isDisableAnimations(): boolean;
116
- select: <T>(spec: PlatformSelectSpec<T>) => T;
117
- };
118
- type WebPlatform = {
119
- OS: "web";
120
- get Version(): void;
121
- get constants(): {
122
- reactNativeVersion: {
123
- major: number;
124
- minor: number;
125
- patch: number;
126
- prerelease: string | undefined;
127
- };
128
- };
129
- get isTV(): boolean;
130
- get isTesting(): boolean;
131
- get isDisableAnimations(): boolean;
132
- select: <T>(spec: PlatformSelectSpec<T>) => T;
133
- };
134
- export type PlatformType = IOSPlatform | AndroidPlatform | WindowsPlatform | MacOSPlatform | WebPlatform;
@@ -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<<bdbd6a135ecf47509d1eeba6e9f0b85b>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/codegenNativeCommands.js
11
- */
12
-
13
- type NativeCommandsOptions<T = string> = Readonly<{
14
- supportedCommands: ReadonlyArray<T>;
15
- }>;
16
- declare function codegenNativeCommands<T extends {}>(options: NativeCommandsOptions<keyof T>): T;
17
- declare const $$codegenNativeCommands: typeof codegenNativeCommands;
18
- declare type $$codegenNativeCommands = typeof $$codegenNativeCommands;
19
- export default $$codegenNativeCommands;
@@ -1,24 +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<<6720131e570d2364d1dff879e4e0f024>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/codegenNativeComponent.js
11
- */
12
-
13
- import type { HostComponent } from "../../src/private/types/HostComponent";
14
- type NativeComponentOptions = Readonly<{
15
- interfaceOnly?: boolean;
16
- paperComponentName?: string;
17
- paperComponentNameDeprecated?: string;
18
- excludedPlatforms?: ReadonlyArray<"iOS" | "android">;
19
- }>;
20
- export type NativeComponentType<T extends {}> = HostComponent<T>;
21
- declare function codegenNativeComponent<Props extends {}>(componentName: string, options?: NativeComponentOptions): NativeComponentType<Props>;
22
- declare const $$codegenNativeComponent: typeof codegenNativeComponent;
23
- declare type $$codegenNativeComponent = typeof $$codegenNativeComponent;
24
- export default $$codegenNativeComponent;
@@ -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<<6f12b067782abb8a2c8baf4f02ab14f7>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/createPerformanceLogger.js
11
- */
12
-
13
- import type { Extras, ExtraValue, IPerformanceLogger, Timespan } from "./IPerformanceLogger";
14
- export declare const getCurrentTimestamp: () => number;
15
- export declare type getCurrentTimestamp = typeof getCurrentTimestamp;
16
- export type { Extras, ExtraValue, IPerformanceLogger, Timespan };
17
- /**
18
- * This function creates performance loggers that can be used to collect and log
19
- * various performance data such as timespans, points and extras.
20
- * The loggers need to have minimal overhead since they're used in production.
21
- */
22
- declare function createPerformanceLogger(): IPerformanceLogger;
23
- export default createPerformanceLogger;
@@ -1,33 +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<<093044a52f61595ebe3c6981bd7eef6e>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js
11
- */
12
-
13
- /**
14
- * If your application is accepting different values for the same field over
15
- * time and is doing a diff on them, you can either (1) create a copy or
16
- * (2) ensure that those values are not mutated behind two passes.
17
- * This function helps you with (2) by freezing the object and throwing if
18
- * the user subsequently modifies the value.
19
- *
20
- * There are two caveats with this function:
21
- * - If the call site is not in strict mode, it will only throw when
22
- * mutating existing fields, adding a new one
23
- * will unfortunately fail silently :(
24
- * - If the object is already frozen or sealed, it will not continue the
25
- * deep traversal and will leave leaf nodes unfrozen.
26
- *
27
- * Freezing the object and adding the throw mechanism is expensive and will
28
- * only be used in DEV.
29
- */
30
- declare function deepFreezeAndThrowOnMutationInDev<T extends {} | Array<unknown>>(object: T): T;
31
- declare const $$deepFreezeAndThrowOnMutationInDev: typeof deepFreezeAndThrowOnMutationInDev;
32
- declare type $$deepFreezeAndThrowOnMutationInDev = typeof $$deepFreezeAndThrowOnMutationInDev;
33
- export default $$deepFreezeAndThrowOnMutationInDev;
@@ -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<<cc4b4373a1bd4ebb6f384549778a3397>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/differ/deepDiffer.js
11
- */
12
-
13
- type Options = {
14
- readonly unsafelyIgnoreFunctions?: boolean;
15
- };
16
- declare function deepDiffer(one: any, two: any, maxDepthOrOptions?: Options | number, maybeOptions?: Options): boolean;
17
- declare const $$deepDiffer: typeof deepDiffer;
18
- declare type $$deepDiffer = typeof $$deepDiffer;
19
- export default $$deepDiffer;
@@ -1,15 +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<<289a827cb1dd4903c36451996b8cdc68>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/useColorScheme.js
11
- */
12
-
13
- import type { ColorSchemeName } from "./NativeAppearance";
14
- declare function useColorScheme(): null | undefined | ColorSchemeName;
15
- export default useColorScheme;
@@ -1,15 +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<<4a42f9a48ac886ab00bb7483296a1c07>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Utilities/useWindowDimensions.js
11
- */
12
-
13
- import { type DisplayMetrics, type DisplayMetricsAndroid } from "./NativeDeviceInfo";
14
- declare function useWindowDimensions(): DisplayMetrics | DisplayMetricsAndroid;
15
- export default useWindowDimensions;
@@ -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<<dfd4dea0569a589baf90f7b69c21ef4e>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Vibration/Vibration.js
11
- */
12
-
13
- declare const Vibration: {
14
- /**
15
- * Trigger a vibration with specified `pattern`.
16
- *
17
- * See https://reactnative.dev/docs/vibration#vibrate
18
- */
19
- vibrate: (pattern?: number | Array<number>, repeat?: boolean) => void;
20
- /**
21
- * Stop vibration
22
- *
23
- * See https://reactnative.dev/docs/vibration#cancel
24
- */
25
- cancel: () => void;
26
- };
27
- declare const $$Vibration: typeof Vibration;
28
- declare type $$Vibration = typeof $$Vibration;
29
- export default $$Vibration;
@@ -1,39 +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<<a4e24b3ec287bfea18af250315acf306>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/vendor/core/ErrorUtils.js
11
- */
12
-
13
- type ErrorHandler = (error: unknown, isFatal: boolean) => void;
14
- type Fn<Args extends ReadonlyArray<unknown>, Return> = (...$$REST$$: Args) => Return;
15
- export type ErrorUtils = {
16
- applyWithGuard<TArgs extends ReadonlyArray<unknown>, TOut>(fun: Fn<TArgs, TOut>, context?: unknown, args?: TArgs | undefined, unused_onError?: null, unused_name?: string | undefined): TOut | undefined;
17
- applyWithGuardIfNeeded<TArgs extends ReadonlyArray<unknown>, TOut>(fun: Fn<TArgs, TOut>, context?: unknown, args?: TArgs | undefined): TOut | undefined;
18
- getGlobalHandler(): ErrorHandler;
19
- guard<TArgs extends ReadonlyArray<unknown>, TOut>(fun: Fn<TArgs, TOut>, name?: string | undefined, context?: unknown): ((...$$REST$$: TArgs) => TOut | undefined) | undefined;
20
- inGuard(): boolean;
21
- reportError(error: unknown): void;
22
- reportFatalError(error: unknown): void;
23
- setGlobalHandler(fun: ErrorHandler): void;
24
- };
25
- /**
26
- * The particular require runtime that we are using looks for a global
27
- * `ErrorUtils` object and if it exists, then it requires modules with the
28
- * error handler specified via ErrorUtils.setGlobalHandler by calling the
29
- * require function with applyWithGuard. Since the require module is loaded
30
- * before any of the modules, this ErrorUtils must be defined (and the handler
31
- * set) globally before requiring anything.
32
- *
33
- * However, we still want to treat ErrorUtils as a module so that other modules
34
- * that use it aren't just using a global variable, so simply export the global
35
- * variable here. ErrorUtils is originally defined in a file named error-guard.js.
36
- */
37
- declare const $$ErrorUtils: ErrorUtils;
38
- declare type $$ErrorUtils = typeof $$ErrorUtils;
39
- export default $$ErrorUtils;
@@ -1,67 +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<<5d7d10be42a2b9b6300de1ee6cee9ab9>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/vendor/emitter/EventEmitter.js
11
- */
12
-
13
- type UnsafeEventObject = Object;
14
- export interface EventSubscription {
15
- remove(): void;
16
- }
17
- export interface IEventEmitter<TEventToArgsMap extends Readonly<Record<string, ReadonlyArray<UnsafeEventObject>>>> {
18
- addListener<TEvent extends keyof TEventToArgsMap>(eventType: TEvent, listener: (...args: TEventToArgsMap[TEvent]) => unknown, context?: unknown): EventSubscription;
19
- emit<TEvent extends keyof TEventToArgsMap>(eventType: TEvent, ...args: TEventToArgsMap[TEvent]): void;
20
- removeAllListeners<TEvent extends keyof TEventToArgsMap>(eventType?: TEvent | undefined): void;
21
- listenerCount<TEvent extends keyof TEventToArgsMap>(eventType: TEvent): number;
22
- }
23
- /**
24
- * EventEmitter manages listeners and publishes events to them.
25
- *
26
- * EventEmitter accepts a single type parameter that defines the valid events
27
- * and associated listener argument(s).
28
- *
29
- * @example
30
- *
31
- * const emitter = new EventEmitter<{
32
- * success: [number, string],
33
- * error: [Error],
34
- * }>();
35
- *
36
- * emitter.on('success', (statusCode, responseText) => {...});
37
- * emitter.emit('success', 200, '...');
38
- *
39
- * emitter.on('error', error => {...});
40
- * emitter.emit('error', new Error('Resource not found'));
41
- *
42
- */
43
- declare class EventEmitter<TEventToArgsMap extends Readonly<Record<string, ReadonlyArray<UnsafeEventObject>>> = Readonly<Record<string, ReadonlyArray<UnsafeEventObject>>>> implements IEventEmitter<TEventToArgsMap> {
44
- constructor();
45
- /**
46
- * Registers a listener that is called when the supplied event is emitted.
47
- * Returns a subscription that has a `remove` method to undo registration.
48
- */
49
- addListener<TEvent extends keyof TEventToArgsMap>(eventType: TEvent, listener: (...args: TEventToArgsMap[TEvent]) => unknown, context: unknown): EventSubscription;
50
- /**
51
- * Emits the supplied event. Additional arguments supplied to `emit` will be
52
- * passed through to each of the registered listeners.
53
- *
54
- * If a listener modifies the listeners registered for the same event, those
55
- * changes will not be reflected in the current invocation of `emit`.
56
- */
57
- emit<TEvent extends keyof TEventToArgsMap>(eventType: TEvent, ...args: TEventToArgsMap[TEvent]): void;
58
- /**
59
- * Removes all registered listeners.
60
- */
61
- removeAllListeners<TEvent extends keyof TEventToArgsMap>(eventType?: null | undefined | TEvent): void;
62
- /**
63
- * Returns the number of registered listeners for the supplied event.
64
- */
65
- listenerCount<TEvent extends keyof TEventToArgsMap>(eventType: TEvent): number;
66
- }
67
- export default EventEmitter;