@copilotkit/react-ui 1.59.0 → 1.59.2

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.
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "name": "@copilotkit/react-ui (esm)",
4
+ "path": "dist/index.mjs",
5
+ "gzip": true
6
+ }
7
+ ]
package/dist/index.cjs CHANGED
@@ -1445,7 +1445,10 @@ const AssistantMessage = (props) => {
1445
1445
  const handleThumbsDown = () => {
1446
1446
  if (onThumbsDown && message) onThumbsDown(message);
1447
1447
  };
1448
- const LoadingIcon = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: icons.activityIcon });
1448
+ const LoadingIcon = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1449
+ "data-testid": "copilot-loading-cursor",
1450
+ children: icons.activityIcon
1451
+ });
1449
1452
  const content = message?.content || "";
1450
1453
  const subComponent = message?.generativeUI?.() ?? props.subComponent;
1451
1454
  const subComponentPosition = message?.generativeUIPosition ?? "after";
@@ -1685,7 +1688,10 @@ const Messages = ({ inProgress, children, RenderMessage, AssistantMessage, UserM
1685
1688
  ...props,
1686
1689
  legacyProps
1687
1690
  }) : RenderMessage;
1688
- const LoadingIcon = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: icons.activityIcon });
1691
+ const LoadingIcon = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1692
+ "data-testid": "copilot-loading-cursor",
1693
+ children: icons.activityIcon
1694
+ });
1689
1695
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1690
1696
  className: "copilotKitMessages",
1691
1697
  ref: messagesContainerRef,