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

@atlaskit/motion

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/motion - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

4

accessibility/package.json

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/accessibility.d.ts"
"../dist/types-ts4.5/entry-points/accessibility.d.ts"
]

@@ -14,0 +14,0 @@ }

# @atlaskit/motion
## 1.4.1
### Patch Changes
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
## 1.4.0

@@ -4,0 +10,0 @@

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/curves.d.ts"
"../dist/types-ts4.5/entry-points/curves.d.ts"
]

@@ -14,0 +14,0 @@ }

{
"name": "@atlaskit/motion",
"version": "1.4.0",
"version": "1.4.1",
"sideEffects": false
}
{
"name": "@atlaskit/motion",
"version": "1.4.0",
"version": "1.4.1",
"sideEffects": false
}
{
"name": "@atlaskit/motion",
"version": "1.4.0",
"version": "1.4.1",
"sideEffects": false
}

@@ -5,4 +5,4 @@ import React from 'react';

import type { Direction, Distance } from './types';
export declare const fadeInAnimation: (direction?: Direction | undefined, distance?: Distance) => CSSObject;
export declare const fadeOutAnimation: (direction?: Direction | undefined, distance?: Distance) => CSSObject;
export declare const fadeInAnimation: (direction?: Direction, distance?: Distance) => CSSObject;
export declare const fadeOutAnimation: (direction?: Direction, distance?: Distance) => CSSObject;
/**

@@ -9,0 +9,0 @@ * Props for controlling the behavior of the FadeIn animation

@@ -5,7 +5,7 @@ /// <reference types="react" />

*/
export declare type Transition = 'entering' | 'exiting';
export type Transition = 'entering' | 'exiting';
/**
* Direction an element enters from or leaves towards
*/
export declare type Direction = 'top' | 'right' | 'bottom' | 'left';
export type Direction = 'top' | 'right' | 'bottom' | 'left';
/**

@@ -16,7 +16,7 @@ * The distance the element moves in a direction-based animation.

*/
export declare type Distance = 'constant' | 'proportional';
export type Distance = 'constant' | 'proportional';
/**
* Whether an element will fade on enter, on exit or both
*/
export declare type Fade = 'none' | 'in' | 'out' | 'inout';
export type Fade = 'none' | 'in' | 'out' | 'inout';
/**

@@ -23,0 +23,0 @@ * Common props all entering motions should make available for consumers.

@@ -51,6 +51,6 @@ import React from 'react';

}) => JSX.Element;
declare const _default: (opts: ResizingHeightOpts) => void;
/**
* This exists only to be able to extract opts.
*/
declare const _default: (opts: ResizingHeightOpts) => void;
export default _default;

@@ -1,4 +0,4 @@

export declare type AnimationCurve = 'cubic-bezier(0.15,1,0.3,1)' | 'cubic-bezier(0.2,0,0,1)' | 'cubic-bezier(0.8,0,0,0.8)';
export type AnimationCurve = 'cubic-bezier(0.15,1,0.3,1)' | 'cubic-bezier(0.2,0,0,1)' | 'cubic-bezier(0.8,0,0,0.8)';
export declare const easeInOut: AnimationCurve;
export declare const easeOut: AnimationCurve;
export declare const easeIn: AnimationCurve;

@@ -1,3 +0,3 @@

export declare type Element = HTMLElement | null;
export declare type CallbackRef = (instance: Element) => void;
export type Element = HTMLElement | null;
export type CallbackRef = (instance: Element) => void;
/**

@@ -4,0 +4,0 @@ * Will return a tuple of the element and the callback ref to set.

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/durations.d.ts"
"../dist/types-ts4.5/entry-points/durations.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/exiting-persistence.d.ts"
"../dist/types-ts4.5/entry-points/exiting-persistence.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/fade-in.d.ts"
"../dist/types-ts4.5/entry-points/fade-in.d.ts"
]

@@ -14,0 +14,0 @@ }

{
"name": "@atlaskit/motion",
"version": "1.4.0",
"version": "1.4.1",
"description": "A set of utilities to apply motion in your application.",

@@ -15,2 +15,10 @@ "publishConfig": {

"types": "dist/types/index.d.ts",
"typesVersions": {
">=4.5 <4.9": {
"*": [
"dist/types-ts4.5/*",
"dist/types-ts4.5/index.d.ts"
]
}
},
"sideEffects": false,

@@ -56,3 +64,3 @@ "af:exports": {

"@atlaskit/theme": "^12.5.0",
"@atlaskit/tokens": "^1.3.0",
"@atlaskit/tokens": "^1.4.0",
"@atlaskit/visual-regression": "*",

@@ -65,3 +73,3 @@ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",

"react-router-dom": "^4.2.2",
"typescript": "4.5.5"
"typescript": "~4.9.5"
},

@@ -68,0 +76,0 @@ "keywords": [

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/shrink-out.d.ts"
"../dist/types-ts4.5/entry-points/shrink-out.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/slide-in.d.ts"
"../dist/types-ts4.5/entry-points/slide-in.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/staggered-entrance.d.ts"
"../dist/types-ts4.5/entry-points/staggered-entrance.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/types.d.ts"
"../dist/types-ts4.5/entry-points/types.d.ts"
]

@@ -14,0 +14,0 @@ }

@@ -9,5 +9,5 @@ {

"typesVersions": {
">=4.0 <4.5": {
">=4.5 <4.9": {
"*": [
"../dist/types-ts4.0/entry-points/zoom-in.d.ts"
"../dist/types-ts4.5/entry-points/zoom-in.d.ts"
]

@@ -14,0 +14,0 @@ }

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