@waveform-playlist/browser 5.0.0-alpha.5 → 5.0.0-alpha.6
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 +6 -0
- package/dist/index.js +117 -112
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3792 -3451
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -476,6 +476,10 @@ export declare function loadPeaksFromWaveformData(src: string, channelIndex?: nu
|
|
|
476
476
|
*/
|
|
477
477
|
export declare function loadWaveformData(src: string): Promise<default_3>;
|
|
478
478
|
|
|
479
|
+
export declare const LoopButton: default_2.FC<{
|
|
480
|
+
className?: string;
|
|
481
|
+
}>;
|
|
482
|
+
|
|
479
483
|
/**
|
|
480
484
|
* Master volume control that uses the playlist context
|
|
481
485
|
*/
|
|
@@ -584,6 +588,7 @@ declare interface PlaylistControlsContextValue {
|
|
|
584
588
|
setAnnotationsEditable: (enabled: boolean) => void;
|
|
585
589
|
setAnnotations: (annotations: AnnotationData[]) => void;
|
|
586
590
|
setActiveAnnotationId: (id: string | null) => void;
|
|
591
|
+
setLoopEnabled: (enabled: boolean) => void;
|
|
587
592
|
}
|
|
588
593
|
|
|
589
594
|
declare interface PlaylistDataContextValue {
|
|
@@ -617,6 +622,7 @@ declare interface PlaylistStateContextValue {
|
|
|
617
622
|
linkEndpoints: boolean;
|
|
618
623
|
annotationsEditable: boolean;
|
|
619
624
|
isAutomaticScroll: boolean;
|
|
625
|
+
isLoopEnabled: boolean;
|
|
620
626
|
annotations: AnnotationData[];
|
|
621
627
|
activeAnnotationId: string | null;
|
|
622
628
|
selectionStart: number;
|