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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/Libraries/Components/Button.js +0 -1
  2. package/Libraries/Components/Pressable/Pressable.d.ts +1 -1
  3. package/Libraries/Components/Pressable/Pressable.js +14 -12
  4. package/Libraries/Components/TV/TVParallaxProperties.d.ts +42 -0
  5. package/Libraries/Components/TV/TVViewPropTypes.js +45 -8
  6. package/Libraries/Components/Touchable/TouchableHighlight.js +5 -32
  7. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +5 -50
  8. package/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -1
  9. package/Libraries/Components/Touchable/TouchableOpacity.js +5 -56
  10. package/Libraries/Components/View/View.js +21 -1
  11. package/Libraries/Components/View/ViewPropTypes.d.ts +59 -41
  12. package/Libraries/Components/View/ViewPropTypes.js +5 -86
  13. package/Libraries/Core/ReactNativeVersion.js +1 -1
  14. package/React/Base/RCTVersion.m +1 -1
  15. package/ReactAndroid/gradle.properties +1 -1
  16. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  17. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +0 -25
  18. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
  19. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  20. package/package.json +2 -2
  21. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  22. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  23. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  24. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  25. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  26. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  27. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  28. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  29. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  30. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  31. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  32. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  33. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  34. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  35. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  36. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  37. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  38. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  39. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  40. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  41. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  42. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  43. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  44. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  45. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  46. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  47. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  48. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  49. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  50. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  51. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  52. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  53. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  54. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  55. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  56. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  57. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  58. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  59. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  60. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  61. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  62. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  63. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  64. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  65. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  66. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  67. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  68. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  69. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  70. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  71. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  72. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  73. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  74. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  75. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  76. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  77. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  78. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  79. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  80. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  81. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  82. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  83. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  84. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  85. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  86. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  87. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  88. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  89. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  90. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  91. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  92. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  93. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  94. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  95. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  96. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  97. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  98. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  99. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  100. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  101. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  102. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  103. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  104. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  105. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  106. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  107. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  108. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  109. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  110. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  111. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  112. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  113. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  114. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  115. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  116. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  117. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  118. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  119. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  120. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  121. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  122. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  123. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  124. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  125. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  126. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  127. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  128. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  129. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  130. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  131. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  132. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  133. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  134. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  135. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  136. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  137. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  138. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  139. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  140. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  141. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  142. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  143. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  144. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  145. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  146. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  147. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  148. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  149. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  150. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  151. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  152. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  153. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  154. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  155. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  156. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  157. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  158. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  159. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  160. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  161. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  162. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  163. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  164. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  165. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  166. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  167. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  168. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  169. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  170. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  171. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  172. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  173. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  174. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  175. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  176. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  177. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  178. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  179. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  180. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  181. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  182. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  183. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  184. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  185. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  186. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  187. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  188. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  189. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  190. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  191. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  192. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  193. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  194. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  195. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  196. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  197. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  198. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  199. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  200. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  201. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  202. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  203. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  204. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  205. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  206. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  207. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  208. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  209. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  210. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  211. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  212. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  213. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  214. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  215. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  216. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  217. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  218. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  219. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  220. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  221. package/types_generated/index.d.ts +0 -164
  222. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  223. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  224. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  225. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  226. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  227. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  228. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  229. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  230. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  231. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  232. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  233. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  234. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  235. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  236. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  237. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  238. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  239. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  240. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  241. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  242. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  243. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  244. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  245. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  246. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  247. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  248. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  249. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  250. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  251. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  252. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  253. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  254. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  255. package/types_generated/tsconfig.json +0 -3
  256. package/types_generated/tsconfig.test.json +0 -16
