@tamagui/react-native-web-lite 2.0.0-rc.3 → 2.0.0-rc.31
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/dist/cjs/Libraries/Pressability/Pressability.cjs +26 -0
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +26 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +9 -7
- package/dist/cjs/ScrollView/index.cjs +31 -0
- package/dist/cjs/createReactDOMStyle.cjs +4 -2
- package/dist/cjs/preprocess.cjs +1 -0
- package/dist/cjs/without-animated.cjs +134 -43
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +2 -2
- package/dist/esm/AppState/__tests__/index-test.mjs +1 -1
- package/dist/esm/Dimensions/__tests__/index-test.mjs +1 -1
- package/dist/esm/FlatList.mjs +4 -4
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +2 -2
- 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 +1 -1
- package/dist/esm/Modal/ModalContent.mjs +1 -1
- package/dist/esm/ScrollView/ScrollViewBase.mjs +9 -7
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
- package/dist/esm/ScrollView/index.mjs +31 -0
- package/dist/esm/ScrollView/index.mjs.map +1 -1
- package/dist/esm/SectionList.mjs +2 -2
- package/dist/esm/TouchableOpacity.mjs +1 -1
- package/dist/esm/VirtualizedList.mjs +2 -2
- package/dist/esm/createElement/__tests__/index-test.mjs +1 -1
- package/dist/esm/createReactDOMStyle.mjs +2 -1
- package/dist/esm/createReactDOMStyle.mjs.map +1 -1
- package/dist/esm/index.js +54 -160
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/preprocess.mjs +2 -2
- package/dist/esm/preprocess.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.mjs +4 -4
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +1 -1
- package/dist/esm/vendor/react-native/SectionList/index.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +4 -4
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +1 -1
- package/dist/esm/without-animated.mjs +133 -42
- package/dist/esm/without-animated.mjs.map +1 -1
- package/package.json +34 -8
- package/src/Libraries/Pressability/Pressability.ts +2 -0
- package/src/Libraries/Pressability/usePressability.ts +2 -0
- package/src/ScrollView/ScrollViewBase.tsx +12 -7
- package/src/ScrollView/index.tsx +31 -0
- package/src/createReactDOMStyle.ts +4 -1
- package/src/preprocess.ts +1 -0
- package/src/without-animated.tsx +156 -27
- package/dist/cjs/AccessibilityInfo/index.js +0 -95
- package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
- package/dist/cjs/ActivityIndicator/index.js +0 -109
- package/dist/cjs/ActivityIndicator/index.js.map +0 -6
- package/dist/cjs/Alert/index.js +0 -24
- package/dist/cjs/Alert/index.js.map +0 -6
- package/dist/cjs/AppRegistry/AppContainer.js +0 -41
- package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
- package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
- package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
- package/dist/cjs/AppRegistry/index.js +0 -90
- package/dist/cjs/AppRegistry/index.js.map +0 -6
- package/dist/cjs/AppRegistry/renderApplication.js +0 -43
- package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
- package/dist/cjs/AppState/__tests__/index-test.js +0 -33
- package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
- package/dist/cjs/AppState/index.js +0 -71
- package/dist/cjs/AppState/index.js.map +0 -6
- package/dist/cjs/Appearance/index.js +0 -40
- package/dist/cjs/Appearance/index.js.map +0 -6
- package/dist/cjs/BackHandler/index.js +0 -31
- package/dist/cjs/BackHandler/index.js.map +0 -6
- package/dist/cjs/Clipboard/index.js +0 -47
- package/dist/cjs/Clipboard/index.js.map +0 -6
- package/dist/cjs/DeviceEmitter.js +0 -22
- package/dist/cjs/DeviceEmitter.js.map +0 -6
- package/dist/cjs/DeviceInfo/index.js +0 -53
- package/dist/cjs/DeviceInfo/index.js.map +0 -6
- package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
- package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
- package/dist/cjs/Dimensions/index.js +0 -76
- package/dist/cjs/Dimensions/index.js.map +0 -6
- package/dist/cjs/FlatList.js +0 -194
- package/dist/cjs/FlatList.js.map +0 -6
- package/dist/cjs/I18nManager/index.js +0 -29
- package/dist/cjs/I18nManager/index.js.map +0 -6
- package/dist/cjs/Image/index.js +0 -254
- package/dist/cjs/Image/index.js.map +0 -6
- package/dist/cjs/Image/types.js +0 -14
- package/dist/cjs/Image/types.js.map +0 -6
- package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
- package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
- package/dist/cjs/ImageBackground/index.js +0 -55
- package/dist/cjs/ImageBackground/index.js.map +0 -6
- package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
- package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
- package/dist/cjs/InteractionManager/index.js +0 -94
- package/dist/cjs/InteractionManager/index.js.map +0 -6
- package/dist/cjs/Keyboard/index.js +0 -34
- package/dist/cjs/Keyboard/index.js.map +0 -6
- package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
- package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
- package/dist/cjs/Linking/__tests__/index-test.js +0 -38
- package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
- package/dist/cjs/Linking/index.js +0 -85
- package/dist/cjs/Linking/index.js.map +0 -6
- package/dist/cjs/LogBox/index.js +0 -32
- package/dist/cjs/LogBox/index.js.map +0 -6
- package/dist/cjs/Modal/ModalAnimation.js +0 -137
- package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
- package/dist/cjs/Modal/ModalContent.js +0 -77
- package/dist/cjs/Modal/ModalContent.js.map +0 -6
- package/dist/cjs/Modal/ModalPortal.js +0 -42
- package/dist/cjs/Modal/ModalPortal.js.map +0 -6
- package/dist/cjs/Modal/index.js +0 -21
- package/dist/cjs/Modal/index.js.map +0 -6
- package/dist/cjs/NativeModules/index.js +0 -24
- package/dist/cjs/NativeModules/index.js.map +0 -6
- package/dist/cjs/PanResponder/index.js +0 -29
- package/dist/cjs/PanResponder/index.js.map +0 -6
- package/dist/cjs/PixelRatio/index.js +0 -52
- package/dist/cjs/PixelRatio/index.js.map +0 -6
- package/dist/cjs/Pressable/index.js +0 -141
- package/dist/cjs/Pressable/index.js.map +0 -6
- package/dist/cjs/RefreshControl/index.js +0 -41
- package/dist/cjs/RefreshControl/index.js.map +0 -6
- package/dist/cjs/SafeAreaView/index.js +0 -44
- package/dist/cjs/SafeAreaView/index.js.map +0 -6
- package/dist/cjs/ScrollView/ScrollViewBase.js +0 -125
- package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
- package/dist/cjs/ScrollView/index.js +0 -525
- package/dist/cjs/ScrollView/index.js.map +0 -6
- package/dist/cjs/SectionList.js +0 -30
- package/dist/cjs/SectionList.js.map +0 -6
- package/dist/cjs/Share/index.js +0 -55
- package/dist/cjs/Share/index.js.map +0 -6
- package/dist/cjs/StatusBar/index.js +0 -32
- package/dist/cjs/StatusBar/index.js.map +0 -6
- package/dist/cjs/Text/index.js +0 -153
- package/dist/cjs/Text/index.js.map +0 -6
- package/dist/cjs/Text/types.js +0 -14
- package/dist/cjs/Text/types.js.map +0 -6
- package/dist/cjs/TextInput/index.js +0 -269
- package/dist/cjs/TextInput/index.js.map +0 -6
- package/dist/cjs/TextInput/types.js +0 -14
- package/dist/cjs/TextInput/types.js.map +0 -6
- package/dist/cjs/TouchableNativeFeedback.js +0 -21
- package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
- package/dist/cjs/TouchableOpacity.js +0 -122
- package/dist/cjs/TouchableOpacity.js.map +0 -6
- package/dist/cjs/TouchableWithoutFeedback.js +0 -89
- package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
- package/dist/cjs/UnimplementedView.js +0 -36
- package/dist/cjs/UnimplementedView.js.map +0 -6
- package/dist/cjs/Vibration/index.js +0 -30
- package/dist/cjs/Vibration/index.js.map +0 -6
- package/dist/cjs/View/index.js +0 -102
- package/dist/cjs/View/index.js.map +0 -6
- package/dist/cjs/View/types.js +0 -14
- package/dist/cjs/View/types.js.map +0 -6
- package/dist/cjs/VirtualizedList.js +0 -30
- package/dist/cjs/VirtualizedList.js.map +0 -6
- package/dist/cjs/codegenNativeCommand.js +0 -23
- package/dist/cjs/codegenNativeCommand.js.map +0 -6
- package/dist/cjs/codegenNativeComponent.js +0 -23
- package/dist/cjs/codegenNativeComponent.js.map +0 -6
- package/dist/cjs/createElement/__tests__/index-test.js +0 -536
- package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
- package/dist/cjs/createElement/index.js +0 -60
- package/dist/cjs/createElement/index.js.map +0 -6
- package/dist/cjs/createReactDOMStyle.js +0 -21
- package/dist/cjs/createReactDOMStyle.js.map +0 -6
- package/dist/cjs/index.js +0 -114
- package/dist/cjs/index.js.map +0 -6
- package/dist/cjs/modules/requestIdleCallback.js +0 -34
- package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
- package/dist/cjs/preprocess.js +0 -24
- package/dist/cjs/preprocess.js.map +0 -6
- package/dist/cjs/render/index.js +0 -31
- package/dist/cjs/render/index.js.map +0 -6
- package/dist/cjs/styleTypes.js +0 -14
- package/dist/cjs/styleTypes.js.map +0 -6
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/types.js.map +0 -6
- package/dist/cjs/useColorScheme/index.js +0 -39
- package/dist/cjs/useColorScheme/index.js.map +0 -6
- package/dist/cjs/useLocaleContext/index.js +0 -21
- package/dist/cjs/useLocaleContext/index.js.map +0 -6
- package/dist/cjs/useWindowDimensions/index.js +0 -40
- package/dist/cjs/useWindowDimensions/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
- package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
- package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
- package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
- package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
- package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
- package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
- package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
- package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
- package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
- package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
- package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
- package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
- package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
- package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
- package/dist/cjs/without-animated.js +0 -179
- package/dist/cjs/without-animated.js.map +0 -6
- package/dist/esm/AccessibilityInfo/index.js +0 -79
- package/dist/esm/AccessibilityInfo/index.js.map +0 -6
- package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
- package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
- package/dist/esm/ActivityIndicator/index.js +0 -88
- package/dist/esm/ActivityIndicator/index.js.map +0 -6
- package/dist/esm/Alert/index.js +0 -8
- package/dist/esm/Alert/index.js.map +0 -6
- package/dist/esm/AppRegistry/AppContainer.js +0 -20
- package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
- package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
- package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
- package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
- package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
- package/dist/esm/AppRegistry/index.js +0 -76
- package/dist/esm/AppRegistry/index.js.map +0 -6
- package/dist/esm/AppRegistry/renderApplication.js +0 -31
- package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
- package/dist/esm/AppState/__tests__/index-test.js +0 -14
- package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
- package/dist/esm/AppState/index.js +0 -55
- package/dist/esm/AppState/index.js.map +0 -6
- package/dist/esm/Appearance/index.js +0 -24
- package/dist/esm/Appearance/index.js.map +0 -6
- package/dist/esm/BackHandler/index.js +0 -15
- package/dist/esm/BackHandler/index.js.map +0 -6
- package/dist/esm/Clipboard/index.js +0 -31
- package/dist/esm/Clipboard/index.js.map +0 -6
- package/dist/esm/DeviceEmitter.js +0 -6
- package/dist/esm/DeviceEmitter.js.map +0 -6
- package/dist/esm/DeviceInfo/index.js +0 -38
- package/dist/esm/DeviceInfo/index.js.map +0 -6
- package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
- package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
- package/dist/esm/Dimensions/index.js +0 -60
- package/dist/esm/Dimensions/index.js.map +0 -6
- package/dist/esm/FlatList.js +0 -177
- package/dist/esm/FlatList.js.map +0 -6
- package/dist/esm/I18nManager/index.js +0 -13
- package/dist/esm/I18nManager/index.js.map +0 -6
- package/dist/esm/Image/index.js +0 -240
- package/dist/esm/Image/index.js.map +0 -6
- package/dist/esm/Image/types.js +0 -1
- package/dist/esm/Image/types.js.map +0 -6
- package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
- package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
- package/dist/esm/ImageBackground/index.js +0 -43
- package/dist/esm/ImageBackground/index.js.map +0 -6
- package/dist/esm/InteractionManager/TaskQueue.js +0 -59
- package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
- package/dist/esm/InteractionManager/index.js +0 -73
- package/dist/esm/InteractionManager/index.js.map +0 -6
- package/dist/esm/Keyboard/index.js +0 -18
- package/dist/esm/Keyboard/index.js.map +0 -6
- package/dist/esm/KeyboardAvoidingView/index.js +0 -35
- package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
- package/dist/esm/Linking/__tests__/index-test.js +0 -19
- package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
- package/dist/esm/Linking/index.js +0 -69
- package/dist/esm/Linking/index.js.map +0 -6
- package/dist/esm/LogBox/index.js +0 -16
- package/dist/esm/LogBox/index.js.map +0 -6
- package/dist/esm/Modal/ModalAnimation.js +0 -116
- package/dist/esm/Modal/ModalAnimation.js.map +0 -6
- package/dist/esm/Modal/ModalContent.js +0 -55
- package/dist/esm/Modal/ModalContent.js.map +0 -6
- package/dist/esm/Modal/ModalPortal.js +0 -20
- package/dist/esm/Modal/ModalPortal.js.map +0 -6
- package/dist/esm/Modal/index.js +0 -5
- package/dist/esm/Modal/index.js.map +0 -6
- package/dist/esm/NativeModules/index.js +0 -8
- package/dist/esm/NativeModules/index.js.map +0 -6
- package/dist/esm/PanResponder/index.js +0 -5
- package/dist/esm/PanResponder/index.js.map +0 -6
- package/dist/esm/PixelRatio/index.js +0 -36
- package/dist/esm/PixelRatio/index.js.map +0 -6
- package/dist/esm/Pressable/index.js +0 -122
- package/dist/esm/Pressable/index.js.map +0 -6
- package/dist/esm/RefreshControl/index.js +0 -26
- package/dist/esm/RefreshControl/index.js.map +0 -6
- package/dist/esm/SafeAreaView/index.js +0 -23
- package/dist/esm/SafeAreaView/index.js.map +0 -6
- package/dist/esm/ScrollView/ScrollViewBase.js +0 -104
- package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
- package/dist/esm/ScrollView/index.js +0 -515
- package/dist/esm/ScrollView/index.js.map +0 -6
- package/dist/esm/SectionList.js +0 -7
- package/dist/esm/SectionList.js.map +0 -6
- package/dist/esm/Share/index.js +0 -39
- package/dist/esm/Share/index.js.map +0 -6
- package/dist/esm/StatusBar/index.js +0 -16
- package/dist/esm/StatusBar/index.js.map +0 -6
- package/dist/esm/Text/index.js +0 -142
- package/dist/esm/Text/index.js.map +0 -6
- package/dist/esm/Text/types.js +0 -1
- package/dist/esm/Text/types.js.map +0 -6
- package/dist/esm/TextInput/index.js +0 -258
- package/dist/esm/TextInput/index.js.map +0 -6
- package/dist/esm/TextInput/types.js +0 -1
- package/dist/esm/TextInput/types.js.map +0 -6
- package/dist/esm/TouchableNativeFeedback.js +0 -5
- package/dist/esm/TouchableNativeFeedback.js.map +0 -6
- package/dist/esm/TouchableOpacity.js +0 -105
- package/dist/esm/TouchableOpacity.js.map +0 -6
- package/dist/esm/TouchableWithoutFeedback.js +0 -67
- package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
- package/dist/esm/UnimplementedView.js +0 -14
- package/dist/esm/UnimplementedView.js.map +0 -6
- package/dist/esm/Vibration/index.js +0 -14
- package/dist/esm/Vibration/index.js.map +0 -6
- package/dist/esm/View/index.js +0 -90
- package/dist/esm/View/index.js.map +0 -6
- package/dist/esm/View/types.js +0 -1
- package/dist/esm/View/types.js.map +0 -6
- package/dist/esm/VirtualizedList.js +0 -7
- package/dist/esm/VirtualizedList.js.map +0 -6
- package/dist/esm/codegenNativeCommand.js +0 -7
- package/dist/esm/codegenNativeCommand.js.map +0 -6
- package/dist/esm/codegenNativeComponent.js +0 -7
- package/dist/esm/codegenNativeComponent.js.map +0 -6
- package/dist/esm/createElement/__tests__/index-test.js +0 -519
- package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
- package/dist/esm/createElement/index.js +0 -48
- package/dist/esm/createElement/index.js.map +0 -6
- package/dist/esm/createReactDOMStyle.js +0 -5
- package/dist/esm/createReactDOMStyle.js.map +0 -6
- package/dist/esm/modules/requestIdleCallback.js +0 -18
- package/dist/esm/modules/requestIdleCallback.js.map +0 -6
- package/dist/esm/preprocess.js +0 -13
- package/dist/esm/preprocess.js.map +0 -6
- package/dist/esm/render/index.js +0 -15
- package/dist/esm/render/index.js.map +0 -6
- package/dist/esm/styleTypes.js +0 -1
- package/dist/esm/styleTypes.js.map +0 -6
- package/dist/esm/types.js +0 -1
- package/dist/esm/types.js.map +0 -6
- package/dist/esm/useColorScheme/index.js +0 -16
- package/dist/esm/useColorScheme/index.js.map +0 -6
- package/dist/esm/useLocaleContext/index.js +0 -5
- package/dist/esm/useLocaleContext/index.js.map +0 -6
- package/dist/esm/useWindowDimensions/index.js +0 -17
- package/dist/esm/useWindowDimensions/index.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
- package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
- package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
- package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
- package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
- package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
- package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
- package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
- package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
- package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
- package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
- package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
- package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
- package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
- package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
- package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
- package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
- package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
- package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
- package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
- package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
- package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
- package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
- package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
- package/dist/esm/without-animated.js +0 -229
- package/dist/esm/without-animated.js.map +0 -6
|
@@ -1,131 +0,0 @@
|
|
|
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, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
};
|
|
12
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
13
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
14
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
15
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
16
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
17
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
18
|
-
mod
|
|
19
|
-
));
|
|
20
|
-
var import_react = __toESM(require("react"), 1), import_server = __toESM(require("react-dom/server"), 1), import_StyleSheet = __toESM(require("../../StyleSheet/index"), 1), import_View = __toESM(require("../../View"), 1), import__ = __toESM(require(".."), 1);
|
|
21
|
-
const NoopComponent = () => import_react.default.createElement("div");
|
|
22
|
-
describe("AppRegistry", () => {
|
|
23
|
-
describe("getApplication", () => {
|
|
24
|
-
test("does not throw when missing appParameters", () => {
|
|
25
|
-
import__.default.registerComponent("App", () => NoopComponent), expect(() => import__.default.getApplication("App")).not.toThrow();
|
|
26
|
-
}), test('returns "element" and "getStyleElement"', () => {
|
|
27
|
-
import__.default.registerComponent("App", () => NoopComponent);
|
|
28
|
-
const { element, getStyleElement } = import__.default.getApplication("App", {}), styleElement = import_server.default.renderToStaticMarkup(getStyleElement());
|
|
29
|
-
expect(element).toMatchInlineSnapshot(`
|
|
30
|
-
<AppContainer
|
|
31
|
-
rootTag={{}}
|
|
32
|
-
>
|
|
33
|
-
<NoopComponent />
|
|
34
|
-
</AppContainer>
|
|
35
|
-
`), expect(styleElement).toMatchInlineSnapshot(`
|
|
36
|
-
"<style id=\\"react-native-stylesheet\\">[stylesheet-group=\\"0\\"]{}
|
|
37
|
-
body{margin:0;}
|
|
38
|
-
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
|
|
39
|
-
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}
|
|
40
|
-
input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}
|
|
41
|
-
[stylesheet-group=\\"1\\"]{}
|
|
42
|
-
.css-view-175oi2r{align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;}
|
|
43
|
-
[stylesheet-group=\\"2\\"]{}
|
|
44
|
-
.r-display-xoduu5{display:inline-flex;}
|
|
45
|
-
.r-flex-13awgt0{flex:1;}
|
|
46
|
-
[stylesheet-group=\\"2.2\\"]{}
|
|
47
|
-
.r-bottom-1p0dtai{bottom:0px;}
|
|
48
|
-
.r-left-1d2f490{left:0px;}
|
|
49
|
-
.r-pointerEvents-105ug2t{pointer-events:auto!important;}
|
|
50
|
-
.r-pointerEvents-12vffkv>*{pointer-events:auto;}
|
|
51
|
-
.r-pointerEvents-12vffkv{pointer-events:none!important;}
|
|
52
|
-
.r-pointerEvents-633pao{pointer-events:none!important;}
|
|
53
|
-
.r-pointerEvents-ah5dr5>*{pointer-events:none;}
|
|
54
|
-
.r-pointerEvents-ah5dr5{pointer-events:auto!important;}
|
|
55
|
-
.r-position-u8s1d{position:absolute;}
|
|
56
|
-
.r-right-zchlnj{right:0px;}
|
|
57
|
-
.r-top-ipm5af{top:0px;}</style>"
|
|
58
|
-
`);
|
|
59
|
-
}), test('"getStyleElement" adds props to <style>', () => {
|
|
60
|
-
const nonce = "2Bz9RM/UHvBbmo3jK/PbYZ==";
|
|
61
|
-
import__.default.registerComponent("App", () => NoopComponent);
|
|
62
|
-
const { getStyleElement } = import__.default.getApplication("App", {}), styleElement = getStyleElement({ nonce });
|
|
63
|
-
expect(styleElement.props.nonce).toBe(nonce);
|
|
64
|
-
}), test('"getStyleElement" contains style updates', () => {
|
|
65
|
-
const getApplicationStyles = (appName) => {
|
|
66
|
-
const { getStyleElement } = import__.default.getApplication(appName, {});
|
|
67
|
-
return getStyleElement().props.dangerouslySetInnerHTML.__html;
|
|
68
|
-
}, RootComponent = () => import_react.default.createElement(import_View.default);
|
|
69
|
-
import__.default.registerComponent("App", () => RootComponent);
|
|
70
|
-
const first = getApplicationStyles("App");
|
|
71
|
-
expect(first).toMatchInlineSnapshot(`
|
|
72
|
-
"[stylesheet-group=\\"0\\"]{}
|
|
73
|
-
body{margin:0;}
|
|
74
|
-
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
|
|
75
|
-
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}
|
|
76
|
-
input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}
|
|
77
|
-
[stylesheet-group=\\"1\\"]{}
|
|
78
|
-
.css-view-175oi2r{align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;}
|
|
79
|
-
[stylesheet-group=\\"2\\"]{}
|
|
80
|
-
.r-display-xoduu5{display:inline-flex;}
|
|
81
|
-
.r-flex-13awgt0{flex:1;}
|
|
82
|
-
[stylesheet-group=\\"2.2\\"]{}
|
|
83
|
-
.r-bottom-1p0dtai{bottom:0px;}
|
|
84
|
-
.r-left-1d2f490{left:0px;}
|
|
85
|
-
.r-pointerEvents-105ug2t{pointer-events:auto!important;}
|
|
86
|
-
.r-pointerEvents-12vffkv>*{pointer-events:auto;}
|
|
87
|
-
.r-pointerEvents-12vffkv{pointer-events:none!important;}
|
|
88
|
-
.r-pointerEvents-633pao{pointer-events:none!important;}
|
|
89
|
-
.r-pointerEvents-ah5dr5>*{pointer-events:none;}
|
|
90
|
-
.r-pointerEvents-ah5dr5{pointer-events:auto!important;}
|
|
91
|
-
.r-position-u8s1d{position:absolute;}
|
|
92
|
-
.r-right-zchlnj{right:0px;}
|
|
93
|
-
.r-top-ipm5af{top:0px;}"
|
|
94
|
-
`);
|
|
95
|
-
const styles = import_StyleSheet.default.create({
|
|
96
|
-
root: { borderWidth: 1234, backgroundColor: "purple" }
|
|
97
|
-
}), AlternativeComponent = () => import_react.default.createElement(import_View.default, { style: styles.root });
|
|
98
|
-
import__.default.registerComponent("AlternativeApp", () => AlternativeComponent);
|
|
99
|
-
const second = getApplicationStyles("AlternativeApp");
|
|
100
|
-
expect(second).toMatchInlineSnapshot(`
|
|
101
|
-
"[stylesheet-group=\\"0\\"]{}
|
|
102
|
-
body{margin:0;}
|
|
103
|
-
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
|
|
104
|
-
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}
|
|
105
|
-
input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}
|
|
106
|
-
[stylesheet-group=\\"1\\"]{}
|
|
107
|
-
.css-view-175oi2r{align-items:stretch;background-color:rgba(0,0,0,0.00);border:0 solid black;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;list-style:none;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;text-decoration:none;z-index:0;}
|
|
108
|
-
[stylesheet-group=\\"2\\"]{}
|
|
109
|
-
.r-borderWidth-1bee2fs{border-bottom-width:1234px;border-left-width:1234px;border-right-width:1234px;border-top-width:1234px;}
|
|
110
|
-
.r-display-xoduu5{display:inline-flex;}
|
|
111
|
-
.r-flex-13awgt0{flex:1;}
|
|
112
|
-
[stylesheet-group=\\"2.2\\"]{}
|
|
113
|
-
.r-backgroundColor-aot4c7{background-color:rgba(128,0,128,1.00);}
|
|
114
|
-
.r-bottom-1p0dtai{bottom:0px;}
|
|
115
|
-
.r-left-1d2f490{left:0px;}
|
|
116
|
-
.r-pointerEvents-105ug2t{pointer-events:auto!important;}
|
|
117
|
-
.r-pointerEvents-12vffkv>*{pointer-events:auto;}
|
|
118
|
-
.r-pointerEvents-12vffkv{pointer-events:none!important;}
|
|
119
|
-
.r-pointerEvents-633pao{pointer-events:none!important;}
|
|
120
|
-
.r-pointerEvents-ah5dr5>*{pointer-events:none;}
|
|
121
|
-
.r-pointerEvents-ah5dr5{pointer-events:auto!important;}
|
|
122
|
-
.r-position-u8s1d{position:absolute;}
|
|
123
|
-
.r-right-zchlnj{right:0px;}
|
|
124
|
-
.r-top-ipm5af{top:0px;}"
|
|
125
|
-
`);
|
|
126
|
-
const third = getApplicationStyles("App");
|
|
127
|
-
expect(third).toEqual(second);
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
//# sourceMappingURL=index-test.node.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/AppRegistry/__tests__/index-test.node.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAOA,mBAAkB,8BAClB,gBAA2B,yCAE3B,oBAAuB,+CACvB,cAAiB,mCACjB,WAAwB;AAExB,MAAM,gBAAgB,MAAM,aAAAA,QAAM,cAAc,KAAK;AAErD,SAAS,eAAe,MAAM;AAC5B,WAAS,kBAAkB,MAAM;AAC/B,SAAK,6CAA6C,MAAM;AACtD,eAAAC,QAAY,kBAAkB,OAAO,MAAM,aAAa,GACxD,OAAO,MAAM,SAAAA,QAAY,eAAe,KAAK,CAAC,EAAE,IAAI,QAAQ;AAAA,IAC9D,CAAC,GAED,KAAK,2CAA2C,MAAM;AACpD,eAAAA,QAAY,kBAAkB,OAAO,MAAM,aAAa;AACxD,YAAM,EAAE,SAAS,gBAAgB,IAAI,SAAAA,QAAY,eAAe,OAAO,CAAC,CAAC,GACnE,eAAe,cAAAC,QAAe,qBAAqB,gBAAgB,CAAC;AAE1E,aAAO,OAAO,EAAE,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAMrC,GACD,OAAO,YAAY,EAAE,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAuB1C;AAAA,IACH,CAAC,GAED,KAAK,2CAA2C,MAAM;AACpD,YAAM,QAAQ;AACd,eAAAD,QAAY,kBAAkB,OAAO,MAAM,aAAa;AACxD,YAAM,EAAE,gBAAgB,IAAI,SAAAA,QAAY,eAAe,OAAO,CAAC,CAAC,GAC1D,eAAe,gBAAgB,EAAE,MAAM,CAAC;AAC9C,aAAO,aAAa,MAAM,KAAK,EAAE,KAAK,KAAK;AAAA,IAC7C,CAAC,GAED,KAAK,4CAA4C,MAAM;AACrD,YAAM,uBAAuB,CAAC,YAAY;AACxC,cAAM,EAAE,gBAAgB,IAAI,SAAAA,QAAY,eAAe,SAAS,CAAC,CAAC;AAClE,eAAO,gBAAgB,EAAE,MAAM,wBAAwB;AAAA,MACzD,GAGM,gBAAgB,MAAM,aAAAD,QAAM,cAAc,YAAAG,OAAI;AACpD,eAAAF,QAAY,kBAAkB,OAAO,MAAM,aAAa;AACxD,YAAM,QAAQ,qBAAqB,KAAK;AACxC,aAAO,KAAK,EAAE,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAuBnC;AAGD,YAAM,SAAS,kBAAAG,QAAW,OAAO;AAAA,QAC/B,MAAM,EAAE,aAAa,MAAM,iBAAiB,SAAS;AAAA,MACvD,CAAC,GACK,uBAAuB,MAAM,aAAAJ,QAAM,cAAc,YAAAG,SAAM,EAAE,OAAO,OAAO,KAAK,CAAC;AACnF,eAAAF,QAAY,kBAAkB,kBAAkB,MAAM,oBAAoB;AAC1E,YAAM,SAAS,qBAAqB,gBAAgB;AACpD,aAAO,MAAM,EAAE,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAyBpC;AAGD,YAAM,QAAQ,qBAAqB,KAAK;AACxC,aAAO,KAAK,EAAE,QAAQ,MAAM;AAAA,IAC9B,CAAC;AAAA,EACH,CAAC;AACH,CAAC;",
|
|
5
|
-
"names": ["React", "AppRegistry", "ReactDOMServer", "View", "StyleSheet"]
|
|
6
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var AppRegistry_exports = {};
|
|
16
|
-
__export(AppRegistry_exports, {
|
|
17
|
-
AppRegistry: () => AppRegistry
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(AppRegistry_exports);
|
|
20
|
-
var import_react_dom = require("react-dom"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_renderApplication = require("./renderApplication");
|
|
21
|
-
const emptyObject = {}, runnables = {};
|
|
22
|
-
let componentProviderInstrumentationHook = (component) => component(), wrapperComponentProvider;
|
|
23
|
-
class AppRegistry {
|
|
24
|
-
static getAppKeys() {
|
|
25
|
-
return Object.keys(runnables);
|
|
26
|
-
}
|
|
27
|
-
static getApplication(appKey, appParameters) {
|
|
28
|
-
return (0, import_react_native_web_internals.invariant)(
|
|
29
|
-
runnables[appKey] && runnables[appKey].getApplication,
|
|
30
|
-
`Application ${appKey} has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`
|
|
31
|
-
), runnables[appKey]?.getApplication?.(appParameters);
|
|
32
|
-
}
|
|
33
|
-
static registerComponent(appKey, componentProvider) {
|
|
34
|
-
return runnables[appKey] = {
|
|
35
|
-
getApplication: (appParameters) => (0, import_renderApplication.getApplication)(
|
|
36
|
-
componentProviderInstrumentationHook(componentProvider),
|
|
37
|
-
appParameters ? appParameters.initialProps : emptyObject,
|
|
38
|
-
wrapperComponentProvider && wrapperComponentProvider(appParameters)
|
|
39
|
-
),
|
|
40
|
-
run: (appParameters) => (0, import_renderApplication.renderApplication)(
|
|
41
|
-
componentProviderInstrumentationHook(componentProvider),
|
|
42
|
-
wrapperComponentProvider && wrapperComponentProvider(appParameters),
|
|
43
|
-
appParameters.callback,
|
|
44
|
-
{
|
|
45
|
-
hydrate: appParameters.hydrate || !1,
|
|
46
|
-
initialProps: appParameters.initialProps || emptyObject,
|
|
47
|
-
mode: appParameters.mode || "legacy",
|
|
48
|
-
rootTag: appParameters.rootTag
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
}, appKey;
|
|
52
|
-
}
|
|
53
|
-
static registerConfig(config) {
|
|
54
|
-
config.forEach(({ appKey, component, run }) => {
|
|
55
|
-
run ? AppRegistry.registerRunnable(appKey, run) : ((0, import_react_native_web_internals.invariant)(component, "No component provider passed in"), AppRegistry.registerComponent(appKey, component));
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
// TODO: fix style sheet creation when using this method
|
|
59
|
-
static registerRunnable(appKey, run) {
|
|
60
|
-
return runnables[appKey] = { run }, appKey;
|
|
61
|
-
}
|
|
62
|
-
static runApplication(appKey, appParameters) {
|
|
63
|
-
const isDevelopment = process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test";
|
|
64
|
-
if (isDevelopment) {
|
|
65
|
-
const params = { ...appParameters };
|
|
66
|
-
params.rootTag = `#${params.rootTag.id}`, console.log(
|
|
67
|
-
`Running application "${appKey}" with appParams:
|
|
68
|
-
`,
|
|
69
|
-
params,
|
|
70
|
-
`
|
|
71
|
-
Development-level warnings: ${isDevelopment ? "ON" : "OFF"}.
|
|
72
|
-
Performance optimizations: ${isDevelopment ? "OFF" : "ON"}.`
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
return (0, import_react_native_web_internals.invariant)(
|
|
76
|
-
runnables[appKey] && runnables[appKey].run,
|
|
77
|
-
`Application "${appKey}" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`
|
|
78
|
-
), runnables[appKey].run(appParameters);
|
|
79
|
-
}
|
|
80
|
-
static setComponentProviderInstrumentationHook(hook) {
|
|
81
|
-
componentProviderInstrumentationHook = hook;
|
|
82
|
-
}
|
|
83
|
-
static setWrapperComponentProvider(provider) {
|
|
84
|
-
wrapperComponentProvider = provider;
|
|
85
|
-
}
|
|
86
|
-
static unmountApplicationComponentAtRootTag(rootTag) {
|
|
87
|
-
(0, import_react_dom.unmountComponentAtNode)(rootTag);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/AppRegistry/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA,uBAAuC,sBACvC,oCAA0B,gDAE1B,2BAAkD;AAyBlD,MAAM,cAAc,CAAC,GACf,YAEF,CAAC;AAEL,IAAI,uCAA6E,CAC/E,cACG,UAAU,GACX;AAKG,MAAM,YAAY;AAAA,EACvB,OAAO,aAA4B;AACjC,WAAO,OAAO,KAAK,SAAS;AAAA,EAC9B;AAAA,EAEA,OAAO,eACL,QACA,eAIA;AACA;AAAA,MACE,UAAU,MAAM,KAAK,UAAU,MAAM,EAAE;AAAA,MACvC,eAAe,MAAM;AAAA,IAEvB,GAGO,UAAU,MAAM,GAAG,iBAAiB,aAAa;AAAA,EAC1D;AAAA,EAEA,OAAO,kBAAkB,QAAgB,mBAA8C;AACrF,qBAAU,MAAM,IAAI;AAAA,MAClB,gBAAgB,CAAC,sBACf;AAAA,QACE,qCAAqC,iBAAiB;AAAA,QACtD,gBAAgB,cAAc,eAAe;AAAA,QAC7C,4BAA4B,yBAAyB,aAAa;AAAA,MACpE;AAAA,MACF,KAAK,CAAC,sBACJ;AAAA,QACE,qCAAqC,iBAAiB;AAAA,QACtD,4BAA4B,yBAAyB,aAAa;AAAA,QAClE,cAAc;AAAA,QACd;AAAA,UACE,SAAS,cAAc,WAAW;AAAA,UAClC,cAAc,cAAc,gBAAgB;AAAA,UAC5C,MAAM,cAAc,QAAQ;AAAA,UAC5B,SAAS,cAAc;AAAA,QACzB;AAAA,MACF;AAAA,IACJ,GACO;AAAA,EACT;AAAA,EAEA,OAAO,eAAe,QAA0B;AAC9C,WAAO,QAAQ,CAAC,EAAE,QAAQ,WAAW,IAAI,MAAM;AAC7C,MAAI,MACF,YAAY,iBAAiB,QAAQ,GAAG,SAExC,6CAAU,WAAW,iCAAiC,GAEtD,YAAY,kBAAkB,QAAQ,SAAS;AAAA,IAEnD,CAAC;AAAA,EACH;AAAA;AAAA,EAGA,OAAO,iBAAiB,QAAgB,KAAuB;AAE7D,qBAAU,MAAM,IAAI,EAAE,IAAI,GACnB;AAAA,EACT;AAAA,EAEA,OAAO,eAAe,QAAgB,eAA0C;AAC9E,UAAM,gBACJ,QAAQ,IAAI,aAAa,gBAAgB,QAAQ,IAAI,aAAa;AACpE,QAAI,eAAe;AACjB,YAAM,SAAS,EAAE,GAAG,cAAc;AAClC,aAAO,UAAU,IAAI,OAAO,QAAQ,EAAE,IAEtC,QAAQ;AAAA,QACN,wBAAwB,MAAM;AAAA;AAAA,QAC9B;AAAA,QACA;AAAA,8BAAiC,gBAAgB,OAAO,KAAK;AAAA,6BAC3B,gBAAgB,QAAQ,IAAI;AAAA,MAChE;AAAA,IACF;AAEA;AAAA,MACE,UAAU,MAAM,KAAK,UAAU,MAAM,EAAE;AAAA,MACvC,gBAAgB,MAAM;AAAA,IAExB,GAEO,UAAU,MAAM,EAAE,IAAI,aAAa;AAAA,EAC5C;AAAA,EAEA,OAAO,wCACL,MACA;AACA,2CAAuC;AAAA,EACzC;AAAA,EAEA,OAAO,4BAA4B,UAAoC;AACrE,+BAA2B;AAAA,EAC7B;AAAA,EAEA,OAAO,qCAAqC,SAAc;AACxD,iDAAuB,OAAO;AAAA,EAChC;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var renderApplication_exports = {};
|
|
16
|
-
__export(renderApplication_exports, {
|
|
17
|
-
getApplication: () => getApplication,
|
|
18
|
-
renderApplication: () => renderApplication
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(renderApplication_exports);
|
|
21
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_react_native_web_internals2 = require("@tamagui/react-native-web-internals"), import_render = require("../render/index"), import_AppContainer = require("./AppContainer"), import_jsx_runtime = require("react/jsx-runtime");
|
|
22
|
-
function renderApplication(RootComponent, WrapperComponent = null, callback = () => {
|
|
23
|
-
}, options) {
|
|
24
|
-
const { hydrate: shouldHydrate, initialProps, mode, rootTag } = options, renderFn = shouldHydrate ? mode === "concurrent" ? import_render.hydrate : import_render.hydrateLegacy : mode === "concurrent" ? import_render.render : import_render.renderLegacy;
|
|
25
|
-
return (0, import_react_native_web_internals2.invariant)(rootTag, "Expect to have a valid rootTag, instead got ", rootTag), renderFn(
|
|
26
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_AppContainer.AppContainer, { WrapperComponent, ref: callback, rootTag, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RootComponent, { ...initialProps }) }),
|
|
27
|
-
rootTag
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
function getApplication(RootComponent, initialProps, WrapperComponent) {
|
|
31
|
-
return { element: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_AppContainer.AppContainer, { WrapperComponent, rootTag: {}, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RootComponent, { ...initialProps }) }), getStyleElement: (props) => {
|
|
32
|
-
const sheet = import_react_native_web_internals.StyleSheet.getSheet();
|
|
33
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
34
|
-
"style",
|
|
35
|
-
{
|
|
36
|
-
...props,
|
|
37
|
-
dangerouslySetInnerHTML: { __html: sheet.textContent },
|
|
38
|
-
id: sheet.id
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
} };
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=renderApplication.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/AppRegistry/renderApplication.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA,wCAA2B,gDAC3BA,qCAA0B,gDAE1B,gBAA6D,4BAC7D,sBAA6B,2BA2BvB;AAzBC,SAAS,kBACd,eACA,mBAAkD,MAClD,WAAuB,MAAM;AAAC,GAC9B,SAMA;AACA,QAAM,EAAE,SAAS,eAAe,cAAc,MAAM,QAAQ,IAAI,SAC1D,WAAW,gBACb,SAAS,eACP,wBACA,8BACF,SAAS,eACP,uBACA;AAEN,2DAAU,SAAS,gDAAgD,OAAO,GAGnE;AAAA,IACL,4CAAC,oCAAa,kBAAoC,KAAK,UAAU,SAC/D,sDAAC,iBAAe,GAAG,cAAc,GACnC;AAAA,IACA;AAAA,EACF;AACF;AAEO,SAAS,eACd,eACA,cACA,kBAIA;AAiBA,SAAO,EAAE,SAfP,4CAAC,oCAAa,kBAAoC,SAAS,CAAC,GAC1D,sDAAC,iBAAe,GAAG,cAAc,GACnC,GAagB,iBAVM,CAAC,UAAU;AACjC,UAAM,QAAQ,6CAAW,SAAS;AAClC,WACE;AAAA,MAAC;AAAA;AAAA,QACE,GAAG;AAAA,QACJ,yBAAyB,EAAE,QAAQ,MAAM,YAAY;AAAA,QACrD,IAAI,MAAM;AAAA;AAAA,IACZ;AAAA,EAEJ,EACkC;AACpC;",
|
|
5
|
-
"names": ["import_react_native_web_internals"]
|
|
6
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
};
|
|
12
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
13
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
14
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
15
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
16
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
17
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
18
|
-
mod
|
|
19
|
-
));
|
|
20
|
-
var import__ = __toESM(require(".."), 1);
|
|
21
|
-
describe("apis/AppState", () => {
|
|
22
|
-
const handler = () => {
|
|
23
|
-
};
|
|
24
|
-
describe("addEventListener", () => {
|
|
25
|
-
test('throws if the provided "eventType" is not supported', () => {
|
|
26
|
-
expect(() => import__.default.addEventListener("foo", handler)).toThrow(), expect(() => import__.default.addEventListener("change", handler).remove()).not.toThrow();
|
|
27
|
-
}), test("returns remove subscription", () => {
|
|
28
|
-
const subscription = import__.default.addEventListener("change", handler);
|
|
29
|
-
expect(() => subscription.remove()).not.toThrow();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=index-test.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/AppState/__tests__/index-test.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAOA,eAAqB;AAErB,SAAS,iBAAiB,MAAM;AAC9B,QAAM,UAAU,MAAM;AAAA,EAAC;AAEvB,WAAS,oBAAoB,MAAM;AACjC,SAAK,uDAAuD,MAAM;AAChE,aAAO,MAAM,SAAAA,QAAS,iBAAiB,OAAO,OAAO,CAAC,EAAE,QAAQ,GAChE,OAAO,MAAM,SAAAA,QAAS,iBAAiB,UAAU,OAAO,EAAE,OAAO,CAAC,EAAE,IAAI,QAAQ;AAAA,IAClF,CAAC,GAED,KAAK,+BAA+B,MAAM;AACxC,YAAM,eAAe,SAAAA,QAAS,iBAAiB,UAAU,OAAO;AAChE,aAAO,MAAM,aAAa,OAAO,CAAC,EAAE,IAAI,QAAQ;AAAA,IAClD,CAAC;AAAA,EACH,CAAC;AACH,CAAC;",
|
|
5
|
-
"names": ["AppState"]
|
|
6
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var AppState_exports = {};
|
|
16
|
-
__export(AppState_exports, {
|
|
17
|
-
AppState: () => AppState
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(AppState_exports);
|
|
20
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
21
|
-
const isPrefixed = (
|
|
22
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
23
|
-
import_react_native_web_internals.canUseDOM && !document.hasOwnProperty("hidden") && document.hasOwnProperty("webkitHidden")
|
|
24
|
-
), EVENT_TYPES = ["change", "memoryWarning"], VISIBILITY_CHANGE_EVENT = isPrefixed ? "webkitvisibilitychange" : "visibilitychange", VISIBILITY_STATE_PROPERTY = isPrefixed ? "webkitVisibilityState" : "visibilityState", AppStates = {
|
|
25
|
-
BACKGROUND: "background",
|
|
26
|
-
ACTIVE: "active"
|
|
27
|
-
};
|
|
28
|
-
class EventEmitter {
|
|
29
|
-
listeners = {};
|
|
30
|
-
addListener(type, handler) {
|
|
31
|
-
this.listeners[type] ??= /* @__PURE__ */ new Set(), this.listeners[type].add(handler);
|
|
32
|
-
}
|
|
33
|
-
emit(type, state) {
|
|
34
|
-
this.listeners[type]?.forEach((cb) => cb(state));
|
|
35
|
-
}
|
|
36
|
-
removeListener(type, handler) {
|
|
37
|
-
this.listeners[type]?.delete(handler);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
let hasBoundVisibilityChangeEvent = !1;
|
|
41
|
-
const changeEmitter = new EventEmitter();
|
|
42
|
-
class AppState {
|
|
43
|
-
static isAvailable = import_react_native_web_internals.canUseDOM && document[VISIBILITY_STATE_PROPERTY];
|
|
44
|
-
static get currentState() {
|
|
45
|
-
if (!AppState.isAvailable)
|
|
46
|
-
return AppStates.ACTIVE;
|
|
47
|
-
switch (document[VISIBILITY_STATE_PROPERTY]) {
|
|
48
|
-
case "hidden":
|
|
49
|
-
case "prerender":
|
|
50
|
-
case "unloaded":
|
|
51
|
-
return AppStates.BACKGROUND;
|
|
52
|
-
default:
|
|
53
|
-
return AppStates.ACTIVE;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
static addEventListener(type, handler) {
|
|
57
|
-
if (AppState.isAvailable && ((0, import_react_native_web_internals.invariant)(
|
|
58
|
-
EVENT_TYPES.indexOf(type) !== -1,
|
|
59
|
-
'Trying to subscribe to unknown event: "%s"',
|
|
60
|
-
type
|
|
61
|
-
), type === "change"))
|
|
62
|
-
return hasBoundVisibilityChangeEvent || (hasBoundVisibilityChangeEvent = !0, document.addEventListener(
|
|
63
|
-
VISIBILITY_CHANGE_EVENT,
|
|
64
|
-
() => {
|
|
65
|
-
changeEmitter && changeEmitter.emit("change", AppState.currentState);
|
|
66
|
-
},
|
|
67
|
-
!1
|
|
68
|
-
)), changeEmitter.addListener(type, handler);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/AppState/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,wCAAqC;AAGrC,MAAM;AAAA;AAAA,EAEJ,+CACA,CAAC,SAAS,eAAe,QAAQ,KACjC,SAAS,eAAe,cAAc;AAAA,GAElC,cAAc,CAAC,UAAU,eAAe,GACxC,0BAA0B,aAAa,2BAA2B,oBAClE,4BAA4B,aAAa,0BAA0B,mBAEnE,YAAY;AAAA,EAChB,YAAY;AAAA,EACZ,QAAQ;AACV;AAEA,MAAM,aAAa;AAAA,EACjB,YAAY,CAAC;AAAA,EAEb,YAAY,MAAc,SAAmB;AAC3C,SAAK,UAAU,IAAI,MAAM,oBAAI,IAAI,GACjC,KAAK,UAAU,IAAI,EAAE,IAAI,OAAO;AAAA,EAClC;AAAA,EAEA,KAAK,MAAc,OAAY;AAC7B,SAAK,UAAU,IAAI,GAAG,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC;AAAA,EACjD;AAAA,EAEA,eAAe,MAAc,SAAmB;AAC9C,SAAK,UAAU,IAAI,GAAG,OAAO,OAAO;AAAA,EACtC;AACF;AAEA,IAAI,gCAAgC;AAEpC,MAAM,gBAAgB,IAAI,aAAa;AAEhC,MAAM,SAAS;AAAA,EACpB,OAAO,cAAc,+CAAa,SAAS,yBAAyB;AAAA,EAEpE,WAAW,eAAe;AACxB,QAAI,CAAC,SAAS;AACZ,aAAO,UAAU;AAGnB,YAAQ,SAAS,yBAAyB,GAAG;AAAA,MAC3C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,UAAU;AAAA,MACnB;AACE,eAAO,UAAU;AAAA,IACrB;AAAA,EACF;AAAA,EAEA,OAAO,iBAAiB,MAAc,SAAmB;AACvD,QAAI,SAAS,oBACX;AAAA,MACE,YAAY,QAAQ,IAAI,MAAM;AAAA,MAC9B;AAAA,MACA;AAAA,IACF,GACI,SAAS;AACX,aAAK,kCACH,gCAAgC,IAChC,SAAS;AAAA,QACP;AAAA,QACA,MAAM;AACJ,UAAI,iBACF,cAAc,KAAK,UAAU,SAAS,YAAY;AAAA,QAEtD;AAAA,QACA;AAAA,MACF,IAEK,cAAc,YAAY,MAAM,OAAO;AAAA,EAGpD;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var Appearance_exports = {};
|
|
16
|
-
__export(Appearance_exports, {
|
|
17
|
-
Appearance: () => Appearance
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(Appearance_exports);
|
|
20
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
21
|
-
function getQuery() {
|
|
22
|
-
return import_react_native_web_internals.canUseDOM && window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : null;
|
|
23
|
-
}
|
|
24
|
-
const query = getQuery(), listenerMapping = /* @__PURE__ */ new WeakMap(), Appearance = {
|
|
25
|
-
getColorScheme() {
|
|
26
|
-
return query && query.matches ? "dark" : "light";
|
|
27
|
-
},
|
|
28
|
-
addChangeListener(listener) {
|
|
29
|
-
let mappedListener = listenerMapping.get(listener);
|
|
30
|
-
mappedListener || (mappedListener = ({ matches }) => {
|
|
31
|
-
listener({ colorScheme: matches ? "dark" : "light" });
|
|
32
|
-
}, listenerMapping.set(listener, mappedListener)), query && query.addListener(mappedListener);
|
|
33
|
-
function remove() {
|
|
34
|
-
const mappedListener2 = listenerMapping.get(listener);
|
|
35
|
-
query && mappedListener2 && query.removeListener(mappedListener2), listenerMapping.delete(listener);
|
|
36
|
-
}
|
|
37
|
-
return { remove };
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Appearance/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,wCAA0B;AAW1B,SAAS,WAAkC;AACzC,SAAO,+CAAa,OAAO,cAAc,OACrC,OAAO,WAAW,8BAA8B,IAChD;AACN;AAEA,MAAM,QAAQ,SAAS,GACjB,kBAAkB,oBAAI,QAAmD,GAElE,aAAa;AAAA,EACxB,iBAAkC;AAChC,WAAO,SAAS,MAAM,UAAU,SAAS;AAAA,EAC3C;AAAA,EAEA,kBAAkB,UAEhB;AACA,QAAI,iBAAiB,gBAAgB,IAAI,QAAQ;AACjD,IAAK,mBACH,iBAAiB,CAAC,EAAE,QAAQ,MAA2B;AACrD,eAAS,EAAE,aAAa,UAAU,SAAS,QAAQ,CAAC;AAAA,IACtD,GACA,gBAAgB,IAAI,UAAU,cAAc,IAE1C,SACF,MAAM,YAAY,cAAc;AAGlC,aAAS,SAAe;AACtB,YAAMA,kBAAiB,gBAAgB,IAAI,QAAQ;AACnD,MAAI,SAASA,mBACX,MAAM,eAAeA,eAAc,GAErC,gBAAgB,OAAO,QAAQ;AAAA,IACjC;AAEA,WAAO,EAAE,OAAO;AAAA,EAClB;AACF;",
|
|
5
|
-
"names": ["mappedListener"]
|
|
6
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var BackHandler_exports = {};
|
|
16
|
-
__export(BackHandler_exports, {
|
|
17
|
-
BackHandler: () => BackHandler
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(BackHandler_exports);
|
|
20
|
-
function emptyFunction() {
|
|
21
|
-
}
|
|
22
|
-
const BackHandler = {
|
|
23
|
-
exitApp: emptyFunction,
|
|
24
|
-
addEventListener() {
|
|
25
|
-
return {
|
|
26
|
-
remove: emptyFunction
|
|
27
|
-
};
|
|
28
|
-
},
|
|
29
|
-
removeEventListener: emptyFunction
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/BackHandler/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,SAAS,gBAAgB;AAAC;AAEnB,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,mBAEE;AACA,WAAO;AAAA,MACL,QAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,qBAAqB;AACvB;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var Clipboard_exports = {};
|
|
16
|
-
__export(Clipboard_exports, {
|
|
17
|
-
Clipboard: () => Clipboard
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(Clipboard_exports);
|
|
20
|
-
let clipboardAvailable;
|
|
21
|
-
class Clipboard {
|
|
22
|
-
static isAvailable() {
|
|
23
|
-
return clipboardAvailable === void 0 && (clipboardAvailable = typeof document.queryCommandSupported == "function" && document.queryCommandSupported("copy")), clipboardAvailable;
|
|
24
|
-
}
|
|
25
|
-
static getString() {
|
|
26
|
-
return Promise.resolve("");
|
|
27
|
-
}
|
|
28
|
-
static setString(text) {
|
|
29
|
-
let success = !1;
|
|
30
|
-
const body = document.body;
|
|
31
|
-
if (body) {
|
|
32
|
-
const node = document.createElement("span");
|
|
33
|
-
node.textContent = text, node.style.opacity = "0", node.style.position = "absolute", node.style.whiteSpace = "pre-wrap", node.style.userSelect = "auto", body.appendChild(node);
|
|
34
|
-
const selection = window.getSelection();
|
|
35
|
-
selection.removeAllRanges();
|
|
36
|
-
const range = document.createRange();
|
|
37
|
-
range.selectNodeContents(node), selection.addRange(range);
|
|
38
|
-
try {
|
|
39
|
-
document.execCommand("copy"), success = !0;
|
|
40
|
-
} catch {
|
|
41
|
-
}
|
|
42
|
-
selection.removeAllRanges(), body.removeChild(node);
|
|
43
|
-
}
|
|
44
|
-
return success;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Clipboard/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,IAAI;AAEG,MAAM,UAAU;AAAA,EACrB,OAAO,cAAuB;AAC5B,WAAI,uBAAuB,WACzB,qBACE,OAAO,SAAS,yBAA0B,cAC1C,SAAS,sBAAsB,MAAM,IAElC;AAAA,EACT;AAAA,EAEA,OAAO,YAA6B;AAClC,WAAO,QAAQ,QAAQ,EAAE;AAAA,EAC3B;AAAA,EAEA,OAAO,UAAU,MAAuB;AACtC,QAAI,UAAU;AACd,UAAM,OAAO,SAAS;AAEtB,QAAI,MAAM;AAER,YAAM,OAAO,SAAS,cAAc,MAAM;AAC1C,WAAK,cAAc,MACnB,KAAK,MAAM,UAAU,KACrB,KAAK,MAAM,WAAW,YACtB,KAAK,MAAM,aAAa,YACxB,KAAK,MAAM,aAAa,QACxB,KAAK,YAAY,IAAI;AAGrB,YAAM,YAAY,OAAO,aAAa;AACtC,gBAAU,gBAAgB;AAC1B,YAAM,QAAQ,SAAS,YAAY;AACnC,YAAM,mBAAmB,IAAI,GAC7B,UAAU,SAAS,KAAK;AAGxB,UAAI;AACF,iBAAS,YAAY,MAAM,GAC3B,UAAU;AAAA,MACZ,QAAY;AAAA,MAAC;AAGb,gBAAU,gBAAgB,GAC1B,KAAK,YAAY,IAAI;AAAA,IACvB;AAEA,WAAO;AAAA,EACT;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var DeviceEmitter_exports = {};
|
|
16
|
-
__export(DeviceEmitter_exports, {
|
|
17
|
-
DeviceEmitter: () => DeviceEmitter
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(DeviceEmitter_exports);
|
|
20
|
-
var import_EventEmitter = require("./vendor/react-native/emitter/_EventEmitter");
|
|
21
|
-
const DeviceEmitter = new import_EventEmitter.EventEmitter();
|
|
22
|
-
//# sourceMappingURL=DeviceEmitter.js.map
|