@waveform-playlist/browser 5.0.0-alpha.14 → 5.0.0-alpha.15

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
@@ -663,6 +663,18 @@ export declare interface MediaElementWaveformProps {
663
663
  * Use this to customize the appearance of each annotation (e.g., add furigana).
664
664
  */
665
665
  renderAnnotationItem?: (props: RenderAnnotationItemProps) => default_2.ReactNode;
666
+ /** Whether annotation boundaries can be edited by dragging. Defaults to false. */
667
+ editable?: boolean;
668
+ /**
669
+ * Callback when annotations are updated (e.g., boundaries dragged).
670
+ * Called with the full updated annotations array.
671
+ */
672
+ onAnnotationUpdate?: (annotations: {
673
+ id: string;
674
+ start: number;
675
+ end: number;
676
+ lines: string[];
677
+ }[]) => void;
666
678
  className?: string;
667
679
  }
668
680