react-native-tvos 0.81.4-0 → 0.81.5-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Components/Button.js +0 -1
- package/Libraries/Components/Pressable/Pressable.d.ts +1 -1
- package/Libraries/Components/Pressable/Pressable.js +14 -12
- package/Libraries/Components/TV/TVParallaxProperties.d.ts +42 -0
- package/Libraries/Components/TV/TVViewPropTypes.js +45 -8
- package/Libraries/Components/Touchable/TouchableHighlight.js +5 -32
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +5 -50
- package/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -1
- package/Libraries/Components/Touchable/TouchableOpacity.js +5 -56
- package/Libraries/Components/View/View.js +21 -1
- package/Libraries/Components/View/ViewPropTypes.d.ts +59 -41
- package/Libraries/Components/View/ViewPropTypes.js +5 -86
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTUtils.mm +5 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTDeviceInfo.mm +3 -4
- package/React/Views/RCTSwitchManager.m +24 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +25 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +13 -26
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +9 -10
- package/ReactAndroid/src/main/jni/react/jni/TransformHelper.cpp +3 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/ReactCommon/react/renderer/components/view/BaseViewProps.cpp +0 -3
- package/ReactCommon/react/renderer/components/view/tests/ResolveTransformTest.cpp +377 -0
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +1 -43
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +0 -101
- package/types_generated/Libraries/Alert/Alert.d.ts +0 -55
- package/types_generated/Libraries/Animated/Animated.d.ts +0 -14
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +0 -30
- package/types_generated/Libraries/Animated/AnimatedExports.d.ts +0 -190
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +0 -128
- package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +0 -13
- package/types_generated/Libraries/Animated/Easing.d.ts +0 -171
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +0 -35
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +0 -42
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +0 -130
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +0 -54
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +0 -22
- package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +0 -18
- package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +0 -23
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +0 -22
- package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +0 -18
- package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +0 -19
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +0 -42
- package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +0 -76
- package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +0 -36
- package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +0 -46
- package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +0 -29
- package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +0 -32
- package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +0 -22
- package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +0 -21
- package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +0 -126
- package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +0 -135
- package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +0 -15
- package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +0 -15
- package/types_generated/Libraries/AppState/AppState.d.ts +0 -63
- package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +0 -17
- package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +0 -39
- package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +0 -20
- package/types_generated/Libraries/Blob/Blob.d.ts +0 -80
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +0 -27
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +0 -220
- package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +0 -20
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -84
- package/types_generated/Libraries/Components/Button.d.ts +0 -251
- package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +0 -38
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +0 -17
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +0 -27
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +0 -176
- package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +0 -146
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +0 -73
- package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +0 -24
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +0 -141
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +0 -45
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +0 -32
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +0 -50
- package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +0 -113
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +0 -33
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +0 -560
- package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +0 -24
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +0 -21
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +0 -134
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +0 -36
- package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +0 -222
- package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +0 -138
- package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +0 -14
- package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +0 -23
- package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +0 -21
- package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +0 -71
- package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +0 -97
- package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +0 -79
- package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +0 -24
- package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +0 -20
- package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +0 -86
- package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +0 -47
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +0 -984
- package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +0 -54
- package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +0 -99
- package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +0 -257
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +0 -71
- package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +0 -228
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +0 -76
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +0 -121
- package/types_generated/Libraries/Components/View/View.d.ts +0 -30
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +0 -415
- package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +0 -29
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +0 -431
- package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +0 -27
- package/types_generated/Libraries/Core/ExceptionsManager.d.ts +0 -43
- package/types_generated/Libraries/Core/ExtendedError.d.ts +0 -26
- package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +0 -17
- package/types_generated/Libraries/Core/RawEventEmitter.d.ts +0 -26
- package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +0 -27
- package/types_generated/Libraries/Core/registerCallableModule.d.ts +0 -18
- package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -42
- package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -19
- package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +0 -18
- package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -21
- package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +0 -71
- package/types_generated/Libraries/Image/Image.d.ts +0 -18
- package/types_generated/Libraries/Image/ImageBackground.d.ts +0 -44
- package/types_generated/Libraries/Image/ImageProps.d.ts +0 -512
- package/types_generated/Libraries/Image/ImageResizeMode.d.ts +0 -17
- package/types_generated/Libraries/Image/ImageSource.d.ts +0 -94
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +0 -64
- package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
- package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
- package/types_generated/Libraries/Interaction/InteractionManager.d.ts +0 -100
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +0 -231
- package/types_generated/Libraries/Interaction/TaskQueue.d.ts +0 -73
- package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +0 -76
- package/types_generated/Libraries/Linking/Linking.d.ts +0 -68
- package/types_generated/Libraries/Lists/FlatList.d.ts +0 -317
- package/types_generated/Libraries/Lists/SectionList.d.ts +0 -172
- package/types_generated/Libraries/Lists/VirtualizedList.d.ts +0 -19
- package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +0 -19
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +0 -78
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +0 -88
- package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +0 -17
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +0 -53
- package/types_generated/Libraries/LogBox/LogBox.d.ts +0 -29
- package/types_generated/Libraries/Modal/Modal.d.ts +0 -110
- package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +0 -17
- package/types_generated/Libraries/Network/FormData.d.ts +0 -56
- package/types_generated/Libraries/Network/RCTNetworking.d.ts +0 -25
- package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +0 -22
- package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +0 -96
- package/types_generated/Libraries/Network/convertRequestBody.d.ts +0 -21
- package/types_generated/Libraries/Performance/Systrace.d.ts +0 -61
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +0 -129
- package/types_generated/Libraries/Pressability/Pressability.d.ts +0 -241
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +0 -323
- package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +0 -14
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +0 -44
- package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +0 -73
- package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +0 -24
- package/types_generated/Libraries/ReactNative/I18nManager.d.ts +0 -23
- package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +0 -17
- package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +0 -17
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.d.ts +0 -28
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +0 -32
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +0 -15
- package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +0 -37
- package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +0 -28
- package/types_generated/Libraries/ReactNative/RootTag.d.ts +0 -22
- package/types_generated/Libraries/ReactNative/UIManager.d.ts +0 -17
- package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +0 -25
- package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +0 -33
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +0 -169
- package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +0 -41
- package/types_generated/Libraries/Settings/Settings.d.ts +0 -21
- package/types_generated/Libraries/Share/Share.d.ts +0 -85
- package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +0 -15
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +0 -17
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -27
- package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +0 -16
- package/types_generated/Libraries/StyleSheet/Rect.d.ts +0 -22
- package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +0 -153
- package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +0 -107
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +0 -826
- package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +0 -19
- package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +0 -17
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +0 -76
- package/types_generated/Libraries/StyleSheet/processColor.d.ts +0 -18
- package/types_generated/Libraries/Text/Text.d.ts +0 -30
- package/types_generated/Libraries/Text/TextAncestorContext.d.ts +0 -20
- package/types_generated/Libraries/Text/TextNativeComponent.d.ts +0 -31
- package/types_generated/Libraries/Text/TextProps.d.ts +0 -220
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +0 -35
- package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +0 -15
- package/types_generated/Libraries/Types/CodegenTypes.d.ts +0 -24
- package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +0 -14
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +0 -327
- package/types_generated/Libraries/Types/RootTagTypes.d.ts +0 -13
- package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +0 -17
- package/types_generated/Libraries/UTFSequence.d.ts +0 -39
- package/types_generated/Libraries/Utilities/Appearance.d.ts +0 -31
- package/types_generated/Libraries/Utilities/BackHandler.d.ts +0 -23
- package/types_generated/Libraries/Utilities/DevSettings.d.ts +0 -34
- package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +0 -17
- package/types_generated/Libraries/Utilities/Dimensions.d.ts +0 -54
- package/types_generated/Libraries/Utilities/IPerformanceLogger.d.ts +0 -51
- package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +0 -17
- package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +0 -14
- package/types_generated/Libraries/Utilities/PixelRatio.d.ts +0 -110
- package/types_generated/Libraries/Utilities/Platform.d.ts +0 -16
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +0 -134
- package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +0 -19
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +0 -24
- package/types_generated/Libraries/Utilities/createPerformanceLogger.d.ts +0 -23
- package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +0 -33
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +0 -19
- package/types_generated/Libraries/Utilities/useColorScheme.d.ts +0 -15
- package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +0 -15
- package/types_generated/Libraries/Vibration/Vibration.d.ts +0 -29
- package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +0 -39
- package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +0 -67
- package/types_generated/index.d.ts +0 -164
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +0 -70
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +0 -97
- package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +0 -28
- package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +0 -53
- package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +0 -36
- package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +0 -51
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +0 -26
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +0 -46
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +0 -37
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +0 -45
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +0 -27
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +0 -109
- package/types_generated/src/private/styles/composeStyles.d.ts +0 -19
- package/types_generated/src/private/types/HostComponent.d.ts +0 -19
- package/types_generated/src/private/types/HostInstance.d.ts +0 -91
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +0 -27
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +0 -58
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +0 -48
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +0 -32
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +0 -36
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +0 -30
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +0 -54
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +0 -126
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +0 -24
- package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +0 -29
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +0 -23
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +0 -22
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +0 -222
- package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +0 -22
- package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +0 -25
- package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +0 -46
- package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +0 -73
- package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +0 -27
- package/types_generated/tsconfig.json +0 -3
- package/types_generated/tsconfig.test.json +0 -16
|
@@ -1,19 +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<<66bc3759f6820cc5d49137f7cc5e25a8>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/StyleSheet/flattenStyle.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type AnimatedNode from "../Animated/nodes/AnimatedNode";
|
|
14
|
-
import type { ____DangerouslyImpreciseAnimatedStyleProp_Internal, ____FlattenStyleProp_Internal } from "./StyleSheetTypes";
|
|
15
|
-
type NonAnimatedNodeObject<TStyleProp> = TStyleProp extends AnimatedNode ? never : TStyleProp;
|
|
16
|
-
declare function flattenStyle<TStyleProp extends ____DangerouslyImpreciseAnimatedStyleProp_Internal>(style: null | undefined | TStyleProp): null | undefined | NonAnimatedNodeObject<____FlattenStyleProp_Internal<TStyleProp>>;
|
|
17
|
-
declare const $$flattenStyle: typeof flattenStyle;
|
|
18
|
-
declare type $$flattenStyle = typeof $$flattenStyle;
|
|
19
|
-
export default $$flattenStyle;
|
|
@@ -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<<d90f671ce2cec7ccf24d9e3a1dc7b5ed>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export type ____DangerouslyImpreciseStyle_InternalOverrides = Readonly<{}>;
|
|
14
|
-
export type ____ImageStyle_InternalOverrides = Readonly<{}>;
|
|
15
|
-
export type ____ShadowStyle_InternalOverrides = Readonly<{}>;
|
|
16
|
-
export type ____TextStyle_InternalOverrides = Readonly<{}>;
|
|
17
|
-
export type ____ViewStyle_InternalOverrides = Readonly<{}>;
|
|
@@ -1,76 +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<<b4e96e51a19fbf8633750502249c02ba>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/StyleSheet/private/_TransformStyle.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type AnimatedNode from "../../Animated/nodes/AnimatedNode";
|
|
14
|
-
type KeysOfUnion<T> = T extends any ? keyof T : never;
|
|
15
|
-
type ValueOfUnion<T, K> = T extends any ? K extends keyof T ? T[K] : never : never;
|
|
16
|
-
type MergeUnion<T> = { [K in KeysOfUnion<T>]?: ValueOfUnion<T, K> };
|
|
17
|
-
type MaximumOneOf<T extends {}> = { [K in keyof T]: { [P in keyof T]?: P extends K ? T[P] : never } }[keyof { [K in keyof T]: { [P in keyof T]?: P extends K ? T[P] : never } }];
|
|
18
|
-
export type ____TransformStyle_Internal = Readonly<{
|
|
19
|
-
/**
|
|
20
|
-
* `transform` accepts an array of transformation objects. Each object specifies
|
|
21
|
-
* the property that will be transformed as the key, and the value to use in the
|
|
22
|
-
* transformation. Objects should not be combined. Use a single key/value pair
|
|
23
|
-
* per object.
|
|
24
|
-
*
|
|
25
|
-
* The rotate transformations require a string so that the transform may be
|
|
26
|
-
* expressed in degrees (deg) or radians (rad). For example:
|
|
27
|
-
*
|
|
28
|
-
* `transform([{ rotateX: '45deg' }, { rotateZ: '0.785398rad' }])`
|
|
29
|
-
*
|
|
30
|
-
* The skew transformations require a string so that the transform may be
|
|
31
|
-
* expressed in degrees (deg). For example:
|
|
32
|
-
*
|
|
33
|
-
* `transform([{ skewX: '45deg' }])`
|
|
34
|
-
*/
|
|
35
|
-
transform?: ReadonlyArray<Readonly<MaximumOneOf<MergeUnion<{
|
|
36
|
-
readonly perspective: number | AnimatedNode;
|
|
37
|
-
} | {
|
|
38
|
-
readonly rotate: string | AnimatedNode;
|
|
39
|
-
} | {
|
|
40
|
-
readonly rotateX: string | AnimatedNode;
|
|
41
|
-
} | {
|
|
42
|
-
readonly rotateY: string | AnimatedNode;
|
|
43
|
-
} | {
|
|
44
|
-
readonly rotateZ: string | AnimatedNode;
|
|
45
|
-
} | {
|
|
46
|
-
readonly scale: number | AnimatedNode;
|
|
47
|
-
} | {
|
|
48
|
-
readonly scaleX: number | AnimatedNode;
|
|
49
|
-
} | {
|
|
50
|
-
readonly scaleY: number | AnimatedNode;
|
|
51
|
-
} | {
|
|
52
|
-
readonly translateX: number | string | AnimatedNode;
|
|
53
|
-
} | {
|
|
54
|
-
readonly translateY: number | string | AnimatedNode;
|
|
55
|
-
} | {
|
|
56
|
-
readonly translate: [number | string | AnimatedNode, number | string | AnimatedNode] | AnimatedNode;
|
|
57
|
-
} | {
|
|
58
|
-
readonly skewX: string | AnimatedNode;
|
|
59
|
-
} | {
|
|
60
|
-
readonly skewY: string | AnimatedNode;
|
|
61
|
-
} | {
|
|
62
|
-
readonly matrix: ReadonlyArray<number | AnimatedNode> | AnimatedNode;
|
|
63
|
-
}>>>> | string;
|
|
64
|
-
/**
|
|
65
|
-
* `transformOrigin` accepts an array with 3 elements - each element either being
|
|
66
|
-
* a number, or a string of a number ending with `%`. The last element cannot be
|
|
67
|
-
* a percentage, so must be a number.
|
|
68
|
-
*
|
|
69
|
-
* E.g. transformOrigin: ['30%', '80%', 15]
|
|
70
|
-
*
|
|
71
|
-
* Alternatively accepts a string of the CSS syntax. You must use `%` or `px`.
|
|
72
|
-
*
|
|
73
|
-
* E.g. transformOrigin: '30% 80% 15px'
|
|
74
|
-
*/
|
|
75
|
-
transformOrigin?: [string | number, string | number, string | number] | string;
|
|
76
|
-
}>;
|
|
@@ -1,18 +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<<70ea1624bbf0388c8b7ecf25c096f982>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/StyleSheet/processColor.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { ColorValue, NativeColorValue } from "./StyleSheet";
|
|
14
|
-
export type ProcessedColorValue = number | NativeColorValue;
|
|
15
|
-
declare function processColor(color?: null | undefined | (number | ColorValue)): null | undefined | ProcessedColorValue;
|
|
16
|
-
declare const $$processColor: typeof processColor;
|
|
17
|
-
declare type $$processColor = typeof $$processColor;
|
|
18
|
-
export default $$processColor;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated SignedSource<<bed02bcf9e474ec9585e39e6a3c9f093>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Text/Text.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { TextProps } from "./TextProps";
|
|
14
|
-
import { NativeText, NativeVirtualText } from "./TextNativeComponent";
|
|
15
|
-
import * as React from "react";
|
|
16
|
-
export type { TextProps } from "./TextProps";
|
|
17
|
-
type TextForwardRef = React.ComponentRef<typeof NativeText | typeof NativeVirtualText>;
|
|
18
|
-
declare const TextImpl: (props: Omit<TextProps, keyof {
|
|
19
|
-
ref?: React.Ref<TextForwardRef>;
|
|
20
|
-
}> & {
|
|
21
|
-
ref?: React.Ref<TextForwardRef>;
|
|
22
|
-
}) => React.ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* Text is the fundamental component for displaying text.
|
|
25
|
-
*
|
|
26
|
-
* @see https://reactnative.dev/docs/text
|
|
27
|
-
*/
|
|
28
|
-
declare const $$Text: typeof TextImpl;
|
|
29
|
-
declare type $$Text = typeof $$Text;
|
|
30
|
-
export default $$Text;
|
|
@@ -1,20 +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<<e93bba7322b7ea4dc63573c0204af6ee>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Text/TextAncestorContext.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as React from "react";
|
|
14
|
-
declare const TextAncestorContext: React.Context<boolean>;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the current element is the descendant of a <Text> element.
|
|
17
|
-
*/
|
|
18
|
-
declare const $$TextAncestorContext: typeof TextAncestorContext;
|
|
19
|
-
declare type $$TextAncestorContext = typeof $$TextAncestorContext;
|
|
20
|
-
export default $$TextAncestorContext;
|
|
@@ -1,31 +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<<b2395c936593760f5fe6a568f9fddf44>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Text/TextNativeComponent.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { HostComponent } from "../../src/private/types/HostComponent";
|
|
14
|
-
import type { ProcessedColorValue } from "../StyleSheet/processColor";
|
|
15
|
-
import type { GestureResponderEvent } from "../Types/CoreEventTypes";
|
|
16
|
-
import type { TextProps } from "./TextProps";
|
|
17
|
-
export type NativeTextProps = Readonly<Omit<TextProps, keyof {
|
|
18
|
-
isHighlighted?: boolean | undefined;
|
|
19
|
-
selectionColor?: ProcessedColorValue | undefined;
|
|
20
|
-
onClick?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
21
|
-
isPressable?: boolean | undefined;
|
|
22
|
-
}> & {
|
|
23
|
-
isHighlighted?: boolean | undefined;
|
|
24
|
-
selectionColor?: ProcessedColorValue | undefined;
|
|
25
|
-
onClick?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
26
|
-
isPressable?: boolean | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
export declare const NativeText: HostComponent<NativeTextProps>;
|
|
29
|
-
export declare type NativeText = typeof NativeText;
|
|
30
|
-
export declare const NativeVirtualText: HostComponent<NativeTextProps>;
|
|
31
|
-
export declare type NativeVirtualText = typeof NativeVirtualText;
|
|
@@ -1,220 +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<<8279bba97b97d9e95aa5248af0e8ce4a>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Text/TextProps.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { AccessibilityActionEvent, AccessibilityProps, Role } from "../Components/View/ViewAccessibility";
|
|
14
|
-
import type { ColorValue, TextStyleProp } from "../StyleSheet/StyleSheet";
|
|
15
|
-
import type { GestureResponderEvent, LayoutChangeEvent, PointerEvent, TextLayoutEvent } from "../Types/CoreEventTypes";
|
|
16
|
-
import * as React from "react";
|
|
17
|
-
export type PressRetentionOffset = Readonly<{
|
|
18
|
-
top: number;
|
|
19
|
-
left: number;
|
|
20
|
-
bottom: number;
|
|
21
|
-
right: number;
|
|
22
|
-
}>;
|
|
23
|
-
type TextPointerEventProps = Readonly<{
|
|
24
|
-
onPointerEnter?: (event: PointerEvent) => void;
|
|
25
|
-
onPointerLeave?: (event: PointerEvent) => void;
|
|
26
|
-
onPointerMove?: (event: PointerEvent) => void;
|
|
27
|
-
}>;
|
|
28
|
-
export type TextPropsIOS = {
|
|
29
|
-
/**
|
|
30
|
-
* Specifies whether font should be scaled down automatically to fit given style constraints.
|
|
31
|
-
*
|
|
32
|
-
* See https://reactnative.dev/docs/text#adjustsfontsizetofit
|
|
33
|
-
*/
|
|
34
|
-
adjustsFontSizeToFit?: boolean | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* The Dynamic Type scale ramp to apply to this element on iOS.
|
|
37
|
-
*/
|
|
38
|
-
dynamicTypeRamp?: ("caption2" | "caption1" | "footnote" | "subheadline" | "callout" | "body" | "headline" | "title3" | "title2" | "title1" | "largeTitle") | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* When `true`, no visual change is made when text is pressed down. By
|
|
41
|
-
* default, a gray oval highlights the text on press down.
|
|
42
|
-
*
|
|
43
|
-
* See https://reactnative.dev/docs/text#supperhighlighting
|
|
44
|
-
*/
|
|
45
|
-
suppressHighlighting?: boolean | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Set line break strategy on iOS.
|
|
48
|
-
*
|
|
49
|
-
* See https://reactnative.dev/docs/text.html#linebreakstrategyios
|
|
50
|
-
*/
|
|
51
|
-
lineBreakStrategyIOS?: ("none" | "standard" | "hangul-word" | "push-out") | undefined;
|
|
52
|
-
};
|
|
53
|
-
export type TextPropsAndroid = {
|
|
54
|
-
/**
|
|
55
|
-
* Specifies the disabled state of the text view for testing purposes.
|
|
56
|
-
*
|
|
57
|
-
* See https://reactnative.dev/docs/text#disabled
|
|
58
|
-
*/
|
|
59
|
-
disabled?: boolean | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* The highlight color of the text.
|
|
62
|
-
*
|
|
63
|
-
* See https://reactnative.dev/docs/text#selectioncolor
|
|
64
|
-
*/
|
|
65
|
-
selectionColor?: ColorValue | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Determines the types of data converted to clickable URLs in the text element.
|
|
68
|
-
* By default no data types are detected.
|
|
69
|
-
*/
|
|
70
|
-
dataDetectorType?: ("phoneNumber" | "link" | "email" | "none" | "all") | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Set text break strategy on Android API Level 23+
|
|
73
|
-
* default is `highQuality`.
|
|
74
|
-
*
|
|
75
|
-
* See https://reactnative.dev/docs/text#textbreakstrategy
|
|
76
|
-
*/
|
|
77
|
-
textBreakStrategy?: ("balanced" | "highQuality" | "simple") | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* iOS Only
|
|
80
|
-
*/
|
|
81
|
-
adjustsFontSizeToFit?: boolean | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0).
|
|
84
|
-
*
|
|
85
|
-
* See https://reactnative.dev/docs/text#minimumfontscale
|
|
86
|
-
*/
|
|
87
|
-
minimumFontScale?: number | undefined;
|
|
88
|
-
};
|
|
89
|
-
type TextBaseProps = Readonly<{
|
|
90
|
-
onAccessibilityAction?: ((event: AccessibilityActionEvent) => unknown) | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Whether fonts should scale to respect Text Size accessibility settings.
|
|
93
|
-
* The default is `true`.
|
|
94
|
-
*
|
|
95
|
-
* See https://reactnative.dev/docs/text#allowfontscaling
|
|
96
|
-
*/
|
|
97
|
-
allowFontScaling?: boolean | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* Set hyphenation strategy on Android.
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
|
-
android_hyphenationFrequency?: ("normal" | "none" | "full") | undefined;
|
|
103
|
-
children?: React.ReactNode | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* When `numberOfLines` is set, this prop defines how text will be
|
|
106
|
-
* truncated.
|
|
107
|
-
*
|
|
108
|
-
* This can be one of the following values:
|
|
109
|
-
*
|
|
110
|
-
* - `head` - The line is displayed so that the end fits in the container and the missing text
|
|
111
|
-
* at the beginning of the line is indicated by an ellipsis glyph. e.g., "...wxyz"
|
|
112
|
-
* - `middle` - The line is displayed so that the beginning and end fit in the container and the
|
|
113
|
-
* missing text in the middle is indicated by an ellipsis glyph. "ab...yz"
|
|
114
|
-
* - `tail` - The line is displayed so that the beginning fits in the container and the
|
|
115
|
-
* missing text at the end of the line is indicated by an ellipsis glyph. e.g., "abcd..."
|
|
116
|
-
* - `clip` - Lines are not drawn past the edge of the text container.
|
|
117
|
-
*
|
|
118
|
-
* The default is `tail`.
|
|
119
|
-
*
|
|
120
|
-
* `numberOfLines` must be set in conjunction with this prop.
|
|
121
|
-
*
|
|
122
|
-
* > `clip` is working only for iOS
|
|
123
|
-
*
|
|
124
|
-
* See https://reactnative.dev/docs/text#ellipsizemode
|
|
125
|
-
*/
|
|
126
|
-
ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* Used to reference react managed views from native code.
|
|
129
|
-
*
|
|
130
|
-
* See https://reactnative.dev/docs/text#nativeid
|
|
131
|
-
*/
|
|
132
|
-
id?: string;
|
|
133
|
-
/**
|
|
134
|
-
* Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.
|
|
135
|
-
* Possible values:
|
|
136
|
-
* `null/undefined` (default): inherit from the parent node or the global default (0)
|
|
137
|
-
* `0`: no max, ignore parent/global default
|
|
138
|
-
* `>= 1`: sets the maxFontSizeMultiplier of this node to this value
|
|
139
|
-
*/
|
|
140
|
-
maxFontSizeMultiplier?: number | undefined;
|
|
141
|
-
/**
|
|
142
|
-
* Used to locate this view from native code.
|
|
143
|
-
*
|
|
144
|
-
* See https://reactnative.dev/docs/text#nativeid
|
|
145
|
-
*/
|
|
146
|
-
nativeID?: string | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* Used to truncate the text with an ellipsis after computing the text
|
|
149
|
-
* layout, including line wrapping, such that the total number of lines
|
|
150
|
-
* does not exceed this number.
|
|
151
|
-
*
|
|
152
|
-
* This prop is commonly used with `ellipsizeMode`.
|
|
153
|
-
*
|
|
154
|
-
* See https://reactnative.dev/docs/text#numberoflines
|
|
155
|
-
*/
|
|
156
|
-
numberOfLines?: number | undefined;
|
|
157
|
-
/**
|
|
158
|
-
* Invoked on mount and layout changes.
|
|
159
|
-
*
|
|
160
|
-
* {nativeEvent: { layout: {x, y, width, height}}}.
|
|
161
|
-
*
|
|
162
|
-
* See https://reactnative.dev/docs/text#onlayout
|
|
163
|
-
*/
|
|
164
|
-
onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
|
|
165
|
-
/**
|
|
166
|
-
* This function is called on long press.
|
|
167
|
-
* e.g., `onLongPress={this.increaseSize}>`
|
|
168
|
-
*
|
|
169
|
-
* See https://reactnative.dev/docs/text#onlongpress
|
|
170
|
-
*/
|
|
171
|
-
onLongPress?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
172
|
-
/**
|
|
173
|
-
* This function is called on press.
|
|
174
|
-
* Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting).
|
|
175
|
-
*
|
|
176
|
-
* See https://reactnative.dev/docs/text#onpress
|
|
177
|
-
*/
|
|
178
|
-
onPress?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
179
|
-
onPressIn?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
180
|
-
onPressOut?: ((event: GestureResponderEvent) => unknown) | undefined;
|
|
181
|
-
onResponderGrant?: ((event: GestureResponderEvent) => void) | undefined;
|
|
182
|
-
onResponderMove?: ((event: GestureResponderEvent) => void) | undefined;
|
|
183
|
-
onResponderRelease?: ((event: GestureResponderEvent) => void) | undefined;
|
|
184
|
-
onResponderTerminate?: ((event: GestureResponderEvent) => void) | undefined;
|
|
185
|
-
onResponderTerminationRequest?: (() => boolean) | undefined;
|
|
186
|
-
onStartShouldSetResponder?: (() => boolean) | undefined;
|
|
187
|
-
onMoveShouldSetResponder?: (() => boolean) | undefined;
|
|
188
|
-
onTextLayout?: ((event: TextLayoutEvent) => unknown) | undefined;
|
|
189
|
-
/**
|
|
190
|
-
* Defines how far your touch may move off of the button, before
|
|
191
|
-
* deactivating the button.
|
|
192
|
-
*
|
|
193
|
-
* See https://reactnative.dev/docs/text#pressretentionoffset
|
|
194
|
-
*/
|
|
195
|
-
pressRetentionOffset?: PressRetentionOffset | undefined;
|
|
196
|
-
/**
|
|
197
|
-
* Indicates to accessibility services to treat UI component like a specific role.
|
|
198
|
-
*/
|
|
199
|
-
role?: Role | undefined;
|
|
200
|
-
/**
|
|
201
|
-
* Lets the user select text.
|
|
202
|
-
*
|
|
203
|
-
* See https://reactnative.dev/docs/text#selectable
|
|
204
|
-
*/
|
|
205
|
-
selectable?: boolean | undefined;
|
|
206
|
-
/**
|
|
207
|
-
* @see https://reactnative.dev/docs/text#style
|
|
208
|
-
*/
|
|
209
|
-
style?: TextStyleProp | undefined;
|
|
210
|
-
/**
|
|
211
|
-
* Used to locate this view in end-to-end tests.
|
|
212
|
-
*
|
|
213
|
-
* See https://reactnative.dev/docs/text#testid
|
|
214
|
-
*/
|
|
215
|
-
testID?: string | undefined;
|
|
216
|
-
}>;
|
|
217
|
-
/**
|
|
218
|
-
* @see https://reactnative.dev/docs/text#reference
|
|
219
|
-
*/
|
|
220
|
-
export type TextProps = Readonly<Omit<TextPointerEventProps, keyof TextPropsIOS | keyof TextPropsAndroid | keyof TextBaseProps | keyof AccessibilityProps | keyof {}> & Omit<TextPropsIOS, keyof TextPropsAndroid | keyof TextBaseProps | keyof AccessibilityProps | keyof {}> & Omit<TextPropsAndroid, keyof TextBaseProps | keyof AccessibilityProps | keyof {}> & Omit<TextBaseProps, keyof AccessibilityProps | keyof {}> & Omit<AccessibilityProps, keyof {}> & {}>;
|
|
@@ -1,35 +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<<c3a7e2a6b4efce0427bfeca7b44ca1df>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/TurboModule/RCTExport.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* NOTE: This is React Native specific export type.
|
|
15
|
-
*
|
|
16
|
-
* DEPRECATED_RCTExport is an interface type that allows native code generation
|
|
17
|
-
* for React Native native modules. It exists as a hint to the codegen tool that
|
|
18
|
-
* any interface that extends it needs to be codegen'ed. Example usage:
|
|
19
|
-
*
|
|
20
|
-
* export interface RCTFoobar extends DEPRECATED_RCTExport<void> {}
|
|
21
|
-
*
|
|
22
|
-
* Native definition for RCTFoobar will then be generated.
|
|
23
|
-
*
|
|
24
|
-
* The type param T is a placeholder for future codegen hinting, like versioning
|
|
25
|
-
* information, native base classes, etc. For now, simply use `void` type as
|
|
26
|
-
* there's nothing to give hint about.
|
|
27
|
-
*
|
|
28
|
-
* NOTE: This export is deprecated. Please use TurboModule.
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
export interface DEPRECATED_RCTExport<T extends void = void> {
|
|
32
|
-
readonly getConstants?: () => {};
|
|
33
|
-
}
|
|
34
|
-
export interface TurboModule extends DEPRECATED_RCTExport<void> {}
|
|
35
|
-
export type { RootTag } from "../Types/RootTagTypes.js";
|
|
@@ -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<<2a843bdbe617fd5e3f17cbca0c4c501e>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/TurboModule/TurboModuleRegistry.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { TurboModule } from "./RCTExport";
|
|
14
|
-
export declare function get<T extends TurboModule>(name: string): null | undefined | T;
|
|
15
|
-
export declare function getEnforcing<T extends TurboModule>(name: string): T;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated SignedSource<<3e03a03d2e4f0423c317ca3e6c285bb4>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Types/CodegenTypes.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { EventSubscription } from "../vendor/emitter/EventEmitter";
|
|
14
|
-
import type { NativeSyntheticEvent } from "./CoreEventTypes";
|
|
15
|
-
export type BubblingEventHandler<T, PaperName extends string | never = never> = (event: NativeSyntheticEvent<T>) => void | Promise<void>;
|
|
16
|
-
export type DirectEventHandler<T, PaperName extends string | never = never> = (event: NativeSyntheticEvent<T>) => void | Promise<void>;
|
|
17
|
-
export type Double = number;
|
|
18
|
-
export type Float = number;
|
|
19
|
-
export type Int32 = number;
|
|
20
|
-
export type UnsafeObject = Object;
|
|
21
|
-
export type UnsafeMixed = unknown;
|
|
22
|
-
type DefaultTypes = number | boolean | string | ReadonlyArray<string>;
|
|
23
|
-
export type WithDefault<Type extends DefaultTypes, Value extends (null | undefined | Type) | string> = null | undefined | Type;
|
|
24
|
-
export type EventEmitter<T> = (handler: ($$PARAM_0$$: T) => void | Promise<void>) => EventSubscription;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated SignedSource<<2c803a2214d7c0f890878abeb2e9e754>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Types/CodegenTypesNamespace.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as CodegenTypes from "./CodegenTypes";
|
|
14
|
-
export type { CodegenTypes };
|