@remotion/studio 4.0.311 → 4.0.312
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-make.log +2 -2
- package/.turbo/turbo-test.log +51 -51
- package/dist/components/AskAiModal.js +1 -1
- package/dist/esm/chunk-cm1ntfse.js +29688 -0
- package/dist/esm/internals.mjs +2 -1
- package/dist/esm/previewEntry.mjs +2 -1
- package/dist/esm/renderEntry.mjs +1 -1
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-make.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/studio@4.0.
|
|
3
|
+
> @remotion/studio@4.0.312 make /Users/jonathanburger/remotion/packages/studio
|
|
4
4
|
> tsc -d && bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
6
|
-
[0m[2m[[
|
|
6
|
+
[0m[2m[[1m45.71ms[0m[2m][0m Generated.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/studio@4.0.
|
|
3
|
+
> @remotion/studio@4.0.311 test /Users/jonathanburger/remotion/packages/studio
|
|
4
4
|
> bun test src
|
|
5
5
|
|
|
6
6
|
[0m[1mbun test [0m[2mv1.2.14 (6a363a38)[0m
|
|
7
7
|
[0m
|
|
8
8
|
src/test/stringify-default-props.test.ts:
|
|
9
|
-
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[
|
|
10
|
-
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[
|
|
9
|
+
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[1.83ms[0m[2m][0m
|
|
10
|
+
[0m[32m✓[0m[0m[1m Should stringify default props correctly[0m [0m[2m[2.19ms[0m[2m][0m
|
|
11
11
|
[0m
|
|
12
12
|
src/test/sequenced-timeline.test.ts:
|
|
13
|
-
[0m[32m✓[0m[0m[1m Should calculate sequences correctly[0m [0m[2m[
|
|
13
|
+
[0m[32m✓[0m[0m[1m Should calculate sequences correctly[0m [0m[2m[5.22ms[0m[2m][0m
|
|
14
14
|
[0m
|
|
15
15
|
src/test/create-zod-values.test.ts:
|
|
16
|
-
[0m[32m✓[0m[0m[1m Should be able to create a string[0m [0m[2m[0.
|
|
17
|
-
[0m[32m✓[0m[0m[1m Should be able to create a number[0m [0m[2m[0.
|
|
18
|
-
[0m[32m✓[0m[0m[1m Should be able to create an object[0m [0m[2m[0.
|
|
19
|
-
[0m[32m✓[0m[0m[1m Should be able to create an array[0m [0m[2m[0.
|
|
20
|
-
[0m[32m✓[0m[0m[1m Should be able to create a union[0m [0m[2m[0.
|
|
21
|
-
[0m[32m✓[0m[0m[1m Zod literal[0m [0m[2m[0.
|
|
22
|
-
[0m[32m✓[0m[0m[1m Should be able to create a discriminated union[0m [0m[2m[
|
|
23
|
-
[0m[32m✓[0m[0m[1m Zod instanceof[0m [0m[2m[0.
|
|
24
|
-
[0m[32m✓[0m[0m[1m Zod intersection[0m [0m[2m[0.
|
|
25
|
-
[0m[32m✓[0m[0m[1m Zod tuples[0m [0m[2m[0.
|
|
26
|
-
[0m[32m✓[0m[0m[1m Zod record[0m [0m[2m[0.
|
|
27
|
-
[0m[32m✓[0m[0m[1m Zod map[0m [0m[2m[0.
|
|
28
|
-
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.
|
|
29
|
-
[0m[32m✓[0m[0m[1m Zod set[0m [0m[2m[0.
|
|
30
|
-
[0m[32m✓[0m[0m[1m Zod function[0m [0m[2m[0.
|
|
31
|
-
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.
|
|
32
|
-
[0m[32m✓[0m[0m[1m Zod null[0m [0m[2m[0.
|
|
33
|
-
[0m[32m✓[0m[0m[1m Zod enum[0m [0m[2m[0.
|
|
34
|
-
[0m[32m✓[0m[0m[1m Zod nativeEnum[0m [0m[2m[0.
|
|
35
|
-
[0m[32m✓[0m[0m[1m Zod optional[0m [0m[2m[0.
|
|
36
|
-
[0m[32m✓[0m[0m[1m Zod nullable[0m [0m[2m[0.
|
|
37
|
-
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.
|
|
38
|
-
[0m[32m✓[0m[0m[1m Zod catch[0m [0m[2m[0.
|
|
39
|
-
[0m[32m✓[0m[0m[1m Zod promise[0m [0m[2m[0.
|
|
40
|
-
[0m[32m✓[0m[0m[1m Zod transform[0m [0m[2m[0.
|
|
41
|
-
[0m[32m✓[0m[0m[1m Zod branded[0m [0m[2m[0.
|
|
42
|
-
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.
|
|
43
|
-
[0m[32m✓[0m[0m[1m Zod coerce[0m [0m[2m[0.
|
|
44
|
-
[0m[32m✓[0m[0m[1m Zod strict[0m [0m[2m[0.
|
|
45
|
-
[0m[32m✓[0m[0m[1m Should create a color[0m [0m[2m[0.
|
|
46
|
-
[0m[32m✓[0m[0m[1m Should create a textarea[0m [0m[2m[0.
|
|
16
|
+
[0m[32m✓[0m[0m[1m Should be able to create a string[0m [0m[2m[0.93ms[0m[2m][0m
|
|
17
|
+
[0m[32m✓[0m[0m[1m Should be able to create a number[0m [0m[2m[0.21ms[0m[2m][0m
|
|
18
|
+
[0m[32m✓[0m[0m[1m Should be able to create an object[0m [0m[2m[0.54ms[0m[2m][0m
|
|
19
|
+
[0m[32m✓[0m[0m[1m Should be able to create an array[0m [0m[2m[0.13ms[0m[2m][0m
|
|
20
|
+
[0m[32m✓[0m[0m[1m Should be able to create a union[0m [0m[2m[0.16ms[0m[2m][0m
|
|
21
|
+
[0m[32m✓[0m[0m[1m Zod literal[0m [0m[2m[0.33ms[0m[2m][0m
|
|
22
|
+
[0m[32m✓[0m[0m[1m Should be able to create a discriminated union[0m [0m[2m[1.85ms[0m[2m][0m
|
|
23
|
+
[0m[32m✓[0m[0m[1m Zod instanceof[0m [0m[2m[0.47ms[0m[2m][0m
|
|
24
|
+
[0m[32m✓[0m[0m[1m Zod intersection[0m [0m[2m[0.44ms[0m[2m][0m
|
|
25
|
+
[0m[32m✓[0m[0m[1m Zod tuples[0m [0m[2m[0.27ms[0m[2m][0m
|
|
26
|
+
[0m[32m✓[0m[0m[1m Zod record[0m [0m[2m[0.38ms[0m[2m][0m
|
|
27
|
+
[0m[32m✓[0m[0m[1m Zod map[0m [0m[2m[0.36ms[0m[2m][0m
|
|
28
|
+
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.23ms[0m[2m][0m
|
|
29
|
+
[0m[32m✓[0m[0m[1m Zod set[0m [0m[2m[0.26ms[0m[2m][0m
|
|
30
|
+
[0m[32m✓[0m[0m[1m Zod function[0m [0m[2m[0.72ms[0m[2m][0m
|
|
31
|
+
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.31ms[0m[2m][0m
|
|
32
|
+
[0m[32m✓[0m[0m[1m Zod null[0m [0m[2m[0.38ms[0m[2m][0m
|
|
33
|
+
[0m[32m✓[0m[0m[1m Zod enum[0m [0m[2m[0.25ms[0m[2m][0m
|
|
34
|
+
[0m[32m✓[0m[0m[1m Zod nativeEnum[0m [0m[2m[0.24ms[0m[2m][0m
|
|
35
|
+
[0m[32m✓[0m[0m[1m Zod optional[0m [0m[2m[0.08ms[0m[2m][0m
|
|
36
|
+
[0m[32m✓[0m[0m[1m Zod nullable[0m [0m[2m[0.09ms[0m[2m][0m
|
|
37
|
+
[0m[32m✓[0m[0m[1m Zod undefined[0m [0m[2m[0.18ms[0m[2m][0m
|
|
38
|
+
[0m[32m✓[0m[0m[1m Zod catch[0m [0m[2m[0.19ms[0m[2m][0m
|
|
39
|
+
[0m[32m✓[0m[0m[1m Zod promise[0m [0m[2m[0.35ms[0m[2m][0m
|
|
40
|
+
[0m[32m✓[0m[0m[1m Zod transform[0m [0m[2m[0.17ms[0m[2m][0m
|
|
41
|
+
[0m[32m✓[0m[0m[1m Zod branded[0m [0m[2m[0.22ms[0m[2m][0m
|
|
42
|
+
[0m[32m✓[0m[0m[1m Zod lazy[0m [0m[2m[0.23ms[0m[2m][0m
|
|
43
|
+
[0m[32m✓[0m[0m[1m Zod coerce[0m [0m[2m[0.37ms[0m[2m][0m
|
|
44
|
+
[0m[32m✓[0m[0m[1m Zod strict[0m [0m[2m[0.27ms[0m[2m][0m
|
|
45
|
+
[0m[32m✓[0m[0m[1m Should create a color[0m [0m[2m[0.13ms[0m[2m][0m
|
|
46
|
+
[0m[32m✓[0m[0m[1m Should create a textarea[0m [0m[2m[0.10ms[0m[2m][0m
|
|
47
47
|
[0m
|
|
48
48
|
src/test/folder-tree.test.ts:
|
|
49
|
-
[0m[32m✓[0m[0m[1m Should create a good folder tree with 1 item inside and 1 item outside[0m [0m[2m[0.
|
|
50
|
-
[0m[32m✓[0m[0m[1m Should handle nested folders well[0m [0m[2m[0.
|
|
51
|
-
[0m[32m✓[0m[0m[1m Should throw if two folders with the same name[0m [0m[2m[0.
|
|
49
|
+
[0m[32m✓[0m[0m[1m Should create a good folder tree with 1 item inside and 1 item outside[0m [0m[2m[0.90ms[0m[2m][0m
|
|
50
|
+
[0m[32m✓[0m[0m[1m Should handle nested folders well[0m [0m[2m[0.50ms[0m[2m][0m
|
|
51
|
+
[0m[32m✓[0m[0m[1m Should throw if two folders with the same name[0m [0m[2m[0.29ms[0m[2m][0m
|
|
52
52
|
[0m
|
|
53
53
|
src/test/big-timeline.test.ts:
|
|
54
|
-
[0m[32m✓[0m[0m[1m Should calculate timeline as expected[0m [0m[2m[
|
|
54
|
+
[0m[32m✓[0m[0m[1m Should calculate timeline as expected[0m [0m[2m[4.35ms[0m[2m][0m
|
|
55
55
|
[0m
|
|
56
56
|
src/test/smooth-zoom.test.ts:
|
|
57
|
-
[0m[32m✓[0m[0m[1m Smoothen zoom[0m
|
|
58
|
-
[0m[32m✓[0m[0m[1m Unsmoothen zoom[0m [0m[2m[0.
|
|
57
|
+
[0m[32m✓[0m[0m[1m Smoothen zoom[0m [0m[2m[0.07ms[0m[2m][0m
|
|
58
|
+
[0m[32m✓[0m[0m[1m Unsmoothen zoom[0m [0m[2m[0.07ms[0m[2m][0m
|
|
59
59
|
[0m
|
|
60
60
|
src/test/validate-gui-output-filename.test.ts:
|
|
61
|
-
[0m[32m✓[0m[0m[1m Should catch dot after slash[0m [0m[2m[0.
|
|
61
|
+
[0m[32m✓[0m[0m[1m Should catch dot after slash[0m [0m[2m[0.78ms[0m[2m][0m
|
|
62
62
|
[0m[32m✓[0m[0m[1m Should catch dot in front [0m [0m[2m[0.02ms[0m[2m][0m
|
|
63
63
|
[0m
|
|
64
64
|
src/test/timeline-sequence-layout.test.ts:
|
|
65
|
-
[0m[32m✓[0m[0m[1m Should test timeline sequence layout without max media duration[0m [0m[2m[0.
|
|
65
|
+
[0m[32m✓[0m[0m[1m Should test timeline sequence layout without max media duration[0m [0m[2m[0.34ms[0m[2m][0m
|
|
66
66
|
[0m[32m✓[0m[0m[1m Should test timeline sequence layout with max media duration[0m [0m[2m[0.06ms[0m[2m][0m
|
|
67
67
|
[0m
|
|
68
68
|
src/test/extract-zod-enums.test.ts:
|
|
69
|
-
[0m[32m✓[0m[0m[1m Extract Zod enums[0m [0m[2m[0.
|
|
70
|
-
[0m[32m✓[0m[0m[1m Extract Zod enums #2[0m [0m[2m[
|
|
69
|
+
[0m[32m✓[0m[0m[1m Extract Zod enums[0m [0m[2m[0.28ms[0m[2m][0m
|
|
70
|
+
[0m[32m✓[0m[0m[1m Extract Zod enums #2[0m [0m[2m[1.43ms[0m[2m][0m
|
|
71
71
|
[0m
|
|
72
72
|
src/test/color-math.test.ts:
|
|
73
|
-
[0m[32m✓[0m[0m[1m Color math[0m [0m[2m[
|
|
73
|
+
[0m[32m✓[0m[0m[1m Color math[0m [0m[2m[1.00ms[0m[2m][0m
|
|
74
74
|
[0m
|
|
75
75
|
src/test/format-time.test.ts:
|
|
76
|
-
[0m[32m✓[0m[0m[1m Format time[0m [0m[2m[0.
|
|
76
|
+
[0m[32m✓[0m[0m[1m Format time[0m [0m[2m[0.20ms[0m[2m][0m
|
|
77
77
|
[0m
|
|
78
78
|
src/test/timeline.test.ts:
|
|
79
|
-
[0m[32m✓[0m[0m[1m Should calculate timeline with no sequences[0m
|
|
80
|
-
[0m[32m✓[0m[0m[1m Should calculate a basic timeline[0m [0m[2m[0.
|
|
81
|
-
[0m[32m✓[0m[0m[1m Should follow order of nesting[0m [0m[2m[0.
|
|
79
|
+
[0m[32m✓[0m[0m[1m Should calculate timeline with no sequences[0m [0m[2m[0.13ms[0m[2m][0m
|
|
80
|
+
[0m[32m✓[0m[0m[1m Should calculate a basic timeline[0m [0m[2m[0.22ms[0m[2m][0m
|
|
81
|
+
[0m[32m✓[0m[0m[1m Should follow order of nesting[0m [0m[2m[0.21ms[0m[2m][0m
|
|
82
82
|
|
|
83
83
|
[0m[32m 51 pass[0m
|
|
84
84
|
[0m[2m 0 fail[0m
|
|
85
85
|
67 expect() calls
|
|
86
|
-
Ran 51 tests across 12 files. [0m[2m[[
|
|
86
|
+
Ran 51 tests across 12 files. [0m[2m[[1m118.00ms[0m[2m][0m
|
|
@@ -63,6 +63,6 @@ const AskAiModal = () => {
|
|
|
63
63
|
if (state === 'never-opened') {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
66
|
-
return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: { display: state === 'visible' ? 'block' : 'none' }, children: (0, jsx_runtime_1.jsxs)(ModalContainer_1.ModalContainer, { noZIndex: state === 'hidden', onOutsideClick: onQuit, onEscape: onQuit, children: [(0, jsx_runtime_1.jsx)(ModalHeader_1.ModalHeader, { title: "Ask AI", onClose: onQuit }), (0, jsx_runtime_1.jsx)("iframe", { ref: iframe, frameBorder: 0, style: container, src: "https://www.remotion.dev/ai-embed" })] }) }));
|
|
66
|
+
return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: { display: state === 'visible' ? 'block' : 'none' }, children: (0, jsx_runtime_1.jsxs)(ModalContainer_1.ModalContainer, { noZIndex: state === 'hidden', onOutsideClick: onQuit, onEscape: onQuit, children: [(0, jsx_runtime_1.jsx)(ModalHeader_1.ModalHeader, { title: "Ask AI", onClose: onQuit }), (0, jsx_runtime_1.jsx)("iframe", { ref: iframe, frameBorder: 0, style: container, src: "https://www.remotion.dev/ai-embed", allow: "clipboard-read; clipboard-write" })] }) }));
|
|
67
67
|
};
|
|
68
68
|
exports.AskAiModal = AskAiModal;
|