@cleartrip/ct-design-animate 4.0.0-SNAPSHOT-rnfinaltest40.0 → 4.0.0-SNAPSHOT-rnfinaltest53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/EntranceAnimation.d.ts +1 -1
- package/dist/components/EntranceAnimation.d.ts.map +1 -1
- package/dist/components/EntranceAnimation.native.d.ts +1 -1
- package/dist/components/EntranceAnimation.native.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/EntranceAnimation.native.tsx +10 -10
- package/src/components/EntranceAnimation.tsx +10 -10
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { EntranceAnimationDirection } from '../type';
|
|
3
3
|
import { Styles } from '@cleartrip/ct-design-types';
|
|
4
4
|
export interface EntranceAnimationProps {
|
|
5
|
-
direction: EntranceAnimationDirection
|
|
5
|
+
direction: `${EntranceAnimationDirection}`;
|
|
6
6
|
index?: number;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
staggerDelay?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntranceAnimation.d.ts","sourceRoot":"","sources":["../../packages/components/Animate/src/components/EntranceAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"EntranceAnimation.d.ts","sourceRoot":"","sources":["../../packages/components/Animate/src/components/EntranceAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoHvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { EntranceAnimationDirection } from '../type';
|
|
3
3
|
import { ViewStyle } from 'react-native';
|
|
4
4
|
export interface EntranceAnimationProps {
|
|
5
|
-
direction: EntranceAnimationDirection
|
|
5
|
+
direction: `${EntranceAnimationDirection}`;
|
|
6
6
|
index?: number;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
staggerDelay?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntranceAnimation.native.d.ts","sourceRoot":"","sources":["../../packages/components/Animate/src/components/EntranceAnimation.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"EntranceAnimation.native.d.ts","sourceRoot":"","sources":["../../packages/components/Animate/src/components/EntranceAnimation.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,GAAG,0BAA0B,EAAE,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6DvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-animate",
|
|
3
|
-
"version": "4.0.0-SNAPSHOT-
|
|
3
|
+
"version": "4.0.0-SNAPSHOT-rnfinaltest53.0",
|
|
4
4
|
"description": "HOC component that will render animation to children",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "./dist/ct-design-animate.cjs.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@emotion/react": "^11.14.0",
|
|
28
28
|
"@emotion/styled": "^11.14.0",
|
|
29
|
-
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-
|
|
30
|
-
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-
|
|
29
|
+
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-rnfinaltest53.0",
|
|
30
|
+
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-rnfinaltest53.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@emotion/babel-plugin": "^11.12.0",
|
|
34
|
-
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-
|
|
34
|
+
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-rnfinaltest53.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=16.8.0",
|
|
@@ -6,18 +6,18 @@ import { EntranceAnimationDirection } from '../type';
|
|
|
6
6
|
import { ViewStyle } from 'react-native';
|
|
7
7
|
|
|
8
8
|
export interface EntranceAnimationProps {
|
|
9
|
-
direction: EntranceAnimationDirection
|
|
9
|
+
direction: `${EntranceAnimationDirection}`;
|
|
10
10
|
index?: number;
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
staggerDelay?: number;
|
|
13
|
-
maxStaggerIndex?: number;
|
|
14
|
-
initialOffset?: number;
|
|
15
|
-
duration?: number;
|
|
16
|
-
containerStyle?: ViewStyle;
|
|
17
|
-
fillContainer?: boolean;
|
|
18
|
-
opacityAnimation?: boolean;
|
|
19
|
-
startAnimation?: boolean;
|
|
20
|
-
onAnimationComplete?: () => void;
|
|
12
|
+
staggerDelay?: number;
|
|
13
|
+
maxStaggerIndex?: number;
|
|
14
|
+
initialOffset?: number;
|
|
15
|
+
duration?: number;
|
|
16
|
+
containerStyle?: ViewStyle;
|
|
17
|
+
fillContainer?: boolean;
|
|
18
|
+
opacityAnimation?: boolean;
|
|
19
|
+
startAnimation?: boolean;
|
|
20
|
+
onAnimationComplete?: () => void;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const EntranceAnimation: React.FC<EntranceAnimationProps> = ({
|
|
@@ -3,18 +3,18 @@ import { EntranceAnimationDirection } from '../type';
|
|
|
3
3
|
import { Styles } from '@cleartrip/ct-design-types';
|
|
4
4
|
|
|
5
5
|
export interface EntranceAnimationProps {
|
|
6
|
-
direction: EntranceAnimationDirection
|
|
6
|
+
direction: `${EntranceAnimationDirection}`;
|
|
7
7
|
index?: number;
|
|
8
8
|
children: React.ReactNode;
|
|
9
|
-
staggerDelay?: number;
|
|
10
|
-
maxStaggerIndex?: number;
|
|
11
|
-
initialOffset?: number;
|
|
12
|
-
duration?: number;
|
|
13
|
-
containerStyle?: Styles;
|
|
14
|
-
fillContainer?: boolean;
|
|
15
|
-
opacityAnimation?: boolean;
|
|
16
|
-
startAnimation?: boolean;
|
|
17
|
-
onAnimationComplete?: () => void;
|
|
9
|
+
staggerDelay?: number;
|
|
10
|
+
maxStaggerIndex?: number;
|
|
11
|
+
initialOffset?: number;
|
|
12
|
+
duration?: number;
|
|
13
|
+
containerStyle?: Styles;
|
|
14
|
+
fillContainer?: boolean;
|
|
15
|
+
opacityAnimation?: boolean;
|
|
16
|
+
startAnimation?: boolean;
|
|
17
|
+
onAnimationComplete?: () => void;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
const EntranceAnimation: React.FC<EntranceAnimationProps> = ({
|