@tamagui/react-native-web-lite 1.114.4 → 1.115.1
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 +98 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +188 -0
- package/dist/cjs/ActivityIndicator/index.cjs +127 -0
- package/dist/cjs/Alert/index.cjs +29 -0
- package/dist/cjs/AppRegistry/AppContainer.cjs +70 -0
- package/dist/cjs/AppRegistry/__tests__/{index-test.js → index-test.cjs} +22 -16
- package/dist/cjs/AppRegistry/__tests__/{index-test.node.js → index-test.node.cjs} +46 -22
- package/dist/cjs/AppRegistry/index.cjs +99 -0
- package/dist/cjs/AppRegistry/renderApplication.cjs +80 -0
- package/dist/cjs/AppState/__tests__/{index-test.js → index-test.cjs} +17 -16
- package/dist/cjs/AppState/index.cjs +69 -0
- package/dist/cjs/Appearance/index.cjs +54 -0
- package/dist/cjs/BackHandler/index.cjs +36 -0
- package/dist/cjs/Clipboard/{index.js → index.cjs} +17 -13
- package/dist/cjs/{DeviceEmitter.js → DeviceEmitter.cjs} +23 -14
- package/dist/cjs/DeviceInfo/{index.js → index.cjs} +37 -19
- package/dist/cjs/Dimensions/__tests__/{index-test.js → index-test.cjs} +18 -15
- package/dist/cjs/Dimensions/{index.js → index.cjs} +34 -28
- package/dist/cjs/I18nManager/index.cjs +35 -0
- package/dist/cjs/Image/index.cjs +292 -0
- package/dist/cjs/Image/types.cjs +16 -0
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +68 -0
- package/dist/cjs/ImageBackground/index.cjs +77 -0
- package/dist/cjs/Keyboard/index.cjs +39 -0
- package/dist/cjs/KeyboardAvoidingView/{index.js → index.cjs} +32 -21
- package/dist/cjs/Linking/__tests__/{index-test.js → index-test.cjs} +19 -17
- package/dist/cjs/Linking/{index.js → index.cjs} +18 -15
- package/dist/cjs/LogBox/index.cjs +32 -0
- package/dist/cjs/Modal/ModalAnimation.cjs +148 -0
- package/dist/cjs/Modal/ModalContent.cjs +86 -0
- package/dist/cjs/Modal/ModalFocusTrap.cjs +108 -0
- package/dist/cjs/Modal/ModalPortal.cjs +53 -0
- package/dist/cjs/Modal/index.cjs +97 -0
- package/dist/cjs/NativeModules/index.cjs +30 -0
- package/dist/cjs/PanResponder/Alternative.cjs +198 -0
- package/dist/cjs/PanResponder/Alternative.cjs.map +6 -0
- package/dist/cjs/PanResponder/{index.js → index.cjs} +23 -14
- package/dist/cjs/PixelRatio/{index.js → index.cjs} +23 -15
- package/dist/cjs/Pressable/index.cjs +143 -0
- package/dist/cjs/RefreshControl/{index.js → index.cjs} +27 -16
- package/dist/cjs/SafeAreaView/index.cjs +62 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +137 -0
- package/dist/cjs/ScrollView/{index.js → index.cjs} +123 -108
- package/dist/cjs/Share/index.cjs +49 -0
- package/dist/cjs/StatusBar/{index.js → index.cjs} +17 -13
- package/dist/cjs/Text/index.cjs +170 -0
- package/dist/cjs/Text/types.cjs +16 -0
- package/dist/cjs/TextInput/__tests__/index-test.cjs +709 -0
- package/dist/cjs/TextInput/index.cjs +277 -0
- package/dist/cjs/TextInput/types.cjs +16 -0
- package/dist/cjs/TouchableOpacity.cjs +117 -0
- package/dist/cjs/{TouchableWithoutFeedback.js → TouchableWithoutFeedback.cjs} +60 -58
- package/dist/cjs/UnimplementedView.cjs +47 -0
- package/dist/cjs/Vibration/index.cjs +37 -0
- package/dist/cjs/View/{index.js → index.cjs} +49 -28
- package/dist/cjs/View/types.cjs +16 -0
- package/dist/cjs/createElement/__tests__/index-test.cjs +765 -0
- package/dist/cjs/createElement/index.cjs +54 -0
- package/dist/cjs/createReactDOMStyle.cjs +27 -0
- package/dist/cjs/findNodeHandle.cjs +33 -0
- package/dist/cjs/{index.js → index.cjs} +77 -16
- package/dist/cjs/render/{index.js → index.cjs} +20 -14
- package/dist/cjs/styleTypes.cjs +16 -0
- package/dist/cjs/types.cjs +16 -0
- package/dist/cjs/useColorScheme/{index.js → index.cjs} +27 -16
- package/dist/cjs/useLocaleContext/index.cjs +26 -0
- package/dist/cjs/useWindowDimensions/{index.js → index.cjs} +28 -16
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +52 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +125 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +514 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +149 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -0
- package/dist/cjs/vendor/react-native/Animated/{Easing.js → Easing.cjs} +31 -22
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +331 -0
- package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.js → NativeAnimatedModule.cjs} +23 -14
- package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.js → NativeAnimatedTurboModule.cjs} +23 -14
- package/dist/cjs/vendor/react-native/Animated/{SpringConfig.js → SpringConfig.cjs} +20 -12
- package/dist/cjs/vendor/react-native/Animated/animations/{Animation.js → Animation.cjs} +29 -24
- package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.js → DecayAnimation.cjs} +27 -16
- package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.js → SpringAnimation.cjs} +48 -34
- package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.js → TimingAnimation.cjs} +32 -26
- package/dist/cjs/vendor/react-native/Animated/{bezier.js → bezier.cjs} +38 -27
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +45 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +61 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.js → AnimatedAddition.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.js → AnimatedColor.cjs} +57 -40
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.js → AnimatedDiffClamp.cjs} +27 -16
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.js → AnimatedDivision.cjs} +29 -16
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js → AnimatedInterpolation.cjs} +62 -72
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.js → AnimatedModulo.cjs} +25 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.js → AnimatedMultiplication.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.js → AnimatedNode.cjs} +39 -39
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.js → AnimatedProps.cjs} +34 -24
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.js → AnimatedStyle.cjs} +35 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.js → AnimatedSubtraction.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.js → AnimatedTracking.cjs} +34 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.js → AnimatedTransform.cjs} +32 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.js → AnimatedValue.cjs} +43 -50
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.js → AnimatedValueXY.cjs} +38 -31
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.js → AnimatedWithChildren.cjs} +31 -21
- package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.js → useAnimatedProps.cjs} +44 -31
- package/dist/cjs/vendor/react-native/{FeatureFlags.js → FeatureFlags.cjs} +16 -11
- package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.js → RCTDeviceEventEmitter.cjs} +23 -14
- package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.js → index.cjs} +29 -25
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +272 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +105 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +1 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +34 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +18 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +36 -0
- package/dist/cjs/vendor/react-native/emitter/{EventEmitter.js → EventEmitter.cjs} +24 -14
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -0
- package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.js → _EmitterSubscription.cjs} +24 -15
- package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.js → _EventEmitter.cjs} +39 -39
- package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.js → _EventSubscription.cjs} +17 -11
- package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.js → _EventSubscriptionVendor.cjs} +21 -16
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +31 -0
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +32 -0
- package/dist/cjs/without-animated.cjs +155 -0
- package/package.json +9 -8
- package/dist/cjs/AccessibilityInfo/index.js +0 -96
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
- package/dist/cjs/ActivityIndicator/index.js +0 -108
- package/dist/cjs/Alert/index.js +0 -25
- package/dist/cjs/AppRegistry/AppContainer.js +0 -41
- package/dist/cjs/AppRegistry/index.js +0 -98
- package/dist/cjs/AppRegistry/renderApplication.js +0 -51
- package/dist/cjs/AppState/index.js +0 -71
- package/dist/cjs/Appearance/index.js +0 -41
- package/dist/cjs/BackHandler/index.js +0 -32
- package/dist/cjs/I18nManager/index.js +0 -30
- package/dist/cjs/Image/index.js +0 -253
- package/dist/cjs/Image/types.js +0 -14
- package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
- package/dist/cjs/ImageBackground/index.js +0 -62
- package/dist/cjs/Keyboard/index.js +0 -35
- package/dist/cjs/LogBox/index.js +0 -31
- package/dist/cjs/Modal/ModalAnimation.js +0 -137
- package/dist/cjs/Modal/ModalContent.js +0 -75
- package/dist/cjs/Modal/ModalFocusTrap.js +0 -105
- package/dist/cjs/Modal/ModalPortal.js +0 -43
- package/dist/cjs/Modal/index.js +0 -92
- package/dist/cjs/NativeModules/index.js +0 -25
- package/dist/cjs/Pressable/index.js +0 -140
- package/dist/cjs/SafeAreaView/index.js +0 -43
- package/dist/cjs/ScrollView/ScrollViewBase.js +0 -124
- package/dist/cjs/Share/index.js +0 -56
- package/dist/cjs/Text/index.js +0 -152
- package/dist/cjs/Text/types.js +0 -14
- package/dist/cjs/TextInput/__tests__/index-test.js +0 -422
- package/dist/cjs/TextInput/index.js +0 -260
- package/dist/cjs/TextInput/types.js +0 -14
- package/dist/cjs/TouchableOpacity.js +0 -123
- package/dist/cjs/UnimplementedView.js +0 -36
- package/dist/cjs/Vibration/index.js +0 -31
- package/dist/cjs/View/types.js +0 -14
- package/dist/cjs/createElement/__tests__/index-test.js +0 -536
- package/dist/cjs/createElement/index.js +0 -37
- package/dist/cjs/createReactDOMStyle.js +0 -21
- package/dist/cjs/findNodeHandle.js +0 -29
- package/dist/cjs/styleTypes.js +0 -14
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/useLocaleContext/index.js +0 -21
- package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -35
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -143
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -458
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -126
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -335
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -38
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -42
- package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -272
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -118
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -2
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -28
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -15
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
- package/dist/cjs/vendor/react-native/infoLog/index.js +0 -25
- package/dist/cjs/vendor/react-native/useRefEffect.js +0 -30
- package/dist/cjs/without-animated.js +0 -95
- /package/dist/cjs/AccessibilityInfo/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/ActivityIndicator/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/ActivityIndicator/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Alert/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{AppContainer.js.map → AppContainer.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.node.js.map → index-test.node.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{renderApplication.js.map → renderApplication.cjs.map} +0 -0
- /package/dist/cjs/AppState/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/AppState/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Appearance/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/BackHandler/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Clipboard/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{DeviceEmitter.js.map → DeviceEmitter.cjs.map} +0 -0
- /package/dist/cjs/DeviceInfo/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Dimensions/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/Dimensions/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/I18nManager/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Image/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Image/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/ImageBackground/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/ImageBackground/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Keyboard/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/KeyboardAvoidingView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Linking/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/Linking/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/LogBox/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalAnimation.js.map → ModalAnimation.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalContent.js.map → ModalContent.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalFocusTrap.js.map → ModalFocusTrap.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalPortal.js.map → ModalPortal.cjs.map} +0 -0
- /package/dist/cjs/Modal/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/NativeModules/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/PanResponder/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/PixelRatio/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Pressable/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/RefreshControl/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/SafeAreaView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/ScrollView/{ScrollViewBase.js.map → ScrollViewBase.cjs.map} +0 -0
- /package/dist/cjs/ScrollView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Share/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/StatusBar/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Text/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Text/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/TextInput/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/TextInput/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/TextInput/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/{TouchableOpacity.js.map → TouchableOpacity.cjs.map} +0 -0
- /package/dist/cjs/{TouchableWithoutFeedback.js.map → TouchableWithoutFeedback.cjs.map} +0 -0
- /package/dist/cjs/{UnimplementedView.js.map → UnimplementedView.cjs.map} +0 -0
- /package/dist/cjs/Vibration/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/View/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/View/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/createElement/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/createElement/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{createReactDOMStyle.js.map → createReactDOMStyle.cjs.map} +0 -0
- /package/dist/cjs/{findNodeHandle.js.map → findNodeHandle.cjs.map} +0 -0
- /package/dist/cjs/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/render/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{styleTypes.js.map → styleTypes.cjs.map} +0 -0
- /package/dist/cjs/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/useColorScheme/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/useLocaleContext/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/useWindowDimensions/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Animated.js.map → Animated.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.js.map → AnimatedEvent.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.js.map → AnimatedImplementation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.js.map → AnimatedMock.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.js.map → AnimatedPlatformConfig.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Easing.js.map → Easing.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.js.map → NativeAnimatedHelper.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.js.map → NativeAnimatedModule.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.js.map → NativeAnimatedTurboModule.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.js.map → SpringConfig.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.js.map → Animation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.js.map → DecayAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.js.map → SpringAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.js.map → TimingAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{bezier.js.map → bezier.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.js.map → AnimatedImage.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.js.map → AnimatedScrollView.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.js.map → AnimatedText.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.js.map → AnimatedView.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.js.map → createAnimatedComponent.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.js.map → AnimatedAddition.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.js.map → AnimatedColor.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.js.map → AnimatedDiffClamp.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.js.map → AnimatedDivision.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js.map → AnimatedInterpolation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.js.map → AnimatedModulo.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.js.map → AnimatedMultiplication.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.js.map → AnimatedNode.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.js.map → AnimatedProps.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.js.map → AnimatedStyle.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.js.map → AnimatedSubtraction.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.js.map → AnimatedTracking.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.js.map → AnimatedTransform.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.js.map → AnimatedValue.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.js.map → AnimatedValueXY.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.js.map → AnimatedWithChildren.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.js.map → useAnimatedProps.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/{FeatureFlags.js.map → FeatureFlags.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.js.map → RCTDeviceEventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/PanResponder/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.js.map → RCTExport.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.js.map → TurboModuleRegistry.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.js.map → CoreEventTypes.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.js.map → setAndForwardRef.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.js.map → EventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.js.map → EventSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.js.map → _EmitterSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.js.map → _EventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.js.map → _EventSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.js.map → _EventSubscriptionVendor.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/infoLog/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/{useRefEffect.js.map → useRefEffect.cjs.map} +0 -0
- /package/dist/cjs/{without-animated.js.map → without-animated.cjs.map} +0 -0
|
@@ -1,81 +1,82 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var AnimatedInterpolation_exports = {};
|
|
25
35
|
__export(AnimatedInterpolation_exports, {
|
|
26
36
|
default: () => AnimatedInterpolation_default
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(AnimatedInterpolation_exports);
|
|
29
|
-
var import_normalize_css_color = __toESM(require("@tamagui/normalize-css-color")),
|
|
39
|
+
var import_normalize_css_color = __toESM(require("@tamagui/normalize-css-color")),
|
|
40
|
+
import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
41
|
+
import_NativeAnimatedHelper = __toESM(require("../NativeAnimatedHelper.cjs")),
|
|
42
|
+
import_AnimatedWithChildren = __toESM(require("./AnimatedWithChildren.cjs")),
|
|
43
|
+
__DEV__ = process.env.NODE_ENV !== "production",
|
|
44
|
+
linear = t => t;
|
|
30
45
|
function createInterpolation(config) {
|
|
31
|
-
if (config.outputRange && typeof config.outputRange[0] == "string")
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
__DEV__ && (checkInfiniteRange("outputRange", outputRange), checkInfiniteRange("inputRange", inputRange), checkValidInputRange(inputRange), (0, import_react_native_web_internals.invariant)(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
));
|
|
38
|
-
var easing = config.easing || linear, extrapolateLeft = "extend";
|
|
46
|
+
if (config.outputRange && typeof config.outputRange[0] == "string") return createInterpolationFromStringOutputRange(config);
|
|
47
|
+
var outputRange = config.outputRange,
|
|
48
|
+
inputRange = config.inputRange;
|
|
49
|
+
__DEV__ && (checkInfiniteRange("outputRange", outputRange), checkInfiniteRange("inputRange", inputRange), checkValidInputRange(inputRange), (0, import_react_native_web_internals.invariant)(inputRange.length === outputRange.length, "inputRange (" + inputRange.length + ") and outputRange (" + outputRange.length + ") must have the same length"));
|
|
50
|
+
var easing = config.easing || linear,
|
|
51
|
+
extrapolateLeft = "extend";
|
|
39
52
|
config.extrapolateLeft !== void 0 ? extrapolateLeft = config.extrapolateLeft : config.extrapolate !== void 0 && (extrapolateLeft = config.extrapolate);
|
|
40
53
|
var extrapolateRight = "extend";
|
|
41
|
-
return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate),
|
|
42
|
-
(0, import_react_native_web_internals.invariant)(
|
|
43
|
-
typeof input == "number",
|
|
44
|
-
"Cannot interpolation an input which is not a number"
|
|
45
|
-
);
|
|
54
|
+
return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate), input => {
|
|
55
|
+
(0, import_react_native_web_internals.invariant)(typeof input == "number", "Cannot interpolation an input which is not a number");
|
|
46
56
|
var range = findRange(input, inputRange);
|
|
47
|
-
return interpolate(
|
|
48
|
-
input,
|
|
49
|
-
inputRange[range],
|
|
50
|
-
inputRange[range + 1],
|
|
51
|
-
outputRange[range],
|
|
52
|
-
outputRange[range + 1],
|
|
53
|
-
easing,
|
|
54
|
-
extrapolateLeft,
|
|
55
|
-
extrapolateRight
|
|
56
|
-
);
|
|
57
|
+
return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight);
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight) {
|
|
60
61
|
var result = input;
|
|
61
62
|
if (result < inputMin) {
|
|
62
|
-
if (extrapolateLeft === "identity")
|
|
63
|
-
return result;
|
|
63
|
+
if (extrapolateLeft === "identity") return result;
|
|
64
64
|
extrapolateLeft === "clamp" && (result = inputMin);
|
|
65
65
|
}
|
|
66
66
|
if (result > inputMax) {
|
|
67
|
-
if (extrapolateRight === "identity")
|
|
68
|
-
return result;
|
|
67
|
+
if (extrapolateRight === "identity") return result;
|
|
69
68
|
extrapolateRight === "clamp" && (result = inputMax);
|
|
70
69
|
}
|
|
71
70
|
return outputMin === outputMax ? outputMin : inputMin === inputMax ? input <= inputMin ? outputMin : outputMax : (inputMin === -1 / 0 ? result = -result : inputMax === 1 / 0 ? result = result - inputMin : result = (result - inputMin) / (inputMax - inputMin), result = easing(result), outputMin === -1 / 0 ? result = -result : outputMax === 1 / 0 ? result = result + outputMin : result = result * (outputMax - outputMin) + outputMin, result);
|
|
72
71
|
}
|
|
73
72
|
function colorToRgba(input) {
|
|
74
73
|
var normalizedColor = (0, import_normalize_css_color.default)(input);
|
|
75
|
-
if (normalizedColor === null || typeof normalizedColor != "number")
|
|
76
|
-
return input;
|
|
74
|
+
if (normalizedColor === null || typeof normalizedColor != "number") return input;
|
|
77
75
|
normalizedColor = normalizedColor || 0;
|
|
78
|
-
var r = (normalizedColor & 4278190080) >>> 24,
|
|
76
|
+
var r = (normalizedColor & 4278190080) >>> 24,
|
|
77
|
+
g = (normalizedColor & 16711680) >>> 16,
|
|
78
|
+
b = (normalizedColor & 65280) >>> 8,
|
|
79
|
+
a = (normalizedColor & 255) / 255;
|
|
79
80
|
return "rgba(" + r + ", " + g + ", " + b + ", " + a + ")";
|
|
80
81
|
}
|
|
81
82
|
var stringShapeRegex = /[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;
|
|
@@ -83,16 +84,17 @@ function createInterpolationFromStringOutputRange(config) {
|
|
|
83
84
|
var outputRange = config.outputRange;
|
|
84
85
|
(0, import_react_native_web_internals.invariant)(outputRange.length >= 2, "Bad output range"), outputRange = outputRange.map(colorToRgba), checkPattern(outputRange);
|
|
85
86
|
var outputRanges = outputRange[0].match(stringShapeRegex).map(() => []);
|
|
86
|
-
outputRange.forEach(
|
|
87
|
+
outputRange.forEach(value => {
|
|
87
88
|
value.match(stringShapeRegex).forEach((number, i) => {
|
|
88
89
|
outputRanges[i].push(+number);
|
|
89
90
|
});
|
|
90
91
|
});
|
|
91
92
|
var interpolations = outputRange[0].match(stringShapeRegex).map((value, i) => createInterpolation({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
...config,
|
|
94
|
+
outputRange: outputRanges[i]
|
|
95
|
+
})),
|
|
96
|
+
shouldRound = isRgbOrRgba(outputRange[0]);
|
|
97
|
+
return input => {
|
|
96
98
|
var i = 0;
|
|
97
99
|
return outputRange[0].replace(stringShapeRegex, () => {
|
|
98
100
|
var val = +interpolations[i++](input);
|
|
@@ -104,33 +106,25 @@ function isRgbOrRgba(range) {
|
|
|
104
106
|
return typeof range == "string" && range.startsWith("rgb");
|
|
105
107
|
}
|
|
106
108
|
function checkPattern(arr) {
|
|
107
|
-
for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i)
|
|
108
|
-
(0, import_react_native_web_internals.invariant)(
|
|
109
|
-
pattern === arr[i].replace(stringShapeRegex, ""),
|
|
110
|
-
"invalid pattern " + arr[0] + " and " + arr[i]
|
|
111
|
-
);
|
|
109
|
+
for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i) (0, import_react_native_web_internals.invariant)(pattern === arr[i].replace(stringShapeRegex, ""), "invalid pattern " + arr[0] + " and " + arr[i]);
|
|
112
110
|
}
|
|
113
111
|
function findRange(input, inputRange) {
|
|
114
112
|
var i;
|
|
115
|
-
for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i)
|
|
116
|
-
;
|
|
113
|
+
for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i);
|
|
117
114
|
return i - 1;
|
|
118
115
|
}
|
|
119
116
|
function checkValidInputRange(arr) {
|
|
120
117
|
(0, import_react_native_web_internals.invariant)(arr.length >= 2, "inputRange must have at least 2 elements");
|
|
121
|
-
for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i)
|
|
122
|
-
(0, import_react_native_web_internals.invariant)(arr[i] >= arr[i - 1], message);
|
|
118
|
+
for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i) (0, import_react_native_web_internals.invariant)(arr[i] >= arr[i - 1], message);
|
|
123
119
|
}
|
|
124
120
|
function checkInfiniteRange(name, arr) {
|
|
125
|
-
(0, import_react_native_web_internals.invariant)(arr.length >= 2, name + " must have at least 2 elements"), (0, import_react_native_web_internals.invariant)(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
name + "cannot be ]-infinity;+infinity[ " + arr
|
|
133
|
-
);
|
|
121
|
+
(0, import_react_native_web_internals.invariant)(arr.length >= 2, name + " must have at least 2 elements"), (0, import_react_native_web_internals.invariant)(arr.length !== 2 || arr[0] !== -1 / 0 || arr[1] !== 1 / 0,
|
|
122
|
+
/* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression
|
|
123
|
+
* below this comment, one or both of the operands may be something that
|
|
124
|
+
* doesn't cleanly convert to a string, like undefined, null, and object,
|
|
125
|
+
* etc. If you really mean this implicit string conversion, you can do
|
|
126
|
+
* something like String(myThing) */
|
|
127
|
+
name + "cannot be ]-infinity;+infinity[ " + arr);
|
|
134
128
|
}
|
|
135
129
|
class AnimatedInterpolation extends import_AnimatedWithChildren.default {
|
|
136
130
|
// Export for testing.
|
|
@@ -142,10 +136,7 @@ class AnimatedInterpolation extends import_AnimatedWithChildren.default {
|
|
|
142
136
|
}
|
|
143
137
|
__getValue() {
|
|
144
138
|
var parentValue = this._parent.__getValue();
|
|
145
|
-
return (0, import_react_native_web_internals.invariant)(
|
|
146
|
-
typeof parentValue == "number",
|
|
147
|
-
"Cannot interpolate an input which is not a number."
|
|
148
|
-
), this._interpolation(parentValue);
|
|
139
|
+
return (0, import_react_native_web_internals.invariant)(typeof parentValue == "number", "Cannot interpolate an input which is not a number."), this._interpolation(parentValue);
|
|
149
140
|
}
|
|
150
141
|
interpolate(config) {
|
|
151
142
|
return new AnimatedInterpolation(this, config);
|
|
@@ -171,5 +162,4 @@ class AnimatedInterpolation extends import_AnimatedWithChildren.default {
|
|
|
171
162
|
}
|
|
172
163
|
}
|
|
173
164
|
AnimatedInterpolation.__createInterpolation = createInterpolation;
|
|
174
|
-
var AnimatedInterpolation_default = AnimatedInterpolation;
|
|
175
|
-
//# sourceMappingURL=AnimatedInterpolation.js.map
|
|
165
|
+
var AnimatedInterpolation_default = AnimatedInterpolation;
|
package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.js → AnimatedModulo.cjs}
RENAMED
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var AnimatedModulo_exports = {};
|
|
25
35
|
__export(AnimatedModulo_exports, {
|
|
26
36
|
default: () => AnimatedModulo_default
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(AnimatedModulo_exports);
|
|
29
|
-
var import_AnimatedInterpolation = __toESM(require("./AnimatedInterpolation")),
|
|
39
|
+
var import_AnimatedInterpolation = __toESM(require("./AnimatedInterpolation.cjs")),
|
|
40
|
+
import_AnimatedWithChildren = __toESM(require("./AnimatedWithChildren.cjs"));
|
|
30
41
|
class AnimatedModulo extends import_AnimatedWithChildren.default {
|
|
31
42
|
constructor(a, modulus) {
|
|
32
43
|
super(), this._a = a, this._modulus = modulus;
|
|
@@ -54,5 +65,4 @@ class AnimatedModulo extends import_AnimatedWithChildren.default {
|
|
|
54
65
|
};
|
|
55
66
|
}
|
|
56
67
|
}
|
|
57
|
-
var AnimatedModulo_default = AnimatedModulo;
|
|
58
|
-
//# sourceMappingURL=AnimatedModulo.js.map
|
|
68
|
+
var AnimatedModulo_default = AnimatedModulo;
|
|
@@ -1,32 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var AnimatedMultiplication_exports = {};
|
|
25
35
|
__export(AnimatedMultiplication_exports, {
|
|
26
36
|
default: () => AnimatedMultiplication_default
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(AnimatedMultiplication_exports);
|
|
29
|
-
var import_AnimatedInterpolation = __toESM(require("./AnimatedInterpolation")),
|
|
39
|
+
var import_AnimatedInterpolation = __toESM(require("./AnimatedInterpolation.cjs")),
|
|
40
|
+
import_AnimatedValue = __toESM(require("./AnimatedValue.cjs")),
|
|
41
|
+
import_AnimatedWithChildren = __toESM(require("./AnimatedWithChildren.cjs"));
|
|
30
42
|
class AnimatedMultiplication extends import_AnimatedWithChildren.default {
|
|
31
43
|
constructor(a, b) {
|
|
32
44
|
super(), this._a = typeof a == "number" ? new import_AnimatedValue.default(a) : a, this._b = typeof b == "number" ? new import_AnimatedValue.default(b) : b;
|
|
@@ -53,5 +65,4 @@ class AnimatedMultiplication extends import_AnimatedWithChildren.default {
|
|
|
53
65
|
};
|
|
54
66
|
}
|
|
55
67
|
}
|
|
56
|
-
var AnimatedMultiplication_default = AnimatedMultiplication;
|
|
57
|
-
//# sourceMappingURL=AnimatedMultiplication.js.map
|
|
68
|
+
var AnimatedMultiplication_default = AnimatedMultiplication;
|
|
@@ -1,47 +1,56 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var AnimatedNode_exports = {};
|
|
25
35
|
__export(AnimatedNode_exports, {
|
|
26
36
|
default: () => AnimatedNode_default
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(AnimatedNode_exports);
|
|
29
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
+
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
40
|
+
import_NativeAnimatedHelper = __toESM(require("../NativeAnimatedHelper.cjs")),
|
|
41
|
+
NativeAnimatedAPI = import_NativeAnimatedHelper.default.API,
|
|
42
|
+
_uniqueId = 1;
|
|
30
43
|
class AnimatedNode {
|
|
31
|
-
__attach() {
|
|
32
|
-
}
|
|
44
|
+
__attach() {}
|
|
33
45
|
__detach() {
|
|
34
46
|
this.__isNative && this.__nativeTag != null && (import_NativeAnimatedHelper.default.API.dropAnimatedNode(this.__nativeTag), this.__nativeTag = void 0);
|
|
35
47
|
}
|
|
36
|
-
__getValue() {
|
|
37
|
-
}
|
|
48
|
+
__getValue() {}
|
|
38
49
|
__getAnimatedValue() {
|
|
39
50
|
return this.__getValue();
|
|
40
51
|
}
|
|
41
|
-
__addChild(child) {
|
|
42
|
-
}
|
|
43
|
-
__removeChild(child) {
|
|
44
|
-
}
|
|
52
|
+
__addChild(child) {}
|
|
53
|
+
__removeChild(child) {}
|
|
45
54
|
__getChildren() {
|
|
46
55
|
return [];
|
|
47
56
|
}
|
|
@@ -50,8 +59,7 @@ class AnimatedNode {
|
|
|
50
59
|
this._listeners = {};
|
|
51
60
|
}
|
|
52
61
|
__makeNative(platformConfig) {
|
|
53
|
-
if (!this.__isNative)
|
|
54
|
-
throw new Error('This node cannot be made a "native" animated node');
|
|
62
|
+
if (!this.__isNative) throw new Error('This node cannot be made a "native" animated node');
|
|
55
63
|
this._platformConfig = platformConfig, this.hasListeners() && this._startListeningToNativeValueUpdates();
|
|
56
64
|
}
|
|
57
65
|
/**
|
|
@@ -86,31 +94,24 @@ class AnimatedNode {
|
|
|
86
94
|
return !!Object.keys(this._listeners).length;
|
|
87
95
|
}
|
|
88
96
|
_startListeningToNativeValueUpdates() {
|
|
89
|
-
this.__nativeAnimatedValueListener && !this.__shouldUpdateListenersForNewNativeTag || (this.__shouldUpdateListenersForNewNativeTag && (this.__shouldUpdateListenersForNewNativeTag = !1, this._stopListeningForNativeValueUpdates()), NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag()), this.__nativeAnimatedValueListener = import_NativeAnimatedHelper.default.nativeEventEmitter.addListener(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
data.tag === this.__getNativeTag() && this.__onAnimatedValueUpdateReceived(data.value);
|
|
93
|
-
}
|
|
94
|
-
));
|
|
97
|
+
this.__nativeAnimatedValueListener && !this.__shouldUpdateListenersForNewNativeTag || (this.__shouldUpdateListenersForNewNativeTag && (this.__shouldUpdateListenersForNewNativeTag = !1, this._stopListeningForNativeValueUpdates()), NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag()), this.__nativeAnimatedValueListener = import_NativeAnimatedHelper.default.nativeEventEmitter.addListener("onAnimatedValueUpdate", data => {
|
|
98
|
+
data.tag === this.__getNativeTag() && this.__onAnimatedValueUpdateReceived(data.value);
|
|
99
|
+
}));
|
|
95
100
|
}
|
|
96
101
|
__onAnimatedValueUpdateReceived(value) {
|
|
97
102
|
this.__callListeners(value);
|
|
98
103
|
}
|
|
99
104
|
__callListeners(value) {
|
|
100
|
-
for (var _key in this._listeners)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
});
|
|
105
|
+
for (var _key in this._listeners) this._listeners[_key]({
|
|
106
|
+
value
|
|
107
|
+
});
|
|
104
108
|
}
|
|
105
109
|
_stopListeningForNativeValueUpdates() {
|
|
106
110
|
this.__nativeAnimatedValueListener && (this.__nativeAnimatedValueListener.remove(), this.__nativeAnimatedValueListener = null, NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag()));
|
|
107
111
|
}
|
|
108
112
|
__getNativeTag() {
|
|
109
113
|
var _this$__nativeTag;
|
|
110
|
-
import_NativeAnimatedHelper.default.assertNativeAnimatedModule(), (0, import_react_native_web_internals.invariant)(
|
|
111
|
-
this.__isNative,
|
|
112
|
-
'Attempt to get native tag from node not marked as "native"'
|
|
113
|
-
);
|
|
114
|
+
import_NativeAnimatedHelper.default.assertNativeAnimatedModule(), (0, import_react_native_web_internals.invariant)(this.__isNative, 'Attempt to get native tag from node not marked as "native"');
|
|
114
115
|
var nativeTag = (_this$__nativeTag = this.__nativeTag) !== null && _this$__nativeTag !== void 0 ? _this$__nativeTag : import_NativeAnimatedHelper.default.generateNewNodeTag();
|
|
115
116
|
if (this.__nativeTag == null) {
|
|
116
117
|
this.__nativeTag = nativeTag;
|
|
@@ -132,5 +133,4 @@ class AnimatedNode {
|
|
|
132
133
|
this._platformConfig = platformConfig;
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
|
-
var AnimatedNode_default = AnimatedNode;
|
|
136
|
-
//# sourceMappingURL=AnimatedNode.js.map
|
|
136
|
+
var AnimatedNode_default = AnimatedNode;
|
|
@@ -1,35 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var AnimatedProps_exports = {};
|
|
25
35
|
__export(AnimatedProps_exports, {
|
|
26
36
|
default: () => AnimatedProps_default
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(AnimatedProps_exports);
|
|
29
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
39
|
+
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
40
|
+
import_AnimatedEvent = require("../AnimatedEvent.cjs"),
|
|
41
|
+
import_NativeAnimatedHelper = __toESM(require("../NativeAnimatedHelper.cjs")),
|
|
42
|
+
import_AnimatedNode = __toESM(require("./AnimatedNode.cjs")),
|
|
43
|
+
import_AnimatedStyle = __toESM(require("./AnimatedStyle.cjs"));
|
|
30
44
|
class AnimatedProps extends import_AnimatedNode.default {
|
|
31
45
|
constructor(props, callback) {
|
|
32
|
-
super(), props.style && (props = {
|
|
46
|
+
super(), props.style && (props = {
|
|
47
|
+
...props,
|
|
48
|
+
style: new import_AnimatedStyle.default(props.style)
|
|
49
|
+
}), this._props = props, this._callback = callback, this.__attach();
|
|
33
50
|
}
|
|
34
51
|
__getValue() {
|
|
35
52
|
var props = {};
|
|
@@ -80,18 +97,12 @@ class AnimatedProps extends import_AnimatedNode.default {
|
|
|
80
97
|
__connectAnimatedView() {
|
|
81
98
|
(0, import_react_native_web_internals.invariant)(this.__isNative, 'Expected node to be marked as "native"');
|
|
82
99
|
var nativeViewTag = this._animatedView;
|
|
83
|
-
(0, import_react_native_web_internals.invariant)(nativeViewTag != null, "Unable to locate attached view in the native tree"), import_NativeAnimatedHelper.default.API.connectAnimatedNodeToView(
|
|
84
|
-
this.__getNativeTag(),
|
|
85
|
-
nativeViewTag
|
|
86
|
-
);
|
|
100
|
+
(0, import_react_native_web_internals.invariant)(nativeViewTag != null, "Unable to locate attached view in the native tree"), import_NativeAnimatedHelper.default.API.connectAnimatedNodeToView(this.__getNativeTag(), nativeViewTag);
|
|
87
101
|
}
|
|
88
102
|
__disconnectAnimatedView() {
|
|
89
103
|
(0, import_react_native_web_internals.invariant)(this.__isNative, 'Expected node to be marked as "native"');
|
|
90
104
|
var nativeViewTag = this._animatedView;
|
|
91
|
-
(0, import_react_native_web_internals.invariant)(nativeViewTag != null, "Unable to locate attached view in the native tree"), import_NativeAnimatedHelper.default.API.disconnectAnimatedNodeFromView(
|
|
92
|
-
this.__getNativeTag(),
|
|
93
|
-
nativeViewTag
|
|
94
|
-
);
|
|
105
|
+
(0, import_react_native_web_internals.invariant)(nativeViewTag != null, "Unable to locate attached view in the native tree"), import_NativeAnimatedHelper.default.API.disconnectAnimatedNodeFromView(this.__getNativeTag(), nativeViewTag);
|
|
95
106
|
}
|
|
96
107
|
__restoreDefaultValues() {
|
|
97
108
|
this.__isNative && import_NativeAnimatedHelper.default.API.restoreDefaultValues(this.__getNativeTag());
|
|
@@ -108,5 +119,4 @@ class AnimatedProps extends import_AnimatedNode.default {
|
|
|
108
119
|
};
|
|
109
120
|
}
|
|
110
121
|
}
|
|
111
|
-
var AnimatedProps_default = AnimatedProps;
|
|
112
|
-
//# sourceMappingURL=AnimatedProps.js.map
|
|
122
|
+
var AnimatedProps_default = AnimatedProps;
|