@waveform-playlist/browser 9.3.1 → 9.3.3

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
@@ -627,6 +627,31 @@ declare interface KeyboardShortcut {
627
627
  preventDefault?: boolean;
628
628
  }
629
629
 
630
+ /**
631
+ * Self-closing component that sets up keyboard shortcuts for the playlist.
632
+ * Must be rendered inside a WaveformPlaylistProvider.
633
+ *
634
+ * @example
635
+ * ```tsx
636
+ * <WaveformPlaylistProvider tracks={tracks} {...}>
637
+ * <KeyboardShortcuts playback clipSplitting />
638
+ * <Waveform />
639
+ * </WaveformPlaylistProvider>
640
+ * ```
641
+ */
642
+ export declare const KeyboardShortcuts: default_2.FC<KeyboardShortcutsProps>;
643
+
644
+ export declare interface KeyboardShortcutsProps {
645
+ /** Enable default playback shortcuts (Space, Escape, 0). Defaults to false. */
646
+ playback?: boolean;
647
+ /** Enable clip splitting shortcut ('s' key). Defaults to false. */
648
+ clipSplitting?: boolean;
649
+ /** Enable annotation keyboard controls (arrow nav, boundary editing). Defaults to false. */
650
+ annotations?: boolean;
651
+ /** Additional shortcuts appended to the defaults. */
652
+ additionalShortcuts?: KeyboardShortcut[];
653
+ }
654
+
630
655
  /**
631
656
  * Link endpoints checkbox that uses the playlist context.
632
657
  * Must be used within <AnnotationProvider>.