@waveform-playlist/browser 5.0.0-alpha.6 → 5.0.0-alpha.7

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
@@ -589,6 +589,9 @@ declare interface PlaylistControlsContextValue {
589
589
  setAnnotations: (annotations: AnnotationData[]) => void;
590
590
  setActiveAnnotationId: (id: string | null) => void;
591
591
  setLoopEnabled: (enabled: boolean) => void;
592
+ setLoopRegion: (start: number, end: number) => void;
593
+ setLoopRegionFromSelection: () => void;
594
+ clearLoopRegion: () => void;
592
595
  }
593
596
 
594
597
  declare interface PlaylistDataContextValue {
@@ -628,6 +631,8 @@ declare interface PlaylistStateContextValue {
628
631
  selectionStart: number;
629
632
  selectionEnd: number;
630
633
  selectedTrackId: string | null;
634
+ loopStart: number;
635
+ loopEnd: number;
631
636
  }
632
637
 
633
638
  /**
@@ -648,6 +653,10 @@ export declare const SelectionTimeInputs: default_2.FC<{
648
653
  className?: string;
649
654
  }>;
650
655
 
656
+ export declare const SetLoopRegionButton: default_2.FC<{
657
+ className?: string;
658
+ }>;
659
+
651
660
  export declare const SkipBackwardButton: default_2.FC<{
652
661
  skipAmount?: number;
653
662
  className?: string;
@@ -1496,6 +1505,8 @@ declare interface WaveformPlaylistTheme {
1496
1505
  timescaleBackgroundColor: string;
1497
1506
  playheadColor: string;
1498
1507
  selectionColor: string;
1508
+ loopRegionColor: string;
1509
+ loopMarkerColor: string;
1499
1510
  clipHeaderBackgroundColor: string;
1500
1511
  clipHeaderBorderColor: string;
1501
1512
  clipHeaderTextColor: string;