@dust-tt/sparkle 0.2.187 → 0.2.188

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/cjs/index.js CHANGED
@@ -74829,7 +74829,10 @@ var MinimalVariantContent = function (_a) {
74829
74829
  onActionClick === null || onActionClick === void 0 ? void 0 : onActionClick();
74830
74830
  } }));
74831
74831
  return (React.createElement(React.Fragment, null,
74832
- React.createElement("div", { id: "assistant-container", className: "s-flex s-grow s-flex-col s-justify-start s-gap-2 s-overflow-hidden s-py-1", onClick: onClick },
74832
+ React.createElement("div", { id: "assistant-container", className: "s-flex s-grow s-flex-col s-justify-start s-gap-2 s-overflow-hidden s-py-1", onClick: function (e) {
74833
+ e.stopPropagation();
74834
+ onClick === null || onClick === void 0 ? void 0 : onClick();
74835
+ } },
74833
74836
  React.createElement("div", { className: "s-flex s-flex-row s-justify-between s-gap-2 s-overflow-hidden" },
74834
74837
  React.createElement("div", { id: "preview", className: "s-flex s-w-full s-min-w-0 s-flex-row s-items-center s-gap-2" },
74835
74838
  React.createElement("div", { id: "avatar-column", className: "s-w-fit" },