@cliquify.me/transitions 1.0.3 → 1.0.4
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/index.es.js +524 -398
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/presentations/circle.d.ts +1 -0
- package/dist/presentations/custom-clock-wipe.d.ts +8 -0
- package/dist/presentations/custom-slide.d.ts +7 -0
- package/dist/presentations/custom-wipe.d.ts +7 -0
- package/dist/presentations/index.d.ts +3 -0
- package/dist/transition-presentations.d.ts +2 -4
- package/package.json +1 -1
|
@@ -3,5 +3,6 @@ import { TransitionPresentation } from '../types';
|
|
|
3
3
|
export type CustomPresentationProps = {
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
|
+
direction?: "center" | "from-left" | "from-right" | "from-top" | "from-bottom";
|
|
6
7
|
};
|
|
7
8
|
export declare const circle: (props: CustomPresentationProps) => TransitionPresentation<CustomPresentationProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TransitionPresentation } from '@remotion/transitions';
|
|
2
|
+
|
|
3
|
+
export type CustomClockWipeProps = {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
direction?: "clockwise" | "counter-clockwise" | "clock-wise" | "counterclockwise" | string;
|
|
7
|
+
};
|
|
8
|
+
export declare const customClockWipe: (props: CustomClockWipeProps) => TransitionPresentation<CustomClockWipeProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TransitionPresentation } from '../types';
|
|
2
|
+
|
|
3
|
+
export type CustomSlideDirection = "from-left" | "from-right" | "from-top" | "from-bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
4
|
+
export type CustomSlideProps = {
|
|
5
|
+
direction?: CustomSlideDirection;
|
|
6
|
+
};
|
|
7
|
+
export declare const customSlide: (props?: CustomSlideProps) => TransitionPresentation<CustomSlideProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TransitionPresentation } from '../types';
|
|
2
|
+
|
|
3
|
+
export type CustomWipeDirection = "from-left" | "from-right" | "from-top" | "from-bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
4
|
+
export type CustomWipeProps = {
|
|
5
|
+
direction?: CustomWipeDirection;
|
|
6
|
+
};
|
|
7
|
+
export declare const customWipe: (props?: CustomWipeProps) => TransitionPresentation<CustomWipeProps>;
|
|
@@ -2,6 +2,9 @@ export { circle } from './circle';
|
|
|
2
2
|
export { rectangle } from './rectangle';
|
|
3
3
|
export { star } from './star';
|
|
4
4
|
export { slidingDoors } from './sliding-doors';
|
|
5
|
+
export { customSlide } from './custom-slide';
|
|
6
|
+
export { customWipe } from './custom-wipe';
|
|
7
|
+
export { customClockWipe } from './custom-clock-wipe';
|
|
5
8
|
export { linearTiming } from '../';
|
|
6
9
|
export { fade } from '@remotion/transitions/fade';
|
|
7
10
|
export { slide, type SlideDirection } from '@remotion/transitions/slide';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import { SlideDirection } from './presentations';
|
|
3
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
4
2
|
interface TransitionOptions {
|
|
5
3
|
width: number;
|
|
6
4
|
height: number;
|
|
7
5
|
durationInFrames: number;
|
|
8
6
|
id: string;
|
|
9
|
-
direction?:
|
|
7
|
+
direction?: any;
|
|
10
8
|
}
|
|
11
9
|
export declare const Transitions: Record<string, (options: TransitionOptions) => JSX.Element>;
|
|
12
10
|
export {};
|