@remotion/promo-pages 4.0.374 → 4.0.375
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 +53 -29
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +53 -29
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +215 -97
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +18 -13
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +18 -13
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +18 -13
- package/dist/design.js +215 -97
- package/dist/homepage/Pricing.js +18 -13
- package/dist/template-modal-content.js +18 -13
- package/dist/templates.js +18 -13
- package/package.json +12 -12
package/dist/Homepage.js
CHANGED
|
@@ -753,7 +753,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
753
753
|
});
|
|
754
754
|
}, useIsPlayer = () => {
|
|
755
755
|
return useContext(IsPlayerContext);
|
|
756
|
-
}, VERSION = "4.0.
|
|
756
|
+
}, VERSION = "4.0.375", checkMultipleRemotionVersions = () => {
|
|
757
757
|
if (typeof globalThis === "undefined") {
|
|
758
758
|
return;
|
|
759
759
|
}
|
|
@@ -1046,6 +1046,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1046
1046
|
if (override) {
|
|
1047
1047
|
return override;
|
|
1048
1048
|
}
|
|
1049
|
+
if (typeof window === "undefined" || typeof window.remotion_inputProps === "undefined") {
|
|
1050
|
+
throw new Error("Cannot call `getInputProps()` - window.remotion_inputProps is not set. This API is only available if you are in the Studio, or while you are rendering server-side.");
|
|
1051
|
+
}
|
|
1049
1052
|
const param = window.remotion_inputProps;
|
|
1050
1053
|
if (!param) {
|
|
1051
1054
|
return {};
|
|
@@ -1203,7 +1206,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1203
1206
|
}
|
|
1204
1207
|
}, ResolveCompositionContext, resolveCompositionsRef, needsResolution = (composition) => {
|
|
1205
1208
|
return Boolean(composition.calculateMetadata);
|
|
1206
|
-
}, PROPS_UPDATED_EXTERNALLY = "remotion.propsUpdatedExternally",
|
|
1209
|
+
}, PROPS_UPDATED_EXTERNALLY = "remotion.propsUpdatedExternally", ResolveCompositionConfigInStudio = ({ children }) => {
|
|
1207
1210
|
const [currentRenderModalComposition, setCurrentRenderModalComposition] = useState4(null);
|
|
1208
1211
|
const { compositions, canvasContent, currentCompositionMetadata } = useContext4(CompositionManager);
|
|
1209
1212
|
const { fastRefreshes, manualRefreshes } = useContext4(NonceContext);
|
|
@@ -1499,7 +1502,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1499
1502
|
props: {
|
|
1500
1503
|
...composition.defaultProps ?? {},
|
|
1501
1504
|
...selectedEditorProps ?? {},
|
|
1502
|
-
...typeof window === "undefined" || env.isPlayer ? {} : getInputProps() ?? {}
|
|
1505
|
+
...typeof window === "undefined" || env.isPlayer || !window.remotion_inputProps ? {} : getInputProps() ?? {}
|
|
1503
1506
|
},
|
|
1504
1507
|
defaultCodec: null,
|
|
1505
1508
|
defaultOutName: null,
|
|
@@ -1509,6 +1512,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1509
1512
|
}
|
|
1510
1513
|
};
|
|
1511
1514
|
}
|
|
1515
|
+
if (!context) {
|
|
1516
|
+
return null;
|
|
1517
|
+
}
|
|
1512
1518
|
if (!context[composition.id]) {
|
|
1513
1519
|
return null;
|
|
1514
1520
|
}
|
|
@@ -5422,14 +5428,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5422
5428
|
children: /* @__PURE__ */ jsx28(PrefetchProvider, {
|
|
5423
5429
|
children: /* @__PURE__ */ jsx28(SequenceManagerProvider, {
|
|
5424
5430
|
children: /* @__PURE__ */ jsx28(RenderAssetManagerProvider, {
|
|
5425
|
-
children: /* @__PURE__ */ jsx28(
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
children: /* @__PURE__ */ jsx28(
|
|
5430
|
-
children
|
|
5431
|
-
children
|
|
5432
|
-
})
|
|
5431
|
+
children: /* @__PURE__ */ jsx28(SharedAudioContextProvider, {
|
|
5432
|
+
numberOfAudioTags,
|
|
5433
|
+
audioLatencyHint,
|
|
5434
|
+
children: /* @__PURE__ */ jsx28(DurationsContextProvider, {
|
|
5435
|
+
children: /* @__PURE__ */ jsx28(BufferingProvider, {
|
|
5436
|
+
children
|
|
5433
5437
|
})
|
|
5434
5438
|
})
|
|
5435
5439
|
})
|
|
@@ -7129,7 +7133,7 @@ var init_esm = __esm(() => {
|
|
|
7129
7133
|
resolveVideoConfig,
|
|
7130
7134
|
useResolvedVideoConfig,
|
|
7131
7135
|
resolveCompositionsRef,
|
|
7132
|
-
|
|
7136
|
+
ResolveCompositionConfigInStudio,
|
|
7133
7137
|
REMOTION_STUDIO_CONTAINER_ELEMENT,
|
|
7134
7138
|
RenderAssetManager,
|
|
7135
7139
|
persistCurrentFrame,
|
|
@@ -13180,6 +13184,7 @@ var Outer = ({
|
|
|
13180
13184
|
const depth = depthFromHover;
|
|
13181
13185
|
const frontFace = reduceMatrices([
|
|
13182
13186
|
translateZ(-depth / 2 + depthFromClick),
|
|
13187
|
+
translateZ(1.1),
|
|
13183
13188
|
transformation
|
|
13184
13189
|
]);
|
|
13185
13190
|
const centerOriented = reduceMatrices([
|
|
@@ -13321,7 +13326,7 @@ var Button = ({ children, className, disabled, depth, loading, ...buttonProps })
|
|
|
13321
13326
|
...buttonProps,
|
|
13322
13327
|
children: [
|
|
13323
13328
|
/* @__PURE__ */ jsx43("div", {
|
|
13324
|
-
className: cn(loading && "invisible"),
|
|
13329
|
+
className: cn(loading && "invisible", "inline-flex"),
|
|
13325
13330
|
children
|
|
13326
13331
|
}),
|
|
13327
13332
|
loading ? /* @__PURE__ */ jsx43("div", {
|
|
@@ -23899,7 +23904,8 @@ var SharedPlayerContexts = ({
|
|
|
23899
23904
|
initiallyMuted,
|
|
23900
23905
|
logLevel,
|
|
23901
23906
|
audioLatencyHint,
|
|
23902
|
-
volumePersistenceKey
|
|
23907
|
+
volumePersistenceKey,
|
|
23908
|
+
inputProps
|
|
23903
23909
|
}) => {
|
|
23904
23910
|
const compositionManagerContext = useMemo132(() => {
|
|
23905
23911
|
const context = {
|
|
@@ -23919,11 +23925,29 @@ var SharedPlayerContexts = ({
|
|
|
23919
23925
|
}
|
|
23920
23926
|
],
|
|
23921
23927
|
folders: [],
|
|
23922
|
-
currentCompositionMetadata:
|
|
23928
|
+
currentCompositionMetadata: {
|
|
23929
|
+
defaultCodec: null,
|
|
23930
|
+
defaultOutName: null,
|
|
23931
|
+
defaultPixelFormat: null,
|
|
23932
|
+
defaultProResProfile: null,
|
|
23933
|
+
defaultVideoImageFormat: null,
|
|
23934
|
+
durationInFrames,
|
|
23935
|
+
fps,
|
|
23936
|
+
height: compositionHeight,
|
|
23937
|
+
width: compositionWidth,
|
|
23938
|
+
props: inputProps
|
|
23939
|
+
},
|
|
23923
23940
|
canvasContent: { type: "composition", compositionId: "player-comp" }
|
|
23924
23941
|
};
|
|
23925
23942
|
return context;
|
|
23926
|
-
}, [
|
|
23943
|
+
}, [
|
|
23944
|
+
component,
|
|
23945
|
+
durationInFrames,
|
|
23946
|
+
compositionHeight,
|
|
23947
|
+
compositionWidth,
|
|
23948
|
+
fps,
|
|
23949
|
+
inputProps
|
|
23950
|
+
]);
|
|
23927
23951
|
const [mediaMuted, setMediaMuted] = useState122(() => initiallyMuted);
|
|
23928
23952
|
const [mediaVolume, setMediaVolume] = useState122(() => getPreferredVolume(volumePersistenceKey ?? null));
|
|
23929
23953
|
const mediaVolumeContextValue = useMemo132(() => {
|
|
@@ -23966,19 +23990,17 @@ var SharedPlayerContexts = ({
|
|
|
23966
23990
|
value: timelineContext,
|
|
23967
23991
|
children: /* @__PURE__ */ jsx133(Internals.CompositionManager.Provider, {
|
|
23968
23992
|
value: compositionManagerContext,
|
|
23969
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23970
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23971
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23972
|
-
|
|
23973
|
-
|
|
23974
|
-
|
|
23975
|
-
|
|
23976
|
-
|
|
23977
|
-
|
|
23978
|
-
|
|
23979
|
-
children
|
|
23980
|
-
children
|
|
23981
|
-
})
|
|
23993
|
+
children: /* @__PURE__ */ jsx133(Internals.PrefetchProvider, {
|
|
23994
|
+
children: /* @__PURE__ */ jsx133(Internals.DurationsContextProvider, {
|
|
23995
|
+
children: /* @__PURE__ */ jsx133(Internals.MediaVolumeContext.Provider, {
|
|
23996
|
+
value: mediaVolumeContextValue,
|
|
23997
|
+
children: /* @__PURE__ */ jsx133(Internals.SetMediaVolumeContext.Provider, {
|
|
23998
|
+
value: setMediaVolumeContextValue,
|
|
23999
|
+
children: /* @__PURE__ */ jsx133(Internals.SharedAudioContextProvider, {
|
|
24000
|
+
numberOfAudioTags: numberOfSharedAudioTags,
|
|
24001
|
+
audioLatencyHint,
|
|
24002
|
+
children: /* @__PURE__ */ jsx133(Internals.BufferingProvider, {
|
|
24003
|
+
children
|
|
23982
24004
|
})
|
|
23983
24005
|
})
|
|
23984
24006
|
})
|
|
@@ -24278,6 +24300,7 @@ var PlayerFn = ({
|
|
|
24278
24300
|
logLevel,
|
|
24279
24301
|
audioLatencyHint,
|
|
24280
24302
|
volumePersistenceKey,
|
|
24303
|
+
inputProps: actualInputProps,
|
|
24281
24304
|
children: /* @__PURE__ */ jsx143(Internals.SetTimelineContext.Provider, {
|
|
24282
24305
|
value: setTimelineContextValue,
|
|
24283
24306
|
children: /* @__PURE__ */ jsx143(PlayerEmitterProvider, {
|
|
@@ -24525,6 +24548,7 @@ var ThumbnailFn = ({
|
|
|
24525
24548
|
initiallyMuted: true,
|
|
24526
24549
|
logLevel,
|
|
24527
24550
|
audioLatencyHint: "playback",
|
|
24551
|
+
inputProps: passedInputProps,
|
|
24528
24552
|
children: /* @__PURE__ */ jsx163(ThumbnailEmitterContext.Provider, {
|
|
24529
24553
|
value: emitter,
|
|
24530
24554
|
children: /* @__PURE__ */ jsx163(ThumbnailUI_default, {
|
|
@@ -753,7 +753,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
753
753
|
});
|
|
754
754
|
}, useIsPlayer = () => {
|
|
755
755
|
return useContext(IsPlayerContext);
|
|
756
|
-
}, VERSION = "4.0.
|
|
756
|
+
}, VERSION = "4.0.375", checkMultipleRemotionVersions = () => {
|
|
757
757
|
if (typeof globalThis === "undefined") {
|
|
758
758
|
return;
|
|
759
759
|
}
|
|
@@ -1046,6 +1046,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1046
1046
|
if (override) {
|
|
1047
1047
|
return override;
|
|
1048
1048
|
}
|
|
1049
|
+
if (typeof window === "undefined" || typeof window.remotion_inputProps === "undefined") {
|
|
1050
|
+
throw new Error("Cannot call `getInputProps()` - window.remotion_inputProps is not set. This API is only available if you are in the Studio, or while you are rendering server-side.");
|
|
1051
|
+
}
|
|
1049
1052
|
const param = window.remotion_inputProps;
|
|
1050
1053
|
if (!param) {
|
|
1051
1054
|
return {};
|
|
@@ -1203,7 +1206,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1203
1206
|
}
|
|
1204
1207
|
}, ResolveCompositionContext, resolveCompositionsRef, needsResolution = (composition) => {
|
|
1205
1208
|
return Boolean(composition.calculateMetadata);
|
|
1206
|
-
}, PROPS_UPDATED_EXTERNALLY = "remotion.propsUpdatedExternally",
|
|
1209
|
+
}, PROPS_UPDATED_EXTERNALLY = "remotion.propsUpdatedExternally", ResolveCompositionConfigInStudio = ({ children }) => {
|
|
1207
1210
|
const [currentRenderModalComposition, setCurrentRenderModalComposition] = useState4(null);
|
|
1208
1211
|
const { compositions, canvasContent, currentCompositionMetadata } = useContext4(CompositionManager);
|
|
1209
1212
|
const { fastRefreshes, manualRefreshes } = useContext4(NonceContext);
|
|
@@ -1499,7 +1502,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1499
1502
|
props: {
|
|
1500
1503
|
...composition.defaultProps ?? {},
|
|
1501
1504
|
...selectedEditorProps ?? {},
|
|
1502
|
-
...typeof window === "undefined" || env.isPlayer ? {} : getInputProps() ?? {}
|
|
1505
|
+
...typeof window === "undefined" || env.isPlayer || !window.remotion_inputProps ? {} : getInputProps() ?? {}
|
|
1503
1506
|
},
|
|
1504
1507
|
defaultCodec: null,
|
|
1505
1508
|
defaultOutName: null,
|
|
@@ -1509,6 +1512,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1509
1512
|
}
|
|
1510
1513
|
};
|
|
1511
1514
|
}
|
|
1515
|
+
if (!context) {
|
|
1516
|
+
return null;
|
|
1517
|
+
}
|
|
1512
1518
|
if (!context[composition.id]) {
|
|
1513
1519
|
return null;
|
|
1514
1520
|
}
|
|
@@ -5422,14 +5428,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5422
5428
|
children: /* @__PURE__ */ jsx28(PrefetchProvider, {
|
|
5423
5429
|
children: /* @__PURE__ */ jsx28(SequenceManagerProvider, {
|
|
5424
5430
|
children: /* @__PURE__ */ jsx28(RenderAssetManagerProvider, {
|
|
5425
|
-
children: /* @__PURE__ */ jsx28(
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
children: /* @__PURE__ */ jsx28(
|
|
5430
|
-
children
|
|
5431
|
-
children
|
|
5432
|
-
})
|
|
5431
|
+
children: /* @__PURE__ */ jsx28(SharedAudioContextProvider, {
|
|
5432
|
+
numberOfAudioTags,
|
|
5433
|
+
audioLatencyHint,
|
|
5434
|
+
children: /* @__PURE__ */ jsx28(DurationsContextProvider, {
|
|
5435
|
+
children: /* @__PURE__ */ jsx28(BufferingProvider, {
|
|
5436
|
+
children
|
|
5433
5437
|
})
|
|
5434
5438
|
})
|
|
5435
5439
|
})
|
|
@@ -7129,7 +7133,7 @@ var init_esm = __esm(() => {
|
|
|
7129
7133
|
resolveVideoConfig,
|
|
7130
7134
|
useResolvedVideoConfig,
|
|
7131
7135
|
resolveCompositionsRef,
|
|
7132
|
-
|
|
7136
|
+
ResolveCompositionConfigInStudio,
|
|
7133
7137
|
REMOTION_STUDIO_CONTAINER_ELEMENT,
|
|
7134
7138
|
RenderAssetManager,
|
|
7135
7139
|
persistCurrentFrame,
|
|
@@ -13180,6 +13184,7 @@ var Outer = ({
|
|
|
13180
13184
|
const depth = depthFromHover;
|
|
13181
13185
|
const frontFace = reduceMatrices([
|
|
13182
13186
|
translateZ(-depth / 2 + depthFromClick),
|
|
13187
|
+
translateZ(1.1),
|
|
13183
13188
|
transformation
|
|
13184
13189
|
]);
|
|
13185
13190
|
const centerOriented = reduceMatrices([
|
|
@@ -13321,7 +13326,7 @@ var Button = ({ children, className, disabled, depth, loading, ...buttonProps })
|
|
|
13321
13326
|
...buttonProps,
|
|
13322
13327
|
children: [
|
|
13323
13328
|
/* @__PURE__ */ jsx43("div", {
|
|
13324
|
-
className: cn(loading && "invisible"),
|
|
13329
|
+
className: cn(loading && "invisible", "inline-flex"),
|
|
13325
13330
|
children
|
|
13326
13331
|
}),
|
|
13327
13332
|
loading ? /* @__PURE__ */ jsx43("div", {
|
|
@@ -23899,7 +23904,8 @@ var SharedPlayerContexts = ({
|
|
|
23899
23904
|
initiallyMuted,
|
|
23900
23905
|
logLevel,
|
|
23901
23906
|
audioLatencyHint,
|
|
23902
|
-
volumePersistenceKey
|
|
23907
|
+
volumePersistenceKey,
|
|
23908
|
+
inputProps
|
|
23903
23909
|
}) => {
|
|
23904
23910
|
const compositionManagerContext = useMemo132(() => {
|
|
23905
23911
|
const context = {
|
|
@@ -23919,11 +23925,29 @@ var SharedPlayerContexts = ({
|
|
|
23919
23925
|
}
|
|
23920
23926
|
],
|
|
23921
23927
|
folders: [],
|
|
23922
|
-
currentCompositionMetadata:
|
|
23928
|
+
currentCompositionMetadata: {
|
|
23929
|
+
defaultCodec: null,
|
|
23930
|
+
defaultOutName: null,
|
|
23931
|
+
defaultPixelFormat: null,
|
|
23932
|
+
defaultProResProfile: null,
|
|
23933
|
+
defaultVideoImageFormat: null,
|
|
23934
|
+
durationInFrames,
|
|
23935
|
+
fps,
|
|
23936
|
+
height: compositionHeight,
|
|
23937
|
+
width: compositionWidth,
|
|
23938
|
+
props: inputProps
|
|
23939
|
+
},
|
|
23923
23940
|
canvasContent: { type: "composition", compositionId: "player-comp" }
|
|
23924
23941
|
};
|
|
23925
23942
|
return context;
|
|
23926
|
-
}, [
|
|
23943
|
+
}, [
|
|
23944
|
+
component,
|
|
23945
|
+
durationInFrames,
|
|
23946
|
+
compositionHeight,
|
|
23947
|
+
compositionWidth,
|
|
23948
|
+
fps,
|
|
23949
|
+
inputProps
|
|
23950
|
+
]);
|
|
23927
23951
|
const [mediaMuted, setMediaMuted] = useState122(() => initiallyMuted);
|
|
23928
23952
|
const [mediaVolume, setMediaVolume] = useState122(() => getPreferredVolume(volumePersistenceKey ?? null));
|
|
23929
23953
|
const mediaVolumeContextValue = useMemo132(() => {
|
|
@@ -23966,19 +23990,17 @@ var SharedPlayerContexts = ({
|
|
|
23966
23990
|
value: timelineContext,
|
|
23967
23991
|
children: /* @__PURE__ */ jsx133(Internals.CompositionManager.Provider, {
|
|
23968
23992
|
value: compositionManagerContext,
|
|
23969
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23970
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23971
|
-
children: /* @__PURE__ */ jsx133(Internals.
|
|
23972
|
-
|
|
23973
|
-
|
|
23974
|
-
|
|
23975
|
-
|
|
23976
|
-
|
|
23977
|
-
|
|
23978
|
-
|
|
23979
|
-
children
|
|
23980
|
-
children
|
|
23981
|
-
})
|
|
23993
|
+
children: /* @__PURE__ */ jsx133(Internals.PrefetchProvider, {
|
|
23994
|
+
children: /* @__PURE__ */ jsx133(Internals.DurationsContextProvider, {
|
|
23995
|
+
children: /* @__PURE__ */ jsx133(Internals.MediaVolumeContext.Provider, {
|
|
23996
|
+
value: mediaVolumeContextValue,
|
|
23997
|
+
children: /* @__PURE__ */ jsx133(Internals.SetMediaVolumeContext.Provider, {
|
|
23998
|
+
value: setMediaVolumeContextValue,
|
|
23999
|
+
children: /* @__PURE__ */ jsx133(Internals.SharedAudioContextProvider, {
|
|
24000
|
+
numberOfAudioTags: numberOfSharedAudioTags,
|
|
24001
|
+
audioLatencyHint,
|
|
24002
|
+
children: /* @__PURE__ */ jsx133(Internals.BufferingProvider, {
|
|
24003
|
+
children
|
|
23982
24004
|
})
|
|
23983
24005
|
})
|
|
23984
24006
|
})
|
|
@@ -24278,6 +24300,7 @@ var PlayerFn = ({
|
|
|
24278
24300
|
logLevel,
|
|
24279
24301
|
audioLatencyHint,
|
|
24280
24302
|
volumePersistenceKey,
|
|
24303
|
+
inputProps: actualInputProps,
|
|
24281
24304
|
children: /* @__PURE__ */ jsx143(Internals.SetTimelineContext.Provider, {
|
|
24282
24305
|
value: setTimelineContextValue,
|
|
24283
24306
|
children: /* @__PURE__ */ jsx143(PlayerEmitterProvider, {
|
|
@@ -24525,6 +24548,7 @@ var ThumbnailFn = ({
|
|
|
24525
24548
|
initiallyMuted: true,
|
|
24526
24549
|
logLevel,
|
|
24527
24550
|
audioLatencyHint: "playback",
|
|
24551
|
+
inputProps: passedInputProps,
|
|
24528
24552
|
children: /* @__PURE__ */ jsx163(ThumbnailEmitterContext.Provider, {
|
|
24529
24553
|
value: emitter,
|
|
24530
24554
|
children: /* @__PURE__ */ jsx163(ThumbnailUI_default, {
|