react-native-tvos 0.81.3-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 (263) 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 +2 -2
  14. package/React/Base/RCTVersion.m +2 -2
  15. package/ReactAndroid/gradle.properties +1 -1
  16. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +2 -2
  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 +3 -3
  20. package/package.json +8 -8
  21. package/scripts/cocoapods/autolinking.rb +6 -0
  22. package/scripts/cocoapods/codegen_utils.rb +1 -1
  23. package/scripts/codegen/generate-artifacts-executor/index.js +5 -6
  24. package/scripts/codegen/generate-artifacts-executor/utils.js +41 -10
  25. package/sdks/hermesc/osx-bin/hermes +0 -0
  26. package/sdks/hermesc/osx-bin/hermesc +0 -0
  27. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  28. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  29. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  30. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  31. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  32. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  33. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  34. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  35. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  36. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  37. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  38. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  39. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  40. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  41. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  42. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  43. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  44. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  45. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  46. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  47. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  48. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  49. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  50. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  51. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  52. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  53. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  54. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  55. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  56. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  57. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  58. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  59. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  60. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  61. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  62. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  63. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  64. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  65. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  66. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  67. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  68. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  69. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  70. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  71. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  72. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  73. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  74. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  75. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  76. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  77. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  78. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  79. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  80. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  81. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  82. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  83. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  84. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  85. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  86. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  87. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  88. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  89. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  90. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  91. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  92. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  93. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  94. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  95. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  96. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  97. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  98. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  99. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  100. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  101. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  102. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  103. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  104. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  105. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  106. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  107. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  108. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  109. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  110. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  111. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  112. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  113. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  114. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  115. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  116. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  117. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  118. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  119. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  120. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  121. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  122. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  123. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  124. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  125. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  126. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  127. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  128. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  129. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  130. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  131. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  132. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  133. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  134. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  135. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  136. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  137. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  138. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  139. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  140. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  141. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  142. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  143. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  144. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  145. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  146. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  147. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  148. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  149. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  150. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  151. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  152. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  153. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  154. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  155. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  156. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  157. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  158. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  159. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  160. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  161. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  162. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  163. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  164. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  165. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  166. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  167. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  168. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  169. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  170. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  171. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  172. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  173. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  174. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  175. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  176. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  177. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  178. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  179. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  180. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  181. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  182. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  183. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  184. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  185. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  186. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  187. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  188. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  189. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  190. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  191. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  192. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  193. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  194. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  195. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  196. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  197. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  198. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  199. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  200. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  201. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  202. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  203. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  204. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  205. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  206. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  207. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  208. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  209. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  210. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  211. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  212. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  213. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  214. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  215. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  216. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  217. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  218. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  219. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  220. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  221. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  222. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  223. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  224. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  225. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  226. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  227. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  228. package/types_generated/index.d.ts +0 -164
  229. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  230. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  231. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  232. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  233. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  234. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  235. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  236. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  237. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  238. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  239. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  240. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  241. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  242. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  243. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  244. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  245. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  246. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  247. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  248. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  249. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  250. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  251. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  252. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  253. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  254. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  255. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  256. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  257. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  258. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  259. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  260. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  261. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  262. package/types_generated/tsconfig.json +0 -3
  263. package/types_generated/tsconfig.test.json +0 -16
