@dust-tt/sparkle 0.2.140 → 0.2.141
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 +12 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +12 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -76904,7 +76904,18 @@ function Markdown(_a) {
|
|
|
76904
76904
|
React.createElement("blockquote", { className: "s-md:pl-8 s-md:mx-10 s-mx-4 s-my-8 s-border-l-4 s-border-gray-500 s-py-4 s-pl-4 s-italic" },
|
|
76905
76905
|
React.createElement("div", { className: "s-text-lg s-font-medium" }, children))),
|
|
76906
76906
|
childrenContent && (React.createElement("div", { className: "s-absolute s-right-2 s-top-2 s-mx-2 s-rounded-xl s-bg-structure-50" },
|
|
76907
|
-
React.createElement(IconButton, { variant: "tertiary", size: "xs", icon: isCopied ? SvgClipboardCheck$1 : SvgClipboard$1, onClick:
|
|
76907
|
+
React.createElement(IconButton, { variant: "tertiary", size: "xs", icon: isCopied ? SvgClipboardCheck$1 : SvgClipboard$1, onClick: function (e) { return __awaiter(_this, void 0, void 0, function () {
|
|
76908
|
+
return __generator(this, function (_a) {
|
|
76909
|
+
switch (_a.label) {
|
|
76910
|
+
case 0:
|
|
76911
|
+
e.preventDefault();
|
|
76912
|
+
return [4 /*yield*/, handleCopy()];
|
|
76913
|
+
case 1:
|
|
76914
|
+
_a.sent();
|
|
76915
|
+
return [2 /*return*/];
|
|
76916
|
+
}
|
|
76917
|
+
});
|
|
76918
|
+
}); } })))));
|
|
76908
76919
|
},
|
|
76909
76920
|
}, className: className }, content));
|
|
76910
76921
|
}
|