@hyperframes/studio 0.8.108 → 0.8.110
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/assets/{hyperframes-player-BakGew45.js → hyperframes-player-c6WR3RsF.js} +1 -1
- package/dist/assets/{index-C5dyUHwk.js → index-BJpQzV6h.js} +1 -1
- package/dist/assets/{index-CPe7d_wO.js → index-C0KfbPAo.js} +1 -1
- package/dist/assets/{index-ncVJ5IVu.css → index-C7apTvpr.css} +1 -1
- package/dist/assets/{index-C842tcVa.js → index-Co6W8IVk.js} +211 -208
- package/dist/{chunk-NCUBAVGK.js → chunk-5VSXRGIX.js} +4 -4
- package/dist/chunk-5VSXRGIX.js.map +1 -0
- package/dist/{chunk-AOWVEVEU.js → chunk-QUXZVHOJ.js} +8 -2
- package/dist/chunk-QUXZVHOJ.js.map +1 -0
- package/dist/index.d.ts +64 -9
- package/dist/index.html +2 -2
- package/dist/index.js +8216 -6268
- package/dist/index.js.map +1 -1
- package/dist/player.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/ui.js +1 -1
- package/package.json +8 -8
- package/src/App.tsx +7 -11
- package/src/components/EditorShell.tsx +4 -0
- package/src/components/LinkedSelectionToggle.tsx +73 -0
- package/src/components/TimelineToolbar.test.tsx +31 -0
- package/src/components/TimelineToolbar.tsx +2 -0
- package/src/components/editor/DomEditCropHandles.test.tsx +51 -22
- package/src/components/editor/DomEditCropHandles.tsx +2 -1
- package/src/components/editor/InlineTextCaret.test.tsx +150 -0
- package/src/components/editor/InlineTextCaret.tsx +211 -0
- package/src/components/editor/InlineTextToolbar.test.tsx +34 -31
- package/src/components/editor/InlineTextToolbar.tsx +7 -5
- package/src/components/editor/PropertyPanelFlat.tsx +4 -1
- package/src/components/editor/anchoredResizeCommitFeedsOffset.test.ts +1 -0
- package/src/components/editor/commitPreflightHandles.test.tsx +4 -1
- package/src/components/editor/domEditInlineText.ts +6 -4
- package/src/components/editor/domEditInlineTextElement.test.ts +7 -0
- package/src/components/editor/domEditOverlayGestures.ts +10 -0
- package/src/components/editor/domEditOverlayStartGesture.test.ts +1 -0
- package/src/components/editor/domEditOverlayStartGesture.ts +2 -0
- package/src/components/editor/gestureHoldsPreviewReload.test.tsx +39 -2
- package/src/components/editor/linkedSpeedEdits.test.tsx +164 -0
- package/src/components/editor/linkedSpeedEdits.ts +94 -0
- package/src/components/editor/marqueeCommit.test.tsx +31 -6
- package/src/components/editor/marqueeCommit.ts +16 -8
- package/src/components/editor/mediaAudioEdits.test.ts +20 -4
- package/src/components/editor/mediaAudioEdits.ts +27 -14
- package/src/components/editor/mediaLinkEdits.test.ts +334 -0
- package/src/components/editor/mediaLinkEdits.ts +303 -0
- package/src/components/editor/previewReadOnly.overlay.test.tsx +8 -1
- package/src/components/editor/propertyPanelFlatMediaSection.test.tsx +4 -3
- package/src/components/editor/propertyPanelMediaSection.tsx +6 -1
- package/src/components/editor/shiftDragAxisLock.test.tsx +17 -3
- package/src/components/editor/useDomEditOverlayGestures.ts +3 -0
- package/src/components/editor/useInlineTextEditing.tsx +11 -4
- package/src/components/editor/useVolumeAutomation.ts +29 -7
- package/src/components/nle/useTimelineEditCallbacks.ts +10 -0
- package/src/components/ui/Menu.test.tsx +3 -22
- package/src/components/ui/Menu.tsx +2 -2
- package/src/components/ui/Popover.tsx +2 -2
- package/src/components/ui/Select.tsx +2 -2
- package/src/components/ui/Tooltip.tsx +2 -2
- package/src/components/ui/mountHost.testHelpers.ts +8 -0
- package/src/components/ui/valueControls.test.tsx +2 -21
- package/src/contexts/TimelineEditContext.tsx +4 -0
- package/src/editorGesturesExports.test.tsx +1 -0
- package/src/hooks/appHotkeysDispatch.ts +11 -1
- package/src/hooks/linkShortcuts.test.ts +70 -0
- package/src/hooks/linkShortcuts.ts +41 -0
- package/src/hooks/timelineElementsAttribute.test.ts +95 -0
- package/src/hooks/timelineElementsAttribute.ts +113 -0
- package/src/hooks/timelineLinkEditPlan.test.ts +141 -0
- package/src/hooks/timelineLinkEditPlan.ts +128 -0
- package/src/hooks/timelineMoveAdapter.ts +13 -0
- package/src/hooks/timelineTimingSync.test.ts +59 -0
- package/src/hooks/timelineTimingSync.ts +22 -3
- package/src/hooks/useAppHotkeys.test.ts +34 -0
- package/src/hooks/useAppHotkeys.ts +9 -0
- package/src/hooks/useDomGeometryCommits.test.tsx +8 -1
- package/src/hooks/useGsapScriptCommits.test.tsx +84 -2
- package/src/hooks/useGsapScriptCommits.ts +23 -3
- package/src/hooks/usePreviewPersistence.history.test.tsx +76 -0
- package/src/hooks/usePreviewPersistence.ts +15 -0
- package/src/hooks/useRazorSplit.test.tsx +48 -0
- package/src/hooks/useRazorSplit.ts +12 -1
- package/src/hooks/useRenderClipContent.test.ts +6 -4
- package/src/hooks/useRenderClipContent.ts +9 -8
- package/src/hooks/useTimelineDeleteOps.ts +10 -4
- package/src/hooks/useTimelineEditGuard.ts +54 -0
- package/src/hooks/useTimelineEditing.ts +49 -55
- package/src/hooks/useTimelineLinkEditing.test.tsx +124 -0
- package/src/hooks/useTimelineLinkEditing.ts +158 -0
- package/src/index.ts +5 -0
- package/src/player/components/AudioGainDialog.test.tsx +133 -0
- package/src/player/components/AudioGainDialog.tsx +226 -0
- package/src/player/components/AudioWaveform.test.tsx +30 -3
- package/src/player/components/AudioWaveform.tsx +6 -7
- package/src/player/components/ClipBadges.test.tsx +32 -8
- package/src/player/components/ClipBadges.tsx +37 -31
- package/src/player/components/ClipContextMenu.groups.test.tsx +102 -0
- package/src/player/components/ClipContextMenu.test.tsx +10 -4
- package/src/player/components/ClipContextMenu.tsx +115 -90
- package/src/player/components/ClipPeakMarks.tsx +2 -14
- package/src/player/components/OutOfSyncBadge.test.tsx +91 -0
- package/src/player/components/OutOfSyncBadge.tsx +119 -0
- package/src/player/components/Timeline.test.ts +15 -0
- package/src/player/components/TimelineClip.test.tsx +58 -0
- package/src/player/components/TimelineClip.tsx +9 -2
- package/src/player/components/TimelineLanes.test.tsx +45 -2
- package/src/player/components/TimelineLanes.tsx +0 -2
- package/src/player/components/TimelineOverlays.tsx +2 -0
- package/src/player/components/audioClipLink.test.ts +288 -31
- package/src/player/components/audioClipLink.ts +151 -27
- package/src/player/components/audioGainApply.test.ts +87 -0
- package/src/player/components/audioGainApply.ts +57 -0
- package/src/player/components/audioGainDialogStore.ts +36 -0
- package/src/player/components/audioGainPlan.test.ts +82 -0
- package/src/player/components/audioGainPlan.ts +53 -0
- package/src/player/components/clipMenuAudioItems.noShell.test.tsx +86 -0
- package/src/player/components/clipMenuAudioItems.test.tsx +59 -50
- package/src/player/components/clipMenuAudioItems.tsx +44 -57
- package/src/player/components/clipMenuDuck.ts +5 -0
- package/src/player/components/clipMenuLinkItems.test.ts +174 -0
- package/src/player/components/clipMenuLinkItems.tsx +166 -0
- package/src/player/components/clipMenuToolItems.test.tsx +130 -4
- package/src/player/components/clipMenuToolItems.tsx +80 -9
- package/src/player/components/clipPeakMap.ts +46 -0
- package/src/player/components/clipPeakRuns.test.ts +14 -1
- package/src/player/components/clipPeakRuns.ts +11 -0
- package/src/player/components/clipSync.test.ts +67 -0
- package/src/player/components/clipSync.ts +80 -0
- package/src/player/components/clipToolAttrs.test.ts +57 -41
- package/src/player/components/clipToolAttrs.ts +48 -45
- package/src/player/components/linkLabelColor.test.ts +20 -0
- package/src/player/components/linkLabelColor.ts +24 -0
- package/src/player/components/studioShortcuts.ts +2 -0
- package/src/player/components/timelineCallbacks.ts +17 -0
- package/src/player/components/timelineClipDragGestureLifecycle.ts +9 -0
- package/src/player/components/timelineClipDragPreview.test.ts +96 -0
- package/src/player/components/timelineClipDragPreview.ts +32 -7
- package/src/player/components/timelineClipDragTypes.ts +2 -0
- package/src/player/components/timelineClipGestureHandlers.ts +29 -31
- package/src/player/components/timelineEditing.test.ts +0 -13
- package/src/player/components/timelineEditing.ts +0 -11
- package/src/player/components/timelineLaneProps.ts +0 -5
- package/src/player/components/timelineLinkSelection.ts +41 -0
- package/src/player/components/timelineViewportGeometry.ts +3 -0
- package/src/player/components/useClipToolState.ts +0 -5
- package/src/player/components/useTimelineClipContextMenu.ts +2 -1
- package/src/player/components/useTimelineClipDrag.ts +28 -0
- package/src/player/components/useTimelineOverlaysState.ts +0 -3
- package/src/player/components/useTimelineProviderState.tsx +3 -2
- package/src/player/components/useTimelineRangeSelection.ts +0 -14
- package/src/player/components/useTimelineRowVirtualization.ts +2 -1
- package/src/player/hooks/timelinePlayerSync.test.ts +6 -0
- package/src/player/hooks/timelinePlayerSync.ts +1 -0
- package/src/player/hooks/useTimelineSyncCallbacks.ts +4 -1
- package/src/player/lib/timelineDOM.test.ts +31 -0
- package/src/player/lib/timelineDOM.ts +13 -0
- package/src/player/store/timelineElement.ts +12 -0
- package/src/styles/components.css +27 -11
- package/src/styles/theme.css +0 -1
- package/src/utils/gsapSoftReload.test.ts +238 -2
- package/src/utils/gsapSoftReload.ts +89 -74
- package/src/utils/gsapUndoRestore.test.ts +4 -3
- package/src/utils/gsapUndoRestore.ts +15 -0
- package/src/utils/linkedClipPreferences.ts +34 -0
- package/src/utils/sdkCutover.linkedTiming.test.ts +52 -0
- package/src/utils/softReloadTargets.ts +128 -0
- package/src/utils/studioUiPreferences.ts +8 -0
- package/src/utils/typingTarget.test.ts +8 -0
- package/src/utils/typingTarget.ts +1 -0
- package/dist/chunk-AOWVEVEU.js.map +0 -1
- package/dist/chunk-NCUBAVGK.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -374,6 +374,9 @@ interface TimelineElement {
|
|
|
374
374
|
/** The owning group's serialized `data-fx-chain`, when set — resolved once per parse. */
|
|
375
375
|
audioGroupFxChain?: string;
|
|
376
376
|
audioGroupAutomation?: string;
|
|
377
|
+
link?: string;
|
|
378
|
+
compositionScope?: string;
|
|
379
|
+
syncOrigin?: string;
|
|
377
380
|
/**
|
|
378
381
|
* Master start of the composition this row runs in, which its tweens and its
|
|
379
382
|
* `data-start` are local to; 0 at the root. Writes go through toAuthoredStart.
|
|
@@ -1058,6 +1061,28 @@ interface TimelineDropCallbacks {
|
|
|
1058
1061
|
track: number;
|
|
1059
1062
|
}) => Promise<void> | void;
|
|
1060
1063
|
}
|
|
1064
|
+
type TimelineLinkEdit = {
|
|
1065
|
+
kind: "unlink";
|
|
1066
|
+
elements: readonly TimelineElement[];
|
|
1067
|
+
} | {
|
|
1068
|
+
kind: "link";
|
|
1069
|
+
elements: readonly TimelineElement[];
|
|
1070
|
+
} | {
|
|
1071
|
+
kind: "detach";
|
|
1072
|
+
element: TimelineElement;
|
|
1073
|
+
} | {
|
|
1074
|
+
kind: "merge";
|
|
1075
|
+
video: TimelineElement;
|
|
1076
|
+
audio: TimelineElement;
|
|
1077
|
+
} | {
|
|
1078
|
+
kind: "move-into-sync";
|
|
1079
|
+
element: TimelineElement;
|
|
1080
|
+
start: number;
|
|
1081
|
+
} | {
|
|
1082
|
+
kind: "slip-into-sync";
|
|
1083
|
+
element: TimelineElement;
|
|
1084
|
+
mediaStart: number;
|
|
1085
|
+
};
|
|
1061
1086
|
interface TimelineEditCallbacks {
|
|
1062
1087
|
onMoveElement?: (element: TimelineElement, updates: Pick<TimelineElement, "start" | "track">) => Promise<void> | void;
|
|
1063
1088
|
/** Atomic multi-clip move (single undo) for main-track ripple + track-insert.
|
|
@@ -1102,11 +1127,19 @@ interface TimelineEditCallbacks {
|
|
|
1102
1127
|
onSetElementAttributeLive?: (element: TimelineElement, attr: string, value: string | null) => void;
|
|
1103
1128
|
onRevertElementAttributeLive?: (element: TimelineElement, attr: string) => void;
|
|
1104
1129
|
onSetElementAttributeQuiet?: (element: TimelineElement, attr: string, value: string | null, label: string) => Promise<TimelineEditOutcome | void>;
|
|
1130
|
+
/** One attribute on several clips, saved as one undo step. */
|
|
1131
|
+
onSetElementsAttributeQuiet?: (edits: ReadonlyArray<{
|
|
1132
|
+
element: TimelineElement;
|
|
1133
|
+
value: string | null;
|
|
1134
|
+
}>, attr: string, label: string) => Promise<TimelineEditOutcome | void>;
|
|
1105
1135
|
onBlockedEditAttempt?: (element: TimelineElement, intent: BlockedTimelineEditIntent) => void;
|
|
1136
|
+
onLinkEdit?: (edit: TimelineLinkEdit) => Promise<void> | void;
|
|
1137
|
+
onDeleteElementOnly?: (element: TimelineElement) => Promise<void> | void;
|
|
1106
1138
|
onSplitElement?: (element: TimelineElement, splitTime: number) => Promise<void> | void;
|
|
1107
1139
|
onRazorSplit?: (element: TimelineElement, splitTime: number) => Promise<void> | void;
|
|
1108
1140
|
onRazorSplitAll?: (splitTime: number) => Promise<void> | void;
|
|
1109
1141
|
onFreezeFrame?: (element: TimelineElement, time: number) => Promise<void> | void;
|
|
1142
|
+
onNotice?: (message: string, tone?: "error" | "info") => void;
|
|
1110
1143
|
onDeleteKeyframe?: (elementId: string, keyframe: TimelineKeyframeTarget) => void;
|
|
1111
1144
|
onDeleteAllKeyframes?: (element: TimelineElement, animationId?: string) => void;
|
|
1112
1145
|
onMoveKeyframeToPlayhead?: (element: TimelineElement, keyframe: TimelineKeyframeTarget) => void;
|
|
@@ -1303,6 +1336,7 @@ interface DraggedClipState {
|
|
|
1303
1336
|
snapTime: number | null;
|
|
1304
1337
|
snapType: TimelineSnapType | null;
|
|
1305
1338
|
started: boolean;
|
|
1339
|
+
altKey?: boolean;
|
|
1306
1340
|
}
|
|
1307
1341
|
interface ResizingClipState {
|
|
1308
1342
|
/** Pointer captured by the stable viewport coordinator for this gesture. */
|
|
@@ -1332,6 +1366,7 @@ interface ResizingClipState {
|
|
|
1332
1366
|
playbackStart?: number;
|
|
1333
1367
|
}[];
|
|
1334
1368
|
started: boolean;
|
|
1369
|
+
altKey?: boolean;
|
|
1335
1370
|
}
|
|
1336
1371
|
interface BlockedClipState {
|
|
1337
1372
|
pointerId: number;
|
|
@@ -1492,11 +1527,6 @@ interface TimelineLaneBaseProps {
|
|
|
1492
1527
|
setResizingClip: (v: ResizingClipState | null) => void;
|
|
1493
1528
|
setDraggedClip: (v: DraggedClipState | null) => void;
|
|
1494
1529
|
setSelectedElementId: (id: string | null) => void;
|
|
1495
|
-
shiftClickClipRef: React.RefObject<{
|
|
1496
|
-
element: TimelineElement;
|
|
1497
|
-
anchorX: number;
|
|
1498
|
-
anchorY: number;
|
|
1499
|
-
} | null>;
|
|
1500
1530
|
getPreviewElement: (element: TimelineElement) => TimelineElement;
|
|
1501
1531
|
getTrackStyle: (tag: string) => TrackVisualStyle;
|
|
1502
1532
|
keyframeCache?: Map<string, KeyframeCacheEntry>;
|
|
@@ -1910,6 +1940,8 @@ interface TimelineEditCallbackDeps {
|
|
|
1910
1940
|
handleRazorSplit: (element: TimelineElement, splitTime: number) => Promise<void> | void;
|
|
1911
1941
|
handleRazorSplitAll: (splitTime: number) => Promise<void> | void;
|
|
1912
1942
|
handleFreezeFrame?: (element: TimelineElement, time: number) => Promise<void> | void;
|
|
1943
|
+
handleLinkEdit?: TimelineEditCallbacks["onLinkEdit"];
|
|
1944
|
+
handleTimelineElementDeleteOnly?: TimelineEditCallbacks["onDeleteElementOnly"];
|
|
1913
1945
|
/** C1's ungrouped-track FX pointer — same auto-grouping write B6's carve uses. */
|
|
1914
1946
|
handleGroupClips?: (clipIds: readonly string[], groupId: string, groupLabel?: string) => Promise<void>;
|
|
1915
1947
|
/** C1's single-clip FX write, addressed by the clip itself. */
|
|
@@ -1917,6 +1949,7 @@ interface TimelineEditCallbackDeps {
|
|
|
1917
1949
|
setLive: (element: TimelineElement, attr: string, value: string | null) => void;
|
|
1918
1950
|
revertLive?: (element: TimelineElement, attr: string) => void;
|
|
1919
1951
|
setQuiet: (element: TimelineElement, attr: string, value: string | null, label: string) => Promise<TimelineEditOutcome | void>;
|
|
1952
|
+
setMany?: TimelineEditCallbacks["onSetElementsAttributeQuiet"];
|
|
1920
1953
|
};
|
|
1921
1954
|
}
|
|
1922
1955
|
|
|
@@ -1969,7 +2002,7 @@ interface EditorShellProps extends TimelineEditCallbackDeps {
|
|
|
1969
2002
|
/** Short text shown on disabled hand-edit controls while `readOnlyPreview` is set. */
|
|
1970
2003
|
readOnlyPreviewReason?: string;
|
|
1971
2004
|
}
|
|
1972
|
-
declare function EditorShell({ panels, timelineToolbar, renderClipContent, handleTimelineElementDelete, handleTimelineAssetDrop, handleTimelineBlockDrop, handleTimelineCompositionDrop, handlePreviewBlockDrop, handleTimelineFileDrop, handleTimelineElementMove, handleTimelineElementsMove, handleTimelineElementResize, handleTimelineGroupResize, handleToggleTrackHidden, setAudioGroupAttribute, handleGroupClips, setElementFxAttribute, handleBlockedTimelineEdit, handleTimelineElementSplit, handleRazorSplit, handleRazorSplitAll, handleFreezeFrame, onCopyClip, onPasteClip, onDuplicateClip, canPasteClip, clipMenuItems, setCompIdToSrc, setCompositionLoading, shouldShowMotionPath, shouldShowSelectedDomBounds, isGestureRecording, recordingState, onToggleRecording, blockPreview, gestureOverlay, readOnlyPreview, readOnlyPreviewReason, }: EditorShellProps): react_jsx_runtime.JSX.Element;
|
|
2005
|
+
declare function EditorShell({ panels, timelineToolbar, renderClipContent, handleTimelineElementDelete, handleTimelineAssetDrop, handleTimelineBlockDrop, handleTimelineCompositionDrop, handlePreviewBlockDrop, handleTimelineFileDrop, handleTimelineElementMove, handleTimelineElementsMove, handleTimelineElementResize, handleTimelineGroupResize, handleToggleTrackHidden, setAudioGroupAttribute, handleGroupClips, setElementFxAttribute, handleBlockedTimelineEdit, handleTimelineElementSplit, handleRazorSplit, handleRazorSplitAll, handleFreezeFrame, handleLinkEdit, handleTimelineElementDeleteOnly, onCopyClip, onPasteClip, onDuplicateClip, canPasteClip, clipMenuItems, setCompIdToSrc, setCompositionLoading, shouldShowMotionPath, shouldShowSelectedDomBounds, isGestureRecording, recordingState, onToggleRecording, blockPreview, gestureOverlay, readOnlyPreview, readOnlyPreviewReason, }: EditorShellProps): react_jsx_runtime.JSX.Element;
|
|
1973
2006
|
|
|
1974
2007
|
interface PreviewCompositionSize {
|
|
1975
2008
|
width: number;
|
|
@@ -2100,6 +2133,23 @@ interface DockLayoutState extends DockSnapshot {
|
|
|
2100
2133
|
}
|
|
2101
2134
|
declare const useDockLayoutStore: zustand.UseBoundStore<zustand.StoreApi<DockLayoutState>>;
|
|
2102
2135
|
|
|
2136
|
+
interface PreviewIframeState {
|
|
2137
|
+
iframe: HTMLIFrameElement | null;
|
|
2138
|
+
setIframe: (iframe: HTMLIFrameElement | null) => void;
|
|
2139
|
+
}
|
|
2140
|
+
/** The one owner of "the live preview iframe element"; a promoted reload replaces it. */
|
|
2141
|
+
declare const usePreviewIframeStore: zustand.UseBoundStore<zustand.StoreApi<PreviewIframeState>>;
|
|
2142
|
+
|
|
2143
|
+
interface AudioGainDialogState {
|
|
2144
|
+
targetKeys: readonly string[] | null;
|
|
2145
|
+
open: (keys: readonly string[]) => void;
|
|
2146
|
+
close: () => void;
|
|
2147
|
+
}
|
|
2148
|
+
/** Which clips the Audio Gain dialog (G) is open for. */
|
|
2149
|
+
declare const useAudioGainDialogStore: zustand.UseBoundStore<zustand.StoreApi<AudioGainDialogState>>;
|
|
2150
|
+
/** Open Audio Gain for the selection (or the clicked clip); false when none of it has sound. */
|
|
2151
|
+
declare function openAudioGainDialog(clicked?: TimelineElement): boolean;
|
|
2152
|
+
|
|
2103
2153
|
interface AudioWaveformProps {
|
|
2104
2154
|
audioUrl: string;
|
|
2105
2155
|
waveformUrl?: string;
|
|
@@ -2112,8 +2162,7 @@ interface AudioWaveformProps {
|
|
|
2112
2162
|
priority: ThumbnailPriority;
|
|
2113
2163
|
/** `data-hidden` or a muted audio group. Greys the pill; the clip stays. */
|
|
2114
2164
|
muted?: boolean;
|
|
2115
|
-
|
|
2116
|
-
linked?: boolean;
|
|
2165
|
+
labelInset?: number;
|
|
2117
2166
|
}
|
|
2118
2167
|
/** Bounded waveform subscriber; cache, cancellation and dedupe live in one scheduler. */
|
|
2119
2168
|
declare const AudioWaveform: react.NamedExoticComponent<AudioWaveformProps>;
|
|
@@ -2690,6 +2739,10 @@ declare function useTimelineEditing({ projectId, activeCompPath, timelineElement
|
|
|
2690
2739
|
restoreLive: (restore: LiveLaneRestore) => void;
|
|
2691
2740
|
};
|
|
2692
2741
|
setElementFxAttribute: {
|
|
2742
|
+
setMany: (edits: readonly {
|
|
2743
|
+
element: TimelineElement;
|
|
2744
|
+
value: string | null;
|
|
2745
|
+
}[], attr: string, label: string) => Promise<TimelineEditOutcome>;
|
|
2693
2746
|
setQuiet: (element: TimelineElement, attr: string, value: string | null, label: string) => Promise<TimelineEditOutcome>;
|
|
2694
2747
|
setLive: (element: TimelineElement, attr: string, value: string | null) => void;
|
|
2695
2748
|
revertLive: (element: TimelineElement, attr: string) => void;
|
|
@@ -2697,6 +2750,8 @@ declare function useTimelineEditing({ projectId, activeCompPath, timelineElement
|
|
|
2697
2750
|
};
|
|
2698
2751
|
handleTimelineElementDelete: (element: TimelineElement) => Promise<void>;
|
|
2699
2752
|
handleTimelineElementsDelete: (selection: TimelineElement[]) => Promise<void>;
|
|
2753
|
+
handleTimelineElementDeleteOnly: (element: TimelineElement) => Promise<void>;
|
|
2754
|
+
handleLinkEdit: (edit: TimelineLinkEdit) => Promise<void>;
|
|
2700
2755
|
handleTimelineElementSplit: (element: TimelineElement, splitTime: number) => Promise<void>;
|
|
2701
2756
|
handleRazorSplit: (element: TimelineElement, splitTime: number) => Promise<void>;
|
|
2702
2757
|
handleFreezeFrame: (element: TimelineElement, playhead: number) => Promise<void>;
|
|
@@ -4005,4 +4060,4 @@ declare function buildStudioTools(depsRef: {
|
|
|
4005
4060
|
readonly current: StudioAgentToolsDeps;
|
|
4006
4061
|
}): ModelContextTool[];
|
|
4007
4062
|
|
|
4008
|
-
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, AudioMeterStrip, type AudioMeterStripProps, AudioWaveform, type AudioWaveformProps, type BlockedTimelineEditIntent, type CanEditTimelineElement, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ConnectedDomEditOverlay, type ConnectedDomEditOverlayProps, DEFAULT_SHORTCUT_SECTIONS, Dock, type DockController, type DomEditCapabilities, type DomEditCommitDeclineReason, type DomEditCommitOutcome, type DomEditGroupPathOffsetCommit, DomEditOverlay, type DomEditOverlayProps, DomEditProvider, type DomEditSelection, type DomEditZOrder, type DomGeometryCommits, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FfmpegStatus, FileTree, GridOverlay, ImageThumbnail, type ImageThumbnailProps, type MarqueeGestures, type MarqueeGesturesDeps, MarqueeOverlay, type MarqueeOverlayProps, type Rect$1 as MarqueeRect, type ModelContextTool, NLEPreview, type PanelId, type PatchOperation, type PersistedRenderSettings, type PickedElement, PlayerControls, type PlayerHandle, type PlayerHandleElement, type PlayerHandleListener, type PlayerHandleTimeListener, type DomEditCompositionRect as PreviewCompositionRect, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewPromotion, PreviewReadOnlyProvider, type PreviewSnapPreferences, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, SNAP_THRESHOLD_PX, type ShortcutHint, type ShortcutSection, ShortcutsButton, type ShortcutsButtonProps, type SnapContext, type SnapEdge, type SnapGuide, SnapGuideOverlay, type SnapGuideOverlayProps, type SnapGuidesState, type Rect as SnapRect, type SnapResult, type SnapTarget, SnapToolbar, SourceEditor, type SpacingGuide, type StartRenderOptions, type StudioAgentToolsDeps, StudioApp, StudioFileConflictError, type StudioLookSnapshot, type StudioPendingEditsDrainResult, TRACK_H, type ThumbnailPriority, Timeline, TimelineClipMenu, type TimelineClipMenuItem, type TimelineClipRenderContext, type TimelineEditCallbacks, type TimelineEditOutcome, type TimelineEditPermission, TimelineEditPopover, TimelineEditProvider, type TimelineElement, TimelineEmptyStatePart, TimelineFrame, TimelineGapMenu, TimelineHistoryButtons, type TimelineHistoryButtonsProps, TimelineKeyframeMenu, TimelineLanes, TimelineOverlays, TimelinePane, type TimelinePaneProps, TimelinePlayhead, TimelineProvider, TimelineRazorGuide, TimelineRuler, TimelineShortcutHint, type TimelineTheme, type TimelineTimeRange$1 as TimelineTimeRange, TimelineToolbar, type TimelineToolbarProps, type TimelineTrackPadding, type TimelineZIndexReorderCommit, type ToolResult, type UseClipboardOptions, type UseDomEditSessionParams, type UseDomGeometryCommitOptions, type UseDomStyleCommitOptions, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UsePreviewPersistenceParams, type UseProjectFileWriterOptions, type UseRenderClipContentOptions, type UseTimelineEditingOptions, VideoThumbnail, type ZOrderAction, applyPatch, buildCompositionSnapTarget, buildGridSnapEdges, buildPickerAgentContextPreview, buildPickerAgentPrompt, buildStudioTools, collectSnapContext, collectStudioLookScene, extractSnapTargets, findElementBlock, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, liveTime, mergeStyleIntoTag, parseStyleString, persistRenderSettings, resolveDomEditSelection, resolveEquidistanceGuides, resolveGuideLineRect, resolveIframe, resolveSnapAdjustment, resolveSourceFile, snapEngagedForTravel, useAudioMetersVisible, useClipboard, useCompositionStack, useDockLayoutStore, useDomEditSelectionContext, useDomEditSession, useDomEditZOrder, useDomGeometryCommit, useDomStyleCommit, useEditHistoryActions, useElementPicker, useLivePreviewIframe, useMarqueeGestures, usePersistentEditHistory, usePlayerHandle, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewOverlayContext, usePreviewPersistence, useProjectFileWriter, useRenderClipContent, useRenderQueue, useTimelineContext, useTimelineEditing, useTimelinePlayer };
|
|
4063
|
+
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, AudioMeterStrip, type AudioMeterStripProps, AudioWaveform, type AudioWaveformProps, type BlockedTimelineEditIntent, type CanEditTimelineElement, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ConnectedDomEditOverlay, type ConnectedDomEditOverlayProps, DEFAULT_SHORTCUT_SECTIONS, Dock, type DockController, type DomEditCapabilities, type DomEditCommitDeclineReason, type DomEditCommitOutcome, type DomEditGroupPathOffsetCommit, DomEditOverlay, type DomEditOverlayProps, DomEditProvider, type DomEditSelection, type DomEditZOrder, type DomGeometryCommits, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FfmpegStatus, FileTree, GridOverlay, ImageThumbnail, type ImageThumbnailProps, type MarqueeGestures, type MarqueeGesturesDeps, MarqueeOverlay, type MarqueeOverlayProps, type Rect$1 as MarqueeRect, type ModelContextTool, NLEPreview, type PanelId, type PatchOperation, type PersistedRenderSettings, type PickedElement, PlayerControls, type PlayerHandle, type PlayerHandleElement, type PlayerHandleListener, type PlayerHandleTimeListener, type DomEditCompositionRect as PreviewCompositionRect, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewPromotion, PreviewReadOnlyProvider, type PreviewSnapPreferences, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, SNAP_THRESHOLD_PX, type ShortcutHint, type ShortcutSection, ShortcutsButton, type ShortcutsButtonProps, type SnapContext, type SnapEdge, type SnapGuide, SnapGuideOverlay, type SnapGuideOverlayProps, type SnapGuidesState, type Rect as SnapRect, type SnapResult, type SnapTarget, SnapToolbar, SourceEditor, type SpacingGuide, type StartRenderOptions, type StudioAgentToolsDeps, StudioApp, StudioFileConflictError, type StudioLookSnapshot, type StudioPendingEditsDrainResult, TRACK_H, type ThumbnailPriority, Timeline, TimelineClipMenu, type TimelineClipMenuItem, type TimelineClipRenderContext, type TimelineEditCallbacks, type TimelineEditOutcome, type TimelineEditPermission, TimelineEditPopover, TimelineEditProvider, type TimelineElement, TimelineEmptyStatePart, TimelineFrame, TimelineGapMenu, TimelineHistoryButtons, type TimelineHistoryButtonsProps, TimelineKeyframeMenu, TimelineLanes, TimelineOverlays, TimelinePane, type TimelinePaneProps, TimelinePlayhead, TimelineProvider, TimelineRazorGuide, TimelineRuler, TimelineShortcutHint, type TimelineTheme, type TimelineTimeRange$1 as TimelineTimeRange, TimelineToolbar, type TimelineToolbarProps, type TimelineTrackPadding, type TimelineZIndexReorderCommit, type ToolResult, type UseClipboardOptions, type UseDomEditSessionParams, type UseDomGeometryCommitOptions, type UseDomStyleCommitOptions, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UsePreviewPersistenceParams, type UseProjectFileWriterOptions, type UseRenderClipContentOptions, type UseTimelineEditingOptions, VideoThumbnail, type ZOrderAction, applyPatch, buildCompositionSnapTarget, buildGridSnapEdges, buildPickerAgentContextPreview, buildPickerAgentPrompt, buildStudioTools, collectSnapContext, collectStudioLookScene, extractSnapTargets, findElementBlock, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, liveTime, mergeStyleIntoTag, openAudioGainDialog, parseStyleString, persistRenderSettings, resolveDomEditSelection, resolveEquidistanceGuides, resolveGuideLineRect, resolveIframe, resolveSnapAdjustment, resolveSourceFile, snapEngagedForTravel, useAudioGainDialogStore, useAudioMetersVisible, useClipboard, useCompositionStack, useDockLayoutStore, useDomEditSelectionContext, useDomEditSession, useDomEditZOrder, useDomGeometryCommit, useDomStyleCommit, useEditHistoryActions, useElementPicker, useLivePreviewIframe, useMarqueeGestures, usePersistentEditHistory, usePlayerHandle, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewIframeStore, usePreviewOverlayContext, usePreviewPersistence, useProjectFileWriter, useRenderClipContent, useRenderQueue, useTimelineContext, useTimelineEditing, useTimelinePlayer };
|
package/dist/index.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-Co6W8IVk.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C7apTvpr.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div data-hf-id="hf-aph5" id="root"></div>
|