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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/Libraries/Components/Button.js +0 -1
  2. package/Libraries/Components/Pressable/Pressable.d.ts +1 -1
  3. package/Libraries/Components/Pressable/Pressable.js +14 -12
  4. package/Libraries/Components/TV/TVParallaxProperties.d.ts +42 -0
  5. package/Libraries/Components/TV/TVViewPropTypes.js +45 -8
  6. package/Libraries/Components/Touchable/TouchableHighlight.js +5 -32
  7. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +5 -50
  8. package/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -1
  9. package/Libraries/Components/Touchable/TouchableOpacity.js +5 -56
  10. package/Libraries/Components/View/View.js +21 -1
  11. package/Libraries/Components/View/ViewPropTypes.d.ts +59 -41
  12. package/Libraries/Components/View/ViewPropTypes.js +5 -86
  13. package/Libraries/Core/ReactNativeVersion.js +1 -1
  14. package/React/Base/RCTVersion.m +1 -1
  15. package/ReactAndroid/gradle.properties +1 -1
  16. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  17. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +0 -25
  18. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
  19. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  20. package/package.json +2 -2
  21. package/types/public/ReactNativeTVTypes.d.ts +1 -43
  22. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
  23. package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
  24. package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
  25. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
  26. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
  27. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
  28. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
  29. package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
  30. package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
  31. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
  32. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
  33. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
  34. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
  35. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
  36. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
  37. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
  38. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
  39. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
  40. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
  41. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
  42. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
  43. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
  44. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
  45. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
  46. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
  47. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
  48. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
  49. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
  50. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
  51. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
  52. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
  53. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
  54. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
  55. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
  56. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
  57. package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
  58. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
  59. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
  60. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
  61. package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
  62. package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
  63. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
  64. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
  65. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
  66. package/types_generated/Libraries/Components/Button.d.ts +0 -251
  67. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
  68. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
  69. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
  70. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
  71. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
  72. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
  73. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
  74. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
  75. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
  76. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
  77. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
  78. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
  79. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
  80. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
  81. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
  82. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
  83. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
  84. package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
  85. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
  86. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
  87. package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
  88. package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
  89. package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
  90. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
  91. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
  92. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
  93. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
  94. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
  95. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
  96. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
  97. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
  98. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
  99. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
  100. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
  101. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
  102. package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
  103. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
  104. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
  105. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
  106. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
  107. package/types_generated/Libraries/Components/View/View.d.ts +0 -30
  108. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
  109. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
  110. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
  111. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
  112. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
  113. package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
  114. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
  115. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
  116. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
  117. package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
  118. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
  119. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
  120. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
  121. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
  122. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
  123. package/types_generated/Libraries/Image/Image.d.ts +0 -18
  124. package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
  125. package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
  126. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
  127. package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
  128. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
  129. package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
  130. package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
  131. package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
  132. package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
  133. package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
  134. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
  135. package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
  136. package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
  137. package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
  138. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
  139. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
  140. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
  141. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
  142. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
  143. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
  144. package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
  145. package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
  146. package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
  147. package/types_generated/Libraries/Network/FormData.d.ts +0 -56
  148. package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
  149. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
  150. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
  151. package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
  152. package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
  153. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
  154. package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
  155. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
  156. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
  157. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
  158. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
  159. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
  160. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
  161. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
  162. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
  163. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
  164. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
  165. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
  166. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
  167. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
  168. package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
  169. package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
  170. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
  171. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
  172. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
  173. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
  174. package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
  175. package/types_generated/Libraries/Share/Share.d.ts +0 -85
  176. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
  177. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
  178. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
  179. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
  180. package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
  181. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
  182. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
  183. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
  184. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
  185. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
  186. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
  187. package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
  188. package/types_generated/Libraries/Text/Text.d.ts +0 -30
  189. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
  190. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
  191. package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
  192. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
  193. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
  194. package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
  195. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
  196. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
  197. package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
  198. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
  199. package/types_generated/Libraries/UTFSequence.d.ts +0 -39
  200. package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
  201. package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
  202. package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
  203. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
  204. package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
  205. package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
  206. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
  207. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
  208. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
  209. package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
  210. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
  211. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
  212. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
  213. package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
  214. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
  215. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
  216. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
  217. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
  218. package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
  219. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
  220. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
  221. package/types_generated/index.d.ts +0 -164
  222. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
  223. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
  224. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
  225. package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
  226. package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
  227. package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
  228. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
  229. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
  230. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
  231. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
  232. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
  233. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
  234. package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
  235. package/types_generated/src/private/types/HostComponent.d.ts +0 -19
  236. package/types_generated/src/private/types/HostInstance.d.ts +0 -91
  237. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
  238. package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
  239. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
  240. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
  241. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
  242. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
  243. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
  244. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
  245. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
  246. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
  247. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
  248. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
  249. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
  250. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
  251. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
  252. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
  253. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
  254. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
  255. package/types_generated/tsconfig.json +0 -3
  256. package/types_generated/tsconfig.test.json +0 -16
