react-native-tvos 0.86.0-2 → 0.86.3-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/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Components/Button.js +2 -2
- package/Libraries/Components/TV/TVFocusGuideView.js +31 -0
- package/Libraries/Components/TV/useFocusEnterLeave.js +112 -0
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +1 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +1 -1
- package/Libraries/Components/Touchable/Touchable.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/Timers/JSTimers.js +1 -1
- package/Libraries/Core/setUpNavigator.js +1 -1
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/ImageSource.d.ts +1 -1
- package/Libraries/Image/RCTImageLoader.mm +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/Interaction/PanResponder.js +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/Renderer/README.md +2 -2
- package/Libraries/Required/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Utilities/PolyfillFunctions.js +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/README-core.md +6 -6
- package/README.md +2 -0
- package/React/Base/RCTVersion.m +2 -2
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +43 -17
- package/React/React-RCTFBReactNativeSpec.podspec +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/Runtime/React-RCTRuntime.podspec +1 -1
- package/React/Views/ScrollView/RCTScrollView.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/build.gradle.kts +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/publish.gradle +5 -5
- package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +5 -4
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt +49 -12
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +8 -4
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +1 -1
- package/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec +1 -1
- package/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec +1 -1
- package/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-FabricComponents.podspec +1 -1
- package/ReactCommon/React-FabricImage.podspec +1 -1
- package/ReactCommon/React-Mapbuffer.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +3 -3
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/hermes/executor/React-jsitracing.podspec +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +1 -1
- package/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec +1 -1
- package/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec +1 -1
- package/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec +1 -1
- package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/oscompat/React-oscompat.podspec +1 -1
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +1 -1
- package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/nativemodule/viewtransition/React-viewtransitionnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec +1 -1
- package/ReactCommon/react/networking/React-networking.podspec +1 -1
- package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +1 -1
- package/ReactCommon/react/performance/timeline/React-performancetimeline.podspec +1 -1
- package/ReactCommon/react/renderer/animated/internal/primitives.h +1 -1
- package/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec +1 -1
- package/ReactCommon/react/renderer/core/EventEmitter.cpp +20 -4
- package/ReactCommon/react/renderer/core/ShadowNode.cpp +27 -19
- package/ReactCommon/react/renderer/core/ShadowNodeFamily.h +2 -0
- package/ReactCommon/react/renderer/css/React-renderercss.podspec +1 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTFontUtils.mm +1 -1
- package/ReactCommon/react/renderer/uimanager/UIManager.cpp +58 -53
- package/ReactCommon/react/renderer/uimanager/tests/FabricUIManagerTest.cpp +144 -3
- package/ReactCommon/react/runtime/React-RuntimeCore.podspec +1 -1
- package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +1 -1
- package/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec +1 -1
- package/ReactCommon/react/timing/React-timing.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +2 -2
- package/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +2 -1
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +11 -7
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.h +1 -1
- package/package.json +11 -11
- package/scripts/cocoapods/spm.rb +1 -1
- package/scripts/cocoapods/utils.rb +2 -2
- package/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template +1 -1
- package/scripts/codegen/templates/ReactCodegen.podspec.template +1 -1
- package/scripts/ios-configure-glog.sh +1 -1
- package/sdks/.hermesv1version +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +7 -2
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/types/HostInstance.js +1 -1
- package/src/types/globals.d.ts +2 -2
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
- package/third-party-podspecs/glog.podspec +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +12 -1
- package/types/public/ReactNativeTypes.d.ts +2 -2
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +101 -0
- package/types_generated/Libraries/Alert/Alert.d.ts +55 -0
- package/types_generated/Libraries/Animated/Animated.d.ts +14 -0
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +30 -0
- package/types_generated/Libraries/Animated/AnimatedExports.d.ts +191 -0
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +128 -0
- package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +13 -0
- package/types_generated/Libraries/Animated/Easing.d.ts +171 -0
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +35 -0
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +42 -0
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +130 -0
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +54 -0
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +23 -0
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +19 -0
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +44 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +80 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +38 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +47 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +30 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +32 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +21 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +126 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +135 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedColor.d.ts +16 -0
- package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedValueXY.d.ts +18 -0
- package/types_generated/Libraries/AppState/AppState.d.ts +63 -0
- package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +17 -0
- package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +39 -0
- package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +20 -0
- package/types_generated/Libraries/Blob/Blob.d.ts +80 -0
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +27 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +232 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +20 -0
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +84 -0
- package/types_generated/Libraries/Components/Button.d.ts +247 -0
- package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +38 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +17 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +27 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +176 -0
- package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +146 -0
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +73 -0
- package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +23 -0
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +146 -0
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +48 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +32 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +50 -0
- package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +113 -0
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +33 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +581 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +24 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +21 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +140 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +36 -0
- package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +222 -0
- package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +138 -0
- package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +23 -0
- package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +21 -0
- package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +96 -0
- package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +97 -0
- package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +123 -0
- package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +24 -0
- package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +20 -0
- package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +86 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +47 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +1005 -0
- package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +54 -0
- package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +99 -0
- package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +257 -0
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +51 -0
- package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +192 -0
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +35 -0
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +121 -0
- package/types_generated/Libraries/Components/View/View.d.ts +30 -0
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +415 -0
- package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +39 -0
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +367 -0
- package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +27 -0
- package/types_generated/Libraries/Core/ExceptionsManager.d.ts +43 -0
- package/types_generated/Libraries/Core/ExtendedError.d.ts +26 -0
- package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +17 -0
- package/types_generated/Libraries/Core/RawEventEmitter.d.ts +26 -0
- package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +27 -0
- package/types_generated/Libraries/Core/ReactNativeVersion.d.ts +48 -0
- package/types_generated/Libraries/Core/registerCallableModule.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +42 -0
- package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
- package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +21 -0
- package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +71 -0
- package/types_generated/Libraries/Image/Image.d.ts +18 -0
- package/types_generated/Libraries/Image/ImageBackground.d.ts +44 -0
- package/types_generated/Libraries/Image/ImageProps.d.ts +512 -0
- package/types_generated/Libraries/Image/ImageResizeMode.d.ts +17 -0
- package/types_generated/Libraries/Image/ImageSource.d.ts +94 -0
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +61 -0
- package/types_generated/Libraries/Interaction/InteractionManager.d.ts +117 -0
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +228 -0
- package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +76 -0
- package/types_generated/Libraries/Linking/Linking.d.ts +68 -0
- package/types_generated/Libraries/Lists/FlatList.d.ts +317 -0
- package/types_generated/Libraries/Lists/SectionList.d.ts +172 -0
- package/types_generated/Libraries/Lists/VirtualizedList.d.ts +19 -0
- package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +19 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +78 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +71 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +17 -0
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +49 -0
- package/types_generated/Libraries/LogBox/LogBox.d.ts +29 -0
- package/types_generated/Libraries/Modal/Modal.d.ts +110 -0
- package/types_generated/Libraries/NativeComponent/NativeComponentRegistry.d.ts +50 -0
- package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +17 -0
- package/types_generated/Libraries/Network/FormData.d.ts +56 -0
- package/types_generated/Libraries/Network/RCTNetworking.d.ts +25 -0
- package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +22 -0
- package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +114 -0
- package/types_generated/Libraries/Network/convertRequestBody.d.ts +21 -0
- package/types_generated/Libraries/Performance/Systrace.d.ts +61 -0
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +129 -0
- package/types_generated/Libraries/Pressability/Pressability.d.ts +241 -0
- package/types_generated/Libraries/Pressability/usePressability.d.ts +27 -0
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +323 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +14 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +43 -0
- package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +73 -0
- package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +24 -0
- package/types_generated/Libraries/ReactNative/I18nManager.d.ts +23 -0
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +57 -0
- package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +31 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +15 -0
- package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +36 -0
- package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +13 -0
- package/types_generated/Libraries/ReactNative/RootTag.d.ts +22 -0
- package/types_generated/Libraries/ReactNative/UIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +25 -0
- package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +33 -0
- package/types_generated/Libraries/Renderer/shims/ReactFabric.d.ts +17 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +155 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +41 -0
- package/types_generated/Libraries/Settings/Settings.d.ts +21 -0
- package/types_generated/Libraries/Share/Share.d.ts +85 -0
- package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +15 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +27 -0
- package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +16 -0
- package/types_generated/Libraries/StyleSheet/Rect.d.ts +22 -0
- package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +153 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +94 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +851 -0
- package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +19 -0
- package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +76 -0
- package/types_generated/Libraries/StyleSheet/processColor.d.ts +18 -0
- package/types_generated/Libraries/Text/Text.d.ts +30 -0
- package/types_generated/Libraries/Text/TextAncestorContext.d.ts +20 -0
- package/types_generated/Libraries/Text/TextNativeComponent.d.ts +41 -0
- package/types_generated/Libraries/Text/TextProps.d.ts +220 -0
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +35 -0
- package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +15 -0
- package/types_generated/Libraries/Types/CodegenTypes.d.ts +24 -0
- package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +14 -0
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +355 -0
- package/types_generated/Libraries/Types/RootTagTypes.d.ts +13 -0
- package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +17 -0
- package/types_generated/Libraries/UTFSequence.d.ts +39 -0
- package/types_generated/Libraries/Utilities/Appearance.d.ts +31 -0
- package/types_generated/Libraries/Utilities/BackHandler.d.ts +27 -0
- package/types_generated/Libraries/Utilities/DevSettings.d.ts +34 -0
- package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +17 -0
- package/types_generated/Libraries/Utilities/Dimensions.d.ts +54 -0
- package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +17 -0
- package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +14 -0
- package/types_generated/Libraries/Utilities/PixelRatio.d.ts +110 -0
- package/types_generated/Libraries/Utilities/Platform.d.ts +16 -0
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +134 -0
- package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +19 -0
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +24 -0
- package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +33 -0
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +19 -0
- package/types_generated/Libraries/Utilities/useColorScheme.d.ts +15 -0
- package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +15 -0
- package/types_generated/Libraries/Vibration/Vibration.d.ts +29 -0
- package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +39 -0
- package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +67 -0
- package/types_generated/index.d.ts +184 -0
- package/types_generated/src/private/components/virtualcollection/FlingConstants.d.ts +20 -0
- package/types_generated/src/private/components/virtualcollection/Virtual.d.ts +46 -0
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +81 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +23 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumnGenerator.d.ts +17 -0
- package/types_generated/src/private/components/virtualcollection/dom/getScrollParent.d.ts +21 -0
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +23 -0
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +75 -0
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +107 -0
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +107 -0
- package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +28 -0
- package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +53 -0
- package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +36 -0
- package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +51 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +26 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +46 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +37 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +45 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +27 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +109 -0
- package/types_generated/src/private/styles/composeStyles.d.ts +19 -0
- package/types_generated/src/private/types/HostComponent.d.ts +19 -0
- package/types_generated/src/private/types/HostInstance.d.ts +92 -0
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +27 -0
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +50 -0
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +33 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +30 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +54 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +129 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +24 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +23 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +229 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +25 -0
- package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +46 -0
- package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +73 -0
- package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +27 -0
- package/types_generated/tsconfig.json +3 -0
- package/types_generated/tsconfig.test.json +16 -0
|
@@ -0,0 +1,128 @@
|
|
|
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<<de49cd48a2d8c2295712c9deed76cb1b>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/AnimatedImplementation.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { EventConfig, Mapping } from "./AnimatedEvent";
|
|
14
|
+
import type { EndCallback } from "./animations/Animation";
|
|
15
|
+
import type { DecayAnimationConfig } from "./animations/DecayAnimation";
|
|
16
|
+
import type { SpringAnimationConfig } from "./animations/SpringAnimation";
|
|
17
|
+
import type { TimingAnimationConfig } from "./animations/TimingAnimation";
|
|
18
|
+
import { AnimatedEvent, attachNativeEventImpl } from "./AnimatedEvent";
|
|
19
|
+
import createAnimatedComponent from "./createAnimatedComponent";
|
|
20
|
+
import AnimatedAddition from "./nodes/AnimatedAddition";
|
|
21
|
+
import AnimatedColor from "./nodes/AnimatedColor";
|
|
22
|
+
import AnimatedDiffClamp from "./nodes/AnimatedDiffClamp";
|
|
23
|
+
import AnimatedDivision from "./nodes/AnimatedDivision";
|
|
24
|
+
import AnimatedInterpolation from "./nodes/AnimatedInterpolation";
|
|
25
|
+
import AnimatedModulo from "./nodes/AnimatedModulo";
|
|
26
|
+
import AnimatedMultiplication from "./nodes/AnimatedMultiplication";
|
|
27
|
+
import AnimatedNode from "./nodes/AnimatedNode";
|
|
28
|
+
import AnimatedSubtraction from "./nodes/AnimatedSubtraction";
|
|
29
|
+
import AnimatedValue from "./nodes/AnimatedValue";
|
|
30
|
+
import AnimatedValueXY from "./nodes/AnimatedValueXY";
|
|
31
|
+
export type CompositeAnimation = {
|
|
32
|
+
start: (callback?: EndCallback | undefined, isLooping?: boolean) => void;
|
|
33
|
+
stop: () => void;
|
|
34
|
+
reset: () => void;
|
|
35
|
+
};
|
|
36
|
+
declare const addImpl: (a: AnimatedNode | number, b: AnimatedNode | number) => AnimatedAddition;
|
|
37
|
+
declare const subtractImpl: (a: AnimatedNode | number, b: AnimatedNode | number) => AnimatedSubtraction;
|
|
38
|
+
declare const divideImpl: (a: AnimatedNode | number, b: AnimatedNode | number) => AnimatedDivision;
|
|
39
|
+
declare const multiplyImpl: (a: AnimatedNode | number, b: AnimatedNode | number) => AnimatedMultiplication;
|
|
40
|
+
declare const moduloImpl: (a: AnimatedNode, modulus: number) => AnimatedModulo;
|
|
41
|
+
declare const diffClampImpl: (a: AnimatedNode, min: number, max: number) => AnimatedDiffClamp;
|
|
42
|
+
declare const springImpl: (value: AnimatedValue | AnimatedValueXY | AnimatedColor, config: SpringAnimationConfig) => CompositeAnimation;
|
|
43
|
+
declare const timingImpl: (value: AnimatedValue | AnimatedValueXY | AnimatedColor, config: TimingAnimationConfig) => CompositeAnimation;
|
|
44
|
+
declare const decayImpl: (value: AnimatedValue | AnimatedValueXY | AnimatedColor, config: DecayAnimationConfig) => CompositeAnimation;
|
|
45
|
+
declare const sequenceImpl: (animations: Array<CompositeAnimation>) => CompositeAnimation;
|
|
46
|
+
type ParallelConfig = {
|
|
47
|
+
stopTogether?: boolean;
|
|
48
|
+
};
|
|
49
|
+
declare const parallelImpl: (animations: Array<CompositeAnimation>, config?: null | undefined | ParallelConfig) => CompositeAnimation;
|
|
50
|
+
declare const delayImpl: (time: number) => CompositeAnimation;
|
|
51
|
+
declare const staggerImpl: (time: number, animations: Array<CompositeAnimation>) => CompositeAnimation;
|
|
52
|
+
type LoopAnimationConfig = {
|
|
53
|
+
iterations: number;
|
|
54
|
+
resetBeforeIteration?: boolean;
|
|
55
|
+
};
|
|
56
|
+
declare const loopImpl: (animation: CompositeAnimation, $$PARAM_1$$?: LoopAnimationConfig) => CompositeAnimation;
|
|
57
|
+
declare function forkEventImpl(event: (null | undefined | AnimatedEvent) | (null | undefined | Function), listener: Function): AnimatedEvent | Function;
|
|
58
|
+
declare function unforkEventImpl(event: (null | undefined | AnimatedEvent) | (null | undefined | Function), listener: Function): void;
|
|
59
|
+
declare const eventImpl: <T>(argMapping: ReadonlyArray<null | undefined | Mapping>, config: EventConfig<T>) => any;
|
|
60
|
+
type AnimatedNumeric = AnimatedAddition | AnimatedDiffClamp | AnimatedDivision | AnimatedInterpolation<number> | AnimatedModulo | AnimatedMultiplication | AnimatedSubtraction | AnimatedValue;
|
|
61
|
+
export type { AnimatedNumeric as Numeric };
|
|
62
|
+
/**
|
|
63
|
+
* The `Animated` library is designed to make animations fluid, powerful, and
|
|
64
|
+
* easy to build and maintain. `Animated` focuses on declarative relationships
|
|
65
|
+
* between inputs and outputs, with configurable transforms in between, and
|
|
66
|
+
* simple `start`/`stop` methods to control time-based animation execution.
|
|
67
|
+
* If additional transforms are added, be sure to include them in
|
|
68
|
+
* AnimatedMock.js as well.
|
|
69
|
+
*
|
|
70
|
+
* See https://reactnative.dev/docs/animated
|
|
71
|
+
*/
|
|
72
|
+
declare const $$AnimatedImplementation: {
|
|
73
|
+
/**
|
|
74
|
+
* Standard value class for driving animations. Typically initialized with
|
|
75
|
+
* `new Animated.Value(0);`
|
|
76
|
+
*
|
|
77
|
+
* See https://reactnative.dev/docs/animated#value
|
|
78
|
+
*/
|
|
79
|
+
Value: typeof AnimatedValue;
|
|
80
|
+
/**
|
|
81
|
+
* 2D value class for driving 2D animations, such as pan gestures.
|
|
82
|
+
*
|
|
83
|
+
* See https://reactnative.dev/docs/animatedvaluexy
|
|
84
|
+
*/
|
|
85
|
+
ValueXY: typeof AnimatedValueXY;
|
|
86
|
+
/**
|
|
87
|
+
* Value class for driving color animations.
|
|
88
|
+
*/
|
|
89
|
+
Color: typeof AnimatedColor;
|
|
90
|
+
/**
|
|
91
|
+
* Exported to use the Interpolation type in flow.
|
|
92
|
+
*
|
|
93
|
+
* See https://reactnative.dev/docs/animated#interpolation
|
|
94
|
+
*/
|
|
95
|
+
Interpolation: typeof AnimatedInterpolation;
|
|
96
|
+
/**
|
|
97
|
+
* Exported for ease of type checking. All animated values derive from this
|
|
98
|
+
* class.
|
|
99
|
+
*
|
|
100
|
+
* See https://reactnative.dev/docs/animated#node
|
|
101
|
+
*/
|
|
102
|
+
Node: typeof AnimatedNode;
|
|
103
|
+
decay: typeof decayImpl;
|
|
104
|
+
timing: typeof timingImpl;
|
|
105
|
+
spring: typeof springImpl;
|
|
106
|
+
add: typeof addImpl;
|
|
107
|
+
subtract: typeof subtractImpl;
|
|
108
|
+
divide: typeof divideImpl;
|
|
109
|
+
multiply: typeof multiplyImpl;
|
|
110
|
+
modulo: typeof moduloImpl;
|
|
111
|
+
diffClamp: typeof diffClampImpl;
|
|
112
|
+
delay: typeof delayImpl;
|
|
113
|
+
sequence: typeof sequenceImpl;
|
|
114
|
+
parallel: typeof parallelImpl;
|
|
115
|
+
stagger: typeof staggerImpl;
|
|
116
|
+
loop: typeof loopImpl;
|
|
117
|
+
event: typeof eventImpl;
|
|
118
|
+
createAnimatedComponent: typeof createAnimatedComponent;
|
|
119
|
+
attachNativeEvent: typeof attachNativeEventImpl;
|
|
120
|
+
forkEvent: typeof forkEventImpl;
|
|
121
|
+
unforkEvent: typeof unforkEventImpl;
|
|
122
|
+
/**
|
|
123
|
+
* Expose Event class, so it can be used as a type for type checkers.
|
|
124
|
+
*/
|
|
125
|
+
Event: typeof AnimatedEvent;
|
|
126
|
+
};
|
|
127
|
+
declare type $$AnimatedImplementation = typeof $$AnimatedImplementation;
|
|
128
|
+
export default $$AnimatedImplementation;
|
|
@@ -0,0 +1,13 @@
|
|
|
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<<f114eadc67180861d9b534a3bd091244>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/AnimatedPlatformConfig.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export type PlatformConfig = {};
|
|
@@ -0,0 +1,171 @@
|
|
|
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<<7aab100b465cd6aa59228aad106be5a3>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/Easing.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export type EasingFunction = (t: number) => number;
|
|
14
|
+
declare const EasingStatic: {
|
|
15
|
+
/**
|
|
16
|
+
* A stepping function, returns 1 for any positive value of `n`.
|
|
17
|
+
*/
|
|
18
|
+
step0(n: number): number;
|
|
19
|
+
/**
|
|
20
|
+
* A stepping function, returns 1 if `n` is greater than or equal to 1.
|
|
21
|
+
*/
|
|
22
|
+
step1(n: number): number;
|
|
23
|
+
/**
|
|
24
|
+
* A linear function, `f(t) = t`. Position correlates to elapsed time one to
|
|
25
|
+
* one.
|
|
26
|
+
*
|
|
27
|
+
* http://cubic-bezier.com/#0,0,1,1
|
|
28
|
+
*/
|
|
29
|
+
linear(t: number): number;
|
|
30
|
+
/**
|
|
31
|
+
* A simple inertial interaction, similar to an object slowly accelerating to
|
|
32
|
+
* speed.
|
|
33
|
+
*
|
|
34
|
+
* http://cubic-bezier.com/#.42,0,1,1
|
|
35
|
+
*/
|
|
36
|
+
ease(t: number): number;
|
|
37
|
+
/**
|
|
38
|
+
* A quadratic function, `f(t) = t * t`. Position equals the square of elapsed
|
|
39
|
+
* time.
|
|
40
|
+
*
|
|
41
|
+
* http://easings.net/#easeInQuad
|
|
42
|
+
*/
|
|
43
|
+
quad(t: number): number;
|
|
44
|
+
/**
|
|
45
|
+
* A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed
|
|
46
|
+
* time.
|
|
47
|
+
*
|
|
48
|
+
* http://easings.net/#easeInCubic
|
|
49
|
+
*/
|
|
50
|
+
cubic(t: number): number;
|
|
51
|
+
/**
|
|
52
|
+
* A power function. Position is equal to the Nth power of elapsed time.
|
|
53
|
+
*
|
|
54
|
+
* n = 4: http://easings.net/#easeInQuart
|
|
55
|
+
* n = 5: http://easings.net/#easeInQuint
|
|
56
|
+
*/
|
|
57
|
+
poly(n: number): EasingFunction;
|
|
58
|
+
/**
|
|
59
|
+
* A sinusoidal function.
|
|
60
|
+
*
|
|
61
|
+
* http://easings.net/#easeInSine
|
|
62
|
+
*/
|
|
63
|
+
sin(t: number): number;
|
|
64
|
+
/**
|
|
65
|
+
* A circular function.
|
|
66
|
+
*
|
|
67
|
+
* http://easings.net/#easeInCirc
|
|
68
|
+
*/
|
|
69
|
+
circle(t: number): number;
|
|
70
|
+
/**
|
|
71
|
+
* An exponential function.
|
|
72
|
+
*
|
|
73
|
+
* http://easings.net/#easeInExpo
|
|
74
|
+
*/
|
|
75
|
+
exp(t: number): number;
|
|
76
|
+
/**
|
|
77
|
+
* A simple elastic interaction, similar to a spring oscillating back and
|
|
78
|
+
* forth.
|
|
79
|
+
*
|
|
80
|
+
* Default bounciness is 1, which overshoots a little bit once. 0 bounciness
|
|
81
|
+
* doesn't overshoot at all, and bounciness of N > 1 will overshoot about N
|
|
82
|
+
* times.
|
|
83
|
+
*
|
|
84
|
+
* http://easings.net/#easeInElastic
|
|
85
|
+
*/
|
|
86
|
+
elastic(bounciness?: number): EasingFunction;
|
|
87
|
+
/**
|
|
88
|
+
* Use with `Animated.parallel()` to create a simple effect where the object
|
|
89
|
+
* animates back slightly as the animation starts.
|
|
90
|
+
*
|
|
91
|
+
* https://easings.net/#easeInBack
|
|
92
|
+
*/
|
|
93
|
+
back(s?: number): EasingFunction;
|
|
94
|
+
/**
|
|
95
|
+
* Provides a simple bouncing effect.
|
|
96
|
+
*
|
|
97
|
+
* http://easings.net/#easeInBounce
|
|
98
|
+
*/
|
|
99
|
+
bounce(t: number): number;
|
|
100
|
+
/**
|
|
101
|
+
* Provides a cubic bezier curve, equivalent to CSS Transitions'
|
|
102
|
+
* `transition-timing-function`.
|
|
103
|
+
*
|
|
104
|
+
* A useful tool to visualize cubic bezier curves can be found at
|
|
105
|
+
* http://cubic-bezier.com/
|
|
106
|
+
*/
|
|
107
|
+
bezier(x1: number, y1: number, x2: number, y2: number): EasingFunction;
|
|
108
|
+
/**
|
|
109
|
+
* Runs an easing function forwards.
|
|
110
|
+
*/
|
|
111
|
+
in(easing: EasingFunction): EasingFunction;
|
|
112
|
+
/**
|
|
113
|
+
* Runs an easing function backwards.
|
|
114
|
+
*/
|
|
115
|
+
out(easing: EasingFunction): EasingFunction;
|
|
116
|
+
/**
|
|
117
|
+
* Makes any easing function symmetrical. The easing function will run
|
|
118
|
+
* forwards for half of the duration, then backwards for the rest of the
|
|
119
|
+
* duration.
|
|
120
|
+
*/
|
|
121
|
+
inOut(easing: EasingFunction): EasingFunction;
|
|
122
|
+
};
|
|
123
|
+
export type Easing = typeof EasingStatic;
|
|
124
|
+
/**
|
|
125
|
+
* The `Easing` module implements common easing functions. This module is used
|
|
126
|
+
* by [Animate.timing()](docs/animate.html#timing) to convey physically
|
|
127
|
+
* believable motion in animations.
|
|
128
|
+
*
|
|
129
|
+
* You can find a visualization of some common easing functions at
|
|
130
|
+
* http://easings.net/
|
|
131
|
+
*
|
|
132
|
+
* ### Predefined animations
|
|
133
|
+
*
|
|
134
|
+
* The `Easing` module provides several predefined animations through the
|
|
135
|
+
* following methods:
|
|
136
|
+
*
|
|
137
|
+
* - [`back`](docs/easing.html#back) provides a simple animation where the
|
|
138
|
+
* object goes slightly back before moving forward
|
|
139
|
+
* - [`bounce`](docs/easing.html#bounce) provides a bouncing animation
|
|
140
|
+
* - [`ease`](docs/easing.html#ease) provides a simple inertial animation
|
|
141
|
+
* - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction
|
|
142
|
+
*
|
|
143
|
+
* ### Standard functions
|
|
144
|
+
*
|
|
145
|
+
* Three standard easing functions are provided:
|
|
146
|
+
*
|
|
147
|
+
* - [`linear`](docs/easing.html#linear)
|
|
148
|
+
* - [`quad`](docs/easing.html#quad)
|
|
149
|
+
* - [`cubic`](docs/easing.html#cubic)
|
|
150
|
+
*
|
|
151
|
+
* The [`poly`](docs/easing.html#poly) function can be used to implement
|
|
152
|
+
* quartic, quintic, and other higher power functions.
|
|
153
|
+
*
|
|
154
|
+
* ### Additional functions
|
|
155
|
+
*
|
|
156
|
+
* Additional mathematical functions are provided by the following methods:
|
|
157
|
+
*
|
|
158
|
+
* - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve
|
|
159
|
+
* - [`circle`](docs/easing.html#circle) provides a circular function
|
|
160
|
+
* - [`sin`](docs/easing.html#sin) provides a sinusoidal function
|
|
161
|
+
* - [`exp`](docs/easing.html#exp) provides an exponential function
|
|
162
|
+
*
|
|
163
|
+
* The following helpers are used to modify other easing functions.
|
|
164
|
+
*
|
|
165
|
+
* - [`in`](docs/easing.html#in) runs an easing function forwards
|
|
166
|
+
* - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical
|
|
167
|
+
* - [`out`](docs/easing.html#out) runs an easing function backwards
|
|
168
|
+
*/
|
|
169
|
+
declare const $$Easing: typeof EasingStatic;
|
|
170
|
+
declare type $$Easing = typeof $$Easing;
|
|
171
|
+
export default $$Easing;
|
|
@@ -0,0 +1,35 @@
|
|
|
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<<4fb9efab93fb4702e15de0553054091f>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/animations/Animation.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { PlatformConfig } from "../AnimatedPlatformConfig";
|
|
14
|
+
import type AnimatedValue from "../nodes/AnimatedValue";
|
|
15
|
+
export type EndResult = {
|
|
16
|
+
finished: boolean;
|
|
17
|
+
value?: number;
|
|
18
|
+
offset?: number;
|
|
19
|
+
};
|
|
20
|
+
export type EndCallback = (result: EndResult) => void;
|
|
21
|
+
export type AnimationConfig = Readonly<{
|
|
22
|
+
isInteraction?: boolean;
|
|
23
|
+
useNativeDriver: boolean;
|
|
24
|
+
platformConfig?: PlatformConfig;
|
|
25
|
+
onComplete?: EndCallback | undefined;
|
|
26
|
+
iterations?: number;
|
|
27
|
+
isLooping?: boolean;
|
|
28
|
+
debugID?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
declare class Animation {
|
|
31
|
+
constructor(config: AnimationConfig);
|
|
32
|
+
start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
|
|
33
|
+
stop(): void;
|
|
34
|
+
}
|
|
35
|
+
export default Animation;
|
|
@@ -0,0 +1,42 @@
|
|
|
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<<7385fd5e71640f4c18287ec1c64d91b7>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/animations/DecayAnimation.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type AnimatedValue from "../nodes/AnimatedValue";
|
|
14
|
+
import type { AnimationConfig, EndCallback } from "./Animation";
|
|
15
|
+
import Animation from "./Animation";
|
|
16
|
+
export type DecayAnimationConfig = Readonly<Omit<AnimationConfig, keyof {
|
|
17
|
+
velocity: number | Readonly<{
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
}>;
|
|
21
|
+
deceleration?: number;
|
|
22
|
+
}> & {
|
|
23
|
+
velocity: number | Readonly<{
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
}>;
|
|
27
|
+
deceleration?: number;
|
|
28
|
+
}>;
|
|
29
|
+
export type DecayAnimationConfigSingle = Readonly<Omit<AnimationConfig, keyof {
|
|
30
|
+
velocity: number;
|
|
31
|
+
deceleration?: number;
|
|
32
|
+
}> & {
|
|
33
|
+
velocity: number;
|
|
34
|
+
deceleration?: number;
|
|
35
|
+
}>;
|
|
36
|
+
declare class DecayAnimation extends Animation {
|
|
37
|
+
constructor(config: DecayAnimationConfigSingle);
|
|
38
|
+
start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
|
|
39
|
+
onUpdate(): void;
|
|
40
|
+
stop(): void;
|
|
41
|
+
}
|
|
42
|
+
export default DecayAnimation;
|
|
@@ -0,0 +1,130 @@
|
|
|
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<<3dda2d155d27c59b481c3344b24c8c00>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/animations/SpringAnimation.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type AnimatedInterpolation from "../nodes/AnimatedInterpolation";
|
|
14
|
+
import type AnimatedValue from "../nodes/AnimatedValue";
|
|
15
|
+
import type AnimatedValueXY from "../nodes/AnimatedValueXY";
|
|
16
|
+
import type { AnimationConfig, EndCallback } from "./Animation";
|
|
17
|
+
import AnimatedColor from "../nodes/AnimatedColor";
|
|
18
|
+
import Animation from "./Animation";
|
|
19
|
+
export type SpringAnimationConfig = Readonly<Omit<AnimationConfig, keyof {
|
|
20
|
+
toValue: number | AnimatedValue | {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
} | AnimatedValueXY | {
|
|
24
|
+
r: number;
|
|
25
|
+
g: number;
|
|
26
|
+
b: number;
|
|
27
|
+
a: number;
|
|
28
|
+
} | AnimatedColor | AnimatedInterpolation<number>;
|
|
29
|
+
overshootClamping?: boolean;
|
|
30
|
+
restDisplacementThreshold?: number;
|
|
31
|
+
restSpeedThreshold?: number;
|
|
32
|
+
velocity?: number | Readonly<{
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
}>;
|
|
36
|
+
bounciness?: number;
|
|
37
|
+
speed?: number;
|
|
38
|
+
tension?: number;
|
|
39
|
+
friction?: number;
|
|
40
|
+
stiffness?: number;
|
|
41
|
+
damping?: number;
|
|
42
|
+
mass?: number;
|
|
43
|
+
delay?: number;
|
|
44
|
+
}> & {
|
|
45
|
+
toValue: number | AnimatedValue | {
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
} | AnimatedValueXY | {
|
|
49
|
+
r: number;
|
|
50
|
+
g: number;
|
|
51
|
+
b: number;
|
|
52
|
+
a: number;
|
|
53
|
+
} | AnimatedColor | AnimatedInterpolation<number>;
|
|
54
|
+
overshootClamping?: boolean;
|
|
55
|
+
restDisplacementThreshold?: number;
|
|
56
|
+
restSpeedThreshold?: number;
|
|
57
|
+
velocity?: number | Readonly<{
|
|
58
|
+
x: number;
|
|
59
|
+
y: number;
|
|
60
|
+
}>;
|
|
61
|
+
bounciness?: number;
|
|
62
|
+
speed?: number;
|
|
63
|
+
tension?: number;
|
|
64
|
+
friction?: number;
|
|
65
|
+
stiffness?: number;
|
|
66
|
+
damping?: number;
|
|
67
|
+
mass?: number;
|
|
68
|
+
delay?: number;
|
|
69
|
+
}>;
|
|
70
|
+
export type SpringAnimationConfigSingle = Readonly<Omit<AnimationConfig, keyof {
|
|
71
|
+
toValue: number;
|
|
72
|
+
overshootClamping?: boolean;
|
|
73
|
+
restDisplacementThreshold?: number;
|
|
74
|
+
restSpeedThreshold?: number;
|
|
75
|
+
velocity?: number;
|
|
76
|
+
bounciness?: number;
|
|
77
|
+
speed?: number;
|
|
78
|
+
tension?: number;
|
|
79
|
+
friction?: number;
|
|
80
|
+
stiffness?: number;
|
|
81
|
+
damping?: number;
|
|
82
|
+
mass?: number;
|
|
83
|
+
delay?: number;
|
|
84
|
+
}> & {
|
|
85
|
+
toValue: number;
|
|
86
|
+
overshootClamping?: boolean;
|
|
87
|
+
restDisplacementThreshold?: number;
|
|
88
|
+
restSpeedThreshold?: number;
|
|
89
|
+
velocity?: number;
|
|
90
|
+
bounciness?: number;
|
|
91
|
+
speed?: number;
|
|
92
|
+
tension?: number;
|
|
93
|
+
friction?: number;
|
|
94
|
+
stiffness?: number;
|
|
95
|
+
damping?: number;
|
|
96
|
+
mass?: number;
|
|
97
|
+
delay?: number;
|
|
98
|
+
}>;
|
|
99
|
+
declare type SpringAnimationInternalState = symbol & {
|
|
100
|
+
__SpringAnimationInternalState__: string;
|
|
101
|
+
};
|
|
102
|
+
declare class SpringAnimation extends Animation {
|
|
103
|
+
constructor(config: SpringAnimationConfigSingle);
|
|
104
|
+
start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
|
|
105
|
+
getInternalState(): SpringAnimationInternalState;
|
|
106
|
+
/**
|
|
107
|
+
* This spring model is based off of a damped harmonic oscillator
|
|
108
|
+
* (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).
|
|
109
|
+
*
|
|
110
|
+
* We use the closed form of the second order differential equation:
|
|
111
|
+
*
|
|
112
|
+
* x'' + (2ζ⍵_0)x' + ⍵^2x = 0
|
|
113
|
+
*
|
|
114
|
+
* where
|
|
115
|
+
* ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),
|
|
116
|
+
* ζ = c / 2√mk (damping ratio),
|
|
117
|
+
* c = damping constant
|
|
118
|
+
* k = stiffness
|
|
119
|
+
* m = mass
|
|
120
|
+
*
|
|
121
|
+
* The derivation of the closed form is described in detail here:
|
|
122
|
+
* http://planetmath.org/sites/default/files/texpdf/39745.pdf
|
|
123
|
+
*
|
|
124
|
+
* This algorithm happens to match the algorithm used by CASpringAnimation,
|
|
125
|
+
* a QuartzCore (iOS) API that creates spring animations.
|
|
126
|
+
*/
|
|
127
|
+
onUpdate(): void;
|
|
128
|
+
stop(): void;
|
|
129
|
+
}
|
|
130
|
+
export default SpringAnimation;
|
|
@@ -0,0 +1,54 @@
|
|
|
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<<39dac0e67f437705c8562476e4ff745a>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/animations/TimingAnimation.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { RgbaValue } from "../nodes/AnimatedColor";
|
|
14
|
+
import type AnimatedInterpolation from "../nodes/AnimatedInterpolation";
|
|
15
|
+
import type AnimatedValue from "../nodes/AnimatedValue";
|
|
16
|
+
import type AnimatedValueXY from "../nodes/AnimatedValueXY";
|
|
17
|
+
import type { AnimationConfig, EndCallback } from "./Animation";
|
|
18
|
+
import AnimatedColor from "../nodes/AnimatedColor";
|
|
19
|
+
import Animation from "./Animation";
|
|
20
|
+
export type TimingAnimationConfig = Readonly<Omit<AnimationConfig, keyof {
|
|
21
|
+
toValue: number | AnimatedValue | Readonly<{
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
}> | AnimatedValueXY | RgbaValue | AnimatedColor | AnimatedInterpolation<number>;
|
|
25
|
+
easing?: (value: number) => number;
|
|
26
|
+
duration?: number;
|
|
27
|
+
delay?: number;
|
|
28
|
+
}> & {
|
|
29
|
+
toValue: number | AnimatedValue | Readonly<{
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
}> | AnimatedValueXY | RgbaValue | AnimatedColor | AnimatedInterpolation<number>;
|
|
33
|
+
easing?: (value: number) => number;
|
|
34
|
+
duration?: number;
|
|
35
|
+
delay?: number;
|
|
36
|
+
}>;
|
|
37
|
+
export type TimingAnimationConfigSingle = Readonly<Omit<AnimationConfig, keyof {
|
|
38
|
+
toValue: number;
|
|
39
|
+
easing?: (value: number) => number;
|
|
40
|
+
duration?: number;
|
|
41
|
+
delay?: number;
|
|
42
|
+
}> & {
|
|
43
|
+
toValue: number;
|
|
44
|
+
easing?: (value: number) => number;
|
|
45
|
+
duration?: number;
|
|
46
|
+
delay?: number;
|
|
47
|
+
}>;
|
|
48
|
+
declare class TimingAnimation extends Animation {
|
|
49
|
+
constructor(config: TimingAnimationConfigSingle);
|
|
50
|
+
start(fromValue: number, onUpdate: (value: number) => void, onEnd: null | undefined | EndCallback, previousAnimation: null | undefined | Animation, animatedValue: AnimatedValue): void;
|
|
51
|
+
onUpdate(): void;
|
|
52
|
+
stop(): void;
|
|
53
|
+
}
|
|
54
|
+
export default TimingAnimation;
|
|
@@ -0,0 +1,22 @@
|
|
|
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<<8c632390670213fd78073b0243c08f19>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/components/AnimatedFlatList.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { AnimatedProps } from "../createAnimatedComponent";
|
|
14
|
+
import FlatList, { type FlatListProps } from "../../Lists/FlatList";
|
|
15
|
+
import * as React from "react";
|
|
16
|
+
declare const $$AnimatedFlatList: <ItemT = any>(props: Omit<AnimatedProps<FlatListProps<ItemT>>, keyof {
|
|
17
|
+
ref?: React.Ref<FlatList<ItemT>>;
|
|
18
|
+
}> & {
|
|
19
|
+
ref?: React.Ref<FlatList<ItemT>>;
|
|
20
|
+
}) => React.ReactNode;
|
|
21
|
+
declare type $$AnimatedFlatList = typeof $$AnimatedFlatList;
|
|
22
|
+
export default $$AnimatedFlatList;
|
|
@@ -0,0 +1,18 @@
|
|
|
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<<7cc2bab4b885419bb0820a8e69e63b8b>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/components/AnimatedImage.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { AnimatedComponentType } from "../createAnimatedComponent";
|
|
14
|
+
import Image from "../../Image/Image";
|
|
15
|
+
import * as React from "react";
|
|
16
|
+
declare const $$AnimatedImage: AnimatedComponentType<React.JSX.LibraryManagedAttributes<typeof Image, React.ComponentProps<typeof Image>>, React.ComponentRef<typeof Image>>;
|
|
17
|
+
declare type $$AnimatedImage = typeof $$AnimatedImage;
|
|
18
|
+
export default $$AnimatedImage;
|
|
@@ -0,0 +1,23 @@
|
|
|
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<<ccca8e1da0d30d12a67984ccadfcc654>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/components/AnimatedScrollView.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { AnimatedComponentType } from "../createAnimatedComponent";
|
|
14
|
+
import ScrollView, { type ScrollViewProps } from "../../Components/ScrollView/ScrollView";
|
|
15
|
+
import * as React from "react";
|
|
16
|
+
type AnimatedScrollViewInstance = React.ComponentRef<typeof ScrollView>;
|
|
17
|
+
declare const AnimatedScrollView: AnimatedComponentType<ScrollViewProps, AnimatedScrollViewInstance>;
|
|
18
|
+
/**
|
|
19
|
+
* @see https://github.com/react/react-native/commit/b8c8562
|
|
20
|
+
*/
|
|
21
|
+
declare const $$AnimatedScrollView: typeof AnimatedScrollView;
|
|
22
|
+
declare type $$AnimatedScrollView = typeof $$AnimatedScrollView;
|
|
23
|
+
export default $$AnimatedScrollView;
|
|
@@ -0,0 +1,22 @@
|
|
|
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<<a9fe4d54975316cfdb1f3e9503be8088>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Animated/components/AnimatedSectionList.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { AnimatedProps } from "../createAnimatedComponent";
|
|
14
|
+
import SectionList, { type SectionListProps } from "../../Lists/SectionList";
|
|
15
|
+
import * as React from "react";
|
|
16
|
+
declare const $$AnimatedSectionList: <ItemT = any, SectionT = any>(props: Omit<AnimatedProps<SectionListProps<ItemT, SectionT>>, keyof {
|
|
17
|
+
ref?: React.Ref<SectionList<ItemT, SectionT>>;
|
|
18
|
+
}> & {
|
|
19
|
+
ref?: React.Ref<SectionList<ItemT, SectionT>>;
|
|
20
|
+
}) => React.ReactNode;
|
|
21
|
+
declare type $$AnimatedSectionList = typeof $$AnimatedSectionList;
|
|
22
|
+
export default $$AnimatedSectionList;
|