@atlaskit/motion
Advanced tools
Comparing version 0.4.6 to 0.4.7
# @atlaskit/motion | ||
## 0.4.7 | ||
### Patch Changes | ||
- [`9d9f1490c22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d9f1490c22) - @atlaskit/motion now supports multi entry-points. Users can now import only the parts of this module they need, reducing the size of your final bundle. | ||
Entry-points include: | ||
``` | ||
@atlaskit/motion/curves | ||
@atlaskit/motion/durations | ||
@atlaskit/motion/accessibility | ||
@atlaskit/motion/exiting-persistence | ||
@atlaskit/motion/fade-in | ||
@atlaskit/motion/slide-in | ||
@atlaskit/motion/zoom-in | ||
@atlaskit/motion/shrink-out | ||
@atlaskit/motion/staggered-entrance | ||
``` | ||
## 0.4.6 | ||
@@ -4,0 +24,0 @@ |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"sideEffects": false | ||
} |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
declare type ChildNode = ChildElement[] | ChildElement; | ||
interface ExitingPersistenceProps { | ||
export interface ExitingPersistenceProps { | ||
/** | ||
@@ -13,0 +13,0 @@ * Children can be any valid react node. |
import React from 'react'; | ||
import { MotionProps } from './types'; | ||
interface ShrinkOutProps extends MotionProps<{ | ||
export interface ShrinkOutProps extends MotionProps<{ | ||
ref: React.Ref<any>; | ||
@@ -5,0 +5,0 @@ }> { |
import React, { Ref } from 'react'; | ||
interface StaggeredEntranceProps { | ||
export interface StaggeredEntranceProps { | ||
/** | ||
@@ -4,0 +4,0 @@ * Delay in ms. |
@@ -5,8 +5,12 @@ export { durationStep, largeDurationMs, mediumDurationMs, smallDurationMs, } from './utils/durations'; | ||
export { default as FadeIn, fadeInAnimation } from './entering/fade-in'; | ||
export type { FadeKeyframesMotionProps } from './entering/fade-in'; | ||
export { default as StaggeredEntrance } from './entering/staggered-entrance'; | ||
export type { StaggeredEntranceProps } from './entering/staggered-entrance'; | ||
export { useResizingHeight, ResizingHeight } from './resizing/height'; | ||
export { default as ExitingPersistence } from './entering/exiting-persistence'; | ||
export type { ExitingPersistenceProps } from './entering/exiting-persistence'; | ||
export { default as ZoomIn, zoomInAnimation, shrinkOutAnimation, } from './entering/zoom-in'; | ||
export { default as SlideIn, slideInAnimation } from './entering/slide-in'; | ||
export { default as ShrinkOut } from './entering/shrink-out'; | ||
export type { ShrinkOutProps } from './entering/shrink-out'; | ||
export type { Transition, Direction } from './entering/types'; |
{ | ||
"name": "@atlaskit/motion", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "Atlassian motion variables, components and more.", | ||
@@ -16,6 +16,18 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"af:exports": { | ||
".": "./src/index.tsx", | ||
"./types": "./src/entry-points/types.ts", | ||
"./curves": "./src/entry-points/curves.ts", | ||
"./durations": "./src/entry-points/durations.ts", | ||
"./accessibility": "./src/entry-points/accessibility.ts", | ||
"./exiting-persistence": "./src/entry-points/exiting-persistence.ts", | ||
"./fade-in": "./src/entry-points/fade-in.ts", | ||
"./slide-in": "./src/entry-points/slide-in.ts", | ||
"./zoom-in": "./src/entry-points/zoom-in.ts", | ||
"./shrink-out": "./src/entry-points/shrink-out.ts", | ||
"./staggered-entrance": "./src/entry-points/staggered-entrance.ts" | ||
}, | ||
"atlaskit:src": "src/index.tsx", | ||
"atlassian": { | ||
"team": "Design System Team", | ||
"deprecatedAutoEntryPoints": true, | ||
"inPublicMirror": true, | ||
@@ -22,0 +34,0 @@ "releaseModel": "scheduled", |
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
148203
134
3161