@@ -283,20 +283,6 @@ export type ViewPropsAndroid = $ReadOnly<{
283
283
  */
284
284
  renderToHardwareTextureAndroid?: ?boolean,
285
285
 
286
- /**
287
- * TV next focus forward (see documentation for the View component).
288
- *
289
- * @platform android
290
- */
291
- nextFocusForward?: ?number,
292
-
293
- /**
294
- * Whether this `View` should be focusable with a non-touch input device, eg. receive focus with a hardware keyboard.
295
- *
296
- * @platform android
297
- */
298
- focusable?: ?boolean,
299
-
300
286
  /**
301
287
  * Indicates whether this `View` should be focusable with a non-touch input device, eg. receive focus with a hardware keyboard.
302
288
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
@@ -318,51 +304,6 @@ export type ViewPropsAndroid = $ReadOnly<{
318
304
  onClick?: ?(event: GestureResponderEvent) => mixed,
319
305
  }>;
320
306
 
321
- export type TVViewPropsIOS = $ReadOnly<{
322
- /**
323
- * *(Apple TV only)* When set to true, this view will be focusable
324
- * and navigable using the Apple TV remote.
325
- *
326
- * @platform ios
327
- */
328
- isTVSelectable?: boolean,
329
-
330
- /**
331
- * *(Apple TV only)* May be set to true to force the Apple TV focus engine to move focus to this view.
332
- *
333
- * @platform ios
334
- */
335
- hasTVPreferredFocus?: boolean,
336
-
337
- /**
338
- * *(Apple TV only)* May be used to change the appearance of the Apple TV parallax effect when this view goes in or out of focus. Defaults to 2.0.
339
- *
340
- * @platform ios
341
- */
342
- tvParallaxShiftDistanceX?: number,
343
-
344
- /**
345
- * *(Apple TV only)* May be used to change the appearance of the Apple TV parallax effect when this view goes in or out of focus. Defaults to 2.0.
346
- *
347
- * @platform ios
348
- */
349
- tvParallaxShiftDistanceY?: number,
350
-
351
- /**
352
- * *(Apple TV only)* May be used to change the appearance of the Apple TV parallax effect when this view goes in or out of focus. Defaults to 0.05.
353
- *
354
- * @platform ios
355
- */
356
- tvParallaxTiltAngle?: number,
357
-
358
- /**
359
- * *(Apple TV only)* May be used to change the appearance of the Apple TV parallax effect when this view goes in or out of focus. Defaults to 1.0.
360
- *
361
- * @platform ios
362
- */
363
- tvParallaxMagnification?: number,
364
- }>;
365
-
366
307
  export type ViewPropsIOS = $ReadOnly<{
367
308
  /**
368
309
  * Whether this `View` should be rendered as a bitmap before compositing.
@@ -374,32 +315,6 @@ export type ViewPropsIOS = $ReadOnly<{
374
315
  shouldRasterizeIOS?: ?boolean,
375
316
  }>;
376
317
 
377
- type NextFocusProps = $ReadOnly<{
378
- /**
379
- * TV next focus down (see documentation for the View component).
380
- *
381
- */
382
- nextFocusDown?: ?number,
383
-
384
- /**
385
- * TV next focus left (see documentation for the View component).
386
- *
387
- */
388
- nextFocusLeft?: ?number,
389
-
390
- /**
391
- * TV next focus right (see documentation for the View component).
392
- *
393
- */
394
- nextFocusRight?: ?number,
395
-
396
- /**
397
- * TV next focus up (see documentation for the View component).
398
- *
399
- */
400
- nextFocusUp?: ?number,
401
- }>;
402
-
403
318
  type ViewBaseProps = $ReadOnly<{
404
319
  children?: React.Node,
405
320
  style?: ?ViewStyleProp,
@@ -496,6 +411,11 @@ type ViewBaseProps = $ReadOnly<{
496
411
  experimental_accessibilityOrder?: ?Array<string>,
497
412
  }>;
498
413
 
414
+ // For compatibility with legacy types
415
+ export type TVViewPropsIOS = $ReadOnly<{|
416
+ ...TVViewProps,
417
+ |}>;
418
+
499
419
  export type ViewProps = $ReadOnly<{
500
420
  ...DirectEventProps,
501
421
  ...GestureResponderHandlers,
@@ -508,6 +428,5 @@ export type ViewProps = $ReadOnly<{
508
428
  ...AccessibilityProps,
509
429
  ...ViewBaseProps,
510
430
  ...TVViewProps,
511
- ...NextFocusProps,
512
431
  ...PressEventProps,
513
432
  }>;
@@ -18,5 +18,5 @@ export const version: $ReadOnly<{
18
18
  major: 0,
19
19
  minor: 81,
20
20
  patch: 4,
21
- prerelease: '0',
21
+ prerelease: '1',
22
22
  };
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(81),
26
26
  RCTVersionPatch: @(4),
27
- RCTVersionPrerelease: @"0",
27
+ RCTVersionPrerelease: @"1",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.81.4-0
1
+ VERSION_NAME=0.81.4-1
2
2
  react.internal.publishingGroup=io.github.react-native-tvos
3
3
 
4
4
  android.useAndroidX=true
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 81,
17
17
  "patch" to 4,
18
- "prerelease" to "0"
18
+ "prerelease" to "1"
19
19
  )
20
20
  }
@@ -70,9 +70,7 @@ import com.facebook.react.uimanager.UIManagerHelper
70
70
  import com.facebook.react.uimanager.ViewGroupDrawingOrderHelper
71
71
  import com.facebook.react.uimanager.common.UIManagerType
