@editframe/create 0.51.4 → 0.51.6
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.
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"start": "editframe preview"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.51.
|
|
11
|
-
"@editframe/elements": "0.51.
|
|
12
|
-
"@editframe/vite-plugin": "0.51.
|
|
10
|
+
"@editframe/cli": "0.51.6",
|
|
11
|
+
"@editframe/elements": "0.51.6",
|
|
12
|
+
"@editframe/vite-plugin": "0.51.6",
|
|
13
13
|
"@tailwindcss/vite": "^4.0.0",
|
|
14
14
|
"tailwindcss": "^4.0.0",
|
|
15
15
|
"vite": "^8.0.0",
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
"dev": "next dev"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@editframe/elements": "0.51.
|
|
11
|
-
"@editframe/nextjs-plugin": "0.51.
|
|
10
|
+
"@editframe/elements": "0.51.6",
|
|
11
|
+
"@editframe/nextjs-plugin": "0.51.6",
|
|
12
|
+
"@editframe/react": "0.51.6",
|
|
12
13
|
"next": "^16.0.0",
|
|
13
14
|
"react": "^19.0.0",
|
|
14
15
|
"react-dom": "^19.0.0"
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Timegroup, Text } from "@editframe/react";
|
|
4
4
|
|
|
5
5
|
export default function Home() {
|
|
6
|
-
useEffect(() => {
|
|
7
|
-
import("@editframe/elements");
|
|
8
|
-
}, []);
|
|
9
|
-
|
|
10
6
|
return (
|
|
11
7
|
<main
|
|
12
8
|
style={{
|
|
@@ -17,38 +13,30 @@ export default function Home() {
|
|
|
17
13
|
background: "#0f172a",
|
|
18
14
|
}}
|
|
19
15
|
>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
<Timegroup
|
|
17
|
+
workbench
|
|
18
|
+
mode="sequence"
|
|
19
|
+
style={{ width: "1920px", height: "1080px" }}
|
|
20
|
+
>
|
|
21
|
+
{/* Add your composition here */}
|
|
22
|
+
<Timegroup
|
|
23
|
+
mode="fixed"
|
|
24
|
+
duration="5s"
|
|
25
|
+
style={{
|
|
26
|
+
position: "absolute",
|
|
27
|
+
width: "100%",
|
|
28
|
+
height: "100%",
|
|
29
|
+
display: "flex",
|
|
30
|
+
alignItems: "center",
|
|
31
|
+
justifyContent: "center",
|
|
32
|
+
background: "black",
|
|
33
|
+
}}
|
|
26
34
|
>
|
|
27
|
-
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
style={{
|
|
33
|
-
position: "absolute",
|
|
34
|
-
width: "100%",
|
|
35
|
-
height: "100%",
|
|
36
|
-
display: "flex",
|
|
37
|
-
alignItems: "center",
|
|
38
|
-
justifyContent: "center",
|
|
39
|
-
background: "black",
|
|
40
|
-
}}
|
|
41
|
-
>
|
|
42
|
-
{/* @ts-expect-error custom element */}
|
|
43
|
-
<ef-text duration="5s" style={{ color: "white", fontSize: "4rem" }}>
|
|
44
|
-
Your video starts here
|
|
45
|
-
</ef-text>
|
|
46
|
-
{/* @ts-expect-error custom element */}
|
|
47
|
-
</ef-timegroup>
|
|
48
|
-
{/* @ts-expect-error custom element */}
|
|
49
|
-
</ef-timegroup>
|
|
50
|
-
{/* @ts-expect-error custom element */}
|
|
51
|
-
</ef-workbench>
|
|
35
|
+
<Text duration="5s" style={{ color: "white", fontSize: "4rem" }}>
|
|
36
|
+
Your video starts here
|
|
37
|
+
</Text>
|
|
38
|
+
</Timegroup>
|
|
39
|
+
</Timegroup>
|
|
52
40
|
</main>
|
|
53
41
|
);
|
|
54
42
|
}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"start": "editframe preview"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.51.
|
|
11
|
-
"@editframe/react": "0.51.
|
|
12
|
-
"@editframe/vite-plugin": "0.51.
|
|
10
|
+
"@editframe/cli": "0.51.6",
|
|
11
|
+
"@editframe/react": "0.51.6",
|
|
12
|
+
"@editframe/vite-plugin": "0.51.6",
|
|
13
13
|
"@tailwindcss/vite": "^4.0.0",
|
|
14
14
|
"@vitejs/plugin-react": "^6.0.0",
|
|
15
15
|
"tailwindcss": "^4.0.0",
|