@qwanyx/stack 0.2.115 → 0.2.117
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/components/AudioEditor.d.ts +4 -1
- package/dist/index.cjs.js +38 -38
- package/dist/index.esm.js +3840 -3861
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* AudioEditor Component
|
|
3
3
|
* Tape recorder style audio editor with recording, playback, and editing
|
|
4
4
|
*/
|
|
5
|
+
import React from 'react';
|
|
5
6
|
export interface AudioEditorProps {
|
|
6
7
|
/** Called when recording is complete with audio blob and duration */
|
|
7
8
|
onComplete: (audioBlob: Blob, duration: number) => void;
|
|
@@ -17,5 +18,7 @@ export interface AudioEditorProps {
|
|
|
17
18
|
hideSaveButton?: boolean;
|
|
18
19
|
/** Maximum recording duration in seconds (default: 180 = 3 minutes) */
|
|
19
20
|
maxDuration?: number;
|
|
21
|
+
/** Extra controls to render in the right side of the control bar */
|
|
22
|
+
extraControls?: React.ReactNode;
|
|
20
23
|
}
|
|
21
|
-
export declare function AudioEditor({ onComplete, onCancel: _onCancel, onTranscribe, onTranscriptionComplete, variant, hideSaveButton, maxDuration }: AudioEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function AudioEditor({ onComplete, onCancel: _onCancel, onTranscribe, onTranscriptionComplete, variant, hideSaveButton, maxDuration, extraControls }: AudioEditorProps): import("react/jsx-runtime").JSX.Element;
|