72
72
  import com.facebook.react.uimanager.common.ViewUtil.getUIManagerType
73
- import com.facebook.react.uimanager.events.BlurEvent
74
73
  import com.facebook.react.uimanager.events.EventDispatcher
75
- import com.facebook.react.uimanager.events.FocusEvent
76
74
  import com.facebook.react.uimanager.events.PressInEvent
77
75
  import com.facebook.react.uimanager.events.PressOutEvent
78
76
  import com.facebook.react.uimanager.style.BorderRadiusProp
@@ -1338,29 +1336,6 @@ public open class ReactViewGroup public constructor(context: Context?) :
1338
1336
 
1339
1337
  override fun onFocusChanged(gainFocus: Boolean, direction: Int, previouslyFocusedRect: Rect?) {
1340
1338
  super.onFocusChanged(gainFocus, direction, previouslyFocusedRect)
1341
-
1342
- val mEventDispatcher: EventDispatcher? =
1343
- UIManagerHelper.getEventDispatcherForReactTag(
1344
- this.context as ReactContext, this.id
1345
- )
1346
-
1347
- if (mEventDispatcher == null) {
1348
- return
1349
- }
1350
-
1351
- if (gainFocus) {
1352
- mEventDispatcher.dispatchEvent(
1353
- FocusEvent(
1354
- UIManagerHelper.getSurfaceId(this.context), this.id
1355
- )
1356
- )
1357
- } else {
1358
- mEventDispatcher.dispatchEvent(
1359
- BlurEvent(
1360
- UIManagerHelper.getSurfaceId(this.context), this.id
1361
- )
1362
- )
1363
- }
1364
1339
  }
1365
1340
 
1366
1341
  override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean {
@@ -98,16 +98,7 @@ public open class ReactViewManager : ReactClippingViewManager<ReactViewGroup>()
98
98
 
99
99
  @ReactProp(name = "accessible")
100
100
  public open fun setAccessible(view: ReactViewGroup, accessible: Boolean) {
101
- view.isFocusable = accessible
102
- // This is required to handle Android TV/ Fire TV Devices that are Touch Enabled as well as LeanBack
103
- // https://developer.android.com/reference/android/view/View#requestFocus(int,%20android.graphics.Rect)
104
- // ** A view will not actually take focus if it is not focusable (isFocusable() returns false), **
105
- // ** or if it is focusable and it is not focusable in touch mode (isFocusableInTouchMode()) **
106
- // ** while the device is in touch mode. **
107
- if (hasTouchScreen(view.context)) {
108
- view.isFocusableInTouchMode = accessible
109
- }
110
-
101
+ // TODO: determine if any AxOrder changes should be put here
111
102
  }
112
103
 
113
104
  @ReactProp(name = "tvFocusable")
@@ -407,6 +398,14 @@ public open class ReactViewManager : ReactClippingViewManager<ReactViewGroup>()
407
398
  // Don't set view.setFocusable(false) because we might still want it to be focusable for
408
399
  // accessibility reasons
409
400
  }
401
+ // This is required to handle Android TV/ Fire TV Devices that are Touch Enabled as well as LeanBack
402
+ // https://developer.android.com/reference/android/view/View#requestFocus(int,%20android.graphics.Rect)
403
+ // ** A view will not actually take focus if it is not focusable (isFocusable() returns false), **
404
+ // ** or if it is focusable and it is not focusable in touch mode (isFocusableInTouchMode()) **
405
+ // ** while the device is in touch mode. **
406
+ if (hasTouchScreen(view.context)) {
407
+ view.isFocusableInTouchMode = focusable
408
+ }
410
409
  }
411
410
 
412
411
  @ReactProp(name = ViewProps.OVERFLOW)
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 81;
24
24
  int32_t Patch = 4;
25
- std::string_view Prerelease = "0";
25
+ std::string_view Prerelease = "1";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-tvos",
3
- "version": "0.81.4-0",
3
+ "version": "0.81.4-1",
4
4
  "description": "A framework for building native apps using React",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -198,7 +198,7 @@
198
198
  "whatwg-fetch": "^3.0.0",
199
199
  "ws": "^6.2.3",
200
200
  "yargs": "^17.6.2",
201
- "@react-native-tvos/virtualized-lists": "0.81.4-0"
201
+ "@react-native-tvos/virtualized-lists": "0.81.4-1"
202
202
  },
