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,826 +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<<5a60758fe3e45a1ede3edd4ea56800cb>>
8
- *
9
- * This file was translated from Flow by scripts/build-types/index.js.
10
- * Original file: packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js
11
- */
12
-
13
- import type { WithAnimatedValue } from "../Animated/createAnimatedComponent";
14
- import type { ImageResizeMode } from "./../Image/ImageResizeMode";
15
- import type { ____DangerouslyImpreciseStyle_InternalOverrides, ____ImageStyle_InternalOverrides, ____ShadowStyle_InternalOverrides, ____TextStyle_InternalOverrides, ____ViewStyle_InternalOverrides } from "./private/_StyleSheetTypesOverrides";
16
- import type { ____TransformStyle_Internal } from "./private/_TransformStyle";
17
- import type { ColorValue } from "./StyleSheet";
18
- export type { ____TransformStyle_Internal };
19
- export declare type NativeColorValue = symbol & {
20
- __NativeColorValue__: string;
21
- };
22
- export type ____ColorValue_Internal = null | string | number | NativeColorValue;
23
- export type ColorArrayValue = null | ReadonlyArray<____ColorValue_Internal>;
24
- export type PointValue = {
25
- x: number;
26
- y: number;
27
- };
28
- export type EdgeInsetsValue = {
29
- top: number;
30
- left: number;
31
- right: number;
32
- bottom: number;
33
- };
34
- export type DimensionValue = number | string | "auto" | null;
35
- export type CursorValue = "auto" | "pointer";
36
- /**
37
- * React Native's layout system is based on Flexbox and is powered both
38
- * on iOS and Android by an open source project called `Yoga`:
39
- * https://github.com/facebook/yoga
40
- *
41
- * The implementation in Yoga is slightly different from what the
42
- * Flexbox spec defines - for example, we chose more sensible default
43
- * values. Since our layout docs are generated from the comments in this
44
- * file, please keep a brief comment describing each prop type.
45
- *
46
- * These properties are a subset of our styles that are consumed by the layout
47
- * algorithm and affect the positioning and sizing of views.
48
- */
49
- /**
50
- * React Native's layout system is based on Flexbox and is powered both
51
- * on iOS and Android by an open source project called `Yoga`:
52
- * https://github.com/facebook/yoga
53
- *
54
- * The implementation in Yoga is slightly different from what the
55
- * Flexbox spec defines - for example, we chose more sensible default
56
- * values. Since our layout docs are generated from the comments in this
57
- * file, please keep a brief comment describing each prop type.
58
- *
59
- * These properties are a subset of our styles that are consumed by the layout
60
- * algorithm and affect the positioning and sizing of views.
61
- */
62
- type ____LayoutStyle_Internal = Readonly<{
63
- /** `display` sets the display type of this component.
64
- *
65
- * It works similarly to `display` in CSS, but only support 'flex' and 'none'.
66
- * 'flex' is the default.
67
- */
68
- display?: "none" | "flex" | "contents";
69
- /** `width` sets the width of this component.
70
- *
71
- * It works similarly to `width` in CSS, but in React Native you
72
- * must use points or percentages. Ems and other units are not supported.
73
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/width for more details.
74
- */
75
- width?: DimensionValue;
76
- /** `height` sets the height of this component.
77
- *
78
- * It works similarly to `height` in CSS, but in React Native you
79
- * must use points or percentages. Ems and other units are not supported.
80
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/height for more details.
81
- */
82
- height?: DimensionValue;
83
- /** `bottom` is the number of logical pixels to offset the bottom edge of
84
- * this component.
85
- *
86
- * It works similarly to `bottom` in CSS, but in React Native you
87
- * must use points or percentages. Ems and other units are not supported.
88
- *
89
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom
90
- * for more details of how `bottom` affects layout.
91
- */
92
- bottom?: DimensionValue;
93
- /**
94
- * When the direction is `ltr`, `end` is equivalent to `right`.
95
- * When the direction is `rtl`, `end` is equivalent to `left`.
96
- *
97
- * This style takes precedence over the `left` and `right` styles.
98
- */
99
- end?: DimensionValue;
100
- /** `left` is the number of logical pixels to offset the left edge of
101
- * this component.
102
- *
103
- * It works similarly to `left` in CSS, but in React Native you
104
- * must use points or percentages. Ems and other units are not supported.
105
- *
106
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/left
107
- * for more details of how `left` affects layout.
108
- */
109
- left?: DimensionValue;
110
- /** `right` is the number of logical pixels to offset the right edge of
111
- * this component.
112
- *
113
- * It works similarly to `right` in CSS, but in React Native you
114
- * must use points or percentages. Ems and other units are not supported.
115
- *
116
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/right
117
- * for more details of how `right` affects layout.
118
- */
119
- right?: DimensionValue;
120
- /**
121
- * When the direction is `ltr`, `start` is equivalent to `left`.
122
- * When the direction is `rtl`, `start` is equivalent to `right`.
123
- *
124
- * This style takes precedence over the `left`, `right`, and `end` styles.
125
- */
126
- start?: DimensionValue;
127
- /** `top` is the number of logical pixels to offset the top edge of
128
- * this component.
129
- *
130
- * It works similarly to `top` in CSS, but in React Native you
131
- * must use points or percentages. Ems and other units are not supported.
132
- *
133
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/top
134
- * for more details of how `top` affects layout.
135
- */
136
- top?: DimensionValue;
137
- /** `inset` is a shorthand that corresponds to the top, right, bottom, and/or left properties.
138
- *
139
- * It works similarly to `inset` in CSS, but in React Native you
140
- * must use points or percentages. Ems and other units are not supported.
141
- *
142
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset
143
- * for more details of how `inset` affects layout.
144
- */
145
- inset?: DimensionValue;
146
- /** `insetBlock` is a shorthand that corresponds to the `insetBlockStart` and `insetBlockEnd` properties.
147
- *
148
- * It works similarly to `inset-block` in CSS, but in React Native you
149
- * must use points or percentages. Ems and other units are not supported.
150
- *
151
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block
152
- * for more details of how `inset-block` affects layout.
153
- */
154
- insetBlock?: DimensionValue;
155
- /** `insetBlockEnd` is a logical property that sets the length that an
156
- * element is offset in the block direction from its ending edge.
157
- *
158
- * It works similarly to `inset-block-end` in CSS, but in React Native you
159
- * must use points or percentages. Ems and other units are not supported.
160
- *
161
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-end
162
- * for more details of how `inset-block-end` affects layout.
163
- */
164
- insetBlockEnd?: DimensionValue;
165
- /** `insetBlockStart` is a logical property that sets the length that an
166
- * element is offset in the block direction from its starting edge.
167
- *
168
- * It works similarly to `inset-block-start` in CSS, but in React Native you
169
- * must use points or percentages. Ems and other units are not supported.
170
- *
171
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-start
172
- * for more details of how `inset-block-start` affects layout.
173
- */
174
- insetBlockStart?: DimensionValue;
175
- /** `insetInline` is a shorthand that corresponds to the `insetInlineStart` and `insetInlineEnd` properties.
176
- *
177
- * It works similarly to `inset-inline` in CSS, but in React Native you
178
- * must use points or percentages. Ems and other units are not supported.
179
- *
180
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline
181
- * for more details of how `inset-inline` affects layout.
182
- */
183
- insetInline?: DimensionValue;
184
- /** `insetInlineEnd` is a logical property that sets the length that an
185
- * element is offset in the starting inline direction.
186
- *
187
- * It works similarly to `inset-inline-end` in CSS, but in React Native you
188
- * must use points or percentages. Ems and other units are not supported.
189
- *
190
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end
191
- * for more details of how `inset-inline-end` affects layout.
192
- */
193
- insetInlineEnd?: DimensionValue;
194
- /** `insetInlineStart` is a logical property that sets the length that an
195
- * element is offset in the starting inline direction.
196
- *
197
- * It works similarly to `inset-inline-start` in CSS, but in React Native you
198
- * must use points or percentages. Ems and other units are not supported.
199
- *
200
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start
201
- * for more details of how `inset-inline-start` affects layout.
202
- */
203
- insetInlineStart?: DimensionValue;
204
- /** `minWidth` is the minimum width for this component, in logical pixels.
205
- *
206
- * It works similarly to `min-width` in CSS, but in React Native you
207
- * must use points or percentages. Ems and other units are not supported.
208
- *
209
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/min-width
210
- * for more details.
211
- */
212
- minWidth?: DimensionValue;
213
- /** `maxWidth` is the maximum width for this component, in logical pixels.
214
- *
215
- * It works similarly to `max-width` in CSS, but in React Native you
216
- * must use points or percentages. Ems and other units are not supported.
217
- *
218
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/max-width
219
- * for more details.
220
- */
221
- maxWidth?: DimensionValue;
222
- /** `minHeight` is the minimum height for this component, in logical pixels.
223
- *
224
- * It works similarly to `min-height` in CSS, but in React Native you
225
- * must use points or percentages. Ems and other units are not supported.
226
- *
227
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/min-height
228
- * for more details.
229
- */
230
- minHeight?: DimensionValue;
231
- /** `maxHeight` is the maximum height for this component, in logical pixels.
232
- *
233
- * It works similarly to `max-height` in CSS, but in React Native you
234
- * must use points or percentages. Ems and other units are not supported.
235
- *
236
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/max-height
237
- * for more details.
238
- */
239
- maxHeight?: DimensionValue;
240
- /** Setting `margin` has the same effect as setting each of
241
- * `marginTop`, `marginLeft`, `marginBottom`, and `marginRight`.
242
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/margin
243
- * for more details.
244
- */
245
- margin?: DimensionValue;
246
- /** Setting `marginBlock` has the same effect as setting both
247
- * `marginTop` and `marginBottom`.
248
- */
249
- marginBlock?: DimensionValue;
250
- /** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
251
- * Native doesn not support `writing-mode` this is always mapped to
252
- * `margin-bottom`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
253
- * for more details.
254
- */
255
- marginBlockEnd?: DimensionValue;
256
- /** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
257
- * Native doesn not support `writing-mode` this is always mapped to
258
- * `margin-top`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
259
- * for more details.
260
- */
261
- marginBlockStart?: DimensionValue;
262
- /** `marginBottom` works like `margin-bottom` in CSS.
263
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-start
264
- * for more details.
265
- */
266
- marginBottom?: DimensionValue;
267
- /**
268
- * When direction is `ltr`, `marginEnd` is equivalent to `marginRight`.
269
- * When direction is `rtl`, `marginEnd` is equivalent to `marginLeft`.
270
- */
271
- marginEnd?: DimensionValue;
272
- /** Setting `marginHorizontal` has the same effect as setting
273
- * both `marginLeft` and `marginRight`.
274
- */
275
- marginHorizontal?: DimensionValue;
276
- /** Setting `marginInline` has the same effect as setting
277
- * both `marginLeft` and `marginRight`.
278
- */
279
- marginInline?: DimensionValue;
280
- /**
281
- * When direction is `ltr`, `marginInlineEnd` is equivalent to `marginRight`.
282
- * When direction is `rtl`, `marginInlineEnd` is equivalent to `marginLeft`.
283
- */
284
- marginInlineEnd?: DimensionValue;
285
- /**
286
- * When direction is `ltr`, `marginInlineStart` is equivalent to `marginLeft`.
287
- * When direction is `rtl`, `marginInlineStart` is equivalent to `marginRight`.
288
- */
289
- marginInlineStart?: DimensionValue;
290
- /** `marginLeft` works like `margin-left` in CSS.
291
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
292
- * for more details.
293
- */
294
- marginLeft?: DimensionValue;
295
- /** `marginRight` works like `margin-right` in CSS.
296
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
297
- * for more details.
298
- */
299
- marginRight?: DimensionValue;
300
- /**
301
- * When direction is `ltr`, `marginStart` is equivalent to `marginLeft`.
302
- * When direction is `rtl`, `marginStart` is equivalent to `marginRight`.
303
- */
304
- marginStart?: DimensionValue;
305
- /** `marginTop` works like `margin-top` in CSS.
306
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
307
- * for more details.
308
- */
309
- marginTop?: DimensionValue;
310
- /** Setting `marginVertical` has the same effect as setting both
311
- * `marginTop` and `marginBottom`.
312
- */
313
- marginVertical?: DimensionValue;
314
- /** Setting `padding` has the same effect as setting each of
315
- * `paddingTop`, `paddingBottom`, `paddingLeft`, and `paddingRight`.
316
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding
317
- * for more details.
318
- */
319
- padding?: DimensionValue;
320
- /** Setting `paddingBlock` is like setting both of
321
- * `paddingTop` and `paddingBottom`.
322
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block
323
- * for more details.
324
- */
325
- paddingBlock?: DimensionValue;
326
- /** `paddingBlockEnd` works like `padding-bottom` in CSS.
327
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-end
328
- * for more details.
329
- */
330
- paddingBlockEnd?: DimensionValue;
331
- /** `paddingBlockStart` works like `padding-top` in CSS.
332
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-start
333
- * for more details.
334
- */
335
- paddingBlockStart?: DimensionValue;
336
- /** `paddingBottom` works like `padding-bottom` in CSS.
337
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
338
- * for more details.
339
- */
340
- paddingBottom?: DimensionValue;
341
- /**
342
- * When direction is `ltr`, `paddingEnd` is equivalent to `paddingRight`.
343
- * When direction is `rtl`, `paddingEnd` is equivalent to `paddingLeft`.
344
- */
345
- paddingEnd?: DimensionValue;
346
- /** Setting `paddingHorizontal` is like setting both of
347
- * `paddingLeft` and `paddingRight`.
348
- */
349
- paddingHorizontal?: DimensionValue;
350
- /** Setting `paddingInline` is like setting both of
351
- * `paddingLeft` and `paddingRight`.
352
- */
353
- paddingInline?: DimensionValue;
354
- /**
355
- * When direction is `ltr`, `paddingInlineEnd` is equivalent to `paddingRight`.
356
- * When direction is `rtl`, `paddingInlineEnd` is equivalent to `paddingLeft`.
357
- */
358
- paddingInlineEnd?: DimensionValue;
359
- /**
360
- * When direction is `ltr`, `paddingInlineStart` is equivalent to `paddingLeft`.
361
- * When direction is `rtl`, `paddingInlineStart` is equivalent to `paddingRight`.
362
- */
363
- paddingInlineStart?: DimensionValue;
364
- /** `paddingLeft` works like `padding-left` in CSS.
365
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
366
- * for more details.
367
- */
368
- paddingLeft?: DimensionValue;
369
- /** `paddingRight` works like `padding-right` in CSS.
370
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
371
- * for more details.
372
- */
373
- paddingRight?: DimensionValue;
374
- /**
375
- * When direction is `ltr`, `paddingStart` is equivalent to `paddingLeft`.
376
- * When direction is `rtl`, `paddingStart` is equivalent to `paddingRight`.
377
- */
378
- paddingStart?: DimensionValue;
379
- /** `paddingTop` works like `padding-top` in CSS.
380
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
381
- * for more details.
382
- */
383
- paddingTop?: DimensionValue;
384
- /** Setting `paddingVertical` is like setting both of
385
- * `paddingTop` and `paddingBottom`.
386
- */
387
- paddingVertical?: DimensionValue;
388
- /** `borderWidth` works like `border-width` in CSS.
389
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/border-width
390
- * for more details.
391
- */
392
- borderWidth?: number;
393
- /** `borderBottomWidth` works like `border-bottom-width` in CSS.
394
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-width
395
- * for more details.
396
- */
397
- borderBottomWidth?: number;
398
- /**
399
- * When direction is `ltr`, `borderEndWidth` is equivalent to `borderRightWidth`.
400
- * When direction is `rtl`, `borderEndWidth` is equivalent to `borderLeftWidth`.
401
- */
402
- borderEndWidth?: number;
403
- /** `borderLeftWidth` works like `border-left-width` in CSS.
404
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-width
405
- * for more details.
406
- */
407
- borderLeftWidth?: number;
408
- /** `borderRightWidth` works like `border-right-width` in CSS.
409
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-width
410
- * for more details.
411
- */
412
- borderRightWidth?: number;
413
- /**
414
- * When direction is `ltr`, `borderStartWidth` is equivalent to `borderLeftWidth`.
415
- * When direction is `rtl`, `borderStartWidth` is equivalent to `borderRightWidth`.
416
- */
417
- borderStartWidth?: number;
418
- /** `borderTopWidth` works like `border-top-width` in CSS.
419
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-width
420
- * for more details.
421
- */
422
- borderTopWidth?: number;
423
- /** `position` in React Native is similar to regular CSS, but
424
- * everything is set to `relative` by default.
425
- *
426
- * If you want to position a child using specific numbers of logical
427
- * pixels relative to its parent, set the child to have `absolute`
428
- * position.
429
- *
430
- * If you want to position a child relative to something
431
- * that is not its parent, set the child to have `absolute` position and the
432
- * nodes between to have `static` position.
433
- *
434
- * Note that `static` is only available on the new renderer.
435
- *
436
- * See https://github.com/facebook/yoga
437
- * for more details on how `position` differs between React Native
438
- * and CSS.
439
- */
440
- position?: "absolute" | "relative" | "static";
441
- /** `flexDirection` controls which directions children of a container go.
442
- * `row` goes left to right, `column` goes top to bottom, and you may
443
- * be able to guess what the other two do. It works like `flex-direction`
444
- * in CSS, except the default is `column`.
445
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
446
- * for more details.
447
- */
448
- flexDirection?: "row" | "row-reverse" | "column" | "column-reverse";
449
- /** `flexWrap` controls whether children can wrap around after they
450
- * hit the end of a flex container.
451
- * It works like `flex-wrap` in CSS (default: nowrap).
452
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap
453
- * for more details.
454
- */
455
- flexWrap?: "wrap" | "nowrap" | "wrap-reverse";
456
- /** `justifyContent` aligns children in the main direction.
457
- * For example, if children are flowing vertically, `justifyContent`
458
- * controls how they align vertically.
459
- * It works like `justify-content` in CSS (default: flex-start).
460
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
461
- * for more details.
462
- */
463
- justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
464
- /** `alignItems` aligns children in the cross direction.
465
- * For example, if children are flowing vertically, `alignItems`
466
- * controls how they align horizontally.
467
- * It works like `align-items` in CSS (default: stretch).
468
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
469
- * for more details.
470
- */
471
- alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
472
- /** `alignSelf` controls how a child aligns in the cross direction,
473
- * overriding the `alignItems` of the parent. It works like `align-self`
474
- * in CSS (default: auto).
475
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/align-self
476
- * for more details.
477
- */
478
- alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
479
- /** `alignContent` controls how rows align in the cross direction,
480
- * overriding the `alignContent` of the parent.
481
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
482
- * for more details.
483
- */
484
- alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
485
- /** `overflow` controls how children are measured and displayed.
486
- * `overflow: hidden` causes views to be clipped while `overflow: scroll`
487
- * causes views to be measured independently of their parents main axis.
488
- * It works like `overflow` in CSS (default: visible).
489
- * See https://developer.mozilla.org/en/docs/Web/CSS/overflow
490
- * for more details.
491
- * `overflow: visible` only works on iOS. On Android, all views will clip
492
- * their children.
493
- */
494
- overflow?: "visible" | "hidden" | "scroll";
495
- /** In React Native `flex` does not work the same way that it does in CSS.
496
- * `flex` is a number rather than a string, and it works
497
- * according to the `Yoga` library
498
- * at https://github.com/facebook/yoga
499
- *
500
- * When `flex` is a positive number, it makes the component flexible
501
- * and it will be sized proportional to its flex value. So a
502
- * component with `flex` set to 2 will take twice the space as a
503
- * component with `flex` set to 1.
504
- *
505
- * When `flex` is 0, the component is sized according to `width`
506
- * and `height` and it is inflexible.
507
- *
508
- * When `flex` is -1, the component is normally sized according
509
- * `width` and `height`. However, if there's not enough space,
510
- * the component will shrink to its `minWidth` and `minHeight`.
511
- *
512
- * flexGrow, flexShrink, and flexBasis work the same as in CSS.
513
- */
514
- flex?: number;
515
- flexGrow?: number;
516
- flexShrink?: number;
517
- flexBasis?: number | string;
518
- /**
519
- * Aspect ratio control the size of the undefined dimension of a node.
520
- *
521
- * - On a node with a set width/height aspect ratio control the size of the unset dimension
522
- * - On a node with a set flex basis aspect ratio controls the size of the node in the cross axis
523
- * if unset
524
- * - On a node with a measure function aspect ratio works as though the measure function measures
525
- * the flex basis
526
- * - On a node with flex grow/shrink aspect ratio controls the size of the node in the cross axis
527
- * if unset
528
- * - Aspect ratio takes min/max dimensions into account
529
- *
530
- * Supports a number or a ratio, e.g.:
531
- * - aspectRatio: '1 / 1'
532
- * - aspectRatio: '1'
533
- * - aspectRatio: '1'
534
- */
535
- aspectRatio?: number | string;
536
- /**
537
- * Box sizing controls whether certain size properties apply to the node's
538
- * content box or border box. The size properties in question include `width`,
539
- * `height`, `minWidth`, `minHeight`, `maxWidth`, `maxHeight`, and `flexBasis`.
540
- *
541
- * e.g: Say a node has 10px of padding and 10px of borders on all
542
- * sides and a defined `width` and `height` of 100px and 50px. Then the total
543
- * size of the node (content area + padding + border) would be 100px by 50px
544
- * under `boxSizing: border-box` and 120px by 70px under
545
- * `boxSizing: content-box`.
546
- */
547
- boxSizing?: "border-box" | "content-box";
548
- /** `zIndex` controls which components display on top of others.
549
- * Normally, you don't use `zIndex`. Components render according to
550
- * their order in the document tree, so later components draw over
551
- * earlier ones. `zIndex` may be useful if you have animations or custom
552
- * modal interfaces where you don't want this behavior.
553
- *
554
- * It works like the CSS `z-index` property - components with a larger
555
- * `zIndex` will render on top. Think of the z-direction like it's
556
- * pointing from the phone into your eyeball.
557
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/z-index for
558
- * more details.
559
- */
560
- zIndex?: number;
561
- /** `direction` specifies the directional flow of the user interface.
562
- * The default is `inherit`, except for root node which will have
563
- * value based on the current locale.
564
- * See https://yogalayout.dev/docs/layout-direction
565
- * for more details.
566
- * @platform ios
567
- */
568
- direction?: "inherit" | "ltr" | "rtl";
569
- /**
570
- * In React Native, gap works the same way it does in CSS.
571
- * If there are two or more children in a container, they will be separated from each other
572
- * by the value of the gap - but the children will not be separated from the edges of their parent container.
573
- * For horizontal gaps, use columnGap, for vertical gaps, use rowGap, and to apply both at the same time, it's gap.
574
- * When align-content or justify-content are set to space-between or space-around, the separation
575
- * between children may be larger than the gap value.
576
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/gap for more details.
577
- */
578
- rowGap?: number | string;
579
- columnGap?: number | string;
580
- gap?: number | string;
581
- }>;
582
- /**
583
- * These props can be used to dynamically generate shadows on views, images, text, etc.
584
- *
585
- * Because they are dynamically generated, they may cause performance regressions. Static
586
- * shadow image asset may be a better way to go for optimal performance.
587
- *
588
- * Shadow-related properties are not fully supported on Android.
589
- * To add a drop shadow to a view use the [`elevation` property](docs/viewstyleproptypes.html#elevation) (Android 5.0+).
590
- * To customize the color use the [`shadowColor` property](docs/shadow-props.html#shadowColor) (Android 9.0+).
591
- */
592
- export type ____ShadowStyle_InternalCore = Readonly<{
593
- /**
594
- * Sets the drop shadow color
595
- * @platform ios
596
- */
597
- shadowColor?: ____ColorValue_Internal;
598
- /**
599
- * Sets the drop shadow offset
600
- * @platform ios
601
- */
602
- shadowOffset?: Readonly<{
603
- width?: number;
604
- height?: number;
605
- }>;
606
- /**
607
- * Sets the drop shadow opacity (multiplied by the color's alpha component)
608
- * @platform ios
609
- */
610
- shadowOpacity?: number;
611
- /**
612
- * Sets the drop shadow blur radius
613
- * @platform ios
614
- */
615
- shadowRadius?: number;
616
- }>;
617
- export type ____ShadowStyle_Internal = Readonly<Omit<____ShadowStyle_InternalCore, keyof ____ShadowStyle_InternalOverrides | keyof {}> & Omit<____ShadowStyle_InternalOverrides, keyof {}> & {}>;
618
- export type FilterFunction = {
619
- brightness: number | string;
620
- } | {
621
- blur: number | string;
622
- } | {
623
- contrast: number | string;
624
- } | {
625
- grayscale: number | string;
626
- } | {
627
- hueRotate: number | string;
628
- } | {
629
- invert: number | string;
630
- } | {
631
- opacity: number | string;
632
- } | {
633
- saturate: number | string;
634
- } | {
635
- sepia: number | string;
636
- } | {
637
- dropShadow: DropShadowValue | string;
638
- };
639
- export type DropShadowValue = {
640
- offsetX: number | string;
641
- offsetY: number | string;
642
- standardDeviation?: number | string;
643
- color?: ____ColorValue_Internal;
644
- };
645
- type LinearGradientValue = {
646
- type: "linear-gradient";
647
- direction?: string;
648
- colorStops: ReadonlyArray<{
649
- color: ____ColorValue_Internal;
650
- positions?: ReadonlyArray<string>;
651
- }>;
652
- };
653
- type RadialExtent = "closest-corner" | "closest-side" | "farthest-corner" | "farthest-side";
654
- export type RadialGradientPosition = {
655
- top: number | string;
656
- left: number | string;
657
- } | {
658
- top: number | string;
659
- right: number | string;
660
- } | {
661
- bottom: number | string;
662
- left: number | string;
663
- } | {
664
- bottom: number | string;
665
- right: number | string;
666
- };
667
- export type RadialGradientShape = "circle" | "ellipse";
668
- export type RadialGradientSize = RadialExtent | {
669
- x: string | number;
670
- y: string | number;
671
- };
672
- type RadialGradientValue = {
673
- type: "radial-gradient";
674
- shape: RadialGradientShape;
675
- size: RadialGradientSize;
676
- position: RadialGradientPosition;
677
- colorStops: ReadonlyArray<{
678
- color: ____ColorValue_Internal;
679
- positions?: ReadonlyArray<string>;
680
- }>;
681
- };
682
- export type BackgroundImageValue = LinearGradientValue | RadialGradientValue;
683
- export type BoxShadowValue = {
684
- offsetX: number | string;
685
- offsetY: number | string;
686
- color?: ____ColorValue_Internal;
687
- blurRadius?: number | string;
688
- spreadDistance?: number | string;
689
- inset?: boolean;
690
- };
691
- type ____BlendMode_Internal = "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "color" | "luminosity";
692
- export type ____ViewStyle_InternalBase = Readonly<{
693
- backfaceVisibility?: "visible" | "hidden";
694
- backgroundColor?: ____ColorValue_Internal;
695
- borderColor?: ____ColorValue_Internal;
696
- borderCurve?: "circular" | "continuous";
697
- borderBottomColor?: ____ColorValue_Internal;
698
- borderEndColor?: ____ColorValue_Internal;
699
- borderLeftColor?: ____ColorValue_Internal;
700
- borderRightColor?: ____ColorValue_Internal;
701
- borderStartColor?: ____ColorValue_Internal;
702
- borderTopColor?: ____ColorValue_Internal;
703
- borderBlockColor?: ____ColorValue_Internal;
704
- borderBlockEndColor?: ____ColorValue_Internal;
705
- borderBlockStartColor?: ____ColorValue_Internal;
706
- borderRadius?: number | string;
707
- borderBottomEndRadius?: number | string;
708
- borderBottomLeftRadius?: number | string;
709
- borderBottomRightRadius?: number | string;
710
- borderBottomStartRadius?: number | string;
711
- borderEndEndRadius?: number | string;
712
- borderEndStartRadius?: number | string;
713
- borderStartEndRadius?: number | string;
714
- borderStartStartRadius?: number | string;
715
- borderTopEndRadius?: number | string;
716
- borderTopLeftRadius?: number | string;
717
- borderTopRightRadius?: number | string;
718
- borderTopStartRadius?: number | string;
719
- borderStyle?: "solid" | "dotted" | "dashed";
720
- borderWidth?: number;
721
- borderBottomWidth?: number;
722
- borderEndWidth?: number;
723
- borderLeftWidth?: number;
724
- borderRightWidth?: number;
725
- borderStartWidth?: number;
726
- borderTopWidth?: number;
727
- opacity?: number;
728
- outlineColor?: ____ColorValue_Internal;
729
- outlineOffset?: number;
730
- outlineStyle?: "solid" | "dotted" | "dashed";
731
- outlineWidth?: number;
732
- elevation?: number;
733
- pointerEvents?: "auto" | "none" | "box-none" | "box-only";
734
- cursor?: CursorValue;
735
- boxShadow?: ReadonlyArray<BoxShadowValue> | string;
736
- filter?: ReadonlyArray<FilterFunction> | string;
737
- mixBlendMode?: ____BlendMode_Internal;
738
- experimental_backgroundImage?: ReadonlyArray<BackgroundImageValue> | string;
739
- isolation?: "auto" | "isolate";
740
- }>;
741
- export type ____ViewStyle_InternalCore = Readonly<Omit<____LayoutStyle_Internal, keyof ____ShadowStyle_Internal | keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ShadowStyle_Internal, keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____TransformStyle_Internal, keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ViewStyle_InternalBase, keyof {}> & {}>;
742
- export type ____ViewStyle_Internal = Readonly<Omit<____ViewStyle_InternalCore, keyof ____ViewStyle_InternalOverrides | keyof {}> & Omit<____ViewStyle_InternalOverrides, keyof {}> & {}>;
743
- export type FontStyleType = {
744
- fontFamily: string;
745
- fontWeight: ____FontWeight_Internal;
746
- };
747
- export type FontStyleMap = {
748
- ultraLight: FontStyleType;
749
- thin: FontStyleType;
750
- light: FontStyleType;
751
- regular: FontStyleType;
752
- medium: FontStyleType;
753
- semibold: FontStyleType;
754
- bold: FontStyleType;
755
- heavy: FontStyleType;
756
- black: FontStyleType;
757
- };
758
- export type ____FontWeight_Internal = "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black";
759
- export type ____FontVariant_Internal = "small-caps" | "oldstyle-nums" | "lining-nums" | "tabular-nums" | "common-ligatures" | "no-common-ligatures" | "discretionary-ligatures" | "no-discretionary-ligatures" | "historical-ligatures" | "no-historical-ligatures" | "contextual" | "no-contextual" | "proportional-nums" | "stylistic-one" | "stylistic-two" | "stylistic-three" | "stylistic-four" | "stylistic-five" | "stylistic-six" | "stylistic-seven" | "stylistic-eight" | "stylistic-nine" | "stylistic-ten" | "stylistic-eleven" | "stylistic-twelve" | "stylistic-thirteen" | "stylistic-fourteen" | "stylistic-fifteen" | "stylistic-sixteen" | "stylistic-seventeen" | "stylistic-eighteen" | "stylistic-nineteen" | "stylistic-twenty";
760
- export type ____FontVariantArray_Internal = ReadonlyArray<____FontVariant_Internal>;
761
- type ____TextStyle_InternalBase = Readonly<{
762
- color?: ____ColorValue_Internal;
763
- fontFamily?: string;
764
- fontSize?: number;
765
- fontStyle?: "normal" | "italic";
766
- fontWeight?: ____FontWeight_Internal;
767
- fontVariant?: ____FontVariantArray_Internal | string;
768
- textShadowOffset?: Readonly<{
769
- width: number;
770
- height: number;
771
- }>;
772
- textShadowRadius?: number;
773
- textShadowColor?: ____ColorValue_Internal;
774
- letterSpacing?: number;
775
- lineHeight?: number;
776
- textAlign?: "auto" | "left" | "right" | "center" | "justify";
777
- textAlignVertical?: "auto" | "top" | "bottom" | "center";
778
- includeFontPadding?: boolean;
779
- textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
780
- textDecorationStyle?: "solid" | "double" | "dotted" | "dashed";
781
- textDecorationColor?: ____ColorValue_Internal;
782
- textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
783
- userSelect?: "auto" | "text" | "none" | "contain" | "all";
784
- verticalAlign?: "auto" | "top" | "bottom" | "middle";
785
- writingDirection?: "auto" | "ltr" | "rtl";
786
- }>;
787
- export type ____TextStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof ____TextStyle_InternalBase | keyof {}> & Omit<____TextStyle_InternalBase, keyof {}> & {}>;
788
- export type ____TextStyle_Internal = Readonly<Omit<____TextStyle_InternalCore, keyof ____TextStyle_InternalOverrides | keyof {}> & Omit<____TextStyle_InternalOverrides, keyof {}> & {}>;
789
- export type ____ImageStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof {
790
- resizeMode?: ImageResizeMode;
791
- objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
792
- tintColor?: ____ColorValue_Internal;
793
- overlayColor?: ColorValue;
794
- overflow?: "visible" | "hidden";
795
- }> & {
796
- resizeMode?: ImageResizeMode;
797
- objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
798
- tintColor?: ____ColorValue_Internal;
799
- overlayColor?: ColorValue;
800
- overflow?: "visible" | "hidden";
801
- }>;
802
- export type ____ImageStyle_Internal = Readonly<Omit<____ImageStyle_InternalCore, keyof ____ImageStyle_InternalOverrides | keyof {}> & Omit<____ImageStyle_InternalOverrides, keyof {}> & {}>;
803
- export type ____DangerouslyImpreciseStyle_InternalCore = Readonly<Omit<____TextStyle_Internal, keyof {
804
- resizeMode?: ImageResizeMode;
805
- objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
806
- tintColor?: ____ColorValue_Internal;
807
- overlayColor?: ColorValue;
808
- }> & {
809
- resizeMode?: ImageResizeMode;
810
- objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
811
- tintColor?: ____ColorValue_Internal;
812
- overlayColor?: ColorValue;
813
- }>;
814
- export type ____DangerouslyImpreciseStyle_Internal = Readonly<Omit<____DangerouslyImpreciseStyle_InternalCore, keyof ____DangerouslyImpreciseStyle_InternalOverrides | keyof {}> & Omit<____DangerouslyImpreciseStyle_InternalOverrides, keyof {}> & {}>;
815
- export type StyleProp<T> = null | void | T | false | "" | ReadonlyArray<StyleProp<T>>;
816
- export type ____DangerouslyImpreciseStyleProp_Internal = StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>;
817
- export type ____DangerouslyImpreciseAnimatedStyleProp_Internal = WithAnimatedValue<StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>>;
818
- export type ____ViewStyleProp_Internal = StyleProp<Readonly<Partial<____ViewStyle_Internal>>>;
819
- export type ____TextStyleProp_Internal = StyleProp<Readonly<Partial<____TextStyle_Internal>>>;
820
- export type ____ImageStyleProp_Internal = StyleProp<Readonly<Partial<____ImageStyle_Internal>>>;
821
- export type ____Styles_Internal = {
822
- readonly [key: string]: Partial<____DangerouslyImpreciseStyle_Internal>;
823
- };
824
- type FlattenDepthLimiter = [void, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
825
- type ____FlattenStyleProp_Helper<TStyleProp extends StyleProp<unknown>, Depth extends FlattenDepthLimiter[keyof FlattenDepthLimiter] = 9> = Depth extends 0 ? never : TStyleProp extends null | void | false | "" ? never : TStyleProp extends ReadonlyArray<infer V> ? ____FlattenStyleProp_Helper<V, Depth extends number ? FlattenDepthLimiter[Depth] : 0> : TStyleProp;
826
- export type ____FlattenStyleProp_Internal<TStyleProp extends StyleProp<unknown>> = ____FlattenStyleProp_Helper<TStyleProp> extends never ? any : ____FlattenStyleProp_Helper<TStyleProp>;