Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-motion

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-motion - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

2

es/hooks/useStepQueue.d.ts

@@ -7,3 +7,3 @@ import { StepStatus } from '../interface';

export declare function isActive(step: StepStatus): boolean;
declare const _default: (callback: (step: StepStatus) => Promise<void> | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
declare const _default: (callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
export default _default;

@@ -16,4 +16,4 @@ /// <reference types="react" />

};
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any>;
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any> | void;
export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void;
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void;

@@ -7,3 +7,3 @@ import { StepStatus } from '../interface';

export declare function isActive(step: StepStatus): boolean;
declare const _default: (callback: (step: StepStatus) => Promise<void> | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
declare const _default: (callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus];
export default _default;

@@ -16,4 +16,4 @@ /// <reference types="react" />

};
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any>;
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any> | void;
export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void;
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void;
{
"name": "rc-motion",
"version": "2.3.0",
"version": "2.3.1",
"description": "React lifecycle controlled motion library",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc