@tamagui/react-native-web-lite 1.132.19 → 1.132.20
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/index.cjs +3 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +9 -17
- package/src/index.tsx +4 -0
- package/dist/cjs/AccessibilityInfo/index.native.js +0 -98
- package/dist/cjs/AccessibilityInfo/index.native.js.map +0 -6
- package/dist/cjs/ActivityIndicator/__tests__/index-test.native.js +0 -152
- package/dist/cjs/ActivityIndicator/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/ActivityIndicator/index.native.js +0 -124
- package/dist/cjs/ActivityIndicator/index.native.js.map +0 -6
- package/dist/cjs/Alert/index.native.js +0 -47
- package/dist/cjs/Alert/index.native.js.map +0 -6
- package/dist/cjs/AppRegistry/AppContainer.native.js +0 -53
- package/dist/cjs/AppRegistry/AppContainer.native.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.native.js +0 -90
- package/dist/cjs/AppRegistry/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.node.native.js +0 -156
- package/dist/cjs/AppRegistry/__tests__/index-test.node.native.js.map +0 -6
- package/dist/cjs/AppRegistry/index.native.js +0 -138
- package/dist/cjs/AppRegistry/index.native.js.map +0 -6
- package/dist/cjs/AppRegistry/renderApplication.native.js +0 -69
- package/dist/cjs/AppRegistry/renderApplication.native.js.map +0 -6
- package/dist/cjs/AppState/__tests__/index-test.native.js +0 -40
- package/dist/cjs/AppState/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/AppState/index.native.js +0 -115
- package/dist/cjs/AppState/index.native.js.map +0 -6
- package/dist/cjs/Appearance/index.native.js +0 -46
- package/dist/cjs/Appearance/index.native.js.map +0 -6
- package/dist/cjs/BackHandler/index.native.js +0 -32
- package/dist/cjs/BackHandler/index.native.js.map +0 -6
- package/dist/cjs/Clipboard/index.native.js +0 -74
- package/dist/cjs/Clipboard/index.native.js.map +0 -6
- package/dist/cjs/DeviceEmitter.native.js +0 -30
- package/dist/cjs/DeviceEmitter.native.js.map +0 -6
- package/dist/cjs/DeviceInfo/index.native.js +0 -61
- package/dist/cjs/DeviceInfo/index.native.js.map +0 -6
- package/dist/cjs/Dimensions/__tests__/index-test.native.js +0 -54
- package/dist/cjs/Dimensions/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/Dimensions/index.native.js +0 -110
- package/dist/cjs/Dimensions/index.native.js.map +0 -6
- package/dist/cjs/FlatList.native.js +0 -256
- package/dist/cjs/FlatList.native.js.map +0 -6
- package/dist/cjs/I18nManager/index.native.js +0 -32
- package/dist/cjs/I18nManager/index.native.js.map +0 -6
- package/dist/cjs/Image/index.native.js +0 -259
- package/dist/cjs/Image/index.native.js.map +0 -6
- package/dist/cjs/Image/types.native.js +0 -15
- package/dist/cjs/Image/types.native.js.map +0 -6
- package/dist/cjs/ImageBackground/__tests__/index-test.native.js +0 -56
- package/dist/cjs/ImageBackground/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/ImageBackground/index.native.js +0 -61
- package/dist/cjs/ImageBackground/index.native.js.map +0 -6
- package/dist/cjs/InteractionManager/TaskQueue.native.js +0 -134
- package/dist/cjs/InteractionManager/TaskQueue.native.js.map +0 -6
- package/dist/cjs/InteractionManager/index.native.js +0 -99
- package/dist/cjs/InteractionManager/index.native.js.map +0 -6
- package/dist/cjs/Keyboard/index.native.js +0 -36
- package/dist/cjs/Keyboard/index.native.js.map +0 -6
- package/dist/cjs/KeyboardAvoidingView/index.native.js +0 -142
- package/dist/cjs/KeyboardAvoidingView/index.native.js.map +0 -6
- package/dist/cjs/Linking/__tests__/index-test.native.js +0 -39
- package/dist/cjs/Linking/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/Linking/index.native.js +0 -116
- package/dist/cjs/Linking/index.native.js.map +0 -6
- package/dist/cjs/LogBox/index.native.js +0 -31
- package/dist/cjs/LogBox/index.native.js.map +0 -6
- package/dist/cjs/Modal/ModalAnimation.native.js +0 -159
- package/dist/cjs/Modal/ModalAnimation.native.js.map +0 -6
- package/dist/cjs/Modal/ModalContent.native.js +0 -80
- package/dist/cjs/Modal/ModalContent.native.js.map +0 -6
- package/dist/cjs/Modal/ModalPortal.native.js +0 -44
- package/dist/cjs/Modal/ModalPortal.native.js.map +0 -6
- package/dist/cjs/Modal/index.native.js +0 -24
- package/dist/cjs/Modal/index.native.js.map +0 -6
- package/dist/cjs/NativeModules/index.native.js +0 -24
- package/dist/cjs/NativeModules/index.native.js.map +0 -6
- package/dist/cjs/PanResponder/Alternative.js +0 -151
- package/dist/cjs/PanResponder/Alternative.js.map +0 -6
- package/dist/cjs/PanResponder/index.native.js +0 -30
- package/dist/cjs/PanResponder/index.native.js.map +0 -6
- package/dist/cjs/PixelRatio/index.native.js +0 -100
- package/dist/cjs/PixelRatio/index.native.js.map +0 -6
- package/dist/cjs/Pressable/index.native.js +0 -125
- package/dist/cjs/Pressable/index.native.js.map +0 -6
- package/dist/cjs/RefreshControl/index.native.js +0 -51
- package/dist/cjs/RefreshControl/index.native.js.map +0 -6
- package/dist/cjs/SafeAreaView/index.native.js +0 -48
- package/dist/cjs/SafeAreaView/index.native.js.map +0 -6
- package/dist/cjs/ScrollView/ScrollViewBase.native.js +0 -114
- package/dist/cjs/ScrollView/ScrollViewBase.native.js.map +0 -6
- package/dist/cjs/ScrollView/index.native.js +0 -678
- package/dist/cjs/ScrollView/index.native.js.map +0 -6
- package/dist/cjs/SectionList.native.js +0 -30
- package/dist/cjs/SectionList.native.js.map +0 -6
- package/dist/cjs/Share/index.native.js +0 -77
- package/dist/cjs/Share/index.native.js.map +0 -6
- package/dist/cjs/StatusBar/index.native.js +0 -32
- package/dist/cjs/StatusBar/index.native.js.map +0 -6
- package/dist/cjs/Text/index.native.js +0 -130
- package/dist/cjs/Text/index.native.js.map +0 -6
- package/dist/cjs/Text/types.native.js +0 -15
- package/dist/cjs/Text/types.native.js.map +0 -6
- package/dist/cjs/TextInput/index.native.js +0 -220
- package/dist/cjs/TextInput/index.native.js.map +0 -6
- package/dist/cjs/TextInput/types.native.js +0 -15
- package/dist/cjs/TextInput/types.native.js.map +0 -6
- package/dist/cjs/TouchableNativeFeedback.native.js +0 -30
- package/dist/cjs/TouchableNativeFeedback.native.js.map +0 -6
- package/dist/cjs/TouchableOpacity.native.js +0 -108
- package/dist/cjs/TouchableOpacity.native.js.map +0 -6
- package/dist/cjs/TouchableWithoutFeedback.native.js +0 -80
- package/dist/cjs/TouchableWithoutFeedback.native.js.map +0 -6
- package/dist/cjs/UnimplementedView.native.js +0 -117
- package/dist/cjs/UnimplementedView.native.js.map +0 -6
- package/dist/cjs/Vibration/index.native.js +0 -32
- package/dist/cjs/Vibration/index.native.js.map +0 -6
- package/dist/cjs/View/index.native.js +0 -83
- package/dist/cjs/View/index.native.js.map +0 -6
- package/dist/cjs/View/types.native.js +0 -15
- package/dist/cjs/View/types.native.js.map +0 -6
- package/dist/cjs/VirtualizedList.native.js +0 -30
- package/dist/cjs/VirtualizedList.native.js.map +0 -6
- package/dist/cjs/createElement/__tests__/index-test.native.js +0 -561
- package/dist/cjs/createElement/__tests__/index-test.native.js.map +0 -6
- package/dist/cjs/createElement/index.native.js +0 -87
- package/dist/cjs/createElement/index.native.js.map +0 -6
- package/dist/cjs/createReactDOMStyle.native.js +0 -22
- package/dist/cjs/createReactDOMStyle.native.js.map +0 -6
- package/dist/cjs/index.native.js +0 -192
- package/dist/cjs/index.native.js.map +0 -6
- package/dist/cjs/modules/requestIdleCallback.native.js +0 -39
- package/dist/cjs/modules/requestIdleCallback.native.js.map +0 -6
- package/dist/cjs/render/index.native.js +0 -38
- package/dist/cjs/render/index.native.js.map +0 -6
- package/dist/cjs/styleTypes.native.js +0 -15
- package/dist/cjs/styleTypes.native.js.map +0 -6
- package/dist/cjs/types.native.js +0 -15
- package/dist/cjs/types.native.js.map +0 -6
- package/dist/cjs/useColorScheme/index.native.js +0 -40
- package/dist/cjs/useColorScheme/index.native.js.map +0 -6
- package/dist/cjs/useLocaleContext/index.native.js +0 -26
- package/dist/cjs/useLocaleContext/index.native.js.map +0 -6
- package/dist/cjs/useWindowDimensions/index.native.js +0 -44
- package/dist/cjs/useWindowDimensions/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js +0 -38
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +0 -174
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js +0 -465
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js +0 -132
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js +0 -301
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js +0 -374
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js +0 -96
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +0 -91
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js +0 -70
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js +0 -104
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js +0 -201
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js +0 -290
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js +0 -223
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js +0 -72
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js +0 -36
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js +0 -30
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js +0 -44
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js +0 -311
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +0 -164
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +0 -164
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +0 -259
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +0 -162
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js +0 -214
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js +0 -220
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +0 -214
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +0 -163
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +0 -172
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +0 -205
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js +0 -306
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +0 -197
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +0 -192
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js +0 -111
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js +0 -83
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js +0 -105
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js +0 -30
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FeatureFlags.native.js +0 -45
- package/dist/cjs/vendor/react-native/FeatureFlags.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +0 -159
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/FlatList/index.native.js +0 -352
- package/dist/cjs/vendor/react-native/FlatList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js +0 -69
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js +0 -112
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js +0 -84
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js +0 -38
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +0 -38
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/SectionList/index.native.js +0 -190
- package/dist/cjs/vendor/react-native/SectionList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js +0 -110
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js +0 -109
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js +0 -116
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js +0 -34
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +0 -35
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js +0 -173
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js +0 -22
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js +0 -25
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js +0 -29
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js +0 -46
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js +0 -30
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js +0 -205
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js +0 -199
- package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js +0 -95
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +0 -117
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js +0 -153
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +0 -163
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +0 -255
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +0 -86
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +0 -63
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +0 -314
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js +0 -219
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +0 -48
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.native.js +0 -30
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.native.js +0 -2
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.native.js +0 -113
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.native.js +0 -159
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.native.js +0 -50
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +0 -99
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/infoLog/index.native.js +0 -27
- package/dist/cjs/vendor/react-native/infoLog/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/useRefEffect.native.js +0 -30
- package/dist/cjs/vendor/react-native/useRefEffect.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js +0 -163
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +0 -6
- package/dist/cjs/without-animated.native.js +0 -158
- package/dist/cjs/without-animated.native.js.map +0 -6
- package/dist/esm/AccessibilityInfo/index.native.js +0 -77
- package/dist/esm/AccessibilityInfo/index.native.js.map +0 -1
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +0 -167
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/ActivityIndicator/index.native.js +0 -95
- package/dist/esm/ActivityIndicator/index.native.js.map +0 -1
- package/dist/esm/Alert/index.native.js +0 -26
- package/dist/esm/Alert/index.native.js.map +0 -1
- package/dist/esm/AppRegistry/AppContainer.native.js +0 -36
- package/dist/esm/AppRegistry/AppContainer.native.js.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.native.js +0 -72
- package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +0 -152
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +0 -1
- package/dist/esm/AppRegistry/index.native.js +0 -110
- package/dist/esm/AppRegistry/index.native.js.map +0 -1
- package/dist/esm/AppRegistry/renderApplication.native.js +0 -51
- package/dist/esm/AppRegistry/renderApplication.native.js.map +0 -1
- package/dist/esm/AppState/__tests__/index-test.native.js +0 -19
- package/dist/esm/AppState/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/AppState/index.native.js +0 -92
- package/dist/esm/AppState/index.native.js.map +0 -1
- package/dist/esm/Appearance/index.native.js +0 -32
- package/dist/esm/Appearance/index.native.js.map +0 -1
- package/dist/esm/BackHandler/index.native.js +0 -13
- package/dist/esm/BackHandler/index.native.js.map +0 -1
- package/dist/esm/Clipboard/index.native.js +0 -52
- package/dist/esm/Clipboard/index.native.js.map +0 -1
- package/dist/esm/DeviceEmitter.native.js +0 -4
- package/dist/esm/DeviceEmitter.native.js.map +0 -1
- package/dist/esm/DeviceInfo/index.native.js +0 -46
- package/dist/esm/DeviceInfo/index.native.js.map +0 -1
- package/dist/esm/Dimensions/__tests__/index-test.native.js +0 -35
- package/dist/esm/Dimensions/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/Dimensions/index.native.js +0 -89
- package/dist/esm/Dimensions/index.native.js.map +0 -1
- package/dist/esm/FlatList.native.js +0 -244
- package/dist/esm/FlatList.native.js.map +0 -1
- package/dist/esm/I18nManager/index.native.js +0 -12
- package/dist/esm/I18nManager/index.native.js.map +0 -1
- package/dist/esm/Image/index.native.js +0 -266
- package/dist/esm/Image/index.native.js.map +0 -1
- package/dist/esm/Image/types.native.js +0 -2
- package/dist/esm/Image/types.native.js.map +0 -1
- package/dist/esm/ImageBackground/__tests__/index-test.native.js +0 -48
- package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/ImageBackground/index.native.js +0 -44
- package/dist/esm/ImageBackground/index.native.js.map +0 -1
- package/dist/esm/InteractionManager/TaskQueue.native.js +0 -112
- package/dist/esm/InteractionManager/TaskQueue.native.js.map +0 -1
- package/dist/esm/InteractionManager/index.native.js +0 -84
- package/dist/esm/InteractionManager/index.native.js.map +0 -1
- package/dist/esm/Keyboard/index.native.js +0 -16
- package/dist/esm/Keyboard/index.native.js.map +0 -1
- package/dist/esm/KeyboardAvoidingView/index.native.js +0 -109
- package/dist/esm/KeyboardAvoidingView/index.native.js.map +0 -1
- package/dist/esm/Linking/__tests__/index-test.native.js +0 -19
- package/dist/esm/Linking/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/Linking/index.native.js +0 -92
- package/dist/esm/Linking/index.native.js.map +0 -1
- package/dist/esm/LogBox/index.native.js +0 -9
- package/dist/esm/LogBox/index.native.js.map +0 -1
- package/dist/esm/Modal/ModalAnimation.native.js +0 -114
- package/dist/esm/Modal/ModalAnimation.native.js.map +0 -1
- package/dist/esm/Modal/ModalContent.native.js +0 -56
- package/dist/esm/Modal/ModalContent.native.js.map +0 -1
- package/dist/esm/Modal/ModalPortal.native.js +0 -19
- package/dist/esm/Modal/ModalPortal.native.js.map +0 -1
- package/dist/esm/Modal/index.native.js +0 -5
- package/dist/esm/Modal/index.native.js.map +0 -1
- package/dist/esm/NativeModules/index.native.js +0 -7
- package/dist/esm/NativeModules/index.native.js.map +0 -1
- package/dist/esm/PanResponder/Alternative.js +0 -163
- package/dist/esm/PanResponder/Alternative.js.map +0 -1
- package/dist/esm/PanResponder/index.native.js +0 -4
- package/dist/esm/PanResponder/index.native.js.map +0 -1
- package/dist/esm/PixelRatio/index.native.js +0 -64
- package/dist/esm/PixelRatio/index.native.js.map +0 -1
- package/dist/esm/Pressable/index.native.js +0 -109
- package/dist/esm/Pressable/index.native.js.map +0 -1
- package/dist/esm/RefreshControl/index.native.js +0 -25
- package/dist/esm/RefreshControl/index.native.js.map +0 -1
- package/dist/esm/SafeAreaView/index.native.js +0 -30
- package/dist/esm/SafeAreaView/index.native.js.map +0 -1
- package/dist/esm/ScrollView/ScrollViewBase.native.js +0 -103
- package/dist/esm/ScrollView/ScrollViewBase.native.js.map +0 -1
- package/dist/esm/ScrollView/index.native.js +0 -652
- package/dist/esm/ScrollView/index.native.js.map +0 -1
- package/dist/esm/SectionList.native.js +0 -4
- package/dist/esm/SectionList.native.js.map +0 -1
- package/dist/esm/Share/index.native.js +0 -53
- package/dist/esm/Share/index.native.js.map +0 -1
- package/dist/esm/StatusBar/index.native.js +0 -12
- package/dist/esm/StatusBar/index.native.js.map +0 -1
- package/dist/esm/Text/index.native.js +0 -137
- package/dist/esm/Text/index.native.js.map +0 -1
- package/dist/esm/Text/types.native.js +0 -2
- package/dist/esm/Text/types.native.js.map +0 -1
- package/dist/esm/TextInput/index.native.js +0 -263
- package/dist/esm/TextInput/index.native.js.map +0 -1
- package/dist/esm/TextInput/types.native.js +0 -2
- package/dist/esm/TextInput/types.native.js.map +0 -1
- package/dist/esm/TouchableNativeFeedback.native.js +0 -4
- package/dist/esm/TouchableNativeFeedback.native.js.map +0 -1
- package/dist/esm/TouchableOpacity.native.js +0 -83
- package/dist/esm/TouchableOpacity.native.js.map +0 -1
- package/dist/esm/TouchableWithoutFeedback.native.js +0 -62
- package/dist/esm/TouchableWithoutFeedback.native.js.map +0 -1
- package/dist/esm/UnimplementedView.native.js +0 -86
- package/dist/esm/UnimplementedView.native.js.map +0 -1
- package/dist/esm/Vibration/index.native.js +0 -15
- package/dist/esm/Vibration/index.native.js.map +0 -1
- package/dist/esm/View/index.native.js +0 -90
- package/dist/esm/View/index.native.js.map +0 -1
- package/dist/esm/View/types.native.js +0 -2
- package/dist/esm/View/types.native.js.map +0 -1
- package/dist/esm/VirtualizedList.native.js +0 -4
- package/dist/esm/VirtualizedList.native.js.map +0 -1
- package/dist/esm/createElement/__tests__/index-test.native.js +0 -747
- package/dist/esm/createElement/__tests__/index-test.native.js.map +0 -1
- package/dist/esm/createElement/index.native.js +0 -68
- package/dist/esm/createElement/index.native.js.map +0 -1
- package/dist/esm/createReactDOMStyle.native.js +0 -4
- package/dist/esm/createReactDOMStyle.native.js.map +0 -1
- package/dist/esm/index.native.js +0 -58
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/modules/requestIdleCallback.native.js +0 -20
- package/dist/esm/modules/requestIdleCallback.native.js.map +0 -1
- package/dist/esm/render/index.native.js +0 -6
- package/dist/esm/render/index.native.js.map +0 -1
- package/dist/esm/styleTypes.native.js +0 -2
- package/dist/esm/styleTypes.native.js.map +0 -1
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/types.native.js.map +0 -1
- package/dist/esm/useColorScheme/index.native.js +0 -16
- package/dist/esm/useColorScheme/index.native.js.map +0 -1
- package/dist/esm/useLocaleContext/index.native.js +0 -3
- package/dist/esm/useLocaleContext/index.native.js.map +0 -1
- package/dist/esm/useWindowDimensions/index.native.js +0 -20
- package/dist/esm/useWindowDimensions/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Animated.native.js +0 -21
- package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +0 -487
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +0 -120
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +0 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/Easing.native.js +0 -240
- package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +0 -321
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +0 -37
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +0 -34
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +0 -53
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +0 -67
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +0 -165
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +0 -270
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +0 -186
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/bezier.native.js +0 -58
- package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js +0 -14
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +0 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +0 -5
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +0 -27
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +0 -276
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +0 -129
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +0 -127
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +0 -221
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +0 -126
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +0 -163
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +0 -182
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +0 -176
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +0 -124
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +0 -138
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +0 -169
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +0 -255
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +0 -159
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +0 -158
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +0 -82
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Batchinator/index.native.js +0 -61
- package/dist/esm/vendor/react-native/Batchinator/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js +0 -72
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js +0 -4
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FeatureFlags.native.js +0 -22
- package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +0 -140
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/FlatList/index.native.js +0 -330
- package/dist/esm/vendor/react-native/FlatList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js +0 -53
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js +0 -86
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/PanResponder/index.native.js +0 -78
- package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/PooledClass/index.native.js +0 -24
- package/dist/esm/vendor/react-native/PooledClass/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +0 -20
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +0 -1
- package/dist/esm/vendor/react-native/SectionList/index.native.js +0 -161
- package/dist/esm/vendor/react-native/SectionList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js +0 -77
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js +0 -76
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +0 -76
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +0 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +0 -136
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js +0 -4
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js +0 -6
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +0 -13
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js +0 -25
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js.map +0 -1
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js +0 -9
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js +0 -185
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +0 -180
- package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +0 -72
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +0 -83
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +0 -136
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +0 -132
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +0 -227
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +0 -55
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +0 -40
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +0 -338
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js +0 -204
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js +0 -19
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +0 -4
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +0 -2
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +0 -79
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +0 -126
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +0 -29
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +0 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +0 -77
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +0 -1
- package/dist/esm/vendor/react-native/infoLog/index.native.js +0 -7
- package/dist/esm/vendor/react-native/infoLog/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/useRefEffect.native.js +0 -9
- package/dist/esm/vendor/react-native/useRefEffect.native.js.map +0 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js +0 -122
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +0 -1
- package/dist/esm/without-animated.native.js +0 -57
- package/dist/esm/without-animated.native.js.map +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
9
|
-
for (let key of __getOwnPropNames(from))
|
|
10
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
14
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
15
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
16
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
17
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
18
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
19
|
-
mod
|
|
20
|
-
));
|
|
21
|
-
var import__ = __toESM(require(".."));
|
|
22
|
-
describe("apis/AppState", function() {
|
|
23
|
-
var handler = function() {
|
|
24
|
-
};
|
|
25
|
-
describe("addEventListener", function() {
|
|
26
|
-
test('throws if the provided "eventType" is not supported', function() {
|
|
27
|
-
expect(function() {
|
|
28
|
-
return import__.default.addEventListener("foo", handler);
|
|
29
|
-
}).toThrow(), expect(function() {
|
|
30
|
-
return import__.default.addEventListener("change", handler).remove();
|
|
31
|
-
}).not.toThrow();
|
|
32
|
-
}), test("returns remove subscription", function() {
|
|
33
|
-
var subscription = import__.default.addEventListener("change", handler);
|
|
34
|
-
expect(function() {
|
|
35
|
-
return subscription.remove();
|
|
36
|
-
}).not.toThrow();
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=index-test.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/AppState/__tests__/index-test.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAOA,eAAqB;AAErBA,SAAS,iBAAiB,WAAA;AACxB,MAAMC,UAAU,WAAA;EAAO;AAEvBD,WAAS,oBAAoB,WAAA;AAC3BE,SAAK,uDAAuD,WAAA;AAC1DC,aAAO,WAAA;eAAMC,SAAAA,QAASC,iBAAiB,OAAOJ,OAAAA;SAAUK,QAAO,GAC/DH,OAAO,WAAA;eAAMC,SAAAA,QAASC,iBAAiB,UAAUJ,OAAAA,EAASM,OAAM;SAAIC,IAAIF,QAAO;IACjF,CAAA,GAEAJ,KAAK,+BAA+B,WAAA;AAClC,UAAMO,eAAeL,SAAAA,QAASC,iBAAiB,UAAUJ,OAAAA;AACzDE,aAAO,WAAA;eAAMM,aAAaF,OAAM;SAAIC,IAAIF,QAAO;IACjD,CAAA;EACF,CAAA;AACF,CAAA;",
|
|
5
|
-
"names": ["describe", "handler", "test", "expect", "AppState", "addEventListener", "toThrow", "remove", "not", "subscription"]
|
|
6
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var AppState_exports = {};
|
|
17
|
-
__export(AppState_exports, {
|
|
18
|
-
default: () => AppState
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(AppState_exports);
|
|
21
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor))
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
function _defineProperties(target, props) {
|
|
27
|
-
for (var i = 0; i < props.length; i++) {
|
|
28
|
-
var descriptor = props[i];
|
|
29
|
-
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
33
|
-
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
34
|
-
}
|
|
35
|
-
function _define_property(obj, key, value) {
|
|
36
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
37
|
-
value,
|
|
38
|
-
enumerable: !0,
|
|
39
|
-
configurable: !0,
|
|
40
|
-
writable: !0
|
|
41
|
-
}) : obj[key] = value, obj;
|
|
42
|
-
}
|
|
43
|
-
var isPrefixed = (
|
|
44
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
45
|
-
import_react_native_web_internals.canUseDOM && !document.hasOwnProperty("hidden") && document.hasOwnProperty("webkitHidden")
|
|
46
|
-
), EVENT_TYPES = [
|
|
47
|
-
"change",
|
|
48
|
-
"memoryWarning"
|
|
49
|
-
], VISIBILITY_CHANGE_EVENT = isPrefixed ? "webkitvisibilitychange" : "visibilitychange", VISIBILITY_STATE_PROPERTY = isPrefixed ? "webkitVisibilityState" : "visibilityState", AppStates = {
|
|
50
|
-
BACKGROUND: "background",
|
|
51
|
-
ACTIVE: "active"
|
|
52
|
-
}, EventEmitter = /* @__PURE__ */ function() {
|
|
53
|
-
"use strict";
|
|
54
|
-
function EventEmitter2() {
|
|
55
|
-
_class_call_check(this, EventEmitter2), _define_property(this, "listeners", {});
|
|
56
|
-
}
|
|
57
|
-
return _create_class(EventEmitter2, [
|
|
58
|
-
{
|
|
59
|
-
key: "addListener",
|
|
60
|
-
value: function(type, handler) {
|
|
61
|
-
var _this_listeners, _type, _;
|
|
62
|
-
(_ = (_this_listeners = this.listeners)[_type = type]) !== null && _ !== void 0 || (_this_listeners[_type] = /* @__PURE__ */ new Set()), this.listeners[type].add(handler);
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
key: "emit",
|
|
67
|
-
value: function(type, state) {
|
|
68
|
-
var _this_listeners_type;
|
|
69
|
-
(_this_listeners_type = this.listeners[type]) === null || _this_listeners_type === void 0 || _this_listeners_type.forEach(function(cb) {
|
|
70
|
-
return cb(state);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
key: "removeListener",
|
|
76
|
-
value: function(type, handler) {
|
|
77
|
-
var _this_listeners_type;
|
|
78
|
-
(_this_listeners_type = this.listeners[type]) === null || _this_listeners_type === void 0 || _this_listeners_type.delete(handler);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
]), EventEmitter2;
|
|
82
|
-
}(), hasBoundVisibilityChangeEvent = !1, changeEmitter = new EventEmitter(), AppState = /* @__PURE__ */ function() {
|
|
83
|
-
"use strict";
|
|
84
|
-
function AppState2() {
|
|
85
|
-
_class_call_check(this, AppState2);
|
|
86
|
-
}
|
|
87
|
-
return _create_class(AppState2, null, [
|
|
88
|
-
{
|
|
89
|
-
key: "currentState",
|
|
90
|
-
get: function() {
|
|
91
|
-
if (!AppState2.isAvailable)
|
|
92
|
-
return AppStates.ACTIVE;
|
|
93
|
-
switch (document[VISIBILITY_STATE_PROPERTY]) {
|
|
94
|
-
case "hidden":
|
|
95
|
-
case "prerender":
|
|
96
|
-
case "unloaded":
|
|
97
|
-
return AppStates.BACKGROUND;
|
|
98
|
-
default:
|
|
99
|
-
return AppStates.ACTIVE;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
key: "addEventListener",
|
|
105
|
-
value: function(type, handler) {
|
|
106
|
-
if (AppState2.isAvailable && ((0, import_react_native_web_internals.invariant)(EVENT_TYPES.indexOf(type) !== -1, 'Trying to subscribe to unknown event: "%s"', type), type === "change"))
|
|
107
|
-
return hasBoundVisibilityChangeEvent || (hasBoundVisibilityChangeEvent = !0, document.addEventListener(VISIBILITY_CHANGE_EVENT, function() {
|
|
108
|
-
changeEmitter && changeEmitter.emit("change", AppState2.currentState);
|
|
109
|
-
}, !1)), changeEmitter.addListener(type, handler);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]), AppState2;
|
|
113
|
-
}();
|
|
114
|
-
_define_property(AppState, "isAvailable", import_react_native_web_internals.canUseDOM && document[VISIBILITY_STATE_PROPERTY]);
|
|
115
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/AppState/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAUA,wCAAqC;AAFpC,SAAA,kBAAA,UAAA,aAAA;;;;;;;;;;;;;;;;;;;;;AAKD,IAAMA;;EAEJC,+CACA,CAACC,SAASC,eAAe,QAAA,KACzBD,SAASC,eAAe,cAAA;GAEpBC,cAAc;EAAC;EAAU;GACzBC,0BAA0BL,aAAa,2BAA2B,oBAClEM,4BAA4BN,aAAa,0BAA0B,mBAEnEO,YAAY;EAChBC,YAAY;EACZC,QAAQ;AACV,GAEMC,eAAN,2BAAA;;WAAMA,gBAAAA;4BAAAA,aAAAA,GACJC,iBAAAA,MAAAA,aAAY,CAAC,CAAA;;uBADTD,eAAAA;;MAGJE,KAAAA;aAAAA,SAAYC,MAAcC,SAAiB;YACzC,iBAAeD;AAAf,SAAA,KAAA,kBAAA,KAAKF,WAAUE,QAAAA,IAAAA,OAAK,QAAA,MAAA,WAApB,gBAAeA,KAAAA,IAAU,oBAAIE,IAAAA,IAC7B,KAAKJ,UAAUE,IAAAA,EAAMG,IAAIF,OAAAA;MAC3B;;;MAEAG,KAAAA;aAAAA,SAAKJ,MAAcK,OAAU;YAC3B;SAAA,uBAAA,KAAKP,UAAUE,IAAAA,OAAK,QAApB,yBAAA,UAAA,qBAAsBM,QAAQ,SAACC,IAAAA;iBAAOA,GAAGF,KAAAA;;MAC3C;;;MAEAG,KAAAA;aAAAA,SAAeR,MAAcC,SAAiB;YAC5C;SAAA,uBAAA,KAAKH,UAAUE,IAAAA,OAAK,QAApB,yBAAA,UAAA,qBAAsBS,OAAOR,OAAAA;MAC/B;;MAdIJ;KAiBFa,gCAAgC,IAE9BC,gBAAgB,IAAId,aAAAA,GAELe,WAAN,2BAAA;;WAAMA,YAAAA;4BAAAA,SAAAA;;uBAAAA,WAAAA,MAAAA;;MAGRC,KAAAA;WAAX,WAAA;AACE,YAAI,CAJaD,UAIHE;AACZ,iBAAOpB,UAAUE;AAGnB,gBAAQP,SAASI,yBAAAA,GAA0B;UACzC,KAAK;UACL,KAAK;UACL,KAAK;AACH,mBAAOC,UAAUC;UACnB;AACE,mBAAOD,UAAUE;QACrB;MACF;;;MAEOmB,KAAAA;aAAP,SAAwBf,MAAcC,SAAiB;AACrD,YAnBiBW,UAmBJE,oBACXE,6CACEzB,YAAY0B,QAAQjB,IAAAA,MAAU,IAC9B,8CACAA,IAAAA,GAEEA,SAAS;AACX,iBAAKU,kCACHA,gCAAgC,IAChCrB,SAAS0B,iBACPvB,yBACA,WAAA;AACE,YAAImB,iBACFA,cAAcP,KAAK,UAhCdQ,UAgCiCC,YAAY;UAEtD,GACA,EAAA,IAGGF,cAAcZ,YAAYC,MAAMC,OAAAA;MAG7C;;MAzCmBW;;AACnB,iBADmBA,UACZE,eAAc1B,+CAAaC,SAASI,yBAAAA,CAA0B;",
|
|
5
|
-
"names": ["isPrefixed", "canUseDOM", "document", "hasOwnProperty", "EVENT_TYPES", "VISIBILITY_CHANGE_EVENT", "VISIBILITY_STATE_PROPERTY", "AppStates", "BACKGROUND", "ACTIVE", "EventEmitter", "listeners", "addListener", "type", "handler", "Set", "add", "emit", "state", "forEach", "cb", "removeListener", "delete", "hasBoundVisibilityChangeEvent", "changeEmitter", "AppState", "currentState", "isAvailable", "addEventListener", "invariant", "indexOf"]
|
|
6
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var Appearance_exports = {};
|
|
17
|
-
__export(Appearance_exports, {
|
|
18
|
-
default: () => Appearance_default
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(Appearance_exports);
|
|
21
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
22
|
-
function getQuery() {
|
|
23
|
-
return import_react_native_web_internals.canUseDOM && window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : null;
|
|
24
|
-
}
|
|
25
|
-
var query = getQuery(), listenerMapping = /* @__PURE__ */ new WeakMap(), Appearance = {
|
|
26
|
-
getColorScheme() {
|
|
27
|
-
return query && query.matches ? "dark" : "light";
|
|
28
|
-
},
|
|
29
|
-
addChangeListener(listener) {
|
|
30
|
-
var mappedListener = listenerMapping.get(listener);
|
|
31
|
-
mappedListener || (mappedListener = function(param) {
|
|
32
|
-
var { matches } = param;
|
|
33
|
-
listener({
|
|
34
|
-
colorScheme: matches ? "dark" : "light"
|
|
35
|
-
});
|
|
36
|
-
}, listenerMapping.set(listener, mappedListener)), query && query.addListener(mappedListener);
|
|
37
|
-
function remove() {
|
|
38
|
-
var mappedListener2 = listenerMapping.get(listener);
|
|
39
|
-
query && mappedListener2 && query.removeListener(mappedListener2), listenerMapping.delete(listener);
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
remove
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
}, Appearance_default = Appearance;
|
|
46
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Appearance/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AASA,wCAA0B;AAW1B,SAASA,WAAAA;AACP,SAAOC,+CAAaC,OAAOC,cAAc,OACrCD,OAAOC,WAAW,8BAAA,IAClB;AACN;AAEA,IAAMC,QAAQJ,SAAAA,GACRK,kBAAkB,oBAAIC,QAAAA,GAEtBC,aAAa;EACjBC,iBAAAA;AACE,WAAOJ,SAASA,MAAMK,UAAU,SAAS;EAC3C;EAEAC,kBAAkBC,UAA4B;AAG5C,QAAIC,iBAAiBP,gBAAgBQ,IAAIF,QAAAA;AACzC,IAAKC,mBACHA,iBAAiB,SAAA,OAAA;UAAC,EAAEH,QAAO,IAAuB;AAChDE,eAAS;QAAEG,aAAaL,UAAU,SAAS;MAAQ,CAAA;IACrD,GACAJ,gBAAgBU,IAAIJ,UAAUC,cAAAA,IAE5BR,SACFA,MAAMY,YAAYJ,cAAAA;AAGpB,aAASK,SAAAA;AACP,UAAML,kBAAiBP,gBAAgBQ,IAAIF,QAAAA;AAC3C,MAAIP,SAASQ,mBACXR,MAAMc,eAAeN,eAAAA,GAEvBP,gBAAgBc,OAAOR,QAAAA;IACzB;AAEA,WAAO;MAAEM;IAAO;EAClB;AACF,GAEA,qBAAeV;",
|
|
5
|
-
"names": ["getQuery", "canUseDOM", "window", "matchMedia", "query", "listenerMapping", "WeakMap", "Appearance", "getColorScheme", "matches", "addChangeListener", "listener", "mappedListener", "get", "colorScheme", "set", "addListener", "remove", "removeListener", "delete"]
|
|
6
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var BackHandler_exports = {};
|
|
17
|
-
__export(BackHandler_exports, {
|
|
18
|
-
default: () => BackHandler_default
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(BackHandler_exports);
|
|
21
|
-
function emptyFunction() {
|
|
22
|
-
}
|
|
23
|
-
var BackHandler = {
|
|
24
|
-
exitApp: emptyFunction,
|
|
25
|
-
addEventListener() {
|
|
26
|
-
return {
|
|
27
|
-
remove: emptyFunction
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
removeEventListener: emptyFunction
|
|
31
|
-
}, BackHandler_default = BackHandler;
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/BackHandler/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAUA,SAASA,gBAAAA;AAAiB;AAE1B,IAAMC,cAAc;EAClBC,SAASF;EACTG,mBAAAA;AAGE,WAAO;MACLC,QAAQJ;IACV;EACF;EACAK,qBAAqBL;AACvB,GAEA,sBAAeC;",
|
|
5
|
-
"names": ["emptyFunction", "BackHandler", "exitApp", "addEventListener", "remove", "removeEventListener"]
|
|
6
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var Clipboard_exports = {};
|
|
17
|
-
__export(Clipboard_exports, {
|
|
18
|
-
default: () => Clipboard
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(Clipboard_exports);
|
|
21
|
-
function _class_call_check(instance, Constructor) {
|
|
22
|
-
if (!(instance instanceof Constructor))
|
|
23
|
-
throw new TypeError("Cannot call a class as a function");
|
|
24
|
-
}
|
|
25
|
-
function _defineProperties(target, props) {
|
|
26
|
-
for (var i = 0; i < props.length; i++) {
|
|
27
|
-
var descriptor = props[i];
|
|
28
|
-
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
32
|
-
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
33
|
-
}
|
|
34
|
-
var clipboardAvailable, Clipboard = /* @__PURE__ */ function() {
|
|
35
|
-
"use strict";
|
|
36
|
-
function Clipboard2() {
|
|
37
|
-
_class_call_check(this, Clipboard2);
|
|
38
|
-
}
|
|
39
|
-
return _create_class(Clipboard2, null, [
|
|
40
|
-
{
|
|
41
|
-
key: "isAvailable",
|
|
42
|
-
value: function() {
|
|
43
|
-
return clipboardAvailable === void 0 && (clipboardAvailable = typeof document.queryCommandSupported == "function" && document.queryCommandSupported("copy")), clipboardAvailable;
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
key: "getString",
|
|
48
|
-
value: function() {
|
|
49
|
-
return Promise.resolve("");
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
key: "setString",
|
|
54
|
-
value: function(text) {
|
|
55
|
-
var success = !1, body = document.body;
|
|
56
|
-
if (body) {
|
|
57
|
-
var node = document.createElement("span");
|
|
58
|
-
node.textContent = text, node.style.opacity = "0", node.style.position = "absolute", node.style.whiteSpace = "pre-wrap", node.style.userSelect = "auto", body.appendChild(node);
|
|
59
|
-
var selection = window.getSelection();
|
|
60
|
-
selection.removeAllRanges();
|
|
61
|
-
var range = document.createRange();
|
|
62
|
-
range.selectNodeContents(node), selection.addRange(range);
|
|
63
|
-
try {
|
|
64
|
-
document.execCommand("copy"), success = !0;
|
|
65
|
-
} catch {
|
|
66
|
-
}
|
|
67
|
-
selection.removeAllRanges(), body.removeChild(node);
|
|
68
|
-
}
|
|
69
|
-
return success;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
]), Clipboard2;
|
|
73
|
-
}();
|
|
74
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Clipboard/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAQC,SAAA,kBAAA,UAAA,aAAA;;;;;;;;;;;;;AAED,IAAIA,oBAEiBC,YAAN,2BAAA;;WAAMA,aAAAA;4BAAAA,UAAAA;;uBAAAA,YAAAA,MAAAA;;MACZC,KAAAA;aAAP,WAAOA;AACL,eAAIF,uBAAuBG,WACzBH,qBACE,OAAOI,SAASC,yBAA0B,cAC1CD,SAASC,sBAAsB,MAAA,IAE5BL;MACT;;;MAEOM,KAAAA;aAAP,WAAOA;AACL,eAAOC,QAAQC,QAAQ,EAAA;MACzB;;;MAEOC,KAAAA;aAAP,SAAiBC,MAAY;AAC3B,YAAIC,UAAU,IACRC,OAAOR,SAASQ;AAEtB,YAAIA,MAAM;AAER,cAAMC,OAAOT,SAASU,cAAc,MAAA;AACpCD,eAAKE,cAAcL,MACnBG,KAAKG,MAAMC,UAAU,KACrBJ,KAAKG,MAAME,WAAW,YACtBL,KAAKG,MAAMG,aAAa,YACxBN,KAAKG,MAAMI,aAAa,QACxBR,KAAKS,YAAYR,IAAAA;AAGjB,cAAMS,YAAYC,OAAOC,aAAY;AACrCF,oBAAUG,gBAAe;AACzB,cAAMC,QAAQtB,SAASuB,YAAW;AAClCD,gBAAME,mBAAmBf,IAAAA,GACzBS,UAAUO,SAASH,KAAAA;AAGnB,cAAI;AACFtB,qBAAS0B,YAAY,MAAA,GACrBnB,UAAU;UACZ,QAAY;UAAC;AAGbW,oBAAUG,gBAAe,GACzBb,KAAKmB,YAAYlB,IAAAA;QACnB;AAEA,eAAOF;MACT;;MA/CmBV;;",
|
|
5
|
-
"names": ["clipboardAvailable", "Clipboard", "isAvailable", "undefined", "document", "queryCommandSupported", "getString", "Promise", "resolve", "setString", "text", "success", "body", "node", "createElement", "textContent", "style", "opacity", "position", "whiteSpace", "userSelect", "appendChild", "selection", "window", "getSelection", "removeAllRanges", "range", "createRange", "selectNodeContents", "addRange", "execCommand", "removeChild"]
|
|
6
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var DeviceEmitter_exports = {};
|
|
25
|
-
__export(DeviceEmitter_exports, {
|
|
26
|
-
default: () => DeviceEmitter_default
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(DeviceEmitter_exports);
|
|
29
|
-
var import_EventEmitter = __toESM(require("./vendor/react-native/emitter/_EventEmitter")), DeviceEmitter_default = new import_EventEmitter.default();
|
|
30
|
-
//# sourceMappingURL=DeviceEmitter.js.map
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var DeviceInfo_exports = {};
|
|
25
|
-
__export(DeviceInfo_exports, {
|
|
26
|
-
default: () => DeviceInfo_default
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(DeviceInfo_exports);
|
|
29
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_Dimensions = __toESM(require("../Dimensions/index")), DeviceInfo = {
|
|
30
|
-
Dimensions: {
|
|
31
|
-
get windowPhysicalPixels() {
|
|
32
|
-
var { width, height, fontScale, scale } = import_Dimensions.default.get("window");
|
|
33
|
-
return {
|
|
34
|
-
width: width * scale,
|
|
35
|
-
height: height * scale,
|
|
36
|
-
scale,
|
|
37
|
-
fontScale
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
get screenPhysicalPixels() {
|
|
41
|
-
var { width: width1, height: height1, fontScale: fontScale1, scale: scale1 } = import_Dimensions.default.get("screen");
|
|
42
|
-
return {
|
|
43
|
-
width: width1 * scale1,
|
|
44
|
-
height: height1 * scale1,
|
|
45
|
-
scale: scale1,
|
|
46
|
-
fontScale: fontScale1
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
get locale() {
|
|
51
|
-
if (import_react_native_web_internals.canUseDOM)
|
|
52
|
-
return navigator.languages ? navigator.languages[0] : navigator.language;
|
|
53
|
-
},
|
|
54
|
-
get totalMemory() {
|
|
55
|
-
return import_react_native_web_internals.canUseDOM ? navigator.deviceMemory : void 0;
|
|
56
|
-
},
|
|
57
|
-
get userAgent() {
|
|
58
|
-
return import_react_native_web_internals.canUseDOM ? navigator.userAgent : "";
|
|
59
|
-
}
|
|
60
|
-
}, DeviceInfo_default = DeviceInfo;
|
|
61
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/DeviceInfo/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AASA,wCAA0B,gDAG1B,oBAAuB,yCAEjBA,aAAa;EACjBC,YAAY;IACV,IAAIC,uBAAuC;AACzC,UAAM,EAAEC,OAAOC,QAAQC,WAAWC,MAAK,IAAKL,kBAAAA,QAAWM,IAAI,QAAA;AAC3D,aAAO;QACLJ,OAAOA,QAAQG;QACfF,QAAQA,SAASE;QACjBA;QACAD;MACF;IACF;IACA,IAAIG,uBAAuC;AACzC,UAAM,EAAEL,OAAAA,QAAOC,QAAAA,SAAQC,WAAAA,YAAWC,OAAAA,OAAK,IAAKL,kBAAAA,QAAWM,IAAI,QAAA;AAC3D,aAAO;QACLJ,OAAOA,SAAQG;QACfF,QAAQA,UAASE;QACjBA,OAAAA;QACAD,WAAAA;MACF;IACF;EACF;EAEA,IAAII,SAAwB;AAC1B,QAAIC;AACF,aAAIC,UAAUC,YACLD,UAAUC,UAAU,CAAA,IAEpBD,UAAUE;EAGvB;EAEA,IAAIC,cAA6B;AAE/B,WAAOJ,8CAAYC,UAAUI,eAAeC;EAC9C;EAEA,IAAIC,YAAoB;AACtB,WAAOP,8CAAYC,UAAUM,YAAY;EAC3C;AACF,GAEA,qBAAejB;",
|
|
5
|
-
"names": ["DeviceInfo", "Dimensions", "windowPhysicalPixels", "width", "height", "fontScale", "scale", "get", "screenPhysicalPixels", "locale", "canUseDOM", "navigator", "languages", "language", "totalMemory", "deviceMemory", "undefined", "userAgent"]
|
|
6
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
9
|
-
for (let key of __getOwnPropNames(from))
|
|
10
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
14
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
15
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
16
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
17
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
18
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
19
|
-
mod
|
|
20
|
-
));
|
|
21
|
-
var import__ = __toESM(require(".."));
|
|
22
|
-
describe("apis/Dimensions/index.js", function() {
|
|
23
|
-
test("get", function() {
|
|
24
|
-
expect(import__.default.get("screen")).toMatchInlineSnapshot(`
|
|
25
|
-
{
|
|
26
|
-
"fontScale": 1,
|
|
27
|
-
"height": 0,
|
|
28
|
-
"scale": 1,
|
|
29
|
-
"width": 0,
|
|
30
|
-
}
|
|
31
|
-
`), expect(import__.default.get("window")).toMatchInlineSnapshot(`
|
|
32
|
-
{
|
|
33
|
-
"fontScale": 1,
|
|
34
|
-
"height": 768,
|
|
35
|
-
"scale": 1,
|
|
36
|
-
"width": 1024,
|
|
37
|
-
}
|
|
38
|
-
`);
|
|
39
|
-
}), test("set", function() {
|
|
40
|
-
expect(function() {
|
|
41
|
-
return import__.default.set({});
|
|
42
|
-
}).toThrow();
|
|
43
|
-
}), test("addEventListener", function() {
|
|
44
|
-
var handler = jest.fn(), subscription = import__.default.addEventListener("change", handler);
|
|
45
|
-
import__.default._update(), expect(handler).toHaveBeenCalledTimes(1), expect(handler).toHaveBeenLastCalledWith({
|
|
46
|
-
window: import__.default.get("window"),
|
|
47
|
-
screen: import__.default.get("screen")
|
|
48
|
-
}), subscription.remove(), import__.default._update(), expect(handler).toHaveBeenCalledTimes(1);
|
|
49
|
-
}), test("removeEventListener", function() {
|
|
50
|
-
var handler = jest.fn();
|
|
51
|
-
import__.default.removeEventListener("change", handler), import__.default._update(), expect(handler).toHaveBeenCalledTimes(0);
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=index-test.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/Dimensions/__tests__/index-test.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAOA,eAAuB;AAEvBA,SAAS,4BAA4B,WAAA;AACnCC,OAAK,OAAO,WAAA;AACVC,WAAOC,SAAAA,QAAWC,IAAI,QAAA,CAAA,EAAWC,sBAAsB;;;;;;;KAOtD,GACDH,OAAOC,SAAAA,QAAWC,IAAI,QAAA,CAAA,EAAWC,sBAAsB;;;;;;;KAOtD;EACH,CAAA,GAEAJ,KAAK,OAAO,WAAA;AACVC,WAAO,WAAA;aAAMC,SAAAA,QAAWG,IAAI,CAAC,CAAA;OAAIC,QAAO;EAC1C,CAAA,GAEAN,KAAK,oBAAoB,WAAA;AACvB,QAAMO,UAAUC,KAAKC,GAAE,GACjBC,eAAeR,SAAAA,QAAWS,iBAAiB,UAAUJ,OAAAA;AAC3DL,aAAAA,QAAWU,QAAO,GAClBX,OAAOM,OAAAA,EAASM,sBAAsB,CAAA,GACtCZ,OAAOM,OAAAA,EAASO,yBAAyB;MACvCC,QAAQb,SAAAA,QAAWC,IAAI,QAAA;MACvBa,QAAQd,SAAAA,QAAWC,IAAI,QAAA;IACzB,CAAA,GACAO,aAAaO,OAAM,GACnBf,SAAAA,QAAWU,QAAO,GAClBX,OAAOM,OAAAA,EAASM,sBAAsB,CAAA;EACxC,CAAA,GAEAb,KAAK,uBAAuB,WAAA;AAC1B,QAAMO,UAAUC,KAAKC,GAAE;AACvBP,aAAAA,QAAWgB,oBAAoB,UAAUX,OAAAA,GACzCL,SAAAA,QAAWU,QAAO,GAClBX,OAAOM,OAAAA,EAASM,sBAAsB,CAAA;EACxC,CAAA;AACF,CAAA;",
|
|
5
|
-
"names": ["describe", "test", "expect", "Dimensions", "get", "toMatchInlineSnapshot", "set", "toThrow", "handler", "jest", "fn", "subscription", "addEventListener", "_update", "toHaveBeenCalledTimes", "toHaveBeenLastCalledWith", "window", "screen", "remove", "removeEventListener"]
|
|
6
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var Dimensions_exports = {};
|
|
17
|
-
__export(Dimensions_exports, {
|
|
18
|
-
default: () => Dimensions
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(Dimensions_exports);
|
|
21
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
22
|
-
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor))
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
26
|
-
function _defineProperties(target, props) {
|
|
27
|
-
for (var i = 0; i < props.length; i++) {
|
|
28
|
-
var descriptor = props[i];
|
|
29
|
-
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
33
|
-
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
34
|
-
}
|
|
35
|
-
var dimensions = {
|
|
36
|
-
window: {
|
|
37
|
-
fontScale: 1,
|
|
38
|
-
height: 0,
|
|
39
|
-
scale: 1,
|
|
40
|
-
width: 0
|
|
41
|
-
},
|
|
42
|
-
screen: {
|
|
43
|
-
fontScale: 1,
|
|
44
|
-
height: 0,
|
|
45
|
-
scale: 1,
|
|
46
|
-
width: 0
|
|
47
|
-
}
|
|
48
|
-
}, listeners = {}, shouldInit = import_react_native_web_internals.canUseDOM;
|
|
49
|
-
function update() {
|
|
50
|
-
if (import_react_native_web_internals.canUseDOM) {
|
|
51
|
-
var win = window, docEl = win.document.documentElement;
|
|
52
|
-
dimensions.window = {
|
|
53
|
-
fontScale: 1,
|
|
54
|
-
height: docEl.clientHeight,
|
|
55
|
-
scale: win.devicePixelRatio || 1,
|
|
56
|
-
width: docEl.clientWidth
|
|
57
|
-
}, dimensions.screen = {
|
|
58
|
-
fontScale: 1,
|
|
59
|
-
height: win.screen.height,
|
|
60
|
-
scale: win.devicePixelRatio || 1,
|
|
61
|
-
width: win.screen.width
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
function handleResize() {
|
|
66
|
-
update(), Array.isArray(listeners.change) && listeners.change.forEach(function(handler) {
|
|
67
|
-
return handler(dimensions);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
var Dimensions = /* @__PURE__ */ function() {
|
|
71
|
-
"use strict";
|
|
72
|
-
function Dimensions2() {
|
|
73
|
-
_class_call_check(this, Dimensions2);
|
|
74
|
-
}
|
|
75
|
-
return _create_class(Dimensions2, null, [
|
|
76
|
-
{
|
|
77
|
-
key: "get",
|
|
78
|
-
value: function(dimension) {
|
|
79
|
-
return shouldInit && (shouldInit = !1, update()), (0, import_react_native_web_internals.invariant)(dimensions[dimension], `No dimension set for key ${dimension}`), dimensions[dimension];
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "set",
|
|
84
|
-
value: function(initialDimensions) {
|
|
85
|
-
initialDimensions && (import_react_native_web_internals.canUseDOM ? (0, import_react_native_web_internals.invariant)(!1, "Dimensions cannot be set in the browser") : (initialDimensions.screen != null && (dimensions.screen = initialDimensions.screen), initialDimensions.window != null && (dimensions.window = initialDimensions.window)));
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
key: "addEventListener",
|
|
90
|
-
value: function(type, handler) {
|
|
91
|
-
var _this = this;
|
|
92
|
-
return listeners[type] = listeners[type] || [], listeners[type].push(handler), {
|
|
93
|
-
remove: function() {
|
|
94
|
-
_this.removeEventListener(type, handler);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
key: "removeEventListener",
|
|
101
|
-
value: function(type, handler) {
|
|
102
|
-
Array.isArray(listeners[type]) && (listeners[type] = listeners[type].filter(function(_handler) {
|
|
103
|
-
return _handler !== handler;
|
|
104
|
-
}));
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]), Dimensions2;
|
|
108
|
-
}();
|
|
109
|
-
import_react_native_web_internals.canUseDOM && window.addEventListener("resize", handleResize, !1);
|
|
110
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/Dimensions/index.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAUA,wCAAqC;AAFpC,SAAA,kBAAA,UAAA,aAAA;;;;;;;;;;;;;AAmBD,IAAMA,aAAa;EACjBC,QAAQ;IACNC,WAAW;IACXC,QAAQ;IACRC,OAAO;IACPC,OAAO;EACT;EACAC,QAAQ;IACNJ,WAAW;IACXC,QAAQ;IACRC,OAAO;IACPC,OAAO;EACT;AACF,GACME,YAAY,CAAC,GAEfC,aAAaC;AAEjB,SAASC,SAAAA;AACP,MAAKD,6CAIL;QAAME,MAAMV,QACNW,QAAQD,IAAIE,SAASC;AAE3Bd,eAAWC,SAAS;MAClBC,WAAW;MACXC,QAAQS,MAAMG;MACdX,OAAOO,IAAIK,oBAAoB;MAC/BX,OAAOO,MAAMK;IACf,GAEAjB,WAAWM,SAAS;MAClBJ,WAAW;MACXC,QAAQQ,IAAIL,OAAOH;MACnBC,OAAOO,IAAIK,oBAAoB;MAC/BX,OAAOM,IAAIL,OAAOD;IACpB;;AACF;AAEA,SAASa,eAAAA;AACPR,SAAAA,GACIS,MAAMC,QAAQb,UAAU,MAAS,KACnCA,UAAU,OAAUc,QAAQ,SAACC,SAAAA;WAAYA,QAAQtB,UAAAA;;AAErD;AAEe,IAAMuB,aAAN,2BAAA;;WAAMA,cAAAA;4BAAAA,WAAAA;;uBAAAA,aAAAA,MAAAA;;MACZC,KAAAA;aAAP,SAAWC,WAAuB;AAChC,eAAIjB,eACFA,aAAa,IACbE,OAAAA,QAEFgB,6CAAU1B,WAAWyB,SAAAA,GAAY,4BAA4BA,SAAAA,EAAW,GACjEzB,WAAWyB,SAAAA;MACpB;;;MAEOE,KAAAA;aAAP,SAAWC,mBAAyC;AAClD,QAAIA,sBACEnB,kDACFiB,6CAAU,IAAO,yCAAA,KAEbE,kBAAkBtB,UAAU,SAC9BN,WAAWM,SAASsB,kBAAkBtB,SAEpCsB,kBAAkB3B,UAAU,SAC9BD,WAAWC,SAAS2B,kBAAkB3B;MAI9C;;;MAEO4B,KAAAA;aAAP,SACEC,MACAR,SAAmD;;AAEnDf,yBAAUuB,IAAAA,IAAQvB,UAAUuB,IAAAA,KAAS,CAAA,GACrCvB,UAAUuB,IAAAA,EAAMC,KAAKT,OAAAA,GAEd;UACLU,QAAQ,WAAA;AACN,kBAAKC,oBAAoBH,MAAMR,OAAAA;UACjC;QACF;MACF;;;MAEOW,KAAAA;aAAP,SACEH,MACAR,SAAmD;AAEnD,QAAIH,MAAMC,QAAQb,UAAUuB,IAAAA,CAAK,MAC/BvB,UAAUuB,IAAAA,IAAQvB,UAAUuB,IAAAA,EAAMI,OAAO,SAACC,UAAAA;iBAAaA,aAAab;;MAExE;;MA9CmBC;;AAiDjBa,+CACFC,OAAOC,iBAAiB,UAAUC,cAAc,EAAA;",
|
|
5
|
-
"names": ["dimensions", "window", "fontScale", "height", "scale", "width", "screen", "listeners", "shouldInit", "canUseDOM", "update", "win", "docEl", "document", "documentElement", "clientHeight", "devicePixelRatio", "clientWidth", "handleResize", "Array", "isArray", "forEach", "handler", "Dimensions", "get", "dimension", "invariant", "set", "initialDimensions", "addEventListener", "type", "push", "remove", "removeEventListener", "filter", "_handler", "canUseDOM", "window", "addEventListener", "handleResize"]
|
|
6
|
-
}
|