@agents24/chat-react 0.5.7 → 0.5.9
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/scaffold/index.js
CHANGED
|
@@ -701,8 +701,8 @@ function ChatComposer({
|
|
|
701
701
|
onClick: onStop,
|
|
702
702
|
children: isCancelling ? /* @__PURE__ */ jsx7(LoaderCircle, { className: "animate-spin" }) : /* @__PURE__ */ jsx7(Square, { className: "fill-current" })
|
|
703
703
|
}
|
|
704
|
-
) : validationError ? /* @__PURE__ */ jsxs3(Tooltip, {
|
|
705
|
-
/* @__PURE__ */ jsx7(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx7(Button, { size: "icon", "aria-label": "Send message", disabled: true, onClick: () => void submit(), children: /* @__PURE__ */ jsx7(ArrowUp, {}) }) }),
|
|
704
|
+
) : validationError ? /* @__PURE__ */ jsxs3(Tooltip, { children: [
|
|
705
|
+
/* @__PURE__ */ jsx7(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx7("span", { tabIndex: 0, "aria-label": validationError, children: /* @__PURE__ */ jsx7(Button, { size: "icon", "aria-label": "Send message", disabled: true, onClick: () => void submit(), children: /* @__PURE__ */ jsx7(ArrowUp, {}) }) }) }),
|
|
706
706
|
/* @__PURE__ */ jsx7(TooltipContent, { children: validationError })
|
|
707
707
|
] }) : /* @__PURE__ */ jsx7(Button, { size: "icon", "aria-label": "Send message", disabled, onClick: () => void submit(), children: /* @__PURE__ */ jsx7(ArrowUp, {}) })
|
|
708
708
|
] })
|