@hanzogui/react-native-web-lite 2.0.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/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/cjs/AccessibilityInfo/index.cjs +97 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +188 -0
- package/dist/cjs/ActivityIndicator/index.cjs +128 -0
- package/dist/cjs/Alert/index.cjs +28 -0
- package/dist/cjs/AppRegistry/AppContainer.cjs +70 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +83 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +155 -0
- package/dist/cjs/AppRegistry/index.cjs +88 -0
- package/dist/cjs/AppRegistry/renderApplication.cjs +69 -0
- package/dist/cjs/AppState/__tests__/index-test.cjs +34 -0
- package/dist/cjs/AppState/index.cjs +69 -0
- package/dist/cjs/Appearance/index.cjs +53 -0
- package/dist/cjs/BackHandler/index.cjs +35 -0
- package/dist/cjs/Clipboard/index.cjs +51 -0
- package/dist/cjs/DeviceEmitter.cjs +27 -0
- package/dist/cjs/DeviceInfo/index.cjs +68 -0
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +54 -0
- package/dist/cjs/Dimensions/index.cjs +82 -0
- package/dist/cjs/FlatList.cjs +197 -0
- package/dist/cjs/I18nManager/index.cjs +34 -0
- package/dist/cjs/Image/index.cjs +293 -0
- package/dist/cjs/Image/types.cjs +16 -0
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +68 -0
- package/dist/cjs/ImageBackground/index.cjs +67 -0
- package/dist/cjs/InteractionManager/TaskQueue.cjs +87 -0
- package/dist/cjs/InteractionManager/index.cjs +114 -0
- package/dist/cjs/Keyboard/index.cjs +38 -0
- package/dist/cjs/KeyboardAvoidingView/index.cjs +68 -0
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +26 -0
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +26 -0
- package/dist/cjs/Linking/__tests__/index-test.cjs +40 -0
- package/dist/cjs/Linking/index.cjs +89 -0
- package/dist/cjs/LogBox/index.cjs +33 -0
- package/dist/cjs/Modal/ModalAnimation.cjs +147 -0
- package/dist/cjs/Modal/ModalContent.cjs +85 -0
- package/dist/cjs/Modal/ModalPortal.cjs +52 -0
- package/dist/cjs/Modal/index.cjs +26 -0
- package/dist/cjs/NativeModules/index.cjs +29 -0
- package/dist/cjs/PanResponder/index.cjs +37 -0
- package/dist/cjs/PixelRatio/index.cjs +57 -0
- package/dist/cjs/Pressable/index.cjs +144 -0
- package/dist/cjs/RefreshControl/index.cjs +49 -0
- package/dist/cjs/SafeAreaView/index.cjs +63 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +140 -0
- package/dist/cjs/ScrollView/index.cjs +589 -0
- package/dist/cjs/SectionList.cjs +39 -0
- package/dist/cjs/Share/index.cjs +48 -0
- package/dist/cjs/StatusBar/index.cjs +36 -0
- package/dist/cjs/Text/index.cjs +170 -0
- package/dist/cjs/Text/types.cjs +16 -0
- package/dist/cjs/TextInput/index.cjs +285 -0
- package/dist/cjs/TextInput/types.cjs +16 -0
- package/dist/cjs/TouchableNativeFeedback.cjs +26 -0
- package/dist/cjs/TouchableOpacity.cjs +116 -0
- package/dist/cjs/TouchableWithoutFeedback.cjs +91 -0
- package/dist/cjs/UnimplementedView.cjs +47 -0
- package/dist/cjs/Vibration/index.cjs +36 -0
- package/dist/cjs/View/index.cjs +123 -0
- package/dist/cjs/View/types.cjs +16 -0
- package/dist/cjs/VirtualizedList.cjs +39 -0
- package/dist/cjs/codegenNativeCommand.cjs +28 -0
- package/dist/cjs/codegenNativeComponent.cjs +28 -0
- package/dist/cjs/createElement/__tests__/index-test.cjs +765 -0
- package/dist/cjs/createElement/index.cjs +84 -0
- package/dist/cjs/createReactDOMStyle.cjs +28 -0
- package/dist/cjs/index.cjs +172 -0
- package/dist/cjs/modules/requestIdleCallback.cjs +43 -0
- package/dist/cjs/preprocess.cjs +30 -0
- package/dist/cjs/render/index.cjs +32 -0
- package/dist/cjs/styleTypes.cjs +16 -0
- package/dist/cjs/types.cjs +16 -0
- package/dist/cjs/useColorScheme/index.cjs +50 -0
- package/dist/cjs/useLocaleContext/index.cjs +26 -0
- package/dist/cjs/useWindowDimensions/index.cjs +51 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +46 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +112 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +508 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +140 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -0
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +187 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +314 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +78 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +75 -0
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +78 -0
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +64 -0
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +71 -0
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +161 -0
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +89 -0
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +83 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +48 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +31 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +48 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +48 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +30 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +30 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +62 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +60 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +191 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +64 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +64 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +150 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +58 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +60 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +131 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +110 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +104 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +60 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +73 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +102 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +170 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +96 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +61 -0
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +84 -0
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +60 -0
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +61 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +29 -0
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +33 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +139 -0
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +263 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +78 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +112 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +144 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +48 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +34 -0
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +104 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +50 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +49 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +106 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +34 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +36 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +156 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +28 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +32 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +38 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +35 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +34 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +143 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +134 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +106 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +79 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +58 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +82 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +173 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +85 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +64 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +264 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +130 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +44 -0
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +30 -0
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +54 -0
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +125 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +44 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +82 -0
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +32 -0
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +34 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +88 -0
- package/dist/cjs/without-animated.cjs +331 -0
- package/dist/esm/AccessibilityInfo/index.mjs +74 -0
- package/dist/esm/AccessibilityInfo/index.mjs.map +1 -0
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +167 -0
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/ActivityIndicator/index.mjs +93 -0
- package/dist/esm/ActivityIndicator/index.mjs.map +1 -0
- package/dist/esm/Alert/index.mjs +5 -0
- package/dist/esm/Alert/index.mjs.map +1 -0
- package/dist/esm/AppRegistry/AppContainer.mjs +35 -0
- package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -0
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +62 -0
- package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +134 -0
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -0
- package/dist/esm/AppRegistry/index.mjs +65 -0
- package/dist/esm/AppRegistry/index.mjs.map +1 -0
- package/dist/esm/AppRegistry/renderApplication.mjs +45 -0
- package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -0
- package/dist/esm/AppState/__tests__/index-test.mjs +13 -0
- package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/AppState/index.mjs +46 -0
- package/dist/esm/AppState/index.mjs.map +1 -0
- package/dist/esm/Appearance/index.mjs +30 -0
- package/dist/esm/Appearance/index.mjs.map +1 -0
- package/dist/esm/BackHandler/index.mjs +12 -0
- package/dist/esm/BackHandler/index.mjs.map +1 -0
- package/dist/esm/Clipboard/index.mjs +28 -0
- package/dist/esm/Clipboard/index.mjs.map +1 -0
- package/dist/esm/DeviceEmitter.mjs +4 -0
- package/dist/esm/DeviceEmitter.mjs.map +1 -0
- package/dist/esm/DeviceInfo/index.mjs +45 -0
- package/dist/esm/DeviceInfo/index.mjs.map +1 -0
- package/dist/esm/Dimensions/__tests__/index-test.mjs +33 -0
- package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/Dimensions/index.mjs +58 -0
- package/dist/esm/Dimensions/index.mjs.map +1 -0
- package/dist/esm/FlatList.mjs +162 -0
- package/dist/esm/FlatList.mjs.map +1 -0
- package/dist/esm/I18nManager/index.mjs +11 -0
- package/dist/esm/I18nManager/index.mjs.map +1 -0
- package/dist/esm/Image/index.mjs +258 -0
- package/dist/esm/Image/index.mjs.map +1 -0
- package/dist/esm/Image/types.mjs +2 -0
- package/dist/esm/Image/types.mjs.map +1 -0
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +47 -0
- package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/ImageBackground/index.mjs +43 -0
- package/dist/esm/ImageBackground/index.mjs.map +1 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs +64 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -0
- package/dist/esm/InteractionManager/index.mjs +80 -0
- package/dist/esm/InteractionManager/index.mjs.map +1 -0
- package/dist/esm/Keyboard/index.mjs +15 -0
- package/dist/esm/Keyboard/index.mjs.map +1 -0
- package/dist/esm/KeyboardAvoidingView/index.mjs +33 -0
- package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
- package/dist/esm/Linking/__tests__/index-test.mjs +19 -0
- package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/Linking/index.mjs +66 -0
- package/dist/esm/Linking/index.mjs.map +1 -0
- package/dist/esm/LogBox/index.mjs +9 -0
- package/dist/esm/LogBox/index.mjs.map +1 -0
- package/dist/esm/Modal/ModalAnimation.mjs +113 -0
- package/dist/esm/Modal/ModalAnimation.mjs.map +1 -0
- package/dist/esm/Modal/ModalContent.mjs +51 -0
- package/dist/esm/Modal/ModalContent.mjs.map +1 -0
- package/dist/esm/Modal/ModalPortal.mjs +18 -0
- package/dist/esm/Modal/ModalPortal.mjs.map +1 -0
- package/dist/esm/Modal/index.mjs +3 -0
- package/dist/esm/Modal/index.mjs.map +1 -0
- package/dist/esm/NativeModules/index.mjs +6 -0
- package/dist/esm/NativeModules/index.mjs.map +1 -0
- package/dist/esm/PanResponder/index.mjs +3 -0
- package/dist/esm/PanResponder/index.mjs.map +1 -0
- package/dist/esm/PixelRatio/index.mjs +34 -0
- package/dist/esm/PixelRatio/index.mjs.map +1 -0
- package/dist/esm/Pressable/index.mjs +107 -0
- package/dist/esm/Pressable/index.mjs.map +1 -0
- package/dist/esm/RefreshControl/index.mjs +25 -0
- package/dist/esm/RefreshControl/index.mjs.map +1 -0
- package/dist/esm/SafeAreaView/index.mjs +28 -0
- package/dist/esm/SafeAreaView/index.mjs.map +1 -0
- package/dist/esm/ScrollView/ScrollViewBase.mjs +105 -0
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -0
- package/dist/esm/ScrollView/index.mjs +554 -0
- package/dist/esm/ScrollView/index.mjs.map +1 -0
- package/dist/esm/SectionList.mjs +4 -0
- package/dist/esm/SectionList.mjs.map +1 -0
- package/dist/esm/Share/index.mjs +25 -0
- package/dist/esm/Share/index.mjs.map +1 -0
- package/dist/esm/StatusBar/index.mjs +12 -0
- package/dist/esm/StatusBar/index.mjs.map +1 -0
- package/dist/esm/Text/index.mjs +135 -0
- package/dist/esm/Text/index.mjs.map +1 -0
- package/dist/esm/Text/types.mjs +2 -0
- package/dist/esm/Text/types.mjs.map +1 -0
- package/dist/esm/TextInput/index.mjs +250 -0
- package/dist/esm/TextInput/index.mjs.map +1 -0
- package/dist/esm/TextInput/types.mjs +2 -0
- package/dist/esm/TextInput/types.mjs.map +1 -0
- package/dist/esm/TouchableNativeFeedback.mjs +3 -0
- package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
- package/dist/esm/TouchableOpacity.mjs +80 -0
- package/dist/esm/TouchableOpacity.mjs.map +1 -0
- package/dist/esm/TouchableWithoutFeedback.mjs +57 -0
- package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -0
- package/dist/esm/UnimplementedView.mjs +13 -0
- package/dist/esm/UnimplementedView.mjs.map +1 -0
- package/dist/esm/Vibration/index.mjs +13 -0
- package/dist/esm/Vibration/index.mjs.map +1 -0
- package/dist/esm/View/index.mjs +88 -0
- package/dist/esm/View/index.mjs.map +1 -0
- package/dist/esm/View/types.mjs +2 -0
- package/dist/esm/View/types.mjs.map +1 -0
- package/dist/esm/VirtualizedList.mjs +4 -0
- package/dist/esm/VirtualizedList.mjs.map +1 -0
- package/dist/esm/codegenNativeCommand.mjs +5 -0
- package/dist/esm/codegenNativeCommand.mjs.map +1 -0
- package/dist/esm/codegenNativeComponent.mjs +5 -0
- package/dist/esm/codegenNativeComponent.mjs.map +1 -0
- package/dist/esm/createElement/__tests__/index-test.mjs +744 -0
- package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/createElement/index.mjs +49 -0
- package/dist/esm/createElement/index.mjs.map +1 -0
- package/dist/esm/createReactDOMStyle.mjs +4 -0
- package/dist/esm/createReactDOMStyle.mjs.map +1 -0
- package/dist/esm/index.js +61 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +61 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/modules/requestIdleCallback.mjs +19 -0
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
- package/dist/esm/preprocess.mjs +3 -0
- package/dist/esm/preprocess.mjs.map +1 -0
- package/dist/esm/render/index.mjs +6 -0
- package/dist/esm/render/index.mjs.map +1 -0
- package/dist/esm/styleTypes.mjs +2 -0
- package/dist/esm/styleTypes.mjs.map +1 -0
- package/dist/esm/types.mjs +2 -0
- package/dist/esm/types.mjs.map +1 -0
- package/dist/esm/useColorScheme/index.mjs +16 -0
- package/dist/esm/useColorScheme/index.mjs.map +1 -0
- package/dist/esm/useLocaleContext/index.mjs +3 -0
- package/dist/esm/useLocaleContext/index.mjs.map +1 -0
- package/dist/esm/useWindowDimensions/index.mjs +17 -0
- package/dist/esm/useWindowDimensions/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +22 -0
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +86 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +481 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +113 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +161 -0
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +274 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +38 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +35 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +54 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +38 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +45 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +135 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +65 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +57 -0
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +7 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +27 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +34 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +167 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +40 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +38 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +124 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +34 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +34 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +105 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +86 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +80 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +34 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +49 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +76 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +144 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +72 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +35 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +58 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Batchinator/index.mjs +34 -0
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +35 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +5 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FeatureFlags.mjs +10 -0
- package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +115 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs +228 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +86 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +109 -0
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +24 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +10 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs +69 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +13 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +12 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +82 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +8 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +10 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +126 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +6 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +12 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +11 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +10 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +117 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +110 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +80 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +56 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +34 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +47 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +138 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +48 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +40 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +240 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +95 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +18 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +4 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +2 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +28 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +101 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +18 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +56 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -0
- package/dist/esm/vendor/react-native/infoLog/index.mjs +6 -0
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/useRefEffect.mjs +10 -0
- package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +62 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/without-animated.mjs +219 -0
- package/dist/esm/without-animated.mjs.map +1 -0
- package/package.json +125 -0
- package/src/AccessibilityInfo/index.tsx +113 -0
- package/src/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +466 -0
- package/src/ActivityIndicator/__tests__/index-test.tsx +147 -0
- package/src/ActivityIndicator/index.tsx +116 -0
- package/src/Alert/index.tsx +12 -0
- package/src/AppRegistry/AppContainer.tsx +54 -0
- package/src/AppRegistry/__tests__/index-test.node.tsx +144 -0
- package/src/AppRegistry/__tests__/index-test.tsx +94 -0
- package/src/AppRegistry/index.tsx +156 -0
- package/src/AppRegistry/renderApplication.tsx +75 -0
- package/src/AppState/__tests__/index-test.tsx +24 -0
- package/src/AppState/index.tsx +92 -0
- package/src/Appearance/index.tsx +59 -0
- package/src/BackHandler/index.tsx +23 -0
- package/src/Clipboard/index.tsx +61 -0
- package/src/DeviceEmitter.ts +3 -0
- package/src/DeviceInfo/index.tsx +55 -0
- package/src/Dimensions/__tests__/index-test.tsx +54 -0
- package/src/Dimensions/index.tsx +129 -0
- package/src/FlatList.tsx +331 -0
- package/src/I18nManager/index.tsx +31 -0
- package/src/Image/index.tsx +401 -0
- package/src/Image/types.tsx +112 -0
- package/src/ImageBackground/__tests__/index-test.tsx +49 -0
- package/src/ImageBackground/index.tsx +66 -0
- package/src/InteractionManager/TaskQueue.tsx +112 -0
- package/src/InteractionManager/index.tsx +140 -0
- package/src/Keyboard/index.tsx +24 -0
- package/src/KeyboardAvoidingView/index.tsx +55 -0
- package/src/Libraries/Pressability/Pressability.ts +2 -0
- package/src/Libraries/Pressability/usePressability.ts +2 -0
- package/src/Linking/__tests__/index-test.tsx +37 -0
- package/src/Linking/index.tsx +113 -0
- package/src/LogBox/index.tsx +17 -0
- package/src/Modal/ModalAnimation.js +178 -0
- package/src/Modal/ModalContent.js +73 -0
- package/src/Modal/ModalPortal.js +40 -0
- package/src/Modal/index.js +1 -0
- package/src/NativeModules/index.tsx +15 -0
- package/src/PanResponder/Alternative.tsx +385 -0
- package/src/PanResponder/index.tsx +1 -0
- package/src/PixelRatio/index.tsx +49 -0
- package/src/Pressable/__tests__/__snapshots__/index-test.js.snap +196 -0
- package/src/Pressable/index.tsx +236 -0
- package/src/RefreshControl/index.tsx +50 -0
- package/src/SafeAreaView/index.tsx +48 -0
- package/src/ScrollView/ScrollViewBase.tsx +183 -0
- package/src/ScrollView/__tests__/__snapshots__/index-test.js.snap +49 -0
- package/src/ScrollView/index.tsx +892 -0
- package/src/SectionList.tsx +9 -0
- package/src/Share/index.tsx +69 -0
- package/src/StatusBar/index.tsx +22 -0
- package/src/Text/__tests__/__snapshots__/index-test.js.snap +218 -0
- package/src/Text/index.tsx +208 -0
- package/src/Text/types.tsx +96 -0
- package/src/TextInput/index.tsx +453 -0
- package/src/TextInput/types.tsx +74 -0
- package/src/TouchableNativeFeedback.tsx +8 -0
- package/src/TouchableOpacity.tsx +150 -0
- package/src/TouchableWithoutFeedback.tsx +95 -0
- package/src/UnimplementedView.tsx +13 -0
- package/src/Vibration/index.tsx +26 -0
- package/src/View/index.tsx +139 -0
- package/src/View/types.tsx +170 -0
- package/src/VirtualizedList.tsx +9 -0
- package/src/codegenNativeCommand.ts +6 -0
- package/src/codegenNativeComponent.ts +6 -0
- package/src/createElement/__tests__/__snapshots__/index-test.js.snap +13 -0
- package/src/createElement/__tests__/index-test.tsx +647 -0
- package/src/createElement/index.tsx +92 -0
- package/src/createReactDOMStyle.ts +4 -0
- package/src/index.tsx +111 -0
- package/src/modules/requestIdleCallback.ts +32 -0
- package/src/preprocess.ts +7 -0
- package/src/render/index.tsx +16 -0
- package/src/styleTypes.ts +321 -0
- package/src/types.ts +77 -0
- package/src/useColorScheme/index.tsx +28 -0
- package/src/useLocaleContext/index.tsx +10 -0
- package/src/useWindowDimensions/index.tsx +34 -0
- package/src/vendor/react-native/Animated/Animated.js +33 -0
- package/src/vendor/react-native/Animated/AnimatedEvent.js +199 -0
- package/src/vendor/react-native/Animated/AnimatedImplementation.js +649 -0
- package/src/vendor/react-native/Animated/AnimatedMock.js +155 -0
- package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +11 -0
- package/src/vendor/react-native/Animated/Easing.js +249 -0
- package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +525 -0
- package/src/vendor/react-native/Animated/NativeAnimatedModule.js +57 -0
- package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +53 -0
- package/src/vendor/react-native/Animated/SpringConfig.js +88 -0
- package/src/vendor/react-native/Animated/animations/Animation.js +66 -0
- package/src/vendor/react-native/Animated/animations/DecayAnimation.js +88 -0
- package/src/vendor/react-native/Animated/animations/SpringAnimation.js +291 -0
- package/src/vendor/react-native/Animated/animations/TimingAnimation.js +133 -0
- package/src/vendor/react-native/Animated/bezier.js +142 -0
- package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedImage.js +17 -0
- package/src/vendor/react-native/Animated/components/AnimatedScrollView.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedText.js +15 -0
- package/src/vendor/react-native/Animated/components/AnimatedView.js +15 -0
- package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +39 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +60 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +293 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +67 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +78 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.jsx +327 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +56 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +59 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +190 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +160 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +137 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +60 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +90 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +122 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +292 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +108 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +89 -0
- package/src/vendor/react-native/Animated/useAnimatedProps.js +173 -0
- package/src/vendor/react-native/Batchinator/index.js +77 -0
- package/src/vendor/react-native/EventEmitter/NativeEventEmitter.js +85 -0
- package/src/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +22 -0
- package/src/vendor/react-native/FeatureFlags.js +8 -0
- package/src/vendor/react-native/FillRateHelper/index.js +213 -0
- package/src/vendor/react-native/FlatList/index.jsx +518 -0
- package/src/vendor/react-native/JSEventLoopWatchdog/index.js +85 -0
- package/src/vendor/react-native/LayoutAnimation/index.js +119 -0
- package/src/vendor/react-native/PanResponder/index.js +243 -0
- package/src/vendor/react-native/PooledClass/index.js +62 -0
- package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +20 -0
- package/src/vendor/react-native/SHA +2 -0
- package/src/vendor/react-native/SectionList/index.jsx +100 -0
- package/src/vendor/react-native/StaticContainer/index.js +43 -0
- package/src/vendor/react-native/StaticRenderer/index.js +26 -0
- package/src/vendor/react-native/TouchHistoryMath/index.js +137 -0
- package/src/vendor/react-native/TurboModule/RCTExport.js +37 -0
- package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +27 -0
- package/src/vendor/react-native/Types/CoreEventTypes.js +151 -0
- package/src/vendor/react-native/Utilities/Platform.js +3 -0
- package/src/vendor/react-native/Utilities/clamp.js +24 -0
- package/src/vendor/react-native/Utilities/setAndForwardRef.js +62 -0
- package/src/vendor/react-native/Utilities/useMergeRefs.js +40 -0
- package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
- package/src/vendor/react-native/ViewabilityHelper/index.js +251 -0
- package/src/vendor/react-native/ViewabilityHelper.ts +293 -0
- package/src/vendor/react-native/VirtualizeUtils/index.js +204 -0
- package/src/vendor/react-native/VirtualizedList/CellRenderMask.js +135 -0
- package/src/vendor/react-native/VirtualizedList/ChildListCollection.js +75 -0
- package/src/vendor/react-native/VirtualizedList/StateSafePureComponent.js +82 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.jsx +184 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.jsx +96 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
- package/src/vendor/react-native/VirtualizedList/index.jsx +378 -0
- package/src/vendor/react-native/VirtualizedSectionList/index.jsx +149 -0
- package/src/vendor/react-native/deepDiffer/index.js +69 -0
- package/src/vendor/react-native/emitter/EventEmitter.js +14 -0
- package/src/vendor/react-native/emitter/EventSubscription.js +12 -0
- package/src/vendor/react-native/emitter/_EmitterSubscription.js +47 -0
- package/src/vendor/react-native/emitter/_EventEmitter.js +175 -0
- package/src/vendor/react-native/emitter/_EventSubscription.js +34 -0
- package/src/vendor/react-native/emitter/_EventSubscriptionVendor.js +96 -0
- package/src/vendor/react-native/infoLog/index.js +21 -0
- package/src/vendor/react-native/useRefEffect.js +44 -0
- package/src/vendor/react-native/vendor/emitter/EventEmitter.js +121 -0
- package/src/without-animated.tsx +288 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var StatusBar_exports = {};
|
|
22
|
+
__export(StatusBar_exports, {
|
|
23
|
+
StatusBar: () => StatusBar,
|
|
24
|
+
default: () => StatusBar_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(StatusBar_exports);
|
|
27
|
+
const emptyFunction = () => {};
|
|
28
|
+
function StatusBar() {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
StatusBar.setBackgroundColor = emptyFunction;
|
|
32
|
+
StatusBar.setBarStyle = emptyFunction;
|
|
33
|
+
StatusBar.setHidden = emptyFunction;
|
|
34
|
+
StatusBar.setNetworkActivityIndicatorVisible = emptyFunction;
|
|
35
|
+
StatusBar.setTranslucent = emptyFunction;
|
|
36
|
+
var StatusBar_default = StatusBar;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
6
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: !0
|
|
28
|
+
}) : target, mod)),
|
|
29
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
30
|
+
value: !0
|
|
31
|
+
}), mod);
|
|
32
|
+
var Text_exports = {};
|
|
33
|
+
__export(Text_exports, {
|
|
34
|
+
Text: () => Text,
|
|
35
|
+
default: () => Text_default
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(Text_exports);
|
|
38
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals"),
|
|
39
|
+
React = __toESM(require("react"), 1),
|
|
40
|
+
import_createElement = require("../createElement/index.cjs"),
|
|
41
|
+
import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
const pickProps = props => (0, import_react_native_web_internals.pick)(props, import_react_native_web_internals.forwardPropsListText),
|
|
43
|
+
Text = React.forwardRef((props, forwardedRef) => {
|
|
44
|
+
const {
|
|
45
|
+
hrefAttrs,
|
|
46
|
+
numberOfLines,
|
|
47
|
+
onClick,
|
|
48
|
+
onLayout,
|
|
49
|
+
onPress,
|
|
50
|
+
onMoveShouldSetResponder,
|
|
51
|
+
onMoveShouldSetResponderCapture,
|
|
52
|
+
onResponderEnd,
|
|
53
|
+
onResponderGrant,
|
|
54
|
+
onResponderMove,
|
|
55
|
+
onResponderReject,
|
|
56
|
+
onResponderRelease,
|
|
57
|
+
onResponderStart,
|
|
58
|
+
onResponderTerminate,
|
|
59
|
+
onResponderTerminationRequest,
|
|
60
|
+
onScrollShouldSetResponder,
|
|
61
|
+
onScrollShouldSetResponderCapture,
|
|
62
|
+
onSelectionChangeShouldSetResponder,
|
|
63
|
+
onSelectionChangeShouldSetResponderCapture,
|
|
64
|
+
onStartShouldSetResponder,
|
|
65
|
+
onStartShouldSetResponderCapture,
|
|
66
|
+
selectable,
|
|
67
|
+
...rest
|
|
68
|
+
} = props,
|
|
69
|
+
hasTextAncestor = React.useContext(import_react_native_web_internals.TextAncestorContext),
|
|
70
|
+
hostRef = React.useRef(null),
|
|
71
|
+
{
|
|
72
|
+
direction: contextDirection
|
|
73
|
+
} = (0, import_react_native_web_internals.useLocaleContext)();
|
|
74
|
+
(0, import_react_native_web_internals.useElementLayout)(hostRef, onLayout), (0, import_react_native_web_internals.useResponderEvents)(hostRef, {
|
|
75
|
+
onMoveShouldSetResponder,
|
|
76
|
+
onMoveShouldSetResponderCapture,
|
|
77
|
+
onResponderEnd,
|
|
78
|
+
onResponderGrant,
|
|
79
|
+
onResponderMove,
|
|
80
|
+
onResponderReject,
|
|
81
|
+
onResponderRelease,
|
|
82
|
+
onResponderStart,
|
|
83
|
+
onResponderTerminate,
|
|
84
|
+
onResponderTerminationRequest,
|
|
85
|
+
onScrollShouldSetResponder,
|
|
86
|
+
onScrollShouldSetResponderCapture,
|
|
87
|
+
onSelectionChangeShouldSetResponder,
|
|
88
|
+
onSelectionChangeShouldSetResponderCapture,
|
|
89
|
+
onStartShouldSetResponder,
|
|
90
|
+
onStartShouldSetResponderCapture
|
|
91
|
+
});
|
|
92
|
+
const handleClick = React.useCallback(e => {
|
|
93
|
+
onClick != null ? onClick(e) : onPress != null && (e.stopPropagation(), onPress(e));
|
|
94
|
+
}, [onClick, onPress]);
|
|
95
|
+
let component = hasTextAncestor ? "span" : "div";
|
|
96
|
+
const langDirection = props.lang != null ? (0, import_react_native_web_internals.getLocaleDirection)(props.lang) : null,
|
|
97
|
+
componentDirection = props.dir || langDirection,
|
|
98
|
+
writingDirection = componentDirection || contextDirection,
|
|
99
|
+
supportedProps = pickProps(rest);
|
|
100
|
+
if (supportedProps.dir = componentDirection, hasTextAncestor || (supportedProps.dir = componentDirection ?? "auto"), (onClick || onPress) && (supportedProps.onClick = handleClick), supportedProps.style = [numberOfLines != null && numberOfLines > 1 && {
|
|
101
|
+
WebkitLineClamp: numberOfLines
|
|
102
|
+
}, hasTextAncestor === !0 ? styles.textHasAncestor$raw : styles.text, numberOfLines === 1 && styles.textOneLine, numberOfLines != null && numberOfLines > 1 && styles.textMultiLine, props.style, selectable === !0 && styles.selectable, selectable === !1 && styles.notSelectable, onPress && styles.pressable], props.href != null && (component = "a", hrefAttrs != null)) {
|
|
103
|
+
const {
|
|
104
|
+
download,
|
|
105
|
+
rel,
|
|
106
|
+
target
|
|
107
|
+
} = hrefAttrs;
|
|
108
|
+
download != null && (supportedProps.download = download), rel != null && (supportedProps.rel = rel), typeof target == "string" && (supportedProps.target = target.charAt(0) !== "_" ? "_" + target : target);
|
|
109
|
+
}
|
|
110
|
+
const platformMethodsRef = (0, import_react_native_web_internals.usePlatformMethods)(supportedProps),
|
|
111
|
+
setRef = (0, import_react_native_web_internals.useMergeRefs)(hostRef, platformMethodsRef, forwardedRef);
|
|
112
|
+
supportedProps.ref = setRef;
|
|
113
|
+
const element = (0, import_createElement.useCreateElement)(component, supportedProps, {
|
|
114
|
+
writingDirection
|
|
115
|
+
});
|
|
116
|
+
return hasTextAncestor ? element : /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native_web_internals.TextAncestorContext.Provider, {
|
|
117
|
+
value: !0,
|
|
118
|
+
children: element
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
Text.displayName = "Text";
|
|
122
|
+
const textStyle = {
|
|
123
|
+
backgroundColor: "transparent",
|
|
124
|
+
border: "0 solid black",
|
|
125
|
+
boxSizing: "border-box",
|
|
126
|
+
color: "black",
|
|
127
|
+
display: "inline",
|
|
128
|
+
font: "14px System",
|
|
129
|
+
listStyle: "none",
|
|
130
|
+
margin: 0,
|
|
131
|
+
padding: 0,
|
|
132
|
+
textAlign: "inherit",
|
|
133
|
+
textDecoration: "none",
|
|
134
|
+
whiteSpace: "pre-wrap",
|
|
135
|
+
wordWrap: "break-word"
|
|
136
|
+
},
|
|
137
|
+
styles = {
|
|
138
|
+
text: textStyle,
|
|
139
|
+
textHasAncestor$raw: {
|
|
140
|
+
...textStyle,
|
|
141
|
+
color: "inherit",
|
|
142
|
+
font: "inherit",
|
|
143
|
+
whiteSpace: "inherit"
|
|
144
|
+
},
|
|
145
|
+
textOneLine: {
|
|
146
|
+
maxWidth: "100%",
|
|
147
|
+
overflow: "hidden",
|
|
148
|
+
textOverflow: "ellipsis",
|
|
149
|
+
whiteSpace: "nowrap",
|
|
150
|
+
wordWrap: "normal"
|
|
151
|
+
},
|
|
152
|
+
// See #13
|
|
153
|
+
textMultiLine: {
|
|
154
|
+
display: "-webkit-box",
|
|
155
|
+
maxWidth: "100%",
|
|
156
|
+
overflow: "hidden",
|
|
157
|
+
textOverflow: "ellipsis",
|
|
158
|
+
WebkitBoxOrient: "vertical"
|
|
159
|
+
},
|
|
160
|
+
notSelectable: {
|
|
161
|
+
userSelect: "none"
|
|
162
|
+
},
|
|
163
|
+
selectable: {
|
|
164
|
+
userSelect: "text"
|
|
165
|
+
},
|
|
166
|
+
pressable: {
|
|
167
|
+
cursor: "pointer"
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
var Text_default = Text;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
6
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: !0
|
|
28
|
+
}) : target, mod)),
|
|
29
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
30
|
+
value: !0
|
|
31
|
+
}), mod);
|
|
32
|
+
var TextInput_exports = {};
|
|
33
|
+
__export(TextInput_exports, {
|
|
34
|
+
TextInput: () => TextInput,
|
|
35
|
+
default: () => TextInput_default
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(TextInput_exports);
|
|
38
|
+
var React = __toESM(require("react"), 1),
|
|
39
|
+
import_react_native_web_internals = require("@hanzogui/react-native-web-internals"),
|
|
40
|
+
import_react_native_web_internals2 = require("@hanzogui/react-native-web-internals"),
|
|
41
|
+
import_createElement = require("../createElement/index.cjs");
|
|
42
|
+
const isSelectionStale = (node, selection) => {
|
|
43
|
+
const {
|
|
44
|
+
selectionEnd,
|
|
45
|
+
selectionStart
|
|
46
|
+
} = node,
|
|
47
|
+
{
|
|
48
|
+
start,
|
|
49
|
+
end
|
|
50
|
+
} = selection;
|
|
51
|
+
return start !== selectionStart || end !== selectionEnd;
|
|
52
|
+
},
|
|
53
|
+
setSelection = (node, selection) => {
|
|
54
|
+
if (isSelectionStale(node, selection)) {
|
|
55
|
+
const {
|
|
56
|
+
start,
|
|
57
|
+
end
|
|
58
|
+
} = selection;
|
|
59
|
+
try {
|
|
60
|
+
node.setSelectionRange(start, end || start);
|
|
61
|
+
} catch {}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
forwardPropsList = Object.assign({}, import_react_native_web_internals2.forwardedProps.defaultProps, import_react_native_web_internals2.forwardedProps.accessibilityProps, import_react_native_web_internals2.forwardedProps.clickProps, import_react_native_web_internals2.forwardedProps.focusProps, import_react_native_web_internals2.forwardedProps.keyboardProps, import_react_native_web_internals2.forwardedProps.mouseProps, import_react_native_web_internals2.forwardedProps.touchProps, import_react_native_web_internals2.forwardedProps.styleProps, {
|
|
65
|
+
autoCapitalize: !0,
|
|
66
|
+
className: !0,
|
|
67
|
+
autoComplete: !0,
|
|
68
|
+
autoCorrect: !0,
|
|
69
|
+
autoFocus: !0,
|
|
70
|
+
defaultValue: !0,
|
|
71
|
+
disabled: !0,
|
|
72
|
+
lang: !0,
|
|
73
|
+
maxLength: !0,
|
|
74
|
+
onChange: !0,
|
|
75
|
+
onScroll: !0,
|
|
76
|
+
placeholder: !0,
|
|
77
|
+
pointerEvents: !0,
|
|
78
|
+
readOnly: !0,
|
|
79
|
+
rows: !0,
|
|
80
|
+
spellCheck: !0,
|
|
81
|
+
value: !0,
|
|
82
|
+
type: !0
|
|
83
|
+
}),
|
|
84
|
+
pickProps = props => (0, import_react_native_web_internals2.pick)(props, forwardPropsList),
|
|
85
|
+
useIsomorphicLayoutEffect = typeof window > "u" ? React.useEffect : React.useLayoutEffect;
|
|
86
|
+
function isEventComposing(nativeEvent) {
|
|
87
|
+
return nativeEvent.isComposing || nativeEvent.keyCode === 229;
|
|
88
|
+
}
|
|
89
|
+
let focusTimeout = null;
|
|
90
|
+
const TextInput = React.forwardRef((props, forwardedRef) => {
|
|
91
|
+
const {
|
|
92
|
+
autoCapitalize = "sentences",
|
|
93
|
+
autoComplete,
|
|
94
|
+
autoCompleteType,
|
|
95
|
+
autoCorrect = !0,
|
|
96
|
+
blurOnSubmit,
|
|
97
|
+
clearTextOnFocus,
|
|
98
|
+
dir,
|
|
99
|
+
editable,
|
|
100
|
+
enterKeyHint,
|
|
101
|
+
inputMode = "text",
|
|
102
|
+
keyboardType,
|
|
103
|
+
multiline = !1,
|
|
104
|
+
numberOfLines,
|
|
105
|
+
onBlur,
|
|
106
|
+
onChange,
|
|
107
|
+
onChangeText,
|
|
108
|
+
onContentSizeChange,
|
|
109
|
+
onFocus,
|
|
110
|
+
onKeyPress,
|
|
111
|
+
onLayout,
|
|
112
|
+
onMoveShouldSetResponder,
|
|
113
|
+
onMoveShouldSetResponderCapture,
|
|
114
|
+
onResponderEnd,
|
|
115
|
+
onResponderGrant,
|
|
116
|
+
onResponderMove,
|
|
117
|
+
onResponderReject,
|
|
118
|
+
onResponderRelease,
|
|
119
|
+
onResponderStart,
|
|
120
|
+
onResponderTerminate,
|
|
121
|
+
onResponderTerminationRequest,
|
|
122
|
+
onScrollShouldSetResponder,
|
|
123
|
+
onScrollShouldSetResponderCapture,
|
|
124
|
+
onSelectionChange,
|
|
125
|
+
onSelectionChangeShouldSetResponder,
|
|
126
|
+
onSelectionChangeShouldSetResponderCapture,
|
|
127
|
+
onStartShouldSetResponder,
|
|
128
|
+
onStartShouldSetResponderCapture,
|
|
129
|
+
onSubmitEditing,
|
|
130
|
+
placeholderTextColor,
|
|
131
|
+
readOnly = !1,
|
|
132
|
+
returnKeyType,
|
|
133
|
+
rows = 1,
|
|
134
|
+
secureTextEntry = !1,
|
|
135
|
+
selection,
|
|
136
|
+
selectTextOnFocus,
|
|
137
|
+
showSoftInputOnFocus,
|
|
138
|
+
caretHidden,
|
|
139
|
+
spellCheck
|
|
140
|
+
} = props;
|
|
141
|
+
let type, _inputMode;
|
|
142
|
+
if (inputMode != null) _inputMode = inputMode, inputMode === "email" ? type = "email" : inputMode === "tel" ? type = "tel" : inputMode === "search" ? type = "search" : inputMode === "url" ? type = "url" : type = "text";else if (keyboardType != null) switch (warn("keyboardType", "keyboardType is deprecated. Use inputMode."), keyboardType) {
|
|
143
|
+
case "email-address":
|
|
144
|
+
type = "email";
|
|
145
|
+
break;
|
|
146
|
+
case "number-pad":
|
|
147
|
+
case "numeric":
|
|
148
|
+
_inputMode = "numeric";
|
|
149
|
+
break;
|
|
150
|
+
case "decimal-pad":
|
|
151
|
+
_inputMode = "decimal";
|
|
152
|
+
break;
|
|
153
|
+
case "phone-pad":
|
|
154
|
+
type = "tel";
|
|
155
|
+
break;
|
|
156
|
+
case "search":
|
|
157
|
+
case "web-search":
|
|
158
|
+
type = "search";
|
|
159
|
+
break;
|
|
160
|
+
case "url":
|
|
161
|
+
type = "url";
|
|
162
|
+
break;
|
|
163
|
+
default:
|
|
164
|
+
type = "text";
|
|
165
|
+
}
|
|
166
|
+
secureTextEntry && (type = "password");
|
|
167
|
+
const dimensions = React.useRef({
|
|
168
|
+
height: null,
|
|
169
|
+
width: null
|
|
170
|
+
}),
|
|
171
|
+
hostRef = React.useRef(null),
|
|
172
|
+
handleContentSizeChange = React.useCallback(hostNode => {
|
|
173
|
+
if (multiline && onContentSizeChange && hostNode != null) {
|
|
174
|
+
const newHeight = hostNode.scrollHeight,
|
|
175
|
+
newWidth = hostNode.scrollWidth;
|
|
176
|
+
(newHeight !== dimensions.current.height || newWidth !== dimensions.current.width) && (dimensions.current.height = newHeight, dimensions.current.width = newWidth, onContentSizeChange({
|
|
177
|
+
nativeEvent: {
|
|
178
|
+
contentSize: {
|
|
179
|
+
height: dimensions.current.height,
|
|
180
|
+
width: dimensions.current.width
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}));
|
|
184
|
+
}
|
|
185
|
+
}, [multiline, onContentSizeChange]),
|
|
186
|
+
imperativeRef = React.useMemo(() => hostNode => {
|
|
187
|
+
hostNode != null && (hostNode.clear = () => {
|
|
188
|
+
hostNode != null && (hostNode.value = "");
|
|
189
|
+
}, hostNode.isFocused = () => hostNode != null && import_react_native_web_internals2.TextInputState.currentlyFocusedField() === hostNode, handleContentSizeChange(hostNode));
|
|
190
|
+
}, [handleContentSizeChange]);
|
|
191
|
+
function handleBlur(e) {
|
|
192
|
+
import_react_native_web_internals2.TextInputState._currentlyFocusedNode = null, onBlur && (e.nativeEvent.text = e.target.value, onBlur(e));
|
|
193
|
+
}
|
|
194
|
+
function handleChange(e) {
|
|
195
|
+
const hostNode = e.target,
|
|
196
|
+
text = hostNode.value;
|
|
197
|
+
e.nativeEvent.text = text, handleContentSizeChange(hostNode), onChange && onChange(e), onChangeText && onChangeText(text);
|
|
198
|
+
}
|
|
199
|
+
function handleFocus(e) {
|
|
200
|
+
const hostNode = e.target;
|
|
201
|
+
onFocus && (e.nativeEvent.text = hostNode.value, onFocus(e)), hostNode != null && (import_react_native_web_internals2.TextInputState._currentlyFocusedNode = hostNode, clearTextOnFocus && (hostNode.value = ""), selectTextOnFocus && (focusTimeout != null && clearTimeout(focusTimeout), focusTimeout = setTimeout(() => {
|
|
202
|
+
hostNode?.select();
|
|
203
|
+
}, 0)));
|
|
204
|
+
}
|
|
205
|
+
function handleKeyDown(e) {
|
|
206
|
+
const hostNode = e.target;
|
|
207
|
+
e.stopPropagation();
|
|
208
|
+
const shouldBlurOnSubmit = blurOnSubmit ?? !multiline,
|
|
209
|
+
nativeEvent = e.nativeEvent,
|
|
210
|
+
isComposing = isEventComposing(nativeEvent);
|
|
211
|
+
onKeyPress && onKeyPress(e), e.key === "Enter" && !e.shiftKey &&
|
|
212
|
+
// Do not call submit if composition is occuring.
|
|
213
|
+
!isComposing && !e.isDefaultPrevented() && ((blurOnSubmit || !multiline) && onSubmitEditing && (e.preventDefault(), nativeEvent.text = e.target.value, onSubmitEditing(e)), shouldBlurOnSubmit && hostNode != null && setTimeout(() => hostNode.blur(), 0));
|
|
214
|
+
}
|
|
215
|
+
function handleSelectionChange(e) {
|
|
216
|
+
if (onSelectionChange) try {
|
|
217
|
+
const node = e.target,
|
|
218
|
+
{
|
|
219
|
+
selectionStart,
|
|
220
|
+
selectionEnd
|
|
221
|
+
} = node;
|
|
222
|
+
e.nativeEvent.selection = {
|
|
223
|
+
start: selectionStart,
|
|
224
|
+
end: selectionEnd
|
|
225
|
+
}, e.nativeEvent.text = e.target.value, onSelectionChange(e);
|
|
226
|
+
} catch {}
|
|
227
|
+
}
|
|
228
|
+
useIsomorphicLayoutEffect(() => {
|
|
229
|
+
const node = hostRef.current;
|
|
230
|
+
node != null && selection != null && setSelection(node, selection), document.activeElement === node && (import_react_native_web_internals2.TextInputState._currentlyFocusedNode = node);
|
|
231
|
+
}, [hostRef, selection]);
|
|
232
|
+
const component = multiline ? "textarea" : "input";
|
|
233
|
+
(0, import_react_native_web_internals2.useElementLayout)(hostRef, onLayout), (0, import_react_native_web_internals2.useResponderEvents)(hostRef, {
|
|
234
|
+
onMoveShouldSetResponder,
|
|
235
|
+
onMoveShouldSetResponderCapture,
|
|
236
|
+
onResponderEnd,
|
|
237
|
+
onResponderGrant,
|
|
238
|
+
onResponderMove,
|
|
239
|
+
onResponderReject,
|
|
240
|
+
onResponderRelease,
|
|
241
|
+
onResponderStart,
|
|
242
|
+
onResponderTerminate,
|
|
243
|
+
onResponderTerminationRequest,
|
|
244
|
+
onScrollShouldSetResponder,
|
|
245
|
+
onScrollShouldSetResponderCapture,
|
|
246
|
+
onSelectionChangeShouldSetResponder,
|
|
247
|
+
onSelectionChangeShouldSetResponderCapture,
|
|
248
|
+
onStartShouldSetResponder,
|
|
249
|
+
onStartShouldSetResponderCapture
|
|
250
|
+
});
|
|
251
|
+
const {
|
|
252
|
+
direction: contextDirection
|
|
253
|
+
} = (0, import_react_native_web_internals2.useLocaleContext)(),
|
|
254
|
+
supportedProps = pickProps(props);
|
|
255
|
+
supportedProps.autoCapitalize = autoCapitalize, supportedProps.autoComplete = autoComplete || autoCompleteType || "on", supportedProps.autoCorrect = autoCorrect ? "on" : "off", supportedProps.dir = dir !== void 0 ? dir : "auto", returnKeyType != null && warn("returnKeyType", "returnKeyType is deprecated. Use enterKeyHint."), supportedProps.enterKeyHint = enterKeyHint || returnKeyType, supportedProps.inputMode = _inputMode, supportedProps.onBlur = handleBlur, supportedProps.onChange = handleChange, supportedProps.onFocus = handleFocus, supportedProps.onKeyDown = handleKeyDown, supportedProps.onSelect = handleSelectionChange, editable != null && warn("editable", "editable is deprecated. Use readOnly."), supportedProps.readOnly = readOnly === !0 || editable === !1, numberOfLines != null && warn("numberOfLines", "TextInput numberOfLines is deprecated. Use rows."), supportedProps.rows = multiline ? rows ?? numberOfLines : 1, supportedProps.spellCheck = spellCheck ?? autoCorrect, supportedProps.style = [{
|
|
256
|
+
"--placeholderTextColor": placeholderTextColor
|
|
257
|
+
}, styles.textinput$raw, styles.placeholder, props.style, caretHidden && styles.caretHidden], supportedProps.type = multiline ? void 0 : type, supportedProps.virtualkeyboardpolicy = showSoftInputOnFocus === !1 ? "manual" : "auto";
|
|
258
|
+
const platformMethodsRef = (0, import_react_native_web_internals2.usePlatformMethods)(supportedProps),
|
|
259
|
+
setRef = (0, import_react_native_web_internals2.useMergeRefs)(hostRef, platformMethodsRef, imperativeRef, forwardedRef);
|
|
260
|
+
supportedProps.ref = setRef;
|
|
261
|
+
const langDirection = props.lang != null ? (0, import_react_native_web_internals2.getLocaleDirection)(props.lang) : null,
|
|
262
|
+
writingDirection = props.dir || langDirection || contextDirection;
|
|
263
|
+
return (0, import_createElement.useCreateElement)(component, supportedProps, {
|
|
264
|
+
writingDirection
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
function warn(...args) {
|
|
268
|
+
process.env.NODE_ENV !== "production" && console.warn(...args);
|
|
269
|
+
}
|
|
270
|
+
TextInput.displayName = "TextInput";
|
|
271
|
+
TextInput.State = import_react_native_web_internals2.TextInputState;
|
|
272
|
+
const styles = import_react_native_web_internals.StyleSheet.create({
|
|
273
|
+
textinput$raw: {
|
|
274
|
+
MozAppearance: "textfield",
|
|
275
|
+
WebkitAppearance: "none",
|
|
276
|
+
appearance: "none"
|
|
277
|
+
},
|
|
278
|
+
placeholder: {
|
|
279
|
+
placeholderTextColor: "var(--placeholderTextColor)"
|
|
280
|
+
},
|
|
281
|
+
caretHidden: {
|
|
282
|
+
caretColor: "transparent"
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
var TextInput_default = TextInput;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var TouchableNativeFeedback_exports = {};
|
|
22
|
+
__export(TouchableNativeFeedback_exports, {
|
|
23
|
+
TouchableNativeFeedback: () => import_UnimplementedView.UnimplementedView
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(TouchableNativeFeedback_exports);
|
|
26
|
+
var import_UnimplementedView = require("./UnimplementedView.cjs");
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
34
|
+
var TouchableOpacity_exports = {};
|
|
35
|
+
__export(TouchableOpacity_exports, {
|
|
36
|
+
TouchableOpacity: () => TouchableOpacity
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(TouchableOpacity_exports);
|
|
39
|
+
var React = __toESM(require("react"), 1),
|
|
40
|
+
import_react = require("react"),
|
|
41
|
+
import_react_native_web_internals = require("@hanzogui/react-native-web-internals"),
|
|
42
|
+
import_View = require("./View/index.cjs"),
|
|
43
|
+
import_jsx_runtime = require("react/jsx-runtime");
|
|
44
|
+
function TouchableOpacityImpl(props, forwardedRef) {
|
|
45
|
+
const {
|
|
46
|
+
activeOpacity,
|
|
47
|
+
delayPressIn,
|
|
48
|
+
delayPressOut,
|
|
49
|
+
delayLongPress,
|
|
50
|
+
disabled,
|
|
51
|
+
focusable,
|
|
52
|
+
onLongPress,
|
|
53
|
+
onPress,
|
|
54
|
+
onPressIn,
|
|
55
|
+
onPressOut,
|
|
56
|
+
rejectResponderTermination,
|
|
57
|
+
style,
|
|
58
|
+
...rest
|
|
59
|
+
} = props,
|
|
60
|
+
hostRef = (0, import_react.useRef)(null),
|
|
61
|
+
setRef = (0, import_react_native_web_internals.useMergeRefs)(forwardedRef, hostRef),
|
|
62
|
+
[duration, setDuration] = (0, import_react.useState)("0s"),
|
|
63
|
+
[opacityOverride, setOpacityOverride] = (0, import_react.useState)(null),
|
|
64
|
+
setOpacityTo = (0, import_react.useCallback)((value, duration2) => {
|
|
65
|
+
setOpacityOverride(value), setDuration(duration2 ? `${duration2 / 1e3}s` : "0s");
|
|
66
|
+
}, [setOpacityOverride, setDuration]),
|
|
67
|
+
setOpacityActive = (0, import_react.useCallback)(duration2 => {
|
|
68
|
+
setOpacityTo(activeOpacity ?? 0.2, duration2);
|
|
69
|
+
}, [activeOpacity, setOpacityTo]),
|
|
70
|
+
setOpacityInactive = (0, import_react.useCallback)(duration2 => {
|
|
71
|
+
setOpacityTo(null, duration2);
|
|
72
|
+
}, [setOpacityTo]),
|
|
73
|
+
pressConfig = (0, import_react.useMemo)(() => ({
|
|
74
|
+
cancelable: !rejectResponderTermination,
|
|
75
|
+
disabled,
|
|
76
|
+
delayLongPress,
|
|
77
|
+
delayPressStart: delayPressIn,
|
|
78
|
+
delayPressEnd: delayPressOut,
|
|
79
|
+
onLongPress,
|
|
80
|
+
onPress,
|
|
81
|
+
onPressStart(event) {
|
|
82
|
+
const isGrant = event.dispatchConfig != null ? event.dispatchConfig.registrationName === "onResponderGrant" : event.type === "keydown";
|
|
83
|
+
setOpacityActive(isGrant ? 0 : 150), onPressIn?.(event);
|
|
84
|
+
},
|
|
85
|
+
onPressEnd(event) {
|
|
86
|
+
setOpacityInactive(250), onPressOut?.(event);
|
|
87
|
+
}
|
|
88
|
+
}), [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination, setOpacityActive, setOpacityInactive]),
|
|
89
|
+
pressEventHandlers = (0, import_react_native_web_internals.usePressEvents)(hostRef, pressConfig);
|
|
90
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_View.View, {
|
|
91
|
+
...rest,
|
|
92
|
+
...pressEventHandlers,
|
|
93
|
+
accessibilityDisabled: disabled,
|
|
94
|
+
focusable: !disabled && focusable !== !1,
|
|
95
|
+
ref: setRef,
|
|
96
|
+
style: [styles.root, !disabled && styles.actionable, style, opacityOverride != null && {
|
|
97
|
+
opacity: opacityOverride
|
|
98
|
+
}, {
|
|
99
|
+
transitionDuration: duration
|
|
100
|
+
}]
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
const styles = import_react_native_web_internals.StyleSheet.create({
|
|
104
|
+
root: {
|
|
105
|
+
transitionProperty: "opacity",
|
|
106
|
+
transitionDuration: "0.15s",
|
|
107
|
+
userSelect: "none"
|
|
108
|
+
},
|
|
109
|
+
actionable: {
|
|
110
|
+
cursor: "pointer",
|
|
111
|
+
touchAction: "manipulation"
|
|
112
|
+
}
|
|
113
|
+
}),
|
|
114
|
+
TouchableOpacity = React.memo(React.forwardRef(TouchableOpacityImpl));
|
|
115
|
+
TouchableOpacity.displayName = "TouchableOpacity";
|
|
116
|
+
TouchableOpacity.Mixin = {};
|