react-native-tvos 0.81.4-0 → 0.81.5-0

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 (269) 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/RCTUtils.mm +5 -1
  15. package/React/Base/RCTVersion.m +1 -1
  16. package/React/CoreModules/RCTDeviceInfo.mm +3 -4
  17. package/React/Views/RCTSwitchManager.m +24 -0
  18. package/ReactAndroid/gradle.properties +1 -1
  19. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +25 -1
  20. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  21. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.kt +1 -1
  22. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +2 -2
  23. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +13 -26
  24. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
  25. package/ReactAndroid/src/main/jni/react/jni/TransformHelper.cpp +3 -1
  26. package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
  27. package/ReactCommon/react/renderer/components/view/BaseViewProps.cpp +0 -3
  28. package/ReactCommon/react/renderer/components/view/tests/ResolveTransformTest.cpp +377 -0
  29. package/package.json +8 -8
  30. package/sdks/hermesc/osx-bin/hermes +0 -0
  31. package/sdks/hermesc/osx-bin/hermesc +0 -0
  32. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  33. package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
  34. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  35. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  36. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  37. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  38. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  39. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  40. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  41. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  42. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  43. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  44. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  45. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  46. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  47. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  48. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  49. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  50. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  51. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  52. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  53. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  54. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  55. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  56. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  57. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  58. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  59. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  60. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  61. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  62. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  63. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  64. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  65. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  66. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  67. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  68. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  69. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  70. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  71. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  72. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  73. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  74. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  75. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  76. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  77. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  78. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  79. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  80. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  81. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  82. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  83. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  84. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  85. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  86. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  87. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  88. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  89. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  90. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  91. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  92. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  93. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  94. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  95. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  96. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  97. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  98. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  99. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  100. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  101. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  102. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  103. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  104. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  105. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  106. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  107. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  108. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  109. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  110. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  111. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  112. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  113. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  114. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  115. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  116. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  117. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  118. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  119. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  120. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  121. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  122. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  123. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  124. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  125. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  126. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  127. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  128. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  129. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  130. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  131. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  132. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  133. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  134. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  135. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  136. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  137. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  138. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  139. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  140. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  141. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  142. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  143. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  144. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  145. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  146. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  147. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  148. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  149. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  150. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  151. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  152. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  153. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  154. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  155. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  156. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  157. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  158. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  159. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  160. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  161. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  162. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  163. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  164. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  165. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  166. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  167. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  168. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  169. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  170. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  171. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  172. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  173. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  174. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  175. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  176. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  177. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  178. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  179. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  180. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  181. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  182. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  183. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  184. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  185. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  186. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  187. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  188. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  189. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  190. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  191. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  192. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  193. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  194. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  195. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  196. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  197. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  198. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  199. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  200. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  201. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  202. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  203. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  204. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  205. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  206. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  207. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  208. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  209. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  210. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  211. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  212. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  213. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  214. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  215. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  216. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  217. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  218. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  219. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  220. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  221. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  222. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  223. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  224. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  225. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  226. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  227. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  228. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  229. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  230. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  231. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  232. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  233. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  234. package/types_generated/index.d.ts +0 -164
  235. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  236. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  237. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  238. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  239. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  240. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  241. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  242. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  243. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  244. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  245. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  246. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  247. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  248. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  249. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  250. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  251. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  252. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  253. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  254. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  255. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  256. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  257. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  258. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  259. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  260. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  261. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  262. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  263. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  264. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  265. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  266. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  267. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  268. package/types_generated/tsconfig.json +0 -3
  269. package/types_generated/tsconfig.test.json +0 -16
