@alquimia-ai/ui 1.3.2 → 1.4.4

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.
@@ -55,6 +55,7 @@ interface AssistantInputProps extends React$1.FormHTMLAttributes<HTMLFormElement
55
55
  input: string;
56
56
  handleInputChange: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
57
57
  isMessageStreaming: boolean;
58
+ speechToTextComponent?: React$1.ReactNode;
58
59
  }
59
60
  declare const AssistantInput: React$1.ForwardRefExoticComponent<AssistantInputProps & React$1.RefAttributes<HTMLFormElement>>;
60
61
 
@@ -55,6 +55,7 @@ interface AssistantInputProps extends React$1.FormHTMLAttributes<HTMLFormElement
55
55
  input: string;
56
56
  handleInputChange: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
57
57
  isMessageStreaming: boolean;
58
+ speechToTextComponent?: React$1.ReactNode;
58
59
  }
59
60
  declare const AssistantInput: React$1.ForwardRefExoticComponent<AssistantInputProps & React$1.RefAttributes<HTMLFormElement>>;
60
61
 
@@ -2770,6 +2770,7 @@ var AssistantInput = React34.forwardRef(
2770
2770
  input,
2771
2771
  handleInputChange,
2772
2772
  isMessageStreaming,
2773
+ speechToTextComponent,
2773
2774
  ...props
2774
2775
  }, ref) => {
2775
2776
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
@@ -2797,6 +2798,7 @@ var AssistantInput = React34.forwardRef(
2797
2798
  )
2798
2799
  }
2799
2800
  ),
2801
+ speechToTextComponent && speechToTextComponent,
2800
2802
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2801
2803
  "button",
2802
2804
  {