@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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/studio@4.0.311 make /Users/jonathanburger/remotion/packages/studio
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
- [53.01ms] Generated.
6
+ [45.71ms] Generated.
@@ -1,86 +1,86 @@
1
1
 
2
2
  
3
- > @remotion/studio@4.0.306 test /Users/jonathanburger/remotion/packages/studio
3
+ > @remotion/studio@4.0.311 test /Users/jonathanburger/remotion/packages/studio
4
4
  > bun test src
5
5
 
6
6
  bun test v1.2.14 (6a363a38)
7
7
  
8
8
  src/test/stringify-default-props.test.ts:
9
- ✓ Should stringify default props correctly [0.56ms]
10
- ✓ Should stringify default props correctly [0.51ms]
9
+ ✓ Should stringify default props correctly [1.83ms]
10
+ ✓ Should stringify default props correctly [2.19ms]
11
11
  
12
12
  src/test/sequenced-timeline.test.ts:
13
- ✓ Should calculate sequences correctly [0.93ms]
13
+ ✓ Should calculate sequences correctly [5.22ms]
14
14
  
15
15
  src/test/create-zod-values.test.ts:
16
- ✓ Should be able to create a string [0.23ms]
17
- ✓ Should be able to create a number [0.09ms]
18
- ✓ Should be able to create an object [0.07ms]
19
- ✓ Should be able to create an array [0.07ms]
20
- ✓ Should be able to create a union [0.08ms]
21
- ✓ Zod literal [0.05ms]
22
- ✓ Should be able to create a discriminated union [0.26ms]
23
- ✓ Zod instanceof [0.11ms]
24
- ✓ Zod intersection [0.17ms]
25
- ✓ Zod tuples [0.08ms]
26
- ✓ Zod record [0.11ms]
27
- ✓ Zod map [0.10ms]
28
- ✓ Zod lazy [0.07ms]
29
- ✓ Zod set [0.11ms]
30
- ✓ Zod function [0.08ms]
31
- ✓ Zod undefined [0.08ms]
32
- ✓ Zod null [0.05ms]
33
- ✓ Zod enum [0.03ms]
34
- ✓ Zod nativeEnum [0.06ms]
35
- ✓ Zod optional [0.06ms]
36
- ✓ Zod nullable [0.05ms]
37
- ✓ Zod undefined [0.05ms]
38
- ✓ Zod catch [0.06ms]
39
- ✓ Zod promise [0.11ms]
40
- ✓ Zod transform [0.10ms]
41
- ✓ Zod branded [0.08ms]
42
- ✓ Zod lazy [0.13ms]
43
- ✓ Zod coerce [0.07ms]
44
- ✓ Zod strict [0.07ms]
45
- ✓ Should create a color [0.08ms]
46
- ✓ Should create a textarea [0.04ms]
16
+ ✓ Should be able to create a string [0.93ms]
17
+ ✓ Should be able to create a number [0.21ms]
18
+ ✓ Should be able to create an object [0.54ms]
19
+ ✓ Should be able to create an array [0.13ms]
20
+ ✓ Should be able to create a union [0.16ms]
21
+ ✓ Zod literal [0.33ms]
22
+ ✓ Should be able to create a discriminated union [1.85ms]
23
+ ✓ Zod instanceof [0.47ms]
24
+ ✓ Zod intersection [0.44ms]
25
+ ✓ Zod tuples [0.27ms]
26
+ ✓ Zod record [0.38ms]
27
+ ✓ Zod map [0.36ms]
28
+ ✓ Zod lazy [0.23ms]
29
+ ✓ Zod set [0.26ms]
30
+ ✓ Zod function [0.72ms]
31
+ ✓ Zod undefined [0.31ms]
32
+ ✓ Zod null [0.38ms]
33
+ ✓ Zod enum [0.25ms]
34
+ ✓ Zod nativeEnum [0.24ms]
35
+ ✓ Zod optional [0.08ms]
36
+ ✓ Zod nullable [0.09ms]
37
+ ✓ Zod undefined [0.18ms]
38
+ ✓ Zod catch [0.19ms]
39
+ ✓ Zod promise [0.35ms]
40
+ ✓ Zod transform [0.17ms]
41
+ ✓ Zod branded [0.22ms]
42
+ ✓ Zod lazy [0.23ms]
43
+ ✓ Zod coerce [0.37ms]
44
+ ✓ Zod strict [0.27ms]
45
+ ✓ Should create a color [0.13ms]
46
+ ✓ Should create a textarea [0.10ms]
47
47
  
48
48
  src/test/folder-tree.test.ts:
49
- ✓ Should create a good folder tree with 1 item inside and 1 item outside [0.16ms]
50
- ✓ Should handle nested folders well [0.17ms]
51
- ✓ Should throw if two folders with the same name [0.06ms]
49
+ ✓ Should create a good folder tree with 1 item inside and 1 item outside [0.90ms]
50
+ ✓ Should handle nested folders well [0.50ms]
51
+ ✓ Should throw if two folders with the same name [0.29ms]
52
52
  
53
53
  src/test/big-timeline.test.ts:
54
- ✓ Should calculate timeline as expected [1.09ms]
54
+ ✓ Should calculate timeline as expected [4.35ms]
55
55
  
56
56
  src/test/smooth-zoom.test.ts:
57
- ✓ Smoothen zoom
58
- ✓ Unsmoothen zoom [0.01ms]
57
+ ✓ Smoothen zoom [0.07ms]
58
+ ✓ Unsmoothen zoom [0.07ms]
59
59
  
60
60
  src/test/validate-gui-output-filename.test.ts:
61
- ✓ Should catch dot after slash [0.18ms]
61
+ ✓ Should catch dot after slash [0.78ms]
62
62
  ✓ Should catch dot in front  [0.02ms]
63
63
  
64
64
  src/test/timeline-sequence-layout.test.ts:
65
- ✓ Should test timeline sequence layout without max media duration [0.05ms]
65
+ ✓ Should test timeline sequence layout without max media duration [0.34ms]
66
66
  ✓ Should test timeline sequence layout with max media duration [0.06ms]
67
67
  
68
68
  src/test/extract-zod-enums.test.ts:
69
- ✓ Extract Zod enums [0.08ms]
70
- ✓ Extract Zod enums #2 [0.37ms]
69
+ ✓ Extract Zod enums [0.28ms]
70
+ ✓ Extract Zod enums #2 [1.43ms]
71
71
  
72
72
  src/test/color-math.test.ts:
73
- ✓ Color math [0.21ms]
73
+ ✓ Color math [1.00ms]
74
74
  
75
75
  src/test/format-time.test.ts:
76
- ✓ Format time [0.03ms]
76
+ ✓ Format time [0.20ms]
77
77
  
78
78
  src/test/timeline.test.ts:
79
- ✓ Should calculate timeline with no sequences
80
- ✓ Should calculate a basic timeline [0.16ms]
81
- ✓ Should follow order of nesting [0.07ms]
79
+ ✓ Should calculate timeline with no sequences [0.13ms]
80
+ ✓ Should calculate a basic timeline [0.22ms]
81
+ ✓ Should follow order of nesting [0.21ms]
82
82
 
83
83
   51 pass
84
84
   0 fail
85
85
  67 expect() calls
86
- Ran 51 tests across 12 files. [37.00ms]
86
+ Ran 51 tests across 12 files. [118.00ms]
@@ -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;