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,560 +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<<3580edf8043d820776c1321332467821>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollView.js
11
- */
12
-
13
- import type { HostInstance } from "../../../src/private/types/HostInstance";
14
- import type { EdgeInsetsProp } from "../../StyleSheet/EdgeInsetsPropType";
15
- import type { PointProp } from "../../StyleSheet/PointPropType";
16
- import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
17
- import type { ColorValue } from "../../StyleSheet/StyleSheet";
18
- import type { ScrollEvent } from "../../Types/CoreEventTypes";
19
- import type { KeyboardEvent } from "../Keyboard/Keyboard";
20
- import type { ViewProps } from "../View/ViewPropTypes";
21
- import type { ScrollViewStickyHeaderProps } from "./ScrollViewStickyHeader";
22
- import View from "../View/View";
23
- import ScrollViewContext from "./ScrollViewContext";
24
- import * as React from "react";
25
- export interface ScrollViewScrollToOptions {
26
- x?: number;
27
- y?: number;
28
- animated?: boolean;
29
- }
30
- export interface ScrollViewImperativeMethods {
31
- readonly getScrollResponder: () => ScrollResponderType;
32
- readonly getScrollableNode: () => number | undefined;
33
- readonly getInnerViewNode: () => number | undefined;
34
- readonly getInnerViewRef: () => InnerViewInstance | null;
35
- readonly getNativeScrollRef: () => HostInstance | null;
36
- readonly scrollTo: (options?: ScrollViewScrollToOptions | number, deprecatedX?: number, deprecatedAnimated?: boolean) => void;
37
- readonly scrollToEnd: (options?: ScrollViewScrollToOptions | undefined) => void;
38
- readonly flashScrollIndicators: () => void;
39
- readonly scrollResponderZoomTo: (rect: {
40
- x: number;
41
- y: number;
42
- width: number;
43
- height: number;
44
- animated?: boolean;
45
- }, animated?: boolean) => void;
46
- readonly scrollResponderScrollNativeHandleToKeyboard: (nodeHandle: number | HostInstance, additionalOffset?: number, preventNegativeScrollOffset?: boolean) => void;
47
- }
48
- export type DecelerationRateType = "fast" | "normal" | number;
49
- export type ScrollResponderType = ScrollViewImperativeMethods;
50
- export interface PublicScrollViewInstance extends HostInstance, ScrollViewImperativeMethods {}
51
- type InnerViewInstance = React.ComponentRef<typeof View>;
52
- export type ScrollViewPropsIOS = Readonly<{
53
- /**
54
- * Controls whether iOS should automatically adjust the content inset
55
- * for scroll views that are placed behind a navigation bar or
56
- * tab bar/ toolbar. The default value is true.
57
- * @platform ios
58
- */
59
- automaticallyAdjustContentInsets?: boolean | undefined;
60
- /**
61
- * Controls whether the ScrollView should automatically adjust its `contentInset`
62
- * and `scrollViewInsets` when the Keyboard changes its size. The default value is false.
63
- * @platform ios
64
- */
65
- automaticallyAdjustKeyboardInsets?: boolean | undefined;
66
- /**
67
- * Controls whether iOS should automatically adjust the scroll indicator
68
- * insets. The default value is true. Available on iOS 13 and later.
69
- * @platform ios
70
- */
71
- automaticallyAdjustsScrollIndicatorInsets?: boolean | undefined;
72
- /**
73
- * The amount by which the scroll view content is inset from the edges
74
- * of the scroll view. Defaults to `{top: 0, left: 0, bottom: 0, right: 0}`.
75
- * @platform ios
76
- */
77
- contentInset?: EdgeInsetsProp | undefined;
78
- /**
79
- * When true, the scroll view bounces when it reaches the end of the
80
- * content if the content is larger then the scroll view along the axis of
81
- * the scroll direction. When false, it disables all bouncing even if
82
- * the `alwaysBounce*` props are true. The default value is true.
83
- * @platform ios
84
- */
85
- bounces?: boolean | undefined;
86
- /**
87
- * By default, ScrollView has an active pan responder that hijacks panresponders
88
- * deeper in the render tree in order to prevent accidental touches while scrolling.
89
- * However, in certain occasions (such as when using snapToInterval) in a vertical scrollview
90
- * You may want to disable this behavior in order to prevent the ScrollView from blocking touches
91
- */
92
- disableScrollViewPanResponder?: boolean | undefined;
93
- /**
94
- * When true, gestures can drive zoom past min/max and the zoom will animate
95
- * to the min/max value at gesture end, otherwise the zoom will not exceed
96
- * the limits.
97
- * @platform ios
98
- */
99
- bouncesZoom?: boolean | undefined;
100
- /**
101
- * When true, the scroll view bounces horizontally when it reaches the end
102
- * even if the content is smaller than the scroll view itself. The default
103
- * value is true when `horizontal={true}` and false otherwise.
104
- * @platform ios
105
- */
106
- alwaysBounceHorizontal?: boolean | undefined;
107
- /**
108
- * When true, the scroll view bounces vertically when it reaches the end
109
- * even if the content is smaller than the scroll view itself. The default
110
- * value is false when `horizontal={true}` and true otherwise.
111
- * @platform ios
112
- */
113
- alwaysBounceVertical?: boolean | undefined;
114
- /**
115
- * When true, the scroll view automatically centers the content when the
116
- * content is smaller than the scroll view bounds; when the content is
117
- * larger than the scroll view, this property has no effect. The default
118
- * value is false.
119
- * @platform ios
120
- */
121
- centerContent?: boolean | undefined;
122
- /**
123
- * The style of the scroll indicators.
124
- *
125
- * - `'default'` (the default), same as `black`.
126
- * - `'black'`, scroll indicator is black. This style is good against a light background.
127
- * - `'white'`, scroll indicator is white. This style is good against a dark background.
128
- *
129
- * @platform ios
130
- */
131
- indicatorStyle?: ("default" | "black" | "white") | undefined;
132
- /**
133
- * When true, the ScrollView will try to lock to only vertical or horizontal
134
- * scrolling while dragging. The default value is false.
135
- * @platform ios
136
- */
137
- directionalLockEnabled?: boolean | undefined;
138
- /**
139
- * When false, once tracking starts, won't try to drag if the touch moves.
140
- * The default value is true.
141
- * @platform ios
142
- */
143
- canCancelContentTouches?: boolean | undefined;
144
- /**
145
- * The maximum allowed zoom scale. The default value is 1.0.
146
- * @platform ios
147
- */
148
- maximumZoomScale?: number | undefined;
149
- /**
150
- * The minimum allowed zoom scale. The default value is 1.0.
151
- * @platform ios
152
- */
153
- minimumZoomScale?: number | undefined;
154
- /**
155
- * When true, ScrollView allows use of pinch gestures to zoom in and out.
156
- * The default value is true.
157
- * @platform ios
158
- */
159
- pinchGestureEnabled?: boolean | undefined;
160
- /**
161
- * The amount by which the scroll view indicators are inset from the edges
162
- * of the scroll view. This should normally be set to the same value as
163
- * the `contentInset`. Defaults to `{0, 0, 0, 0}`.
164
- * @platform ios
165
- */
166
- scrollIndicatorInsets?: EdgeInsetsProp | undefined;
167
- /**
168
- * When true, the scroll view can be programmatically scrolled beyond its
169
- * content size. The default value is false.
170
- * @platform ios
171
- */
172
- scrollToOverflowEnabled?: boolean | undefined;
173
- /**
174
- * When true, the scroll view scrolls to top when the status bar is tapped.
175
- * The default value is true.
176
- * @platform ios
177
- */
178
- scrollsToTop?: boolean | undefined;
179
- /**
180
- * Fires when the scroll view scrolls to top after the status bar has been tapped
181
- * @platform ios
182
- */
183
- onScrollToTop?: (event: ScrollEvent) => void;
184
- /**
185
- * When true, shows a horizontal scroll indicator.
186
- * The default value is true.
187
- */
188
- showsHorizontalScrollIndicator?: boolean | undefined;
189
- /**
190
- * The current scale of the scroll view content. The default value is 1.0.
191
- * @platform ios
192
- */
193
- zoomScale?: number | undefined;
194
- /**
195
- * This property specifies how the safe area insets are used to modify the
196
- * content area of the scroll view. The default value of this property is
197
- * "never".
198
- * @platform ios
199
- */
200
- contentInsetAdjustmentBehavior?: ("automatic" | "scrollableAxes" | "never" | "always") | undefined;
201
- /**
202
- * (TvOS only)
203
- * Defines if UIScrollView index should be shown when fast scrolling.
204
- * Defaults to true.
205
- */
206
- showsScrollIndex?: boolean | undefined;
207
- }>;
208
- export type ScrollViewPropsAndroid = Readonly<{
209
- /**
210
- * Enables nested scrolling for Android API level 21+.
211
- * Nested scrolling is supported by default on iOS
212
- * @platform android
213
- */
214
- nestedScrollEnabled?: boolean | undefined;
215
- /**
216
- * Sometimes a scrollview takes up more space than its content fills. When this is
217
- * the case, this prop will fill the rest of the scrollview with a color to avoid setting
218
- * a background and creating unnecessary overdraw. This is an advanced optimization
219
- * that is not needed in the general case.
220
- * @platform android
221
- */
222
- endFillColor?: ColorValue | undefined;
223
- /**
224
- * Tag used to log scroll performance on this scroll view. Will force
225
- * momentum events to be turned on (see sendMomentumEvents). This doesn't do
226
- * anything out of the box and you need to implement a custom native
227
- * FpsListener for it to be useful.
228
- * @platform android
229
- */
230
- scrollPerfTag?: string | undefined;
231
- /**
232
- * Used to override default value of overScroll mode.
233
- *
234
- * Possible values:
235
- *
236
- * - `'auto'` - Default value, allow a user to over-scroll
237
- * this view only if the content is large enough to meaningfully scroll.
238
- * - `'always'` - Always allow a user to over-scroll this view.
239
- * - `'never'` - Never allow a user to over-scroll this view.
240
- *
241
- * @platform android
242
- */
243
- overScrollMode?: ("auto" | "always" | "never") | undefined;
244
- /**
245
- * Causes the scrollbars not to turn transparent when they are not in use.
246
- * The default value is false.
247
- *
248
- * @platform android
249
- */
250
- persistentScrollbar?: boolean | undefined;
251
- /**
252
- * Controls the fading effect at the edges of the scroll content.
253
- *
254
- * A value greater than 0 will apply the fading effect, indicating more content is available
255
- * to scroll.
256
- *
257
- * You can specify a single number to apply the same fading length to both edges.
258
- * Alternatively, use an object with `start` and `end` properties to set different
259
- * fading lengths for the start and end of the scroll content.
260
- *
261
- * The default value is 0.
262
- *
263
- * @platform android
264
- */
265
- fadingEdgeLength?: (number | undefined) | {
266
- start: number;
267
- end: number;
268
- };
269
- }>;
270
- type StickyHeaderComponentType = (props: Omit<ScrollViewStickyHeaderProps, keyof {
271
- ref?: React.Ref<Readonly<{
272
- setNextHeaderY: ($$PARAM_0$$: number) => void;
273
- }>>;
274
- }> & {
275
- ref?: React.Ref<Readonly<{
276
- setNextHeaderY: ($$PARAM_0$$: number) => void;
277
- }>>;
278
- }) => React.ReactNode;
279
- type ScrollViewBaseProps = Readonly<{
280
- /**
281
- * These styles will be applied to the scroll view content container which
282
- * wraps all of the child views. Example:
283
- *
284
- * ```
285
- * return (
286
- * <ScrollView contentContainerStyle={styles.contentContainer}>
287
- * </ScrollView>
288
- * );
289
- * ...
290
- * const styles = StyleSheet.create({
291
- * contentContainer: {
292
- * paddingVertical: 20
293
- * }
294
- * });
295
- * ```
296
- */
297
- contentContainerStyle?: ViewStyleProp | undefined;
298
- /**
299
- * Used to manually set the starting scroll offset.
300
- * The default value is `{x: 0, y: 0}`.
301
- */
302
- contentOffset?: PointProp | undefined;
303
- /**
304
- * When true, the scroll view stops on the next index (in relation to scroll
305
- * position at release) regardless of how fast the gesture is. This can be
306
- * used for pagination when the page is less than the width of the
307
- * horizontal ScrollView or the height of the vertical ScrollView. The default value is false.
308
- */
309
- disableIntervalMomentum?: boolean | undefined;
310
- /**
311
- * A floating-point number that determines how quickly the scroll view
312
- * decelerates after the user lifts their finger. You may also use string
313
- * shortcuts `"normal"` and `"fast"` which match the underlying iOS settings
314
- * for `UIScrollViewDecelerationRateNormal` and
315
- * `UIScrollViewDecelerationRateFast` respectively.
316
- *
317
- * - `'normal'`: 0.998 on iOS, 0.985 on Android (the default)
318
- * - `'fast'`: 0.99 on iOS, 0.9 on Android
319
- */
320
- decelerationRate?: DecelerationRateType | undefined;
321
- /**
322
- * *Experimental, iOS Only*. The API is experimental and will change in future releases.
323
- *
324
- * Controls how much distance is travelled after user stops scrolling.
325
- * Value greater than 1 will increase the distance travelled.
326
- * Value less than 1 will decrease the distance travelled.
327
- *
328
- * @deprecated
329
- *
330
- * The default value is 1.
331
- */
332
- experimental_endDraggingSensitivityMultiplier?: number | undefined;
333
- /**
334
- * When true, the scroll view's children are arranged horizontally in a row
335
- * instead of vertically in a column. The default value is false.
336
- */
337
- horizontal?: boolean | undefined;
338
- /**
339
- * If sticky headers should stick at the bottom instead of the top of the
340
- * ScrollView. This is usually used with inverted ScrollViews.
341
- */
342
- invertStickyHeaders?: boolean | undefined;
343
- /**
344
- * Determines whether the keyboard gets dismissed in response to a drag.
345
- *
346
- * *Cross platform*
347
- *
348
- * - `'none'` (the default), drags do not dismiss the keyboard.
349
- * - `'on-drag'`, the keyboard is dismissed when a drag begins.
350
- *
351
- * *iOS Only*
352
- *
353
- * - `'interactive'`, the keyboard is dismissed interactively with the drag and moves in
354
- * synchrony with the touch; dragging upwards cancels the dismissal.
355
- * On android this is not supported and it will have the same behavior as 'none'.
356
- */
357
- keyboardDismissMode?: ("none" | "on-drag" | "interactive") | undefined;
358
- /**
359
- * Determines when the keyboard should stay visible after a tap.
360
- *
361
- * - `'never'` (the default), tapping outside of the focused text input when the keyboard
362
- * is up dismisses the keyboard. When this happens, children won't receive the tap.
363
- * - `'always'`, the keyboard will not dismiss automatically, and the scroll view will not
364
- * catch taps, but children of the scroll view can catch taps.
365
- * - `'handled'`, the keyboard will not dismiss automatically when the tap was handled by
366
- * a children, (or captured by an ancestor).
367
- * - `false`, deprecated, use 'never' instead
368
- * - `true`, deprecated, use 'always' instead
369
- */
370
- keyboardShouldPersistTaps?: ("always" | "never" | "handled" | true | false) | undefined;
371
- /**
372
- * When set, the scroll view will adjust the scroll position so that the first child that is
373
- * partially or fully visible and at or beyond `minIndexForVisible` will not change position.
374
- * This is useful for lists that are loading content in both directions, e.g. a chat thread,
375
- * where new messages coming in might otherwise cause the scroll position to jump. A value of 0
376
- * is common, but other values such as 1 can be used to skip loading spinners or other content
377
- * that should not maintain position.
378
- *
379
- * The optional `autoscrollToTopThreshold` can be used to make the content automatically scroll
380
- * to the top after making the adjustment if the user was within the threshold of the top before
381
- * the adjustment was made. This is also useful for chat-like applications where you want to see
382
- * new messages scroll into place, but not if the user has scrolled up a ways and it would be
383
- * disruptive to scroll a bunch.
384
- *
385
- * Caveat 1: Reordering elements in the scrollview with this enabled will probably cause
386
- * jumpiness and jank. It can be fixed, but there are currently no plans to do so. For now,
387
- * don't re-order the content of any ScrollViews or Lists that use this feature.
388
- *
389
- * Caveat 2: This simply uses `contentOffset` and `frame.origin` in native code to compute
390
- * visibility. Occlusion, transforms, and other complexity won't be taken into account as to
391
- * whether content is "visible" or not.
392
- *
393
- */
394
- maintainVisibleContentPosition?: Readonly<{
395
- minIndexForVisible: number;
396
- autoscrollToTopThreshold?: number | undefined;
397
- }> | undefined;
398
- /**
399
- * Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).
400
- */
401
- onMomentumScrollBegin?: ((event: ScrollEvent) => void) | undefined;
402
- /**
403
- * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).
404
- */
405
- onMomentumScrollEnd?: ((event: ScrollEvent) => void) | undefined;
406
- /**
407
- * Fires at most once per frame during scrolling.
408
- */
409
- onScroll?: ((event: ScrollEvent) => void) | undefined;
410
- /**
411
- * Called when the user begins to drag the scroll view.
412
- */
413
- onScrollBeginDrag?: ((event: ScrollEvent) => void) | undefined;
414
- /**
415
- * Called when the user stops dragging the scroll view and it either stops
416
- * or begins to glide.
417
- */
418
- onScrollEndDrag?: ((event: ScrollEvent) => void) | undefined;
419
- /**
420
- * Called when scrollable content view of the ScrollView changes.
421
- *
422
- * Handler function is passed the content width and content height as parameters:
423
- * `(contentWidth, contentHeight)`
424
- *
425
- * It's implemented using onLayout handler attached to the content container
426
- * which this ScrollView renders.
427
- */
428
- onContentSizeChange?: (contentWidth: number, contentHeight: number) => void;
429
- onKeyboardDidShow?: (event: KeyboardEvent) => void;
430
- onKeyboardDidHide?: (event: KeyboardEvent) => void;
431
- onKeyboardWillShow?: (event: KeyboardEvent) => void;
432
- onKeyboardWillHide?: (event: KeyboardEvent) => void;
433
- /**
434
- * When true, the scroll view stops on multiples of the scroll view's size
435
- * when scrolling. This can be used for horizontal pagination. The default
436
- * value is false.
437
- */
438
- pagingEnabled?: boolean | undefined;
439
- /**
440
- * When false, the view cannot be scrolled via touch interaction.
441
- * The default value is true.
442
- *
443
- * Note that the view can always be scrolled by calling `scrollTo`.
444
- */
445
- scrollEnabled?: boolean | undefined;
446
- /**
447
- * Limits how often scroll events will be fired while scrolling, specified as
448
- * a time interval in ms. This may be useful when expensive work is performed
449
- * in response to scrolling. Values <= `16` will disable throttling,
450
- * regardless of the refresh rate of the device.
451
- */
452
- scrollEventThrottle?: number | undefined;
453
- /**
454
- * When true, shows a vertical scroll indicator.
455
- * The default value is true.
456
- */
457
- showsVerticalScrollIndicator?: boolean | undefined;
458
- /**
459
- * When true, Sticky header is hidden when scrolling down, and dock at the top
460
- * when scrolling up
461
- */
462
- stickyHeaderHiddenOnScroll?: boolean | undefined;
463
- /**
464
- * An array of child indices determining which children get docked to the
465
- * top of the screen when scrolling. For example, passing
466
- * `stickyHeaderIndices={[0]}` will cause the first child to be fixed to the
467
- * top of the scroll view. This property is not supported in conjunction
468
- * with `horizontal={true}`.
469
- */
470
- stickyHeaderIndices?: ReadonlyArray<number> | undefined;
471
- /**
472
- * A React Component that will be used to render sticky headers.
473
- * To be used together with `stickyHeaderIndices` or with `SectionList`, defaults to `ScrollViewStickyHeader`.
474
- * You may need to set this if your sticky header uses custom transforms (eg. translation),
475
- * for example when you want your list to have an animated hidable header.
476
- */
477
- StickyHeaderComponent?: StickyHeaderComponentType;
478
- /**
479
- * When `snapToInterval` is set, `snapToAlignment` will define the relationship
480
- * of the snapping to the scroll view.
481
- *
482
- * - `'start'` (the default) will align the snap at the left (horizontal) or top (vertical)
483
- * - `'center'` will align the snap in the center
484
- * - `'end'` will align the snap at the right (horizontal) or bottom (vertical)
485
- */
486
- snapToAlignment?: ("start" | "center" | "end") | undefined;
487
- /**
488
- * When set, causes the scroll view to stop at multiples of the value of
489
- * `snapToInterval`. This can be used for paginating through children
490
- * that have lengths smaller than the scroll view. Typically used in
491
- * combination with `snapToAlignment` and `decelerationRate="fast"`.
492
- *
493
- * Overrides less configurable `pagingEnabled` prop.
494
- */
495
- snapToInterval?: number | undefined;
496
- /**
497
- * When set, causes the scroll view to stop at the defined offsets.
498
- * This can be used for paginating through variously sized children
499
- * that have lengths smaller than the scroll view. Typically used in
500
- * combination with `decelerationRate="fast"`.
501
- *
502
- * Overrides less configurable `pagingEnabled` and `snapToInterval` props.
503
- */
504
- snapToOffsets?: ReadonlyArray<number> | undefined;
505
- /**
506
- * Use in conjunction with `snapToOffsets`. By default, the beginning
507
- * of the list counts as a snap offset. Set `snapToStart` to false to disable
508
- * this behavior and allow the list to scroll freely between its start and
509
- * the first `snapToOffsets` offset.
510
- * The default value is true.
511
- */
512
- snapToStart?: boolean | undefined;
513
- /**
514
- * Use in conjunction with `snapToOffsets`. By default, the end
515
- * of the list counts as a snap offset. Set `snapToEnd` to false to disable
516
- * this behavior and allow the list to scroll freely between its end and
517
- * the last `snapToOffsets` offset.
518
- * The default value is true.
519
- */
520
- snapToEnd?: boolean | undefined;
521
- /**
522
- * Experimental: When true, offscreen child views (whose `overflow` value is
523
- * `hidden`) are removed from their native backing superview when offscreen.
524
- * This can improve scrolling performance on long lists. The default value is
525
- * true.
526
- */
527
- removeClippedSubviews?: boolean | undefined;
528
- /**
529
- * A RefreshControl component, used to provide pull-to-refresh
530
- * functionality for the ScrollView. Only works for vertical ScrollViews
531
- * (`horizontal` prop must be `false`).
532
- *
533
- * See [RefreshControl](docs/refreshcontrol.html).
534
- */
535
- refreshControl?: React.JSX.Element | undefined;
536
- children?: React.ReactNode;
537
- /**
538
- * A ref to the inner View element of the ScrollView. This should be used
539
- * instead of calling `getInnerViewRef`.
540
- */
541
- innerViewRef?: React.Ref<InnerViewInstance>;
542
- /**
543
- * A ref to the Native ScrollView component. This ref can be used to call
544
- * all of ScrollView's public methods, in addition to native methods like
545
- * measure, measureLayout, etc.
546
- */
547
- scrollViewRef?: React.Ref<PublicScrollViewInstance>;
548
- }>;
549
- export type ScrollViewProps = Readonly<Omit<Omit<ViewProps, "experimental_accessibilityOrder">, keyof ScrollViewPropsIOS | keyof ScrollViewPropsAndroid | keyof ScrollViewBaseProps | keyof {}> & Omit<ScrollViewPropsIOS, keyof ScrollViewPropsAndroid | keyof ScrollViewBaseProps | keyof {}> & Omit<ScrollViewPropsAndroid, keyof ScrollViewBaseProps | keyof {}> & Omit<ScrollViewBaseProps, keyof {}> & {}>;
550
- export type ScrollViewComponentStatics = Readonly<{
551
- Context: typeof ScrollViewContext;
552
- }>;
553
- declare const ScrollViewWrapper: (props: Omit<ScrollViewProps, keyof {
554
- ref?: React.Ref<PublicScrollViewInstance>;
555
- }> & {
556
- ref?: React.Ref<PublicScrollViewInstance>;
557
- }) => React.ReactNode;
558
- declare const $$ScrollView: typeof ScrollViewWrapper & ScrollViewComponentStatics;
559
- declare type $$ScrollView = typeof $$ScrollView;
560
- export default $$ScrollView;
@@ -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<<42cbbc1df2b68d456fcc4db2c8aeec59>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js
11
- */
12
-
13
- import * as React from "react";
14
- type Value = {
15
- horizontal: boolean;
16
- } | null;
17
- declare const ScrollViewContext: React.Context<Value>;
18
- declare const $$ScrollViewContext: typeof ScrollViewContext;
19
- declare type $$ScrollViewContext = typeof $$ScrollViewContext;
20
- export default $$ScrollViewContext;
21
- export declare const HORIZONTAL: Value;
22
- export declare type HORIZONTAL = typeof HORIZONTAL;
23
- export declare const VERTICAL: Value;
24
- export declare type VERTICAL = typeof VERTICAL;
@@ -1,21 +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<<77dc33a0a7d5472f1911008d8afcef95>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollViewNativeComponent.js
11
- */
12
-
13
- import type { HostComponent } from "../../../src/private/types/HostComponent";
14
- import type { PartialViewConfig } from "../../Renderer/shims/ReactNativeTypes";
15
- import type { ScrollViewNativeProps as Props } from "./ScrollViewNativeComponentType";
16
- export declare const __INTERNAL_VIEW_CONFIG: PartialViewConfig;
17
- export declare type __INTERNAL_VIEW_CONFIG = typeof __INTERNAL_VIEW_CONFIG;
18
- declare const ScrollViewNativeComponent: HostComponent<Props>;
19
- declare const $$ScrollViewNativeComponent: typeof ScrollViewNativeComponent;
20
- declare type $$ScrollViewNativeComponent = typeof $$ScrollViewNativeComponent;
21
- export default $$ScrollViewNativeComponent;