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,415 +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<<02bb6bcf8199446e82b0a4c4cc5d1b88>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/View/ViewAccessibility.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { NativeSyntheticEvent } from "../../Types/CoreEventTypes";
|
|
14
|
-
export type AccessibilityRole = "none" | "button" | "dropdownlist" | "togglebutton" | "link" | "search" | "image" | "keyboardkey" | "text" | "adjustable" | "imagebutton" | "header" | "summary" | "alert" | "checkbox" | "combobox" | "menu" | "menubar" | "menuitem" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "switch" | "tab" | "tabbar" | "tablist" | "timer" | "list" | "toolbar" | "grid" | "pager" | "scrollview" | "horizontalscrollview" | "viewgroup" | "webview" | "drawerlayout" | "slidingdrawer" | "iconmenu" | string;
|
|
15
|
-
export type Role = "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "group" | "heading" | "img" | "link" | "list" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "meter" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "summary" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
|
|
16
|
-
export type AccessibilityActionName =
|
|
17
|
-
/**
|
|
18
|
-
* Generated when a screen reader user double taps the component.
|
|
19
|
-
*/
|
|
20
|
-
"activate"
|
|
21
|
-
/**
|
|
22
|
-
* Generated when a screen reader user increments an adjustable component.
|
|
23
|
-
*/ | "increment"
|
|
24
|
-
/**
|
|
25
|
-
* Generated when a screen reader user decrements an adjustable component.
|
|
26
|
-
*/ | "decrement"
|
|
27
|
-
/**
|
|
28
|
-
* Generated when a TalkBack user places accessibility focus on the component and double taps and holds one finger on the screen.
|
|
29
|
-
* @platform android
|
|
30
|
-
*/ | "longpress"
|
|
31
|
-
/**
|
|
32
|
-
* Generated when a VoiceOver user places focus on or inside the component and double taps with two fingers.
|
|
33
|
-
* @platform ios
|
|
34
|
-
* */ | "magicTap"
|
|
35
|
-
/**
|
|
36
|
-
* Generated when a VoiceOver user places focus on or inside the component and performs a two finger scrub gesture (left, right, left).
|
|
37
|
-
* @platform ios
|
|
38
|
-
* */ | "escape";
|
|
39
|
-
export type AccessibilityActionInfo = Readonly<{
|
|
40
|
-
name: AccessibilityActionName | string;
|
|
41
|
-
label?: string;
|
|
42
|
-
}>;
|
|
43
|
-
export type AccessibilityActionEvent = NativeSyntheticEvent<Readonly<{
|
|
44
|
-
actionName: string;
|
|
45
|
-
}>>;
|
|
46
|
-
export type AccessibilityState = {
|
|
47
|
-
/**
|
|
48
|
-
* When true, informs accessible tools if the element is disabled
|
|
49
|
-
*/
|
|
50
|
-
disabled?: boolean | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* When true, informs accessible tools if the element is selected
|
|
53
|
-
*/
|
|
54
|
-
selected?: boolean | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* For items like Checkboxes and Toggle switches, reports their state to accessible tools
|
|
57
|
-
*/
|
|
58
|
-
checked?: (boolean | undefined) | "mixed";
|
|
59
|
-
/**
|
|
60
|
-
* When present, informs accessible tools if the element is busy
|
|
61
|
-
*/
|
|
62
|
-
busy?: boolean | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* When present, informs accessible tools the element is expanded or collapsed
|
|
65
|
-
*/
|
|
66
|
-
expanded?: boolean | undefined;
|
|
67
|
-
};
|
|
68
|
-
export type AccessibilityValue = Readonly<{
|
|
69
|
-
/**
|
|
70
|
-
* The minimum value of this component's range. (should be an integer)
|
|
71
|
-
*/
|
|
72
|
-
min?: number;
|
|
73
|
-
/**
|
|
74
|
-
* The maximum value of this component's range. (should be an integer)
|
|
75
|
-
*/
|
|
76
|
-
max?: number;
|
|
77
|
-
/**
|
|
78
|
-
* The current value of this component's range. (should be an integer)
|
|
79
|
-
*/
|
|
80
|
-
now?: number;
|
|
81
|
-
/**
|
|
82
|
-
* A textual description of this component's value. (will override minimum, current, and maximum if set)
|
|
83
|
-
*/
|
|
84
|
-
text?: string;
|
|
85
|
-
}>;
|
|
86
|
-
export type AccessibilityPropsAndroid = Readonly<{
|
|
87
|
-
/**
|
|
88
|
-
* Identifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props,
|
|
89
|
-
* the text is read aloud. The value should should match the nativeID of the related element.
|
|
90
|
-
*
|
|
91
|
-
* @platform android
|
|
92
|
-
*/
|
|
93
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
94
|
-
/**
|
|
95
|
-
* Identifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props,
|
|
96
|
-
* the text is read aloud. The value should should match the nativeID of the related element.
|
|
97
|
-
*
|
|
98
|
-
* @platform android
|
|
99
|
-
*/
|
|
100
|
-
"aria-labelledby"?: string | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* Indicates to accessibility services whether the user should be notified
|
|
103
|
-
* when this view changes. Works for Android API >= 19 only.
|
|
104
|
-
*
|
|
105
|
-
* @platform android
|
|
106
|
-
*
|
|
107
|
-
* See https://reactnative.dev/docs/view#accessibilityliveregion
|
|
108
|
-
*/
|
|
109
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Indicates to accessibility services whether the user should be notified
|
|
112
|
-
* when this view changes. Works for Android API >= 19 only.
|
|
113
|
-
*
|
|
114
|
-
* @platform android
|
|
115
|
-
*
|
|
116
|
-
* See https://reactnative.dev/docs/view#accessibilityliveregion
|
|
117
|
-
*/
|
|
118
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* Controls how view is important for accessibility which is if it
|
|
121
|
-
* fires accessibility events and if it is reported to accessibility services
|
|
122
|
-
* that query the screen. Works for Android only.
|
|
123
|
-
*
|
|
124
|
-
* @platform android
|
|
125
|
-
*
|
|
126
|
-
* See https://reactnative.dev/docs/view#importantforaccessibility
|
|
127
|
-
*/
|
|
128
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* Enables the view to be screen reader focusable, not keyboard focusable. This has lower priority
|
|
131
|
-
* than focusable or accessible props.
|
|
132
|
-
*
|
|
133
|
-
* @platform android
|
|
134
|
-
*/
|
|
135
|
-
screenReaderFocusable?: boolean;
|
|
136
|
-
}>;
|
|
137
|
-
export type AccessibilityPropsIOS = Readonly<{
|
|
138
|
-
/**
|
|
139
|
-
* Prevents view from being inverted if set to true and color inversion is turned on.
|
|
140
|
-
*
|
|
141
|
-
* @platform ios
|
|
142
|
-
*/
|
|
143
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
144
|
-
/**
|
|
145
|
-
* A value indicating whether VoiceOver should ignore the elements
|
|
146
|
-
* within views that are siblings of the receiver.
|
|
147
|
-
* Default is `false`.
|
|
148
|
-
*
|
|
149
|
-
* @platform ios
|
|
150
|
-
*
|
|
151
|
-
* See https://reactnative.dev/docs/view#accessibilityviewismodal
|
|
152
|
-
*/
|
|
153
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* @platform ios
|
|
156
|
-
*
|
|
157
|
-
* See https://reactnative.dev/docs/view#accessibilityshowslargecontentviewer
|
|
158
|
-
*/
|
|
159
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
160
|
-
/**
|
|
161
|
-
* @platform ios
|
|
162
|
-
*
|
|
163
|
-
* See https://reactnative.dev/docs/view#accessibilitylargecontenttitle
|
|
164
|
-
*/
|
|
165
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* The aria-modal attribute indicates content contained within a modal with aria-modal="true"
|
|
168
|
-
* should be accessible to the user.
|
|
169
|
-
* Default is `false`.
|
|
170
|
-
*
|
|
171
|
-
* @platform ios
|
|
172
|
-
*/
|
|
173
|
-
"aria-modal"?: boolean | undefined;
|
|
174
|
-
/**
|
|
175
|
-
* A value indicating whether the accessibility elements contained within
|
|
176
|
-
* this accessibility element are hidden.
|
|
177
|
-
*
|
|
178
|
-
* @platform ios
|
|
179
|
-
*
|
|
180
|
-
* See https://reactnative.dev/docs/view#accessibilityElementsHidden
|
|
181
|
-
*/
|
|
182
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* Indicates to the accessibility services that the UI component is in
|
|
185
|
-
* a specific language. The provided string should be formatted following
|
|
186
|
-
* the BCP 47 specification (https://www.rfc-editor.org/info/bcp47).
|
|
187
|
-
*
|
|
188
|
-
* @platform ios
|
|
189
|
-
*/
|
|
190
|
-
accessibilityLanguage?: string | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* Blocks the user from interacting with the component through keyboard while still allowing
|
|
193
|
-
* screen reader to interact with it if this View is still accessible.
|
|
194
|
-
*
|
|
195
|
-
* @platform ios
|
|
196
|
-
*/
|
|
197
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
198
|
-
}>;
|
|
199
|
-
export type AccessibilityProps = Readonly<Omit<AccessibilityPropsAndroid, keyof AccessibilityPropsIOS | keyof {
|
|
200
|
-
/**
|
|
201
|
-
* When `true`, indicates that the view is an accessibility element.
|
|
202
|
-
* By default, all the touchable elements are accessible.
|
|
203
|
-
*
|
|
204
|
-
* See https://reactnative.dev/docs/view#accessible
|
|
205
|
-
*/
|
|
206
|
-
accessible?: boolean | undefined;
|
|
207
|
-
/**
|
|
208
|
-
* Overrides the text that's read by the screen reader when the user interacts
|
|
209
|
-
* with the element. By default, the label is constructed by traversing all
|
|
210
|
-
* the children and accumulating all the `Text` nodes separated by space.
|
|
211
|
-
*
|
|
212
|
-
* See https://reactnative.dev/docs/view#accessibilitylabel
|
|
213
|
-
*/
|
|
214
|
-
accessibilityLabel?: string | undefined;
|
|
215
|
-
/**
|
|
216
|
-
* An accessibility hint helps users understand what will happen when they perform
|
|
217
|
-
* an action on the accessibility element when that result is not obvious from the
|
|
218
|
-
* accessibility label.
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
* See https://reactnative.dev/docs/view#accessibilityHint
|
|
222
|
-
*/
|
|
223
|
-
accessibilityHint?: string | undefined;
|
|
224
|
-
/**
|
|
225
|
-
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
|
|
226
|
-
* https://github.com/facebook/react-native/issues/34424
|
|
227
|
-
*/
|
|
228
|
-
"aria-label"?: string | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* Indicates to accessibility services to treat UI component like a specific role.
|
|
231
|
-
*/
|
|
232
|
-
accessibilityRole?: AccessibilityRole | undefined;
|
|
233
|
-
/**
|
|
234
|
-
* Alias for accessibilityRole
|
|
235
|
-
*/
|
|
236
|
-
role?: Role | undefined;
|
|
237
|
-
/**
|
|
238
|
-
* Indicates to accessibility services that UI Component is in a specific State.
|
|
239
|
-
*/
|
|
240
|
-
accessibilityState?: AccessibilityState | undefined;
|
|
241
|
-
accessibilityValue?: AccessibilityValue | undefined;
|
|
242
|
-
/**
|
|
243
|
-
* alias for accessibilityState
|
|
244
|
-
* It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.
|
|
245
|
-
*/
|
|
246
|
-
"aria-valuemax"?: AccessibilityValue["max"] | undefined;
|
|
247
|
-
"aria-valuemin"?: AccessibilityValue["min"] | undefined;
|
|
248
|
-
"aria-valuenow"?: AccessibilityValue["now"] | undefined;
|
|
249
|
-
"aria-valuetext"?: AccessibilityValue["text"] | undefined;
|
|
250
|
-
/**
|
|
251
|
-
* Provides an array of custom actions available for accessibility.
|
|
252
|
-
*
|
|
253
|
-
*/
|
|
254
|
-
accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* alias for accessibilityState
|
|
257
|
-
*
|
|
258
|
-
* see https://reactnative.dev/docs/accessibility#accessibilitystate
|
|
259
|
-
*/
|
|
260
|
-
"aria-busy"?: boolean | undefined;
|
|
261
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
262
|
-
"aria-disabled"?: boolean | undefined;
|
|
263
|
-
"aria-expanded"?: boolean | undefined;
|
|
264
|
-
"aria-selected"?: boolean | undefined;
|
|
265
|
-
/** A value indicating whether the accessibility elements contained within
|
|
266
|
-
* this accessibility element are hidden.
|
|
267
|
-
*
|
|
268
|
-
* See https://reactnative.dev/docs/view#aria-hidden
|
|
269
|
-
*/
|
|
270
|
-
"aria-hidden"?: boolean | undefined;
|
|
271
|
-
}> & Omit<AccessibilityPropsIOS, keyof {
|
|
272
|
-
/**
|
|
273
|
-
* When `true`, indicates that the view is an accessibility element.
|
|
274
|
-
* By default, all the touchable elements are accessible.
|
|
275
|
-
*
|
|
276
|
-
* See https://reactnative.dev/docs/view#accessible
|
|
277
|
-
*/
|
|
278
|
-
accessible?: boolean | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* Overrides the text that's read by the screen reader when the user interacts
|
|
281
|
-
* with the element. By default, the label is constructed by traversing all
|
|
282
|
-
* the children and accumulating all the `Text` nodes separated by space.
|
|
283
|
-
*
|
|
284
|
-
* See https://reactnative.dev/docs/view#accessibilitylabel
|
|
285
|
-
*/
|
|
286
|
-
accessibilityLabel?: string | undefined;
|
|
287
|
-
/**
|
|
288
|
-
* An accessibility hint helps users understand what will happen when they perform
|
|
289
|
-
* an action on the accessibility element when that result is not obvious from the
|
|
290
|
-
* accessibility label.
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* See https://reactnative.dev/docs/view#accessibilityHint
|
|
294
|
-
*/
|
|
295
|
-
accessibilityHint?: string | undefined;
|
|
296
|
-
/**
|
|
297
|
-
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
|
|
298
|
-
* https://github.com/facebook/react-native/issues/34424
|
|
299
|
-
*/
|
|
300
|
-
"aria-label"?: string | undefined;
|
|
301
|
-
/**
|
|
302
|
-
* Indicates to accessibility services to treat UI component like a specific role.
|
|
303
|
-
*/
|
|
304
|
-
accessibilityRole?: AccessibilityRole | undefined;
|
|
305
|
-
/**
|
|
306
|
-
* Alias for accessibilityRole
|
|
307
|
-
*/
|
|
308
|
-
role?: Role | undefined;
|
|
309
|
-
/**
|
|
310
|
-
* Indicates to accessibility services that UI Component is in a specific State.
|
|
311
|
-
*/
|
|
312
|
-
accessibilityState?: AccessibilityState | undefined;
|
|
313
|
-
accessibilityValue?: AccessibilityValue | undefined;
|
|
314
|
-
/**
|
|
315
|
-
* alias for accessibilityState
|
|
316
|
-
* It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.
|
|
317
|
-
*/
|
|
318
|
-
"aria-valuemax"?: AccessibilityValue["max"] | undefined;
|
|
319
|
-
"aria-valuemin"?: AccessibilityValue["min"] | undefined;
|
|
320
|
-
"aria-valuenow"?: AccessibilityValue["now"] | undefined;
|
|
321
|
-
"aria-valuetext"?: AccessibilityValue["text"] | undefined;
|
|
322
|
-
/**
|
|
323
|
-
* Provides an array of custom actions available for accessibility.
|
|
324
|
-
*
|
|
325
|
-
*/
|
|
326
|
-
accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
|
|
327
|
-
/**
|
|
328
|
-
* alias for accessibilityState
|
|
329
|
-
*
|
|
330
|
-
* see https://reactnative.dev/docs/accessibility#accessibilitystate
|
|
331
|
-
*/
|
|
332
|
-
"aria-busy"?: boolean | undefined;
|
|
333
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
334
|
-
"aria-disabled"?: boolean | undefined;
|
|
335
|
-
"aria-expanded"?: boolean | undefined;
|
|
336
|
-
"aria-selected"?: boolean | undefined;
|
|
337
|
-
/** A value indicating whether the accessibility elements contained within
|
|
338
|
-
* this accessibility element are hidden.
|
|
339
|
-
*
|
|
340
|
-
* See https://reactnative.dev/docs/view#aria-hidden
|
|
341
|
-
*/
|
|
342
|
-
"aria-hidden"?: boolean | undefined;
|
|
343
|
-
}> & {
|
|
344
|
-
/**
|
|
345
|
-
* When `true`, indicates that the view is an accessibility element.
|
|
346
|
-
* By default, all the touchable elements are accessible.
|
|
347
|
-
*
|
|
348
|
-
* See https://reactnative.dev/docs/view#accessible
|
|
349
|
-
*/
|
|
350
|
-
accessible?: boolean | undefined;
|
|
351
|
-
/**
|
|
352
|
-
* Overrides the text that's read by the screen reader when the user interacts
|
|
353
|
-
* with the element. By default, the label is constructed by traversing all
|
|
354
|
-
* the children and accumulating all the `Text` nodes separated by space.
|
|
355
|
-
*
|
|
356
|
-
* See https://reactnative.dev/docs/view#accessibilitylabel
|
|
357
|
-
*/
|
|
358
|
-
accessibilityLabel?: string | undefined;
|
|
359
|
-
/**
|
|
360
|
-
* An accessibility hint helps users understand what will happen when they perform
|
|
361
|
-
* an action on the accessibility element when that result is not obvious from the
|
|
362
|
-
* accessibility label.
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
* See https://reactnative.dev/docs/view#accessibilityHint
|
|
366
|
-
*/
|
|
367
|
-
accessibilityHint?: string | undefined;
|
|
368
|
-
/**
|
|
369
|
-
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
|
|
370
|
-
* https://github.com/facebook/react-native/issues/34424
|
|
371
|
-
*/
|
|
372
|
-
"aria-label"?: string | undefined;
|
|
373
|
-
/**
|
|
374
|
-
* Indicates to accessibility services to treat UI component like a specific role.
|
|
375
|
-
*/
|
|
376
|
-
accessibilityRole?: AccessibilityRole | undefined;
|
|
377
|
-
/**
|
|
378
|
-
* Alias for accessibilityRole
|
|
379
|
-
*/
|
|
380
|
-
role?: Role | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* Indicates to accessibility services that UI Component is in a specific State.
|
|
383
|
-
*/
|
|
384
|
-
accessibilityState?: AccessibilityState | undefined;
|
|
385
|
-
accessibilityValue?: AccessibilityValue | undefined;
|
|
386
|
-
/**
|
|
387
|
-
* alias for accessibilityState
|
|
388
|
-
* It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.
|
|
389
|
-
*/
|
|
390
|
-
"aria-valuemax"?: AccessibilityValue["max"] | undefined;
|
|
391
|
-
"aria-valuemin"?: AccessibilityValue["min"] | undefined;
|
|
392
|
-
"aria-valuenow"?: AccessibilityValue["now"] | undefined;
|
|
393
|
-
"aria-valuetext"?: AccessibilityValue["text"] | undefined;
|
|
394
|
-
/**
|
|
395
|
-
* Provides an array of custom actions available for accessibility.
|
|
396
|
-
*
|
|
397
|
-
*/
|
|
398
|
-
accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
|
|
399
|
-
/**
|
|
400
|
-
* alias for accessibilityState
|
|
401
|
-
*
|
|
402
|
-
* see https://reactnative.dev/docs/accessibility#accessibilitystate
|
|
403
|
-
*/
|
|
404
|
-
"aria-busy"?: boolean | undefined;
|
|
405
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
406
|
-
"aria-disabled"?: boolean | undefined;
|
|
407
|
-
"aria-expanded"?: boolean | undefined;
|
|
408
|
-
"aria-selected"?: boolean | undefined;
|
|
409
|
-
/** A value indicating whether the accessibility elements contained within
|
|
410
|
-
* this accessibility element are hidden.
|
|
411
|
-
*
|
|
412
|
-
* See https://reactnative.dev/docs/view#aria-hidden
|
|
413
|
-
*/
|
|
414
|
-
"aria-hidden"?: boolean | undefined;
|
|
415
|
-
}>;
|
|
@@ -1,29 +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<<30c5e2641c7646e589e9d2ee5317146d>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Components/View/ViewNativeComponent.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as React from "react";
|
|
14
|
-
import type { HostComponent } from "../../../src/private/types/HostComponent";
|
|
15
|
-
import type { HostInstance } from "../../../src/private/types/HostInstance";
|
|
16
|
-
import { type ViewProps as Props } from "./ViewPropTypes";
|
|
17
|
-
declare const ViewNativeComponent: HostComponent<Props>;
|
|
18
|
-
interface NativeCommands {
|
|
19
|
-
readonly hotspotUpdate: (viewRef: HostInstance, x: number, y: number) => void;
|
|
20
|
-
readonly setPressed: (viewRef: HostInstance, pressed: boolean) => void;
|
|
21
|
-
readonly setDestinations: (viewRef: React.ComponentRef<HostComponent<unknown>>, destinations: Array<number>) => void;
|
|
22
|
-
readonly requestTVFocus: (viewRef: React.ComponentRef<HostComponent<unknown>>) => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const Commands: NativeCommands;
|
|
25
|
-
export declare type Commands = typeof Commands;
|
|
26
|
-
declare const $$ViewNativeComponent: typeof ViewNativeComponent;
|
|
27
|
-
declare type $$ViewNativeComponent = typeof $$ViewNativeComponent;
|
|
28
|
-
export default $$ViewNativeComponent;
|
|
29
|
-
export type ViewNativeComponentType = HostComponent<Props>;
|