@dust-tt/sparkle 0.2.273-rc-4 → 0.2.273-rc-5
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
|
@@ -110131,7 +110131,7 @@ DataTable.Row = function Row(_a) {
|
|
|
110131
110131
|
children,
|
|
110132
110132
|
React.createElement("td", { className: "s-flex s-w-8 s-cursor-pointer s-items-center s-pl-1 s-text-element-600" }, moreMenuItems && moreMenuItems.length > 0 && (React.createElement(DropdownMenu$1, { className: "s-mr-1.5 s-flex" },
|
|
110133
110133
|
React.createElement(DropdownMenu$1.Button, null,
|
|
110134
|
-
React.createElement(IconButton, { icon: MoreIcon, size: "sm", variant: "
|
|
110134
|
+
React.createElement(IconButton, { icon: MoreIcon, size: "sm", variant: "outline", className: "s-m-1" })),
|
|
110135
110135
|
React.createElement(DropdownMenu$1.Items, { origin: "topRight", width: 220 }, moreMenuItems === null || moreMenuItems === void 0 ? void 0 : moreMenuItems.map(function (item, index) { return (React.createElement(DropdownMenu$1.Item, __assign({ key: index }, item))); })))))));
|
|
110136
110136
|
};
|
|
110137
110137
|
DataTable.Cell = function Cell(_a) {
|
|
@@ -110176,7 +110176,7 @@ DataTable.CellContentWithCopy = function CellContentWithCopy(_a) {
|
|
|
110176
110176
|
}); };
|
|
110177
110177
|
return (React.createElement("div", { className: classNames("s-flex s-items-center s-space-x-2", className || "") },
|
|
110178
110178
|
React.createElement("span", { className: "s-truncate" }, children),
|
|
110179
|
-
React.createElement(IconButton, { icon: isCopied ? ClipboardCheckIcon : ClipboardIcon, variant: "
|
|
110179
|
+
React.createElement(IconButton, { icon: isCopied ? ClipboardCheckIcon : ClipboardIcon, variant: "outline", onClick: function (e) { return __awaiter(_this, void 0, void 0, function () {
|
|
110180
110180
|
return __generator(this, function (_a) {
|
|
110181
110181
|
switch (_a.label) {
|
|
110182
110182
|
case 0:
|