203
203
  "codegenConfig": {
204
204
  "libraries": [
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { View, ScrollViewProps, HostComponent, EventSubscription } from 'react-native';
2
+ import type { View, ScrollViewProps, HostComponent, EventSubscription, TVParallaxProperties } from 'react-native';
3
3
 
4
4
  declare module 'react-native' {
5
5
  export type FocusDestination = null | number | React.Component<any, any> | React.ComponentClass<any>;
@@ -65,48 +65,6 @@ declare module 'react-native' {
65
65
  } | undefined
66
66
  };
67
67
 
68
- export type TVParallaxProperties = {
69
- /**
70
- * If true, parallax effects are enabled. Defaults to true.
71
- */
72
- enabled?: boolean | undefined,
73
-
74
- /**
75
- * Defaults to 2.0.
76
- */
77
- shiftDistanceX?: number | undefined,
78
-
79
- /**
80
- * Defaults to 2.0.
81
- */
82
- shiftDistanceY?: number | undefined,
83
-
84
- /**
85
- * Defaults to 0.05.
86
- */
87
- tiltAngle?: number | undefined,
88
-
89
- /**
90
- * Defaults to 1.0
91
- */
92
- magnification?: number | undefined,
93
-
94
- /**
95
- * Defaults to 1.0
96
- */
97
- pressMagnification?: number | undefined,
98
-
99
- /**
100
- * Defaults to 0.3
101
- */
102
- pressDuration?: number | undefined,
103
-
104
- /**
105
- * @deprecated No longer used
106
- */
107
- pressDelay?: number | undefined,
108
- };
109
-
110
68
  export const TVEventHandler: {
111
69
  addListener: (listener: (event: HWEvent) => void) => EventSubscription | undefined
112
70
  };
@@ -1,101 +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<<c7b207a46aa232adaab368b5778f463f>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js
11
- */
12
-
13
- import type { ProcessedColorValue } from "../StyleSheet/processColor";
14
- import type { ColorValue } from "../StyleSheet/StyleSheet";
15
- export type ActionSheetIOSOptions = Readonly<{
16
- title?: string | undefined;
17
- message?: string | undefined;
18
- options: Array<string>;
19
- destructiveButtonIndex?: (number | undefined) | (Array<number> | undefined);
20
- cancelButtonIndex?: number | undefined;
21
- anchor?: number | undefined;
22
- tintColor?: ColorValue | ProcessedColorValue;
23
- cancelButtonTintColor?: ColorValue | ProcessedColorValue;
24
- disabledButtonTintColor?: ColorValue | ProcessedColorValue;
25
- userInterfaceStyle?: string;
26
- disabledButtonIndices?: Array<number>;
27
- }>;
28
- export type ShareActionSheetIOSOptions = Readonly<{
29
- message?: string | undefined;
30
- url?: string | undefined;
31
- subject?: string | undefined;
32
- anchor?: number | undefined;
33
- tintColor?: number | undefined;
34
- cancelButtonTintColor?: number | undefined;
35
- disabledButtonTintColor?: number | undefined;
36
- excludedActivityTypes?: Array<string> | undefined;
37
- userInterfaceStyle?: string | undefined;
38
- }>;
39
- export type ShareActionSheetError = Readonly<{
40
- domain: string;
41
- code: string;
42
- userInfo?: Object | undefined;
43
- message: string;
44
- }>;
45
- declare const ActionSheetIOS: {
46
- /**
47
- * Display an iOS action sheet.
48
- *
49
- * The `options` object must contain one or more of:
50
- *
51
- * - `options` (array of strings) - a list of button titles (required)
52
- * - `cancelButtonIndex` (int) - index of cancel button in `options`
53
- * - `destructiveButtonIndex` (int or array of ints) - index or indices of destructive buttons in `options`
54
- * - `title` (string) - a title to show above the action sheet
55
- * - `message` (string) - a message to show below the title
56
- * - `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled
57
- *
58
- * The 'callback' function takes one parameter, the zero-based index
59
- * of the selected item.
60
- *
61
- * See https://reactnative.dev/docs/actionsheetios#showactionsheetwithoptions
62
- */
63
- showActionSheetWithOptions(options: ActionSheetIOSOptions, callback: (buttonIndex: number) => void): void;
64
- /**
65
- * Display the iOS share sheet. The `options` object should contain
66
- * one or both of `message` and `url` and can additionally have
67
- * a `subject` or `excludedActivityTypes`:
68
- *
69
- * - `url` (string) - a URL to share
70
- * - `message` (string) - a message to share
71
- * - `subject` (string) - a subject for the message
72
- * - `excludedActivityTypes` (array) - the activities to exclude from
73
- * the ActionSheet
74
- * - `tintColor` (color) - tint color of the buttons
75
- *
76
- * The 'failureCallback' function takes one parameter, an error object.
77
- * The only property defined on this object is an optional `stack` property
78
- * of type `string`.
79
- *
80
- * The 'successCallback' function takes two parameters:
81
- *
82
- * - a boolean value signifying success or failure
83
- * - a string that, in the case of success, indicates the method of sharing
84
- *
85
- * See https://reactnative.dev/docs/actionsheetios#showshareactionsheetwithoptions
86
- */
87
- showShareActionSheetWithOptions(options: ShareActionSheetIOSOptions, failureCallback: Function | ((error: ShareActionSheetError) => void), successCallback: Function | ((success: boolean, method: null | undefined | string) => void)): void;
88
- /**
89
- * Dismisses the most upper iOS action sheet presented, if no action sheet is
90
- * present a warning is displayed.
91
- */
92
- dismissActionSheet: () => void;
93
- };
94
- /**
95
- * Display action sheets and share sheets on iOS.
96
- *
97
- * See https://reactnative.dev/docs/actionsheetios
98
- */
99
- declare const $$ActionSheetIOS: typeof ActionSheetIOS;
100
- declare type $$ActionSheetIOS = typeof $$ActionSheetIOS;
101
- export default $$ActionSheetIOS;
@@ -1,55 +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<<a69ee0694ac07eff13c5d265b77b4414>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Alert/Alert.js
11
- */
12
-
13
- /**
14
- * @platform ios
15
- */
16
- export type AlertType = "default" | "plain-text" | "secure-text" | "login-password";
17
- /**
18
- * @platform ios
19
- */
20
- export type AlertButtonStyle = "default" | "cancel" | "destructive";
21
- export type AlertButton = {
22
- text?: string;
23
- onPress?: (((value?: string) => any) | undefined) | (Function | undefined);
24
- isPreferred?: boolean;
25
- style?: AlertButtonStyle;
26
- };
27
- export type AlertButtons = Array<AlertButton>;
28
- export type AlertOptions = {
29
- /** @platform android */
30
- cancelable?: boolean | undefined;
31
- userInterfaceStyle?: "unspecified" | "light" | "dark";
32
- /** @platform android */
33
- onDismiss?: (() => void) | undefined;
34
- };
35
- /**
36
- * Launches an alert dialog with the specified title and message.
37
- *
38
- * Optionally provide a list of buttons. Tapping any button will fire the
39
- * respective onPress callback and dismiss the alert. By default, the only
40
- * button will be an 'OK' button.
41
- *
42
- * This is an API that works both on iOS and Android and can show static
43
- * alerts. On iOS, you can show an alert that prompts the user to enter
44
- * some information.
45
- *
46
- * See https://reactnative.dev/docs/alert
47
- */
48
- declare class Alert {
49
- static alert(title: null | undefined | string, message?: null | undefined | string, buttons?: AlertButtons, options?: AlertOptions): void;
50
- /**
51
- * @platform ios
52
- */
53
- static prompt(title: null | undefined | string, message?: null | undefined | string, callbackOrButtons?: null | undefined | (((text: string) => void) | AlertButtons), type?: null | undefined | AlertType, defaultValue?: string, keyboardType?: string, options?: AlertOptions): void;
54
- }
55
- export default Alert;
@@ -1,14 +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<<bdf39377a8da5a0ab65e2d04e0298b92>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/Animated.js.flow
11
- */
12
-
13
- export * as default from "./AnimatedExports";
14
- export type { CompositeAnimation, Numeric } from "./AnimatedImplementation";
@@ -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<<0dd73693dc2f58eaf2cdc4babddf4f4c>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Animated/AnimatedEvent.js
11
- */
12
-
13
- import type { NativeSyntheticEvent } from "../Types/CoreEventTypes";
14
- import type { PlatformConfig } from "./AnimatedPlatformConfig";
15
- import AnimatedValue from "./nodes/AnimatedValue";
16
- import AnimatedValueXY from "./nodes/AnimatedValueXY";
17
- export type Mapping = {
18
- [key: string]: Mapping;
19
- } | AnimatedValue | AnimatedValueXY;
20
- export type EventConfig<T> = {
21
- listener?: (($$PARAM_0$$: NativeSyntheticEvent<T>) => unknown) | undefined;
22
- useNativeDriver: boolean;
23
- platformConfig?: PlatformConfig;
24
- };
25
- export declare function attachNativeEventImpl(viewRef: any, eventName: string, argMapping: ReadonlyArray<null | undefined | Mapping>, platformConfig: null | undefined | PlatformConfig): {
26
- detach: () => void;
27
- };
28
- export declare class AnimatedEvent {
29
- constructor(argMapping: ReadonlyArray<null | undefined | Mapping>, config: EventConfig<any>);
30
- }