@atlaskit/motion
Advanced tools
Comparing version 1.4.2 to 1.4.3
# @atlaskit/motion | ||
## 1.4.3 | ||
### Patch Changes | ||
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers. | ||
## 1.4.2 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"sideEffects": false | ||
} |
@@ -44,4 +44,4 @@ import React, { ReactNode } from 'react'; | ||
*/ | ||
declare const ExitingPersistence: React.FC<ExitingPersistenceProps>; | ||
declare const ExitingPersistence: React.MemoExoticComponent<({ appear: appearFromProp, children: childs, exitThenEnter, }: ExitingPersistenceProps) => any>; | ||
export declare const useExitingPersistence: () => ExitingChildContext; | ||
export default ExitingPersistence; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -34,3 +34,3 @@ import { KeyframesMotionProps } from './keyframes-motion'; | ||
*/ | ||
declare const FadeIn: React.FC<FadeKeyframesMotionProps>; | ||
declare const FadeIn: ({ children, duration, entranceDirection, exitDirection, distance, onFinish, isPaused, }: FadeKeyframesMotionProps) => JSX.Element; | ||
export default FadeIn; |
@@ -1,2 +0,2 @@ | ||
import React, { Ref } from 'react'; | ||
import { Ref } from 'react'; | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -43,3 +43,3 @@ import { MotionProps, Transition } from './types'; | ||
*/ | ||
declare const EnteringMotion: React.FC<InternalKeyframesMotionProps>; | ||
declare const EnteringMotion: ({ children, animationTimingFunction, enteringAnimation, exitingAnimation, isPaused, onFinish: onFinishMotion, duration, }: InternalKeyframesMotionProps) => JSX.Element; | ||
export default EnteringMotion; |
@@ -15,3 +15,3 @@ import React from 'react'; | ||
*/ | ||
declare const ShrinkOut: React.FC<ShrinkOutProps>; | ||
declare const ShrinkOut: ({ children, duration, onFinish, }: ShrinkOutProps) => any; | ||
export default ShrinkOut; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -46,3 +46,3 @@ import { AnimationCurve } from '../utils/curves'; | ||
*/ | ||
declare const SlideIn: React.FC<SlideInProps>; | ||
declare const SlideIn: ({ children, enterFrom, exitTo, fade, duration, isPaused, onFinish, animationTimingFunction, }: SlideInProps) => JSX.Element; | ||
export default SlideIn; |
@@ -1,2 +0,2 @@ | ||
import React, { Ref } from 'react'; | ||
import { Ref } from 'react'; | ||
export interface StaggeredEntranceProps { | ||
@@ -43,3 +43,3 @@ /** | ||
*/ | ||
declare const StaggeredEntrance: React.FC<StaggeredEntranceProps>; | ||
declare const StaggeredEntrance: ({ children, column, columns, delayStep, }: StaggeredEntranceProps) => JSX.Element; | ||
export default StaggeredEntrance; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -13,3 +13,3 @@ import { KeyframesMotionProps } from './keyframes-motion'; | ||
*/ | ||
declare const ZoomIn: React.FC<KeyframesMotionProps>; | ||
declare const ZoomIn: ({ children, duration, isPaused, onFinish, }: KeyframesMotionProps) => JSX.Element; | ||
export default ZoomIn; |
@@ -44,4 +44,4 @@ import React, { ReactNode } from 'react'; | ||
*/ | ||
declare const ExitingPersistence: React.FC<ExitingPersistenceProps>; | ||
declare const ExitingPersistence: React.MemoExoticComponent<({ appear: appearFromProp, children: childs, exitThenEnter, }: ExitingPersistenceProps) => any>; | ||
export declare const useExitingPersistence: () => ExitingChildContext; | ||
export default ExitingPersistence; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -34,3 +34,3 @@ import { KeyframesMotionProps } from './keyframes-motion'; | ||
*/ | ||
declare const FadeIn: React.FC<FadeKeyframesMotionProps>; | ||
declare const FadeIn: ({ children, duration, entranceDirection, exitDirection, distance, onFinish, isPaused, }: FadeKeyframesMotionProps) => JSX.Element; | ||
export default FadeIn; |
@@ -1,2 +0,2 @@ | ||
import React, { Ref } from 'react'; | ||
import { Ref } from 'react'; | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -43,3 +43,3 @@ import { MotionProps, Transition } from './types'; | ||
*/ | ||
declare const EnteringMotion: React.FC<InternalKeyframesMotionProps>; | ||
declare const EnteringMotion: ({ children, animationTimingFunction, enteringAnimation, exitingAnimation, isPaused, onFinish: onFinishMotion, duration, }: InternalKeyframesMotionProps) => JSX.Element; | ||
export default EnteringMotion; |
@@ -15,3 +15,3 @@ import React from 'react'; | ||
*/ | ||
declare const ShrinkOut: React.FC<ShrinkOutProps>; | ||
declare const ShrinkOut: ({ children, duration, onFinish, }: ShrinkOutProps) => any; | ||
export default ShrinkOut; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -46,3 +46,3 @@ import { AnimationCurve } from '../utils/curves'; | ||
*/ | ||
declare const SlideIn: React.FC<SlideInProps>; | ||
declare const SlideIn: ({ children, enterFrom, exitTo, fade, duration, isPaused, onFinish, animationTimingFunction, }: SlideInProps) => JSX.Element; | ||
export default SlideIn; |
@@ -1,2 +0,2 @@ | ||
import React, { Ref } from 'react'; | ||
import { Ref } from 'react'; | ||
export interface StaggeredEntranceProps { | ||
@@ -43,3 +43,3 @@ /** | ||
*/ | ||
declare const StaggeredEntrance: React.FC<StaggeredEntranceProps>; | ||
declare const StaggeredEntrance: ({ children, column, columns, delayStep, }: StaggeredEntranceProps) => JSX.Element; | ||
export default StaggeredEntrance; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
/// <reference types="react" /> | ||
import { CSSObject } from '@emotion/react'; | ||
@@ -13,3 +13,3 @@ import { KeyframesMotionProps } from './keyframes-motion'; | ||
*/ | ||
declare const ZoomIn: React.FC<KeyframesMotionProps>; | ||
declare const ZoomIn: ({ children, duration, isPaused, onFinish, }: KeyframesMotionProps) => JSX.Element; | ||
export default ZoomIn; |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "A set of utilities to apply motion in your application.", | ||
@@ -63,3 +63,3 @@ "publishConfig": { | ||
"@atlaskit/theme": "^12.5.0", | ||
"@atlaskit/tokens": "^1.4.0", | ||
"@atlaskit/tokens": "^1.5.0", | ||
"@atlaskit/visual-regression": "*", | ||
@@ -66,0 +66,0 @@ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", |
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
204789