@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/esm/index.js CHANGED
@@ -74809,7 +74809,10 @@ var MinimalVariantContent = function (_a) {
74809
74809
  onActionClick === null || onActionClick === void 0 ? void 0 : onActionClick();
74810
74810
  } }));
74811
74811
  return (React__default.createElement(React__default.Fragment, null,
74812
- React__default.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 },
74812
+ React__default.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) {
74813
+ e.stopPropagation();
74814
+ onClick === null || onClick === void 0 ? void 0 : onClick();
74815
+ } },
74813
74816
  React__default.createElement("div", { className: "s-flex s-flex-row s-justify-between s-gap-2 s-overflow-hidden" },
74814
74817
  React__default.createElement("div", { id: "preview", className: "s-flex s-w-full s-min-w-0 s-flex-row s-items-center s-gap-2" },
74815
74818
  React__default.createElement("div", { id: "avatar-column", className: "s-w-fit" },