remotion 4.0.537 → 4.0.539
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/cjs/AbsoluteFill.d.ts +62 -62
- package/dist/cjs/AbsoluteFill.js +3 -3
- package/dist/cjs/AbsoluteFillElement.d.ts +1 -1
- package/dist/cjs/AbsoluteFillElement.js +43 -5
- package/dist/cjs/CanUseRemotionHooks.js +1 -1
- package/dist/cjs/Composition.js +5 -11
- package/dist/cjs/CompositionErrorBoundary.js +5 -2
- package/dist/cjs/CompositionManager.d.ts +1 -0
- package/dist/cjs/CompositionManagerProvider.d.ts +1 -1
- package/dist/cjs/CompositionManagerProvider.js +1 -1
- package/dist/cjs/CompositionRegistryProvider.d.ts +1 -1
- package/dist/cjs/CompositionRegistryProvider.js +1 -1
- package/dist/cjs/EditorProps.d.ts +2 -2
- package/dist/cjs/EditorProps.js +1 -1
- package/dist/cjs/Folder.js +1 -1
- package/dist/cjs/HtmlInCanvas.d.ts +58 -67
- package/dist/cjs/HtmlInCanvas.js +22 -9
- package/dist/cjs/HtmlInCanvasFallback.d.ts +6 -0
- package/dist/cjs/HtmlInCanvasFallback.js +39 -0
- package/dist/cjs/IFrame.d.ts +2 -2
- package/dist/cjs/IFrame.js +1 -1
- package/dist/cjs/Img.d.ts +62 -62
- package/dist/cjs/Img.js +160 -132
- package/dist/cjs/Interactive.d.ts +147 -145
- package/dist/cjs/Interactive.js +2 -2
- package/dist/cjs/RemotionRoot.js +1 -1
- package/dist/cjs/RenderAssetManager.js +1 -1
- package/dist/cjs/Sequence.js +37 -27
- package/dist/cjs/SequenceActivityBoundary.js +1 -1
- package/dist/cjs/SequenceActivityBudget.js +1 -1
- package/dist/cjs/SequenceActivitySuspensionProvider.js +1 -1
- package/dist/cjs/SequenceManager.d.ts +6 -0
- package/dist/cjs/SequenceManager.js +71 -27
- package/dist/cjs/SequenceRegistryProvider.js +16 -3
- package/dist/cjs/TimelineContext.js +1 -1
- package/dist/cjs/Track.js +2 -2
- package/dist/cjs/animated-image/AnimatedImage.d.ts +69 -69
- package/dist/cjs/animated-image/AnimatedImage.js +6 -6
- package/dist/cjs/animated-image/canvas.d.ts +6 -5
- package/dist/cjs/animated-image/canvas.js +1 -1
- package/dist/cjs/animated-image/create-image-decoder.d.ts +1 -1
- package/dist/cjs/animated-image/decode-image.d.ts +1 -1
- package/dist/cjs/animated-image/decode-image.js +2 -0
- package/dist/cjs/animated-image/get-duration-in-seconds.d.ts +1 -1
- package/dist/cjs/animated-image/index.js +1 -1
- package/dist/cjs/audio/AudioForPreview.js +5 -28
- package/dist/cjs/audio/AudioForRendering.d.ts +5 -20
- package/dist/cjs/audio/AudioForRendering.js +44 -5
- package/dist/cjs/audio/html5-audio.d.ts +36 -36
- package/dist/cjs/audio/html5-audio.js +8 -10
- package/dist/cjs/audio/index.js +1 -1
- package/dist/cjs/audio/shared-audio-tags.js +10 -16
- package/dist/cjs/audio/shared-element-source-node.d.ts +1 -1
- package/dist/cjs/audio/use-audio-context.d.ts +2 -1
- package/dist/cjs/audio/wait-until-actually-resumed.d.ts +2 -1
- package/dist/cjs/buffer-until-first-frame.d.ts +4 -3
- package/dist/cjs/buffering.js +1 -1
- package/dist/cjs/cancel-render.js +3 -0
- package/dist/cjs/canvas-image/CanvasImage.d.ts +71 -71
- package/dist/cjs/canvas-image/CanvasImage.js +27 -24
- package/dist/cjs/canvas-image/index.js +1 -1
- package/dist/cjs/codec.d.ts +1 -1
- package/dist/cjs/committed-metadata.d.ts +4 -2
- package/dist/cjs/composition-registry-fallback.d.ts +4 -2
- package/dist/cjs/composition-registry-fallback.js +12 -10
- package/dist/cjs/create-element-source-proxy.js +46 -6
- package/dist/cjs/default-css.d.ts +1 -1
- package/dist/cjs/delay-render.d.ts +2 -1
- package/dist/cjs/delay-render.js +4 -2
- package/dist/cjs/easing.js +3 -1
- package/dist/cjs/effects/Solid.d.ts +60 -60
- package/dist/cjs/effects/Solid.js +2 -2
- package/dist/cjs/effects/canvas-pool.js +6 -9
- package/dist/cjs/effects/create-curve-sampler.d.ts +1 -0
- package/dist/cjs/effects/create-curve-sampler.js +100 -0
- package/dist/cjs/effects/effect-source-observer.d.ts +13 -0
- package/dist/cjs/effects/effect-source-observer.js +177 -0
- package/dist/cjs/effects/index.js +1 -1
- package/dist/cjs/effects/run-effect-chain.js +3 -0
- package/dist/cjs/effects/use-memoized-effects.d.ts +2 -1
- package/dist/cjs/effects/use-memoized-effects.js +29 -13
- package/dist/cjs/freeze.js +2 -2
- package/dist/cjs/get-cross-origin-value.d.ts +1 -1
- package/dist/cjs/get-effective-visual-mode-value.d.ts +2 -2
- package/dist/cjs/index.d.ts +3 -1
- package/dist/cjs/index.js +32 -32
- package/dist/cjs/interactivity-schema.d.ts +286 -286
- package/dist/cjs/internals.d.ts +412 -595
- package/dist/cjs/internals.js +11 -0
- package/dist/cjs/interpolate-colors.d.ts +1 -1
- package/dist/cjs/interpolate-colors.js +28 -23
- package/dist/cjs/interpolate.d.ts +2 -9
- package/dist/cjs/interpolate.js +37 -33
- package/dist/cjs/is-player.js +1 -1
- package/dist/cjs/loading-indicator.js +2 -6
- package/dist/cjs/log-level-context.d.ts +1 -1
- package/dist/cjs/log.d.ts +12 -7
- package/dist/cjs/loop/index.js +1 -1
- package/dist/cjs/media-resource-manager.d.ts +1 -1
- package/dist/cjs/media-tag-current-time-timestamp.d.ts +1 -1
- package/dist/cjs/no-react.d.ts +85 -91
- package/dist/cjs/no-react.js +2 -2
- package/dist/cjs/nonce.d.ts +11 -0
- package/dist/cjs/nonce.js +42 -0
- package/dist/cjs/play-and-handle-not-allowed-error.d.ts +5 -4
- package/dist/cjs/playback-logging.d.ts +2 -1
- package/dist/cjs/playback-pitch-context.d.ts +1 -0
- package/dist/cjs/playback-pitch-context.js +5 -0
- package/dist/cjs/prefetch-state.js +1 -1
- package/dist/cjs/prefetch.d.ts +7 -6
- package/dist/cjs/prefetch.js +30 -5
- package/dist/cjs/props-if-has-props.d.ts +2 -1
- package/dist/cjs/prores-profile.d.ts +1 -1
- package/dist/cjs/register-root.d.ts +2 -2
- package/dist/cjs/render-resource-manager.d.ts +1 -1
- package/dist/cjs/render-types.d.ts +2 -2
- package/dist/cjs/resolve-video-config.d.ts +8 -8
- package/dist/cjs/runtime-value-store.d.ts +1 -1
- package/dist/cjs/scale-value.d.ts +1 -1
- package/dist/cjs/seek.d.ts +3 -2
- package/dist/cjs/sequence-activity-context.js +1 -1
- package/dist/cjs/sequence-crop.js +1 -4
- package/dist/cjs/sequence-order-marker.d.ts +58 -0
- package/dist/cjs/sequence-order-marker.js +44 -0
- package/dist/cjs/series/flatten-children.d.ts +3 -1
- package/dist/cjs/series/index.js +4 -5
- package/dist/cjs/series/is-inside-series.js +2 -2
- package/dist/cjs/spring/index.d.ts +1 -1
- package/dist/cjs/spring/index.js +2 -4
- package/dist/cjs/spring/measure-spring.d.ts +1 -1
- package/dist/cjs/spring/spring-utils.d.ts +1 -1
- package/dist/cjs/spring/spring-utils.js +11 -5
- package/dist/cjs/timeline-position-state.d.ts +1 -1
- package/dist/cjs/timeline-position-state.js +2 -2
- package/dist/cjs/use-amplification.d.ts +4 -7
- package/dist/cjs/use-current-scale.d.ts +2 -2
- package/dist/cjs/use-delay-render.d.ts +2 -1
- package/dist/cjs/use-lazy-component.d.ts +1 -1
- package/dist/cjs/use-lazy-component.js +20 -9
- package/dist/cjs/use-media-buffering.d.ts +3 -2
- package/dist/cjs/use-media-duration.d.ts +4 -0
- package/dist/cjs/use-media-duration.js +36 -0
- package/dist/cjs/use-media-enabled.d.ts +1 -1
- package/dist/cjs/use-media-enabled.js +1 -1
- package/dist/cjs/use-media-in-timeline.d.ts +1 -1
- package/dist/cjs/use-media-playback.d.ts +3 -3
- package/dist/cjs/use-media-tag.d.ts +2 -2
- package/dist/cjs/use-pixel-density.d.ts +1 -1
- package/dist/cjs/use-premounting.d.ts +1 -1
- package/dist/cjs/use-premounting.js +6 -2
- package/dist/cjs/use-request-video-callback-time.d.ts +3 -3
- package/dist/cjs/use-schema.d.ts +4 -4
- package/dist/cjs/use-video.js +1 -1
- package/dist/cjs/validate-media-props.d.ts +1 -1
- package/dist/cjs/validation/validate-default-props.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/video/MediaPlaybackError.js +0 -1
- package/dist/cjs/video/OffthreadVideo.js +5 -5
- package/dist/cjs/video/OffthreadVideoForRendering.js +9 -7
- package/dist/cjs/video/VideoForPreview.js +6 -28
- package/dist/cjs/video/VideoForRendering.d.ts +5 -3
- package/dist/cjs/video/VideoForRendering.js +4 -2
- package/dist/cjs/video/duration-state.d.ts +1 -0
- package/dist/cjs/video/duration-state.js +8 -2
- package/dist/cjs/video/emit-video-frame.d.ts +1 -1
- package/dist/cjs/video/html5-video.d.ts +36 -36
- package/dist/cjs/video/html5-video.js +8 -10
- package/dist/cjs/video/index.js +2 -2
- package/dist/cjs/video/seek-until-right.d.ts +3 -2
- package/dist/cjs/warn-about-non-seekable-media.d.ts +1 -1
- package/dist/cjs/with-interactivity-schema.d.ts +1 -1
- package/dist/cjs/with-interactivity-schema.js +3 -8
- package/dist/cjs/wrap-remotion-context.d.ts +4 -4
- package/dist/cjs/wrap-remotion-context.js +2 -2
- package/dist/esm/index.mjs +1304 -819
- package/dist/esm/no-react.mjs +74 -52
- package/dist/esm/version.mjs +1 -1
- package/package.json +4 -4
package/dist/cjs/internals.d.ts
CHANGED
|
@@ -1,30 +1,100 @@
|
|
|
1
|
+
import { getAbsoluteSrc } from './absolute-src.js';
|
|
2
|
+
import { getAnimatedImageDurationInSeconds } from './animated-image/get-duration-in-seconds.js';
|
|
3
|
+
import { getAudioSyncAnchorTolerance } from './audio/get-audio-sync-anchor-tolerance.js';
|
|
1
4
|
import type { ScheduleAudioNodeResult } from './audio/shared-audio-tags.js';
|
|
2
5
|
import { type ScheduleAudioNodeOptions } from './audio/shared-audio-tags.js';
|
|
3
6
|
import type { RemotionAudioContextState } from './audio/use-audio-context.js';
|
|
7
|
+
import { useFrameForVolumeProp, useMediaStartsAt } from './audio/use-audio-frame.js';
|
|
8
|
+
import { useMediaAudioState } from './audio/use-media-audio-state.js';
|
|
9
|
+
import { calculateMediaDuration } from './calculate-media-duration.js';
|
|
10
|
+
import { withCommittedMetadata } from './committed-metadata.js';
|
|
11
|
+
import { getSingleChildComponent, setComponentIdentityResolver } from './component-identity.js';
|
|
4
12
|
import { type CompProps } from './Composition.js';
|
|
5
13
|
import type { JsxComponentIdentity, TCompMetadata, TComposition, TRenderAsset, TSequence } from './CompositionManager.js';
|
|
6
14
|
import type { CompositionManagerContext } from './CompositionManagerContext.js';
|
|
15
|
+
import { CompositionManagerProvider } from './CompositionManagerProvider.js';
|
|
16
|
+
import { createElementSourceProxy } from './create-element-source-proxy.js';
|
|
7
17
|
import * as CSSUtils from './default-css.js';
|
|
8
|
-
import {
|
|
18
|
+
import { createCurveSampler } from './effects/create-curve-sampler.js';
|
|
19
|
+
import { createEffect } from './effects/create-effect.js';
|
|
20
|
+
import { subscribeToEffectSource } from './effects/effect-source-observer.js';
|
|
21
|
+
import { cleanupEffectChainState, createEffectChainState, runEffectChain } from './effects/run-effect-chain.js';
|
|
22
|
+
import { useEffectChainState } from './effects/use-effect-chain-state.js';
|
|
23
|
+
import { getEffectPropStatusesCtx, getPropStatusesCtx, useMemoizedEffectDefinitions, useMemoizedEffects } from './effects/use-memoized-effects.js';
|
|
24
|
+
import { createWebGL2ContextError, createWebGLContextError } from './effects/webgl2-context-error.js';
|
|
25
|
+
import { addSequenceStackTraces, getComponentsToAddStacksTo, getStackForControls, makeOriginalSourceStack, parseOriginalSourceStack, type OriginalSourceLocation } from './enable-sequence-stack-traces.js';
|
|
26
|
+
import { evaluateSourceNumericValue, evaluateSourcePropStatuses } from './evaluate-source-expressions.js';
|
|
27
|
+
import { findPropsToDelete } from './find-props-to-delete.js';
|
|
28
|
+
import { flattenActiveSchema, getFlatSchemaWithAllKeys } from './flatten-schema.js';
|
|
29
|
+
import { useIsInsideNonPremountFreeze } from './freeze.js';
|
|
30
|
+
import { getAssetDisplayName } from './get-asset-file-name.js';
|
|
31
|
+
import { getEffectiveVisualModeValue, resolveDragOverrideValue } from './get-effective-visual-mode-value.js';
|
|
32
|
+
import { getPreviewDomElement } from './get-preview-dom-element.js';
|
|
33
|
+
import { getRemotionEnvironment } from './get-remotion-environment.js';
|
|
34
|
+
import { useHtmlInCanvasUnsupportedMessage } from './HtmlInCanvas.js';
|
|
35
|
+
import { getInputPropsOverride, setInputPropsOverride } from './input-props-override.js';
|
|
9
36
|
import type { SerializedJSONWithCustomFields } from './input-props-serialization.js';
|
|
10
37
|
import { type ArrayFieldSchema, type ArrayItemFieldSchema, type AssetFieldSchema, type InteractivitySchema, type InteractivitySchemaField, type VisibleFieldSchema } from './interactivity-schema.js';
|
|
38
|
+
import { interpolateKeyframedStatus, prepareNumericKeyframedStatus, setInterpolatePaths } from './interpolate-keyframed-status.js';
|
|
39
|
+
import { useIsPlayer } from './is-player.js';
|
|
11
40
|
import type { LoggingContextValue } from './log-level-context.js';
|
|
41
|
+
import { useLogLevel } from './log-level-context.js';
|
|
42
|
+
import { getMediabunnyInputResourceKey, makeMediaResourceManager } from './media-resource-manager.js';
|
|
43
|
+
import { usePendingSequenceDeletions } from './optimistic-sequence-deletion.js';
|
|
44
|
+
import { playbackLogging } from './playback-logging.js';
|
|
45
|
+
import { portalNode, setPortalNodeCurrentScale } from './portal-node.js';
|
|
46
|
+
import { usePreload } from './prefetch.js';
|
|
47
|
+
import { getRoot, waitForRoot } from './register-root.js';
|
|
12
48
|
import type { RemotionEnvironment } from './remotion-environment-context.js';
|
|
49
|
+
import { makeRenderResourceManager } from './render-resource-manager.js';
|
|
50
|
+
import { resolveSequenceDuration } from './resolve-sequence-duration.js';
|
|
51
|
+
import { resolveVideoConfig, resolveVideoConfigOrCatch, resolveVideoConfigWithMetadataOrCatch } from './resolve-video-config.js';
|
|
52
|
+
import { useResolvedVideoConfig } from './ResolveCompositionConfig.js';
|
|
53
|
+
import { createRuntimeValueStore } from './runtime-value-store.js';
|
|
54
|
+
import { resolveSequenceCrop } from './sequence-crop.js';
|
|
13
55
|
import type { OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters } from './sequence-node-path.js';
|
|
14
56
|
import { OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext } from './sequence-node-path.js';
|
|
15
57
|
import type { ResolvedStackLocation } from './sequence-stack-traces.js';
|
|
16
58
|
import type { CannotUpdateSequenceReason } from './SequenceManager.js';
|
|
17
|
-
import { type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type SequencePropsStatusRemapping, type SequencePropsSubscriptionKey, type VideoConfigValues } from './SequenceManager.js';
|
|
59
|
+
import { makeSequencePropsSubscriptionKey, useActiveFromDragOverrideKeys, useDragOverridesForNodePath, useSequenceManagerSequences, type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type SequencePropsStatusRemapping, type SequencePropsSubscriptionKey, type VideoConfigValues } from './SequenceManager.js';
|
|
60
|
+
import { setupEnvVariables } from './setup-env-variables.js';
|
|
18
61
|
import * as TimelinePosition from './timeline-position-state.js';
|
|
62
|
+
import { persistCurrentFrame, usePlaybackRate, useTimelineContext, useTimelineSetFrameWithoutSeek } from './timeline-position-state.js';
|
|
19
63
|
import { type PlaybackRateContextValue, type SetTimelineContextValue, type TimelineContextValue } from './TimelineContext.js';
|
|
20
64
|
import { truthy } from './truthy.js';
|
|
65
|
+
import { useBuffering } from './use-buffering.js';
|
|
66
|
+
import { useCropStyle } from './use-crop-style.js';
|
|
67
|
+
import { calculateScale } from './use-current-scale.js';
|
|
68
|
+
import { useLazyComponent } from './use-lazy-component.js';
|
|
69
|
+
import { useAudioEnabled, useVideoEnabled } from './use-media-enabled.js';
|
|
70
|
+
import { useBasicMediaInTimeline, useMediaInTimelineRegistration as useMediaInTimeline } from './use-media-in-timeline.js';
|
|
71
|
+
import { usePlaying } from './use-playing.js';
|
|
72
|
+
import { usePremounting } from './use-premounting.js';
|
|
21
73
|
import type { CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, DragOverrideValue, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, VideoConfigNumericExpression } from './use-schema.js';
|
|
22
|
-
import { type CanUpdateSequencePropStatus, type DragOverrides, type EffectDragOverrides, type PropStatuses } from './use-schema.js';
|
|
74
|
+
import { computeEffectiveSchemaValuesDotNotation, getStaticDragOverrideValue, makeKeyframedDragOverride, makeStaticDragOverride, type CanUpdateSequencePropStatus, type DragOverrides, type EffectDragOverrides, type PropStatuses } from './use-schema.js';
|
|
75
|
+
import { useTimelineSeek } from './use-timeline-seek.js';
|
|
76
|
+
import { useUnsafeVideoConfig } from './use-unsafe-video-config.js';
|
|
77
|
+
import { useVideo } from './use-video.js';
|
|
78
|
+
import { validateMediaProps } from './validate-media-props.js';
|
|
79
|
+
import { resolveTrimProps, validateMediaTrimProps } from './validate-start-from-props.js';
|
|
80
|
+
import { validateRenderAsset } from './validation/validate-artifact.js';
|
|
81
|
+
import { isCompositionIdValid } from './validation/validate-composition-id.js';
|
|
82
|
+
import { isFolderNameValid } from './validation/validate-folder-name.js';
|
|
83
|
+
import { isIosSafari } from './video/video-fragment.js';
|
|
23
84
|
import type { MediaVolumeContextValue, SetMediaVolumeContextValue } from './volume-position-state.js';
|
|
85
|
+
import { useMediaVolumeState, usePlayerMutedState } from './volume-position-state.js';
|
|
86
|
+
import { evaluateVolume } from './volume-prop.js';
|
|
87
|
+
import { warnAboutTooHighVolume } from './volume-safeguard.js';
|
|
24
88
|
import type { WatchRemotionStaticFilesPayload } from './watch-static-file.js';
|
|
25
|
-
import { useRemotionContexts } from './wrap-remotion-context.js';
|
|
89
|
+
import { RemotionContextProvider, useRemotionContexts } from './wrap-remotion-context.js';
|
|
26
90
|
export type { EffectChainState } from './effects/run-effect-chain.js';
|
|
27
91
|
export declare const Internals: {
|
|
92
|
+
readonly HtmlInCanvasFallback: import("react").FC<{
|
|
93
|
+
readonly children: React.ReactNode;
|
|
94
|
+
readonly style: React.CSSProperties;
|
|
95
|
+
readonly label: string;
|
|
96
|
+
}>;
|
|
97
|
+
readonly useHtmlInCanvasUnsupportedMessage: typeof useHtmlInCanvasUnsupportedMessage;
|
|
28
98
|
readonly OptimisticSequenceDeletion: {
|
|
29
99
|
register: (stack: string | null, node: {
|
|
30
100
|
absolutePath: string;
|
|
@@ -52,76 +122,39 @@ export declare const Internals: {
|
|
|
52
122
|
nodePath: SequenceNodePath;
|
|
53
123
|
}[], dispatchedRevision: number) => () => void;
|
|
54
124
|
};
|
|
55
|
-
readonly usePendingSequenceDeletions:
|
|
56
|
-
readonly createElementSourceProxy:
|
|
125
|
+
readonly usePendingSequenceDeletions: typeof usePendingSequenceDeletions;
|
|
126
|
+
readonly createElementSourceProxy: typeof createElementSourceProxy;
|
|
57
127
|
readonly CommittedMetadataProvider: import("react").ProviderExoticComponent<import("react").ProviderProps<null> & {
|
|
58
128
|
readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
|
|
59
129
|
}>;
|
|
60
|
-
readonly withCommittedMetadata:
|
|
61
|
-
readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
|
|
62
|
-
}>;
|
|
130
|
+
readonly withCommittedMetadata: typeof withCommittedMetadata;
|
|
63
131
|
readonly DefaultPremountContext: import("react").Context<number>;
|
|
64
|
-
readonly evaluateSourceNumericValue:
|
|
65
|
-
readonly evaluateSourcePropStatuses:
|
|
66
|
-
readonly AbsoluteFillElement: import("react").
|
|
132
|
+
readonly evaluateSourceNumericValue: typeof evaluateSourceNumericValue;
|
|
133
|
+
readonly evaluateSourcePropStatuses: typeof evaluateSourcePropStatuses;
|
|
134
|
+
readonly AbsoluteFillElement: import("react").NamedExoticComponent<Omit<import("./AbsoluteFillElement.js").AbsoluteFillElementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
67
135
|
readonly MaxMediaCacheSizeContext: import("react").Context<number | null>;
|
|
68
|
-
readonly getMediabunnyInputResourceKey:
|
|
69
|
-
src: string;
|
|
70
|
-
credentials: RequestCredentials | null;
|
|
71
|
-
requestInitFingerprint: unknown;
|
|
72
|
-
revision: string | null;
|
|
73
|
-
}) => string;
|
|
136
|
+
readonly getMediabunnyInputResourceKey: typeof getMediabunnyInputResourceKey;
|
|
74
137
|
readonly globalMediaResourceManager: import("./media-resource-manager.js").MediaResourceManager;
|
|
75
|
-
readonly makeMediaResourceManager:
|
|
138
|
+
readonly makeMediaResourceManager: typeof makeMediaResourceManager;
|
|
76
139
|
readonly MEDIABUNNY_DURATION_VALUE_KEY: "mediabunny-duration";
|
|
77
|
-
readonly makeRenderResourceManager:
|
|
140
|
+
readonly makeRenderResourceManager: typeof makeRenderResourceManager;
|
|
78
141
|
readonly RenderResourceManagerContext: import("react").Context<import("./render-resource-manager.js").RenderResourceManager | null>;
|
|
79
|
-
readonly createRuntimeValueStore:
|
|
80
|
-
readonly useUnsafeVideoConfig:
|
|
81
|
-
readonly useFrameForVolumeProp:
|
|
82
|
-
readonly useTimelinePosition:
|
|
83
|
-
readonly useAbsoluteTimelinePosition:
|
|
84
|
-
readonly useIsInsideFreeze:
|
|
85
|
-
readonly useIsInsideNonPremountFreeze:
|
|
86
|
-
readonly useMediaAudioState:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
readonly evaluateVolume: ({ frame, volume, mediaVolume, }: {
|
|
92
|
-
frame: number;
|
|
93
|
-
volume: import("./volume-prop.js").VolumeProp | undefined;
|
|
94
|
-
mediaVolume: number;
|
|
95
|
-
}) => number;
|
|
96
|
-
readonly getAbsoluteSrc: (relativeSrc: string) => string;
|
|
97
|
-
readonly getAnimatedImageDurationInSeconds: ({ resolvedSrc, signal, requestInit, contentType, }: {
|
|
98
|
-
resolvedSrc: string;
|
|
99
|
-
signal: AbortSignal;
|
|
100
|
-
requestInit?: RequestInit | undefined;
|
|
101
|
-
contentType: string | null;
|
|
102
|
-
}) => Promise<number>;
|
|
103
|
-
readonly getAssetDisplayName: (filename: string) => string;
|
|
142
|
+
readonly createRuntimeValueStore: typeof createRuntimeValueStore;
|
|
143
|
+
readonly useUnsafeVideoConfig: typeof useUnsafeVideoConfig;
|
|
144
|
+
readonly useFrameForVolumeProp: typeof useFrameForVolumeProp;
|
|
145
|
+
readonly useTimelinePosition: typeof TimelinePosition.useTimelinePosition;
|
|
146
|
+
readonly useAbsoluteTimelinePosition: typeof TimelinePosition.useAbsoluteTimelinePosition;
|
|
147
|
+
readonly useIsInsideFreeze: typeof TimelinePosition.useIsInsideFreeze;
|
|
148
|
+
readonly useIsInsideNonPremountFreeze: typeof useIsInsideNonPremountFreeze;
|
|
149
|
+
readonly useMediaAudioState: typeof useMediaAudioState;
|
|
150
|
+
readonly evaluateVolume: typeof evaluateVolume;
|
|
151
|
+
readonly getAbsoluteSrc: typeof getAbsoluteSrc;
|
|
152
|
+
readonly getAnimatedImageDurationInSeconds: typeof getAnimatedImageDurationInSeconds;
|
|
153
|
+
readonly getAssetDisplayName: typeof getAssetDisplayName;
|
|
104
154
|
readonly Timeline: typeof TimelinePosition;
|
|
105
|
-
readonly validateMediaTrimProps:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
trimBefore: number | undefined;
|
|
109
|
-
trimAfter: number | undefined;
|
|
110
|
-
}) => void;
|
|
111
|
-
readonly validateMediaProps: (props: {
|
|
112
|
-
volume: import("./volume-prop.js").VolumeProp | undefined;
|
|
113
|
-
playbackRate: number | undefined;
|
|
114
|
-
preservePitch?: boolean | undefined;
|
|
115
|
-
}, component: "Audio" | "Html5Audio" | "Html5Video" | "Video") => void;
|
|
116
|
-
readonly resolveTrimProps: ({ startFrom, endAt, trimBefore, trimAfter, }: {
|
|
117
|
-
startFrom: number | undefined;
|
|
118
|
-
endAt: number | undefined;
|
|
119
|
-
trimBefore: number | undefined;
|
|
120
|
-
trimAfter: number | undefined;
|
|
121
|
-
}) => {
|
|
122
|
-
trimBeforeValue: number | undefined;
|
|
123
|
-
trimAfterValue: number | undefined;
|
|
124
|
-
};
|
|
155
|
+
readonly validateMediaTrimProps: typeof validateMediaTrimProps;
|
|
156
|
+
readonly validateMediaProps: typeof validateMediaProps;
|
|
157
|
+
readonly resolveTrimProps: typeof resolveTrimProps;
|
|
125
158
|
readonly VideoForPreview: import("react").ForwardRefExoticComponent<Omit<Omit<import("./index.js").RemotionVideoProps, "onVideoFrame"> & {
|
|
126
159
|
readonly onlyWarnForMediaSeekingError: boolean;
|
|
127
160
|
readonly onDuration: (src: string, durationInSeconds: number) => void;
|
|
@@ -129,8 +162,8 @@ export declare const Internals: {
|
|
|
129
162
|
readonly _remotionInternalNativeLoopPassed: boolean;
|
|
130
163
|
readonly _remotionInternalStack: string | null;
|
|
131
164
|
readonly showInTimeline: boolean;
|
|
132
|
-
readonly onVideoFrame: import("./index.js").OnVideoFrame
|
|
133
|
-
readonly crossOrigin?:
|
|
165
|
+
readonly onVideoFrame: null | import("./index.js").OnVideoFrame;
|
|
166
|
+
readonly crossOrigin?: '' | 'anonymous' | 'use-credentials';
|
|
134
167
|
}, "ref"> & import("react").RefAttributes<HTMLVideoElement>>;
|
|
135
168
|
readonly CompositionManager: import("react").Context<CompositionManagerContext>;
|
|
136
169
|
readonly CompositionManagerRefContext: import("react").Context<{
|
|
@@ -139,21 +172,22 @@ export declare const Internals: {
|
|
|
139
172
|
readonly CompositionSetters: import("react").Context<import("./CompositionManagerContext.js").CompositionManagerSetters>;
|
|
140
173
|
readonly VisualModePropStatusesContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatuses>;
|
|
141
174
|
readonly VisualModePropStatusesRefContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatusesRef>;
|
|
175
|
+
readonly VisualModePropStatusesSubscriptionContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatusesSubscription>;
|
|
142
176
|
readonly VisualModeBatchSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeBatchSetters | null>;
|
|
143
177
|
readonly VisualModeDragOverridesContext: import("react").Context<import("./SequenceManager.js").VisualModeDragOverrides>;
|
|
144
178
|
readonly VisualModeDragOverridesRefContext: import("react").Context<import("react").RefObject<import("./SequenceManager.js").VisualModeDragOverrides>>;
|
|
145
179
|
readonly VisualModeSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeSetters>;
|
|
146
180
|
readonly SequenceManagerProvider: import("react").FC<{
|
|
147
|
-
readonly children:
|
|
181
|
+
readonly children: React.ReactNode;
|
|
148
182
|
}>;
|
|
149
183
|
readonly SequenceManagerRefContext: import("react").Context<import("./sequence-registry-context.js").SequenceManagerRef>;
|
|
150
184
|
readonly SequenceRegistryContext: import("react").Context<import("./registry-store.js").RegistryStore<TSequence[]> | null>;
|
|
151
|
-
readonly useActiveFromDragOverrideKeys:
|
|
152
|
-
readonly useDragOverridesForNodePath:
|
|
153
|
-
readonly useSequenceManagerSequences:
|
|
185
|
+
readonly useActiveFromDragOverrideKeys: typeof useActiveFromDragOverrideKeys;
|
|
186
|
+
readonly useDragOverridesForNodePath: typeof useDragOverridesForNodePath;
|
|
187
|
+
readonly useSequenceManagerSequences: typeof useSequenceManagerSequences;
|
|
154
188
|
readonly SequenceRegistrationContext: import("react").Context<boolean>;
|
|
155
189
|
readonly DisableSequenceRegistrationProvider: import("react").FC<{
|
|
156
|
-
readonly children:
|
|
190
|
+
readonly children: React.ReactNode;
|
|
157
191
|
}>;
|
|
158
192
|
readonly CommittedMetadataInternals: {
|
|
159
193
|
metadataProp: "_remotionCommitMetadata";
|
|
@@ -171,36 +205,36 @@ export declare const Internals: {
|
|
|
171
205
|
readonly SequenceStackTracesUpdateContext: import("react").Context<import("./sequence-stack-traces.js").UpdateResolvedStackTraceFn>;
|
|
172
206
|
readonly baseSchema: {
|
|
173
207
|
readonly durationInFrames: {
|
|
174
|
-
readonly type:
|
|
208
|
+
readonly type: 'number';
|
|
175
209
|
readonly default: undefined;
|
|
176
210
|
readonly min: 1;
|
|
177
211
|
readonly step: 1;
|
|
178
212
|
readonly hiddenFromList: true;
|
|
179
213
|
};
|
|
180
214
|
readonly from: {
|
|
181
|
-
readonly type:
|
|
215
|
+
readonly type: 'number';
|
|
182
216
|
readonly default: 0;
|
|
183
217
|
readonly step: 1;
|
|
184
218
|
readonly hiddenFromList: true;
|
|
185
219
|
};
|
|
186
220
|
readonly trimBefore: {
|
|
187
|
-
readonly type:
|
|
221
|
+
readonly type: 'number';
|
|
188
222
|
readonly default: 0;
|
|
189
223
|
readonly min: 0;
|
|
190
224
|
readonly step: 1;
|
|
191
225
|
readonly hiddenFromList: true;
|
|
192
226
|
};
|
|
193
227
|
readonly playbackRate: {
|
|
194
|
-
readonly type:
|
|
228
|
+
readonly type: 'number';
|
|
195
229
|
readonly default: 1;
|
|
196
230
|
readonly min: 0.01;
|
|
197
231
|
readonly step: 0.1;
|
|
198
|
-
readonly description:
|
|
232
|
+
readonly description: 'Playback rate';
|
|
199
233
|
readonly hiddenFromList: false;
|
|
200
234
|
readonly keyframable: false;
|
|
201
235
|
};
|
|
202
236
|
readonly freeze: {
|
|
203
|
-
readonly type:
|
|
237
|
+
readonly type: 'number';
|
|
204
238
|
readonly default: null;
|
|
205
239
|
readonly step: 1;
|
|
206
240
|
readonly hiddenFromList: true;
|
|
@@ -211,36 +245,36 @@ export declare const Internals: {
|
|
|
211
245
|
};
|
|
212
246
|
readonly sequenceSchema: {
|
|
213
247
|
readonly durationInFrames: {
|
|
214
|
-
readonly type:
|
|
248
|
+
readonly type: 'number';
|
|
215
249
|
readonly default: undefined;
|
|
216
250
|
readonly min: 1;
|
|
217
251
|
readonly step: 1;
|
|
218
252
|
readonly hiddenFromList: true;
|
|
219
253
|
};
|
|
220
254
|
readonly from: {
|
|
221
|
-
readonly type:
|
|
255
|
+
readonly type: 'number';
|
|
222
256
|
readonly default: 0;
|
|
223
257
|
readonly step: 1;
|
|
224
258
|
readonly hiddenFromList: true;
|
|
225
259
|
};
|
|
226
260
|
readonly trimBefore: {
|
|
227
|
-
readonly type:
|
|
261
|
+
readonly type: 'number';
|
|
228
262
|
readonly default: 0;
|
|
229
263
|
readonly min: 0;
|
|
230
264
|
readonly step: 1;
|
|
231
265
|
readonly hiddenFromList: true;
|
|
232
266
|
};
|
|
233
267
|
readonly playbackRate: {
|
|
234
|
-
readonly type:
|
|
268
|
+
readonly type: 'number';
|
|
235
269
|
readonly default: 1;
|
|
236
270
|
readonly min: 0.01;
|
|
237
271
|
readonly step: 0.1;
|
|
238
|
-
readonly description:
|
|
272
|
+
readonly description: 'Playback rate';
|
|
239
273
|
readonly hiddenFromList: false;
|
|
240
274
|
readonly keyframable: false;
|
|
241
275
|
};
|
|
242
276
|
readonly freeze: {
|
|
243
|
-
readonly type:
|
|
277
|
+
readonly type: 'number';
|
|
244
278
|
readonly default: null;
|
|
245
279
|
readonly step: 1;
|
|
246
280
|
readonly hiddenFromList: true;
|
|
@@ -249,58 +283,58 @@ export declare const Internals: {
|
|
|
249
283
|
readonly name: import("./interactivity-schema.js").HiddenFieldSchema;
|
|
250
284
|
readonly showInTimeline: import("./interactivity-schema.js").HiddenFieldSchema;
|
|
251
285
|
readonly layout: {
|
|
252
|
-
readonly type:
|
|
253
|
-
readonly default:
|
|
254
|
-
readonly description:
|
|
286
|
+
readonly type: 'enum';
|
|
287
|
+
readonly default: 'absolute-fill';
|
|
288
|
+
readonly description: 'Layout';
|
|
255
289
|
readonly variants: {
|
|
256
290
|
readonly 'absolute-fill': {
|
|
257
291
|
readonly 'style.transformOrigin': {
|
|
258
|
-
readonly type:
|
|
292
|
+
readonly type: 'transform-origin';
|
|
259
293
|
readonly step: 1;
|
|
260
|
-
readonly default:
|
|
261
|
-
readonly description:
|
|
294
|
+
readonly default: '50% 50%';
|
|
295
|
+
readonly description: 'Transform origin';
|
|
262
296
|
};
|
|
263
297
|
readonly 'style.translate': {
|
|
264
|
-
readonly type:
|
|
298
|
+
readonly type: 'translate';
|
|
265
299
|
readonly step: 1;
|
|
266
|
-
readonly default:
|
|
267
|
-
readonly description:
|
|
300
|
+
readonly default: '0px 0px';
|
|
301
|
+
readonly description: 'Offset';
|
|
268
302
|
};
|
|
269
303
|
readonly 'style.scale': {
|
|
270
|
-
readonly type:
|
|
304
|
+
readonly type: 'scale';
|
|
271
305
|
readonly max: 100;
|
|
272
306
|
readonly step: 0.01;
|
|
273
307
|
readonly default: 1;
|
|
274
|
-
readonly description:
|
|
275
|
-
readonly defaultKeyframeOutput:
|
|
308
|
+
readonly description: 'Scale';
|
|
309
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
276
310
|
};
|
|
277
311
|
readonly 'style.rotate': {
|
|
278
|
-
readonly type:
|
|
312
|
+
readonly type: 'rotation-css';
|
|
279
313
|
readonly step: 1;
|
|
280
|
-
readonly default:
|
|
281
|
-
readonly description:
|
|
314
|
+
readonly default: '0deg';
|
|
315
|
+
readonly description: 'Rotation';
|
|
282
316
|
};
|
|
283
317
|
readonly 'style.opacity': {
|
|
284
|
-
readonly type:
|
|
318
|
+
readonly type: 'number';
|
|
285
319
|
readonly min: 0;
|
|
286
320
|
readonly max: 1;
|
|
287
321
|
readonly step: 0.01;
|
|
288
322
|
readonly default: 1;
|
|
289
|
-
readonly description:
|
|
323
|
+
readonly description: 'Opacity';
|
|
290
324
|
readonly hiddenFromList: false;
|
|
291
325
|
};
|
|
292
326
|
readonly 'style.borderWidth': {
|
|
293
|
-
readonly type:
|
|
327
|
+
readonly type: 'number';
|
|
294
328
|
readonly default: undefined;
|
|
295
329
|
readonly min: 0;
|
|
296
330
|
readonly step: 1;
|
|
297
|
-
readonly description:
|
|
331
|
+
readonly description: 'Border width';
|
|
298
332
|
readonly hiddenFromList: false;
|
|
299
333
|
};
|
|
300
334
|
readonly 'style.borderStyle': {
|
|
301
|
-
readonly type:
|
|
302
|
-
readonly default:
|
|
303
|
-
readonly description:
|
|
335
|
+
readonly type: 'enum';
|
|
336
|
+
readonly default: 'none';
|
|
337
|
+
readonly description: 'Border style';
|
|
304
338
|
readonly variants: {
|
|
305
339
|
readonly none: {};
|
|
306
340
|
readonly hidden: {};
|
|
@@ -315,67 +349,67 @@ export declare const Internals: {
|
|
|
315
349
|
};
|
|
316
350
|
};
|
|
317
351
|
readonly 'style.borderColor': {
|
|
318
|
-
readonly type:
|
|
352
|
+
readonly type: 'color';
|
|
319
353
|
readonly default: undefined;
|
|
320
|
-
readonly description:
|
|
354
|
+
readonly description: 'Border color';
|
|
321
355
|
};
|
|
322
356
|
readonly 'style.borderRadius': {
|
|
323
|
-
readonly type:
|
|
357
|
+
readonly type: 'number';
|
|
324
358
|
readonly default: 0;
|
|
325
359
|
readonly min: 0;
|
|
326
360
|
readonly step: 1;
|
|
327
|
-
readonly description:
|
|
361
|
+
readonly description: 'Border radius';
|
|
328
362
|
readonly hiddenFromList: false;
|
|
329
363
|
readonly keyframable: true;
|
|
330
364
|
};
|
|
331
365
|
readonly 'style.borderTopLeftRadius': {
|
|
332
|
-
readonly type:
|
|
366
|
+
readonly type: 'number';
|
|
333
367
|
readonly default: 0;
|
|
334
368
|
readonly min: 0;
|
|
335
369
|
readonly step: 1;
|
|
336
|
-
readonly description:
|
|
370
|
+
readonly description: 'Top left radius';
|
|
337
371
|
readonly hiddenFromList: false;
|
|
338
372
|
};
|
|
339
373
|
readonly 'style.borderTopRightRadius': {
|
|
340
|
-
readonly type:
|
|
374
|
+
readonly type: 'number';
|
|
341
375
|
readonly default: 0;
|
|
342
376
|
readonly min: 0;
|
|
343
377
|
readonly step: 1;
|
|
344
|
-
readonly description:
|
|
378
|
+
readonly description: 'Top right radius';
|
|
345
379
|
readonly hiddenFromList: false;
|
|
346
380
|
};
|
|
347
381
|
readonly 'style.borderBottomRightRadius': {
|
|
348
|
-
readonly type:
|
|
382
|
+
readonly type: 'number';
|
|
349
383
|
readonly default: 0;
|
|
350
384
|
readonly min: 0;
|
|
351
385
|
readonly step: 1;
|
|
352
|
-
readonly description:
|
|
386
|
+
readonly description: 'Bottom right radius';
|
|
353
387
|
readonly hiddenFromList: false;
|
|
354
388
|
};
|
|
355
389
|
readonly 'style.borderBottomLeftRadius': {
|
|
356
|
-
readonly type:
|
|
390
|
+
readonly type: 'number';
|
|
357
391
|
readonly default: 0;
|
|
358
392
|
readonly min: 0;
|
|
359
393
|
readonly step: 1;
|
|
360
|
-
readonly description:
|
|
394
|
+
readonly description: 'Bottom left radius';
|
|
361
395
|
readonly hiddenFromList: false;
|
|
362
396
|
};
|
|
363
397
|
readonly 'style.backgroundColor': {
|
|
364
|
-
readonly type:
|
|
365
|
-
readonly default:
|
|
366
|
-
readonly description:
|
|
398
|
+
readonly type: 'color';
|
|
399
|
+
readonly default: 'transparent';
|
|
400
|
+
readonly description: 'Color';
|
|
367
401
|
};
|
|
368
402
|
readonly premountFor: {
|
|
369
|
-
readonly type:
|
|
403
|
+
readonly type: 'number';
|
|
370
404
|
readonly default: undefined;
|
|
371
|
-
readonly description:
|
|
405
|
+
readonly description: 'Premount For';
|
|
372
406
|
readonly min: 0;
|
|
373
407
|
readonly step: 1;
|
|
374
408
|
readonly hiddenFromList: false;
|
|
375
409
|
readonly keyframable: false;
|
|
376
410
|
};
|
|
377
411
|
readonly postmountFor: {
|
|
378
|
-
readonly type:
|
|
412
|
+
readonly type: 'number';
|
|
379
413
|
readonly default: 0;
|
|
380
414
|
readonly min: 0;
|
|
381
415
|
readonly step: 1;
|
|
@@ -383,9 +417,9 @@ export declare const Internals: {
|
|
|
383
417
|
readonly keyframable: false;
|
|
384
418
|
};
|
|
385
419
|
readonly cropLeft: {
|
|
386
|
-
readonly type:
|
|
420
|
+
readonly type: 'number';
|
|
387
421
|
readonly default: 0;
|
|
388
|
-
readonly description:
|
|
422
|
+
readonly description: 'Crop left';
|
|
389
423
|
readonly min: 0;
|
|
390
424
|
readonly max: 1;
|
|
391
425
|
readonly step: 0.01;
|
|
@@ -393,9 +427,9 @@ export declare const Internals: {
|
|
|
393
427
|
readonly keyframable: true;
|
|
394
428
|
};
|
|
395
429
|
readonly cropRight: {
|
|
396
|
-
readonly type:
|
|
430
|
+
readonly type: 'number';
|
|
397
431
|
readonly default: 0;
|
|
398
|
-
readonly description:
|
|
432
|
+
readonly description: 'Crop right';
|
|
399
433
|
readonly min: 0;
|
|
400
434
|
readonly max: 1;
|
|
401
435
|
readonly step: 0.01;
|
|
@@ -403,9 +437,9 @@ export declare const Internals: {
|
|
|
403
437
|
readonly keyframable: true;
|
|
404
438
|
};
|
|
405
439
|
readonly cropTop: {
|
|
406
|
-
readonly type:
|
|
440
|
+
readonly type: 'number';
|
|
407
441
|
readonly default: 0;
|
|
408
|
-
readonly description:
|
|
442
|
+
readonly description: 'Crop top';
|
|
409
443
|
readonly min: 0;
|
|
410
444
|
readonly max: 1;
|
|
411
445
|
readonly step: 0.01;
|
|
@@ -413,9 +447,9 @@ export declare const Internals: {
|
|
|
413
447
|
readonly keyframable: true;
|
|
414
448
|
};
|
|
415
449
|
readonly cropBottom: {
|
|
416
|
-
readonly type:
|
|
450
|
+
readonly type: 'number';
|
|
417
451
|
readonly default: 0;
|
|
418
|
-
readonly description:
|
|
452
|
+
readonly description: 'Crop bottom';
|
|
419
453
|
readonly min: 0;
|
|
420
454
|
readonly max: 1;
|
|
421
455
|
readonly step: 0.01;
|
|
@@ -429,34 +463,34 @@ export declare const Internals: {
|
|
|
429
463
|
};
|
|
430
464
|
readonly sequenceTimingSchema: {
|
|
431
465
|
readonly from: {
|
|
432
|
-
readonly type:
|
|
466
|
+
readonly type: 'number';
|
|
433
467
|
readonly default: 0;
|
|
434
468
|
readonly step: 1;
|
|
435
|
-
readonly description:
|
|
469
|
+
readonly description: 'From';
|
|
436
470
|
readonly hiddenFromList: false;
|
|
437
471
|
readonly keyframable: false;
|
|
438
472
|
};
|
|
439
473
|
readonly durationInFrames: {
|
|
440
|
-
readonly type:
|
|
474
|
+
readonly type: 'number';
|
|
441
475
|
readonly default: undefined;
|
|
442
476
|
readonly min: 1;
|
|
443
477
|
readonly step: 1;
|
|
444
|
-
readonly description:
|
|
478
|
+
readonly description: 'Duration';
|
|
445
479
|
readonly hiddenFromList: false;
|
|
446
480
|
readonly keyframable: false;
|
|
447
481
|
};
|
|
448
482
|
readonly trimBefore: {
|
|
449
|
-
readonly type:
|
|
483
|
+
readonly type: 'number';
|
|
450
484
|
readonly default: 0;
|
|
451
485
|
readonly min: 0;
|
|
452
486
|
readonly step: 1;
|
|
453
|
-
readonly description:
|
|
487
|
+
readonly description: 'Trim before';
|
|
454
488
|
readonly hiddenFromList: false;
|
|
455
489
|
readonly keyframable: false;
|
|
456
490
|
};
|
|
457
491
|
};
|
|
458
492
|
readonly SequenceContent: import("react").FC<{
|
|
459
|
-
readonly children:
|
|
493
|
+
readonly children: React.ReactNode;
|
|
460
494
|
}>;
|
|
461
495
|
readonly DEFAULT_SEQUENCE_ACTIVITY_LIMIT: number;
|
|
462
496
|
readonly SequenceActivitySettingsContext: import("react").Context<{
|
|
@@ -465,52 +499,52 @@ export declare const Internals: {
|
|
|
465
499
|
readonly SequenceWithoutSchema: import("react").ForwardRefExoticComponent<import("./Sequence.js").SequenceProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
466
500
|
readonly sequenceStyleSchema: {
|
|
467
501
|
readonly 'style.transformOrigin': {
|
|
468
|
-
readonly type:
|
|
502
|
+
readonly type: 'transform-origin';
|
|
469
503
|
readonly step: 1;
|
|
470
|
-
readonly default:
|
|
471
|
-
readonly description:
|
|
504
|
+
readonly default: '50% 50%';
|
|
505
|
+
readonly description: 'Transform origin';
|
|
472
506
|
};
|
|
473
507
|
readonly 'style.translate': {
|
|
474
|
-
readonly type:
|
|
508
|
+
readonly type: 'translate';
|
|
475
509
|
readonly step: 1;
|
|
476
|
-
readonly default:
|
|
477
|
-
readonly description:
|
|
510
|
+
readonly default: '0px 0px';
|
|
511
|
+
readonly description: 'Offset';
|
|
478
512
|
};
|
|
479
513
|
readonly 'style.scale': {
|
|
480
|
-
readonly type:
|
|
514
|
+
readonly type: 'scale';
|
|
481
515
|
readonly max: 100;
|
|
482
516
|
readonly step: 0.01;
|
|
483
517
|
readonly default: 1;
|
|
484
|
-
readonly description:
|
|
485
|
-
readonly defaultKeyframeOutput:
|
|
518
|
+
readonly description: 'Scale';
|
|
519
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
486
520
|
};
|
|
487
521
|
readonly 'style.rotate': {
|
|
488
|
-
readonly type:
|
|
522
|
+
readonly type: 'rotation-css';
|
|
489
523
|
readonly step: 1;
|
|
490
|
-
readonly default:
|
|
491
|
-
readonly description:
|
|
524
|
+
readonly default: '0deg';
|
|
525
|
+
readonly description: 'Rotation';
|
|
492
526
|
};
|
|
493
527
|
readonly 'style.opacity': {
|
|
494
|
-
readonly type:
|
|
528
|
+
readonly type: 'number';
|
|
495
529
|
readonly min: 0;
|
|
496
530
|
readonly max: 1;
|
|
497
531
|
readonly step: 0.01;
|
|
498
532
|
readonly default: 1;
|
|
499
|
-
readonly description:
|
|
533
|
+
readonly description: 'Opacity';
|
|
500
534
|
readonly hiddenFromList: false;
|
|
501
535
|
};
|
|
502
536
|
readonly 'style.borderWidth': {
|
|
503
|
-
readonly type:
|
|
537
|
+
readonly type: 'number';
|
|
504
538
|
readonly default: undefined;
|
|
505
539
|
readonly min: 0;
|
|
506
540
|
readonly step: 1;
|
|
507
|
-
readonly description:
|
|
541
|
+
readonly description: 'Border width';
|
|
508
542
|
readonly hiddenFromList: false;
|
|
509
543
|
};
|
|
510
544
|
readonly 'style.borderStyle': {
|
|
511
|
-
readonly type:
|
|
512
|
-
readonly default:
|
|
513
|
-
readonly description:
|
|
545
|
+
readonly type: 'enum';
|
|
546
|
+
readonly default: 'none';
|
|
547
|
+
readonly description: 'Border style';
|
|
514
548
|
readonly variants: {
|
|
515
549
|
readonly none: {};
|
|
516
550
|
readonly hidden: {};
|
|
@@ -525,67 +559,67 @@ export declare const Internals: {
|
|
|
525
559
|
};
|
|
526
560
|
};
|
|
527
561
|
readonly 'style.borderColor': {
|
|
528
|
-
readonly type:
|
|
562
|
+
readonly type: 'color';
|
|
529
563
|
readonly default: undefined;
|
|
530
|
-
readonly description:
|
|
564
|
+
readonly description: 'Border color';
|
|
531
565
|
};
|
|
532
566
|
readonly 'style.borderRadius': {
|
|
533
|
-
readonly type:
|
|
567
|
+
readonly type: 'number';
|
|
534
568
|
readonly default: 0;
|
|
535
569
|
readonly min: 0;
|
|
536
570
|
readonly step: 1;
|
|
537
|
-
readonly description:
|
|
571
|
+
readonly description: 'Border radius';
|
|
538
572
|
readonly hiddenFromList: false;
|
|
539
573
|
readonly keyframable: true;
|
|
540
574
|
};
|
|
541
575
|
readonly 'style.borderTopLeftRadius': {
|
|
542
|
-
readonly type:
|
|
576
|
+
readonly type: 'number';
|
|
543
577
|
readonly default: 0;
|
|
544
578
|
readonly min: 0;
|
|
545
579
|
readonly step: 1;
|
|
546
|
-
readonly description:
|
|
580
|
+
readonly description: 'Top left radius';
|
|
547
581
|
readonly hiddenFromList: false;
|
|
548
582
|
};
|
|
549
583
|
readonly 'style.borderTopRightRadius': {
|
|
550
|
-
readonly type:
|
|
584
|
+
readonly type: 'number';
|
|
551
585
|
readonly default: 0;
|
|
552
586
|
readonly min: 0;
|
|
553
587
|
readonly step: 1;
|
|
554
|
-
readonly description:
|
|
588
|
+
readonly description: 'Top right radius';
|
|
555
589
|
readonly hiddenFromList: false;
|
|
556
590
|
};
|
|
557
591
|
readonly 'style.borderBottomRightRadius': {
|
|
558
|
-
readonly type:
|
|
592
|
+
readonly type: 'number';
|
|
559
593
|
readonly default: 0;
|
|
560
594
|
readonly min: 0;
|
|
561
595
|
readonly step: 1;
|
|
562
|
-
readonly description:
|
|
596
|
+
readonly description: 'Bottom right radius';
|
|
563
597
|
readonly hiddenFromList: false;
|
|
564
598
|
};
|
|
565
599
|
readonly 'style.borderBottomLeftRadius': {
|
|
566
|
-
readonly type:
|
|
600
|
+
readonly type: 'number';
|
|
567
601
|
readonly default: 0;
|
|
568
602
|
readonly min: 0;
|
|
569
603
|
readonly step: 1;
|
|
570
|
-
readonly description:
|
|
604
|
+
readonly description: 'Bottom left radius';
|
|
571
605
|
readonly hiddenFromList: false;
|
|
572
606
|
};
|
|
573
607
|
readonly 'style.backgroundColor': {
|
|
574
|
-
readonly type:
|
|
575
|
-
readonly default:
|
|
576
|
-
readonly description:
|
|
608
|
+
readonly type: 'color';
|
|
609
|
+
readonly default: 'transparent';
|
|
610
|
+
readonly description: 'Color';
|
|
577
611
|
};
|
|
578
612
|
readonly premountFor: {
|
|
579
|
-
readonly type:
|
|
613
|
+
readonly type: 'number';
|
|
580
614
|
readonly default: undefined;
|
|
581
|
-
readonly description:
|
|
615
|
+
readonly description: 'Premount For';
|
|
582
616
|
readonly min: 0;
|
|
583
617
|
readonly step: 1;
|
|
584
618
|
readonly hiddenFromList: false;
|
|
585
619
|
readonly keyframable: false;
|
|
586
620
|
};
|
|
587
621
|
readonly postmountFor: {
|
|
588
|
-
readonly type:
|
|
622
|
+
readonly type: 'number';
|
|
589
623
|
readonly default: 0;
|
|
590
624
|
readonly min: 0;
|
|
591
625
|
readonly step: 1;
|
|
@@ -593,9 +627,9 @@ export declare const Internals: {
|
|
|
593
627
|
readonly keyframable: false;
|
|
594
628
|
};
|
|
595
629
|
readonly cropLeft: {
|
|
596
|
-
readonly type:
|
|
630
|
+
readonly type: 'number';
|
|
597
631
|
readonly default: 0;
|
|
598
|
-
readonly description:
|
|
632
|
+
readonly description: 'Crop left';
|
|
599
633
|
readonly min: 0;
|
|
600
634
|
readonly max: 1;
|
|
601
635
|
readonly step: 0.01;
|
|
@@ -603,9 +637,9 @@ export declare const Internals: {
|
|
|
603
637
|
readonly keyframable: true;
|
|
604
638
|
};
|
|
605
639
|
readonly cropRight: {
|
|
606
|
-
readonly type:
|
|
640
|
+
readonly type: 'number';
|
|
607
641
|
readonly default: 0;
|
|
608
|
-
readonly description:
|
|
642
|
+
readonly description: 'Crop right';
|
|
609
643
|
readonly min: 0;
|
|
610
644
|
readonly max: 1;
|
|
611
645
|
readonly step: 0.01;
|
|
@@ -613,9 +647,9 @@ export declare const Internals: {
|
|
|
613
647
|
readonly keyframable: true;
|
|
614
648
|
};
|
|
615
649
|
readonly cropTop: {
|
|
616
|
-
readonly type:
|
|
650
|
+
readonly type: 'number';
|
|
617
651
|
readonly default: 0;
|
|
618
|
-
readonly description:
|
|
652
|
+
readonly description: 'Crop top';
|
|
619
653
|
readonly min: 0;
|
|
620
654
|
readonly max: 1;
|
|
621
655
|
readonly step: 0.01;
|
|
@@ -623,9 +657,9 @@ export declare const Internals: {
|
|
|
623
657
|
readonly keyframable: true;
|
|
624
658
|
};
|
|
625
659
|
readonly cropBottom: {
|
|
626
|
-
readonly type:
|
|
660
|
+
readonly type: 'number';
|
|
627
661
|
readonly default: 0;
|
|
628
|
-
readonly description:
|
|
662
|
+
readonly description: 'Crop bottom';
|
|
629
663
|
readonly min: 0;
|
|
630
664
|
readonly max: 1;
|
|
631
665
|
readonly step: 0.01;
|
|
@@ -635,53 +669,53 @@ export declare const Internals: {
|
|
|
635
669
|
};
|
|
636
670
|
readonly sequenceVisualStyleSchema: {
|
|
637
671
|
readonly 'style.transformOrigin': {
|
|
638
|
-
readonly type:
|
|
672
|
+
readonly type: 'transform-origin';
|
|
639
673
|
readonly step: 1;
|
|
640
|
-
readonly default:
|
|
641
|
-
readonly description:
|
|
674
|
+
readonly default: '50% 50%';
|
|
675
|
+
readonly description: 'Transform origin';
|
|
642
676
|
};
|
|
643
677
|
readonly 'style.translate': {
|
|
644
|
-
readonly type:
|
|
678
|
+
readonly type: 'translate';
|
|
645
679
|
readonly step: 1;
|
|
646
|
-
readonly default:
|
|
647
|
-
readonly description:
|
|
680
|
+
readonly default: '0px 0px';
|
|
681
|
+
readonly description: 'Offset';
|
|
648
682
|
};
|
|
649
683
|
readonly 'style.scale': {
|
|
650
|
-
readonly type:
|
|
684
|
+
readonly type: 'scale';
|
|
651
685
|
readonly max: 100;
|
|
652
686
|
readonly step: 0.01;
|
|
653
687
|
readonly default: 1;
|
|
654
|
-
readonly description:
|
|
655
|
-
readonly defaultKeyframeOutput:
|
|
688
|
+
readonly description: 'Scale';
|
|
689
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
656
690
|
};
|
|
657
691
|
readonly 'style.rotate': {
|
|
658
|
-
readonly type:
|
|
692
|
+
readonly type: 'rotation-css';
|
|
659
693
|
readonly step: 1;
|
|
660
|
-
readonly default:
|
|
661
|
-
readonly description:
|
|
694
|
+
readonly default: '0deg';
|
|
695
|
+
readonly description: 'Rotation';
|
|
662
696
|
};
|
|
663
697
|
readonly 'style.opacity': {
|
|
664
|
-
readonly type:
|
|
698
|
+
readonly type: 'number';
|
|
665
699
|
readonly min: 0;
|
|
666
700
|
readonly max: 1;
|
|
667
701
|
readonly step: 0.01;
|
|
668
702
|
readonly default: 1;
|
|
669
|
-
readonly description:
|
|
703
|
+
readonly description: 'Opacity';
|
|
670
704
|
readonly hiddenFromList: false;
|
|
671
705
|
};
|
|
672
706
|
};
|
|
673
707
|
readonly sequencePremountSchema: {
|
|
674
708
|
readonly premountFor: {
|
|
675
|
-
readonly type:
|
|
709
|
+
readonly type: 'number';
|
|
676
710
|
readonly default: undefined;
|
|
677
|
-
readonly description:
|
|
711
|
+
readonly description: 'Premount For';
|
|
678
712
|
readonly min: 0;
|
|
679
713
|
readonly step: 1;
|
|
680
714
|
readonly hiddenFromList: false;
|
|
681
715
|
readonly keyframable: false;
|
|
682
716
|
};
|
|
683
717
|
readonly postmountFor: {
|
|
684
|
-
readonly type:
|
|
718
|
+
readonly type: 'number';
|
|
685
719
|
readonly default: 0;
|
|
686
720
|
readonly min: 0;
|
|
687
721
|
readonly step: 1;
|
|
@@ -691,9 +725,9 @@ export declare const Internals: {
|
|
|
691
725
|
};
|
|
692
726
|
readonly sequenceCropSchema: {
|
|
693
727
|
readonly cropLeft: {
|
|
694
|
-
readonly type:
|
|
728
|
+
readonly type: 'number';
|
|
695
729
|
readonly default: 0;
|
|
696
|
-
readonly description:
|
|
730
|
+
readonly description: 'Crop left';
|
|
697
731
|
readonly min: 0;
|
|
698
732
|
readonly max: 1;
|
|
699
733
|
readonly step: 0.01;
|
|
@@ -701,9 +735,9 @@ export declare const Internals: {
|
|
|
701
735
|
readonly keyframable: true;
|
|
702
736
|
};
|
|
703
737
|
readonly cropRight: {
|
|
704
|
-
readonly type:
|
|
738
|
+
readonly type: 'number';
|
|
705
739
|
readonly default: 0;
|
|
706
|
-
readonly description:
|
|
740
|
+
readonly description: 'Crop right';
|
|
707
741
|
readonly min: 0;
|
|
708
742
|
readonly max: 1;
|
|
709
743
|
readonly step: 0.01;
|
|
@@ -711,9 +745,9 @@ export declare const Internals: {
|
|
|
711
745
|
readonly keyframable: true;
|
|
712
746
|
};
|
|
713
747
|
readonly cropTop: {
|
|
714
|
-
readonly type:
|
|
748
|
+
readonly type: 'number';
|
|
715
749
|
readonly default: 0;
|
|
716
|
-
readonly description:
|
|
750
|
+
readonly description: 'Crop top';
|
|
717
751
|
readonly min: 0;
|
|
718
752
|
readonly max: 1;
|
|
719
753
|
readonly step: 0.01;
|
|
@@ -721,9 +755,9 @@ export declare const Internals: {
|
|
|
721
755
|
readonly keyframable: true;
|
|
722
756
|
};
|
|
723
757
|
readonly cropBottom: {
|
|
724
|
-
readonly type:
|
|
758
|
+
readonly type: 'number';
|
|
725
759
|
readonly default: 0;
|
|
726
|
-
readonly description:
|
|
760
|
+
readonly description: 'Crop bottom';
|
|
727
761
|
readonly min: 0;
|
|
728
762
|
readonly max: 1;
|
|
729
763
|
readonly step: 0.01;
|
|
@@ -733,41 +767,41 @@ export declare const Internals: {
|
|
|
733
767
|
};
|
|
734
768
|
readonly textSchema: {
|
|
735
769
|
readonly 'style.color': {
|
|
736
|
-
readonly type:
|
|
770
|
+
readonly type: 'color';
|
|
737
771
|
readonly default: undefined;
|
|
738
|
-
readonly description:
|
|
772
|
+
readonly description: 'Color';
|
|
739
773
|
};
|
|
740
774
|
readonly 'style.fontFamily': {
|
|
741
|
-
readonly type:
|
|
775
|
+
readonly type: 'font-family';
|
|
742
776
|
readonly default: undefined;
|
|
743
|
-
readonly description:
|
|
777
|
+
readonly description: 'Font family';
|
|
744
778
|
readonly keyframable: false;
|
|
745
779
|
};
|
|
746
780
|
readonly 'style.fontSize': {
|
|
747
|
-
readonly type:
|
|
781
|
+
readonly type: 'number';
|
|
748
782
|
readonly default: undefined;
|
|
749
783
|
readonly min: 0;
|
|
750
784
|
readonly step: 1;
|
|
751
|
-
readonly description:
|
|
785
|
+
readonly description: 'Font size';
|
|
752
786
|
readonly hiddenFromList: false;
|
|
753
787
|
};
|
|
754
788
|
readonly 'style.lineHeight': {
|
|
755
|
-
readonly type:
|
|
789
|
+
readonly type: 'number';
|
|
756
790
|
readonly default: undefined;
|
|
757
791
|
readonly min: 0;
|
|
758
792
|
readonly step: 0.05;
|
|
759
|
-
readonly description:
|
|
793
|
+
readonly description: 'Line height';
|
|
760
794
|
readonly hiddenFromList: false;
|
|
761
795
|
};
|
|
762
796
|
readonly 'style.fontWeight': {
|
|
763
|
-
readonly type:
|
|
797
|
+
readonly type: 'font-weight';
|
|
764
798
|
readonly default: 400;
|
|
765
|
-
readonly description:
|
|
799
|
+
readonly description: 'Font weight';
|
|
766
800
|
};
|
|
767
801
|
readonly 'style.fontStyle': {
|
|
768
|
-
readonly type:
|
|
769
|
-
readonly default:
|
|
770
|
-
readonly description:
|
|
802
|
+
readonly type: 'enum';
|
|
803
|
+
readonly default: 'normal';
|
|
804
|
+
readonly description: 'Font style';
|
|
771
805
|
readonly variants: {
|
|
772
806
|
readonly normal: {};
|
|
773
807
|
readonly italic: {};
|
|
@@ -775,9 +809,9 @@ export declare const Internals: {
|
|
|
775
809
|
};
|
|
776
810
|
};
|
|
777
811
|
readonly 'style.textAlign': {
|
|
778
|
-
readonly type:
|
|
779
|
-
readonly default:
|
|
780
|
-
readonly description:
|
|
812
|
+
readonly type: 'enum';
|
|
813
|
+
readonly default: 'left';
|
|
814
|
+
readonly description: 'Text align';
|
|
781
815
|
readonly variants: {
|
|
782
816
|
readonly left: {};
|
|
783
817
|
readonly center: {};
|
|
@@ -788,62 +822,62 @@ export declare const Internals: {
|
|
|
788
822
|
};
|
|
789
823
|
};
|
|
790
824
|
readonly 'style.letterSpacing': {
|
|
791
|
-
readonly type:
|
|
825
|
+
readonly type: 'number';
|
|
792
826
|
readonly default: undefined;
|
|
793
827
|
readonly step: 0.1;
|
|
794
|
-
readonly description:
|
|
828
|
+
readonly description: 'Letter spacing';
|
|
795
829
|
readonly hiddenFromList: false;
|
|
796
830
|
};
|
|
797
831
|
};
|
|
798
832
|
readonly transformSchema: {
|
|
799
833
|
readonly 'style.transformOrigin': {
|
|
800
|
-
readonly type:
|
|
834
|
+
readonly type: 'transform-origin';
|
|
801
835
|
readonly step: 1;
|
|
802
|
-
readonly default:
|
|
803
|
-
readonly description:
|
|
836
|
+
readonly default: '50% 50%';
|
|
837
|
+
readonly description: 'Transform origin';
|
|
804
838
|
};
|
|
805
839
|
readonly 'style.translate': {
|
|
806
|
-
readonly type:
|
|
840
|
+
readonly type: 'translate';
|
|
807
841
|
readonly step: 1;
|
|
808
|
-
readonly default:
|
|
809
|
-
readonly description:
|
|
842
|
+
readonly default: '0px 0px';
|
|
843
|
+
readonly description: 'Offset';
|
|
810
844
|
};
|
|
811
845
|
readonly 'style.scale': {
|
|
812
|
-
readonly type:
|
|
846
|
+
readonly type: 'scale';
|
|
813
847
|
readonly max: 100;
|
|
814
848
|
readonly step: 0.01;
|
|
815
849
|
readonly default: 1;
|
|
816
|
-
readonly description:
|
|
817
|
-
readonly defaultKeyframeOutput:
|
|
850
|
+
readonly description: 'Scale';
|
|
851
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
818
852
|
};
|
|
819
853
|
readonly 'style.rotate': {
|
|
820
|
-
readonly type:
|
|
854
|
+
readonly type: 'rotation-css';
|
|
821
855
|
readonly step: 1;
|
|
822
|
-
readonly default:
|
|
823
|
-
readonly description:
|
|
856
|
+
readonly default: '0deg';
|
|
857
|
+
readonly description: 'Rotation';
|
|
824
858
|
};
|
|
825
859
|
readonly 'style.opacity': {
|
|
826
|
-
readonly type:
|
|
860
|
+
readonly type: 'number';
|
|
827
861
|
readonly min: 0;
|
|
828
862
|
readonly max: 1;
|
|
829
863
|
readonly step: 0.01;
|
|
830
864
|
readonly default: 1;
|
|
831
|
-
readonly description:
|
|
865
|
+
readonly description: 'Opacity';
|
|
832
866
|
readonly hiddenFromList: false;
|
|
833
867
|
};
|
|
834
868
|
};
|
|
835
869
|
readonly premountSchema: {
|
|
836
870
|
readonly premountFor: {
|
|
837
|
-
readonly type:
|
|
871
|
+
readonly type: 'number';
|
|
838
872
|
readonly default: undefined;
|
|
839
|
-
readonly description:
|
|
873
|
+
readonly description: 'Premount For';
|
|
840
874
|
readonly min: 0;
|
|
841
875
|
readonly step: 1;
|
|
842
876
|
readonly hiddenFromList: false;
|
|
843
877
|
readonly keyframable: false;
|
|
844
878
|
};
|
|
845
879
|
readonly postmountFor: {
|
|
846
|
-
readonly type:
|
|
880
|
+
readonly type: 'number';
|
|
847
881
|
readonly default: 0;
|
|
848
882
|
readonly min: 0;
|
|
849
883
|
readonly step: 1;
|
|
@@ -851,12 +885,12 @@ export declare const Internals: {
|
|
|
851
885
|
readonly keyframable: false;
|
|
852
886
|
};
|
|
853
887
|
};
|
|
854
|
-
readonly flattenActiveSchema:
|
|
855
|
-
readonly getFlatSchemaWithAllKeys:
|
|
888
|
+
readonly flattenActiveSchema: typeof flattenActiveSchema;
|
|
889
|
+
readonly getFlatSchemaWithAllKeys: typeof getFlatSchemaWithAllKeys;
|
|
856
890
|
readonly RemotionRootContexts: import("react").FC<{
|
|
857
|
-
readonly children:
|
|
891
|
+
readonly children: React.ReactNode;
|
|
858
892
|
readonly numberOfAudioTags: number;
|
|
859
|
-
readonly logLevel: "
|
|
893
|
+
readonly logLevel: import("./log.js").LogLevel;
|
|
860
894
|
readonly audioLatencyHint: AudioContextLatencyCategory;
|
|
861
895
|
readonly previewSampleRate: number | null;
|
|
862
896
|
readonly videoEnabled: boolean;
|
|
@@ -864,85 +898,34 @@ export declare const Internals: {
|
|
|
864
898
|
readonly frameState: Record<string, number> | null;
|
|
865
899
|
readonly _experimentalKeepAudioContextAlive: boolean;
|
|
866
900
|
}>;
|
|
867
|
-
readonly CompositionManagerProvider:
|
|
868
|
-
readonly children: import("react").ReactNode;
|
|
869
|
-
readonly onlyRenderComposition: string | null;
|
|
870
|
-
readonly currentCompositionMetadata: import("./CompositionManagerContext.js").BaseMetadata | null;
|
|
871
|
-
readonly initialCompositions: import("./CompositionManager.js").AnyComposition[];
|
|
872
|
-
readonly initialCanvasContent: import("./CompositionManagerContext.js").CanvasContent | null;
|
|
873
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
901
|
+
readonly CompositionManagerProvider: typeof CompositionManagerProvider;
|
|
874
902
|
readonly CompositionRegistryProvider: import("react").ForwardRefExoticComponent<{
|
|
875
|
-
readonly children:
|
|
903
|
+
readonly children: React.ReactNode;
|
|
876
904
|
readonly onSnapshot: (snapshot: import("./committed-metadata.js").CommittedCompositionSnapshot) => void;
|
|
877
905
|
} & import("react").RefAttributes<() => void>>;
|
|
878
|
-
readonly useVideo:
|
|
879
|
-
component: import("react").LazyExoticComponent<import("react").ComponentType<Record<string, unknown>>> | import("react").ComponentType<Record<string, unknown>>;
|
|
880
|
-
}) | null;
|
|
906
|
+
readonly useVideo: typeof useVideo;
|
|
881
907
|
readonly VideoProvider: import("react").FC<{
|
|
882
|
-
readonly children:
|
|
908
|
+
readonly children: React.ReactNode;
|
|
883
909
|
}>;
|
|
884
|
-
readonly getRoot:
|
|
885
|
-
readonly useMediaVolumeState:
|
|
886
|
-
readonly usePlayerMutedState:
|
|
887
|
-
readonly useMediaInTimeline:
|
|
888
|
-
|
|
889
|
-
mediaType: "audio" | "video";
|
|
890
|
-
playbackRate: number;
|
|
891
|
-
displayName: string | null;
|
|
892
|
-
id: string;
|
|
893
|
-
getStack: () => string | null;
|
|
894
|
-
showInTimeline: boolean;
|
|
895
|
-
premountDisplay: number | null;
|
|
896
|
-
postmountDisplay: number | null;
|
|
897
|
-
loopDisplay: import("./CompositionManager.js").LoopDisplay | undefined;
|
|
898
|
-
documentationLink: string | null;
|
|
899
|
-
muted: boolean;
|
|
900
|
-
}) => {
|
|
901
|
-
automaticOutlineRef: import("react").RefObject<Element | null> | null;
|
|
902
|
-
registration: TSequence | null;
|
|
903
|
-
};
|
|
904
|
-
readonly useLazyComponent: <Props>({ compProps, componentName, noSuspense, }: {
|
|
905
|
-
compProps: CompProps<Props>;
|
|
906
|
-
componentName: string;
|
|
907
|
-
noSuspense: boolean;
|
|
908
|
-
}) => import("react").ComponentType<Props> | (import("react").ExoticComponent<Props | (import("react").PropsWithoutRef<Props> & import("react").RefAttributes<import("react").Component<Props, any, any>>)> & {
|
|
909
|
-
readonly _result: import("react").ComponentType<Props>;
|
|
910
|
-
});
|
|
910
|
+
readonly getRoot: typeof getRoot;
|
|
911
|
+
readonly useMediaVolumeState: typeof useMediaVolumeState;
|
|
912
|
+
readonly usePlayerMutedState: typeof usePlayerMutedState;
|
|
913
|
+
readonly useMediaInTimeline: typeof useMediaInTimeline;
|
|
914
|
+
readonly useLazyComponent: typeof useLazyComponent;
|
|
911
915
|
readonly truthy: typeof truthy;
|
|
912
916
|
readonly SequenceContext: import("react").Context<import("./SequenceContext.js").SequenceContextType | null>;
|
|
913
917
|
readonly TimelineTrackContext: import("react").Context<import("./timeline-track-context.js").TimelineTrack | null>;
|
|
914
918
|
readonly TrackWithoutSchema: import("react").FC<import("./Track.js").TrackWithoutSchemaProps>;
|
|
915
919
|
readonly PremountContext: import("react").Context<import("./PremountContext.js").PremountContextValue>;
|
|
916
|
-
readonly usePremounting:
|
|
917
|
-
|
|
918
|
-
readonly durationInFrames: number;
|
|
919
|
-
readonly premountFor: number | null;
|
|
920
|
-
readonly postmountFor: number | null;
|
|
921
|
-
readonly style: import("react").CSSProperties | null;
|
|
922
|
-
readonly styleWhilePremounted: import("react").CSSProperties | null;
|
|
923
|
-
readonly styleWhilePostmounted: import("react").CSSProperties | null;
|
|
924
|
-
readonly hideWhilePremounted: "display-none" | "opacity";
|
|
925
|
-
}) => {
|
|
926
|
-
effectivePremountFor: number;
|
|
927
|
-
effectivePostmountFor: number;
|
|
928
|
-
premountingActive: boolean;
|
|
929
|
-
postmountingActive: boolean;
|
|
930
|
-
isPremountingOrPostmounting: boolean;
|
|
931
|
-
freezeFrame: number;
|
|
932
|
-
premountingStyle: import("react").CSSProperties | null;
|
|
933
|
-
};
|
|
934
|
-
readonly resolveSequenceDuration: ({ durationInFrames, playbackRate, loop, }: {
|
|
935
|
-
durationInFrames: number | undefined;
|
|
936
|
-
playbackRate: number | undefined;
|
|
937
|
-
loop: boolean | undefined;
|
|
938
|
-
}) => number;
|
|
920
|
+
readonly usePremounting: typeof usePremounting;
|
|
921
|
+
readonly resolveSequenceDuration: typeof resolveSequenceDuration;
|
|
939
922
|
readonly useRemotionContexts: typeof useRemotionContexts;
|
|
940
|
-
readonly RemotionContextProvider:
|
|
923
|
+
readonly RemotionContextProvider: typeof RemotionContextProvider;
|
|
941
924
|
readonly CSSUtils: typeof CSSUtils;
|
|
942
|
-
readonly setupEnvVariables:
|
|
925
|
+
readonly setupEnvVariables: typeof setupEnvVariables;
|
|
943
926
|
readonly MediaVolumeContext: import("react").Context<MediaVolumeContextValue>;
|
|
944
927
|
readonly SetMediaVolumeContext: import("react").Context<SetMediaVolumeContextValue>;
|
|
945
|
-
readonly getRemotionEnvironment:
|
|
928
|
+
readonly getRemotionEnvironment: typeof getRemotionEnvironment;
|
|
946
929
|
readonly SharedAudioContext: import("react").Context<{
|
|
947
930
|
sampleRate: number;
|
|
948
931
|
audioContext: AudioContext | null;
|
|
@@ -961,7 +944,7 @@ export declare const Internals: {
|
|
|
961
944
|
_experimentalKeepAudioContextAlive: boolean;
|
|
962
945
|
} | null>;
|
|
963
946
|
readonly SharedAudioContextProvider: import("react").FC<{
|
|
964
|
-
readonly children:
|
|
947
|
+
readonly children: React.ReactNode;
|
|
965
948
|
readonly audioLatencyHint: AudioContextLatencyCategory;
|
|
966
949
|
readonly audioEnabled: boolean;
|
|
967
950
|
readonly previewSampleRate: number | null;
|
|
@@ -976,14 +959,9 @@ export declare const Internals: {
|
|
|
976
959
|
}) => {
|
|
977
960
|
id: number;
|
|
978
961
|
props: import("react").AudioHTMLAttributes<HTMLAudioElement>;
|
|
979
|
-
el:
|
|
962
|
+
el: React.RefObject<HTMLAudioElement | null>;
|
|
980
963
|
audioId: string;
|
|
981
|
-
mediaElementSourceNode:
|
|
982
|
-
setAudioContext: (newAudioContext: AudioContext | null) => void;
|
|
983
|
-
attemptToConnect: () => void;
|
|
984
|
-
get: () => MediaElementAudioSourceNode;
|
|
985
|
-
cleanup: () => void;
|
|
986
|
-
} | null;
|
|
964
|
+
mediaElementSourceNode: import("./audio/shared-element-source-node.js").SharedElementSourceNode | null;
|
|
987
965
|
premounting: boolean;
|
|
988
966
|
postmounting: boolean;
|
|
989
967
|
audioMounted: boolean;
|
|
@@ -1002,127 +980,67 @@ export declare const Internals: {
|
|
|
1002
980
|
} | null>;
|
|
1003
981
|
readonly SharedAudioTagsContextProvider: import("react").FC<{
|
|
1004
982
|
readonly numberOfAudioTags: number;
|
|
1005
|
-
readonly children:
|
|
983
|
+
readonly children: React.ReactNode;
|
|
1006
984
|
}>;
|
|
1007
|
-
readonly getAudioSyncAnchorTolerance:
|
|
985
|
+
readonly getAudioSyncAnchorTolerance: typeof getAudioSyncAnchorTolerance;
|
|
1008
986
|
readonly invalidCompositionErrorMessage: string;
|
|
1009
987
|
readonly invalidFolderNameErrorMessage: string;
|
|
1010
|
-
readonly calculateMediaDuration:
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
trimAfter: number | undefined;
|
|
1015
|
-
}) => number;
|
|
1016
|
-
readonly isCompositionIdValid: (id: string) => RegExpMatchArray | null;
|
|
1017
|
-
readonly isFolderNameValid: (name: string) => RegExpMatchArray | null;
|
|
1018
|
-
readonly getPreviewDomElement: () => HTMLElement | null;
|
|
988
|
+
readonly calculateMediaDuration: typeof calculateMediaDuration;
|
|
989
|
+
readonly isCompositionIdValid: typeof isCompositionIdValid;
|
|
990
|
+
readonly isFolderNameValid: typeof isFolderNameValid;
|
|
991
|
+
readonly getPreviewDomElement: typeof getPreviewDomElement;
|
|
1019
992
|
readonly compositionsRef: import("react").RefObject<{
|
|
1020
993
|
getCompositions: () => import("./CompositionManager.js").AnyComposition[];
|
|
1021
994
|
} | null>;
|
|
1022
|
-
readonly portalNode:
|
|
1023
|
-
readonly setPortalNodeCurrentScale:
|
|
1024
|
-
readonly waitForRoot:
|
|
995
|
+
readonly portalNode: typeof portalNode;
|
|
996
|
+
readonly setPortalNodeCurrentScale: typeof setPortalNodeCurrentScale;
|
|
997
|
+
readonly waitForRoot: typeof waitForRoot;
|
|
1025
998
|
readonly SetTimelineContext: import("react").Context<SetTimelineContextValue>;
|
|
1026
999
|
readonly CanUseRemotionHooksProvider: import("react").FC<{
|
|
1027
|
-
readonly children:
|
|
1000
|
+
readonly children: React.ReactNode;
|
|
1028
1001
|
}>;
|
|
1029
1002
|
readonly CanUseRemotionHooks: import("react").Context<boolean>;
|
|
1030
1003
|
readonly DisableInteractivityProvider: import("react").FC<{
|
|
1031
|
-
readonly children:
|
|
1004
|
+
readonly children: React.ReactNode;
|
|
1032
1005
|
}>;
|
|
1033
1006
|
readonly EnableInteractivityProvider: import("react").FC<{
|
|
1034
|
-
readonly children:
|
|
1007
|
+
readonly children: React.ReactNode;
|
|
1035
1008
|
}>;
|
|
1036
1009
|
readonly PrefetchProvider: import("react").FC<{
|
|
1037
|
-
readonly children:
|
|
1010
|
+
readonly children: React.ReactNode;
|
|
1038
1011
|
}>;
|
|
1039
1012
|
readonly DurationsContextProvider: import("react").FC<{
|
|
1040
|
-
readonly children:
|
|
1013
|
+
readonly children: React.ReactNode;
|
|
1041
1014
|
}>;
|
|
1042
1015
|
readonly IsPlayerContextProvider: import("react").FC<{
|
|
1043
|
-
children?: import("react").ReactNode;
|
|
1016
|
+
children?: import("react").ReactNode | undefined;
|
|
1044
1017
|
}>;
|
|
1045
|
-
readonly useIsPlayer:
|
|
1018
|
+
readonly useIsPlayer: typeof useIsPlayer;
|
|
1046
1019
|
readonly EditorPropsProvider: import("react").FC<{
|
|
1047
|
-
readonly children:
|
|
1020
|
+
readonly children: React.ReactNode;
|
|
1048
1021
|
}>;
|
|
1049
1022
|
readonly EditorPropsContext: import("react").Context<import("./EditorProps.js").EditorPropsContextType>;
|
|
1050
|
-
readonly usePreload:
|
|
1051
|
-
readonly resolveVideoConfig:
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
compositionHeight: number | null;
|
|
1055
|
-
compositionFps: number | null;
|
|
1056
|
-
compositionDurationInFrames: number | null;
|
|
1057
|
-
calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
|
|
1058
|
-
signal: AbortSignal;
|
|
1059
|
-
defaultProps: Record<string, unknown>;
|
|
1060
|
-
inputProps: Record<string, unknown>;
|
|
1061
|
-
}) => Promise<import("./video-config.js").VideoConfig> | import("./video-config.js").VideoConfig;
|
|
1062
|
-
readonly resolveVideoConfigOrCatch: (params: {
|
|
1063
|
-
compositionId: string;
|
|
1064
|
-
compositionWidth: number | null;
|
|
1065
|
-
compositionHeight: number | null;
|
|
1066
|
-
compositionFps: number | null;
|
|
1067
|
-
compositionDurationInFrames: number | null;
|
|
1068
|
-
calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
|
|
1069
|
-
signal: AbortSignal;
|
|
1070
|
-
defaultProps: Record<string, unknown>;
|
|
1071
|
-
inputProps: Record<string, unknown>;
|
|
1072
|
-
}) => {
|
|
1073
|
-
type: "success";
|
|
1074
|
-
result: Promise<import("./video-config.js").VideoConfig> | import("./video-config.js").VideoConfig;
|
|
1075
|
-
} | {
|
|
1076
|
-
type: "error";
|
|
1077
|
-
error: Error;
|
|
1078
|
-
};
|
|
1079
|
-
readonly resolveVideoConfigWithMetadataOrCatch: (params: {
|
|
1080
|
-
compositionId: string;
|
|
1081
|
-
compositionWidth: number | null;
|
|
1082
|
-
compositionHeight: number | null;
|
|
1083
|
-
compositionFps: number | null;
|
|
1084
|
-
compositionDurationInFrames: number | null;
|
|
1085
|
-
calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
|
|
1086
|
-
signal: AbortSignal;
|
|
1087
|
-
defaultProps: Record<string, unknown>;
|
|
1088
|
-
inputProps: Record<string, unknown>;
|
|
1089
|
-
}) => {
|
|
1090
|
-
type: "success";
|
|
1091
|
-
result: Promise<import("./resolve-video-config.js").VideoConfigWithMetadata> | import("./resolve-video-config.js").VideoConfigWithMetadata;
|
|
1092
|
-
} | {
|
|
1093
|
-
type: "error";
|
|
1094
|
-
error: Error;
|
|
1095
|
-
};
|
|
1023
|
+
readonly usePreload: typeof usePreload;
|
|
1024
|
+
readonly resolveVideoConfig: typeof resolveVideoConfig;
|
|
1025
|
+
readonly resolveVideoConfigOrCatch: typeof resolveVideoConfigOrCatch;
|
|
1026
|
+
readonly resolveVideoConfigWithMetadataOrCatch: typeof resolveVideoConfigWithMetadataOrCatch;
|
|
1096
1027
|
readonly ResolveCompositionContext: import("react").Context<{
|
|
1097
1028
|
[x: string]: ({
|
|
1098
|
-
type:
|
|
1029
|
+
type: 'loading';
|
|
1099
1030
|
} | {
|
|
1100
|
-
type:
|
|
1031
|
+
type: 'success';
|
|
1101
1032
|
result: import("./video-config.js").VideoConfig;
|
|
1102
1033
|
metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
|
|
1103
1034
|
} | {
|
|
1104
|
-
type:
|
|
1035
|
+
type: 'success-and-refreshing';
|
|
1105
1036
|
result: import("./video-config.js").VideoConfig;
|
|
1106
1037
|
metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
|
|
1107
1038
|
} | {
|
|
1108
|
-
type:
|
|
1039
|
+
type: 'error';
|
|
1109
1040
|
error: Error;
|
|
1110
1041
|
}) | undefined;
|
|
1111
1042
|
} | null>;
|
|
1112
|
-
readonly useResolvedVideoConfig:
|
|
1113
|
-
type: "loading";
|
|
1114
|
-
} | {
|
|
1115
|
-
type: "success";
|
|
1116
|
-
result: import("./video-config.js").VideoConfig;
|
|
1117
|
-
metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
|
|
1118
|
-
} | {
|
|
1119
|
-
type: "success-and-refreshing";
|
|
1120
|
-
result: import("./video-config.js").VideoConfig;
|
|
1121
|
-
metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
|
|
1122
|
-
} | {
|
|
1123
|
-
type: "error";
|
|
1124
|
-
error: Error;
|
|
1125
|
-
}) | null;
|
|
1043
|
+
readonly useResolvedVideoConfig: typeof useResolvedVideoConfig;
|
|
1126
1044
|
readonly resolveCompositionsRef: import("react").RefObject<{
|
|
1127
1045
|
setCurrentRenderModalComposition: (compositionId: string | null) => void;
|
|
1128
1046
|
reloadCurrentlySelectedComposition: () => void;
|
|
@@ -1130,42 +1048,36 @@ export declare const Internals: {
|
|
|
1130
1048
|
} | null>;
|
|
1131
1049
|
readonly REMOTION_STUDIO_CONTAINER_ELEMENT: "__remotion-studio-container";
|
|
1132
1050
|
readonly RenderAssetManager: import("react").Context<import("./RenderAssetManager.js").RenderAssetManagerContext>;
|
|
1133
|
-
readonly persistCurrentFrame:
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
readonly
|
|
1137
|
-
readonly
|
|
1138
|
-
readonly useTimelineSetFrameWithoutSeek: () => (u: import("react").SetStateAction<Record<string, number>>) => void;
|
|
1139
|
-
readonly isIosSafari: () => boolean;
|
|
1051
|
+
readonly persistCurrentFrame: typeof persistCurrentFrame;
|
|
1052
|
+
readonly usePlaybackRate: typeof usePlaybackRate;
|
|
1053
|
+
readonly useTimelineContext: typeof useTimelineContext;
|
|
1054
|
+
readonly useTimelineSetFrameWithoutSeek: typeof useTimelineSetFrameWithoutSeek;
|
|
1055
|
+
readonly isIosSafari: typeof isIosSafari;
|
|
1140
1056
|
readonly WATCH_REMOTION_STATIC_FILES: "remotion_staticFilesChanged";
|
|
1141
1057
|
readonly REACT_REFRESH_STARTED_EVENT: "remotion-react-refresh-started";
|
|
1142
1058
|
readonly REACT_REFRESH_FINISHED_EVENT: "remotion-react-refresh-finished";
|
|
1143
|
-
readonly addSequenceStackTraces:
|
|
1144
|
-
readonly useMediaStartsAt:
|
|
1059
|
+
readonly addSequenceStackTraces: typeof addSequenceStackTraces;
|
|
1060
|
+
readonly useMediaStartsAt: typeof useMediaStartsAt;
|
|
1145
1061
|
readonly BufferingProvider: import("react").FC<{
|
|
1146
|
-
readonly children:
|
|
1062
|
+
readonly children: React.ReactNode;
|
|
1147
1063
|
}>;
|
|
1148
1064
|
readonly BufferingContextReact: import("react").Context<{
|
|
1149
1065
|
addBlock: () => {
|
|
1150
1066
|
unblock: () => void;
|
|
1151
1067
|
};
|
|
1152
1068
|
} | null>;
|
|
1153
|
-
readonly getComponentsToAddStacksTo:
|
|
1154
|
-
readonly getSingleChildComponent:
|
|
1155
|
-
readonly getStackForControls:
|
|
1156
|
-
readonly makeOriginalSourceStack:
|
|
1157
|
-
|
|
1158
|
-
lineNumber: number;
|
|
1159
|
-
columnNumber: number;
|
|
1160
|
-
}) => string;
|
|
1161
|
-
readonly parseOriginalSourceStack: (stack: string | null) => OriginalSourceLocation | null;
|
|
1069
|
+
readonly getComponentsToAddStacksTo: typeof getComponentsToAddStacksTo;
|
|
1070
|
+
readonly getSingleChildComponent: typeof getSingleChildComponent;
|
|
1071
|
+
readonly getStackForControls: typeof getStackForControls;
|
|
1072
|
+
readonly makeOriginalSourceStack: typeof makeOriginalSourceStack;
|
|
1073
|
+
readonly parseOriginalSourceStack: typeof parseOriginalSourceStack;
|
|
1162
1074
|
readonly REMOTION_INTERNAL_STACK_PROP: "_remotionInternalStack";
|
|
1163
|
-
readonly setComponentIdentityResolver:
|
|
1075
|
+
readonly setComponentIdentityResolver: typeof setComponentIdentityResolver;
|
|
1164
1076
|
readonly CurrentScaleContext: import("react").Context<({
|
|
1165
|
-
type:
|
|
1077
|
+
type: 'scale';
|
|
1166
1078
|
scale: number;
|
|
1167
1079
|
} | ({
|
|
1168
|
-
type:
|
|
1080
|
+
type: 'canvas-size';
|
|
1169
1081
|
canvasSize: {
|
|
1170
1082
|
width: number;
|
|
1171
1083
|
height: number;
|
|
@@ -1192,52 +1104,39 @@ export declare const Internals: {
|
|
|
1192
1104
|
})) | null>;
|
|
1193
1105
|
readonly PixelDensityContext: import("react").Context<number | null>;
|
|
1194
1106
|
readonly PreviewSizeContext: import("react").Context<import("./use-current-scale.js").PreviewSizeCtx>;
|
|
1195
|
-
readonly calculateScale:
|
|
1196
|
-
|
|
1197
|
-
compositionWidth: number;
|
|
1198
|
-
compositionHeight: number;
|
|
1199
|
-
canvasSize: {
|
|
1200
|
-
width: number;
|
|
1201
|
-
height: number;
|
|
1202
|
-
};
|
|
1203
|
-
}) => number;
|
|
1204
|
-
readonly validateRenderAsset: (artifact: TRenderAsset) => void;
|
|
1107
|
+
readonly calculateScale: typeof calculateScale;
|
|
1108
|
+
readonly validateRenderAsset: typeof validateRenderAsset;
|
|
1205
1109
|
readonly Log: {
|
|
1206
1110
|
trace: (options: {
|
|
1207
|
-
logLevel: "
|
|
1111
|
+
logLevel: import("./log.js").LogLevel;
|
|
1208
1112
|
tag: string | null;
|
|
1209
1113
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1210
1114
|
verbose: (options: {
|
|
1211
|
-
logLevel: "
|
|
1115
|
+
logLevel: import("./log.js").LogLevel;
|
|
1212
1116
|
tag: string | null;
|
|
1213
1117
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1214
1118
|
info: (options: {
|
|
1215
|
-
logLevel: "
|
|
1119
|
+
logLevel: import("./log.js").LogLevel;
|
|
1216
1120
|
tag: string | null;
|
|
1217
1121
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1218
1122
|
warn: (options: {
|
|
1219
|
-
logLevel: "
|
|
1123
|
+
logLevel: import("./log.js").LogLevel;
|
|
1220
1124
|
tag: string | null;
|
|
1221
1125
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1222
1126
|
error: (options: {
|
|
1223
|
-
logLevel: "
|
|
1127
|
+
logLevel: import("./log.js").LogLevel;
|
|
1224
1128
|
tag: string | null;
|
|
1225
1129
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1226
1130
|
};
|
|
1227
1131
|
readonly LogLevelContext: import("react").Context<LoggingContextValue>;
|
|
1228
|
-
readonly useLogLevel:
|
|
1229
|
-
readonly playbackLogging:
|
|
1230
|
-
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
1231
|
-
tag: string;
|
|
1232
|
-
message: string;
|
|
1233
|
-
mountTime: number | null;
|
|
1234
|
-
}) => void;
|
|
1132
|
+
readonly useLogLevel: typeof useLogLevel;
|
|
1133
|
+
readonly playbackLogging: typeof playbackLogging;
|
|
1235
1134
|
readonly timeValueRef: import("react").RefObject<{
|
|
1236
1135
|
goToFrame: () => void;
|
|
1237
1136
|
seek: (newFrame: number) => void;
|
|
1238
|
-
play: (e?:
|
|
1137
|
+
play: (e?: import("react").SyntheticEvent | PointerEvent) => void;
|
|
1239
1138
|
pause: () => void;
|
|
1240
|
-
toggle: (e?:
|
|
1139
|
+
toggle: (e?: import("react").SyntheticEvent | PointerEvent) => void;
|
|
1241
1140
|
} | null>;
|
|
1242
1141
|
readonly compositionSelectorRef: import("react").RefObject<{
|
|
1243
1142
|
expandComposition: (compName: string) => void;
|
|
@@ -1245,25 +1144,25 @@ export declare const Internals: {
|
|
|
1245
1144
|
toggleFolder: (folderName: string, parentName: string | null) => void;
|
|
1246
1145
|
} | null>;
|
|
1247
1146
|
readonly RemotionEnvironmentContext: import("react").Context<RemotionEnvironment | null>;
|
|
1248
|
-
readonly warnAboutTooHighVolume:
|
|
1147
|
+
readonly warnAboutTooHighVolume: typeof warnAboutTooHighVolume;
|
|
1249
1148
|
readonly AudioForPreview: import("react").ForwardRefExoticComponent<Omit<import("./audio/props.js").NativeAudioProps & {
|
|
1250
|
-
name?: string
|
|
1251
|
-
volume?: import("./volume-prop.js").VolumeProp
|
|
1252
|
-
playbackRate?: number
|
|
1253
|
-
preservePitch?: boolean
|
|
1254
|
-
acceptableTimeShiftInSeconds?: number
|
|
1255
|
-
allowAmplificationDuringRender?: boolean
|
|
1256
|
-
_remotionInternalNeedsDurationCalculation?: boolean
|
|
1257
|
-
_remotionInternalNativeLoopPassed?: boolean
|
|
1258
|
-
toneFrequency?: number
|
|
1259
|
-
useWebAudioApi?: boolean
|
|
1260
|
-
pauseWhenBuffering?: boolean
|
|
1261
|
-
showInTimeline?: boolean
|
|
1262
|
-
delayRenderTimeoutInMilliseconds?: number
|
|
1263
|
-
delayRenderRetries?: number
|
|
1264
|
-
loopVolumeCurveBehavior?: import("./index.js").LoopVolumeCurveBehavior
|
|
1265
|
-
onError?: (
|
|
1266
|
-
audioStreamIndex?: number
|
|
1149
|
+
name?: string;
|
|
1150
|
+
volume?: import("./volume-prop.js").VolumeProp;
|
|
1151
|
+
playbackRate?: number;
|
|
1152
|
+
preservePitch?: boolean;
|
|
1153
|
+
acceptableTimeShiftInSeconds?: number;
|
|
1154
|
+
allowAmplificationDuringRender?: boolean;
|
|
1155
|
+
_remotionInternalNeedsDurationCalculation?: boolean;
|
|
1156
|
+
_remotionInternalNativeLoopPassed?: boolean;
|
|
1157
|
+
toneFrequency?: number;
|
|
1158
|
+
useWebAudioApi?: boolean;
|
|
1159
|
+
pauseWhenBuffering?: boolean;
|
|
1160
|
+
showInTimeline?: boolean;
|
|
1161
|
+
delayRenderTimeoutInMilliseconds?: number;
|
|
1162
|
+
delayRenderRetries?: number;
|
|
1163
|
+
loopVolumeCurveBehavior?: import("./index.js").LoopVolumeCurveBehavior;
|
|
1164
|
+
onError?: (err: Error) => void;
|
|
1165
|
+
audioStreamIndex?: number;
|
|
1267
1166
|
} & {
|
|
1268
1167
|
readonly shouldPreMountAudioTags: boolean;
|
|
1269
1168
|
readonly onDuration: (src: string, durationInSeconds: number) => void;
|
|
@@ -1271,166 +1170,84 @@ export declare const Internals: {
|
|
|
1271
1170
|
readonly _remotionInternalNativeLoopPassed: boolean;
|
|
1272
1171
|
readonly _remotionInternalStack: string | null;
|
|
1273
1172
|
readonly showInTimeline: boolean;
|
|
1274
|
-
readonly onNativeError:
|
|
1173
|
+
readonly onNativeError: React.ReactEventHandler<HTMLAudioElement>;
|
|
1275
1174
|
}, "ref"> & import("react").RefAttributes<HTMLAudioElement>>;
|
|
1276
1175
|
readonly OBJECTFIT_CONTAIN_CLASS_NAME: "__remotion_objectfitcontain";
|
|
1277
1176
|
readonly InnerOffthreadVideo: import("react").FC<import("./video/props.js").AllOffthreadVideoProps>;
|
|
1278
|
-
readonly useBasicMediaInTimeline:
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
sequenceDurationInFrames: number;
|
|
1285
|
-
mediaStartsAt: number;
|
|
1286
|
-
loop: boolean;
|
|
1287
|
-
muted: boolean;
|
|
1288
|
-
}) => {
|
|
1289
|
-
duration: number;
|
|
1290
|
-
finalDisplayName: string;
|
|
1291
|
-
startMediaFrom: number;
|
|
1292
|
-
src: string;
|
|
1293
|
-
playbackRate: number;
|
|
1294
|
-
muted: boolean;
|
|
1295
|
-
};
|
|
1296
|
-
readonly getInputPropsOverride: () => Record<string, unknown> | null;
|
|
1297
|
-
readonly setInputPropsOverride: (override: Record<string, unknown> | null) => void;
|
|
1298
|
-
readonly useVideoEnabled: () => boolean;
|
|
1299
|
-
readonly useAudioEnabled: () => boolean;
|
|
1300
|
-
readonly useBuffering: () => boolean;
|
|
1177
|
+
readonly useBasicMediaInTimeline: typeof useBasicMediaInTimeline;
|
|
1178
|
+
readonly getInputPropsOverride: typeof getInputPropsOverride;
|
|
1179
|
+
readonly setInputPropsOverride: typeof setInputPropsOverride;
|
|
1180
|
+
readonly useVideoEnabled: typeof useVideoEnabled;
|
|
1181
|
+
readonly useAudioEnabled: typeof useAudioEnabled;
|
|
1182
|
+
readonly useBuffering: typeof useBuffering;
|
|
1301
1183
|
readonly TimelinePosition: typeof TimelinePosition;
|
|
1302
|
-
readonly useTimelineSeek:
|
|
1184
|
+
readonly useTimelineSeek: typeof useTimelineSeek;
|
|
1303
1185
|
readonly DelayRenderContextType: import("react").Context<import("./delay-render.js").DelayRenderScope | null>;
|
|
1304
1186
|
readonly TimelineContext: import("react").Context<TimelineContextValue | null>;
|
|
1305
|
-
readonly usePlaying:
|
|
1187
|
+
readonly usePlaying: typeof usePlaying;
|
|
1188
|
+
readonly PlaybackPitchContext: import("react").Context<boolean>;
|
|
1306
1189
|
readonly PlaybackRateContext: import("react").Context<PlaybackRateContextValue | null>;
|
|
1307
1190
|
readonly AbsoluteTimeContext: import("react").Context<TimelineContextValue | null>;
|
|
1308
1191
|
readonly RenderAssetManagerProvider: import("react").FC<{
|
|
1309
|
-
children:
|
|
1310
|
-
collectAssets:
|
|
1192
|
+
children: React.ReactNode;
|
|
1193
|
+
collectAssets: null | React.RefObject<import("./RenderAssetManager.js").CollectAssetsRef | null>;
|
|
1311
1194
|
}>;
|
|
1312
|
-
readonly getEffectiveVisualModeValue:
|
|
1313
|
-
propStatus: CanUpdateSequencePropStatusKeyframed | CanUpdateSequencePropStatusStatic;
|
|
1314
|
-
dragOverrideValue: DragOverrideValue | undefined;
|
|
1315
|
-
defaultValue: unknown;
|
|
1316
|
-
frame?: number | null | undefined;
|
|
1317
|
-
shouldResortToDefaultValueIfUndefined: boolean;
|
|
1318
|
-
}) => unknown;
|
|
1195
|
+
readonly getEffectiveVisualModeValue: typeof getEffectiveVisualModeValue;
|
|
1319
1196
|
readonly CompositionRenderErrorContext: import("react").Context<import("./composition-render-error-context.js").CompositionRenderErrorContextType>;
|
|
1320
|
-
readonly useEffectChainState:
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
readonly
|
|
1324
|
-
readonly
|
|
1325
|
-
readonly
|
|
1326
|
-
readonly
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
readonly
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
readonly
|
|
1335
|
-
readonly
|
|
1336
|
-
readonly
|
|
1337
|
-
readonly
|
|
1338
|
-
|
|
1339
|
-
currentValue: Record<string, unknown>;
|
|
1340
|
-
overrideValues: Record<string, DragOverrideValue>;
|
|
1341
|
-
propStatus: Record<string, CanUpdateSequencePropStatus<number>> | undefined;
|
|
1342
|
-
frame: number | null;
|
|
1343
|
-
}) => {
|
|
1344
|
-
merged: Record<string, unknown>;
|
|
1345
|
-
propsToDelete: Set<string>;
|
|
1346
|
-
};
|
|
1347
|
-
readonly interpolateKeyframedStatus: ({ frame, forceSpringAllowTail, status, }: {
|
|
1348
|
-
frame: number;
|
|
1349
|
-
forceSpringAllowTail: boolean | null;
|
|
1350
|
-
status: CanUpdateSequencePropStatusKeyframed;
|
|
1351
|
-
}) => string | number | boolean | readonly number[] | null;
|
|
1352
|
-
readonly prepareNumericKeyframedStatus: ({ forceSpringAllowTail, status, }: {
|
|
1353
|
-
forceSpringAllowTail: boolean | null;
|
|
1354
|
-
status: CanUpdateSequencePropStatusKeyframed;
|
|
1355
|
-
}) => ((frame: number) => number | null) | null;
|
|
1356
|
-
readonly setInterpolatePaths: (interpolator: (input: number, inputRange: readonly number[], outputRange: readonly string[], options: Pick<Partial<{
|
|
1357
|
-
easing: readonly import("./interpolate.js").EasingFunction[] | import("./interpolate.js").EasingFunction;
|
|
1358
|
-
extrapolateLeft: import("./interpolate.js").ExtrapolateType;
|
|
1359
|
-
extrapolateRight: import("./interpolate.js").ExtrapolateType;
|
|
1360
|
-
output: import("./interpolate.js").InterpolateOutputOption;
|
|
1361
|
-
outputType: import("./interpolate.js").InterpolateOutputType;
|
|
1362
|
-
posterize: number;
|
|
1363
|
-
}>, "easing" | "posterize"> & {
|
|
1364
|
-
extrapolateLeft: "clamp" | "extend" | "wrap";
|
|
1365
|
-
extrapolateRight: "clamp" | "extend" | "wrap";
|
|
1366
|
-
}) => string) => void;
|
|
1367
|
-
readonly makeStaticDragOverride: (value: unknown) => DragOverrideValue;
|
|
1368
|
-
readonly makeKeyframedDragOverride: ({ status, frame, value, defaultEasing, }: {
|
|
1369
|
-
status: CanUpdateSequencePropStatusKeyframed<number>;
|
|
1370
|
-
frame: number;
|
|
1371
|
-
value: unknown;
|
|
1372
|
-
defaultEasing?: CanUpdateSequencePropStatusEasing | undefined;
|
|
1373
|
-
}) => DragOverrideValue;
|
|
1374
|
-
readonly resolveDragOverrideValue: ({ dragOverrideValue, frame, }: {
|
|
1375
|
-
dragOverrideValue: DragOverrideValue | undefined;
|
|
1376
|
-
frame: number | null;
|
|
1377
|
-
}) => import("./get-effective-visual-mode-value.js").ResolvedDragOverrideValue;
|
|
1378
|
-
readonly getStaticDragOverrideValue: (dragOverrideValue: DragOverrideValue | undefined) => unknown;
|
|
1197
|
+
readonly useEffectChainState: typeof useEffectChainState;
|
|
1198
|
+
readonly createEffectChainState: typeof createEffectChainState;
|
|
1199
|
+
readonly cleanupEffectChainState: typeof cleanupEffectChainState;
|
|
1200
|
+
readonly runEffectChain: typeof runEffectChain;
|
|
1201
|
+
readonly useMemoizedEffects: typeof useMemoizedEffects;
|
|
1202
|
+
readonly subscribeToEffectSource: typeof subscribeToEffectSource;
|
|
1203
|
+
readonly useMemoizedEffectDefinitions: typeof useMemoizedEffectDefinitions;
|
|
1204
|
+
readonly createEffect: typeof createEffect;
|
|
1205
|
+
readonly createCurveSampler: typeof createCurveSampler;
|
|
1206
|
+
readonly createWebGLContextError: typeof createWebGLContextError;
|
|
1207
|
+
readonly createWebGL2ContextError: typeof createWebGL2ContextError;
|
|
1208
|
+
readonly computeEffectiveSchemaValuesDotNotation: typeof computeEffectiveSchemaValuesDotNotation;
|
|
1209
|
+
readonly interpolateKeyframedStatus: typeof interpolateKeyframedStatus;
|
|
1210
|
+
readonly prepareNumericKeyframedStatus: typeof prepareNumericKeyframedStatus;
|
|
1211
|
+
readonly setInterpolatePaths: typeof setInterpolatePaths;
|
|
1212
|
+
readonly makeStaticDragOverride: typeof makeStaticDragOverride;
|
|
1213
|
+
readonly makeKeyframedDragOverride: typeof makeKeyframedDragOverride;
|
|
1214
|
+
readonly resolveDragOverrideValue: typeof resolveDragOverrideValue;
|
|
1215
|
+
readonly getStaticDragOverrideValue: typeof getStaticDragOverrideValue;
|
|
1379
1216
|
readonly OverrideIdsToNodePathsGettersContext: import("react").Context<OverrideToNodePathGetters>;
|
|
1380
1217
|
readonly OverrideIdsToNodePathsSettersContext: import("react").Context<OverrideToNodeSetters>;
|
|
1381
|
-
readonly findPropsToDelete:
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
}) => string[];
|
|
1386
|
-
readonly makeSequencePropsSubscriptionKey: (key: SequencePropsSubscriptionKey) => string;
|
|
1387
|
-
readonly getPropStatusesCtx: (propStatuses: PropStatuses, nodePath: SequencePropsSubscriptionKey) => Record<string, CanUpdateSequencePropStatus> | undefined;
|
|
1388
|
-
readonly getEffectPropStatusesCtx: ({ propStatuses, nodePath, effectIndex, }: {
|
|
1389
|
-
propStatuses: PropStatuses;
|
|
1390
|
-
nodePath: SequencePropsSubscriptionKey;
|
|
1391
|
-
effectIndex: number;
|
|
1392
|
-
}) => {
|
|
1393
|
-
type: "cannot-update-sequence";
|
|
1394
|
-
reason: CannotUpdateSequenceReason;
|
|
1395
|
-
} | {
|
|
1396
|
-
type: "cannot-update-effect";
|
|
1397
|
-
reason: import("./SequenceManager.js").CannotUpdateEffectReason;
|
|
1398
|
-
} | {
|
|
1399
|
-
type: "can-update-effect";
|
|
1400
|
-
props: Record<string, CanUpdateSequencePropStatus>;
|
|
1401
|
-
};
|
|
1218
|
+
readonly findPropsToDelete: typeof findPropsToDelete;
|
|
1219
|
+
readonly makeSequencePropsSubscriptionKey: typeof makeSequencePropsSubscriptionKey;
|
|
1220
|
+
readonly getPropStatusesCtx: typeof getPropStatusesCtx;
|
|
1221
|
+
readonly getEffectPropStatusesCtx: typeof getEffectPropStatusesCtx;
|
|
1402
1222
|
readonly hiddenField: InteractivitySchemaField;
|
|
1403
1223
|
readonly durationInFramesField: {
|
|
1404
|
-
readonly type:
|
|
1224
|
+
readonly type: 'number';
|
|
1405
1225
|
readonly default: undefined;
|
|
1406
1226
|
readonly min: 1;
|
|
1407
1227
|
readonly step: 1;
|
|
1408
1228
|
readonly hiddenFromList: true;
|
|
1409
1229
|
};
|
|
1410
1230
|
readonly freezeField: {
|
|
1411
|
-
readonly type:
|
|
1231
|
+
readonly type: 'number';
|
|
1412
1232
|
readonly default: null;
|
|
1413
1233
|
readonly step: 1;
|
|
1414
1234
|
readonly hiddenFromList: true;
|
|
1415
1235
|
};
|
|
1416
1236
|
readonly fromField: {
|
|
1417
|
-
readonly type:
|
|
1237
|
+
readonly type: 'number';
|
|
1418
1238
|
readonly default: 0;
|
|
1419
1239
|
readonly step: 1;
|
|
1420
1240
|
readonly hiddenFromList: true;
|
|
1421
1241
|
};
|
|
1422
1242
|
readonly trimAfterField: {
|
|
1423
|
-
readonly type:
|
|
1243
|
+
readonly type: 'number';
|
|
1424
1244
|
readonly default: undefined;
|
|
1425
1245
|
readonly min: 1;
|
|
1426
1246
|
readonly step: 1;
|
|
1427
1247
|
readonly hiddenFromList: true;
|
|
1428
1248
|
};
|
|
1429
|
-
readonly resolveSequenceCrop:
|
|
1430
|
-
readonly useCropStyle:
|
|
1431
|
-
readonly style: import("react").CSSProperties | null;
|
|
1432
|
-
readonly componentName: string;
|
|
1433
|
-
}) => import("react").CSSProperties | null;
|
|
1249
|
+
readonly resolveSequenceCrop: typeof resolveSequenceCrop;
|
|
1250
|
+
readonly useCropStyle: typeof useCropStyle;
|
|
1434
1251
|
};
|
|
1435
1252
|
export type { ArrayFieldSchema, ArrayItemFieldSchema, AssetFieldSchema, CannotUpdateSequenceReason, CanUpdateEffectPropsResponse, CanUpdateEffectPropsResponseFalse, CanUpdateEffectPropsResponseTrue, CanUpdateSequencePropsResponse, CanUpdateSequencePropsResponseFalse, CanUpdateSequencePropsResponseTrue, CanUpdateSequencePropStatus, CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, CompositionManagerContext, CompProps, DragOverrides, DragOverrideValue, EffectDragOverrides, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, InteractivitySchema, InteractivitySchemaField, JsxComponentIdentity, LoggingContextValue, MediaVolumeContextValue, OriginalSourceLocation, OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext, OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters, PlaybackRateContextValue, PropStatuses, RemotionAudioContextState, RemotionEnvironment, ResolvedStackLocation, ScheduleAudioNodeOptions, ScheduleAudioNodeResult, SequenceNodePath, SequencePropsStatusRemapping, SequencePropsSubscriptionKey, SerializedJSONWithCustomFields, SetMediaVolumeContextValue, SetTimelineContextValue, TCompMetadata, TComposition, TimelineContextValue, TRenderAsset, TSequence, VideoConfigNumericExpression, VideoConfigValues, VisibleFieldSchema, WatchRemotionStaticFilesPayload, };
|
|
1436
1253
|
export type { CanUpdateSequencePropSource, SourceNumericValue, VideoConfigNumericBinding, } from './use-schema.js';
|