@remotion/promo-pages 4.0.358 → 4.0.362
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
CHANGED
package/dist/Homepage.js
CHANGED
|
@@ -20,6 +20,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
20
20
|
// ../core/dist/esm/index.mjs
|
|
21
21
|
import { createContext } from "react";
|
|
22
22
|
import React4 from "react";
|
|
23
|
+
import JsxRuntime from "react/jsx-runtime";
|
|
23
24
|
import { createContext as createContext2, useContext } from "react";
|
|
24
25
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
25
26
|
import {
|
|
@@ -710,11 +711,8 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
710
711
|
isReadOnlyStudio,
|
|
711
712
|
isClientSideRendering: false
|
|
712
713
|
};
|
|
713
|
-
}, originalCreateElement, componentsToAddStacksTo,
|
|
714
|
-
|
|
715
|
-
return;
|
|
716
|
-
}
|
|
717
|
-
const proxy = new Proxy(originalCreateElement, {
|
|
714
|
+
}, originalCreateElement, originalJsx, componentsToAddStacksTo, enableProxy = (api) => {
|
|
715
|
+
return new Proxy(api, {
|
|
718
716
|
apply(target, thisArg, argArray) {
|
|
719
717
|
if (componentsToAddStacksTo.includes(argArray[0])) {
|
|
720
718
|
const [first, props, ...rest] = argArray;
|
|
@@ -727,7 +725,12 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
727
725
|
return Reflect.apply(target, thisArg, argArray);
|
|
728
726
|
}
|
|
729
727
|
});
|
|
730
|
-
|
|
728
|
+
}, enableSequenceStackTraces = () => {
|
|
729
|
+
if (!getRemotionEnvironment().isStudio) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
React4.createElement = enableProxy(originalCreateElement);
|
|
733
|
+
JsxRuntime.jsx = enableProxy(originalJsx);
|
|
731
734
|
}, addSequenceStackTraces = (component) => {
|
|
732
735
|
componentsToAddStacksTo.push(component);
|
|
733
736
|
enableSequenceStackTraces();
|
|
@@ -740,7 +743,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
740
743
|
});
|
|
741
744
|
}, useIsPlayer = () => {
|
|
742
745
|
return useContext(IsPlayerContext);
|
|
743
|
-
}, VERSION = "4.0.
|
|
746
|
+
}, VERSION = "4.0.362", checkMultipleRemotionVersions = () => {
|
|
744
747
|
if (typeof globalThis === "undefined") {
|
|
745
748
|
return;
|
|
746
749
|
}
|
|
@@ -939,6 +942,23 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
939
942
|
value: ctx,
|
|
940
943
|
children
|
|
941
944
|
});
|
|
945
|
+
}, getKey = () => {
|
|
946
|
+
return `remotion_inputPropsOverride` + window.location.origin;
|
|
947
|
+
}, getInputPropsOverride = () => {
|
|
948
|
+
if (typeof localStorage === "undefined")
|
|
949
|
+
return null;
|
|
950
|
+
const override = localStorage.getItem(getKey());
|
|
951
|
+
if (!override)
|
|
952
|
+
return null;
|
|
953
|
+
return JSON.parse(override);
|
|
954
|
+
}, setInputPropsOverride = (override) => {
|
|
955
|
+
if (typeof localStorage === "undefined")
|
|
956
|
+
return;
|
|
957
|
+
if (override === null) {
|
|
958
|
+
localStorage.removeItem(getKey());
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
localStorage.setItem(getKey(), JSON.stringify(override));
|
|
942
962
|
}, DATE_TOKEN = "remotion-date:", FILE_TOKEN = "remotion-file:", serializeJSONWithSpecialTypes = ({
|
|
943
963
|
data,
|
|
944
964
|
indent,
|
|
@@ -1010,6 +1030,10 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1010
1030
|
if (getRemotionEnvironment().isPlayer) {
|
|
1011
1031
|
throw new Error("You cannot call `getInputProps()` from a <Player>. Instead, the props are available as React props from component that you passed as `component` prop.");
|
|
1012
1032
|
}
|
|
1033
|
+
const override = getInputPropsOverride();
|
|
1034
|
+
if (override) {
|
|
1035
|
+
return override;
|
|
1036
|
+
}
|
|
1013
1037
|
const param = window.remotion_inputProps;
|
|
1014
1038
|
if (!param) {
|
|
1015
1039
|
return {};
|
|
@@ -6644,6 +6668,7 @@ var init_esm = __esm(() => {
|
|
|
6644
6668
|
`));
|
|
6645
6669
|
}
|
|
6646
6670
|
originalCreateElement = React4.createElement;
|
|
6671
|
+
originalJsx = JsxRuntime.jsx;
|
|
6647
6672
|
componentsToAddStacksTo = [];
|
|
6648
6673
|
IsPlayerContext = createContext2(false);
|
|
6649
6674
|
AbsoluteFill = forwardRef(AbsoluteFillRefForwarding);
|
|
@@ -7053,7 +7078,9 @@ var init_esm = __esm(() => {
|
|
|
7053
7078
|
AudioForPreview,
|
|
7054
7079
|
OBJECTFIT_CONTAIN_CLASS_NAME,
|
|
7055
7080
|
InnerOffthreadVideo,
|
|
7056
|
-
useBasicMediaInTimeline
|
|
7081
|
+
useBasicMediaInTimeline,
|
|
7082
|
+
getInputPropsOverride,
|
|
7083
|
+
setInputPropsOverride
|
|
7057
7084
|
};
|
|
7058
7085
|
PERCENTAGE = NUMBER + "%";
|
|
7059
7086
|
IsInsideSeriesContext = createContext19(false);
|
|
@@ -20725,6 +20752,7 @@ var listOfRemotionPackages = [
|
|
|
20725
20752
|
"@remotion/lambda",
|
|
20726
20753
|
"@remotion/lambda-client",
|
|
20727
20754
|
"@remotion/layout-utils",
|
|
20755
|
+
"@remotion/rounded-text-box",
|
|
20728
20756
|
"@remotion/licensing",
|
|
20729
20757
|
"@remotion/lottie",
|
|
20730
20758
|
"@remotion/mcp",
|
|
@@ -20,6 +20,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
20
20
|
// ../core/dist/esm/index.mjs
|
|
21
21
|
import { createContext } from "react";
|
|
22
22
|
import React4 from "react";
|
|
23
|
+
import JsxRuntime from "react/jsx-runtime";
|
|
23
24
|
import { createContext as createContext2, useContext } from "react";
|
|
24
25
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
25
26
|
import {
|
|
@@ -710,11 +711,8 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
710
711
|
isReadOnlyStudio,
|
|
711
712
|
isClientSideRendering: false
|
|
712
713
|
};
|
|
713
|
-
}, originalCreateElement, componentsToAddStacksTo,
|
|
714
|
-
|
|
715
|
-
return;
|
|
716
|
-
}
|
|
717
|
-
const proxy = new Proxy(originalCreateElement, {
|
|
714
|
+
}, originalCreateElement, originalJsx, componentsToAddStacksTo, enableProxy = (api) => {
|
|
715
|
+
return new Proxy(api, {
|
|
718
716
|
apply(target, thisArg, argArray) {
|
|
719
717
|
if (componentsToAddStacksTo.includes(argArray[0])) {
|
|
720
718
|
const [first, props, ...rest] = argArray;
|
|
@@ -727,7 +725,12 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
727
725
|
return Reflect.apply(target, thisArg, argArray);
|
|
728
726
|
}
|
|
729
727
|
});
|
|
730
|
-
|
|
728
|
+
}, enableSequenceStackTraces = () => {
|
|
729
|
+
if (!getRemotionEnvironment().isStudio) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
React4.createElement = enableProxy(originalCreateElement);
|
|
733
|
+
JsxRuntime.jsx = enableProxy(originalJsx);
|
|
731
734
|
}, addSequenceStackTraces = (component) => {
|
|
732
735
|
componentsToAddStacksTo.push(component);
|
|
733
736
|
enableSequenceStackTraces();
|
|
@@ -740,7 +743,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
740
743
|
});
|
|
741
744
|
}, useIsPlayer = () => {
|
|
742
745
|
return useContext(IsPlayerContext);
|
|
743
|
-
}, VERSION = "4.0.
|
|
746
|
+
}, VERSION = "4.0.362", checkMultipleRemotionVersions = () => {
|
|
744
747
|
if (typeof globalThis === "undefined") {
|
|
745
748
|
return;
|
|
746
749
|
}
|
|
@@ -939,6 +942,23 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
939
942
|
value: ctx,
|
|
940
943
|
children
|
|
941
944
|
});
|
|
945
|
+
}, getKey = () => {
|
|
946
|
+
return `remotion_inputPropsOverride` + window.location.origin;
|
|
947
|
+
}, getInputPropsOverride = () => {
|
|
948
|
+
if (typeof localStorage === "undefined")
|
|
949
|
+
return null;
|
|
950
|
+
const override = localStorage.getItem(getKey());
|
|
951
|
+
if (!override)
|
|
952
|
+
return null;
|
|
953
|
+
return JSON.parse(override);
|
|
954
|
+
}, setInputPropsOverride = (override) => {
|
|
955
|
+
if (typeof localStorage === "undefined")
|
|
956
|
+
return;
|
|
957
|
+
if (override === null) {
|
|
958
|
+
localStorage.removeItem(getKey());
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
localStorage.setItem(getKey(), JSON.stringify(override));
|
|
942
962
|
}, DATE_TOKEN = "remotion-date:", FILE_TOKEN = "remotion-file:", serializeJSONWithSpecialTypes = ({
|
|
943
963
|
data,
|
|
944
964
|
indent,
|
|
@@ -1010,6 +1030,10 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1010
1030
|
if (getRemotionEnvironment().isPlayer) {
|
|
1011
1031
|
throw new Error("You cannot call `getInputProps()` from a <Player>. Instead, the props are available as React props from component that you passed as `component` prop.");
|
|
1012
1032
|
}
|
|
1033
|
+
const override = getInputPropsOverride();
|
|
1034
|
+
if (override) {
|
|
1035
|
+
return override;
|
|
1036
|
+
}
|
|
1013
1037
|
const param = window.remotion_inputProps;
|
|
1014
1038
|
if (!param) {
|
|
1015
1039
|
return {};
|
|
@@ -6644,6 +6668,7 @@ var init_esm = __esm(() => {
|
|
|
6644
6668
|
`));
|
|
6645
6669
|
}
|
|
6646
6670
|
originalCreateElement = React4.createElement;
|
|
6671
|
+
originalJsx = JsxRuntime.jsx;
|
|
6647
6672
|
componentsToAddStacksTo = [];
|
|
6648
6673
|
IsPlayerContext = createContext2(false);
|
|
6649
6674
|
AbsoluteFill = forwardRef(AbsoluteFillRefForwarding);
|
|
@@ -7053,7 +7078,9 @@ var init_esm = __esm(() => {
|
|
|
7053
7078
|
AudioForPreview,
|
|
7054
7079
|
OBJECTFIT_CONTAIN_CLASS_NAME,
|
|
7055
7080
|
InnerOffthreadVideo,
|
|
7056
|
-
useBasicMediaInTimeline
|
|
7081
|
+
useBasicMediaInTimeline,
|
|
7082
|
+
getInputPropsOverride,
|
|
7083
|
+
setInputPropsOverride
|
|
7057
7084
|
};
|
|
7058
7085
|
PERCENTAGE = NUMBER + "%";
|
|
7059
7086
|
IsInsideSeriesContext = createContext19(false);
|
|
@@ -20725,6 +20752,7 @@ var listOfRemotionPackages = [
|
|
|
20725
20752
|
"@remotion/lambda",
|
|
20726
20753
|
"@remotion/lambda-client",
|
|
20727
20754
|
"@remotion/layout-utils",
|
|
20755
|
+
"@remotion/rounded-text-box",
|
|
20728
20756
|
"@remotion/licensing",
|
|
20729
20757
|
"@remotion/lottie",
|
|
20730
20758
|
"@remotion/mcp",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/promo-pages",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.362",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -11,27 +11,27 @@
|
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remotion/animated-emoji": "4.0.
|
|
15
|
-
"@remotion/lambda": "4.0.
|
|
16
|
-
"@remotion/lottie": "4.0.
|
|
17
|
-
"@remotion/paths": "4.0.
|
|
18
|
-
"@remotion/player": "4.0.
|
|
19
|
-
"@remotion/shapes": "4.0.
|
|
20
|
-
"create-video": "4.0.
|
|
14
|
+
"@remotion/animated-emoji": "4.0.362",
|
|
15
|
+
"@remotion/lambda": "4.0.362",
|
|
16
|
+
"@remotion/lottie": "4.0.362",
|
|
17
|
+
"@remotion/paths": "4.0.362",
|
|
18
|
+
"@remotion/player": "4.0.362",
|
|
19
|
+
"@remotion/shapes": "4.0.362",
|
|
20
|
+
"create-video": "4.0.362",
|
|
21
21
|
"hls.js": "1.5.19",
|
|
22
22
|
"polished": "4.3.1",
|
|
23
|
-
"remotion": "4.0.
|
|
23
|
+
"remotion": "4.0.362",
|
|
24
24
|
"zod": "3.22.3",
|
|
25
25
|
"bun-plugin-tailwind": "0.0.15"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
28
|
+
"@remotion/eslint-config-internal": "4.0.362",
|
|
29
29
|
"@eslint/eslintrc": "3.1.0",
|
|
30
30
|
"@types/react": "19.0.0",
|
|
31
31
|
"@types/react-dom": "19.0.0",
|
|
32
32
|
"eslint": "9.19.0",
|
|
33
33
|
"eslint-config-next": "15.1.6",
|
|
34
|
-
"plyr": "
|
|
34
|
+
"plyr": "3.7.3",
|
|
35
35
|
"postcss": "8.4.47",
|
|
36
36
|
"tailwindcss": "4.1.1",
|
|
37
37
|
"@tailwindcss/cli": "4.1.1",
|