Comparing version 1.1.0 to 1.1.1
import * as React from 'react'; | ||
import { MotionStatus, MotionEvent, MotionEventHandler } from './interface'; | ||
import { MotionStatus, MotionEventHandler, MotionEndEventHandler } from './interface'; | ||
export declare type CSSMotionConfig = boolean | { | ||
@@ -8,3 +8,2 @@ transitionSupport?: boolean; | ||
}; | ||
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void; | ||
export declare type MotionName = string | { | ||
@@ -11,0 +10,0 @@ appear?: string; |
import CSSMotion, { CSSMotionProps } from './CSSMotion'; | ||
import CSSMotionList, { CSSMotionListProps } from './CSSMotionList'; | ||
export { CSSMotionProps, CSSMotionList, CSSMotionListProps }; | ||
import { MotionEventHandler, MotionEndEventHandler } from './interface'; | ||
export { CSSMotionProps, CSSMotionList, CSSMotionListProps, MotionEventHandler, MotionEndEventHandler, }; | ||
export default CSSMotion; |
@@ -11,1 +11,2 @@ /// <reference types="react" /> | ||
export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void; | ||
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void; |
import * as React from 'react'; | ||
import { MotionStatus, MotionEvent, MotionEventHandler } from './interface'; | ||
import { MotionStatus, MotionEventHandler, MotionEndEventHandler } from './interface'; | ||
export declare type CSSMotionConfig = boolean | { | ||
@@ -8,3 +8,2 @@ transitionSupport?: boolean; | ||
}; | ||
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void; | ||
export declare type MotionName = string | { | ||
@@ -11,0 +10,0 @@ appear?: string; |
import CSSMotion, { CSSMotionProps } from './CSSMotion'; | ||
import CSSMotionList, { CSSMotionListProps } from './CSSMotionList'; | ||
export { CSSMotionProps, CSSMotionList, CSSMotionListProps }; | ||
import { MotionEventHandler, MotionEndEventHandler } from './interface'; | ||
export { CSSMotionProps, CSSMotionList, CSSMotionListProps, MotionEventHandler, MotionEndEventHandler, }; | ||
export default CSSMotion; |
@@ -11,1 +11,2 @@ /// <reference types="react" /> | ||
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": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
70204
1512