@longline/aqua-ui 1.0.331 → 1.0.334

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.
Files changed (43) hide show
  1. package/hooks/useSpeechAIRecorder/index.d.ts +1 -0
  2. package/hooks/useSpeechAIRecorder/index.js +1 -0
  3. package/hooks/useSpeechAIRecorder/stories/SpeechAIAudioInput.d.ts +6 -0
  4. package/hooks/{useAssemblyAIRecorder/stories/AssemblyAudioInput.js → useSpeechAIRecorder/stories/SpeechAIAudioInput.js} +4 -4
  5. package/hooks/useSpeechAIRecorder/useSpeechAIRecorder.d.ts +29 -0
  6. package/hooks/{useAssemblyAIRecorder/useAssemblyAIRecorder.js → useSpeechAIRecorder/useSpeechAIRecorder.js} +13 -11
  7. package/hooks/useTextAIStream/index.d.ts +1 -0
  8. package/hooks/useTextAIStream/index.js +1 -0
  9. package/hooks/{useOpenAIStream/stories/OpenAIStreamInput.d.ts → useTextAIStream/stories/TextAIStreamInput.d.ts} +3 -3
  10. package/hooks/{useOpenAIStream/stories/OpenAIStreamInput.js → useTextAIStream/stories/TextAIStreamInput.js} +6 -6
  11. package/hooks/useTextAIStream/useTextAIStream.d.ts +26 -0
  12. package/hooks/{useOpenAIStream/useOpenAIStream.js → useTextAIStream/useTextAIStream.js} +16 -4
  13. package/inputs/Editor/Editor.d.ts +7 -6
  14. package/inputs/Editor/Editor.js +1 -1
  15. package/inputs/Editor/buttons/{SpeechButton.d.ts → SpeechAIButton.d.ts} +2 -2
  16. package/inputs/Editor/buttons/{SpeechButton.js → SpeechAIButton.js} +5 -5
  17. package/inputs/Editor/buttons/TextAIButton.d.ts +28 -0
  18. package/inputs/Editor/buttons/{OpenAIButton.js → TextAIButton.js} +13 -14
  19. package/inputs/Editor/buttons/{OpenAIMenu.d.ts → TextAIMenu.d.ts} +2 -2
  20. package/inputs/Editor/buttons/{OpenAIMenu.js → TextAIMenu.js} +3 -3
  21. package/inputs/Editor/menu/MenuBar.d.ts +6 -6
  22. package/inputs/Editor/menu/MenuBar.js +7 -7
  23. package/package.json +4 -5
  24. package/hooks/useAssemblyAIRecorder/index.d.ts +0 -1
  25. package/hooks/useAssemblyAIRecorder/index.js +0 -1
  26. package/hooks/useAssemblyAIRecorder/stories/AssemblyAudioInput.d.ts +0 -6
  27. package/hooks/useAssemblyAIRecorder/useAssemblyAIRecorder.d.ts +0 -27
  28. package/hooks/useOpenAIRecorder/index.d.ts +0 -1
  29. package/hooks/useOpenAIRecorder/index.js +0 -1
  30. package/hooks/useOpenAIRecorder/old/AudioInputNoHook.d.ts +0 -8
  31. package/hooks/useOpenAIRecorder/old/AudioInputNoHook.js +0 -192
  32. package/hooks/useOpenAIRecorder/old/AudioInputStandardMedia.d.ts +0 -5
  33. package/hooks/useOpenAIRecorder/old/AudioInputStandardMedia.js +0 -170
  34. package/hooks/useOpenAIRecorder/stories/OpenAIAudioInput.d.ts +0 -8
  35. package/hooks/useOpenAIRecorder/stories/OpenAIAudioInput.js +0 -17
  36. package/hooks/useOpenAIRecorder/useOpenAIRecorder.d.ts +0 -22
  37. package/hooks/useOpenAIRecorder/useOpenAIRecorder.js +0 -223
  38. package/hooks/useOpenAIStream/index.d.ts +0 -1
  39. package/hooks/useOpenAIStream/index.js +0 -1
  40. package/hooks/useOpenAIStream/useOpenAIStream.d.ts +0 -14
  41. package/inputs/Editor/buttons/OpenAIButton.d.ts +0 -29
  42. /package/hooks/{useAssemblyAIRecorder → useSpeechAIRecorder}/SpeechManager.d.ts +0 -0
  43. /package/hooks/{useAssemblyAIRecorder → useSpeechAIRecorder}/SpeechManager.js +0 -0
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { Editor } from '@tiptap/react';
3
- interface IProps {
4
- editor: Editor;
5
- /**
6
- * URL for AI requests.
7
- */
8
- url: string;
9
- /**
10
- * Optional Bearer token for authenticated requests.
11
- */
12
- authToken?: string;
13
- }
14
- /**
15
- * `AIButton` provides a menu button that allows the user to run various
16
- * AI-powered transformations on selected editor content.
17
- *
18
- * Available transformations include:
19
- * - Telling a joke
20
- * - Summarizing selected content
21
- * - Extracting key points
22
- * - Translating to Portuguese
23
- *
24
- * When triggered, the selected content is cut, sent to OpenAI, and replaced
25
- * with the transformed version. Streaming support allows real-time insertion
26
- * with animated progress.
27
- */
28
- declare const OpenAIButton: (props: IProps) => React.JSX.Element;
29
- export { OpenAIButton };