@versa_ai/vmml-editor 1.0.23 → 1.0.24
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/.turbo/turbo-build.log +8 -8
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/EditorCanvas.tsx +2 -0
- package/src/index.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versa_ai/vmml-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"module": "dist/index.mjs",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.mts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"remotion": "4.0.166",
|
|
17
17
|
"uuid": "^10.0.0",
|
|
18
18
|
"zod": "^3.23.8",
|
|
19
|
-
"@versa_ai/vmml-
|
|
20
|
-
"@versa_ai/vmml-
|
|
19
|
+
"@versa_ai/vmml-utils": "1.0.15",
|
|
20
|
+
"@versa_ai/vmml-player": "1.1.20"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@biomejs/biome": "^1.7.1",
|
package/src/index.tsx
CHANGED
|
@@ -287,7 +287,7 @@ const EditorFn = <Schema extends AnyZodObject, Props>(
|
|
|
287
287
|
const initCanEditClips = (tracks: any = []) => {
|
|
288
288
|
if (editableArray.length && tracks.length) {
|
|
289
289
|
const list = findEditClips(tracks);
|
|
290
|
-
setEditClips(list);
|
|
290
|
+
setEditClips(list);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
|
|
@@ -364,7 +364,7 @@ const EditorFn = <Schema extends AnyZodObject, Props>(
|
|
|
364
364
|
if (editableArray.length && vmmlState?.template) {
|
|
365
365
|
initCanEditClips(vmmlState.template.tracks);
|
|
366
366
|
}
|
|
367
|
-
}, [editableArray, refreshEdit]);
|
|
367
|
+
}, [editableArray, refreshEdit, vmmlState]);
|
|
368
368
|
|
|
369
369
|
useEffect(() => {
|
|
370
370
|
if (propVmml) {
|