@zero-library/chat-agent 2.2.5 → 2.2.7

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.cjs.js CHANGED
@@ -1799,7 +1799,7 @@ var ChatSender_default = react.forwardRef(
1799
1799
  autoSize: { minRows: 2, maxRows: 6 },
1800
1800
  onCancel,
1801
1801
  footer: ({ components }) => {
1802
- const { SendButton, LoadingButton } = components;
1802
+ const { SendButton, LoadingButton, SpeechButton } = components;
1803
1803
  return /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, children: [
1804
1804
  /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { justify: "space-between", align: "center", gap: 12, children: [
1805
1805
  /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { className: "flex-1", gap: 6, align: "center", children: [
@@ -1807,7 +1807,10 @@ var ChatSender_default = react.forwardRef(
1807
1807
  extraFooter,
1808
1808
  " "
1809
1809
  ] }),
1810
- /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { align: "center", children: loading ? /* @__PURE__ */ jsxRuntime.jsx(LoadingButton, { disabled: false }) : /* @__PURE__ */ jsxRuntime.jsx(SendButton, { ...sendBtnProps }) })
1810
+ /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { align: "center", gap: 6, children: [
1811
+ /* @__PURE__ */ jsxRuntime.jsx(SpeechButton, {}),
1812
+ loading ? /* @__PURE__ */ jsxRuntime.jsx(LoadingButton, { disabled: false }) : /* @__PURE__ */ jsxRuntime.jsx(SendButton, { ...sendBtnProps })
1813
+ ] })
1811
1814
  ] }),
1812
1815
  extraFooterBelow
1813
1816
  ] });