@shotstack/shotstack-studio 2.3.0 → 2.4.1

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/index.d.ts CHANGED
@@ -159,6 +159,11 @@ export declare class Edit {
159
159
  private clearClipErrorAndShift;
160
160
  deleteClip(trackIdx: number, clipIdx: number): Promise<void>;
161
161
  addTrack(trackIdx: number, track: Track): Promise<void>;
162
+ /**
163
+ * Auto-link rich-caption clips to the first eligible source clip.
164
+ * If an alias reference in the caption's src can't be resolved, link it automatically.
165
+ */
166
+ private autoLinkCaptionSources;
162
167
  getTrack(trackIdx: number): Track | null;
163
168
  deleteTrack(trackIdx: number): void;
164
169
  undo(): Promise<void>;
@@ -409,6 +414,7 @@ export declare class Timeline {
409
414
  private readonly handleClipSelected;
410
415
  private readonly handleClipLoadFailed;
411
416
  private readonly handleClipUpdated;
417
+ private readonly handleClipFocusChanged;
412
418
  private readonly handleRulerMouseMove;
413
419
  constructor(edit: Edit, container: HTMLElement, options?: TimelineOptions);
414
420
  /** Initialize and mount the timeline */
@@ -76,6 +76,11 @@ export declare class Edit {
76
76
  private clearClipErrorAndShift;
77
77
  deleteClip(trackIdx: number, clipIdx: number): Promise<void>;
78
78
  addTrack(trackIdx: number, track: Track): Promise<void>;
79
+ /**
80
+ * Auto-link rich-caption clips to the first eligible source clip.
81
+ * If an alias reference in the caption's src can't be resolved, link it automatically.
82
+ */
83
+ private autoLinkCaptionSources;
79
84
  getTrack(trackIdx: number): Track | null;
80
85
  deleteTrack(trackIdx: number): void;
81
86
  undo(): Promise<void>;