Staggered entrance
Stagger the entrance of multiple elements in sequence.8.7.0
Minor Changes
c7333edc6dfa2, (opens new window) - UpdateuseMotionso exiting state is available during render and consistently drives exit styles, duration measurement, and completion handling.
Patch Changes
- Updated dependencies
8.6.1
Patch Changes
- Updated dependencies
8.6.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
8.5.1
Patch Changes
e974cd0ae082c, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
8.5.0
Minor Changes
75e41b355abb1, (opens new window) - VOLTC-7 - run volt codemods on @atlaskit/motion
Patch Changes
75e41b355abb1, (opens new window) - ChangeuseExitingPersistenceimport to newly created named export
8.4.2
Patch Changes
- Use
@atlassian/testing-libraryexclusively in unit tests. fae4f6a53e4be, (opens new window) - Render label enter and exit animations throughcssMapin Tag, React Select, Select, and User Picker. Motion now measures concurrent CSS animation lists correctly so the label scale and fade animations complete together.
8.4.1
Patch Changes
-
ef98af289c49b, (opens new window) - Add motion to Tag, AvatarTag, TagDropdownTrigger, Tag Group, Select, React Select, and User Picker tag values. Tags usemotion.label.enterandmotion.label.exitfor entry and exit, while interactive tags and dropdown triggers use the button hover and pressed motion tokens; Tag Dropdown Trigger also fades between its content and loading spinner. The remove control is removed when exit begins so it cannot linger while the tag collapses.Motion is gated by
platform-dst-motion-uplift-labels. Compatibility and adoption paths for the visually uplifted Tag, Tag Group, Select, React Select, and User Picker additionally remain behindplatform-dst-lozenge-tag-badge-visual-uplifts.@atlaskit/react-selectalso adds an optionalonMotionFinishcallback to the exportedMultiValuePropsinterface so the Select can restore its placeholder after the final multi-value exit completes.import Tag from '@atlaskit/tag/new'; <Tag text="Status" />;
8.4.0
Minor Changes
73079cc6f11c2, (opens new window) - VOLTC-7 - run volt codemods on @atlaskit/motion
Patch Changes
73079cc6f11c2, (opens new window) - ChangeuseExitingPersistenceimport to newly created named export
8.3.0
Minor Changes
-
d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.These packages now expose their individual modules via explicit
package.jsonexportssubpaths so that consumers can import directly from the leaf module (e.g.@atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.
Patch Changes
- Updated dependencies
8.2.0
Minor Changes
ad1af6eb0a5ea, (opens new window) - VOLTC-7 - run volt codemods on @atlaskit/motion0075efb228821, (opens new window) - Autofix: barrel removal (imports + exports)
8.1.0
Minor Changes
87c9da1902e16, (opens new window) - VOLTC-7 - run volt codemods on @atlaskit/motion
8.0.0
Major Changes
ae45184d2cd0b, (opens new window) - AddinitialStateoption touseMotionand introduce explicitvisibleandhiddenmotion states (replacing the previousidlestate). This allows consumers to render a component in a pre-hidden state and control the starting point of the motion lifecycle.
7.5.0
Minor Changes
cad86b0c0e613, (opens new window) - Remove hardcoded animationFillMode styles from Motion component — fill-mode is now included in the motion design tokens (AnimationFillModeForwards/AnimationFillModeBackwards) and baked directly into the generated CSS animation shorthands.
Patch Changes
- Updated dependencies
7.4.0
Minor Changes
95ff9f0742fb9, (opens new window) - Added ability to re-animate the exit animation programmatically via the useMotion hook
7.3.1
Patch Changes
- Updated dependencies
7.3.0
Minor Changes
28870bef28294, (opens new window) - AdduseMotionhook so motion can be applied to an existing element without an extra wrapper element. The hook is available from the@atlaskit/motion/use-motionentry point.Motionnow consumes this hook behind theplatform-dst-use-motionfeature gate (no behavioural change while the gate is off).
7.2.0
Minor Changes
-
cd097a2111788, (opens new window) - Republish packages depending on@atlaskit/react-compiler-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.
Patch Changes
- Updated dependencies
7.1.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
7.1.0
Minor Changes
70d7bedfe6c44, (opens new window) - Migrate CustomMotionXCSS type from XCSSProp (@compiled/react) to StrictXCSSProp (@atlaskit/css) for improved type safety and alignment with the UI Styling Standard
7.0.0
Major Changes
-
f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.Removes the
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
6.2.5
Patch Changes
c1d2cea81ac8c, (opens new window) - Fix exiting presence showing stale popup value when key is not provided
6.2.4
Patch Changes
- Updated dependencies
6.2.3
Patch Changes
68077cab1f95d, (opens new window) - Fixed styling related issues behind the new motion uplift
6.2.2
Patch Changes
8c59900bcec05, (opens new window) - Added AI specific motion examples for ADS MCP
6.2.1
Patch Changes
-
69c45287fc0bb, (opens new window) - Simplify motion component examples for ADS skill codegenReduce Motion, ExitingPersistence, StaggeredEntrance, and Resizing from multiple constellation examples to a single focused example each, keeping generated skill reference docs concise for AI consumers.
Also fix
componentToSlugandcomponentsToSkillIndexnot being exported from@atlassian/structured-docs/transforms/component-to-skill-reference, which causedcodegen:skillto fail with a TypeError.
6.2.0
Minor Changes
aef119573f01b, (opens new window) - Autofix: add explicit package exports (barrel removal)
6.1.1
Patch Changes
125ae08eb4dbf, (opens new window) - Added motion structured content- Updated dependencies
6.1.0
Minor Changes
0c29c3e6feae5, (opens new window) - Fixes token based animations in Motion primitive exiting incorrectly
6.0.0
Major Changes
-
88696c5e1a75c, (opens new window) - Replaced experimentaluseResizingWidth/ResizingWidthwith a new genericuseResizing/Resizingexported from@atlaskit/motion/resizing.The new hook accepts a
dimension: 'width' | 'height' | 'both'argument so callers can animate either axis (or both) with a single API. Theduration,easing, andonFinishMotionoptions are unchanged.
5.7.0
Minor Changes
3f856fac603f7, (opens new window) - Motion primitive now can accept a custom motion object defining duration, easing, keyframe and delay. This allows consumers to create more customised entry and exit animations if an applicable motion design token does not exist.
Patch Changes
- Updated dependencies
5.6.1
Patch Changes
- Updated dependencies
5.6.0
Minor Changes
-
7b44d021342cf, (opens new window) - Added new experimentaluseResizingWidthhook andResizingWidthcomponent.This hook and component can be consumed to enable an element to resize its
widthwhen it changes after a state transition.Usage of this component should be carefully considered as it can have a performance impact.
5.5.3
Patch Changes
- Updated dependencies
5.5.2
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
5.5.1
Patch Changes
22bf79dbdcdca, (opens new window) - Internal changes to remove unnecessary token fallbacks and imports from@atlaskit/theme
5.5.0
Minor Changes
2596f105ed08c, (opens new window) - Fix to Exiting Persistence to display previous elements instead of just exiting children when exitThenEnter set to true
5.4.2
Patch Changes
4927c4a64f704, (opens new window) - Added export of new MotionProps interface- Updated dependencies
5.4.1
Patch Changes
- Updated dependencies
5.4.0
Minor Changes
-
07b8035be9593, (opens new window) - Introduced a new motion primitive to be used in conjunction with new motion design tokens. This is currently experimental and subject to change.Includes two props,
enteringAnimationandexitingAnimationthat specify the entering and exiting animations via semantic motion design tokens.
Patch Changes
- Updated dependencies
5.3.11
Patch Changes
5db9e3f21a52f, (opens new window) - Internal refactoring
5.3.10
Patch Changes
- Updated dependencies
5.3.9
Patch Changes
- Updated dependencies
5.3.8
Patch Changes
- Updated dependencies
5.3.7
Patch Changes
39e543109ec09, (opens new window) - add type info to forwardRef components- Updated dependencies
5.3.6
Patch Changes
5867b0fce9502, (opens new window) - The exported constantreduceMotionAsPerUserPreferencehas been marked as deprecated and will be removed in a future release. Going forward, you should hardcode this media query in your styles.
5.3.5
Patch Changes
4e874b2f5938f, (opens new window) - fix typescript issues during local consumption for adminhub
5.3.4
Patch Changes
- Updated dependencies
5.3.3
Patch Changes
- Updated dependencies
5.3.2
Patch Changes
255837cfba315, (opens new window) - Internal changes to how border radius is applied.
5.3.1
Patch Changes
23bcc5bbc9cee, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
5.3.0
Minor Changes
- #200597, (opens new window)
31cebf6340cea, (opens new window) - [ux] Update Motion Curves and create entrypoints for newly created component
5.2.0
Minor Changes
- #195850, (opens new window)
9b1d8d585ee26, (opens new window) - Add New Motion Curves and a Component that can be used to apply the Motion Curves to all animation types
5.1.7
Patch Changes
- Updated dependencies
5.1.6
Patch Changes
- #182316, (opens new window)
3e3e11916be69, (opens new window) - Migrated the internal usage of @atlaskit/focus-ring which uses Emotion for styling, to the new version built with Compiled CSS-in-JS.
5.1.5
Patch Changes
- Updated dependencies
5.1.4
Patch Changes
- Updated dependencies
5.1.3
Patch Changes
- #155827, (opens new window)
f6f4f5a8a8ae8, (opens new window) - Cleans up theplatform_design_system_motion_on_finish_fixfeature gate.
5.1.2
Patch Changes
- #129972, (opens new window)
b2d69a39e6687, (opens new window) - Update@compiled/reactdependency for improved type checking support. - Updated dependencies
5.1.1
Patch Changes
- #124596, (opens new window)
a1ba68bc43a89, (opens new window) - Update@atlaskit/platform-feature-flagsdependency from wildcard*to^1.1.0
5.1.0
Minor Changes
-
#121186, (opens new window)
ee09118dbb2b5, (opens new window) - We are testing a bug fix behind theplatform_design_system_motion_on_finish_fixfeature gate. If this fix is successful it will be available in a later release.This fix ensures that the exiting
onFinishis called even when reduced motion is enabled.
5.0.0
Major Changes
-
#114024, (opens new window)
d2720e17d293e, (opens new window) - Migrated from@emotion/reactto@compiled/reactin order to improve performance, align with therest of the Atlaskit techstack, and support React 18 Streaming SSR.Please note, in order to use this version of
@atlaskit/motion, you will need to ensure that your bundler is configured to handle.cssimports correctly. Most bundlers come with built-in support for.cssimports, so you may notneed to do anything.If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle
.cssimports. For more information on the migration, please refer to RFC-73 Migrating our components toCompiledCSS-in-JS, (opens new window)
4.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
3.1.0
Minor Changes
- #116138, (opens new window)
b50c5d5d65ae2, (opens new window) - Bump to the latest version of @compiled/react
3.0.0
Major Changes
-
#114382, (opens new window)
5033cb80b3765, (opens new window) - Breaking change removing the ability to provide arbitrary animation timing functions in favor of a pre-defined set:linearease-inease-outease-in-out.Introduced
animationTimingFunctionExitingto support changing the timing function based onstate(entering/exiting)
Patch Changes
- #114382, (opens new window)
5033cb80b3765, (opens new window) - Updates internal animation logic to leverage static animation timing names, rather than arbitrary values.
2.0.2
Patch Changes
- #113714, (opens new window)
8285339ba23ae, (opens new window) - Update dependencies and remove unused internal exports and files.
2.0.1
Patch Changes
- #113458, (opens new window)
9114c12b5682f, (opens new window) - Refactors internal styles so that dynamically declared styles are now static where possible.
2.0.0
Major Changes
- #109511, (opens new window)
18d4f58b2d05d, (opens new window) - Motion now only accepts static duration values via thedurationprops ofSlideIn/FadeIn/ etc components. These have been replaced with an enumerated list of durationssmall,medium,largeandnone. This was done in order to support adoption of@compiled/react, which does not have support for dynamic css properties when in extraction mode.
1.10.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
1.9.3
Patch Changes
- #166087, (opens new window)
3ab7d7da348ab, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
1.9.2
Patch Changes
- Updated dependencies
1.9.1
Patch Changes
- #145306, (opens new window)
43b81fd5ead81, (opens new window) - Remove react-router-dom from devDependencies as it is incompatible with React 18, and was only used in an example.
1.9.0
Minor Changes
-
#127511, (opens new window)
db30e29344013, (opens new window) - Widening range ofreactandreact-dompeer dependencies from^16.8.0 || ^17.0.0 || ~18.2.0to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).This change has been done to enable usage of
react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platformpackages.
Patch Changes
- Updated dependencies
1.8.0
Minor Changes
- #125755, (opens new window)
861f8cfbff102, (opens new window) - Refactor internals to better support React 18 strict mode.
1.7.4
Patch Changes
- #116025, (opens new window)
cd506a937e44f, (opens new window) - Internal change to how typography is applied. There should be no visual change.
1.7.3
Patch Changes
- Updated dependencies
1.7.2
Patch Changes
- #114683, (opens new window)
ff0815316ab38, (opens new window) - Removes usage of custom theme button in places where its API is not being used and the default button is able to be used instead. This should give a slight performance (runtime) improvement.
1.7.1
Patch Changes
- #113947, (opens new window)
169747d542a4f, (opens new window) - Support exiting animation in strict mode.
1.7.0
Minor Changes
- #110670, (opens new window)
c733254a2dd6e, (opens new window) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.
1.6.1
Patch Changes
- #93481, (opens new window)
c826eb17b113e, (opens new window) - Remove examples of the logos that have been deprecated by the '@atlaskit/logo' package.
1.6.0
Minor Changes
- #96658, (opens new window)
21b4a15e7182, (opens new window) - Add support for React 18 in non-strict mode.
1.5.3
Patch Changes
- #94316, (opens new window)
35fd5ed8e1d7, (opens new window) - Upgrading internal dependencybind-event-listenerto@^3.0.0
1.5.2
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
1.5.1
Patch Changes
- #41372, (opens new window)
971e55b3699, (opens new window) - Prefix unused opts variable with '_' to fix typechecking under local consumption
1.5.0
Minor Changes
- #40426, (opens new window)
b3ba6514308, (opens new window) - IntroducereduceMotionAsPerUserPreferencein favour ofprefersReducedMotionas the latter does not work correctly with Compiled.
1.4.5
Patch Changes
- #39731, (opens new window)
1f371d41ccb, (opens new window) - Motion is now enrolled into the product push model for Jira.
1.4.4
Patch Changes
- #38162, (opens new window)
fd6bb9c9184, (opens new window) - Delete version.json
1.4.3
Patch Changes
- #33652, (opens new window)
e7ea6832ad2, (opens new window) - 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
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
1.4.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
1.4.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
1.3.2
Patch Changes
- #30905, (opens new window)
8081a4b12d3, (opens new window) - Fixed a type error for theResizingHeightcomponent caused by not rendering valid JSX
1.3.1
Patch Changes
- #30125, (opens new window)
7f5f23dcb68, (opens new window) - Introduce shape tokens to some packages.
1.3.0
Minor Changes
- #25860, (opens new window)
a86726f0b16, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
1.2.4
Patch Changes
- #26408, (opens new window)
9de88fa1e1e, (opens new window) - Internal changes to include spacing tokens in component implementations.
1.2.3
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
1.2.2
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
1.2.1
Patch Changes
- #23381, (opens new window)
01a461fe433, (opens new window) - Internal code change turning on new linting rules. - Updated dependencies
1.2.0
Minor Changes
- #22642, (opens new window)
a1c9465b456, (opens new window) - -FadeInnow supports different exit directions using theexitDirectionpropFadeInnow supports different distance options for animations, using thedistanceprop
1.1.2
Patch Changes
- #22614, (opens new window)
8a5bdb3c844, (opens new window) - Upgrading internal dependency (bind-event-listener) for improved internal types
1.1.1
Patch Changes
- #22029, (opens new window)
e4b612d1c48, (opens new window) - Internal migration to bind-event-listener for safer DOM Event cleanup
1.1.0
Minor Changes
-
#21335, (opens new window)
8630371ec57, (opens new window) - Note: It is a re-release of the wronglypatchedversion1.0.4that should have been aminorrelease.Add a useIsReducedMotion() hook that returns the user's current motion preference.
Other internal changes:
- Upgrade to TypeScript 4.2.4
1.0.4
Patch Changes
WRONG RELEASE TYPE - DON'T USE
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
1.0.3
Patch Changes
- #13302, (opens new window)
cd34d8ca8ea, (opens new window) - Internal wiring up to the tokens techstack, no code changes.
1.0.2
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
1.0.1
Patch Changes
- #11692, (opens new window)
08b6e9821d0, (opens new window) - ExitingPersistence is now memoised to prevent a re-render that terminates the exit animation when its children have not changed.
1.0.0
Major Changes
- #10609, (opens new window)
4925538af72, (opens new window) - This1.0.0release denotes that the package API is now stable and is no longer in developer preview. There are NO API CHANGES in this release.
0.4.8
Patch Changes
- #10230, (opens new window)
12f99a7b1ab, (opens new window) - Export useExitingPersistence from @atlaskit/motion, and fix types for children of ExitingPersistence.
0.4.7
Patch Changes
-
#9641, (opens new window)
9d9f1490c22, (opens new window) - @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
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
0.4.5
Patch Changes
- #5497, (opens new window)
5f58283e1f, (opens new window) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started, (opens new window) Also addtypescripttodevDependenciesto denote version that the package was built with.
0.4.4
Patch Changes
- #4749, (opens new window)
02df8cde1d, (opens new window) - Readme now points to the correct docs URL.
0.4.3
Patch Changes
- #4424, (opens new window)
81c95008a4, (opens new window) - Remove transform if FadeIn movement is not provided
0.4.2
Patch Changes
-
#3885, (opens new window)
6c525a8229, (opens new window) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.
0.4.1
Patch Changes
- #3428, (opens new window)
60dd4ecc69, (opens new window) - Changed export all to export individual components in index db053b24d8, (opens new window) - Update all the theme imports to be tree-shakable
0.4.0
Minor Changes
- #3335, (opens new window)
87f4720f27, (opens new window) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11. For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534, (opens new window)
0.3.0
Minor Changes
-
#2763, (opens new window)
dd275c9b81, (opens new window) - Added the option to animate opacity withinSlideIn.You can now add the property
animateOpacitywhich if true, animates the opacity from 0 -> 1 on enter and 1 -> 0 on exit.
0.2.6
Patch Changes
- #2943, (opens new window)
1e4930567c, (opens new window) - There should be no noticeable changes to consumers ofmotion, but we now remove the animation styles once an animation is complete, or if the elements are not meant to animate on initial mount. This prevents a class of bugs where we were seeing unintended animations.
0.2.5
Patch Changes
- #2866, (opens new window)
54a9514fcf, (opens new window) - Build and supporting files will no longer be published to npm
0.2.4
Patch Changes
-
[patch]e5eb921e97, (opens new window):
Change imports to comply with Atlassian conventions- Updated dependencies 3940bd71f1, (opens new window):
-
Updated dependencies 6b8e60827e, (opens new window):
-
Updated dependencies f6667f2909, (opens new window):
-
Updated dependencies 57c0487a02, (opens new window):
-
Updated dependencies a4d063330a, (opens new window):
- @atlaskit/tooltip@15.2.6
- @atlaskit/button@13.3.11
- @atlaskit/logo@12.3.4
- @atlaskit/lozenge@9.1.7
0.2.3
Patch Changes
-
[patch]5633f516a4, (opens new window):
Fixes timeout and raf hooks not having a stable reference.- Updated dependencies 168b5f90e5, (opens new window):
-
Updated dependencies 0c270847cb, (opens new window):
-
Updated dependencies 109004a98e, (opens new window):
-
Updated dependencies b9903e773a, (opens new window):
- @atlaskit/docs@8.5.1
- @atlaskit/theme@9.5.3
- @atlaskit/button@13.3.10
0.2.2
Patch Changes
-
[patch]6548261c9a, (opens new window):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a, (opens new window):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/button@13.3.7
- @atlaskit/logo@12.3.2
- @atlaskit/lozenge@9.1.4
- @atlaskit/section-message@4.1.5
- @atlaskit/theme@9.5.1
- @atlaskit/tooltip@15.2.3
0.2.1
Patch Changes
-
[patch]166d7b1626, (opens new window):
Fixes motion blowing up when rendered on the server. - @atlaskit/logo@12.3.1
- @atlaskit/section-message@4.1.4
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/tooltip@15.2.2
0.2.0
Minor Changes
-
[minor]1d72045e6b, (opens new window):
SlideInis now more customizable and has new props:- **BREAKING CHANGE: **
fromprop has been renamed toenterFrom - You can now optionally set an explicit
exitToprop which specifies which direction the component will animate towards when exiting. Thefromprop has also been renamed toenterFrom. If noexitToprop is set, the exiting motion will default to being the reverse of the entrance motion. i.e. ifenterFrom={"right"}then the element will slide in from the right and then exit towards the right as well. - You can now optionally set the prop
animationTimingFunctionto override animation curve to use when entrancing v.s. when exiting.
- **BREAKING CHANGE: **
Patch Changes
- Updated dependencies
d2b8166208, (opens new window):
- @atlaskit/docs@8.3.0
0.1.2
Patch Changes
-
[patch]6fecf8ec66, (opens new window):
FadeIn component has had its css keyframes adjusted to affect how much it animates up.- [patch]f214e55182, (opens new window):
Added a SlideIn component. Useful for when things slide in from outside of the viewport. It comes with a pairing exiting motion.- [patch]98342c8dca, (opens new window):
Added a ShinkOut component. Useful for removing an element from the DOM by shrinking it to zero width. Does not have a pairing entering motion.- [patch]0aebb4f6ff, (opens new window):
Added a ZoomIn component. Useful for highlighting specific actions, buttons, etc, when entering the DOM. Comes with a pairing exiting motion.- [patch]8161987117, (opens new window):
Allow consumers to toggle secondary entrance motion on FadeIn- [patch]38cde500c7, (opens new window):
Added a ResizingHeight component. This is the component equivalent of the useResizingHeight hook.- Updated dependencies 82747f2922, (opens new window):
-
Updated dependencies 4a223473c5, (opens new window):
- @atlaskit/theme@9.5.0
- @atlaskit/button@13.3.5
- @atlaskit/lozenge@9.1.3
- @atlaskit/section-message@4.1.3
- @atlaskit/tooltip@15.2.1
0.1.1
Patch Changes
-
[patch]24865cfaff, (opens new window):
New
<ExitingPersistence />componentYou can now persist exiting elements using
ExitingPersistence. Doing so will allow them to animate away while exiting.There are three ways you can utilise this component:
Conditionally rendering a single component
import { FadeIn, ExitingPersistence } from '@atlaskit/motion'; ({ entered }) => ( <div> <ExitingPersistence> {entered && ( <FadeIn>{props => <div {...props}>hello world</div>}</FadeIn> )} </ExitingPersistence> </div> );Conditionally rendering multiple components
import { FadeIn, ExitingPersistence } from '@atlaskit/motion'; () => ( <ExitingPersistence> {one && <FadeIn>{props => <div {...props}>hello world</div>}</FadeIn>} {two && <FadeIn>{props => <div {...props}>hello world</div>}</FadeIn>} </ExitingPersistence> );Conditionally rendering elements in an array
Make sure to have unique keys for every element!
import { FadeIn, ExitingPersistence } from '@atlaskit/motion'; () => ( <ExitingPersistence> {elements.map(element => ( // Key is very important here! <FadeIn key={element.key}> {props => <div {...props}>hello world</div>} </FadeIn> ))} </ExitingPersistence> );Updated
<StaggeredEntrance />componentStaggeredEntranceno longer has the limitation of requiring motions to be the direct descendant. Simply ensure your motion elements are somewhere in the child tree and they will have their entrance motion staggered.import { FadeIn, StaggeredEntrance } from '@atlaskit/motion'; () => ( <StaggeredEntrance> <div> {items.map(logo => ( <div key={logo.key}> <FadeIn>{props => <div {...props} />}</FadeIn> </div> ))} </div> </StaggeredEntrance> );
0.1.0
Minor Changes
-
[minor]5c3fc52da7, (opens new window):
The internal
Motioncomponent is now calledKeyframesMotion.- [minor]1dd6a6d6ac, (opens new window):ExitingPersistencenow has anappearprop. Previously entering motions would always appear when mounting - now you have to opt into the behaviour.-<ExitingPersistence> +<ExitingPersistence appear> ... </ExitingPersistence>
Patch Changes
-
[patch]f175c8088f, (opens new window):
Fixes non-exiting elements from re-rendering unnecessarily.
0.0.4
Patch Changes
-
[patch]f9c291923c, (opens new window):
Corrects the type exports for typography, colors, elevation and layers. If you were doing any dynamic code it may break you. Refer to the upgrade guide for help upgrading.- Updated dependencies 3c0f6feee5, (opens new window):
-
Updated dependencies f9c291923c, (opens new window):
- @atlaskit/theme@9.3.0
0.0.3
Patch Changes
-
[patch]94abe7f41a, (opens new window):
New
useResizingHeight()hookThis is a small yet powerful hook which you can consume to enable an element to resize its
heightwhen it changes after a state transition. It uses CSS under-the-hood to maximize performance.import { useResizingHeight } from '@atlaskit/motion'; ({ text }) => <div {...useResizingHeight()}>{text}</div>;
0.0.2
Patch Changes
-
[patch]d8a99823e2, (opens new window):
Adds FadeIn and StaggeredEntrance components and reduced motion utilities.
0.0.1
Patch Changes
-
[patch]cdcb428642, (opens new window):
Initial release of @atlaskit/motion