hyperframes 0.7.61 → 0.7.62

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.
@@ -60,6 +60,8 @@ interface ClipManifestClip {
60
60
  compositionAncestors?: string[];
61
61
  parentCompositionId: string | null;
62
62
  compositionSrc: string | null;
63
+ playbackStart?: number;
64
+ playbackRate?: number;
63
65
  assetUrl: string | null;
64
66
  }
65
67
 
@@ -82,6 +84,7 @@ interface TimelineElement {
82
84
  id: string;
83
85
  label?: string;
84
86
  key?: string;
87
+ kind?: ClipManifestClip["kind"];
85
88
  tag: string;
86
89
  start: number;
87
90
  duration: number;
@@ -139,6 +142,7 @@ interface TimelineElement {
139
142
  * the child's local (sourceFile-relative) time. Works at any nesting depth.
140
143
  */
141
144
  expandedParentStart?: number;
145
+ expandedHostKey?: string;
142
146
  }
143
147
  type ZoomMode = "fit" | "manual";
144
148
  type TimelineTool = "select" | "razor";
@@ -422,6 +426,10 @@ interface TimelineDropCallbacks {
422
426
  start: number;
423
427
  track: number;
424
428
  }) => Promise<void> | void;
429
+ onCompositionDrop?: (sourcePath: string, placement: {
430
+ start: number;
431
+ track: number;
432
+ }) => Promise<void> | void;
425
433
  }
426
434
  interface TimelineEditCallbacks {
427
435
  onMoveElement?: (element: TimelineElement, updates: Pick<TimelineElement, "start" | "track">) => Promise<void> | void;
@@ -617,6 +625,7 @@ interface EditorShellProps extends TimelineEditCallbackDeps {
617
625
  handleTimelineElementDelete: (element: TimelineElement) => Promise<void> | void;
618
626
  handleTimelineAssetDrop: (assetPath: string, placement: TimelineDropPlacement) => Promise<void> | void;
619
627
  handleTimelineBlockDrop?: (blockName: string, placement: TimelineDropPlacement) => Promise<void> | void;
628
+ handleTimelineCompositionDrop?: (sourcePath: string, placement: TimelineDropPlacement) => Promise<void> | void;
620
629
  handlePreviewBlockDrop?: (blockName: string, position: {
621
630
  left: number;
622
631
  top: number;
@@ -631,7 +640,7 @@ interface EditorShellProps extends TimelineEditCallbackDeps {
631
640
  onToggleRecording?: () => void;
632
641
  gestureOverlay?: ReactNode;
633
642
  }
634
- declare function EditorShell({ left, right, hidden, timelineToolbar, renderClipContent, handleTimelineElementDelete, handleTimelineAssetDrop, handleTimelineBlockDrop, handlePreviewBlockDrop, handleTimelineFileDrop, handleTimelineElementMove, handleTimelineElementsMove, handleTimelineElementResize, handleTimelineGroupResize, handleToggleTrackHidden, handleBlockedTimelineEdit, handleTimelineElementSplit, handleRazorSplit, handleRazorSplitAll, setCompIdToSrc, setCompositionLoading, shouldShowSelectedDomBounds, isGestureRecording, recordingState, onToggleRecording, blockPreview, gestureOverlay, }: EditorShellProps): react_jsx_runtime.JSX.Element;
643
+ declare function EditorShell({ left, right, hidden, timelineToolbar, renderClipContent, handleTimelineElementDelete, handleTimelineAssetDrop, handleTimelineBlockDrop, handleTimelineCompositionDrop, handlePreviewBlockDrop, handleTimelineFileDrop, handleTimelineElementMove, handleTimelineElementsMove, handleTimelineElementResize, handleTimelineGroupResize, handleToggleTrackHidden, handleBlockedTimelineEdit, handleTimelineElementSplit, handleRazorSplit, handleRazorSplitAll, setCompIdToSrc, setCompositionLoading, shouldShowSelectedDomBounds, isGestureRecording, recordingState, onToggleRecording, blockPreview, gestureOverlay, }: EditorShellProps): react_jsx_runtime.JSX.Element;
635
644
 
636
645
  interface NLEPreviewProps {
637
646
  projectId: string;
@@ -708,6 +717,7 @@ interface PropertyPanelProps {
708
717
  onClearSelection: () => void;
709
718
  onUngroup?: () => void;
710
719
  onSetStyle: (prop: string, value: string) => void | Promise<void>;
720
+ onPreviewStyle?: (prop: string, value: string) => void;
711
721
  onSetAttribute: (attr: string, value: string) => void | Promise<void>;
712
722
  /** Commits several data-* attributes on the SAME element in ONE atomic
713
723
  * persist call — e.g. a pinned timing range's start+duration together, so
@@ -739,6 +749,7 @@ interface PropertyPanelProps {
739
749
  }) => void;
740
750
  onSetText: (value: string, fieldKey?: string) => void;
741
751
  onSetTextFieldStyle: (fieldKey: string, property: string, value: string) => void;
752
+ onPreviewTextFieldStyle?: (fieldKey: string, property: string, value: string) => void;
742
753
  onAddTextField: (afterFieldKey?: string) => string | Promise<string | null> | null;
743
754
  onRemoveTextField: (fieldKey: string) => void;
744
755
  onAskAgent: () => void;
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
6
6
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7
7
  <title>HyperFrames Studio</title>
8
- <script type="module" crossorigin src="/assets/index-2mxh_HSy.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-BhWig0mx.css">
8
+ <script type="module" crossorigin src="/assets/index-vDRVQtTK.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-Ceyz8Qt2.css">
10
10
  </head>
11
11
  <body>
12
12
  <div data-hf-id="hf-aph5" id="root"></div>