@waveform-playlist/browser 5.2.0-next.4 → 5.2.0

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
@@ -588,10 +588,16 @@ export declare interface MediaElementAnnotationListProps {
588
588
  onAnnotationUpdate?: OnAnnotationUpdateFn;
589
589
  /** Whether annotation text can be edited. Defaults to false. */
590
590
  editable?: boolean;
591
- /** Whether dragging one annotation boundary also moves the adjacent annotation's boundary. Defaults to false. */
592
- linkEndpoints?: boolean;
593
- /** Override continuousPlay from context. Falls back to context value if not provided. */
594
- continuousPlay?: boolean;
591
+ /**
592
+ * Action controls to show on each annotation item (e.g., delete, split).
593
+ * Only rendered when `editable` is true.
594
+ */
595
+ controls?: AnnotationAction[];
596
+ /**
597
+ * Override annotation list config. Falls back to context values
598
+ * `{ linkEndpoints: false, continuousPlay }` if not provided.
599
+ */
600
+ annotationListConfig?: AnnotationActionOptions;
595
601
  /** Where to position the active annotation when auto-scrolling. Defaults to 'center'. */
596
602
  scrollActivePosition?: ScrollLogicalPosition;
597
603
  /** Which scrollable containers to scroll: 'nearest' or 'all'. Defaults to 'nearest'. */