@qwanyx/stack 0.2.92 → 0.2.93
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/AnimatedCardFlip.d.ts +2 -1
- package/dist/components/VoiceTextEditor.d.ts +3 -1
- package/dist/index.cjs.js +23 -23
- package/dist/index.esm.js +1136 -1095
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export interface AnimatedCardFlipProps {
|
|
|
14
14
|
maxInterval?: number;
|
|
15
15
|
onCardClick?: (node: AnimatedCardFlipNode) => void;
|
|
16
16
|
cardSize?: 'small' | 'medium' | 'large';
|
|
17
|
+
aspectRatio?: '1:1' | '2:3';
|
|
17
18
|
className?: string;
|
|
18
19
|
}
|
|
19
|
-
export declare function AnimatedCardFlip({ nodes, minInterval, maxInterval, onCardClick, cardSize, className }: AnimatedCardFlipProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function AnimatedCardFlip({ nodes, minInterval, maxInterval, onCardClick, cardSize, aspectRatio, className }: AnimatedCardFlipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,6 +14,8 @@ export interface VoiceTextEditorProps {
|
|
|
14
14
|
onTranscribe: (audioBlob: Blob) => Promise<string | null>;
|
|
15
15
|
/** Called for AI actions - should return transformed text */
|
|
16
16
|
onAIAction?: (action: 'restructure' | 'proofread' | 'rewrite', text: string) => Promise<string>;
|
|
17
|
+
/** Called for custom AI prompt - should return transformed text */
|
|
18
|
+
onAIPrompt?: (prompt: string, text: string) => Promise<string>;
|
|
17
19
|
/** Placeholder text for textarea */
|
|
18
20
|
placeholder?: string;
|
|
19
21
|
/** Additional CSS classes */
|
|
@@ -21,4 +23,4 @@ export interface VoiceTextEditorProps {
|
|
|
21
23
|
/** Number of rows for textarea (if not flex) */
|
|
22
24
|
rows?: number;
|
|
23
25
|
}
|
|
24
|
-
export declare function VoiceTextEditor({ label, value, onChange, onTranscribe, onAIAction, placeholder, className, rows }: VoiceTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function VoiceTextEditor({ label, value, onChange, onTranscribe, onAIAction, onAIPrompt, placeholder, className, rows }: VoiceTextEditorProps): import("react/jsx-runtime").JSX.Element;
|