@editframe/create 0.51.5 → 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.5",
11
- "@editframe/elements": "0.51.5",
12
- "@editframe/vite-plugin": "0.51.5",
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/nextjs-plugin": "0.51.5",
11
- "@editframe/react": "0.51.5",
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,7 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { TimelineRoot } from "@editframe/react";
4
- import { Video } from "./Video";
3
+ import { Timegroup, Text } from "@editframe/react";
5
4
 
6
5
  export default function Home() {
7
6
  return (
@@ -14,7 +13,30 @@ export default function Home() {
14
13
  background: "#0f172a",
15
14
  }}
16
15
  >
17
- <TimelineRoot id="root" component={Video} />
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
+ }}
34
+ >
35
+ <Text duration="5s" style={{ color: "white", fontSize: "4rem" }}>
36
+ Your video starts here
37
+ </Text>
38
+ </Timegroup>
39
+ </Timegroup>
18
40
  </main>
19
41
  );
20
42
  }
@@ -7,9 +7,9 @@
7
7
  "start": "editframe preview"
8
8
  },
9
9
  "dependencies": {
10
- "@editframe/cli": "0.51.5",
11
- "@editframe/react": "0.51.5",
12
- "@editframe/vite-plugin": "0.51.5",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/create",
3
- "version": "0.51.5",
3
+ "version": "0.51.6",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "create-editframe": "dist/index.js"
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- import { Timegroup, Text } from "@editframe/react";
3
-
4
- export const Video = () => {
5
- return (
6
- <Timegroup
7
- workbench
8
- className="w-[1920px] h-[1080px] bg-black flex items-center justify-center relative overflow-hidden"
9
- mode="sequence"
10
- >
11
- {/* Add your composition here */}
12
- <Timegroup
13
- mode="fixed"
14
- duration="5s"
15
- className="absolute w-full h-full flex items-center justify-center"
16
- >
17
- <Text duration="5s" className="text-white text-4xl">
18
- Your video starts here
19
- </Text>
20
- </Timegroup>
21
- </Timegroup>
22
- );
23
- };