@@ -1,41 +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<<3a79a0b8e110424dd7d417cd5eff6dff>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js
11
- */
12
-
13
- import { type ViewConfig } from "./ReactNativeTypes";
14
- export declare const customBubblingEventTypes: {
15
- [eventName: string]: Readonly<{
16
- phasedRegistrationNames: Readonly<{
17
- captured: string;
18
- bubbled: string;
19
- skipBubbling?: boolean | undefined;
20
- }>;
21
- }>;
22
- };
23
- export declare type customBubblingEventTypes = typeof customBubblingEventTypes;
24
- export declare const customDirectEventTypes: {
25
- [eventName: string]: Readonly<{
26
- registrationName: string;
27
- }>;
28
- };
29
- export declare type customDirectEventTypes = typeof customDirectEventTypes;
30
- /**
31
- * Registers a native view/component by name.
32
- * A callback is provided to load the view config from UIManager.
33
- * The callback is deferred until the view is actually rendered.
34
- */
35
- export declare function register(name: string, callback: () => ViewConfig): string;
36
- /**
37
- * Retrieves a config for the specified view.
38
- * If this is the first time the view has been used,
39
- * This configuration will be lazy-loaded from UIManager.
40
- */
41
- export declare function get(name: string): ViewConfig;
@@ -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<<cad18a5377d3e3d4d7bcc9769b5c32bc>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Settings/Settings.js
11
- */
12
-
13
- declare let Settings: {
14
- get(key: string): any;
15
- set(settings: Object): void;
16
- watchKeys(keys: string | Array<string>, callback: () => void): number;
17
- clearWatch(watchId: number): void;
18
- };
19
- declare const $$Settings: typeof Settings;
20
- declare type $$Settings = typeof $$Settings;
21
- export default $$Settings;
@@ -1,85 +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<<c46c2ecc9012b9d05033191d208b0603>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/Share/Share.js
11
- */
12
-
13
- import type { ColorValue } from "../StyleSheet/StyleSheet";
14
- export type ShareContent = {
15
- title?: string;
16
- url: string;
17
- message?: string;
18
- } | {
19
- title?: string;
20
- url?: string;
21
- message: string;
22
- };
23
- export type ShareOptions = {
24
- dialogTitle?: string;
25
- excludedActivityTypes?: Array<string>;
26
- tintColor?: ColorValue;
27
- subject?: string;
28
- anchor?: number;
29
- };
30
- export type ShareAction = {
31
- action: "sharedAction" | "dismissedAction";
32
- activityType?: string | null;
33
- };
34
- declare class Share {
35
- /**
36
- * Open a dialog to share text content.
37
- *
38
- * In iOS, Returns a Promise which will be invoked an object containing `action`, `activityType`.
39
- * If the user dismissed the dialog, the Promise will still be resolved with action being `Share.dismissedAction`
40
- * and all the other keys being undefined.
41
- *
42
- * In Android, Returns a Promise which always resolves with action being `Share.sharedAction`.
43
- *
44
- * ### Content
45
- *
46
- * #### iOS
47
- *
48
- * - `url` - a URL to share
49
- * - `message` - a message to share
50
- *
51
- * At least one of `URL` or `message` is required.
52
- *
53
- * #### Android
54
- *
55
- * - `title` - title of the message (optional)
56
- * - `message` - a message to share (often will include a URL).
57
- *
58
- * ### Options
59
- *
60
- * #### iOS
61
- *
62
- * - `subject` - a subject to share via email
63
- * - `excludedActivityTypes`
64
- * - `tintColor`
65
- *
66
- * #### Android
67
- *
68
- * - `dialogTitle`
69
- *
70
- */
71
- static share(content: ShareContent, options?: ShareOptions): Promise<{
72
- action: string;
73
- activityType: string | undefined;
74
- }>;
75
- /**
76
- * The content was successfully shared.
77
- */
78
- static sharedAction: "sharedAction";
79
- /**
80
- * The dialog has been dismissed.
81
- * @platform ios
82
- */
83
- static dismissedAction: "dismissedAction";
84
- }
85
- export default Share;
@@ -1,15 +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<<e903c27140e2c9f612c8debb0e5312a6>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/EdgeInsetsPropType.js
11
- */
12
-
13
- import type { Rect, RectOrSize } from "./Rect";
14
- export type EdgeInsetsProp = Rect;
15
- export type EdgeInsetsOrSizeProp = RectOrSize;
@@ -1,17 +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<<5b3e64b2226f542cc23a9519114a3d32>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/PlatformColorValueTypes.js.flow
11
- */
12
-
13
- import type { ProcessedColorValue } from "./processColor";
14
- import type { ColorValue, NativeColorValue } from "./StyleSheet";
15
- export declare function PlatformColor(...names: Array<string>): ColorValue;
16
- export declare function normalizeColorObject(color: NativeColorValue): null | undefined | ProcessedColorValue;
17
- export declare function processColorObject(color: NativeColorValue): null | undefined | NativeColorValue;
@@ -1,27 +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<<d334ebcdbb162a1b7b477deeb57f426f>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js
11
- */
12
-
13
- import type { ColorValue } from "./StyleSheet";
14
- export type DynamicColorIOSTuple = {
15
- light: ColorValue;
16
- dark: ColorValue;
17
- highContrastLight?: ColorValue;
18
- highContrastDark?: ColorValue;
19
- };
20
- /**
21
- * Specify color to display depending on the current system appearance settings
22
- *
23
- * @param tuple Colors you want to use for "light mode" and "dark mode"
24
- * @platform ios
25
- */
26
- export declare const DynamicColorIOS: (tuple: DynamicColorIOSTuple) => ColorValue;
27
- export declare type DynamicColorIOS = typeof DynamicColorIOS;
@@ -1,16 +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<<fbe7c313efa51884d15d0008692e1322>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/PointPropType.js
11
- */
12
-
13
- export type PointProp = Readonly<{
14
- x: number;
15
- y: number;
16
- }>;
@@ -1,22 +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<<67cf9fdaae08523831790e715ab4c6c3>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/Rect.js
11
- */
12
-
13
- export type Rect = Readonly<{
14
- bottom?: number | undefined;
15
- left?: number | undefined;
16
- right?: number | undefined;
17
- top?: number | undefined;
18
- }>;
19
- export type Insets = Rect;
20
- export type RectOrSize = Rect | number;
21
- export declare function createSquare(size: number): Rect;
22
- export declare function normalizeRect(rectOrSize: null | undefined | RectOrSize): null | undefined | Rect;
@@ -1,153 +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<<b4e983fb27c30ca05c10d85b8f2b2e54>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/StyleSheet.js.flow
11
- */
12
-
13
- export * as default from "./StyleSheetExports";
14
- import type { ____ColorValue_Internal, ____DangerouslyImpreciseStyle_Internal, ____DangerouslyImpreciseStyleProp_Internal, ____FontVariant_Internal, ____ImageStyle_Internal, ____ImageStyleProp_Internal, ____TextStyle_Internal, ____TextStyleProp_Internal, ____TransformStyle_Internal, ____ViewStyle_Internal, ____ViewStyleProp_Internal, NativeColorValue } from "./StyleSheetTypes";
15
- export type { BoxShadowValue, FilterFunction, NativeColorValue, StyleProp } from "./StyleSheetTypes";
16
- export type StyleSheetProperties = {
17
- hairlineWidth: number;
18
- flatten<T extends string>(style: T): T;
19
- };
20
- /**
21
- * This type should be used as the type for anything that is a color. It is
22
- * most useful when using DynamicColorIOS which can be a string or a dynamic
23
- * color object.
24
- *
25
- * type props = {backgroundColor: ColorValue};
26
- */
27
- export type ColorValue = ____ColorValue_Internal;
28
- /**
29
- * Expose the opaque type for NativeColorValue.
30
- * @deprecated Use NativeColorValue instead.
31
- */
32
- export type OpaqueColorValue = NativeColorValue;
33
- /**
34
- * This type is an object of the properties related to transforms.
35
- */
36
- export type TransformsStyle = ____TransformStyle_Internal;
37
- /**
38
- * This type holds possible values for the `fontVariant` style property.
39
- */
40
- export type FontVariant = ____FontVariant_Internal;
41
- /**
42
- * This type should be used as the type for a prop that is passed through
43
- * to a <View>'s `style` prop. This ensures call sites of the component
44
- * can't pass styles that View doesn't support such as `fontSize`.`
45
- *
46
- * type Props = {style: ViewStyleProp}
47
- * const MyComponent = (props: Props) => <View style={props.style} />
48
- */
49
- export type ViewStyleProp = ____ViewStyleProp_Internal;
50
- /**
51
- * This type should be used as the type for a prop that is passed through
52
- * to a <Text>'s `style` prop. This ensures call sites of the component
53
- * can't pass styles that Text doesn't support such as `resizeMode`.`
54
- *
55
- * type Props = {style: TextStyleProp}
56
- * const MyComponent = (props: Props) => <Text style={props.style} />
57
- */
58
- export type TextStyleProp = ____TextStyleProp_Internal;
59
- /**
60
- * This type should be used as the type for a prop that is passed through
61
- * to an <Image>'s `style` prop. This ensures call sites of the component
62
- * can't pass styles that Image doesn't support such as `fontSize`.`
63
- *
64
- * type Props = {style: ImageStyleProp}
65
- * const MyComponent = (props: Props) => <Image style={props.style} />
66
- */
67
- export type ImageStyleProp = ____ImageStyleProp_Internal;
68
- /**
69
- * WARNING: You probably shouldn't be using this type. This type
70
- * is similar to the ones above except it allows styles that are accepted
71
- * by all of View, Text, or Image. It is therefore very unsafe to pass this
72
- * through to an underlying component. Using this is almost always a mistake
73
- * and using one of the other more restrictive types is likely the right choice.
74
- */
75
- export type DangerouslyImpreciseStyleProp = ____DangerouslyImpreciseStyleProp_Internal;
76
- /**
77
- * Utility type for getting the values for specific style keys.
78
- *
79
- * The following is bad because position is more restrictive than 'string':
80
- * ```
81
- * type Props = {position: string};
82
- * ```
83
- *
84
- * You should use the following instead:
85
- *
86
- * ```
87
- * type Props = {position: TypeForStyleKey<'position'>};
88
- * ```
89
- *
90
- * This will correctly give you the type 'absolute' | 'relative'
91
- */
92
- export type TypeForStyleKey<key extends keyof ____DangerouslyImpreciseStyle_Internal> = ____DangerouslyImpreciseStyle_Internal[key];
93
- /**
94
- * This type is an object of the different possible style
95
- * properties that can be specified for View.
96
- *
97
- * Note that this isn't a safe way to type a style prop for a component as
98
- * results from StyleSheet.create return an internal identifier, not
99
- * an object of styles.
100
- *
101
- * If you want to type the style prop of a function,
102
- * consider using ViewStyleProp.
103
- *
104
- * A reasonable usage of this type is for helper functions that return an
105
- * object of styles to pass to a View that can't be precomputed with
106
- * StyleSheet.create.
107
- */
108
- export type ViewStyle = ____ViewStyle_Internal;
109
- /**
110
- * This type is an object of the different possible style
111
- * properties that can be specified for Text.
112
- *
113
- * Note that this isn't a safe way to type a style prop for a component as
114
- * results from StyleSheet.create return an internal identifier, not
115
- * an object of styles.
116
- *
117
- * If you want to type the style prop of a function,
118
- * consider using TextStyleProp.
119
- *
120
- * A reasonable usage of this type is for helper functions that return an
121
- * object of styles to pass to a Text that can't be precomputed with
122
- * StyleSheet.create.
123
- */
124
- export type TextStyle = ____TextStyle_Internal;
125
- /**
126
- * This type is an object of the different possible style
127
- * properties that can be specified for Image.
128
- *
129
- * Note that this isn't a safe way to type a style prop for a component as
130
- * results from StyleSheet.create return an internal identifier, not
131
- * an object of styles.
132
- *
133
- * If you want to type the style prop of a function,
134
- * consider using ImageStyleProp.
135
- *
136
- * A reasonable usage of this type is for helper functions that return an
137
- * object of styles to pass to an Image that can't be precomputed with
138
- * StyleSheet.create.
139
- */
140
- export type ImageStyle = ____ImageStyle_Internal;
141
- /**
142
- * WARNING: You probably shouldn't be using this type. This type is an object
143
- * with all possible style keys and their values. Note that this isn't
144
- * a safe way to type a style prop for a component as results from
145
- * StyleSheet.create return an internal identifier, not an object of styles.
146
- *
147
- * If you want to type the style prop of a function, consider using
148
- * ViewStyleProp, TextStyleProp, or ImageStyleProp.
149
- *
150
- * This should only be used by very core utilities that operate on an object
151
- * containing any possible style value.
152
- */
153
- export type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;
@@ -1,107 +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<<fabdc2c1c30842e3c26e05dd87efa447>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/StyleSheetExports.js.flow
11
- */
12
-
13
- import type { ____Styles_Internal } from "./StyleSheetTypes";
14
- import composeStyles from "../../src/private/styles/composeStyles";
15
- import flattenStyle from "./flattenStyle";
16
- /**
17
- * This is defined as the width of a thin line on the platform. It can be
18
- * used as the thickness of a border or division between two elements.
19
- * Example:
20
- * ```
21
- * {
22
- * borderBottomColor: '#bbb',
23
- * borderBottomWidth: StyleSheet.hairlineWidth
24
- * }
25
- * ```
26
- *
27
- * This constant will always be a round number of pixels (so a line defined
28
- * by it look crisp) and will try to match the standard width of a thin line
29
- * on the underlying platform. However, you should not rely on it being a
30
- * constant size, because on different platforms and screen densities its
31
- * value may be calculated differently.
32
- */
33
- export declare const hairlineWidth: number;
34
- export declare type hairlineWidth = typeof hairlineWidth;
35
- /**
36
- * A very common pattern is to create overlays with position absolute and zero positioning,
37
- * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated
38
- * styles.
39
- */
40
- export declare const absoluteFill: any;
41
- export declare type absoluteFill = typeof absoluteFill;
42
- /**
43
- * Sometimes you may want `absoluteFill` but with a couple tweaks - `absoluteFillObject` can be
44
- * used to create a customized entry in a `StyleSheet`, e.g.:
45
- *
46
- * const styles = StyleSheet.create({
47
- * wrapper: {
48
- * ...StyleSheet.absoluteFillObject,
49
- * top: 10,
50
- * backgroundColor: 'transparent',
51
- * },
52
- * });
53
- */
54
- export declare const absoluteFillObject: {
55
- readonly bottom: 0;
56
- readonly left: 0;
57
- readonly position: "absolute";
58
- readonly right: 0;
59
- readonly top: 0;
60
- };
61
- export declare type absoluteFillObject = typeof absoluteFillObject;
62
- /**
63
- * Combines two styles such that style2 will override any styles in style1.
64
- * If either style is falsy, the other one is returned without allocating
65
- * an array, saving allocations and maintaining reference equality for
66
- * PureComponent checks.
67
- */
68
- export declare const compose: typeof composeStyles;
69
- export declare type compose = typeof compose;
70
- /**
71
- * Flattens an array of style objects, into one aggregated style object.
72
- *
73
- * Example:
74
- * ```
75
- * const styles = StyleSheet.create({
76
- * listItem: {
77
- * flex: 1,
78
- * fontSize: 16,
79
- * color: 'white'
80
- * },
81
- * selectedListItem: {
82
- * color: 'green'
83
- * }
84
- * });
85
- *
86
- * StyleSheet.flatten([styles.listItem, styles.selectedListItem])
87
- * // returns { flex: 1, fontSize: 16, color: 'green' }
88
- * ```
89
- */
90
- export declare const flatten: typeof flattenStyle;
91
- export declare type flatten = typeof flatten;
92
- /**
93
- * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will
94
- * not be reliably announced. The whole thing might be deleted, who knows? Use
95
- * at your own risk.
96
- *
97
- * Sets a function to use to pre-process a style property value. This is used
98
- * internally to process color and transform values. You should not use this
99
- * unless you really know what you are doing and have exhausted other options.
100
- */
101
- export declare const setStyleAttributePreprocessor: (property: string, process: (nextProp: any) => any) => void;
102
- export declare type setStyleAttributePreprocessor = typeof setStyleAttributePreprocessor;
103
- /**
104
- * An identity function for creating style sheets.
105
- */
106
- export declare const create: <S extends ____Styles_Internal>(obj: S & ____Styles_Internal) => Readonly<S>;
107
- export declare type create = typeof create;