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,164 +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<<bd1312be1e63496cac333c591c08bf60>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/index.js.flow
11
- */
12
-
13
- /// <reference path="../src/types/globals.d.ts" />
14
-
15
-
16
- export type { ActivityIndicatorProps } from "./Libraries/Components/ActivityIndicator/ActivityIndicator";
17
- export { default as ActivityIndicator } from "./Libraries/Components/ActivityIndicator/ActivityIndicator";
18
- export type { ButtonProps } from "./Libraries/Components/Button";
19
- export { default as Button } from "./Libraries/Components/Button";
20
- export type { DrawerLayoutAndroidProps, DrawerSlideEvent } from "./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid";
21
- export { default as DrawerLayoutAndroid } from "./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid";
22
- export type { FlatListProps } from "./Libraries/Lists/FlatList";
23
- export { default as FlatList } from "./Libraries/Lists/FlatList";
24
- export type { ImageBackgroundProps, ImageErrorEvent, ImageLoadEvent, ImageProgressEventIOS, ImageProps, ImagePropsAndroid, ImagePropsBase, ImagePropsIOS, ImageResolvedAssetSource, ImageSize, ImageSourcePropType } from "./Libraries/Image/Image";
25
- export type { ImageRequireSource, ImageSource, ImageURISource } from "./Libraries/Image/ImageSource";
26
- export { default as Image } from "./Libraries/Image/Image";
27
- export { default as ImageBackground } from "./Libraries/Image/ImageBackground";
28
- export type { InputAccessoryViewProps } from "./Libraries/Components/TextInput/InputAccessoryView";
29
- export { default as InputAccessoryView } from "./Libraries/Components/TextInput/InputAccessoryView";
30
- export type { KeyboardAvoidingViewProps } from "./Libraries/Components/Keyboard/KeyboardAvoidingView";
31
- export { default as KeyboardAvoidingView } from "./Libraries/Components/Keyboard/KeyboardAvoidingView";
32
- export type { LayoutConformanceProps } from "./Libraries/Components/LayoutConformance/LayoutConformance";
33
- export { default as experimental_LayoutConformance } from "./Libraries/Components/LayoutConformance/LayoutConformance";
34
- export type { ModalBaseProps, ModalProps, ModalPropsAndroid, ModalPropsIOS } from "./Libraries/Modal/Modal";
35
- export { default as Modal } from "./Libraries/Modal/Modal";
36
- export type { PressableAndroidRippleConfig, PressableProps, PressableStateCallbackType } from "./Libraries/Components/Pressable/Pressable";
37
- export { default as Pressable } from "./Libraries/Components/Pressable/Pressable";
38
- export type { ProgressBarAndroidProps } from "./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid";
39
- export { default as ProgressBarAndroid } from "./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid";
40
- export type { RefreshControlProps, RefreshControlPropsAndroid, RefreshControlPropsIOS } from "./Libraries/Components/RefreshControl/RefreshControl";
41
- export { default as RefreshControl } from "./Libraries/Components/RefreshControl/RefreshControl";
42
- export { default as SafeAreaView } from "./Libraries/Components/SafeAreaView/SafeAreaView";
43
- export type { ScrollViewImperativeMethods, ScrollViewScrollToOptions, ScrollResponderType, ScrollViewProps, ScrollViewPropsAndroid, ScrollViewPropsIOS } from "./Libraries/Components/ScrollView/ScrollView";
44
- export { default as ScrollView } from "./Libraries/Components/ScrollView/ScrollView";
45
- export type { SectionListProps, SectionListRenderItem, SectionListRenderItemInfo, SectionListData } from "./Libraries/Lists/SectionList";
46
- export { default as SectionList } from "./Libraries/Lists/SectionList";
47
- export type { StatusBarAnimation, StatusBarProps, StatusBarStyle } from "./Libraries/Components/StatusBar/StatusBar";
48
- export { default as StatusBar } from "./Libraries/Components/StatusBar/StatusBar";
49
- export type { SwitchChangeEvent, SwitchProps } from "./Libraries/Components/Switch/Switch";
50
- export { default as Switch } from "./Libraries/Components/Switch/Switch";
51
- export type { TextProps } from "./Libraries/Text/Text";
52
- export { default as Text } from "./Libraries/Text/Text";
53
- export { default as unstable_TextAncestorContext } from "./Libraries/Text/TextAncestorContext";
54
- export type { AutoCapitalize, EnterKeyHintTypeOptions, KeyboardTypeOptions, InputModeOptions, TextContentType, TextInputAndroidProps, TextInputIOSProps, TextInputProps, TextInputChangeEvent, TextInputContentSizeChangeEvent, TextInputEndEditingEvent, TextInputFocusEvent, TextInputKeyPressEvent, TextInputSelectionChangeEvent, TextInputSubmitEditingEvent, ReturnKeyTypeOptions, SubmitBehavior } from "./Libraries/Components/TextInput/TextInput";
55
- export { default as TextInput } from "./Libraries/Components/TextInput/TextInput";
56
- export { default as Touchable } from "./Libraries/Components/Touchable/Touchable";
57
- export type { TouchableHighlightProps } from "./Libraries/Components/Touchable/TouchableHighlight";
58
- export { default as TouchableHighlight } from "./Libraries/Components/Touchable/TouchableHighlight";
59
- export type { TouchableNativeFeedbackProps } from "./Libraries/Components/Touchable/TouchableNativeFeedback";
60
- export { default as TouchableNativeFeedback } from "./Libraries/Components/Touchable/TouchableNativeFeedback";
61
- export type { TouchableOpacityProps } from "./Libraries/Components/Touchable/TouchableOpacity";
62
- export { default as TouchableOpacity } from "./Libraries/Components/Touchable/TouchableOpacity";
63
- export type { TouchableWithoutFeedbackProps } from "./Libraries/Components/Touchable/TouchableWithoutFeedback";
64
- export { default as TouchableWithoutFeedback } from "./Libraries/Components/Touchable/TouchableWithoutFeedback";
65
- export type { AccessibilityActionEvent, AccessibilityProps, AccessibilityRole, AccessibilityState, AccessibilityValue, Role } from "./Libraries/Components/View/ViewAccessibility";
66
- export type { GestureResponderHandlers, TVViewPropsIOS, ViewProps, ViewPropsAndroid, ViewPropsIOS } from "./Libraries/Components/View/ViewPropTypes";
67
- export { default as View } from "./Libraries/Components/View/View";
68
- export type { ListRenderItemInfo, ListRenderItem, Separators, VirtualizedListProps } from "./Libraries/Lists/VirtualizedList";
69
- export { default as VirtualizedList } from "./Libraries/Lists/VirtualizedList";
70
- export type { ScrollToLocationParamsType, SectionBase, VirtualizedSectionListProps } from "./Libraries/Lists/VirtualizedSectionList";
71
- export { default as VirtualizedSectionList } from "./Libraries/Lists/VirtualizedSectionList";
72
- export { default as AccessibilityInfo } from "./Libraries/Components/AccessibilityInfo/AccessibilityInfo";
73
- export type { ActionSheetIOSOptions, ShareActionSheetIOSOptions, ShareActionSheetError } from "./Libraries/ActionSheetIOS/ActionSheetIOS";
74
- export { default as ActionSheetIOS } from "./Libraries/ActionSheetIOS/ActionSheetIOS";
75
- export type { AlertType, AlertButtonStyle, AlertButton, AlertOptions } from "./Libraries/Alert/Alert";
76
- export { default as Alert } from "./Libraries/Alert/Alert";
77
- export { default as Animated } from "./Libraries/Animated/Animated";
78
- export * as Appearance from "./Libraries/Utilities/Appearance";
79
- export type { TaskProvider, ComponentProvider, ComponentProviderInstrumentationHook, AppConfig, Runnable, Runnables, Registry, WrapperComponentProvider, RootViewStyleProvider } from "./Libraries/ReactNative/AppRegistry";
80
- export { AppRegistry } from "./Libraries/ReactNative/AppRegistry";
81
- export type { AppStateStatus, AppStateEvent } from "./Libraries/AppState/AppState";
82
- export { default as AppState } from "./Libraries/AppState/AppState";
83
- export type { BackPressEventName } from "./Libraries/Utilities/BackHandler";
84
- export { default as BackHandler } from "./Libraries/Utilities/BackHandler";
85
- export { default as Clipboard } from "./Libraries/Components/Clipboard/Clipboard";
86
- export { default as codegenNativeComponent } from "./Libraries/Utilities/codegenNativeComponent";
87
- export { default as codegenNativeCommands } from "./Libraries/Utilities/codegenNativeCommands";
88
- export { default as DeviceEventEmitter } from "./Libraries/EventEmitter/RCTDeviceEventEmitter";
89
- export type { DeviceInfoConstants } from "./Libraries/Utilities/DeviceInfo";
90
- export { default as DeviceInfo } from "./Libraries/Utilities/DeviceInfo";
91
- export { default as DevMenu } from "./src/private/devsupport/devmenu/DevMenu";
92
- export { default as DevSettings } from "./Libraries/Utilities/DevSettings";
93
- export type { DimensionsPayload, DisplayMetrics, DisplayMetricsAndroid, ScaledSize } from "./Libraries/Utilities/Dimensions";
94
- export { default as Dimensions } from "./Libraries/Utilities/Dimensions";
95
- export type { DynamicColorIOSTuple } from "./Libraries/StyleSheet/PlatformColorValueTypesIOS";
96
- export { DynamicColorIOS } from "./Libraries/StyleSheet/PlatformColorValueTypesIOS";
97
- export type { EasingFunction } from "./Libraries/Animated/Easing";
98
- export { default as Easing } from "./Libraries/Animated/Easing";
99
- export { findNodeHandle } from "./Libraries/ReactNative/RendererProxy";
100
- export { default as I18nManager } from "./Libraries/ReactNative/I18nManager";
101
- export type { Handle, PromiseTask, SimpleTask } from "./Libraries/Interaction/InteractionManager";
102
- export { default as InteractionManager } from "./Libraries/Interaction/InteractionManager";
103
- export type { AndroidKeyboardEvent, IOSKeyboardEvent, KeyboardEvent, KeyboardEventEasing, KeyboardEventName, KeyboardMetrics } from "./Libraries/Components/Keyboard/Keyboard";
104
- export { default as Keyboard } from "./Libraries/Components/Keyboard/Keyboard";
105
- export type { LayoutAnimationAnim, LayoutAnimationConfig, LayoutAnimationProperties, LayoutAnimationProperty, LayoutAnimationType, LayoutAnimationTypes } from "./Libraries/LayoutAnimation/LayoutAnimation";
106
- export { default as LayoutAnimation } from "./Libraries/LayoutAnimation/LayoutAnimation";
107
- export { default as Linking } from "./Libraries/Linking/Linking";
108
- export type { ExtendedExceptionData, IgnorePattern, LogData } from "./Libraries/LogBox/LogBox";
109
- export { default as LogBox } from "./Libraries/LogBox/LogBox";
110
- export { default as NativeAppEventEmitter } from "./Libraries/EventEmitter/RCTNativeAppEventEmitter";
111
- export { default as NativeDialogManagerAndroid } from "./Libraries/NativeModules/specs/NativeDialogManagerAndroid";
112
- export type { EventSubscription, EmitterSubscription, NativeEventSubscription } from "./Libraries/EventEmitter/NativeEventEmitter";
113
- export { default as NativeEventEmitter } from "./Libraries/EventEmitter/NativeEventEmitter";
114
- export { default as NativeModules } from "./Libraries/BatchedBridge/NativeModules";
115
- export { default as Networking } from "./Libraries/Network/RCTNetworking";
116
- export type { PanResponderCallbacks, PanResponderGestureState, PanResponderInstance } from "./Libraries/Interaction/PanResponder";
117
- export { default as PanResponder } from "./Libraries/Interaction/PanResponder";
118
- export type { Permission, PermissionStatus, Rationale } from "./Libraries/PermissionsAndroid/PermissionsAndroid";
119
- export { default as PermissionsAndroid } from "./Libraries/PermissionsAndroid/PermissionsAndroid";
120
- export { default as PixelRatio } from "./Libraries/Utilities/PixelRatio";
121
- export type { PlatformOSType, PlatformSelectSpec } from "./Libraries/Utilities/PlatformTypes";
122
- export { default as Platform } from "./Libraries/Utilities/Platform";
123
- export { PlatformColor } from "./Libraries/StyleSheet/PlatformColorValueTypes";
124
- export type { PushNotificationEventName, PushNotificationPermissions } from "./Libraries/PushNotificationIOS/PushNotificationIOS";
125
- export { default as PushNotificationIOS } from "./Libraries/PushNotificationIOS/PushNotificationIOS";
126
- export type { ProcessedColorValue } from "./Libraries/StyleSheet/processColor";
127
- export { default as processColor } from "./Libraries/StyleSheet/processColor";
128
- export { default as registerCallableModule } from "./Libraries/Core/registerCallableModule";
129
- export { default as requireNativeComponent } from "./Libraries/ReactNative/requireNativeComponent";
130
- export type { RootTag } from "./Libraries/ReactNative/RootTag";
131
- export { RootTagContext } from "./Libraries/ReactNative/RootTag";
132
- export { default as Settings } from "./Libraries/Settings/Settings";
133
- export type { ShareAction, ShareContent, ShareOptions } from "./Libraries/Share/Share";
134
- export { default as Share } from "./Libraries/Share/Share";
135
- export type { ColorValue, ImageStyle, FilterFunction, FontVariant, NativeColorValue, OpaqueColorValue, StyleProp, TextStyle, TransformsStyle, ViewStyle } from "./Libraries/StyleSheet/StyleSheet";
136
- export type { BoxShadowValue, CursorValue, DimensionValue, DropShadowValue, EdgeInsetsValue, PointValue } from "./Libraries/StyleSheet/StyleSheetTypes";
137
- export type { Insets } from "./Libraries/StyleSheet/Rect";
138
- export { default as StyleSheet } from "./Libraries/StyleSheet/StyleSheet";
139
- export * as Systrace from "./Libraries/Performance/Systrace";
140
- export { default as ToastAndroid } from "./Libraries/Components/ToastAndroid/ToastAndroid";
141
- export * as TurboModuleRegistry from "./Libraries/TurboModule/TurboModuleRegistry";
142
- export { default as UIManager } from "./Libraries/ReactNative/UIManager";
143
- export { unstable_batchedUpdates } from "./Libraries/ReactNative/RendererProxy";
144
- export { default as useAnimatedValue } from "./Libraries/Animated/useAnimatedValue";
145
- export { default as useColorScheme } from "./Libraries/Utilities/useColorScheme";
146
- export { default as useWindowDimensions } from "./Libraries/Utilities/useWindowDimensions";
147
- export { default as UTFSequence } from "./Libraries/UTFSequence";
148
- export { default as Vibration } from "./Libraries/Vibration/Vibration";
149
- export type { BlurEvent, FocusEvent, GestureResponderEvent, LayoutChangeEvent, LayoutRectangle, MouseEvent, PointerEvent, NativeMouseEvent, NativePointerEvent, NativeScrollEvent, NativeSyntheticEvent, NativeTouchEvent, NativeUIEvent, ResponderSyntheticEvent, ScrollEvent, TargetedEvent, TextLayoutEvent } from "./Libraries/Types/CoreEventTypes";
150
- export type { TurboModule } from "./Libraries/TurboModule/RCTExport";
151
- export type * from "./Libraries/Types/CodegenTypesNamespace";
152
- export type { HostInstance, NativeMethods, NativeMethodsMixin, MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallback } from "./src/private/types/HostInstance";
153
- export type { HostComponent } from "./src/private/types/HostComponent";
154
- export type { ColorSchemeName } from "./src/private/specs_DEPRECATED/modules/NativeAppearance";
155
- export type { ErrorUtils } from "./Libraries/vendor/core/ErrorUtils";
156
- export type { PublicRootInstance, PublicTextInstance } from "./Libraries/ReactPrivate/ReactNativePrivateInterface";
157
- export { default as unstable_VirtualView, VirtualViewMode } from "./src/private/components/virtualview/VirtualView";
158
- export type { ModeChangeEvent } from "./src/private/components/virtualview/VirtualView";
159
- export { default as TVEventHandler } from "./Libraries/Components/TV/TVEventHandler";
160
- export { default as TVEventControl } from "./Libraries/Components/TV/TVEventControl";
161
- export { default as TVFocusGuideView } from "./Libraries/Components/TV/TVFocusGuideView";
162
- export type { TVRemoteEvent } from "./Libraries/Types/CoreEventTypes";
163
- export { default as TVTextScrollView } from "./Libraries/Components/TV/TVTextScrollView";
164
- export { default as useTVEventHandler } from "./Libraries/Components/TV/useTVEventHandler";
@@ -1,70 +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<<08834dbcdbbca8cec2826511cddbf0a0>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/components/virtualview/VirtualView.js
11
- */
12
-
13
- import type { ViewStyleProp } from "../../../../Libraries/StyleSheet/StyleSheet";
14
- import type ReadOnlyElement from "../../webapis/dom/nodes/ReadOnlyElement";
15
- import type { NativeModeChangeEvent } from "./VirtualViewNativeComponent";
16
- import VirtualViewNativeComponent from "./VirtualViewNativeComponent";
17
- import * as React from "react";
18
- export declare enum VirtualViewMode {
19
- Visible = 0,
20
- Prerender = 1,
21
- Hidden = 2,
22
- }
23
- export declare namespace VirtualViewMode {
24
- export function cast(value: number | null | undefined): VirtualViewMode;
25
- export function isValid(value: number | null | undefined): value is VirtualViewMode;
26
- export function members(): IterableIterator<VirtualViewMode>;
27
- export function getName(value: VirtualViewMode): string;
28
- }
29
- export declare enum VirtualViewRenderState {
30
- Unknown = 0,
31
- Rendered = 1,
32
- None = 2,
33
- }
34
- export declare namespace VirtualViewRenderState {
35
- export function cast(value: number | null | undefined): VirtualViewRenderState;
36
- export function isValid(value: number | null | undefined): value is VirtualViewRenderState;
37
- export function members(): IterableIterator<VirtualViewRenderState>;
38
- export function getName(value: VirtualViewRenderState): string;
39
- }
40
- export type Rect = Readonly<{
41
- x: number;
42
- y: number;
43
- width: number;
44
- height: number;
45
- }>;
46
- export type ModeChangeEvent = Readonly<Omit<Omit<NativeModeChangeEvent, "mode">, keyof {
47
- mode: VirtualViewMode;
48
- target: ReadOnlyElement;
49
- }> & {
50
- mode: VirtualViewMode;
51
- target: ReadOnlyElement;
52
- }>;
53
- type VirtualViewComponent = (props: {
54
- children?: React.ReactNode;
55
- nativeID?: string;
56
- ref?: null | undefined | React.Ref<React.ComponentRef<typeof VirtualViewNativeComponent>>;
57
- style?: null | undefined | ViewStyleProp;
58
- onModeChange?: (event: ModeChangeEvent) => void;
59
- }) => React.ReactNode;
60
- type HiddenHeight = number;
61
- declare const NotHidden: null;
62
- type State = HiddenHeight | typeof NotHidden;
63
- declare const $$VirtualView: VirtualViewComponent;
64
- declare type $$VirtualView = typeof $$VirtualView;
65
- export default $$VirtualView;
66
- export declare function createHiddenVirtualView(height: number): VirtualViewComponent;
67
- export declare const _logs: {
68
- states?: Array<State>;
69
- };
70
- export declare type _logs = typeof _logs;
@@ -1,97 +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<<fd4b53eaa4f2030d6ee5a7f25aea13f5>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/components/virtualview/VirtualViewNativeComponent.js
11
- */
12
-
13
- import type { ViewProps } from "../../../../Libraries/Components/View/ViewPropTypes";
14
- import type { DirectEventHandler, Double, Int32 } from "../../../../Libraries/Types/CodegenTypes";
15
- import type { HostComponent } from "../../types/HostComponent";
16
- export type NativeModeChangeEvent = Readonly<{
17
- /**
18
- * Virtualization mode of the target view.
19
- *
20
- * - `0`: Target view is visible.
21
- * - `1`: Target view is hidden, but can be prerendered.
22
- * - `2`: Target view is hidden.
23
- *
24
- * WORKAROUND: As of this writing, codegen doesn't support enums, so we need
25
- * to convert `number` into an enum in `VirtualView`.
26
- */
27
- mode: Int32;
28
- /**
29
- * Rect of the target view, relative to the nearest ancestor scroll container.
30
- */
31
- targetRect: Readonly<{
32
- x: Double;
33
- y: Double;
34
- width: Double;
35
- height: Double;
36
- }>;
37
- /**
38
- * Rect of the threshold that determines the mode of the target view, relative
39
- * to the nearest ancestor scroll container.
40
- *
41
- * - `Visible`: Rect in which the target view is visible.
42
- * - `Prerender`: Rect in which the target view is prerendered.
43
- * - `Hidden`: Unused, without any guarantees.
44
- *
45
- * This can be used to determine whether and how much new content to render.
46
- */
47
- thresholdRect: Readonly<{
48
- x: Double;
49
- y: Double;
50
- width: Double;
51
- height: Double;
52
- }>;
53
- }>;
54
- type VirtualViewNativeProps = Readonly<Omit<ViewProps, keyof {
55
- /**
56
- * Whether the initial mode should be `Hidden`.
57
- */
58
- initialHidden?: boolean;
59
- /**
60
- * Render state of children.
61
- *
62
- * - `0`: Reserved to represent unknown future values.
63
- * - `1`: Children are rendered.
64
- * - `2`: Children are not rendered.
65
- *
66
- * WORKAROUND: As of this writing, codegen doesn't support enums, so we need
67
- * to convert `number` into an enum in `VirtualView`.
68
- */
69
- renderState: Int32;
70
- /**
71
- * See `NativeModeChangeEvent`.
72
- */
73
- onModeChange?: DirectEventHandler<NativeModeChangeEvent> | undefined;
74
- }> & {
75
- /**
76
- * Whether the initial mode should be `Hidden`.
77
- */
78
- initialHidden?: boolean;
79
- /**
80
- * Render state of children.
81
- *
82
- * - `0`: Reserved to represent unknown future values.
83
- * - `1`: Children are rendered.
84
- * - `2`: Children are not rendered.
85
- *
86
- * WORKAROUND: As of this writing, codegen doesn't support enums, so we need
87
- * to convert `number` into an enum in `VirtualView`.
88
- */
89
- renderState: Int32;
90
- /**
91
- * See `NativeModeChangeEvent`.
92
- */
93
- onModeChange?: DirectEventHandler<NativeModeChangeEvent> | undefined;
94
- }>;
95
- declare const $$VirtualViewNativeComponent: HostComponent<VirtualViewNativeProps>;
96
- declare type $$VirtualViewNativeComponent = typeof $$VirtualViewNativeComponent;
97
- export default $$VirtualViewNativeComponent;
@@ -1,28 +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<<cb9320bb76b5426c47d8cc1ba7d59cc4>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/devsupport/devmenu/DevMenu.js
11
- */
12
-
13
- /**
14
- * The DevMenu module exposes methods for interacting with the Dev Menu in development.
15
- */
16
- /**
17
- * The DevMenu module exposes methods for interacting with the Dev Menu in development.
18
- */
19
- type DevMenuStatic = {
20
- /**
21
- * Show the Dev Menu.
22
- */
23
- show(): void;
24
- };
25
- declare const DevMenu: DevMenuStatic;
26
- declare const $$DevMenu: typeof DevMenu;
27
- declare type $$DevMenu = typeof $$DevMenu;
28
- export default $$DevMenu;
@@ -1,53 +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<<744203266059e3218a3624a844e40408>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.js
11
- */
12
-
13
- import type { ViewProps } from "../../../../Libraries/Components/View/ViewPropTypes";
14
- import type { ColorValue } from "../../../../Libraries/StyleSheet/StyleSheet";
15
- import type { BubblingEventHandler, Int32, WithDefault } from "../../../../Libraries/Types/CodegenTypes";
16
- import type { HostComponent } from "../../types/HostComponent";
17
- import * as React from "react";
18
- type AndroidSwitchChangeEvent = Readonly<{
19
- value: boolean;
20
- target: Int32;
21
- }>;
22
- type AndroidSwitchNativeProps = Readonly<Omit<ViewProps, keyof {
23
- disabled?: WithDefault<boolean, false>;
24
- enabled?: WithDefault<boolean, true>;
25
- thumbColor?: ColorValue | undefined;
26
- trackColorForFalse?: ColorValue | undefined;
27
- trackColorForTrue?: ColorValue | undefined;
28
- value?: WithDefault<boolean, false>;
29
- on?: WithDefault<boolean, false>;
30
- thumbTintColor?: ColorValue | undefined;
31
- trackTintColor?: ColorValue | undefined;
32
- onChange?: BubblingEventHandler<AndroidSwitchChangeEvent>;
33
- }> & {
34
- disabled?: WithDefault<boolean, false>;
35
- enabled?: WithDefault<boolean, true>;
36
- thumbColor?: ColorValue | undefined;
37
- trackColorForFalse?: ColorValue | undefined;
38
- trackColorForTrue?: ColorValue | undefined;
39
- value?: WithDefault<boolean, false>;
40
- on?: WithDefault<boolean, false>;
41
- thumbTintColor?: ColorValue | undefined;
42
- trackTintColor?: ColorValue | undefined;
43
- onChange?: BubblingEventHandler<AndroidSwitchChangeEvent>;
44
- }>;
45
- type NativeType = HostComponent<AndroidSwitchNativeProps>;
46
- interface NativeCommands {
47
- readonly setNativeValue: (viewRef: React.ComponentRef<NativeType>, value: boolean) => void;
48
- }
49
- export declare const Commands: NativeCommands;
50
- export declare type Commands = typeof Commands;
51
- declare const $$AndroidSwitchNativeComponent: NativeType;
52
- declare type $$AndroidSwitchNativeComponent = typeof $$AndroidSwitchNativeComponent;
53
- export default $$AndroidSwitchNativeComponent;
@@ -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<<673a61d0b2902e51e1cc0f542b2a9c9e>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.js
11
- */
12
-
13
- import type { ViewProps } from "../../../../Libraries/Components/View/ViewPropTypes";
14
- import type { ColorValue } from "../../../../Libraries/StyleSheet/StyleSheet";
15
- import type { Double, WithDefault } from "../../../../Libraries/Types/CodegenTypes";
16
- import type { HostComponent } from "../../types/HostComponent";
17
- type AndroidProgressBarNativeProps = Readonly<Omit<ViewProps, keyof {
18
- styleAttr?: string;
19
- typeAttr?: string;
20
- indeterminate: boolean;
21
- progress?: WithDefault<Double, 0>;
22
- animating?: WithDefault<boolean, true>;
23
- color?: ColorValue | undefined;
24
- testID?: WithDefault<string, "">;
25
- }> & {
26
- styleAttr?: string;
27
- typeAttr?: string;
28
- indeterminate: boolean;
29
- progress?: WithDefault<Double, 0>;
30
- animating?: WithDefault<boolean, true>;
31
- color?: ColorValue | undefined;
32
- testID?: WithDefault<string, "">;
33
- }>;
34
- declare const $$ProgressBarAndroidNativeComponent: HostComponent<AndroidProgressBarNativeProps>;
35
- declare type $$ProgressBarAndroidNativeComponent = typeof $$ProgressBarAndroidNativeComponent;
36
- export default $$ProgressBarAndroidNativeComponent;
@@ -1,51 +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<<750316f22a9730a31f3609f6b33e1d04>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/src/private/specs_DEPRECATED/components/SwitchNativeComponent.js
11
- */
12
-
13
- import type { ViewProps } from "../../../../Libraries/Components/View/ViewPropTypes";
14
- import type { ColorValue } from "../../../../Libraries/StyleSheet/StyleSheet";
15
- import type { BubblingEventHandler, Int32, WithDefault } from "../../../../Libraries/Types/CodegenTypes";
16
- import type { HostComponent } from "../../types/HostComponent";
17
- import * as React from "react";
18
- type NativeSwitchChangeEvent = Readonly<{
19
- value: boolean;
20
- target: Int32;
21
- }>;
22
- type SwitchNativeProps = Readonly<Omit<ViewProps, keyof {
23
- disabled?: WithDefault<boolean, false>;
24
- value?: WithDefault<boolean, false>;
25
- tintColor?: ColorValue | undefined;
26
- onTintColor?: ColorValue | undefined;
27
- thumbTintColor?: ColorValue | undefined;
28
- thumbColor?: ColorValue | undefined;
29
- trackColorForFalse?: ColorValue | undefined;
30
- trackColorForTrue?: ColorValue | undefined;
31
- onChange?: BubblingEventHandler<NativeSwitchChangeEvent> | undefined;
32
- }> & {
33
- disabled?: WithDefault<boolean, false>;
34
- value?: WithDefault<boolean, false>;
35
- tintColor?: ColorValue | undefined;
36
- onTintColor?: ColorValue | undefined;
37
- thumbTintColor?: ColorValue | undefined;
38
- thumbColor?: ColorValue | undefined;
39
- trackColorForFalse?: ColorValue | undefined;
40
- trackColorForTrue?: ColorValue | undefined;
41
- onChange?: BubblingEventHandler<NativeSwitchChangeEvent> | undefined;
42
- }>;
43
- type ComponentType = HostComponent<SwitchNativeProps>;
44
- interface NativeCommands {
45
- readonly setValue: (viewRef: React.ComponentRef<ComponentType>, value: boolean) => void;
46
- }
47
- export declare const Commands: NativeCommands;
48
- export declare type Commands = typeof Commands;
49
- declare const $$SwitchNativeComponent: ComponentType;
50
- declare type $$SwitchNativeComponent = typeof $$SwitchNativeComponent;
51
- export default $$SwitchNativeComponent;
@@ -1,26 +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<<8a177ee1cf268368fee5201f5f321266>>
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/NativeAppearance.js
11
- */
12
-
13
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
14
- export type ColorSchemeName = "light" | "dark" | "unspecified";
15
- export type AppearancePreferences = {
16
- colorScheme?: ColorSchemeName | undefined;
17
- };
18
- export interface Spec extends TurboModule {
19
- readonly getColorScheme: () => ColorSchemeName | undefined;
20
- readonly setColorScheme: (colorScheme: ColorSchemeName) => void;
21
- readonly addListener: (eventName: string) => void;
22
- readonly removeListeners: (count: number) => void;
23
- }
24
- declare const $$NativeAppearance: null | undefined | Spec;
25
- declare type $$NativeAppearance = typeof $$NativeAppearance;
26
- export default $$NativeAppearance;
@@ -1,46 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<f4c1205dba70ea5b3aa138104619d7d4>>
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/NativeDeviceInfo.js
11
- */
12
-
13
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
14
- export type DisplayMetricsAndroid = {
15
- width: number;
16
- height: number;
17
- scale: number;
18
- fontScale: number;
19
- densityDpi: number;
20
- };
21
- export type DisplayMetrics = {
22
- width: number;
23
- height: number;
24
- scale: number;
25
- fontScale: number;
26
- };
27
- export type DimensionsPayload = {
28
- window?: DisplayMetrics;
29
- screen?: DisplayMetrics;
30
- windowPhysicalPixels?: DisplayMetricsAndroid;
31
- screenPhysicalPixels?: DisplayMetricsAndroid;
32
- };
33
- export type DeviceInfoConstants = {
34
- readonly Dimensions: DimensionsPayload;
35
- readonly isEdgeToEdge?: boolean;
36
- readonly isIPhoneX_deprecated?: boolean;
37
- };
38
- export interface Spec extends TurboModule {
39
- readonly getConstants: () => DeviceInfoConstants;
40
- }
41
- declare const NativeDeviceInfo: {
42
- getConstants(): DeviceInfoConstants;
43
- };
44
- declare const $$NativeDeviceInfo: typeof NativeDeviceInfo;
45
- declare type $$NativeDeviceInfo = typeof $$NativeDeviceInfo;
46
- export default $$NativeDeviceInfo;
@@ -1,37 +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<<b96575370eae0e613784f3b8d75a8c52>>
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/NativeDialogManagerAndroid.js
11
- */
12
-
13
- import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
14
- type DialogAction = string;
15
- type DialogButtonKey = number;
16
- export type DialogOptions = {
17
- title?: string;
18
- message?: string;
19
- buttonPositive?: string;
20
- buttonNegative?: string;
21
- buttonNeutral?: string;
22
- items?: Array<string>;
23
- cancelable?: boolean;
24
- };
25
- export interface Spec extends TurboModule {
26
- readonly getConstants: () => {
27
- readonly buttonClicked: DialogAction;
28
- readonly dismissed: DialogAction;
29
- readonly buttonPositive: DialogButtonKey;
30
- readonly buttonNegative: DialogButtonKey;
31
- readonly buttonNeutral: DialogButtonKey;
32
- };
33
- readonly showAlert: (config: DialogOptions, onError: (error: string) => void, onAction: (action: DialogAction, buttonKey?: DialogButtonKey) => void) => void;
34
- }
35
- declare const $$NativeDialogManagerAndroid: null | undefined | Spec;
36
- declare type $$NativeDialogManagerAndroid = typeof $$NativeDialogManagerAndroid;
37
- export default $$NativeDialogManagerAndroid;