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,97 +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<<02a06dc27dc2335ca2c3243dffd6c991>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TV/TVTextScrollView.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type $$IMPORT_TYPEOF_1$$ from "../ScrollView/ScrollView";
|
|
14
|
-
type Props = typeof $$IMPORT_TYPEOF_1$$;
|
|
15
|
-
import * as React from "react";
|
|
16
|
-
/**
|
|
17
|
-
* Convenience wrapper to create a scroll view that will scroll correctly
|
|
18
|
-
* using swipe gestures on tvOS, even if the scroll view has no focusable
|
|
19
|
-
* subviews.
|
|
20
|
-
*
|
|
21
|
-
* The main use case would be when a large scrolling block of text needs
|
|
22
|
-
* to be presented to the user.
|
|
23
|
-
*
|
|
24
|
-
* Props:
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
declare class TVTextScrollView extends React.Component<Omit<Props, keyof {
|
|
29
|
-
/**
|
|
30
|
-
* The duration of the scroll animation when a swipe is detected.
|
|
31
|
-
* Default value is 0.3 s
|
|
32
|
-
*/
|
|
33
|
-
scrollDuration?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Scrolling distance when a swipe is detected
|
|
36
|
-
* Default value is half the visible height (vertical scroller)
|
|
37
|
-
* or width (horizontal scroller)
|
|
38
|
-
*/
|
|
39
|
-
pageSize?: number;
|
|
40
|
-
/**
|
|
41
|
-
* If true, will scroll to start when focus moves out past the beginning
|
|
42
|
-
* of the scroller
|
|
43
|
-
* Defaults to true
|
|
44
|
-
*/
|
|
45
|
-
snapToStart?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* If true, will scroll to end when focus moves out past the end of the
|
|
48
|
-
* scroller
|
|
49
|
-
* Defaults to true
|
|
50
|
-
*/
|
|
51
|
-
snapToEnd?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Called when the scroller comes into focus (e.g. for highlighting)
|
|
54
|
-
*/
|
|
55
|
-
onFocus?: (evt: Event) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Called when the scroller goes out of focus
|
|
58
|
-
*/
|
|
59
|
-
onBlur?: (evt: Event) => void;
|
|
60
|
-
}> & {
|
|
61
|
-
/**
|
|
62
|
-
* The duration of the scroll animation when a swipe is detected.
|
|
63
|
-
* Default value is 0.3 s
|
|
64
|
-
*/
|
|
65
|
-
scrollDuration?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Scrolling distance when a swipe is detected
|
|
68
|
-
* Default value is half the visible height (vertical scroller)
|
|
69
|
-
* or width (horizontal scroller)
|
|
70
|
-
*/
|
|
71
|
-
pageSize?: number;
|
|
72
|
-
/**
|
|
73
|
-
* If true, will scroll to start when focus moves out past the beginning
|
|
74
|
-
* of the scroller
|
|
75
|
-
* Defaults to true
|
|
76
|
-
*/
|
|
77
|
-
snapToStart?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* If true, will scroll to end when focus moves out past the end of the
|
|
80
|
-
* scroller
|
|
81
|
-
* Defaults to true
|
|
82
|
-
*/
|
|
83
|
-
snapToEnd?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Called when the scroller comes into focus (e.g. for highlighting)
|
|
86
|
-
*/
|
|
87
|
-
onFocus?: (evt: Event) => void;
|
|
88
|
-
/**
|
|
89
|
-
* Called when the scroller goes out of focus
|
|
90
|
-
*/
|
|
91
|
-
onBlur?: (evt: Event) => void;
|
|
92
|
-
}> {
|
|
93
|
-
componentDidMount(): void;
|
|
94
|
-
componentWillUnmount(): void;
|
|
95
|
-
render(): any;
|
|
96
|
-
}
|
|
97
|
-
export default TVTextScrollView;
|
|
@@ -1,79 +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<<317f6b7fc993bb4539f544bc95adcd15>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TV/TVViewPropTypes.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export type TVParallaxPropertiesType = Readonly<{
|
|
14
|
-
/**
|
|
15
|
-
* If true, parallax effects are enabled. Defaults to true.
|
|
16
|
-
*/
|
|
17
|
-
enabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Defaults to 2.0.
|
|
20
|
-
*/
|
|
21
|
-
shiftDistanceX?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Defaults to 2.0.
|
|
24
|
-
*/
|
|
25
|
-
shiftDistanceY?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Defaults to 0.05.
|
|
28
|
-
*/
|
|
29
|
-
tiltAngle?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Defaults to 1.0
|
|
32
|
-
*/
|
|
33
|
-
magnification?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Defaults to 1.0
|
|
36
|
-
*/
|
|
37
|
-
pressMagnification?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Defaults to 0.3
|
|
40
|
-
*/
|
|
41
|
-
pressDuration?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Defaults to 0.3
|
|
44
|
-
*/
|
|
45
|
-
pressDelay?: number;
|
|
46
|
-
}>;
|
|
47
|
-
/**
|
|
48
|
-
* Additional View properties for Apple TV
|
|
49
|
-
*/
|
|
50
|
-
export type TVViewProps = Readonly<{
|
|
51
|
-
/**
|
|
52
|
-
* *(Apple TV only)* When set to true, this view will be focusable
|
|
53
|
-
* and navigable using the Apple TV remote.
|
|
54
|
-
*
|
|
55
|
-
* @platform ios
|
|
56
|
-
*/
|
|
57
|
-
isTVSelectable?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* *(Apple TV only)* May be set to true to force the Apple TV focus engine to move focus to this view.
|
|
60
|
-
*
|
|
61
|
-
* @platform ios
|
|
62
|
-
*/
|
|
63
|
-
hasTVPreferredFocus?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* *(Apple TV only)* Object with properties to control Apple TV parallax effects.
|
|
66
|
-
*
|
|
67
|
-
* @platform ios
|
|
68
|
-
*/
|
|
69
|
-
tvParallaxProperties?: TVParallaxPropertiesType;
|
|
70
|
-
/**
|
|
71
|
-
* Additional properties needed for flow checks on TVFocusGuideView
|
|
72
|
-
*/
|
|
73
|
-
destinations?: Object[] | undefined;
|
|
74
|
-
enabled?: boolean;
|
|
75
|
-
autoFocus?: boolean;
|
|
76
|
-
safePadding?: string | null;
|
|
77
|
-
onPressIn?: (event: any) => void;
|
|
78
|
-
onPressOut?: (event: any) => void;
|
|
79
|
-
}>;
|
|
@@ -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<<d27e933429d021bb0c615a5ea604e4bc>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TV/tagForComponentOrHandle.js
|
|
11
|
-
*/
|
|
12
|
-
/*
|
|
13
|
-
* Replacement for findNodeHandle, since we need this for converting
|
|
14
|
-
* components to tags when rendering nextFocus props
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import * as React from "react";
|
|
19
|
-
export type ComponentOrHandleType = null | undefined | (React.ComponentRef<React.ElementType> | number);
|
|
20
|
-
export type TagForComponentOrHandleType = (component: ComponentOrHandleType) => null | undefined | number;
|
|
21
|
-
declare const tagForComponentOrHandle: TagForComponentOrHandleType;
|
|
22
|
-
declare const $$tagForComponentOrHandle: typeof tagForComponentOrHandle;
|
|
23
|
-
declare type $$tagForComponentOrHandle = typeof $$tagForComponentOrHandle;
|
|
24
|
-
export default $$tagForComponentOrHandle;
|
|
@@ -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<<4658a6f107be08a08153fb06065d2b13>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TV/useTVEventHandler.js
|
|
11
|
-
*/
|
|
12
|
-
/*
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
import type { TVRemoteEvent } from "../../Types/CoreEventTypes";
|
|
17
|
-
declare const useTVEventHandler: (handleEvent: (evt: TVRemoteEvent) => void) => void;
|
|
18
|
-
declare const $$useTVEventHandler: typeof useTVEventHandler;
|
|
19
|
-
declare type $$useTVEventHandler = typeof $$useTVEventHandler;
|
|
20
|
-
export default $$useTVEventHandler;
|
|
@@ -1,86 +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<<e8c560eeb1fdadeea4333f11a79aa928>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TextInput/InputAccessoryView.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { type ColorValue, type ViewStyleProp } from "../../StyleSheet/StyleSheet";
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
/**
|
|
16
|
-
* Note: iOS only
|
|
17
|
-
*
|
|
18
|
-
* A component which enables customization of the keyboard input accessory view.
|
|
19
|
-
* The input accessory view is displayed above the keyboard whenever a TextInput
|
|
20
|
-
* has focus. This component can be used to create custom toolbars.
|
|
21
|
-
*
|
|
22
|
-
* To use this component wrap your custom toolbar with the
|
|
23
|
-
* InputAccessoryView component, and set a nativeID. Then, pass that nativeID
|
|
24
|
-
* as the inputAccessoryViewID of whatever TextInput you desire. A simple
|
|
25
|
-
* example:
|
|
26
|
-
*
|
|
27
|
-
* ```ReactNativeWebPlayer
|
|
28
|
-
* import React, { Component } from 'react';
|
|
29
|
-
* import { AppRegistry, TextInput, InputAccessoryView, Button } from 'react-native';
|
|
30
|
-
*
|
|
31
|
-
* export default class UselessTextInput extends Component {
|
|
32
|
-
* constructor(props) {
|
|
33
|
-
* super(props);
|
|
34
|
-
* this.state = {text: 'Placeholder Text'};
|
|
35
|
-
* }
|
|
36
|
-
*
|
|
37
|
-
* render() {
|
|
38
|
-
* const inputAccessoryViewID = "uniqueID";
|
|
39
|
-
* return (
|
|
40
|
-
* <View>
|
|
41
|
-
* <ScrollView keyboardDismissMode="interactive">
|
|
42
|
-
* <TextInput
|
|
43
|
-
* style={{
|
|
44
|
-
* padding: 10,
|
|
45
|
-
* paddingTop: 50,
|
|
46
|
-
* }}
|
|
47
|
-
* inputAccessoryViewID=inputAccessoryViewID
|
|
48
|
-
* onChangeText={text => this.setState({text})}
|
|
49
|
-
* value={this.state.text}
|
|
50
|
-
* />
|
|
51
|
-
* </ScrollView>
|
|
52
|
-
* <InputAccessoryView nativeID=inputAccessoryViewID>
|
|
53
|
-
* <Button
|
|
54
|
-
* onPress={() => this.setState({text: 'Placeholder Text'})}
|
|
55
|
-
* title="Reset Text"
|
|
56
|
-
* />
|
|
57
|
-
* </InputAccessoryView>
|
|
58
|
-
* </View>
|
|
59
|
-
* );
|
|
60
|
-
* }
|
|
61
|
-
* }
|
|
62
|
-
*
|
|
63
|
-
* // skip this line if using Create React Native App
|
|
64
|
-
* AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* This component can also be used to create sticky text inputs (text inputs
|
|
68
|
-
* which are anchored to the top of the keyboard). To do this, wrap a
|
|
69
|
-
* TextInput with the InputAccessoryView component, and don't set a nativeID.
|
|
70
|
-
* For an example, look at InputAccessoryViewExample.js in RNTester.
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
export type InputAccessoryViewProps = Readonly<{
|
|
74
|
-
readonly children: React.ReactNode;
|
|
75
|
-
/**
|
|
76
|
-
* An ID which is used to associate this `InputAccessoryView` to
|
|
77
|
-
* specified TextInput(s).
|
|
78
|
-
*/
|
|
79
|
-
nativeID?: string | undefined;
|
|
80
|
-
style?: ViewStyleProp | undefined;
|
|
81
|
-
backgroundColor?: ColorValue | undefined;
|
|
82
|
-
}>;
|
|
83
|
-
declare const InputAccessoryView: React.ComponentType<InputAccessoryViewProps>;
|
|
84
|
-
declare const $$InputAccessoryView: typeof InputAccessoryView;
|
|
85
|
-
declare type $$InputAccessoryView = typeof $$InputAccessoryView;
|
|
86
|
-
export default $$InputAccessoryView;
|
|
@@ -1,47 +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<<8e2e5adb07f487a815615c9664004522>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/TextInput/TextInput.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { HostInstance } from "../../../src/private/types/HostInstance";
|
|
14
|
-
import type { BlurEvent, FocusEvent } from "../../Types/CoreEventTypes";
|
|
15
|
-
import type { AutoCapitalize, EnterKeyHintType, EnterKeyHintTypeAndroid, EnterKeyHintTypeIOS, EnterKeyHintTypeOptions, InputModeOptions, KeyboardType, KeyboardTypeAndroid, KeyboardTypeIOS, KeyboardTypeOptions, ReturnKeyType, ReturnKeyTypeAndroid, ReturnKeyTypeIOS, ReturnKeyTypeOptions, SubmitBehavior, TextContentType, TextInputAndroidProps, TextInputBlurEvent, TextInputChangeEvent, TextInputContentSizeChangeEvent, TextInputEditingEvent, TextInputEndEditingEvent, TextInputEvent, TextInputFocusEvent, TextInputIOSProps, TextInputKeyPressEvent, TextInputProps, TextInputSelectionChangeEvent, TextInputSubmitEditingEvent, TextInputType } from "./TextInput.flow";
|
|
16
|
-
export type { AutoCapitalize, BlurEvent, EnterKeyHintType, EnterKeyHintTypeAndroid, EnterKeyHintTypeIOS, EnterKeyHintTypeOptions, FocusEvent, InputModeOptions, KeyboardType, KeyboardTypeAndroid, KeyboardTypeIOS, KeyboardTypeOptions, ReturnKeyType, ReturnKeyTypeAndroid, ReturnKeyTypeIOS, ReturnKeyTypeOptions, SubmitBehavior, TextContentType, TextInputAndroidProps, TextInputBlurEvent, TextInputChangeEvent, TextInputContentSizeChangeEvent, TextInputEditingEvent, TextInputEndEditingEvent, TextInputEvent, TextInputFocusEvent, TextInputIOSProps, TextInputKeyPressEvent, TextInputProps, TextInputSelectionChangeEvent, TextInputSubmitEditingEvent };
|
|
17
|
-
type TextInputStateType = Readonly<{
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Use currentlyFocusedInput
|
|
20
|
-
* Returns the ID of the currently focused text field, if one exists
|
|
21
|
-
* If no text field is focused it returns null
|
|
22
|
-
*/
|
|
23
|
-
currentlyFocusedField: () => number | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Returns the ref of the currently focused text field, if one exists
|
|
26
|
-
* If no text field is focused it returns null
|
|
27
|
-
*/
|
|
28
|
-
currentlyFocusedInput: () => HostInstance | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @param textField ref of the text field to focus
|
|
31
|
-
* Focuses the specified text field
|
|
32
|
-
* noop if the text field was already focused
|
|
33
|
-
*/
|
|
34
|
-
focusTextInput: (textField: HostInstance | undefined) => void;
|
|
35
|
-
/**
|
|
36
|
-
* @param textField ref of the text field to focus
|
|
37
|
-
* Unfocuses the specified text field
|
|
38
|
-
* noop if it wasn't focused
|
|
39
|
-
*/
|
|
40
|
-
blurTextInput: (textField: HostInstance | undefined) => void;
|
|
41
|
-
}>;
|
|
42
|
-
export type TextInputComponentStatics = Readonly<{
|
|
43
|
-
State: TextInputStateType;
|
|
44
|
-
}>;
|
|
45
|
-
declare const $$TextInput: TextInputType;
|
|
46
|
-
declare type $$TextInput = typeof $$TextInput;
|
|
47
|
-
export default $$TextInput;
|