@remotion/studio 4.0.527 → 4.0.528
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/components/AgentPrompt.js +1 -2
- package/dist/components/AudioWaveform.d.ts +1 -0
- package/dist/components/AudioWaveform.js +10 -14
- package/dist/components/CodeFrame.js +1 -1
- package/dist/components/ColorPicker/checker.d.ts +1 -1
- package/dist/components/CurrentAsset.js +3 -2
- package/dist/components/EditorRuler/Ruler.js +6 -3
- package/dist/components/EffectPickerModal.js +69 -43
- package/dist/components/ElementInstallConfirmation.js +3 -3
- package/dist/components/ElementLibrariesSettings.d.ts +2 -0
- package/dist/components/ElementLibrariesSettings.js +200 -0
- package/dist/components/InitialCompositionLoader.js +3 -1
- package/dist/components/InspectorOpenInEditor.js +13 -0
- package/dist/components/InspectorPanel/AlignmentControls.js +28 -9
- package/dist/components/InspectorPanel/CollapsibleInspectorSectionHeader.js +1 -1
- package/dist/components/InspectorPanel/EasingInspector.js +6 -2
- package/dist/components/InspectorPanel/ElementLibraryButton.js +1 -1
- package/dist/components/InspectorPanel/KeyframeEasingNavigator.js +1 -1
- package/dist/components/InspectorPanel/KeyframeInspector.js +28 -24
- package/dist/components/InspectorPanel/MultiSequenceNumberField.js +1 -1
- package/dist/components/InspectorPanel/SequenceInspectorHeader.d.ts +3 -1
- package/dist/components/InspectorPanel/SequenceSelectionInspector.js +30 -2
- package/dist/components/InspectorPanel/SequenceWrapAction.d.ts +8 -0
- package/dist/components/InspectorPanel/SequenceWrapAction.js +151 -0
- package/dist/components/InspectorPanel/easing-inspector-selection.d.ts +2 -1
- package/dist/components/InspectorPanel/easing-inspector-selection.js +4 -3
- package/dist/components/InspectorPanel/keyframe-inspector-frame.d.ts +2 -1
- package/dist/components/InspectorPanel/keyframe-inspector-frame.js +2 -2
- package/dist/components/InspectorSequenceSection.d.ts +1 -0
- package/dist/components/InspectorSequenceSection.js +7 -5
- package/dist/components/KeyboardShortcutsSettings.js +1 -1
- package/dist/components/Menu/styles.d.ts +2 -2
- package/dist/components/Modals.js +7 -6
- package/dist/components/ModelManager.js +10 -9
- package/dist/components/NewComposition/CancelButton.js +10 -4
- package/dist/components/NewComposition/InputDragger.d.ts +3 -1
- package/dist/components/NewComposition/InputDragger.js +28 -9
- package/dist/components/NewComposition/NewComposition.js +7 -6
- package/dist/components/NewComposition/RemInput.d.ts +1 -1
- package/dist/components/NewComposition/menu-typeahead.js +1 -1
- package/dist/components/Preview.js +3 -2
- package/dist/components/RenderModal/SchemaEditor/create-zod-values.js +1 -2
- package/dist/components/RenderModal/WebRenderModalPicture.js +1 -2
- package/dist/components/RenderQueue/CaptionQueueItem.js +14 -5
- package/dist/components/RenderQueue/CaptionQueueProcessor.js +30 -7
- package/dist/components/RenderQueue/QueueJobError.d.ts +8 -0
- package/dist/components/RenderQueue/QueueJobError.js +24 -0
- package/dist/components/RenderQueue/QueueJobErrorModal.d.ts +8 -0
- package/dist/components/RenderQueue/QueueJobErrorModal.js +63 -0
- package/dist/components/RenderQueue/RenderQueueItemCancelButton.d.ts +3 -1
- package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +11 -4
- package/dist/components/RenderQueue/RenderQueueRepeat.d.ts +3 -1
- package/dist/components/RenderQueue/RenderQueueRepeat.js +20 -3
- package/dist/components/RenderQueue/VideoMattingQueueItem.js +24 -27
- package/dist/components/RenderQueue/VideoMattingQueueProcessor.js +68 -28
- package/dist/components/RenderQueue/caption-job-types.d.ts +3 -1
- package/dist/components/RenderQueue/context.d.ts +4 -0
- package/dist/components/RenderQueue/context.js +58 -8
- package/dist/components/RenderQueue/index.js +2 -3
- package/dist/components/RenderQueue/load-model-for-job.d.ts +2 -1
- package/dist/components/RenderQueue/load-model-for-job.js +5 -1
- package/dist/components/RenderQueue/video-matting-job-types.d.ts +13 -6
- package/dist/components/SelectedOutlineCropControls.js +2 -1
- package/dist/components/SelectedOutlineEditingHandles.js +9 -2
- package/dist/components/SelectedOutlineElement.js +9 -3
- package/dist/components/SelectedOutlineKeyboardControls.d.ts +2 -4
- package/dist/components/SelectedOutlineKeyboardControls.js +4 -22
- package/dist/components/SelectedOutlineOverlay.js +152 -106
- package/dist/components/SelectedOutlinePathPoints.d.ts +8 -0
- package/dist/components/SelectedOutlinePathPoints.js +433 -0
- package/dist/components/SelectedOutlinePolygon.js +21 -46
- package/dist/components/SelectedOutlineRenderer.d.ts +3 -5
- package/dist/components/SelectedOutlineRenderer.js +32 -136
- package/dist/components/SelectedOutlineTransformOriginHandle.js +3 -2
- package/dist/components/SelectedOutlineUvControls.js +12 -7
- package/dist/components/SettingsModal.js +30 -3
- package/dist/components/SettingsModalFooter.d.ts +1 -0
- package/dist/components/SettingsModalFooter.js +7 -3
- package/dist/components/ShowOutlinesProvider.js +1 -1
- package/dist/components/SkillsSettings.d.ts +0 -1
- package/dist/components/SkillsSettings.js +13 -14
- package/dist/components/Splitter/SplitterElement.js +1 -2
- package/dist/components/TimeValue.js +1 -1
- package/dist/components/Timeline/LoopedTimelineIndicators.d.ts +1 -0
- package/dist/components/Timeline/LoopedTimelineIndicators.js +7 -6
- package/dist/components/Timeline/TimelineArrayField.js +1 -1
- package/dist/components/Timeline/TimelineClipboardKeybindings.js +0 -1
- package/dist/components/Timeline/TimelineColorField.js +1 -1
- package/dist/components/Timeline/TimelineDragHandler.js +1 -1
- package/dist/components/Timeline/TimelineEffectPropItem.d.ts +1 -0
- package/dist/components/Timeline/TimelineEffectPropItem.js +12 -5
- package/dist/components/Timeline/TimelineExpandedRow.d.ts +1 -0
- package/dist/components/Timeline/TimelineExpandedRow.js +5 -4
- package/dist/components/Timeline/TimelineExpandedSection.d.ts +1 -0
- package/dist/components/Timeline/TimelineExpandedSection.js +2 -2
- package/dist/components/Timeline/TimelineExpandedTrackKeyframes.d.ts +1 -0
- package/dist/components/Timeline/TimelineExpandedTrackKeyframes.js +3 -1
- package/dist/components/Timeline/TimelineFontFamilyField.js +12 -12
- package/dist/components/Timeline/TimelineKeyframeControls.d.ts +1 -0
- package/dist/components/Timeline/TimelineKeyframeControls.js +39 -28
- package/dist/components/Timeline/TimelineLayerChildren.js +1 -1
- package/dist/components/Timeline/TimelineList.js +1 -1
- package/dist/components/Timeline/TimelineNumberField.js +2 -4
- package/dist/components/Timeline/TimelinePrimitiveFieldValue.js +1 -1
- package/dist/components/Timeline/TimelineSelection.d.ts +9 -9
- package/dist/components/Timeline/TimelineSelection.js +16 -9
- package/dist/components/Timeline/TimelineSequence.d.ts +3 -1
- package/dist/components/Timeline/TimelineSequence.js +39 -21
- package/dist/components/Timeline/TimelineSequenceItem.d.ts +1 -0
- package/dist/components/Timeline/TimelineSequenceItem.js +18 -8
- package/dist/components/Timeline/TimelineSequencePropItem.d.ts +3 -0
- package/dist/components/Timeline/TimelineSequencePropItem.js +262 -25
- package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.d.ts +11 -13
- package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +98 -77
- package/dist/components/Timeline/TimelineTextContentField.js +27 -4
- package/dist/components/Timeline/TimelineTimeIndicators.js +10 -5
- package/dist/components/Timeline/TimelineTrack.js +1 -1
- package/dist/components/Timeline/TimelineTrimTooltip.d.ts +11 -0
- package/dist/components/Timeline/TimelineTrimTooltip.js +41 -0
- package/dist/components/Timeline/TimelineVideoInfo.d.ts +1 -0
- package/dist/components/Timeline/TimelineVideoInfo.js +13 -10
- package/dist/components/Timeline/delete-selected-keyframe.js +22 -8
- package/dist/components/Timeline/delete-selected-timeline-item.d.ts +1 -5
- package/dist/components/Timeline/delete-selected-timeline-item.js +7 -93
- package/dist/components/Timeline/get-animation-item-selection-for-frame.d.ts +2 -1
- package/dist/components/Timeline/get-animation-item-selection-for-frame.js +7 -5
- package/dist/components/Timeline/get-keyframed-sequence-drag-targets.d.ts +23 -0
- package/dist/components/Timeline/get-keyframed-sequence-drag-targets.js +57 -0
- package/dist/components/Timeline/get-node-keyframes.d.ts +2 -1
- package/dist/components/Timeline/get-node-keyframes.js +6 -4
- package/dist/components/Timeline/get-playback-rate-keyframe-changes.d.ts +21 -0
- package/dist/components/Timeline/get-playback-rate-keyframe-changes.js +142 -0
- package/dist/components/Timeline/get-timeline-keyframes.d.ts +15 -2
- package/dist/components/Timeline/get-timeline-keyframes.js +44 -6
- package/dist/components/Timeline/keyframe-clipboard.js +17 -3
- package/dist/components/Timeline/split-selected-timeline-item.js +4 -1
- package/dist/components/Timeline/timeline-field-display-utils.js +1 -0
- package/dist/components/Timeline/timeline-field-row-layout.js +1 -0
- package/dist/components/Timeline/use-delete-timeline-items.js +17 -11
- package/dist/components/Timeline/use-expanded-track-keyframe-rows.d.ts +2 -1
- package/dist/components/Timeline/use-expanded-track-keyframe-rows.js +3 -1
- package/dist/components/Timeline/use-sequence-freeze-frame-menu-item.js +7 -3
- package/dist/components/Timeline/use-timeline-keyframe-drag.js +28 -19
- package/dist/components/Transcription/Models.js +1 -1
- package/dist/components/Transcription/TranscriptionModal.js +3 -1
- package/dist/components/Transcription/resample-media-to-16-khz.d.ts +2 -1
- package/dist/components/Transcription/resample-media-to-16-khz.js +20 -2
- package/dist/components/UpdatesSettings.js +2 -0
- package/dist/components/VideoMatting/Models.js +1 -1
- package/dist/components/VideoMatting/VideoMattingModal.js +30 -47
- package/dist/components/VideoMatting/VideoMattingModalWithOptionalPackage.js +1 -1
- package/dist/components/WebMcp.js +22 -40
- package/dist/components/composition-drop-preview.js +1 -0
- package/dist/components/effect-drag-and-drop.d.ts +13 -5
- package/dist/components/effect-drag-and-drop.js +19 -4
- package/dist/components/get-open-in-menu-items.d.ts +2 -1
- package/dist/components/get-open-in-menu-items.js +17 -1
- package/dist/components/selected-outline-drag.d.ts +1 -6
- package/dist/components/selected-outline-drag.js +22 -6
- package/dist/components/selected-outline-geometry.d.ts +2 -18
- package/dist/components/selected-outline-measurement.d.ts +23 -41
- package/dist/components/selected-outline-measurement.js +14 -252
- package/dist/components/selected-outline-order.d.ts +4 -11
- package/dist/components/selected-outline-order.js +2 -254
- package/dist/components/selected-outline-snap.d.ts +1 -1
- package/dist/components/selected-outline-snap.js +2 -1
- package/dist/components/selected-outline-types.d.ts +18 -28
- package/dist/components/selected-outline-uv.d.ts +4 -4
- package/dist/components/selected-outline-uv.js +6 -111
- package/dist/components/sequence-props-api.js +0 -10
- package/dist/components/use-selected-outline-control-target.js +12 -21
- package/dist/components/wrap-jsx-node-api.d.ts +2 -0
- package/dist/components/wrap-jsx-node-api.js +13 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js +45 -2
- package/dist/error-overlay/remotion-overlay/StackFrame.js +32 -3
- package/dist/esm/{CaptionQueueProcessor-npa6szn1.mjs → CaptionQueueProcessor-nr7hjcga.mjs} +63 -17
- package/dist/esm/LazyModels-ajkn7fs3.mjs +12 -0
- package/dist/esm/LazyModels-g1g7cf4e.mjs +12 -0
- package/dist/esm/{TranscriptionModal-79m5wgcj.mjs → TranscriptionModal-e18bzbkb.mjs} +15 -15
- package/dist/esm/{VideoMattingModal-31pew0xj.mjs → VideoMattingModal-5bz2s4rs.mjs} +47 -65
- package/dist/esm/{VideoMattingQueueProcessor-t1hgm2rm.mjs → VideoMattingQueueProcessor-4tkj0f4k.mjs} +69 -26
- package/dist/esm/{index-v4tr1bft.mjs → index-09txs1bj.mjs} +5 -0
- package/dist/esm/{index-n5gmcvhz.mjs → index-5ycb9e9q.mjs} +2 -4
- package/dist/esm/{index-5t2dwxsk.mjs → index-890dd9b3.mjs} +259 -21
- package/dist/esm/{index-ac5550e7.mjs → index-8nt6a0mw.mjs} +3 -3
- package/dist/esm/{index-614tdz2q.mjs → index-9q9w8v9p.mjs} +3 -3
- package/dist/esm/{index-s7qa3xbw.mjs → index-c2wabcdt.mjs} +6 -6
- package/dist/esm/{index-r1gr3j3a.mjs → index-dfy1t576.mjs} +50 -1
- package/dist/esm/{index-21hxsfaa.mjs → index-dh3zk2hv.mjs} +6 -25
- package/dist/esm/{index-4zen9prq.mjs → index-dpyss74p.mjs} +6563 -5485
- package/dist/esm/{index-9x6e1dq0.mjs → index-hqxc6tzp.mjs} +40 -6
- package/dist/esm/{index-9xxg6218.mjs → index-qve7mdfp.mjs} +19 -1
- package/dist/esm/{index-e855w59j.mjs → index-s6qya2gg.mjs} +3 -5
- package/dist/esm/index-t7tbt980.mjs +103 -0
- package/dist/esm/{index-r0ejh5sy.mjs → index-t7xnxdf8.mjs} +44 -26
- package/dist/esm/index-wqc43mw0.mjs +158 -0
- package/dist/esm/{index-ppspzgn9.mjs → index-x6r9bn12.mjs} +4026 -4761
- package/dist/esm/{index-vxwg66ar.mjs → index-xac20sv4.mjs} +44 -57
- package/dist/esm/index.mjs +4 -5
- package/dist/esm/internals.mjs +13 -13
- package/dist/esm/previewEntry.mjs +18 -15
- package/dist/esm/renderEntry.mjs +5 -1
- package/dist/helpers/calculate-timeline.d.ts +5 -1
- package/dist/helpers/calculate-timeline.js +1 -1
- package/dist/helpers/checkerboard-background.d.ts +2 -2
- package/dist/helpers/colors.d.ts +132 -112
- package/dist/helpers/colors.js +117 -95
- package/dist/helpers/create-folder-tree.js +2 -1
- package/dist/helpers/editor-guide-selection.d.ts +1 -1
- package/dist/helpers/editor-ruler.js +23 -12
- package/dist/helpers/get-connected-compositions.d.ts +6 -1
- package/dist/helpers/get-connected-compositions.js +1 -1
- package/dist/helpers/get-sequence-double-click-action.js +1 -1
- package/dist/helpers/get-sequence-visible-range.d.ts +1 -1
- package/dist/helpers/get-sequence-visible-range.js +2 -5
- package/dist/helpers/get-timeline-nestedness.d.ts +1 -1
- package/dist/helpers/get-timeline-nestedness.js +1 -1
- package/dist/helpers/get-timeline-sequence-sort-key.d.ts +1 -1
- package/dist/helpers/get-timeline-sequence-sort-key.js +1 -1
- package/dist/helpers/hoverable.js +4 -4
- package/dist/helpers/inject-css.js +5 -7
- package/dist/helpers/prism-vsc-dark-plus.d.ts +1 -1
- package/dist/helpers/prism-vsc-dark-plus.js +52 -51
- package/dist/helpers/resolve-studio-color.d.ts +1 -0
- package/dist/helpers/resolve-studio-color.js +11 -0
- package/dist/helpers/studio-css-variables.d.ts +1 -0
- package/dist/helpers/studio-css-variables.js +105 -0
- package/dist/helpers/studio-pixel-ratio.d.ts +1 -0
- package/dist/helpers/studio-pixel-ratio.js +7 -0
- package/dist/helpers/timeline-node-path-key.d.ts +1 -1
- package/dist/helpers/timeline-node-path-key.js +2 -2
- package/dist/helpers/use-runtime-values.js +2 -28
- package/dist/hot-middleware-client/client.js +5 -3
- package/dist/icons/align-center-horizontal.js +2 -1
- package/dist/icons/align-left.js +2 -1
- package/dist/icons/align-right.js +2 -1
- package/dist/icons/{separation.d.ts → background-removal.d.ts} +1 -1
- package/dist/icons/background-removal.js +9 -0
- package/dist/icons/wrap.d.ts +4 -0
- package/dist/icons/wrap.js +10 -0
- package/dist/previewEntry.js +2 -0
- package/dist/renderEntry.js +2 -0
- package/dist/state/modals.d.ts +15 -1
- package/dist/state/timeline-sequence-hover.d.ts +6 -16
- package/dist/state/timeline-sequence-hover.js +6 -67
- package/package.json +20 -19
- package/dist/components/Timeline/get-easing-selection-after-keyframe-delete.d.ts +0 -15
- package/dist/components/Timeline/get-easing-selection-after-keyframe-delete.js +0 -31
- package/dist/esm/LazyModels-nh3c8h9p.mjs +0 -12
- package/dist/esm/LazyModels-rr5v8h5y.mjs +0 -12
- package/dist/esm/index-cw0pnpg5.mjs +0 -50
- package/dist/esm/index-k426ye99.mjs +0 -139
- package/dist/helpers/get-box-quads-polyfill-internals.d.ts +0 -82
- package/dist/helpers/get-box-quads-polyfill-internals.js +0 -2403
- package/dist/helpers/get-box-quads-ponyfill.d.ts +0 -10
- package/dist/helpers/get-box-quads-ponyfill.js +0 -23
- package/dist/icons/separation.js +0 -7
- /package/dist/esm/{resolve-composition-component-location-qrp05g62.mjs → resolve-composition-component-location-2hgf6g0a.mjs} +0 -0
|
@@ -11,32 +11,19 @@ import {
|
|
|
11
11
|
rightRow,
|
|
12
12
|
useCopyFeedback,
|
|
13
13
|
validatePublicOutputName
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-x6r9bn12.mjs";
|
|
15
15
|
import {
|
|
16
16
|
showNotification
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-dh3zk2hv.mjs";
|
|
18
18
|
import {
|
|
19
19
|
Spacing
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-890dd9b3.mjs";
|
|
21
21
|
import {
|
|
22
22
|
BLUE,
|
|
23
|
-
CURRENT_COLOR_LOWERCASE,
|
|
24
23
|
INPUT_BACKGROUND,
|
|
25
24
|
LIGHT_TEXT,
|
|
26
25
|
WHITE
|
|
27
|
-
} from "./index-
|
|
28
|
-
|
|
29
|
-
// src/icons/gear.tsx
|
|
30
|
-
import { jsx } from "react/jsx-runtime";
|
|
31
|
-
var GearIcon = ({ color, ...props }) => /* @__PURE__ */ jsx("svg", {
|
|
32
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
-
viewBox: "0 0 512 512",
|
|
34
|
-
...props,
|
|
35
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
36
|
-
fill: color ?? CURRENT_COLOR_LOWERCASE,
|
|
37
|
-
d: "M168 255.1c0-47.7 39.4-88 88-88s88 40.3 88 88c0 49.5-39.4 88.9-88 88.9s-88-39.4-88-88.9zm88-56c-30.9 0-56 26-56 56 0 31.8 25.1 56 56 56s56-24.2 56-56c0-30-25.1-56-56-56zM65.67 230.6l-40.33-36.8c-11.12-10.1-13.68-26.6-6.16-39.6l30.24-52.4c7.52-13.02 23.09-19.05 37.42-14.48l51.96 16.58c13.4-10.34 28.2-18.94 44-25.47l11.7-53.27C197.7 10.47 210.7 0 225.8 0h60.4c15.1 0 28.1 10.47 31.3 25.16l11.7 53.27c14.9 6.53 30.6 15.13 44 25.47l52-16.58c14.3-4.57 29.9 1.46 37.4 14.48l30.2 52.4c7.5 13 5 29.5-6.1 39.6l-40.4 36.8c1.1 8.3 1.7 16.8 1.7 24.5 0 9.5-.6 18-1.7 26.3l40.4 36.8c11.1 10.1 13.6 26.6 6.1 39.6l-30.2 52.4c-7.5 13-23.1 19-37.4 14.5l-52-16.6c-13.4 10.3-29.1 18.9-44 25.5l-11.7 53.2c-3.2 14.7-16.2 25.2-31.3 25.2h-60.4c-15.1 0-28.1-10.5-31.3-25.2l-11.7-53.2c-15.8-6.6-30.6-15.2-44-25.5l-51.96 16.6c-14.33 4.5-29.9-1.5-37.42-14.5l-30.24-52.4c-7.52-13-4.96-29.5 6.16-39.6l40.33-36.8c-1.1-8.3-1.67-16.8-1.67-26.3 0-7.7.57-16.2 1.67-24.5zm92.73-101.4-13.3 10.3-67.97-21.7-30.24 52.4 52.69 48-2.19 16.6c-.92 6.9-1.39 14-1.39 20.3 0 8.1.47 15.2 1.39 22.1l2.19 16.6-52.69 48 30.24 52.4 67.97-21.7 13.3 10.3c11.1 8.6 23.5 15.8 36.6 20.3l15.5 7.3 15.3 69.6h60.4l15.3-69.6 14.6-7.3c14-4.5 26.4-11.7 37.5-20.3l13.3-10.3 68 21.7 30.2-52.4-52.7-48 2.2-16.6c.9-6.9 1.4-14 1.4-21.2 0-7.2-.5-14.3-1.4-21.2l-2.2-16.6 52.7-48-30.2-52.4-68 21.7-13.3-10.3c-11.1-8.6-23.5-15.8-37.5-21.2l-14.6-6.4L286.2 32h-60.4l-15.3 69.6L195 108c-13.1 5.4-25.5 12.6-36.6 21.2z"
|
|
38
|
-
})
|
|
39
|
-
});
|
|
26
|
+
} from "./index-wqc43mw0.mjs";
|
|
40
27
|
|
|
41
28
|
// src/components/Transcription/caption-output-name.ts
|
|
42
29
|
var getDefaultCaptionOutputName = (src, displayName = "captions") => {
|
|
@@ -52,7 +39,7 @@ import { BrowserSafeApis } from "@remotion/renderer/client";
|
|
|
52
39
|
|
|
53
40
|
// src/components/RenderModal/CliCopyButton.tsx
|
|
54
41
|
import { useCallback, useMemo, useState } from "react";
|
|
55
|
-
import { jsx
|
|
42
|
+
import { jsx } from "react/jsx-runtime";
|
|
56
43
|
var svgStyle = {
|
|
57
44
|
width: 16,
|
|
58
45
|
height: 16,
|
|
@@ -75,7 +62,7 @@ var CliCopyButton = ({
|
|
|
75
62
|
const fillColor = useMemo(() => {
|
|
76
63
|
return hovered ? WHITE : LIGHT_TEXT;
|
|
77
64
|
}, [hovered]);
|
|
78
|
-
const copyIcon = /* @__PURE__ */
|
|
65
|
+
const copyIcon = /* @__PURE__ */ jsx(CopyIcon, {
|
|
79
66
|
copied,
|
|
80
67
|
color: fillColor,
|
|
81
68
|
style: svgStyle
|
|
@@ -86,7 +73,7 @@ var CliCopyButton = ({
|
|
|
86
73
|
const onPointerLeave = useCallback(() => {
|
|
87
74
|
setHovered(false);
|
|
88
75
|
}, []);
|
|
89
|
-
return /* @__PURE__ */
|
|
76
|
+
return /* @__PURE__ */ jsx("button", {
|
|
90
77
|
type: "button",
|
|
91
78
|
onPointerEnter,
|
|
92
79
|
onPointerLeave,
|
|
@@ -101,7 +88,7 @@ var CliCopyButton = ({
|
|
|
101
88
|
};
|
|
102
89
|
|
|
103
90
|
// src/components/RenderModal/OptionExplainer.tsx
|
|
104
|
-
import { jsx as
|
|
91
|
+
import { jsx as jsx2, jsxs, Fragment } from "react/jsx-runtime";
|
|
105
92
|
var container = {
|
|
106
93
|
fontSize: 14,
|
|
107
94
|
paddingTop: 10,
|
|
@@ -168,16 +155,16 @@ var OptionExplainer = ({
|
|
|
168
155
|
children: [
|
|
169
156
|
/* @__PURE__ */ jsxs("div", {
|
|
170
157
|
children: [
|
|
171
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
172
159
|
style: title,
|
|
173
160
|
children: option.name
|
|
174
161
|
}),
|
|
175
162
|
option.docLink ? /* @__PURE__ */ jsxs(Fragment, {
|
|
176
163
|
children: [
|
|
177
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ jsx2(Spacing, {
|
|
178
165
|
x: 1
|
|
179
166
|
}),
|
|
180
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ jsx2("a", {
|
|
181
168
|
style: link,
|
|
182
169
|
href: option.docLink,
|
|
183
170
|
target: "_blank",
|
|
@@ -190,7 +177,7 @@ var OptionExplainer = ({
|
|
|
190
177
|
/* @__PURE__ */ jsxs("div", {
|
|
191
178
|
style: description,
|
|
192
179
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ jsx2("style", {
|
|
194
181
|
children: `
|
|
195
182
|
.__remotion-option-explainer-description,
|
|
196
183
|
.__remotion-option-explainer-description * {
|
|
@@ -210,7 +197,7 @@ var OptionExplainer = ({
|
|
|
210
197
|
}
|
|
211
198
|
`
|
|
212
199
|
}),
|
|
213
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ jsx2("div", {
|
|
214
201
|
className: "__remotion-option-explainer-description",
|
|
215
202
|
children: option.description("ssr")
|
|
216
203
|
})
|
|
@@ -220,12 +207,12 @@ var OptionExplainer = ({
|
|
|
220
207
|
}),
|
|
221
208
|
hasInfoRows ? /* @__PURE__ */ jsxs(Fragment, {
|
|
222
209
|
children: [
|
|
223
|
-
/* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ jsx2(Spacing, {
|
|
224
211
|
y: 0.5,
|
|
225
212
|
block: true
|
|
226
213
|
}),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ jsx2(MenuDivider, {}),
|
|
215
|
+
/* @__PURE__ */ jsx2(Spacing, {
|
|
229
216
|
y: 0.5,
|
|
230
217
|
block: true
|
|
231
218
|
}),
|
|
@@ -234,19 +221,19 @@ var OptionExplainer = ({
|
|
|
234
221
|
extraInfoRows.map((row) => /* @__PURE__ */ jsxs("div", {
|
|
235
222
|
style: infoRow,
|
|
236
223
|
children: [
|
|
237
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ jsx2("div", {
|
|
238
225
|
style: infoRowLabel,
|
|
239
226
|
children: row.label
|
|
240
227
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
228
|
+
/* @__PURE__ */ jsx2("div", {
|
|
242
229
|
style: flexSpacer
|
|
243
230
|
}),
|
|
244
|
-
/* @__PURE__ */
|
|
231
|
+
/* @__PURE__ */ jsx2("code", {
|
|
245
232
|
children: row.value
|
|
246
233
|
}),
|
|
247
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ jsx2("div", {
|
|
248
235
|
style: copyWrapper,
|
|
249
|
-
children: /* @__PURE__ */
|
|
236
|
+
children: /* @__PURE__ */ jsx2(CliCopyButton, {
|
|
250
237
|
valueToCopy: row.value
|
|
251
238
|
})
|
|
252
239
|
})
|
|
@@ -255,11 +242,11 @@ var OptionExplainer = ({
|
|
|
255
242
|
shouldShowCliFlag ? /* @__PURE__ */ jsxs("div", {
|
|
256
243
|
style: infoRow,
|
|
257
244
|
children: [
|
|
258
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ jsx2("div", {
|
|
259
246
|
style: infoRowLabel,
|
|
260
247
|
children: "CLI flag"
|
|
261
248
|
}),
|
|
262
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ jsx2("div", {
|
|
263
250
|
style: flexSpacer
|
|
264
251
|
}),
|
|
265
252
|
/* @__PURE__ */ jsxs("code", {
|
|
@@ -268,9 +255,9 @@ var OptionExplainer = ({
|
|
|
268
255
|
option.cliFlag
|
|
269
256
|
]
|
|
270
257
|
}),
|
|
271
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ jsx2("div", {
|
|
272
259
|
style: copyWrapper,
|
|
273
|
-
children: /* @__PURE__ */
|
|
260
|
+
children: /* @__PURE__ */ jsx2(CliCopyButton, {
|
|
274
261
|
valueToCopy: option.cliFlag
|
|
275
262
|
})
|
|
276
263
|
})
|
|
@@ -279,22 +266,22 @@ var OptionExplainer = ({
|
|
|
279
266
|
shouldShowApiOption ? /* @__PURE__ */ jsxs("div", {
|
|
280
267
|
style: infoRow,
|
|
281
268
|
children: [
|
|
282
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ jsx2("div", {
|
|
283
270
|
style: infoRowLabel,
|
|
284
271
|
children: "API option"
|
|
285
272
|
}),
|
|
286
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ jsx2("div", {
|
|
287
274
|
style: flexSpacer
|
|
288
275
|
}),
|
|
289
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ jsx2("code", {
|
|
290
277
|
children: option.ssrName
|
|
291
278
|
}),
|
|
292
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ jsx2(Spacing, {
|
|
293
280
|
x: 3.75
|
|
294
281
|
})
|
|
295
282
|
]
|
|
296
283
|
}) : null,
|
|
297
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ jsx2("div", {
|
|
298
285
|
style: infoRow
|
|
299
286
|
})
|
|
300
287
|
]
|
|
@@ -306,12 +293,12 @@ var OptionExplainer = ({
|
|
|
306
293
|
};
|
|
307
294
|
|
|
308
295
|
// src/components/RenderModal/OptionExplainerBubble.tsx
|
|
309
|
-
import { jsx as
|
|
296
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
310
297
|
var OptionExplainerBubble = ({ id, extraInfoRows, showApiOption, showCliFlag }) => {
|
|
311
298
|
const option = BrowserSafeApis.options[id];
|
|
312
|
-
return /* @__PURE__ */
|
|
299
|
+
return /* @__PURE__ */ jsx3(InfoBubble, {
|
|
313
300
|
title: "Learn more about this option",
|
|
314
|
-
children: /* @__PURE__ */
|
|
301
|
+
children: /* @__PURE__ */ jsx3(OptionExplainer, {
|
|
315
302
|
extraInfoRows,
|
|
316
303
|
option,
|
|
317
304
|
showApiOption,
|
|
@@ -320,7 +307,7 @@ var OptionExplainerBubble = ({ id, extraInfoRows, showApiOption, showCliFlag })
|
|
|
320
307
|
});
|
|
321
308
|
};
|
|
322
309
|
var WebRendererOptionExplainerBubble = ({ id, apiName }) => {
|
|
323
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ jsx3(OptionExplainerBubble, {
|
|
324
311
|
extraInfoRows: [{ label: "API option", value: apiName }],
|
|
325
312
|
id,
|
|
326
313
|
showApiOption: false,
|
|
@@ -334,9 +321,9 @@ var WebRendererCustomOptionExplainerBubble = ({ apiName, description: descriptio
|
|
|
334
321
|
name,
|
|
335
322
|
ssrName: null
|
|
336
323
|
};
|
|
337
|
-
return /* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ jsx3(InfoBubble, {
|
|
338
325
|
title: "Learn more about this option",
|
|
339
|
-
children: /* @__PURE__ */
|
|
326
|
+
children: /* @__PURE__ */ jsx3(OptionExplainer, {
|
|
340
327
|
extraInfoRows: [{ label: "API option", value: apiName }],
|
|
341
328
|
option,
|
|
342
329
|
showApiOption: false,
|
|
@@ -346,7 +333,7 @@ var WebRendererCustomOptionExplainerBubble = ({ apiName, description: descriptio
|
|
|
346
333
|
};
|
|
347
334
|
|
|
348
335
|
// src/components/RenderModal/NumberSetting.tsx
|
|
349
|
-
import { jsx as
|
|
336
|
+
import { jsx as jsx4, jsxs as jsxs2, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
350
337
|
var NumberSetting = ({ name, value, step, hint, onValueChanged, max, min, formatter }) => {
|
|
351
338
|
const onTextChanged = useCallback2((e) => {
|
|
352
339
|
onValueChanged((q) => {
|
|
@@ -369,12 +356,12 @@ var NumberSetting = ({ name, value, step, hint, onValueChanged, max, min, format
|
|
|
369
356
|
name,
|
|
370
357
|
hint ? /* @__PURE__ */ jsxs2(Fragment2, {
|
|
371
358
|
children: [
|
|
372
|
-
/* @__PURE__ */
|
|
359
|
+
/* @__PURE__ */ jsx4(Spacing, {
|
|
373
360
|
x: 0.5
|
|
374
361
|
}),
|
|
375
|
-
typeof hint === "string" ? /* @__PURE__ */
|
|
362
|
+
typeof hint === "string" ? /* @__PURE__ */ jsx4(OptionExplainerBubble, {
|
|
376
363
|
id: hint
|
|
377
|
-
}) : /* @__PURE__ */
|
|
364
|
+
}) : /* @__PURE__ */ jsx4(InfoBubble, {
|
|
378
365
|
title: hint.title,
|
|
379
366
|
children: hint.content
|
|
380
367
|
})
|
|
@@ -382,10 +369,10 @@ var NumberSetting = ({ name, value, step, hint, onValueChanged, max, min, format
|
|
|
382
369
|
}) : null
|
|
383
370
|
]
|
|
384
371
|
}),
|
|
385
|
-
/* @__PURE__ */
|
|
372
|
+
/* @__PURE__ */ jsx4("div", {
|
|
386
373
|
style: rightRow,
|
|
387
|
-
children: /* @__PURE__ */
|
|
388
|
-
children: /* @__PURE__ */
|
|
374
|
+
children: /* @__PURE__ */ jsx4(RightAlignInput, {
|
|
375
|
+
children: /* @__PURE__ */ jsx4(InputDragger, {
|
|
389
376
|
value,
|
|
390
377
|
name: name.toLowerCase(),
|
|
391
378
|
"aria-label": `${name}: ${formatter ? formatter(value) : value}`,
|
|
@@ -405,4 +392,4 @@ var NumberSetting = ({ name, value, step, hint, onValueChanged, max, min, format
|
|
|
405
392
|
});
|
|
406
393
|
};
|
|
407
394
|
|
|
408
|
-
export {
|
|
395
|
+
export { getDefaultCaptionOutputName, validateCaptionOutputName, OptionExplainerBubble, WebRendererOptionExplainerBubble, WebRendererCustomOptionExplainerBubble, NumberSetting };
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
play,
|
|
4
4
|
seek,
|
|
5
5
|
shutDownStudio
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-5ycb9e9q.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CodingAgentIcon,
|
|
9
9
|
DEFAULT_PROPS_PATH_ACTIVE_CLASSNAME,
|
|
@@ -21,14 +21,13 @@ import {
|
|
|
21
21
|
visualControlRef,
|
|
22
22
|
visualControlStore,
|
|
23
23
|
watchPublicFolder
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-r1gr3j3a.mjs";
|
|
24
|
+
} from "./index-s6qya2gg.mjs";
|
|
26
25
|
import {
|
|
27
26
|
getBrowserStudioOperations,
|
|
28
27
|
writeStaticFile
|
|
29
|
-
} from "./index-
|
|
28
|
+
} from "./index-dfy1t576.mjs";
|
|
30
29
|
import"./index-5zrb1ft4.mjs";
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-wqc43mw0.mjs";
|
|
32
31
|
import {
|
|
33
32
|
__require,
|
|
34
33
|
__toESM
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Studio
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
3
|
+
} from "./index-dpyss74p.mjs";
|
|
4
|
+
import"./index-xac20sv4.mjs";
|
|
5
|
+
import"./index-c2wabcdt.mjs";
|
|
6
|
+
import"./index-x6r9bn12.mjs";
|
|
7
|
+
import"./index-dh3zk2hv.mjs";
|
|
8
|
+
import"./index-hqxc6tzp.mjs";
|
|
9
|
+
import"./index-5ycb9e9q.mjs";
|
|
10
|
+
import"./index-s6qya2gg.mjs";
|
|
11
|
+
import"./index-dfy1t576.mjs";
|
|
12
|
+
import"./index-t7tbt980.mjs";
|
|
13
|
+
import"./index-890dd9b3.mjs";
|
|
14
|
+
import"./index-qve7mdfp.mjs";
|
|
15
15
|
import"./index-5zrb1ft4.mjs";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-wqc43mw0.mjs";
|
|
17
17
|
import"./index-rcv7qkt5.mjs";
|
|
18
18
|
|
|
19
19
|
// src/internals.ts
|
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
markErrorMessageAsLoggedByServer,
|
|
6
6
|
setErrorsRef,
|
|
7
7
|
startReportingRuntimeErrors
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
8
|
+
} from "./index-dpyss74p.mjs";
|
|
9
|
+
import"./index-xac20sv4.mjs";
|
|
10
|
+
import"./index-c2wabcdt.mjs";
|
|
11
11
|
import {
|
|
12
12
|
reloadUrl,
|
|
13
13
|
subscribeToPreviewServerEvents
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
} from "./index-x6r9bn12.mjs";
|
|
15
|
+
import"./index-dh3zk2hv.mjs";
|
|
16
|
+
import"./index-hqxc6tzp.mjs";
|
|
17
|
+
import"./index-5ycb9e9q.mjs";
|
|
18
|
+
import"./index-s6qya2gg.mjs";
|
|
19
|
+
import"./index-dfy1t576.mjs";
|
|
20
|
+
import {
|
|
21
|
+
studioCssVariables
|
|
22
|
+
} from "./index-t7tbt980.mjs";
|
|
23
|
+
import"./index-890dd9b3.mjs";
|
|
24
|
+
import"./index-qve7mdfp.mjs";
|
|
23
25
|
import"./index-5zrb1ft4.mjs";
|
|
24
26
|
import {
|
|
25
27
|
BACKGROUND_HEX,
|
|
26
|
-
HOT_MIDDLEWARE_ERROR_STYLE,
|
|
27
|
-
HOT_MIDDLEWARE_WARNING_STYLE,
|
|
28
28
|
WHITE
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-wqc43mw0.mjs";
|
|
30
30
|
import"./index-rcv7qkt5.mjs";
|
|
31
31
|
|
|
32
32
|
// src/previewEntry.tsx
|
|
@@ -328,6 +328,8 @@ var processUpdate = function(hash, moduleMap, options) {
|
|
|
328
328
|
};
|
|
329
329
|
|
|
330
330
|
// src/hot-middleware-client/client.ts
|
|
331
|
+
var HOT_MIDDLEWARE_ERROR_STYLE = "color: #ff0000;";
|
|
332
|
+
var HOT_MIDDLEWARE_WARNING_STYLE = "color: #999933;";
|
|
331
333
|
function createReporter() {
|
|
332
334
|
const styles = {
|
|
333
335
|
errors: HOT_MIDDLEWARE_ERROR_STYLE,
|
|
@@ -438,6 +440,7 @@ var enableHotMiddleware = () => {
|
|
|
438
440
|
// src/previewEntry.tsx
|
|
439
441
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
440
442
|
installFiberCommitOrderObserver(window);
|
|
443
|
+
Internals3.CSSUtils.injectCSS(studioCssVariables);
|
|
441
444
|
Internals3.CSSUtils.injectCSS(Internals3.CSSUtils.makeDefaultPreviewCSS(null, BACKGROUND_HEX));
|
|
442
445
|
if (!window.__remotionOverlayStarted) {
|
|
443
446
|
window.__remotionOverlayStarted = true;
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
studioCssVariables
|
|
3
|
+
} from "./index-t7tbt980.mjs";
|
|
1
4
|
import {
|
|
2
5
|
BACKGROUND_HEX,
|
|
3
6
|
TRANSPARENT,
|
|
4
7
|
WHITE
|
|
5
|
-
} from "./index-
|
|
8
|
+
} from "./index-wqc43mw0.mjs";
|
|
6
9
|
import {
|
|
7
10
|
__require,
|
|
8
11
|
__toESM
|
|
@@ -30,6 +33,7 @@ var setBundleMode = (state) => {
|
|
|
30
33
|
var getBundleMode = () => {
|
|
31
34
|
return currentBundleMode;
|
|
32
35
|
};
|
|
36
|
+
Internals.CSSUtils.injectCSS(studioCssVariables);
|
|
33
37
|
Internals.CSSUtils.injectCSS(Internals.CSSUtils.makeDefaultPreviewCSS(null, BACKGROUND_HEX));
|
|
34
38
|
var getCanSerializeDefaultProps = (object) => {
|
|
35
39
|
try {
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const calculateTimeline: ({ sequences, overrideIdsToNodePaths, compositions, }: {
|
|
2
|
+
sequences: import("remotion").TSequence[];
|
|
3
|
+
overrideIdsToNodePaths: import("remotion").OverrideIdToNodePaths;
|
|
4
|
+
compositions?: readonly import("remotion").AnyComposition[] | undefined;
|
|
5
|
+
}) => import("@remotion/canvas").TimelineTrackData[];
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.calculateTimeline = void 0;
|
|
4
4
|
const canvas_1 = require("@remotion/canvas");
|
|
5
|
-
|
|
5
|
+
({ calculateTimeline: exports.calculateTimeline } = canvas_1.CanvasInternals);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const getCheckerboardBackgroundSize: (size: number) => string;
|
|
2
2
|
export declare const getCheckerboardBackgroundPos: (size: number) => string;
|
|
3
|
-
export declare const checkerboardBackgroundColor: (checkerboard: boolean) => "black" | "white";
|
|
4
|
-
export declare const checkerboardBackgroundImage: (checkerboard: boolean) => "\n linear-gradient(\n 45deg,\n
|
|
3
|
+
export declare const checkerboardBackgroundColor: (checkerboard: boolean) => "var(--remotion-studio-black)" | "var(--remotion-studio-white)";
|
|
4
|
+
export declare const checkerboardBackgroundImage: (checkerboard: boolean) => "\n linear-gradient(\n 45deg,\n var(--remotion-studio-black-alpha-10) 25%,\n var(--remotion-studio-transparent) 25%\n ),\n linear-gradient(135deg, var(--remotion-studio-black-alpha-10) 25%, var(--remotion-studio-transparent) 25%),\n linear-gradient(45deg, var(--remotion-studio-transparent) 75%, var(--remotion-studio-black-alpha-10) 75%),\n linear-gradient(135deg, var(--remotion-studio-transparent) 75%, var(--remotion-studio-black-alpha-10) 75%)\n " | undefined;
|