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,228 +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<<a9aee869154894b1a7e374c02786b866>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js
11
- */
12
-
13
- import type { TouchableWithoutFeedbackProps } from "./TouchableWithoutFeedback";
14
- import Pressability from "../../Pressability/Pressability";
15
- import * as React from "react";
16
- type TouchableNativeFeedbackTVProps = {
17
- /**
18
- * *(Apple TV only)* TV preferred focus (see documentation for the View component).
19
- *
20
- * @platform ios
21
- * @deprecated Use `focusable` instead
22
- */
23
- hasTVPreferredFocus?: boolean | undefined;
24
- /**
25
- * Designates the next view to receive focus when the user navigates down. See the Android documentation.
26
- *
27
- * @platform android
28
- */
29
- nextFocusDown?: number | undefined;
30
- /**
31
- * Designates the next view to receive focus when the user navigates forward. See the Android documentation.
32
- *
33
- * @platform android
34
- */
35
- nextFocusForward?: number | undefined;
36
- /**
37
- * Designates the next view to receive focus when the user navigates left. See the Android documentation.
38
- *
39
- * @platform android
40
- */
41
- nextFocusLeft?: number | undefined;
42
- /**
43
- * Designates the next view to receive focus when the user navigates right. See the Android documentation.
44
- *
45
- * @platform android
46
- */
47
- nextFocusRight?: number | undefined;
48
- /**
49
- * Designates the next view to receive focus when the user navigates up. See the Android documentation.
50
- *
51
- * @platform android
52
- */
53
- nextFocusUp?: number | undefined;
54
- };
55
- export type TouchableNativeFeedbackProps = Readonly<Omit<TouchableWithoutFeedbackProps, keyof TouchableNativeFeedbackTVProps | keyof {
56
- /**
57
- * Determines the type of background drawable that's going to be used to display feedback.
58
- * It takes an object with type property and extra data depending on the type.
59
- * It's recommended to use one of the following static methods to generate that dictionary:
60
- * 1) TouchableNativeFeedback.SelectableBackground() - will create object that represents android theme's
61
- * default background for selectable elements (?android:attr/selectableItemBackground)
62
- * 2) TouchableNativeFeedback.SelectableBackgroundBorderless() - will create object that represent android
63
- * theme's default background for borderless selectable elements
64
- * (?android:attr/selectableItemBackgroundBorderless). Available on android API level 21+
65
- * 3) TouchableNativeFeedback.Ripple(color, borderless) - will create object that represents ripple drawable
66
- * with specified color (as a string). If property borderless evaluates to true the ripple will render
67
- * outside of the view bounds (see native actionbar buttons as an example of that behavior). This background
68
- * type is available on Android API level 21+
69
- */
70
- background?: (Readonly<{
71
- type: "ThemeAttrAndroid";
72
- attribute: "selectableItemBackground" | "selectableItemBackgroundBorderless";
73
- rippleRadius: number | undefined;
74
- }> | Readonly<{
75
- type: "RippleAndroid";
76
- color: number | undefined;
77
- borderless: boolean;
78
- rippleRadius: number | undefined;
79
- }>) | undefined;
80
- /**
81
- * Set to true to add the ripple effect to the foreground of the view, instead
82
- * of the background. This is useful if one of your child views has a
83
- * background of its own, or you're e.g. displaying images, and you don't want
84
- * the ripple to be covered by them.
85
- *
86
- * Check TouchableNativeFeedback.canUseNativeForeground() first, as this is
87
- * only available on Android 6.0 and above. If you try to use this on older
88
- * versions, this will fallback to background.
89
- */
90
- useForeground?: boolean | undefined;
91
- }> & Omit<TouchableNativeFeedbackTVProps, keyof {
92
- /**
93
- * Determines the type of background drawable that's going to be used to display feedback.
94
- * It takes an object with type property and extra data depending on the type.
95
- * It's recommended to use one of the following static methods to generate that dictionary:
96
- * 1) TouchableNativeFeedback.SelectableBackground() - will create object that represents android theme's
97
- * default background for selectable elements (?android:attr/selectableItemBackground)
98
- * 2) TouchableNativeFeedback.SelectableBackgroundBorderless() - will create object that represent android
99
- * theme's default background for borderless selectable elements
100
- * (?android:attr/selectableItemBackgroundBorderless). Available on android API level 21+
101
- * 3) TouchableNativeFeedback.Ripple(color, borderless) - will create object that represents ripple drawable
102
- * with specified color (as a string). If property borderless evaluates to true the ripple will render
103
- * outside of the view bounds (see native actionbar buttons as an example of that behavior). This background
104
- * type is available on Android API level 21+
105
- */
106
- background?: (Readonly<{
107
- type: "ThemeAttrAndroid";
108
- attribute: "selectableItemBackground" | "selectableItemBackgroundBorderless";
109
- rippleRadius: number | undefined;
110
- }> | Readonly<{
111
- type: "RippleAndroid";
112
- color: number | undefined;
113
- borderless: boolean;
114
- rippleRadius: number | undefined;
115
- }>) | undefined;
116
- /**
117
- * Set to true to add the ripple effect to the foreground of the view, instead
118
- * of the background. This is useful if one of your child views has a
119
- * background of its own, or you're e.g. displaying images, and you don't want
120
- * the ripple to be covered by them.
121
- *
122
- * Check TouchableNativeFeedback.canUseNativeForeground() first, as this is
123
- * only available on Android 6.0 and above. If you try to use this on older
124
- * versions, this will fallback to background.
125
- */
126
- useForeground?: boolean | undefined;
127
- }> & {
128
- /**
129
- * Determines the type of background drawable that's going to be used to display feedback.
130
- * It takes an object with type property and extra data depending on the type.
131
- * It's recommended to use one of the following static methods to generate that dictionary:
132
- * 1) TouchableNativeFeedback.SelectableBackground() - will create object that represents android theme's
133
- * default background for selectable elements (?android:attr/selectableItemBackground)
134
- * 2) TouchableNativeFeedback.SelectableBackgroundBorderless() - will create object that represent android
135
- * theme's default background for borderless selectable elements
136
- * (?android:attr/selectableItemBackgroundBorderless). Available on android API level 21+
137
- * 3) TouchableNativeFeedback.Ripple(color, borderless) - will create object that represents ripple drawable
138
- * with specified color (as a string). If property borderless evaluates to true the ripple will render
139
- * outside of the view bounds (see native actionbar buttons as an example of that behavior). This background
140
- * type is available on Android API level 21+
141
- */
142
- background?: (Readonly<{
143
- type: "ThemeAttrAndroid";
144
- attribute: "selectableItemBackground" | "selectableItemBackgroundBorderless";
145
- rippleRadius: number | undefined;
146
- }> | Readonly<{
147
- type: "RippleAndroid";
148
- color: number | undefined;
149
- borderless: boolean;
150
- rippleRadius: number | undefined;
151
- }>) | undefined;
152
- /**
153
- * Set to true to add the ripple effect to the foreground of the view, instead
154
- * of the background. This is useful if one of your child views has a
155
- * background of its own, or you're e.g. displaying images, and you don't want
156
- * the ripple to be covered by them.
157
- *
158
- * Check TouchableNativeFeedback.canUseNativeForeground() first, as this is
159
- * only available on Android 6.0 and above. If you try to use this on older
160
- * versions, this will fallback to background.
161
- */
162
- useForeground?: boolean | undefined;
163
- }>;
164
- type TouchableNativeFeedbackState = Readonly<{
165
- pressability: Pressability;
166
- }>;
167
- /**
168
- * A wrapper for making views respond properly to touches (Android only).
169
- * On Android this component uses native state drawable to display touch feedback.
170
- * At the moment it only supports having a single View instance as a child node,
171
- * as it's implemented by replacing that View with another instance of RCTView node with some additional properties set.
172
- *
173
- * Background drawable of native feedback touchable can be customized with background property.
174
- *
175
- * @see https://reactnative.dev/docs/touchablenativefeedback#content
176
- */
177
- declare class TouchableNativeFeedback extends React.Component<TouchableNativeFeedbackProps, TouchableNativeFeedbackState> {
178
- /**
179
- * Creates an object that represents android theme's default background for
180
- * selectable elements (?android:attr/selectableItemBackground).
181
- *
182
- * @param rippleRadius The radius of ripple effect
183
- */
184
- static SelectableBackground: (rippleRadius?: null | undefined | number) => Readonly<{
185
- attribute: "selectableItemBackground";
186
- type: "ThemeAttrAndroid";
187
- rippleRadius: number | undefined;
188
- }>;
189
- /**
190
- * Creates an object that represent android theme's default background for borderless
191
- * selectable elements (?android:attr/selectableItemBackgroundBorderless).
192
- * Available on android API level 21+.
193
- *
194
- * @param rippleRadius The radius of ripple effect
195
- */
196
- static SelectableBackgroundBorderless: (rippleRadius?: null | undefined | number) => Readonly<{
197
- attribute: "selectableItemBackgroundBorderless";
198
- type: "ThemeAttrAndroid";
199
- rippleRadius: number | undefined;
200
- }>;
201
- /**
202
- * Creates an object that represents ripple drawable with specified color (as a
203
- * string). If property `borderless` evaluates to true the ripple will
204
- * render outside of the view bounds (see native actionbar buttons as an
205
- * example of that behavior). This background type is available on Android
206
- * API level 21+.
207
- *
208
- * @param color The ripple color
209
- * @param borderless If the ripple can render outside it's bounds
210
- * @param rippleRadius The radius of ripple effect
211
- */
212
- static Ripple: (color: string, borderless: boolean, rippleRadius?: null | undefined | number) => Readonly<{
213
- borderless: boolean;
214
- color: number | undefined;
215
- rippleRadius: number | undefined;
216
- type: "RippleAndroid";
217
- }>;
218
- /**
219
- * Whether `useForeground` is supported.
220
- */
221
- static canUseNativeForeground: () => boolean;
222
- state: TouchableNativeFeedbackState;
223
- render(): React.ReactNode;
224
- componentDidUpdate(prevProps: TouchableNativeFeedbackProps, prevState: TouchableNativeFeedbackState): void;
225
- componentDidMount(): unknown;
226
- componentWillUnmount(): void;
227
- }
228
- export default TouchableNativeFeedback;
@@ -1,76 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<58efec34c149b55e94ce9e11e0041b1f>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js
11
- */
12
-
13
- import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
14
- import type { TVParallaxPropertiesType } from "../TV/TVViewPropTypes";
15
- import type { TouchableWithoutFeedbackProps } from "./TouchableWithoutFeedback";
16
- import Animated from "../../Animated/Animated";
17
- import * as React from "react";
18
- export type TouchableOpacityTVProps = Readonly<{
19
- /**
20
- * *(Apple TV only)* TV preferred focus (see documentation for the View component).
21
- *
22
- * @platform ios
23
- * @deprecated Use `focusable` instead
24
- */
25
- hasTVPreferredFocus?: boolean | undefined;
26
- isTVSelectable?: boolean | undefined;
27
- tvParallaxProperties?: TVParallaxPropertiesType;
28
- /**
29
- * Designates the next view to receive focus when the user navigates down. See the Android documentation.
30
- *
31
- * @platform android
32
- */
33
- nextFocusDown?: number | undefined;
34
- /**
35
- * Designates the next view to receive focus when the user navigates forward. See the Android documentation.
36
- *
37
- * @platform android
38
- */
39
- nextFocusForward?: number | undefined;
40
- /**
41
- * Designates the next view to receive focus when the user navigates left. See the Android documentation.
42
- *
43
- * @platform android
44
- */
45
- nextFocusLeft?: number | undefined;
46
- /**
47
- * Designates the next view to receive focus when the user navigates right. See the Android documentation.
48
- *
49
- * @platform android
50
- */
51
- nextFocusRight?: number | undefined;
52
- /**
53
- * Designates the next view to receive focus when the user navigates up. See the Android documentation.
54
- *
55
- * @platform android
56
- */
57
- nextFocusUp?: number | undefined;
58
- }>;
59
- type TouchableOpacityBaseProps = Readonly<{
60
- /**
61
- * Determines what the opacity of the wrapped view should be when touch is active.
62
- * Defaults to 0.2
63
- */
64
- activeOpacity?: number | undefined;
65
- style?: Animated.WithAnimatedValue<ViewStyleProp> | undefined;
66
- hostRef?: React.Ref<React.ComponentRef<typeof Animated.View>> | undefined;
67
- }>;
68
- export type TouchableOpacityProps = Readonly<Omit<TouchableWithoutFeedbackProps, keyof TouchableOpacityTVProps | keyof TouchableOpacityBaseProps | keyof {}> & Omit<TouchableOpacityTVProps, keyof TouchableOpacityBaseProps | keyof {}> & Omit<TouchableOpacityBaseProps, keyof {}> & {}>;
69
- declare const Touchable: (props: Omit<TouchableOpacityProps, keyof {
70
- ref?: React.Ref<React.ComponentRef<typeof Animated.View>>;
71
- }> & {
72
- ref?: React.Ref<React.ComponentRef<typeof Animated.View>>;
73
- }) => React.ReactNode;
74
- declare const $$TouchableOpacity: typeof Touchable;
75
- declare type $$TouchableOpacity = typeof $$TouchableOpacity;
76
- export default $$TouchableOpacity;
@@ -1,121 +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<<0f1235f7ec14bd74f4484c6e39e0342b>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Touchable/TouchableWithoutFeedback.js
11
- */
12
-
13
- import type { AccessibilityActionEvent } from "../../Components/View/ViewAccessibility";
14
- import type { EdgeInsetsOrSizeProp } from "../../StyleSheet/EdgeInsetsPropType";
15
- import type { BlurEvent, FocusEvent, GestureResponderEvent, LayoutChangeEvent } from "../../Types/CoreEventTypes";
16
- import type { TVParallaxPropertiesType } from "../TV/TVViewPropTypes";
17
- import { type AccessibilityProps } from "../../Components/View/ViewAccessibility";
18
- import { type ViewStyleProp } from "../../StyleSheet/StyleSheet";
19
- import * as React from "react";
20
- export type TouchableWithoutFeedbackPropsIOS = {
21
- tvParallaxProperties?: TVParallaxPropertiesType;
22
- };
23
- export type TouchableWithoutFeedbackPropsAndroid = {
24
- /**
25
- * If true, doesn't play a system sound on touch.
26
- *
27
- * @platform android
28
- */
29
- touchSoundDisabled?: boolean | undefined;
30
- };
31
- export type TouchableWithoutFeedbackProps = Readonly<{
32
- children?: React.ReactNode | undefined;
33
- /**
34
- * Delay in ms, from onPressIn, before onLongPress is called.
35
- */
36
- delayLongPress?: number | undefined;
37
- /**
38
- * Delay in ms, from the start of the touch, before onPressIn is called.
39
- */
40
- delayPressIn?: number | undefined;
41
- /**
42
- * Delay in ms, from the release of the touch, before onPressOut is called.
43
- */
44
- delayPressOut?: number | undefined;
45
- /**
46
- * If true, disable all interactions for this component.
47
- */
48
- disabled?: boolean | undefined;
49
- /**
50
- * Whether this View should be focusable with a non-touch input device,
51
- * eg. receive focus with a hardware keyboard / TV remote.
52
- */
53
- focusable?: boolean | undefined;
54
- /**
55
- * This defines how far your touch can start away from the button.
56
- * This is added to pressRetentionOffset when moving off of the button.
57
- * NOTE The touch area never extends past the parent view bounds and
58
- * the Z-index of sibling views always takes precedence if a touch hits
59
- * two overlapping views.
60
- */
61
- hitSlop?: EdgeInsetsOrSizeProp | undefined;
62
- /**
63
- * Used to reference react managed views from native code.
64
- */
65
- id?: string;
66
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
67
- nativeID?: string | undefined;
68
- onAccessibilityAction?: ((event: AccessibilityActionEvent) => unknown) | undefined;
69
- /**
70
- * When `accessible` is true (which is the default) this may be called when
71
- * the OS-specific concept of "blur" occurs, meaning the element lost focus.
72
- * Some platforms may not have the concept of blur.
73
- */
74
- onBlur?: ((event: BlurEvent) => unknown) | undefined;
75
- /**
76
- * When `accessible` is true (which is the default) this may be called when
77
- * the OS-specific concept of "focus" occurs. Some platforms may not have
78
- * the concept of focus.
79
- */
80
- onFocus?: ((event: FocusEvent) => unknown) | undefined;
81
- /**
82
- * Invoked on mount and layout changes with
83
- * {nativeEvent: {layout: {x, y, width, height}}}
84
- */
85
- onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
86
- onLongPress?: ((event: GestureResponderEvent) => unknown) | undefined;
87
- /**
88
- * Called when the touch is released,
89
- * but not if cancelled (e.g. by a scroll that steals the responder lock).
90
- */
91
- onPress?: ((event: GestureResponderEvent) => unknown) | undefined;
92
- onPressIn?: ((event: GestureResponderEvent) => unknown) | undefined;
93
- onPressOut?: ((event: GestureResponderEvent) => unknown) | undefined;
94
- /**
95
- * When the scroll view is disabled, this defines how far your
96
- * touch may move off of the button, before deactivating the button.
97
- * Once deactivated, try moving it back and you'll see that the button
98
- * is once again reactivated! Move it back and forth several times
99
- * while the scroll view is disabled. Ensure you pass in a constant
100
- * to reduce memory allocations.
101
- */
102
- pressRetentionOffset?: EdgeInsetsOrSizeProp | undefined;
103
- rejectResponderTermination?: boolean | undefined;
104
- /**
105
- * Used to locate this view in end-to-end tests.
106
- */
107
- testID?: string | undefined;
108
- /**
109
- * //FIXME: not in doc but available in examples
110
- */
111
- style?: ViewStyleProp | undefined;
112
- } & TouchableWithoutFeedbackPropsAndroid & TouchableWithoutFeedbackPropsIOS & AccessibilityProps>;
113
- /**
114
- * Do not use unless you have a very good reason.
115
- * All the elements that respond to press should have a visual feedback when touched.
116
- * This is one of the primary reason a "web" app doesn't feel "native".
117
- *
118
- * @see https://reactnative.dev/docs/touchablewithoutfeedback
119
- */
120
- declare function TouchableWithoutFeedback(props: TouchableWithoutFeedbackProps): React.ReactNode;
121
- export default TouchableWithoutFeedback;
@@ -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<<aa1f84d5d6895f42982529f752c54b9e>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/View/View.js
11
- */
12
-
13
- import type { ViewProps } from "./ViewPropTypes";
14
- import ViewNativeComponent from "./ViewNativeComponent";
15
- import * as React from "react";
16
- /**
17
- * The most fundamental component for building a UI, View is a container that
18
- * supports layout with flexbox, style, some touch handling, and accessibility
19
- * controls.
20
- *
21
- * @see https://reactnative.dev/docs/view
22
- */
23
- declare function View(props: Omit<ViewProps, keyof {
24
- ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>;
25
- }> & {
26
- ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>;
27
- }): React.ReactNode;
28
- declare const $$View: typeof View;
29
- declare type $$View = typeof $$View;
30
- export default $$View;