@zero-library/chat-agent 2.2.5 → 2.2.6

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.esm.js CHANGED
@@ -1791,7 +1791,7 @@ var ChatSender_default = forwardRef(
1791
1791
  autoSize: { minRows: 2, maxRows: 6 },
1792
1792
  onCancel,
1793
1793
  footer: ({ components }) => {
1794
- const { SendButton, LoadingButton } = components;
1794
+ const { SendButton, LoadingButton, SpeechButton } = components;
1795
1795
  return /* @__PURE__ */ jsxs(Flex, { vertical: true, children: [
1796
1796
  /* @__PURE__ */ jsxs(Flex, { justify: "space-between", align: "center", gap: 12, children: [
1797
1797
  /* @__PURE__ */ jsxs(Flex, { className: "flex-1", gap: 6, align: "center", children: [
@@ -1799,7 +1799,10 @@ var ChatSender_default = forwardRef(
1799
1799
  extraFooter,
1800
1800
  " "
1801
1801
  ] }),
1802
- /* @__PURE__ */ jsx(Flex, { align: "center", children: loading ? /* @__PURE__ */ jsx(LoadingButton, { disabled: false }) : /* @__PURE__ */ jsx(SendButton, { ...sendBtnProps }) })
1802
+ /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 6, children: [
1803
+ /* @__PURE__ */ jsx(SpeechButton, {}),
1804
+ loading ? /* @__PURE__ */ jsx(LoadingButton, { disabled: false }) : /* @__PURE__ */ jsx(SendButton, { ...sendBtnProps })
1805
+ ] })
1803
1806
  ] }),
1804
1807
  extraFooterBelow
1805
1808
  ] });