@remotion/promo-pages 4.0.379 → 4.0.381
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/dist/Homepage.js +102 -115
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +102 -115
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +45 -58
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +45 -58
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +54 -67
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +45 -58
- package/dist/design.js +45 -58
- package/dist/homepage/Pricing.js +45 -58
- package/dist/template-modal-content.js +54 -67
- package/dist/templates.js +45 -58
- package/package.json +12 -12
package/dist/templates.js
CHANGED
|
@@ -111,7 +111,7 @@ import { jsx as jsx15 } from "react/jsx-runtime";
|
|
|
111
111
|
import {
|
|
112
112
|
forwardRef as forwardRef4,
|
|
113
113
|
useContext as useContext25,
|
|
114
|
-
useEffect as
|
|
114
|
+
useEffect as useEffect12,
|
|
115
115
|
useImperativeHandle as useImperativeHandle6,
|
|
116
116
|
useMemo as useMemo21,
|
|
117
117
|
useRef as useRef12,
|
|
@@ -123,7 +123,6 @@ import React15, {
|
|
|
123
123
|
createRef as createRef2,
|
|
124
124
|
useCallback as useCallback7,
|
|
125
125
|
useContext as useContext16,
|
|
126
|
-
useEffect as useEffect6,
|
|
127
126
|
useMemo as useMemo15,
|
|
128
127
|
useRef as useRef5,
|
|
129
128
|
useState as useState11
|
|
@@ -131,12 +130,12 @@ import React15, {
|
|
|
131
130
|
import { useMemo as useMemo14 } from "react";
|
|
132
131
|
import { jsx as jsx16, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
133
132
|
import { useRef as useRef6 } from "react";
|
|
134
|
-
import { useContext as useContext19, useEffect as
|
|
133
|
+
import { useContext as useContext19, useEffect as useEffect6, useMemo as useMemo16, useState as useState12 } from "react";
|
|
135
134
|
import { useContext as useContext18 } from "react";
|
|
136
135
|
import {
|
|
137
136
|
useCallback as useCallback10,
|
|
138
137
|
useContext as useContext22,
|
|
139
|
-
useEffect as
|
|
138
|
+
useEffect as useEffect10,
|
|
140
139
|
useLayoutEffect as useLayoutEffect7,
|
|
141
140
|
useRef as useRef11
|
|
142
141
|
} from "react";
|
|
@@ -145,7 +144,7 @@ import { useContext as useContext21, useMemo as useMemo18 } from "react";
|
|
|
145
144
|
import React16, {
|
|
146
145
|
useCallback as useCallback8,
|
|
147
146
|
useContext as useContext20,
|
|
148
|
-
useEffect as
|
|
147
|
+
useEffect as useEffect7,
|
|
149
148
|
useLayoutEffect as useLayoutEffect6,
|
|
150
149
|
useMemo as useMemo17,
|
|
151
150
|
useRef as useRef8,
|
|
@@ -153,15 +152,15 @@ import React16, {
|
|
|
153
152
|
} from "react";
|
|
154
153
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
155
154
|
import React17 from "react";
|
|
156
|
-
import { useEffect as
|
|
157
|
-
import { useEffect as
|
|
158
|
-
import { useContext as useContext23, useEffect as
|
|
155
|
+
import { useEffect as useEffect8, useState as useState14 } from "react";
|
|
156
|
+
import { useEffect as useEffect9, useRef as useRef10 } from "react";
|
|
157
|
+
import { useContext as useContext23, useEffect as useEffect11 } from "react";
|
|
159
158
|
import { createContext as createContext17, useContext as useContext24, useMemo as useMemo20 } from "react";
|
|
160
159
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
161
160
|
import {
|
|
162
161
|
forwardRef as forwardRef5,
|
|
163
162
|
useContext as useContext26,
|
|
164
|
-
useEffect as
|
|
163
|
+
useEffect as useEffect13,
|
|
165
164
|
useImperativeHandle as useImperativeHandle7,
|
|
166
165
|
useLayoutEffect as useLayoutEffect8,
|
|
167
166
|
useMemo as useMemo222,
|
|
@@ -169,9 +168,9 @@ import {
|
|
|
169
168
|
} from "react";
|
|
170
169
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
171
170
|
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
172
|
-
import { Suspense, useContext as useContext29, useEffect as
|
|
171
|
+
import { Suspense, useContext as useContext29, useEffect as useEffect15 } from "react";
|
|
173
172
|
import { createPortal } from "react-dom";
|
|
174
|
-
import { createContext as createContext18, useContext as useContext28, useEffect as
|
|
173
|
+
import { createContext as createContext18, useContext as useContext28, useEffect as useEffect14, useMemo as useMemo23 } from "react";
|
|
175
174
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
176
175
|
import { jsx as jsx222, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
177
176
|
import React21, { useMemo as useMemo24 } from "react";
|
|
@@ -198,7 +197,7 @@ import {
|
|
|
198
197
|
} from "react";
|
|
199
198
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
200
199
|
import React26 from "react";
|
|
201
|
-
import { useEffect as
|
|
200
|
+
import { useEffect as useEffect16, useMemo as useMemo27, useState as useState18 } from "react";
|
|
202
201
|
import { createContext as createContext19, useContext as useContext31, useMemo as useMemo26 } from "react";
|
|
203
202
|
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
204
203
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
@@ -207,7 +206,7 @@ import { useCallback as useCallback16 } from "react";
|
|
|
207
206
|
import {
|
|
208
207
|
useCallback as useCallback15,
|
|
209
208
|
useContext as useContext32,
|
|
210
|
-
useEffect as
|
|
209
|
+
useEffect as useEffect17,
|
|
211
210
|
useLayoutEffect as useLayoutEffect10,
|
|
212
211
|
useMemo as useMemo28,
|
|
213
212
|
useState as useState19
|
|
@@ -216,13 +215,13 @@ import { jsx as jsx29 } from "react/jsx-runtime";
|
|
|
216
215
|
import {
|
|
217
216
|
forwardRef as forwardRef9,
|
|
218
217
|
useContext as useContext33,
|
|
219
|
-
useEffect as
|
|
218
|
+
useEffect as useEffect19,
|
|
220
219
|
useImperativeHandle as useImperativeHandle10,
|
|
221
220
|
useMemo as useMemo29,
|
|
222
221
|
useRef as useRef16,
|
|
223
222
|
useState as useState20
|
|
224
223
|
} from "react";
|
|
225
|
-
import { useEffect as
|
|
224
|
+
import { useEffect as useEffect18 } from "react";
|
|
226
225
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
227
226
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
228
227
|
import React32, { useMemo as useMemo30 } from "react";
|
|
@@ -237,7 +236,7 @@ import { forwardRef as forwardRef12, useCallback as useCallback17, useContext as
|
|
|
237
236
|
import {
|
|
238
237
|
forwardRef as forwardRef11,
|
|
239
238
|
useContext as useContext34,
|
|
240
|
-
useEffect as
|
|
239
|
+
useEffect as useEffect20,
|
|
241
240
|
useImperativeHandle as useImperativeHandle11,
|
|
242
241
|
useLayoutEffect as useLayoutEffect11,
|
|
243
242
|
useMemo as useMemo32,
|
|
@@ -756,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
756
755
|
});
|
|
757
756
|
}, useIsPlayer = () => {
|
|
758
757
|
return useContext(IsPlayerContext);
|
|
759
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.381", checkMultipleRemotionVersions = () => {
|
|
760
759
|
if (typeof globalThis === "undefined") {
|
|
761
760
|
return;
|
|
762
761
|
}
|
|
@@ -3067,8 +3066,6 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3067
3066
|
if (numberOfAudioTags !== initialNumberOfAudioTags) {
|
|
3068
3067
|
throw new Error("The number of shared audio tags has changed dynamically. Once you have set this property, you cannot change it afterwards.");
|
|
3069
3068
|
}
|
|
3070
|
-
const compositionManager = useContext16(CompositionManager);
|
|
3071
|
-
const component = compositionManager.compositions.find((c) => compositionManager.canvasContent?.type === "composition" ? c.id === compositionManager.canvasContent.compositionId : null);
|
|
3072
3069
|
const logLevel = useLogLevel();
|
|
3073
3070
|
const audioContext = useSingletonAudioContext(logLevel, audioLatencyHint);
|
|
3074
3071
|
const refs = useMemo15(() => {
|
|
@@ -3207,16 +3204,6 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3207
3204
|
updateAudio,
|
|
3208
3205
|
audioContext
|
|
3209
3206
|
]);
|
|
3210
|
-
const resetAudio = useCallback7(() => {
|
|
3211
|
-
takenAudios.current = new Array(numberOfAudioTags).fill(false);
|
|
3212
|
-
audios.current = [];
|
|
3213
|
-
rerenderAudios();
|
|
3214
|
-
}, [numberOfAudioTags, rerenderAudios]);
|
|
3215
|
-
useEffect6(() => {
|
|
3216
|
-
return () => {
|
|
3217
|
-
resetAudio();
|
|
3218
|
-
};
|
|
3219
|
-
}, [component, resetAudio]);
|
|
3220
3207
|
return /* @__PURE__ */ jsxs2(SharedAudioContext.Provider, {
|
|
3221
3208
|
value,
|
|
3222
3209
|
children: [
|
|
@@ -3524,7 +3511,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3524
3511
|
});
|
|
3525
3512
|
}).join(",");
|
|
3526
3513
|
}, [duration, startsAt, volume, mediaVolume]);
|
|
3527
|
-
|
|
3514
|
+
useEffect6(() => {
|
|
3528
3515
|
if (typeof volume === "number" && volume !== initialVolume) {
|
|
3529
3516
|
warnOnce2(`Remotion: The ${mediaType} with src ${src} has changed it's volume. Prefer the callback syntax for setting volume to get better timeline display: https://www.remotion.dev/docs/audio/volume`);
|
|
3530
3517
|
}
|
|
@@ -3577,7 +3564,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3577
3564
|
trimBefore: undefined,
|
|
3578
3565
|
playbackRate
|
|
3579
3566
|
});
|
|
3580
|
-
|
|
3567
|
+
useEffect6(() => {
|
|
3581
3568
|
if (!src) {
|
|
3582
3569
|
throw new Error("No src passed");
|
|
3583
3570
|
}
|
|
@@ -3667,7 +3654,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3667
3654
|
}
|
|
3668
3655
|
};
|
|
3669
3656
|
}, []);
|
|
3670
|
-
|
|
3657
|
+
useEffect7(() => {
|
|
3671
3658
|
if (blocks.length > 0) {
|
|
3672
3659
|
onBufferingCallbacks.forEach((c) => c());
|
|
3673
3660
|
playbackLogging({
|
|
@@ -3703,7 +3690,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3703
3690
|
});
|
|
3704
3691
|
}, useIsPlayerBuffering = (bufferManager) => {
|
|
3705
3692
|
const [isBuffering, setIsBuffering] = useState13(bufferManager.buffering.current);
|
|
3706
|
-
|
|
3693
|
+
useEffect7(() => {
|
|
3707
3694
|
const onBuffer = () => {
|
|
3708
3695
|
setIsBuffering(true);
|
|
3709
3696
|
};
|
|
@@ -3866,7 +3853,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3866
3853
|
}) => {
|
|
3867
3854
|
const buffer = useBufferState();
|
|
3868
3855
|
const [isBuffering, setIsBuffering] = useState14(false);
|
|
3869
|
-
|
|
3856
|
+
useEffect8(() => {
|
|
3870
3857
|
let cleanupFns = [];
|
|
3871
3858
|
const { current } = element;
|
|
3872
3859
|
if (!current) {
|
|
@@ -3998,7 +3985,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3998
3985
|
onVariableFpsVideoDetected
|
|
3999
3986
|
}) => {
|
|
4000
3987
|
const currentTime = useRef10(null);
|
|
4001
|
-
|
|
3988
|
+
useEffect9(() => {
|
|
4002
3989
|
const { current } = mediaRef;
|
|
4003
3990
|
if (current) {
|
|
4004
3991
|
currentTime.current = {
|
|
@@ -4180,7 +4167,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4180
4167
|
return acceptableTimeshift ?? defaultAcceptableTimeshift;
|
|
4181
4168
|
})();
|
|
4182
4169
|
const isPlayerBuffering = useIsPlayerBuffering(buffering);
|
|
4183
|
-
|
|
4170
|
+
useEffect10(() => {
|
|
4184
4171
|
if (mediaRef.current?.paused) {
|
|
4185
4172
|
return;
|
|
4186
4173
|
}
|
|
@@ -4225,7 +4212,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4225
4212
|
mediaRef.current.playbackRate = playbackRateToSet;
|
|
4226
4213
|
}
|
|
4227
4214
|
}, [mediaRef, playbackRate]);
|
|
4228
|
-
|
|
4215
|
+
useEffect10(() => {
|
|
4229
4216
|
const tagName = mediaType === "audio" ? "<Html5Audio>" : "<Html5Video>";
|
|
4230
4217
|
if (!mediaRef.current) {
|
|
4231
4218
|
throw new Error(`No ${mediaType} ref found`);
|
|
@@ -4353,7 +4340,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4353
4340
|
const logLevel = useLogLevel();
|
|
4354
4341
|
const mountTime = useMountTime();
|
|
4355
4342
|
const env = useRemotionEnvironment();
|
|
4356
|
-
|
|
4343
|
+
useEffect11(() => {
|
|
4357
4344
|
const tag = {
|
|
4358
4345
|
id,
|
|
4359
4346
|
play: (reason) => {
|
|
@@ -4546,7 +4533,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4546
4533
|
}, [audioRef]);
|
|
4547
4534
|
const currentOnDurationCallback = useRef12(onDuration);
|
|
4548
4535
|
currentOnDurationCallback.current = onDuration;
|
|
4549
|
-
|
|
4536
|
+
useEffect12(() => {
|
|
4550
4537
|
const { current } = audioRef;
|
|
4551
4538
|
if (!current) {
|
|
4552
4539
|
return;
|
|
@@ -4613,7 +4600,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4613
4600
|
useImperativeHandle7(ref, () => {
|
|
4614
4601
|
return audioRef.current;
|
|
4615
4602
|
}, []);
|
|
4616
|
-
|
|
4603
|
+
useEffect13(() => {
|
|
4617
4604
|
if (!props.src) {
|
|
4618
4605
|
throw new Error("No src passed");
|
|
4619
4606
|
}
|
|
@@ -4917,7 +4904,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4917
4904
|
}
|
|
4918
4905
|
}, Fallback = () => {
|
|
4919
4906
|
const { continueRender: continueRender2, delayRender: delayRender2 } = useDelayRender();
|
|
4920
|
-
|
|
4907
|
+
useEffect15(() => {
|
|
4921
4908
|
const fallback = delayRender2("Waiting for Root component to unsuspend");
|
|
4922
4909
|
return () => continueRender2(fallback);
|
|
4923
4910
|
}, [continueRender2, delayRender2]);
|
|
@@ -4954,7 +4941,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4954
4941
|
throw new Error("<Composition> mounted inside another composition. See https://remotion.dev/docs/wrong-composition-mount for help.");
|
|
4955
4942
|
}
|
|
4956
4943
|
const { folderName, parentName } = useContext29(FolderContext);
|
|
4957
|
-
|
|
4944
|
+
useEffect15(() => {
|
|
4958
4945
|
if (!id) {
|
|
4959
4946
|
throw new Error("No id for composition passed.");
|
|
4960
4947
|
}
|
|
@@ -4993,7 +4980,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4993
4980
|
registerComposition,
|
|
4994
4981
|
unregisterComposition
|
|
4995
4982
|
]);
|
|
4996
|
-
|
|
4983
|
+
useEffect15(() => {
|
|
4997
4984
|
window.dispatchEvent(new CustomEvent(PROPS_UPDATED_EXTERNALLY, {
|
|
4998
4985
|
detail: {
|
|
4999
4986
|
resetUnsaved: id
|
|
@@ -5001,7 +4988,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5001
4988
|
}));
|
|
5002
4989
|
}, [defaultProps, id]);
|
|
5003
4990
|
const resolved = useResolvedVideoConfig(id);
|
|
5004
|
-
if (environment.isStudio && video && video.component === lazy) {
|
|
4991
|
+
if (environment.isStudio && video && video.component === lazy && video.id === id) {
|
|
5005
4992
|
const Comp = lazy;
|
|
5006
4993
|
if (resolved === null || resolved.type !== "success" && resolved.type !== "success-and-refreshing") {
|
|
5007
4994
|
return null;
|
|
@@ -5015,7 +5002,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5015
5002
|
})
|
|
5016
5003
|
}), portalNode());
|
|
5017
5004
|
}
|
|
5018
|
-
if (environment.isRendering && video && video.component === lazy) {
|
|
5005
|
+
if (environment.isRendering && video && video.component === lazy && video.id === id) {
|
|
5019
5006
|
const Comp = lazy;
|
|
5020
5007
|
if (resolved === null || resolved.type !== "success" && resolved.type !== "success-and-refreshing") {
|
|
5021
5008
|
return null;
|
|
@@ -5418,7 +5405,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5418
5405
|
}
|
|
5419
5406
|
};
|
|
5420
5407
|
}, []);
|
|
5421
|
-
|
|
5408
|
+
useEffect16(() => {
|
|
5422
5409
|
if (typeof __webpack_module__ !== "undefined") {
|
|
5423
5410
|
if (__webpack_module__.hot) {
|
|
5424
5411
|
__webpack_module__.hot.addStatusHandler((status) => {
|
|
@@ -5553,7 +5540,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5553
5540
|
mediaVolume: 1
|
|
5554
5541
|
});
|
|
5555
5542
|
warnAboutTooHighVolume(volume);
|
|
5556
|
-
|
|
5543
|
+
useEffect17(() => {
|
|
5557
5544
|
if (!src) {
|
|
5558
5545
|
throw new Error("No src passed");
|
|
5559
5546
|
}
|
|
@@ -5713,7 +5700,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5713
5700
|
ref,
|
|
5714
5701
|
onVideoFrame
|
|
5715
5702
|
}) => {
|
|
5716
|
-
|
|
5703
|
+
useEffect18(() => {
|
|
5717
5704
|
const { current } = ref;
|
|
5718
5705
|
if (!current) {
|
|
5719
5706
|
return;
|
|
@@ -5859,7 +5846,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5859
5846
|
tag: "video",
|
|
5860
5847
|
mountTime
|
|
5861
5848
|
}));
|
|
5862
|
-
|
|
5849
|
+
useEffect19(() => {
|
|
5863
5850
|
const { current } = videoRef;
|
|
5864
5851
|
if (!current) {
|
|
5865
5852
|
return;
|
|
@@ -5890,7 +5877,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5890
5877
|
const currentOnDurationCallback = useRef16(onDuration);
|
|
5891
5878
|
currentOnDurationCallback.current = onDuration;
|
|
5892
5879
|
useEmitVideoFrame({ ref: videoRef, onVideoFrame });
|
|
5893
|
-
|
|
5880
|
+
useEffect19(() => {
|
|
5894
5881
|
const { current } = videoRef;
|
|
5895
5882
|
if (!current) {
|
|
5896
5883
|
return;
|
|
@@ -5907,7 +5894,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5907
5894
|
current.removeEventListener("loadedmetadata", onLoadedMetadata);
|
|
5908
5895
|
};
|
|
5909
5896
|
}, [src]);
|
|
5910
|
-
|
|
5897
|
+
useEffect19(() => {
|
|
5911
5898
|
const { current } = videoRef;
|
|
5912
5899
|
if (!current) {
|
|
5913
5900
|
return;
|
|
@@ -6485,7 +6472,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6485
6472
|
mediaVolume: 1
|
|
6486
6473
|
});
|
|
6487
6474
|
warnAboutTooHighVolume(volume);
|
|
6488
|
-
|
|
6475
|
+
useEffect20(() => {
|
|
6489
6476
|
if (!props2.src) {
|
|
6490
6477
|
throw new Error("No src passed");
|
|
6491
6478
|
}
|
|
@@ -6528,7 +6515,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6528
6515
|
useImperativeHandle11(ref, () => {
|
|
6529
6516
|
return videoRef.current;
|
|
6530
6517
|
}, []);
|
|
6531
|
-
|
|
6518
|
+
useEffect20(() => {
|
|
6532
6519
|
if (!window.remotion_videoEnabled) {
|
|
6533
6520
|
return;
|
|
6534
6521
|
}
|
|
@@ -8595,7 +8582,7 @@ var getDefaultConfig = () => {
|
|
|
8595
8582
|
var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
8596
8583
|
|
|
8597
8584
|
// ../design/dist/esm/index.mjs
|
|
8598
|
-
import React7, { useEffect as
|
|
8585
|
+
import React7, { useEffect as useEffect21, useMemo as useMemo33, useState as useState21 } from "react";
|
|
8599
8586
|
|
|
8600
8587
|
// ../paths/dist/esm/index.mjs
|
|
8601
8588
|
var cutLInstruction = ({
|
|
@@ -12736,7 +12723,7 @@ var extrudeAndTransformElement = (options) => {
|
|
|
12736
12723
|
init_esm();
|
|
12737
12724
|
import { jsx as jsx37, Fragment } from "react/jsx-runtime";
|
|
12738
12725
|
import { jsx as jsx210, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
12739
|
-
import { useEffect as
|
|
12726
|
+
import { useEffect as useEffect22, useMemo as useMemo210, useRef as useRef18 } from "react";
|
|
12740
12727
|
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
12741
12728
|
import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
12742
12729
|
import React42 from "react";
|
|
@@ -12824,7 +12811,7 @@ var useHoverTransforms = (ref, disabled) => {
|
|
|
12824
12811
|
isActive: false
|
|
12825
12812
|
});
|
|
12826
12813
|
const eventTarget = useMemo33(() => new EventTarget, []);
|
|
12827
|
-
|
|
12814
|
+
useEffect21(() => {
|
|
12828
12815
|
if (disabled) {
|
|
12829
12816
|
eventTarget.dispatchEvent(new Event("disabled"));
|
|
12830
12817
|
} else {
|
|
@@ -12971,7 +12958,7 @@ var getAngle = (ref, coordinates) => {
|
|
|
12971
12958
|
var lastCoordinates = null;
|
|
12972
12959
|
var useMousePosition = (ref) => {
|
|
12973
12960
|
const [angle, setAngle] = useState21(getAngle(ref.current, lastCoordinates));
|
|
12974
|
-
|
|
12961
|
+
useEffect21(() => {
|
|
12975
12962
|
const element = ref.current;
|
|
12976
12963
|
if (!element) {
|
|
12977
12964
|
return;
|
|
@@ -13092,7 +13079,7 @@ var Spinner = ({ size, duration }) => {
|
|
|
13092
13079
|
};
|
|
13093
13080
|
}, [size]);
|
|
13094
13081
|
const pathsRef = useRef18([]);
|
|
13095
|
-
|
|
13082
|
+
useEffect22(() => {
|
|
13096
13083
|
const animate = () => {
|
|
13097
13084
|
const now = performance.now();
|
|
13098
13085
|
for (let index = 0;index < lines; index++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/promo-pages",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.381",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remotion/animated-emoji": "4.0.
|
|
15
|
-
"@remotion/design": "4.0.
|
|
16
|
-
"@remotion/lambda": "4.0.
|
|
17
|
-
"@remotion/lottie": "4.0.
|
|
18
|
-
"@remotion/paths": "4.0.
|
|
19
|
-
"@remotion/player": "4.0.
|
|
20
|
-
"@remotion/shapes": "4.0.
|
|
21
|
-
"@remotion/svg-3d-engine": "4.0.
|
|
22
|
-
"create-video": "4.0.
|
|
14
|
+
"@remotion/animated-emoji": "4.0.381",
|
|
15
|
+
"@remotion/design": "4.0.381",
|
|
16
|
+
"@remotion/lambda": "4.0.381",
|
|
17
|
+
"@remotion/lottie": "4.0.381",
|
|
18
|
+
"@remotion/paths": "4.0.381",
|
|
19
|
+
"@remotion/player": "4.0.381",
|
|
20
|
+
"@remotion/shapes": "4.0.381",
|
|
21
|
+
"@remotion/svg-3d-engine": "4.0.381",
|
|
22
|
+
"create-video": "4.0.381",
|
|
23
23
|
"hls.js": "1.5.19",
|
|
24
24
|
"polished": "4.3.1",
|
|
25
|
-
"remotion": "4.0.
|
|
25
|
+
"remotion": "4.0.381",
|
|
26
26
|
"zod": "3.22.3",
|
|
27
27
|
"bun-plugin-tailwind": "0.1.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.381",
|
|
31
31
|
"@eslint/eslintrc": "3.1.0",
|
|
32
32
|
"@types/react": "19.0.0",
|
|
33
33
|
"@types/react-dom": "19.0.0",
|