@@ -1,176 +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<<732f02e04657dcacd88ec51ea95fcb32>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.js
11
- */
12
-
13
- import type { MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallback } from "../../../src/private/types/HostInstance";
14
- import type { ColorValue } from "../../StyleSheet/StyleSheet";
15
- import type { NativeSyntheticEvent } from "../../Types/CoreEventTypes";
16
- import type { ViewProps } from "../View/ViewPropTypes";
17
- import * as React from "react";
18
- export type DrawerStates = "Idle" | "Dragging" | "Settling";
19
- export type DrawerSlideEvent = NativeSyntheticEvent<Readonly<{
20
- offset: number;
21
- }>>;
22
- export type DrawerLayoutAndroidProps = Readonly<Omit<ViewProps, keyof {
23
- /**
24
- * Determines whether the keyboard gets dismissed in response to a drag.
25
- * - 'none' (the default), drags do not dismiss the keyboard.
26
- * - 'on-drag', the keyboard is dismissed when a drag begins.
27
- */
28
- keyboardDismissMode?: ("none" | "on-drag") | undefined;
29
- /**
30
- * Specifies the background color of the drawer. The default value is white.
31
- * If you want to set the opacity of the drawer, use rgba. Example:
32
- *
33
- * ```
34
- * return (
35
- * <DrawerLayoutAndroid drawerBackgroundColor="rgba(0,0,0,0.5)">
36
- * </DrawerLayoutAndroid>
37
- * );
38
- * ```
39
- */
40
- drawerBackgroundColor?: ColorValue | undefined;
41
- /**
42
- * Specifies the side of the screen from which the drawer will slide in.
43
- */
44
- drawerPosition: ("left" | "right") | undefined;
45
- /**
46
- * Specifies the width of the drawer, more precisely the width of the view that be pulled in
47
- * from the edge of the window.
48
- */
49
- drawerWidth?: number | undefined;
50
- /**
51
- * Specifies the lock mode of the drawer. The drawer can be locked in 3 states:
52
- * - unlocked (default), meaning that the drawer will respond (open/close) to touch gestures.
53
- * - locked-closed, meaning that the drawer will stay closed and not respond to gestures.
54
- * - locked-open, meaning that the drawer will stay opened and not respond to gestures.
55
- * The drawer may still be opened and closed programmatically (`openDrawer`/`closeDrawer`).
56
- */
57
- drawerLockMode?: ("unlocked" | "locked-closed" | "locked-open") | undefined;
58
- /**
59
- * Function called whenever there is an interaction with the navigation view.
60
- */
61
- onDrawerSlide?: ((event: DrawerSlideEvent) => unknown) | undefined;
62
- /**
63
- * Function called when the drawer state has changed. The drawer can be in 3 states:
64
- * - Idle, meaning there is no interaction with the navigation view happening at the time
65
- * - Dragging, meaning there is currently an interaction with the navigation view
66
- * - Settling, meaning that there was an interaction with the navigation view, and the
67
- * navigation view is now finishing its closing or opening animation
68
- */
69
- onDrawerStateChanged?: ((state: DrawerStates) => unknown) | undefined;
70
- /**
71
- * Function called whenever the navigation view has been opened.
72
- */
73
- onDrawerOpen?: (() => unknown) | undefined;
74
- /**
75
- * Function called whenever the navigation view has been closed.
76
- */
77
- onDrawerClose?: (() => unknown) | undefined;
78
- /**
79
- * The navigation view that will be rendered to the side of the screen and can be pulled in.
80
- */
81
- renderNavigationView: () => React.JSX.Element;
82
- /**
83
- * Make the drawer take the entire screen and draw the background of the
84
- * status bar to allow it to open over the status bar. It will only have an
85
- * effect on API 21+.
86
- */
87
- statusBarBackgroundColor?: ColorValue | undefined;
88
- }> & {
89
- /**
90
- * Determines whether the keyboard gets dismissed in response to a drag.
91
- * - 'none' (the default), drags do not dismiss the keyboard.
92
- * - 'on-drag', the keyboard is dismissed when a drag begins.
93
- */
94
- keyboardDismissMode?: ("none" | "on-drag") | undefined;
95
- /**
96
- * Specifies the background color of the drawer. The default value is white.
97
- * If you want to set the opacity of the drawer, use rgba. Example:
98
- *
99
- * ```
100
- * return (
101
- * <DrawerLayoutAndroid drawerBackgroundColor="rgba(0,0,0,0.5)">
102
- * </DrawerLayoutAndroid>
103
- * );
104
- * ```
105
- */
106
- drawerBackgroundColor?: ColorValue | undefined;
107
- /**
108
- * Specifies the side of the screen from which the drawer will slide in.
109
- */
110
- drawerPosition: ("left" | "right") | undefined;
111
- /**
112
- * Specifies the width of the drawer, more precisely the width of the view that be pulled in
113
- * from the edge of the window.
114
- */
115
- drawerWidth?: number | undefined;
116
- /**
117
- * Specifies the lock mode of the drawer. The drawer can be locked in 3 states:
118
- * - unlocked (default), meaning that the drawer will respond (open/close) to touch gestures.
119
- * - locked-closed, meaning that the drawer will stay closed and not respond to gestures.
120
- * - locked-open, meaning that the drawer will stay opened and not respond to gestures.
121
- * The drawer may still be opened and closed programmatically (`openDrawer`/`closeDrawer`).
122
- */
123
- drawerLockMode?: ("unlocked" | "locked-closed" | "locked-open") | undefined;
124
- /**
125
- * Function called whenever there is an interaction with the navigation view.
126
- */
127
- onDrawerSlide?: ((event: DrawerSlideEvent) => unknown) | undefined;
128
- /**
129
- * Function called when the drawer state has changed. The drawer can be in 3 states:
130
- * - Idle, meaning there is no interaction with the navigation view happening at the time
131
- * - Dragging, meaning there is currently an interaction with the navigation view
132
- * - Settling, meaning that there was an interaction with the navigation view, and the
133
- * navigation view is now finishing its closing or opening animation
134
- */
135
- onDrawerStateChanged?: ((state: DrawerStates) => unknown) | undefined;
136
- /**
137
- * Function called whenever the navigation view has been opened.
138
- */
139
- onDrawerOpen?: (() => unknown) | undefined;
140
- /**
141
- * Function called whenever the navigation view has been closed.
142
- */
143
- onDrawerClose?: (() => unknown) | undefined;
144
- /**
145
- * The navigation view that will be rendered to the side of the screen and can be pulled in.
146
- */
147
- renderNavigationView: () => React.JSX.Element;
148
- /**
149
- * Make the drawer take the entire screen and draw the background of the
150
- * status bar to allow it to open over the status bar. It will only have an
151
- * effect on API 21+.
152
- */
153
- statusBarBackgroundColor?: ColorValue | undefined;
154
- }>;
155
- export type DrawerLayoutAndroidState = {
156
- drawerOpened: boolean;
157
- };
158
- export interface DrawerLayoutAndroidMethods {
159
- /**
160
- * Opens the drawer.
161
- */
162
- openDrawer(): void;
163
- /**
164
- * Closes the drawer.
165
- */
166
- closeDrawer(): void;
167
- /**
168
- * Native methods
169
- */
170
- blur(): void;
171
- focus(): void;
172
- measure(callback: MeasureOnSuccessCallback): void;
173
- measureInWindow(callback: MeasureInWindowOnSuccessCallback): void;
174
- measureLayout(relativeToNativeNode: number, onSuccess: MeasureLayoutOnSuccessCallback, onFail?: () => void): void;
175
- setNativeProps(nativeProps: Object): void;
176
- }
@@ -1,146 +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<<756713a532f27fbe10496ce66b7a8625>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Keyboard/Keyboard.js
11
- */
12
-
13
- import type { EventSubscription } from "../../vendor/emitter/EventEmitter";
14
- export type KeyboardEventName = keyof KeyboardEventDefinitions;
15
- export type KeyboardEventEasing = "easeIn" | "easeInEaseOut" | "easeOut" | "linear" | "keyboard";
16
- export type KeyboardMetrics = Readonly<{
17
- screenX: number;
18
- screenY: number;
19
- width: number;
20
- height: number;
21
- }>;
22
- export type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent;
23
- type BaseKeyboardEvent = {
24
- duration: number;
25
- easing: KeyboardEventEasing;
26
- endCoordinates: KeyboardMetrics;
27
- };
28
- export type AndroidKeyboardEvent = Readonly<Omit<BaseKeyboardEvent, keyof {
29
- duration: 0;
30
- easing: "keyboard";
31
- }> & {
32
- duration: 0;
33
- easing: "keyboard";
34
- }>;
35
- export type IOSKeyboardEvent = Readonly<Omit<BaseKeyboardEvent, keyof {
36
- startCoordinates: KeyboardMetrics;
37
- isEventFromThisApp: boolean;
38
- }> & {
39
- startCoordinates: KeyboardMetrics;
40
- isEventFromThisApp: boolean;
41
- }>;
42
- type KeyboardEventDefinitions = {
43
- keyboardWillShow: [KeyboardEvent];
44
- keyboardDidShow: [KeyboardEvent];
45
- keyboardWillHide: [KeyboardEvent];
46
- keyboardDidHide: [KeyboardEvent];
47
- keyboardWillChangeFrame: [KeyboardEvent];
48
- keyboardDidChangeFrame: [KeyboardEvent];
49
- };
50
- /**
51
- * `Keyboard` module to control keyboard events.
52
- *
53
- * ### Usage
54
- *
55
- * The Keyboard module allows you to listen for native events and react to them, as
56
- * well as make changes to the keyboard, like dismissing it.
57
- *
58
- *```
59
- * import React, { Component } from 'react';
60
- * import { Keyboard, TextInput } from 'react-native';
61
- *
62
- * class Example extends Component {
63
- * componentWillMount () {
64
- * this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);
65
- * this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);
66
- * }
67
- *
68
- * componentWillUnmount () {
69
- * this.keyboardDidShowListener.remove();
70
- * this.keyboardDidHideListener.remove();
71
- * }
72
- *
73
- * _keyboardDidShow () {
74
- * alert('Keyboard Shown');
75
- * }
76
- *
77
- * _keyboardDidHide () {
78
- * alert('Keyboard Hidden');
79
- * }
80
- *
81
- * render() {
82
- * return (
83
- * <TextInput
84
- * onSubmitEditing={Keyboard.dismiss}
85
- * />
86
- * );
87
- * }
88
- * }
89
- *```
90
- */
91
-
92
- declare class KeyboardImpl {
93
- constructor();
94
- /**
95
- * The `addListener` function connects a JavaScript function to an identified native
96
- * keyboard notification event.
97
- *
98
- * This function then returns the reference to the listener.
99
- *
100
- * @param {string} eventName The `nativeEvent` is the string that identifies the event you're listening for. This
101
- *can be any of the following:
102
- *
103
- * - `keyboardWillShow`
104
- * - `keyboardDidShow`
105
- * - `keyboardWillHide`
106
- * - `keyboardDidHide`
107
- * - `keyboardWillChangeFrame`
108
- * - `keyboardDidChangeFrame`
109
- *
110
- * Android versions prior to API 30 rely on observing layout changes when
111
- * `android:windowSoftInputMode` is set to `adjustResize` or `adjustPan`.
112
- *
113
- * `keyboardWillShow` as well as `keyboardWillHide` are not available on Android since there is
114
- * no native corresponding event.
115
- *
116
- * @param {function} callback function to be called when the event fires.
117
- */
118
- addListener<K extends keyof KeyboardEventDefinitions>(eventType: K, listener: (...$$REST$$: KeyboardEventDefinitions[K]) => unknown, context?: unknown): EventSubscription;
119
- /**
120
- * Removes all listeners for a specific event type.
121
- *
122
- * @param {string} eventType The native event string listeners are watching which will be removed.
123
- */
124
- removeAllListeners<K extends keyof KeyboardEventDefinitions>(eventType: null | undefined | K): void;
125
- /**
126
- * Dismisses the active keyboard and removes focus.
127
- */
128
- dismiss(): void;
129
- /**
130
- * Whether the keyboard is last known to be visible.
131
- */
132
- isVisible(): boolean;
133
- /**
134
- * Return the metrics of the soft-keyboard if visible.
135
- */
136
- metrics(): null | undefined | KeyboardMetrics;
137
- /**
138
- * Useful for syncing TextInput (or other keyboard accessory view) size of
139
- * position changes with keyboard movements.
140
- */
141
- scheduleLayoutAnimation(event: KeyboardEvent): void;
142
- }
143
- declare const Keyboard: KeyboardImpl;
144
- declare const $$Keyboard: typeof Keyboard;
145
- declare type $$Keyboard = typeof $$Keyboard;
146
- export default $$Keyboard;
@@ -1,73 +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<<da462a04b86773863782542a0486047a>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js
11
- */
12
-
13
- import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
14
- import type { ViewProps } from "../View/ViewPropTypes";
15
- import View from "../View/View";
16
- import * as React from "react";
17
- export type KeyboardAvoidingViewProps = Readonly<Omit<ViewProps, keyof {
18
- /**
19
- * Specify how to react to the presence of the keyboard.
20
- */
21
- behavior?: ("height" | "position" | "padding") | undefined;
22
- /**
23
- * Style of the content container when `behavior` is 'position'.
24
- */
25
- contentContainerStyle?: ViewStyleProp | undefined;
26
- /**
27
- * Controls whether this `KeyboardAvoidingView` instance should take effect.
28
- * This is useful when more than one is on the screen. Defaults to true.
29
- */
30
- enabled?: boolean | undefined;
31
- /**
32
- * Distance between the top of the user screen and the React Native view. This
33
- * may be non-zero in some cases. Defaults to 0.
34
- */
35
- keyboardVerticalOffset?: number;
36
- }> & {
37
- /**
38
- * Specify how to react to the presence of the keyboard.
39
- */
40
- behavior?: ("height" | "position" | "padding") | undefined;
41
- /**
42
- * Style of the content container when `behavior` is 'position'.
43
- */
44
- contentContainerStyle?: ViewStyleProp | undefined;
45
- /**
46
- * Controls whether this `KeyboardAvoidingView` instance should take effect.
47
- * This is useful when more than one is on the screen. Defaults to true.
48
- */
49
- enabled?: boolean | undefined;
50
- /**
51
- * Distance between the top of the user screen and the React Native view. This
52
- * may be non-zero in some cases. Defaults to 0.
53
- */
54
- keyboardVerticalOffset?: number;
55
- }>;
56
- type KeyboardAvoidingViewState = {
57
- bottom: number;
58
- };
59
- /**
60
- * View that moves out of the way when the keyboard appears by automatically
61
- * adjusting its height, position, or bottom padding.
62
- */
63
- declare class KeyboardAvoidingView extends React.Component<KeyboardAvoidingViewProps, KeyboardAvoidingViewState> {
64
- viewRef: {
65
- current: React.ComponentRef<typeof View> | null;
66
- };
67
- constructor(props: KeyboardAvoidingViewProps);
68
- componentDidUpdate(_: KeyboardAvoidingViewProps, prevState: KeyboardAvoidingViewState): void;
69
- componentDidMount(): void;
70
- componentWillUnmount(): void;
71
- render(): React.ReactNode;
72
- }
73
- export default KeyboardAvoidingView;
@@ -1,24 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<9540cc7b6f9c456da84a7241c641882d>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/LayoutConformance/LayoutConformance.js
11
- */
12
-
13
- import * as React from "react";
14
- export type LayoutConformanceProps = Readonly<{
15
- /**
16
- * strict: Layout in accordance with W3C spec, even when breaking
17
- * compatibility: Layout with the same behavior as previous versions of React Native
18
- */
19
- mode: "strict" | "compatibility";
20
- children: React.ReactNode;
21
- }>;
22
- declare const $$LayoutConformance: (props: LayoutConformanceProps) => React.ReactNode;
23
- declare type $$LayoutConformance = typeof $$LayoutConformance;
24
- export default $$LayoutConformance;
@@ -1,141 +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<<8216361297228a2a178bc6f6a9dec550>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Pressable/Pressable.js
11
- */
12
-
13
- import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
14
- import type { BlurEvent, FocusEvent, GestureResponderEvent, LayoutChangeEvent, MouseEvent } from "../../Types/CoreEventTypes";
15
- import type { TVParallaxPropertiesType } from "../TV/TVViewPropTypes";
16
- import type { ViewProps } from "../View/ViewPropTypes";
17
- import { type RectOrSize } from "../../StyleSheet/Rect";
18
- import View from "../View/View";
19
- import { type PressableAndroidRippleConfig } from "./useAndroidRippleForView";
20
- import * as React from "react";
21
- export type { PressableAndroidRippleConfig };
22
- export type PressableStateCallbackType = Readonly<{
23
- pressed: boolean;
24
- focused: boolean;
25
- }>;
26
- type TVProps = Readonly<{
27
- hasTVPreferredFocus?: boolean;
28
- isTVSelectable?: boolean | undefined;
29
- tvParallaxProperties?: TVParallaxPropertiesType;
30
- nextFocusDown?: number | undefined;
31
- nextFocusForward?: number | undefined;
32
- nextFocusLeft?: number | undefined;
33
- nextFocusRight?: number | undefined;
34
- nextFocusUp?: number | undefined;
35
- onFocus?: ((event: FocusEvent) => unknown) | undefined;
36
- onBlur?: ((event: BlurEvent) => unknown) | undefined;
37
- onFocusCapture?: ((event: FocusEvent) => void) | undefined;
38
- onBlurCapture?: ((event: BlurEvent) => void) | undefined;
39
- }>;
40
- type PressableBaseProps = Readonly<{
41
- /**
42
- * Whether a press gesture can be interrupted by a parent gesture such as a
43
- * scroll event. Defaults to true.
44
- */
45
- cancelable?: boolean | undefined;
46
- /**
47
- * Either children or a render prop that receives a boolean reflecting whether
48
- * the component is currently pressed.
49
- */
50
- children?: React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode);
51
- /**
52
- * Duration to wait after hover in before calling `onHoverIn`.
53
- */
54
- delayHoverIn?: number | undefined;
55
- /**
56
- * Duration to wait after hover out before calling `onHoverOut`.
57
- */
58
- delayHoverOut?: number | undefined;
59
- /**
60
- * Duration (in milliseconds) from `onPressIn` before `onLongPress` is called.
61
- */
62
- delayLongPress?: number | undefined;
63
- /**
64
- * Whether the press behavior is disabled.
65
- */
66
- disabled?: boolean | undefined;
67
- /**
68
- * Additional distance outside of this view in which a press is detected.
69
- */
70
- hitSlop?: RectOrSize | undefined;
71
- /**
72
- * Additional distance outside of this view in which a touch is considered a
73
- * press before `onPressOut` is triggered.
74
- */
75
- pressRetentionOffset?: RectOrSize | undefined;
76
- /**
77
- * Called when this view's layout changes.
78
- */
79
- onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
80
- /**
81
- * Called when the hover is activated to provide visual feedback.
82
- */
83
- onHoverIn?: ((event: MouseEvent) => unknown) | undefined;
84
- /**
85
- * Called when the hover is deactivated to undo visual feedback.
86
- */
87
- onHoverOut?: ((event: MouseEvent) => unknown) | undefined;
88
- /**
89
- * Called when a long-tap gesture is detected.
90
- */
91
- onLongPress?: ((event: GestureResponderEvent) => unknown) | undefined;
92
- /**
93
- * Called when a single tap gesture is detected.
94
- */
95
- onPress?: ((event: GestureResponderEvent) => unknown) | undefined;
96
- /**
97
- * Called when a touch is engaged before `onPress`.
98
- */
99
- onPressIn?: ((event: GestureResponderEvent) => unknown) | undefined;
100
- /**
101
- * Called when the press location moves.
102
- */
103
- onPressMove?: ((event: GestureResponderEvent) => unknown) | undefined;
104
- /**
105
- * Called when a touch is released before `onPress`.
106
- */
107
- onPressOut?: ((event: GestureResponderEvent) => unknown) | undefined;
108
- /**
109
- * Either view styles or a function that receives a boolean reflecting whether
110
- * the component is currently pressed and returns view styles.
111
- */
112
- style?: ViewStyleProp | ((state: PressableStateCallbackType) => ViewStyleProp);
113
- /**
114
- * Identifier used to find this view in tests.
115
- */
116
- testID?: string | undefined;
117
- /**
118
- * If true, doesn't play system sound on touch.
119
- */
120
- android_disableSound?: boolean | undefined;
121
- /**
122
- * Enables the Android ripple effect and configures its color.
123
- */
124
- android_ripple?: PressableAndroidRippleConfig | undefined;
125
- /**
126
- * Used only for documentation or testing (e.g. snapshot testing).
127
- */
128
- testOnly_pressed?: boolean | undefined;
129
- /**
130
- * Duration to wait after press down before calling `onPressIn`.
131
- */
132
- unstable_pressDelay?: number | undefined;
133
- }>;
134
- export type PressableProps = Readonly<Omit<Omit<ViewProps, "onMouseEnter" | "onMouseLeave">, keyof PressableBaseProps | keyof TVProps | keyof {}> & Omit<PressableBaseProps, keyof TVProps | keyof {}> & Omit<TVProps, keyof {}> & {}>;
135
- declare const $$Pressable: (props: Omit<PressableProps, keyof {
136
- ref?: React.Ref<React.ComponentRef<typeof View>>;
137
- }> & {
138
- ref?: React.Ref<React.ComponentRef<typeof View>>;
139
- }) => React.ReactNode;
140
- declare type $$Pressable = typeof $$Pressable;
141
- export default $$Pressable;
@@ -1,45 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<ab75455eee7fd425acf00caf7b738059>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/Pressable/useAndroidRippleForView.js
11
- */
12
-
13
- import type { ColorValue } from "../../StyleSheet/StyleSheet";
14
- import type { GestureResponderEvent } from "../../Types/CoreEventTypes";
15
- import View from "../View/View";
16
- import * as React from "react";
17
- type NativeBackgroundProp = Readonly<{
18
- type: "RippleAndroid";
19
- color: number | undefined;
20
- borderless: boolean;
21
- rippleRadius: number | undefined;
22
- }>;
23
- export type PressableAndroidRippleConfig = {
24
- color?: ColorValue;
25
- borderless?: boolean;
26
- radius?: number;
27
- foreground?: boolean;
28
- };
29
- /**
30
- * Provides the event handlers and props for configuring the ripple effect on
31
- * supported versions of Android.
32
- */
33
- declare function useAndroidRippleForView(rippleConfig: null | undefined | PressableAndroidRippleConfig, viewRef: {
34
- current: null | React.ComponentRef<typeof View>;
35
- }): null | undefined | Readonly<{
36
- onPressIn: (event: GestureResponderEvent) => void;
37
- onPressMove: (event: GestureResponderEvent) => void;
38
- onPressOut: (event: GestureResponderEvent) => void;
39
- viewProps: Readonly<{
40
- nativeBackgroundAndroid: NativeBackgroundProp;
41
- }> | Readonly<{
42
- nativeForegroundAndroid: NativeBackgroundProp;
43
- }>;
44
- }>;
45
- export default useAndroidRippleForView;
@@ -1,32 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated SignedSource<<dcb9fe4ce55279385a0a42d98baac3b4>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js
11
- */
12
-
13
- import * as React from "react";
14
- import type $$IMPORT_TYPEOF_1$$ from "./ProgressBarAndroidNativeComponent";
15
- type ProgressBarAndroidNativeComponentType = typeof $$IMPORT_TYPEOF_1$$;
16
- import type { ProgressBarAndroidProps } from "./ProgressBarAndroidTypes";
17
- export type { ProgressBarAndroidProps };
18
- type Omit<T, K> = T extends any ? Pick<T, Exclude<keyof T, K>> : T;
19
- declare let ProgressBarAndroid: (props: Omit<Omit<ProgressBarAndroidProps, never>, keyof {
20
- ref?: React.Ref<React.ComponentRef<ProgressBarAndroidNativeComponentType>>;
21
- }> & {
22
- ref?: React.Ref<React.ComponentRef<ProgressBarAndroidNativeComponentType>>;
23
- }) => React.ReactNode;
24
- /**
25
- * ProgressBarAndroid has been extracted from react-native core and will be removed in a future release.
26
- * It can now be installed and imported from `@react-native-community/progress-bar-android` instead of 'react-native'.
27
- * @see https://github.com/react-native-community/progress-bar-android
28
- * @deprecated
29
- */
30
- declare const $$ProgressBarAndroid: typeof ProgressBarAndroid;
31
- declare type $$ProgressBarAndroid = typeof $$ProgressBarAndroid;
32
- export default $$ProgressBarAndroid;
@@ -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<<9fe473a21a6a02fa0ab8ba54e81407c7>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js
11
- */
12
-
13
- export * from "../../../src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent";
14
- export { default } from "../../../src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent";