use-parallax
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1,5 +0,10 @@ | ||
export declare function usePositiveOffset(offset: any): import("framer-motion").MotionValue<any>; | ||
export declare function useSpeed(positiveOffset: any, ...rangeSpeedPairs: any[]): import("framer-motion").MotionValue<any>; | ||
export declare function useSticky(positiveOffset: any, ...ranges: any[]): import("framer-motion").MotionValue<any>; | ||
export declare function useParallax(positiveOffset: any, ...rangeFunPairs: any[]): import("framer-motion").MotionValue<any>; | ||
export declare function useTrigger(positiveOffset: any, range: any, actionFun: any): void; | ||
import { MotionValue } from "framer-motion"; | ||
export declare function usePositiveOffset(offset: MotionValue): MotionValue<any>; | ||
declare type Range = number[]; | ||
declare type RangeSpeedPair = Range | number; | ||
export declare function useSpeed(positiveOffset: MotionValue, ...rangeSpeedPairs: RangeSpeedPair[]): MotionValue<any>; | ||
export declare function useSticky(positiveOffset: MotionValue, ...ranges: Range[]): MotionValue<any>; | ||
export declare function useParallax(positiveOffset: MotionValue, ...rangeFunPairs: any[]): MotionValue<any>; | ||
declare type TriggerCallback = (direction: number) => void; | ||
export declare function useTrigger(positiveOffset: MotionValue, range: Range, actionFun: TriggerCallback): void; | ||
export {}; |
{ | ||
"name": "use-parallax", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "React Hooks to support scroll interactions along based on the Framer Motion library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6707
8
113
0