@@ -1,45 +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<<71aa539fcf7b5cafee0f2f1b18cbe25a>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js
11
- */
12
-
13
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
14
- export type StackFrame = {
15
- column: number | undefined;
16
- file: string | undefined;
17
- lineNumber: number | undefined;
18
- methodName: string;
19
- collapse?: boolean;
20
- };
21
- export type ExceptionData = {
22
- message: string;
23
- originalMessage: string | undefined;
24
- name: string | undefined;
25
- componentStack: string | undefined;
26
- stack: Array<StackFrame>;
27
- id: number;
28
- isFatal: boolean;
29
- extraData?: Object;
30
- };
31
- export interface Spec extends TurboModule {
32
- readonly reportFatalException: (message: string, stack: Array<StackFrame>, exceptionId: number) => void;
33
- readonly reportSoftException: (message: string, stack: Array<StackFrame>, exceptionId: number) => void;
34
- readonly reportException?: (data: ExceptionData) => void;
35
- readonly dismissRedbox?: () => void;
36
- }
37
- declare const ExceptionsManager: {
38
- reportFatalException(message: string, stack: Array<StackFrame>, exceptionId: number): void;
39
- reportSoftException(message: string, stack: Array<StackFrame>, exceptionId: number): void;
40
- dismissRedbox(): void;
41
- reportException(data: ExceptionData): void;
42
- };
43
- declare const $$NativeExceptionsManager: typeof ExceptionsManager;
44
- declare type $$NativeExceptionsManager = typeof $$NativeExceptionsManager;
45
- export default $$NativeExceptionsManager;
@@ -1,27 +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<<5bedcfb790a3ba679e988e7b2e122d79>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeI18nManager.js
11
- */
12
-
13
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
14
- export type I18nManagerConstants = {
15
- doLeftAndRightSwapInRTL: boolean;
16
- isRTL: boolean;
17
- localeIdentifier?: string | undefined;
18
- };
19
- export interface Spec extends TurboModule {
20
- readonly getConstants: () => I18nManagerConstants;
21
- allowRTL: (allowRTL: boolean) => void;
22
- forceRTL: (forceRTL: boolean) => void;
23
- swapLeftAndRightInRTL: (flipStyles: boolean) => void;
24
- }
25
- declare const $$NativeI18nManager: null | undefined | Spec;
26
- declare type $$NativeI18nManager = typeof $$NativeI18nManager;
27
- export default $$NativeI18nManager;
@@ -1,109 +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<<ed457254f527a67f23250f81d745967a>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeUIManager.js
11
- */
12
-
13
- import type { RootTag } from "../../../../Libraries/TurboModule/RCTExport";
14
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
15
- export type NativeMeasureOnSuccessCallback = (x: number, y: number, width: number, height: number, pageX: number, pageY: number) => void;
16
- export type NativeMeasureInWindowOnSuccessCallback = (x: number, y: number, width: number, height: number) => void;
17
- export type NativeMeasureLayoutOnSuccessCallback = (left: number, top: number, width: number, height: number) => void;
18
- export interface Spec extends TurboModule {
19
- readonly getConstants: () => Object;
20
- readonly createView: (reactTag: number, viewName: string, rootTag: RootTag, props: Object) => void;
21
- readonly updateView: (reactTag: number, viewName: string, props: Object) => void;
22
- readonly findSubviewIn: (reactTag: number, point: Array<number>, callback: (nativeViewTag: number, left: number, top: number, width: number, height: number) => void) => void;
23
- /**
24
- * Used to call a native view method from JavaScript
25
- *
26
- * reactTag - Id of react view.
27
- * commandID - Id of the native method that should be called.
28
- * commandArgs - Args of the native method that we can pass from JS to native.
29
- */
30
- readonly dispatchViewManagerCommand: (reactTag: number, commandID: number, commandArgs?: Array<any>) => void;
31
- /**
32
- * Determines the location on screen, width, and height of the given view and
33
- * returns the values via an async callback. If successful, the callback will
34
- * be called with the following arguments:
35
- *
36
- * - x
37
- * - y
38
- * - width
39
- * - height
40
- * - pageX
41
- * - pageY
42
- *
43
- * Note that these measurements are not available until after the rendering
44
- * has been completed in native. If you need the measurements as soon as
45
- * possible, consider using the [`onLayout`
46
- * prop](docs/view.html#onlayout) instead.
47
- *
48
- * @deprecated Use `ref.measure` instead.
49
- */
50
- readonly measure: (reactTag: number, callback: NativeMeasureOnSuccessCallback) => void;
51
- /**
52
- * Determines the location of the given view in the window and returns the
53
- * values via an async callback. If the React root view is embedded in
54
- * another native view, this will give you the absolute coordinates. If
55
- * successful, the callback will be called with the following
56
- * arguments:
57
- *
58
- * - x
59
- * - y
60
- * - width
61
- * - height
62
- *
63
- * Note that these measurements are not available until after the rendering
64
- * has been completed in native.
65
- *
66
- * @deprecated Use `ref.measureInWindow` instead.
67
- */
68
- readonly measureInWindow: (reactTag: number, callback: NativeMeasureInWindowOnSuccessCallback) => void;
69
- readonly viewIsDescendantOf: (reactTag: number, ancestorReactTag: number, callback: (result: Array<boolean>) => void) => void;
70
- /**
71
- * Like [`measure()`](#measure), but measures the view relative an ancestor,
72
- * specified as `relativeToNativeNode`. This means that the returned x, y
73
- * are relative to the origin x, y of the ancestor view.
74
- *
75
- * As always, to obtain a native node handle for a component, you can use
76
- * `React.findNodeHandle(component)`.
77
- *
78
- * @deprecated Use `ref.measureLayout` instead.
79
- */
80
- readonly measureLayout: (reactTag: number, ancestorReactTag: number, errorCallback: (error: Object) => void, callback: NativeMeasureLayoutOnSuccessCallback) => void;
81
- readonly measureLayoutRelativeToParent: (reactTag: number, errorCallback: (error: Object) => void, callback: (left: number, top: number, width: number, height: number) => void) => void;
82
- readonly setJSResponder: (reactTag: number, blockNativeResponder: boolean) => void;
83
- readonly clearJSResponder: () => void;
84
- readonly configureNextLayoutAnimation: (config: Object, callback: () => void, errorCallback: (error: Object) => void) => void;
85
- readonly setChildren: (containerTag: number, reactTags: Array<number>) => void;
86
- readonly manageChildren: (containerTag: number, moveFromIndices: Array<number>, moveToIndices: Array<number>, addChildReactTags: Array<number>, addAtIndices: Array<number>, removeAtIndices: Array<number>) => void;
87
- readonly getConstantsForViewManager?: (viewManagerName: string) => Object | undefined;
88
- readonly getDefaultEventTypes?: () => Array<string>;
89
- /**
90
- * Automatically animates views to their new positions when the
91
- * next layout happens.
92
- *
93
- * A common way to use this API is to call it before calling `setState`.
94
- *
95
- * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:
96
- *
97
- * ```js
98
- * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
99
- * ```
100
- */
101
- readonly setLayoutAnimationEnabledExperimental?: (enabled: boolean) => void;
102
- readonly sendAccessibilityEvent?: (reactTag: number, eventType: number) => void;
103
- readonly lazilyLoadView?: (name: string) => Object;
104
- readonly focus?: (reactTag: number) => void;
105
- readonly blur?: (reactTag: number) => void;
106
- }
107
- declare const $$NativeUIManager: Spec;
108
- declare type $$NativeUIManager = typeof $$NativeUIManager;
109
- export default $$NativeUIManager;
@@ -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<<2c8f3a5262f3ff4a901b28ef562e01f4>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/styles/composeStyles.js
11
- */
12
-
13
- /**
14
- * Combines two styles such that `style2` will override any styles in `style1`.
15
- * If either style is null or undefined, the other one is returned without
16
- * allocating an array, saving allocations and enabling memoization.
17
- */
18
- declare function composeStyles<T, U extends T, V extends T>(style1: null | undefined | U, style2: null | undefined | V): null | undefined | (T | ReadonlyArray<T>);
19
- export default composeStyles;
@@ -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<<0b2a6d687e11aad156edcfdb6d4d0329>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/types/HostComponent.js
11
- */
12
-
13
- import * as React from "react";
14
- import type { HostInstance } from "./HostInstance";
15
- export type HostComponent<Config extends {}> = (props: Omit<Config, keyof {
16
- ref?: React.Ref<HostInstance>;
17
- }> & {
18
- ref?: React.Ref<HostInstance>;
19
- }) => React.ReactNode;
@@ -1,91 +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<<16de35c8b0b18d501293b84de6644795>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/types/HostInstance.js
11
- */
12
-
13
- export type MeasureOnSuccessCallback = (x: number, y: number, width: number, height: number, pageX: number, pageY: number) => void;
14
- export type MeasureInWindowOnSuccessCallback = (x: number, y: number, width: number, height: number) => void;
15
- export type MeasureLayoutOnSuccessCallback = (left: number, top: number, width: number, height: number) => void;
16
- /**
17
- * NativeMethods provides methods to access the underlying native component directly.
18
- * This can be useful in cases when you want to focus a view or measure its on-screen dimensions,
19
- * for example.
20
- * The methods described here are available on most of the default components provided by React Native.
21
- * Note, however, that they are not available on composite components that aren't directly backed by a
22
- * native view. This will generally include most components that you define in your own app.
23
- * For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
24
- * @see https://github.com/facebook/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
25
- */
26
- export interface LegacyHostInstanceMethods {
27
- /**
28
- * Removes focus from an input or view. This is the opposite of `focus()`.
29
- */
30
- blur(): void;
31
- /**
32
- * Requests focus for the given input or view. The exact behavior triggered
33
- * will depend on the platform and type of view.
34
- */
35
- focus(): void;
36
- /**
37
- * Determines the location on screen, width, and height of the given view and
38
- * returns the values via an async callback. If successful, the callback will
39
- * be called with the following arguments:
40
- *
41
- * - x
42
- * - y
43
- * - width
44
- * - height
45
- * - pageX
46
- * - pageY
47
- *
48
- * Note that these measurements are not available until after the rendering
49
- * has been completed in native. If you need the measurements as soon as
50
- * possible, consider using the [`onLayout`
51
- * prop](docs/view.html#onlayout) instead.
52
- */
53
- measure(callback: MeasureOnSuccessCallback): void;
54
- /**
55
- * Determines the location of the given view in the window and returns the
56
- * values via an async callback. If the React root view is embedded in
57
- * another native view, this will give you the absolute coordinates. If
58
- * successful, the callback will be called with the following
59
- * arguments:
60
- *
61
- * - x
62
- * - y
63
- * - width
64
- * - height
65
- *
66
- * Note that these measurements are not available until after the rendering
67
- * has been completed in native.
68
- */
69
- measureInWindow(callback: MeasureInWindowOnSuccessCallback): void;
70
- /**
71
- * Like [`measure()`](#measure), but measures the view relative an ancestor,
72
- * specified as `relativeToNativeComponentRef`. This means that the returned x, y
73
- * are relative to the origin x, y of the ancestor view.
74
- * _Can also be called with a relativeNativeNodeHandle but is deprecated._
75
- */
76
- measureLayout(relativeToNativeNode: number | HostInstance, onSuccess: MeasureLayoutOnSuccessCallback, onFail?: () => void): void;
77
- /**
78
- * This function sends props straight to native. They will not participate in
79
- * future diff process - this means that if you do not include them in the
80
- * next render, they will remain active (see [Direct
81
- * Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture)).
82
- */
83
- setNativeProps(nativeProps: {}): void;
84
- }
85
- export type HostInstance = LegacyHostInstanceMethods;
86
- /** @deprecated Use HostInstance instead */
87
- export type NativeMethods = LegacyHostInstanceMethods;
88
- /**
89
- * @deprecated Use HostInstance instead.
90
- */
91
- export type NativeMethodsMixin = LegacyHostInstanceMethods;
@@ -1,27 +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<<73ce53e21065c790b21b91c0f6befcb8>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/events/CustomEvent.js
11
- */
12
-
13
- /**
14
- * This module implements the `CustomEvent` interface from the DOM.
15
- * See https://dom.spec.whatwg.org/#interface-customevent.
16
- */
17
-
18
- import type { EventInit } from "./Event";
19
- import Event from "./Event";
20
- export interface CustomEventInit extends EventInit {
21
- readonly detail?: unknown;
22
- }
23
- declare class CustomEvent extends Event {
24
- constructor(type: string, options?: null | undefined | CustomEventInit);
25
- get detail(): unknown;
26
- }
27
- export default CustomEvent;
@@ -1,58 +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<<87e86237e28388324d355f285655486f>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/events/Event.js
11
- */
12
-
13
- /**
14
- * This module implements the `Event` interface from the DOM.
15
- * See https://dom.spec.whatwg.org/#interface-event.
16
- */
17
-
18
- import type EventTarget from "./EventTarget";
19
- export interface EventInit {
20
- readonly bubbles?: boolean;
21
- readonly cancelable?: boolean;
22
- readonly composed?: boolean;
23
- }
24
- declare class Event {
25
- static readonly NONE: 0;
26
- static readonly CAPTURING_PHASE: 1;
27
- static readonly AT_TARGET: 2;
28
- static readonly BUBBLING_PHASE: 3;
29
- readonly NONE: 0;
30
- readonly CAPTURING_PHASE: 1;
31
- readonly AT_TARGET: 2;
32
- readonly BUBBLING_PHASE: 3;
33
- COMPOSED_PATH_KEY: boolean;
34
- CURRENT_TARGET_KEY: EventTarget | null;
35
- EVENT_PHASE_KEY: boolean;
36
- IN_PASSIVE_LISTENER_FLAG_KEY: boolean;
37
- IS_TRUSTED_KEY: boolean;
38
- STOP_IMMEDIATE_PROPAGATION_FLAG_KEY: boolean;
39
- STOP_PROPAGATION_FLAG_KEY: boolean;
40
- TARGET_KEY: EventTarget | null;
41
- constructor(type: string, options?: null | undefined | EventInit);
42
- get bubbles(): boolean;
43
- get cancelable(): boolean;
44
- get composed(): boolean;
45
- get currentTarget(): EventTarget | null;
46
- get defaultPrevented(): boolean;
47
- get eventPhase(): EventPhase;
48
- get isTrusted(): boolean;
49
- get target(): EventTarget | null;
50
- get timeStamp(): number;
51
- get type(): string;
52
- composedPath(): ReadonlyArray<EventTarget>;
53
- preventDefault(): void;
54
- stopImmediatePropagation(): void;
55
- stopPropagation(): void;
56
- }
57
- export default Event;
58
- export type EventPhase = (typeof Event)["NONE"] | (typeof Event)["CAPTURING_PHASE"] | (typeof Event)["AT_TARGET"] | (typeof Event)["BUBBLING_PHASE"];
@@ -1,48 +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<<edfadc37a06ca0f0f17e5080293af01a>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/events/EventTarget.js
11
- */
12
-
13
- import Event from "./Event";
14
- export type EventCallback = (event: Event) => void;
15
- export type EventHandler = {
16
- handleEvent(event: Event): void;
17
- };
18
- export type EventListener = EventCallback | EventHandler;
19
- export type EventListenerOptions = Readonly<{
20
- capture?: boolean;
21
- }>;
22
- export type AddEventListenerOptions = Readonly<Omit<EventListenerOptions, keyof {
23
- passive?: boolean;
24
- once?: boolean;
25
- signal?: AbortSignal;
26
- }> & {
27
- passive?: boolean;
28
- once?: boolean;
29
- signal?: AbortSignal;
30
- }>;
31
- declare class EventTarget {
32
- addEventListener(type: string, callback: EventListener | null, optionsOrUseCapture?: AddEventListenerOptions | boolean): void;
33
- removeEventListener(type: string, callback: EventListener, optionsOrUseCapture?: EventListenerOptions | boolean): void;
34
- dispatchEvent(event: Event): boolean;
35
- /**
36
- * This a "protected" method to be overridden by a subclass to allow event
37
- * propagation.
38
- *
39
- * Should implement the "get the parent" algorithm
40
- * (see https://dom.spec.whatwg.org/#get-the-parent).
41
- */
42
- EVENT_TARGET_GET_THE_PARENT_KEY(): EventTarget | null;
43
- /**
44
- * This is "protected" method to dispatch trusted events.
45
- */
46
- INTERNAL_DISPATCH_METHOD_KEY(event: Event): void;
47
- }
48
- export default EventTarget;
@@ -1,32 +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<<d5ec67f17a62b00a11959479b7c7c7de>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/nodes/ReactNativeDocument.js
11
- */
12
-
13
- import type { RootTag } from "../../../../../Libraries/ReactNative/RootTag";
14
- import type HTMLCollection from "../oldstylecollections/HTMLCollection";
15
- import type { ReactNativeDocumentInstanceHandle } from "./internals/ReactNativeDocumentInstanceHandle";
16
- import type ReadOnlyElement from "./ReadOnlyElement";
17
- import ReactNativeElement from "./ReactNativeElement";
18
- import ReadOnlyNode from "./ReadOnlyNode";
19
- declare class ReactNativeDocument extends ReadOnlyNode {
20
- constructor(rootTag: RootTag, instanceHandle: ReactNativeDocumentInstanceHandle);
21
- get childElementCount(): number;
22
- get children(): HTMLCollection<ReadOnlyElement>;
23
- get documentElement(): ReactNativeElement;
24
- get firstElementChild(): ReadOnlyElement | null;
25
- get lastElementChild(): ReadOnlyElement | null;
26
- get nodeName(): string;
27
- get nodeType(): number;
28
- get nodeValue(): null;
29
- get textContent(): null;
30
- }
31
- export default ReactNativeDocument;
32
- export declare function createReactNativeDocument(rootTag: RootTag): ReactNativeDocument;
@@ -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<<c84e4fae3550c41655c5967750fee0f0>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/nodes/ReactNativeElement.js
11
- */
12
-
13
- import type { ViewConfig } from "../../../../../Libraries/Renderer/shims/ReactNativeTypes";
14
- import type { HostInstance, MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallback, NativeMethods } from "../../../types/HostInstance";
15
- import type { InstanceHandle } from "./internals/NodeInternals";
16
- import type ReactNativeDocument from "./ReactNativeDocument";
17
- import ReadOnlyElement from "./ReadOnlyElement";
18
- declare class ReactNativeElement extends ReadOnlyElement implements NativeMethods {
19
- constructor(tag: number, viewConfig: ViewConfig, instanceHandle: InstanceHandle, ownerDocument: ReactNativeDocument);
20
- get offsetHeight(): number;
21
- get offsetLeft(): number;
22
- get offsetParent(): ReadOnlyElement | null;
23
- get offsetTop(): number;
24
- get offsetWidth(): number;
25
- /**
26
- * React Native compatibility methods
27
- */
28
-
29
- blur(): void;
30
- focus(): void;
31
- measure(callback: MeasureOnSuccessCallback): void;
32
- measureInWindow(callback: MeasureInWindowOnSuccessCallback): void;
33
- measureLayout(relativeToNativeNode: number | HostInstance, onSuccess: MeasureLayoutOnSuccessCallback, onFail?: () => void): void;
34
- setNativeProps(nativeProps: {}): void;
35
- }
36
- export default ReactNativeElement;
@@ -1,30 +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<<8dc575164f2fa359f14313300c2115ba>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/nodes/ReadOnlyCharacterData.js
11
- */
12
-
13
- import type ReadOnlyElement from "./ReadOnlyElement";
14
- import ReadOnlyNode from "./ReadOnlyNode";
15
- declare class ReadOnlyCharacterData extends ReadOnlyNode {
16
- get nextElementSibling(): ReadOnlyElement | null;
17
- get previousElementSibling(): ReadOnlyElement | null;
18
- get data(): string;
19
- get length(): number;
20
- /**
21
- * @override
22
- */
23
- get textContent(): string;
24
- /**
25
- * @override
26
- */
27
- get nodeValue(): string;
28
- substringData(offset: number, count: number): string;
29
- }
30
- export default ReadOnlyCharacterData;
@@ -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<<40873fc101e83072c94b05d36069dede>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/webapis/dom/nodes/ReadOnlyElement.js
11
- */
12
-
13
- import type HTMLCollection from "../oldstylecollections/HTMLCollection";
14
- import DOMRect from "../../geometry/DOMRect";
15
- import ReadOnlyNode from "./ReadOnlyNode";
16
- declare class ReadOnlyElement extends ReadOnlyNode {
17
- get childElementCount(): number;
18
- get children(): HTMLCollection<ReadOnlyElement>;
19
- get clientHeight(): number;
20
- get clientLeft(): number;
21
- get clientTop(): number;
22
- get clientWidth(): number;
23
- get firstElementChild(): ReadOnlyElement | null;
24
- get id(): string;
25
- get lastElementChild(): ReadOnlyElement | null;
26
- get nextElementSibling(): ReadOnlyElement | null;
27
- get nodeName(): string;
28
- get nodeType(): number;
29
- get nodeValue(): string | null;
30
- set nodeValue(value: string);
31
- get previousElementSibling(): ReadOnlyElement | null;
32
- get scrollHeight(): number;
33
- get scrollLeft(): number;
34
- get scrollTop(): number;
35
- get scrollWidth(): number;
36
- get tagName(): string;
37
- get textContent(): string;
38
- getBoundingClientRect(): DOMRect;
39
- /**
40
- * Pointer Capture APIs
41
- */
42
- hasPointerCapture(pointerId: number): boolean;
43
- setPointerCapture(pointerId: number): void;
44
- releasePointerCapture(pointerId: number): void;
45
- }
46
- export default ReadOnlyElement;
47
- /**
48
- * The public API for `getBoundingClientRect` always includes transform,
49
- * so we use this internal version to get the data without transform to
50
- * implement methods like `offsetWidth` and `offsetHeight`.
51
- */
52
- export declare function getBoundingClientRect(element: ReadOnlyElement, $$PARAM_1$$: {
53
- includeTransform: boolean;
54
- }): DOMRect;