@tamagui/react-native-web-lite 2.0.0-rc.4 → 2.0.0-rc.40
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/AccessibilityInfo/index.cjs +77 -65
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +70 -49
- package/dist/cjs/ActivityIndicator/index.cjs +110 -108
- package/dist/cjs/Alert/index.cjs +12 -10
- package/dist/cjs/AppRegistry/AppContainer.cjs +50 -45
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +32 -18
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +47 -40
- package/dist/cjs/AppRegistry/index.cjs +38 -26
- package/dist/cjs/AppRegistry/renderApplication.cjs +44 -39
- package/dist/cjs/AppState/__tests__/index-test.cjs +13 -9
- package/dist/cjs/AppState/index.cjs +41 -25
- package/dist/cjs/Appearance/index.cjs +38 -27
- package/dist/cjs/BackHandler/index.cjs +12 -10
- package/dist/cjs/Clipboard/index.cjs +30 -17
- package/dist/cjs/DeviceEmitter.cjs +12 -10
- package/dist/cjs/DeviceInfo/index.cjs +21 -13
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +29 -16
- package/dist/cjs/Dimensions/index.cjs +63 -33
- package/dist/cjs/FlatList.cjs +139 -95
- package/dist/cjs/I18nManager/index.cjs +19 -13
- package/dist/cjs/Image/index.cjs +209 -147
- package/dist/cjs/Image/types.cjs +7 -5
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +33 -29
- package/dist/cjs/ImageBackground/index.cjs +49 -47
- package/dist/cjs/InteractionManager/TaskQueue.cjs +49 -25
- package/dist/cjs/InteractionManager/index.cjs +115 -88
- package/dist/cjs/Keyboard/index.cjs +12 -10
- package/dist/cjs/KeyboardAvoidingView/index.cjs +30 -26
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +28 -0
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +28 -0
- package/dist/cjs/Linking/__tests__/index-test.cjs +31 -15
- package/dist/cjs/Linking/index.cjs +37 -23
- package/dist/cjs/LogBox/index.cjs +12 -10
- package/dist/cjs/Modal/ModalAnimation.cjs +141 -114
- package/dist/cjs/Modal/ModalContent.cjs +39 -29
- package/dist/cjs/Modal/ModalPortal.cjs +44 -33
- package/dist/cjs/Modal/index.cjs +12 -10
- package/dist/cjs/NativeModules/index.cjs +12 -10
- package/dist/cjs/PanResponder/index.cjs +24 -22
- package/dist/cjs/PixelRatio/index.cjs +12 -10
- package/dist/cjs/Pressable/index.cjs +128 -100
- package/dist/cjs/RefreshControl/index.cjs +14 -12
- package/dist/cjs/SafeAreaView/index.cjs +44 -37
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +111 -82
- package/dist/cjs/ScrollView/index.cjs +286 -172
- package/dist/cjs/SectionList.cjs +26 -24
- package/dist/cjs/Share/index.cjs +25 -15
- package/dist/cjs/StatusBar/index.cjs +12 -10
- package/dist/cjs/Text/index.cjs +171 -144
- package/dist/cjs/Text/types.cjs +7 -5
- package/dist/cjs/TextInput/index.cjs +252 -141
- package/dist/cjs/TextInput/types.cjs +7 -5
- package/dist/cjs/TouchableNativeFeedback.cjs +12 -10
- package/dist/cjs/TouchableOpacity.cjs +91 -82
- package/dist/cjs/TouchableWithoutFeedback.cjs +73 -69
- package/dist/cjs/UnimplementedView.cjs +31 -26
- package/dist/cjs/Vibration/index.cjs +23 -19
- package/dist/cjs/View/index.cjs +106 -85
- package/dist/cjs/View/types.cjs +7 -5
- package/dist/cjs/VirtualizedList.cjs +26 -24
- package/dist/cjs/codegenNativeCommand.cjs +14 -11
- package/dist/cjs/codegenNativeComponent.cjs +14 -11
- package/dist/cjs/createElement/__tests__/index-test.cjs +162 -99
- package/dist/cjs/createElement/index.cjs +78 -68
- package/dist/cjs/createReactDOMStyle.cjs +16 -12
- package/dist/cjs/index.cjs +78 -76
- package/dist/cjs/modules/requestIdleCallback.cjs +28 -26
- package/dist/cjs/preprocess.cjs +13 -10
- package/dist/cjs/render/index.cjs +12 -10
- package/dist/cjs/styleTypes.cjs +7 -5
- package/dist/cjs/types.cjs +7 -5
- package/dist/cjs/useColorScheme/index.cjs +29 -26
- package/dist/cjs/useLocaleContext/index.cjs +12 -10
- package/dist/cjs/useWindowDimensions/index.cjs +35 -28
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +31 -29
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +97 -45
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +545 -466
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +106 -99
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +27 -15
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +303 -215
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +58 -56
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +55 -53
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +22 -14
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +22 -14
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +45 -21
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +116 -44
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +77 -32
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +68 -27
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +33 -31
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +26 -13
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +33 -31
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +33 -31
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +14 -12
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +14 -12
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +40 -37
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +26 -17
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +148 -65
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +28 -18
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +42 -22
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +122 -47
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +21 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +26 -17
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +70 -27
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +73 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +60 -28
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +26 -17
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +36 -19
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +57 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +108 -39
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +53 -30
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +44 -18
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +63 -43
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +27 -15
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +28 -16
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +12 -10
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +18 -16
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +92 -42
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +166 -105
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +39 -24
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +75 -71
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +181 -118
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +44 -30
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +17 -15
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +63 -39
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +25 -23
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +24 -22
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +48 -29
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -15
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +14 -11
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +127 -125
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +12 -10
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +19 -11
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +19 -12
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +21 -11
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +19 -11
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +92 -51
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +91 -50
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +96 -58
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +75 -44
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +36 -17
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +51 -41
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +87 -78
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +36 -32
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +19 -17
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +147 -101
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +93 -58
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +49 -19
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +12 -10
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +16 -11
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +31 -20
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +12 -10
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +31 -17
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +12 -10
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +19 -11
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +37 -22
- package/dist/cjs/without-animated.cjs +251 -143
- package/dist/esm/AccessibilityInfo/index.mjs +65 -55
- package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +56 -37
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/ActivityIndicator/index.mjs +82 -82
- package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
- package/dist/esm/AppRegistry/AppContainer.mjs +22 -19
- package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +22 -10
- package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +35 -30
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -1
- package/dist/esm/AppRegistry/index.mjs +23 -13
- package/dist/esm/AppRegistry/index.mjs.map +1 -1
- package/dist/esm/AppRegistry/renderApplication.mjs +27 -24
- package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
- package/dist/esm/AppState/__tests__/index-test.mjs +5 -3
- package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/AppState/index.mjs +29 -15
- package/dist/esm/AppState/index.mjs.map +1 -1
- package/dist/esm/Appearance/index.mjs +26 -17
- package/dist/esm/Appearance/index.mjs.map +1 -1
- package/dist/esm/Clipboard/index.mjs +18 -7
- package/dist/esm/Clipboard/index.mjs.map +1 -1
- package/dist/esm/DeviceInfo/index.mjs +7 -1
- package/dist/esm/DeviceInfo/index.mjs.map +1 -1
- package/dist/esm/Dimensions/__tests__/index-test.mjs +21 -10
- package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/Dimensions/index.mjs +51 -23
- package/dist/esm/Dimensions/index.mjs.map +1 -1
- package/dist/esm/FlatList.mjs +111 -69
- package/dist/esm/FlatList.mjs.map +1 -1
- package/dist/esm/I18nManager/index.mjs +7 -3
- package/dist/esm/I18nManager/index.mjs.map +1 -1
- package/dist/esm/Image/index.mjs +178 -118
- package/dist/esm/Image/index.mjs.map +1 -1
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +22 -20
- package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/ImageBackground/index.mjs +32 -32
- package/dist/esm/ImageBackground/index.mjs.map +1 -1
- package/dist/esm/InteractionManager/TaskQueue.mjs +37 -15
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
- package/dist/esm/InteractionManager/index.mjs +87 -62
- package/dist/esm/InteractionManager/index.mjs.map +1 -1
- package/dist/esm/KeyboardAvoidingView/index.mjs +3 -1
- package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
- 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 +23 -9
- package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/Linking/index.mjs +25 -13
- package/dist/esm/Linking/index.mjs.map +1 -1
- package/dist/esm/Modal/ModalAnimation.mjs +113 -88
- package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
- package/dist/esm/Modal/ModalContent.mjs +13 -5
- package/dist/esm/Modal/ModalContent.mjs.map +1 -1
- package/dist/esm/Modal/ModalPortal.mjs +17 -8
- package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
- package/dist/esm/Pressable/index.mjs +97 -71
- package/dist/esm/Pressable/index.mjs.map +1 -1
- package/dist/esm/SafeAreaView/index.mjs +16 -11
- package/dist/esm/SafeAreaView/index.mjs.map +1 -1
- package/dist/esm/ScrollView/ScrollViewBase.mjs +83 -56
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
- package/dist/esm/ScrollView/index.mjs +256 -144
- package/dist/esm/ScrollView/index.mjs.map +1 -1
- package/dist/esm/SectionList.mjs +2 -2
- package/dist/esm/Share/index.mjs +13 -5
- package/dist/esm/Share/index.mjs.map +1 -1
- package/dist/esm/Text/index.mjs +143 -118
- package/dist/esm/Text/index.mjs.map +1 -1
- package/dist/esm/TextInput/index.mjs +224 -115
- package/dist/esm/TextInput/index.mjs.map +1 -1
- package/dist/esm/TouchableOpacity.mjs +63 -56
- package/dist/esm/TouchableOpacity.mjs.map +1 -1
- package/dist/esm/TouchableWithoutFeedback.mjs +46 -44
- package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
- package/dist/esm/UnimplementedView.mjs +4 -1
- package/dist/esm/UnimplementedView.mjs.map +1 -1
- package/dist/esm/Vibration/index.mjs +11 -9
- package/dist/esm/Vibration/index.mjs.map +1 -1
- package/dist/esm/View/index.mjs +79 -60
- package/dist/esm/View/index.mjs.map +1 -1
- package/dist/esm/VirtualizedList.mjs +2 -2
- package/dist/esm/codegenNativeCommand.mjs +2 -1
- package/dist/esm/codegenNativeCommand.mjs.map +1 -1
- package/dist/esm/codegenNativeComponent.mjs +2 -1
- package/dist/esm/codegenNativeComponent.mjs.map +1 -1
- package/dist/esm/createElement/__tests__/index-test.mjs +151 -90
- package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -1
- package/dist/esm/createElement/index.mjs +49 -41
- package/dist/esm/createElement/index.mjs.map +1 -1
- package/dist/esm/createReactDOMStyle.mjs +2 -1
- package/dist/esm/createReactDOMStyle.mjs.map +1 -1
- package/dist/esm/index.js +52 -158
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/modules/requestIdleCallback.mjs +16 -16
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
- package/dist/esm/preprocess.mjs +2 -2
- package/dist/esm/preprocess.mjs.map +1 -1
- package/dist/esm/useColorScheme/index.mjs +3 -2
- package/dist/esm/useColorScheme/index.mjs.map +1 -1
- package/dist/esm/useWindowDimensions/index.mjs +9 -4
- package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +10 -10
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +81 -31
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +519 -442
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +86 -81
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +15 -5
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +284 -198
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +34 -34
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +31 -31
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +10 -4
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +10 -4
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +31 -9
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +100 -30
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +62 -19
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +56 -17
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +5 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +2 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +6 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +5 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +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/Animated/createAnimatedComponent.mjs +12 -11
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +11 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +132 -51
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +14 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +26 -8
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +107 -34
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +7 -3
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +11 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +56 -15
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +56 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +43 -13
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +11 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +22 -7
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +42 -19
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +92 -25
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +38 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +30 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +45 -27
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Batchinator/index.mjs +15 -5
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +14 -4
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FeatureFlags.mjs +6 -6
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +80 -32
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.mjs +137 -78
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +28 -15
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +61 -59
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +155 -94
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +32 -20
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +5 -5
- package/dist/esm/vendor/react-native/SectionList/index.mjs +37 -15
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +1 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +36 -19
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +5 -5
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +2 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +115 -115
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +7 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +7 -2
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +9 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +7 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +80 -41
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +79 -40
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +84 -48
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +63 -34
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +24 -7
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +25 -17
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +59 -52
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +9 -7
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +7 -7
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +128 -84
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +67 -34
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +37 -9
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +4 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +16 -7
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +19 -7
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/useRefEffect.mjs +7 -1
- package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +25 -12
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
- package/dist/esm/without-animated.mjs +175 -69
- 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/vendor/react-native/Animated/AnimatedImplementation.js +7 -7
- 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
package/dist/cjs/Alert/index.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var Alert_exports = {};
|
|
22
24
|
__export(Alert_exports, {
|
|
@@ -2,66 +2,71 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
6
|
-
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: true
|
|
33
|
+
}), mod);
|
|
32
34
|
var AppContainer_exports = {};
|
|
33
35
|
__export(AppContainer_exports, {
|
|
34
36
|
AppContainer: () => AppContainer,
|
|
35
37
|
RootTagContext: () => RootTagContext
|
|
36
38
|
});
|
|
37
39
|
module.exports = __toCommonJS(AppContainer_exports);
|
|
38
|
-
var React = __toESM(require("react"), 1)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const RootTagContext = React.createContext(null)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
var React = __toESM(require("react"), 1);
|
|
41
|
+
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
42
|
+
var import_View = require("../View/index.cjs");
|
|
43
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
44
|
+
const RootTagContext = React.createContext(null);
|
|
45
|
+
const AppContainer = React.forwardRef((props, forwardedRef) => {
|
|
46
|
+
const {
|
|
47
|
+
children,
|
|
48
|
+
WrapperComponent
|
|
49
|
+
} = props;
|
|
50
|
+
let innerView = /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_View.View, {
|
|
51
|
+
pointerEvents: "box-none",
|
|
52
|
+
style: styles.appContainer,
|
|
53
|
+
children
|
|
54
|
+
}, 1);
|
|
55
|
+
if (WrapperComponent) {
|
|
56
|
+
innerView = /* @__PURE__ */(0, import_jsx_runtime.jsx)(WrapperComponent, {
|
|
57
|
+
children: innerView
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(RootTagContext.Provider, {
|
|
61
|
+
value: props.rootTag,
|
|
62
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_View.View, {
|
|
49
63
|
pointerEvents: "box-none",
|
|
64
|
+
ref: forwardedRef,
|
|
50
65
|
style: styles.appContainer,
|
|
51
|
-
children
|
|
52
|
-
}, 1);
|
|
53
|
-
return WrapperComponent && (innerView = /* @__PURE__ */(0, import_jsx_runtime.jsx)(WrapperComponent, {
|
|
54
66
|
children: innerView
|
|
55
|
-
})
|
|
56
|
-
value: props.rootTag,
|
|
57
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_View.View, {
|
|
58
|
-
pointerEvents: "box-none",
|
|
59
|
-
ref: forwardedRef,
|
|
60
|
-
style: styles.appContainer,
|
|
61
|
-
children: innerView
|
|
62
|
-
})
|
|
63
|
-
});
|
|
67
|
+
})
|
|
64
68
|
});
|
|
69
|
+
});
|
|
65
70
|
AppContainer.displayName = "AppContainer";
|
|
66
71
|
const styles = import_react_native_web_internals.StyleSheet.create({
|
|
67
72
|
appContainer: {
|
|
@@ -2,13 +2,15 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
6
|
-
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
12
14
|
return to;
|
|
13
15
|
};
|
|
14
16
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
@@ -18,39 +20,51 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
18
20
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
21
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
22
|
value: mod,
|
|
21
|
-
enumerable:
|
|
23
|
+
enumerable: true
|
|
22
24
|
}) : target, mod));
|
|
23
|
-
var import_react = __toESM(require("react"), 1)
|
|
24
|
-
|
|
25
|
+
var import_react = __toESM(require("react"), 1);
|
|
26
|
+
var import__ = __toESM(require("../index.cjs"), 1);
|
|
25
27
|
const NoopComponent = () => import_react.default.createElement("div");
|
|
26
28
|
describe("AppRegistry", () => {
|
|
27
29
|
describe("runApplication", () => {
|
|
28
30
|
let rootTag;
|
|
29
31
|
beforeEach(() => {
|
|
30
|
-
rootTag = document.createElement("div")
|
|
31
|
-
|
|
32
|
+
rootTag = document.createElement("div");
|
|
33
|
+
rootTag.id = "react-root";
|
|
34
|
+
document.body.appendChild(rootTag);
|
|
35
|
+
});
|
|
36
|
+
afterEach(() => {
|
|
32
37
|
document.body.removeChild(rootTag);
|
|
33
|
-
})
|
|
38
|
+
});
|
|
39
|
+
test("callback after render", () => {
|
|
34
40
|
const callback = jest.fn();
|
|
35
|
-
import__.default.registerComponent("App", () => NoopComponent)
|
|
41
|
+
import__.default.registerComponent("App", () => NoopComponent);
|
|
42
|
+
import__.default.runApplication("App", {
|
|
36
43
|
initialProps: {},
|
|
37
44
|
rootTag,
|
|
38
45
|
callback
|
|
39
|
-
})
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
});
|
|
47
|
+
expect(callback).toHaveBeenCalledTimes(1);
|
|
48
|
+
});
|
|
49
|
+
test("styles roots in different documents", () => {
|
|
50
|
+
import__.default.registerComponent("App", () => NoopComponent);
|
|
51
|
+
import__.default.runApplication("App", {
|
|
42
52
|
initialProps: {},
|
|
43
53
|
rootTag
|
|
44
54
|
});
|
|
45
55
|
const iframe = document.createElement("iframe");
|
|
46
56
|
document.body.appendChild(iframe);
|
|
47
57
|
const iframeRootTag = document.createElement("div");
|
|
48
|
-
iframeRootTag.id = "react-iframe-root"
|
|
58
|
+
iframeRootTag.id = "react-iframe-root";
|
|
59
|
+
iframe.contentWindow.document.body.appendChild(iframeRootTag);
|
|
60
|
+
import__.default.registerComponent("App", () => NoopComponent);
|
|
61
|
+
import__.default.runApplication("App", {
|
|
49
62
|
initialProps: {},
|
|
50
63
|
rootTag: iframeRootTag
|
|
51
64
|
});
|
|
52
65
|
const iframedoc = iframeRootTag.ownerDocument;
|
|
53
|
-
expect(iframedoc).toBe(iframe.contentWindow.document)
|
|
66
|
+
expect(iframedoc).toBe(iframe.contentWindow.document);
|
|
67
|
+
expect(iframedoc).not.toBe(document);
|
|
54
68
|
const cssText = Array.prototype.slice.call(iframedoc.getElementById("react-native-stylesheet").sheet.cssRules).map(cssRule => cssRule.cssText);
|
|
55
69
|
expect(cssText).toMatchInlineSnapshot(`
|
|
56
70
|
[
|
|
@@ -2,13 +2,15 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
6
|
-
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
12
14
|
return to;
|
|
13
15
|
};
|
|
14
16
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
@@ -18,32 +20,35 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
18
20
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
21
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
22
|
value: mod,
|
|
21
|
-
enumerable:
|
|
23
|
+
enumerable: true
|
|
22
24
|
}) : target, mod));
|
|
23
|
-
var import_react = __toESM(require("react"), 1)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
var import_react = __toESM(require("react"), 1);
|
|
26
|
+
var import_server = __toESM(require("react-dom/server"), 1);
|
|
27
|
+
var import_StyleSheet = __toESM(require("../../StyleSheet/index"), 1);
|
|
28
|
+
var import_View = __toESM(require("../../View/index.cjs"), 1);
|
|
29
|
+
var import__ = __toESM(require("../index.cjs"), 1);
|
|
28
30
|
const NoopComponent = () => import_react.default.createElement("div");
|
|
29
31
|
describe("AppRegistry", () => {
|
|
30
32
|
describe("getApplication", () => {
|
|
31
33
|
test("does not throw when missing appParameters", () => {
|
|
32
|
-
import__.default.registerComponent("App", () => NoopComponent)
|
|
33
|
-
|
|
34
|
+
import__.default.registerComponent("App", () => NoopComponent);
|
|
35
|
+
expect(() => import__.default.getApplication("App")).not.toThrow();
|
|
36
|
+
});
|
|
37
|
+
test('returns "element" and "getStyleElement"', () => {
|
|
34
38
|
import__.default.registerComponent("App", () => NoopComponent);
|
|
35
39
|
const {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
element,
|
|
41
|
+
getStyleElement
|
|
42
|
+
} = import__.default.getApplication("App", {});
|
|
43
|
+
const styleElement = import_server.default.renderToStaticMarkup(getStyleElement());
|
|
40
44
|
expect(element).toMatchInlineSnapshot(`
|
|
41
45
|
<AppContainer
|
|
42
46
|
rootTag={{}}
|
|
43
47
|
>
|
|
44
48
|
<NoopComponent />
|
|
45
49
|
</AppContainer>
|
|
46
|
-
`)
|
|
50
|
+
`);
|
|
51
|
+
expect(styleElement).toMatchInlineSnapshot(`
|
|
47
52
|
"<style id=\\"react-native-stylesheet\\">[stylesheet-group=\\"0\\"]{}
|
|
48
53
|
body{margin:0;}
|
|
49
54
|
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
|
|
@@ -67,24 +72,26 @@ describe("AppRegistry", () => {
|
|
|
67
72
|
.r-right-zchlnj{right:0px;}
|
|
68
73
|
.r-top-ipm5af{top:0px;}</style>"
|
|
69
74
|
`);
|
|
70
|
-
})
|
|
75
|
+
});
|
|
76
|
+
test('"getStyleElement" adds props to <style>', () => {
|
|
71
77
|
const nonce = "2Bz9RM/UHvBbmo3jK/PbYZ==";
|
|
72
78
|
import__.default.registerComponent("App", () => NoopComponent);
|
|
73
79
|
const {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
80
|
+
getStyleElement
|
|
81
|
+
} = import__.default.getApplication("App", {});
|
|
82
|
+
const styleElement = getStyleElement({
|
|
83
|
+
nonce
|
|
84
|
+
});
|
|
79
85
|
expect(styleElement.props.nonce).toBe(nonce);
|
|
80
|
-
})
|
|
86
|
+
});
|
|
87
|
+
test('"getStyleElement" contains style updates', () => {
|
|
81
88
|
const getApplicationStyles = appName => {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
const {
|
|
90
|
+
getStyleElement
|
|
91
|
+
} = import__.default.getApplication(appName, {});
|
|
92
|
+
return getStyleElement().props.dangerouslySetInnerHTML.__html;
|
|
93
|
+
};
|
|
94
|
+
const RootComponent = () => import_react.default.createElement(import_View.default);
|
|
88
95
|
import__.default.registerComponent("App", () => RootComponent);
|
|
89
96
|
const first = getApplicationStyles("App");
|
|
90
97
|
expect(first).toMatchInlineSnapshot(`
|
|
@@ -112,14 +119,14 @@ describe("AppRegistry", () => {
|
|
|
112
119
|
.r-top-ipm5af{top:0px;}"
|
|
113
120
|
`);
|
|
114
121
|
const styles = import_StyleSheet.default.create({
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
root: {
|
|
123
|
+
borderWidth: 1234,
|
|
124
|
+
backgroundColor: "purple"
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
const AlternativeComponent = () => import_react.default.createElement(import_View.default, {
|
|
128
|
+
style: styles.root
|
|
129
|
+
});
|
|
123
130
|
import__.default.registerComponent("AlternativeApp", () => AlternativeComponent);
|
|
124
131
|
const second = getApplicationStyles("AlternativeApp");
|
|
125
132
|
expect(second).toMatchInlineSnapshot(`
|
|
@@ -3,50 +3,54 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var AppRegistry_exports = {};
|
|
22
24
|
__export(AppRegistry_exports, {
|
|
23
25
|
AppRegistry: () => AppRegistry
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(AppRegistry_exports);
|
|
26
|
-
var import_react_dom = require("react-dom")
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const emptyObject = {}
|
|
30
|
-
|
|
31
|
-
let componentProviderInstrumentationHook = component => component()
|
|
32
|
-
|
|
28
|
+
var import_react_dom = require("react-dom");
|
|
29
|
+
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
30
|
+
var import_renderApplication = require("./renderApplication.cjs");
|
|
31
|
+
const emptyObject = {};
|
|
32
|
+
const runnables = {};
|
|
33
|
+
let componentProviderInstrumentationHook = component => component();
|
|
34
|
+
let wrapperComponentProvider;
|
|
33
35
|
class AppRegistry {
|
|
34
36
|
static getAppKeys() {
|
|
35
37
|
return Object.keys(runnables);
|
|
36
38
|
}
|
|
37
39
|
static getApplication(appKey, appParameters) {
|
|
38
|
-
|
|
40
|
+
(0, import_react_native_web_internals.invariant)(runnables[appKey] && runnables[appKey].getApplication, `Application ${appKey} has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`);
|
|
41
|
+
return runnables[appKey]?.getApplication?.(appParameters);
|
|
39
42
|
}
|
|
40
43
|
static registerComponent(appKey, componentProvider) {
|
|
41
|
-
|
|
44
|
+
runnables[appKey] = {
|
|
42
45
|
getApplication: appParameters => (0, import_renderApplication.getApplication)(componentProviderInstrumentationHook(componentProvider), appParameters ? appParameters.initialProps : emptyObject, wrapperComponentProvider && wrapperComponentProvider(appParameters)),
|
|
43
46
|
run: appParameters => (0, import_renderApplication.renderApplication)(componentProviderInstrumentationHook(componentProvider), wrapperComponentProvider && wrapperComponentProvider(appParameters), appParameters.callback, {
|
|
44
|
-
hydrate: appParameters.hydrate ||
|
|
47
|
+
hydrate: appParameters.hydrate || false,
|
|
45
48
|
initialProps: appParameters.initialProps || emptyObject,
|
|
46
49
|
mode: appParameters.mode || "legacy",
|
|
47
50
|
rootTag: appParameters.rootTag
|
|
48
51
|
})
|
|
49
|
-
}
|
|
52
|
+
};
|
|
53
|
+
return appKey;
|
|
50
54
|
}
|
|
51
55
|
static registerConfig(config) {
|
|
52
56
|
config.forEach(({
|
|
@@ -54,14 +58,20 @@ class AppRegistry {
|
|
|
54
58
|
component,
|
|
55
59
|
run
|
|
56
60
|
}) => {
|
|
57
|
-
|
|
61
|
+
if (run) {
|
|
62
|
+
AppRegistry.registerRunnable(appKey, run);
|
|
63
|
+
} else {
|
|
64
|
+
(0, import_react_native_web_internals.invariant)(component, "No component provider passed in");
|
|
65
|
+
AppRegistry.registerComponent(appKey, component);
|
|
66
|
+
}
|
|
58
67
|
});
|
|
59
68
|
}
|
|
60
69
|
// TODO: fix style sheet creation when using this method
|
|
61
70
|
static registerRunnable(appKey, run) {
|
|
62
|
-
|
|
71
|
+
runnables[appKey] = {
|
|
63
72
|
run
|
|
64
|
-
}
|
|
73
|
+
};
|
|
74
|
+
return appKey;
|
|
65
75
|
}
|
|
66
76
|
static runApplication(appKey, appParameters) {
|
|
67
77
|
const isDevelopment = process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test";
|
|
@@ -69,12 +79,14 @@ class AppRegistry {
|
|
|
69
79
|
const params = {
|
|
70
80
|
...appParameters
|
|
71
81
|
};
|
|
72
|
-
params.rootTag = `#${params.rootTag.id}
|
|
82
|
+
params.rootTag = `#${params.rootTag.id}`;
|
|
83
|
+
console.log(`Running application "${appKey}" with appParams:
|
|
73
84
|
`, params, `
|
|
74
85
|
Development-level warnings: ${isDevelopment ? "ON" : "OFF"}.
|
|
75
86
|
Performance optimizations: ${isDevelopment ? "OFF" : "ON"}.`);
|
|
76
87
|
}
|
|
77
|
-
|
|
88
|
+
(0, import_react_native_web_internals.invariant)(runnables[appKey] && runnables[appKey].run, `Application "${appKey}" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.`);
|
|
89
|
+
return runnables[appKey].run(appParameters);
|
|
78
90
|
}
|
|
79
91
|
static setComponentProviderInstrumentationHook(hook) {
|
|
80
92
|
componentProviderInstrumentationHook = hook;
|
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var renderApplication_exports = {};
|
|
22
24
|
__export(renderApplication_exports, {
|
|
@@ -24,20 +26,21 @@ __export(renderApplication_exports, {
|
|
|
24
26
|
renderApplication: () => renderApplication
|
|
25
27
|
});
|
|
26
28
|
module.exports = __toCommonJS(renderApplication_exports);
|
|
27
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals")
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
30
|
+
var import_react_native_web_internals2 = require("@tamagui/react-native-web-internals");
|
|
31
|
+
var import_render = require("../render/index.cjs");
|
|
32
|
+
var import_AppContainer = require("./AppContainer.cjs");
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
34
|
function renderApplication(RootComponent, WrapperComponent = null, callback = () => {}, options) {
|
|
33
35
|
const {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
hydrate: shouldHydrate,
|
|
37
|
+
initialProps,
|
|
38
|
+
mode,
|
|
39
|
+
rootTag
|
|
40
|
+
} = options;
|
|
41
|
+
const renderFn = shouldHydrate ? mode === "concurrent" ? import_render.hydrate : import_render.hydrateLegacy : mode === "concurrent" ? import_render.render : import_render.renderLegacy;
|
|
42
|
+
(0, import_react_native_web_internals2.invariant)(rootTag, "Expect to have a valid rootTag, instead got ", rootTag);
|
|
43
|
+
return renderFn(/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_AppContainer.AppContainer, {
|
|
41
44
|
WrapperComponent,
|
|
42
45
|
ref: callback,
|
|
43
46
|
rootTag,
|
|
@@ -47,23 +50,25 @@ function renderApplication(RootComponent, WrapperComponent = null, callback = ()
|
|
|
47
50
|
}), rootTag);
|
|
48
51
|
}
|
|
49
52
|
function getApplication(RootComponent, initialProps, WrapperComponent) {
|
|
53
|
+
const element = /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_AppContainer.AppContainer, {
|
|
54
|
+
WrapperComponent,
|
|
55
|
+
rootTag: {},
|
|
56
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(RootComponent, {
|
|
57
|
+
...initialProps
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
const getStyleElement = props => {
|
|
61
|
+
const sheet = import_react_native_web_internals.StyleSheet.getSheet();
|
|
62
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)("style", {
|
|
63
|
+
...props,
|
|
64
|
+
dangerouslySetInnerHTML: {
|
|
65
|
+
__html: sheet.textContent
|
|
66
|
+
},
|
|
67
|
+
id: sheet.id
|
|
68
|
+
});
|
|
69
|
+
};
|
|
50
70
|
return {
|
|
51
|
-
element
|
|
52
|
-
|
|
53
|
-
rootTag: {},
|
|
54
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(RootComponent, {
|
|
55
|
-
...initialProps
|
|
56
|
-
})
|
|
57
|
-
}),
|
|
58
|
-
getStyleElement: props => {
|
|
59
|
-
const sheet = import_react_native_web_internals.StyleSheet.getSheet();
|
|
60
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsx)("style", {
|
|
61
|
-
...props,
|
|
62
|
-
dangerouslySetInnerHTML: {
|
|
63
|
-
__html: sheet.textContent
|
|
64
|
-
},
|
|
65
|
-
id: sheet.id
|
|
66
|
-
});
|
|
67
|
-
}
|
|
71
|
+
element,
|
|
72
|
+
getStyleElement
|
|
68
73
|
};
|
|
69
74
|
}
|
|
@@ -2,13 +2,15 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
6
|
-
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
12
14
|
return to;
|
|
13
15
|
};
|
|
14
16
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
@@ -18,15 +20,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
18
20
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
21
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
22
|
value: mod,
|
|
21
|
-
enumerable:
|
|
23
|
+
enumerable: true
|
|
22
24
|
}) : target, mod));
|
|
23
25
|
var import__ = __toESM(require("../index.cjs"), 1);
|
|
24
26
|
describe("apis/AppState", () => {
|
|
25
27
|
const handler = () => {};
|
|
26
28
|
describe("addEventListener", () => {
|
|
27
29
|
test('throws if the provided "eventType" is not supported', () => {
|
|
28
|
-
expect(() => import__.default.addEventListener("foo", handler)).toThrow()
|
|
29
|
-
|
|
30
|
+
expect(() => import__.default.addEventListener("foo", handler)).toThrow();
|
|
31
|
+
expect(() => import__.default.addEventListener("change", handler).remove()).not.toThrow();
|
|
32
|
+
});
|
|
33
|
+
test("returns remove subscription", () => {
|
|
30
34
|
const subscription = import__.default.addEventListener("change", handler);
|
|
31
35
|
expect(() => subscription.remove()).not.toThrow();
|
|
32
36
|
});
|