@dust-tt/sparkle 0.2.61-alpha-2 → 0.2.61-alpha-3
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -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
|
@@ -32262,7 +32262,7 @@ var LargeVariantContent = function (_a) {
|
|
|
32262
32262
|
var props = _a.props;
|
|
32263
32263
|
var description = props.description, isAdded = props.isAdded, allowAddAction = props.allowAddAction, isUpdatingList = props.isUpdatingList, isWorkspace = props.isWorkspace, name = props.name, onShowDetailsClick = props.onShowDetailsClick, onTestClick = props.onTestClick, onUpdate = props.onUpdate, pictureUrl = props.pictureUrl, subtitle = props.subtitle;
|
|
32264
32264
|
var galleryChip = isAdded && (React.createElement("div", { className: "s-group" },
|
|
32265
|
-
React.createElement(Chip, { color: "emerald", size: "xs", label: "Added", className: "group-hover:s-hidden" }),
|
|
32265
|
+
React.createElement(Chip, { color: "emerald", size: "xs", label: "Added", className: allowAddAction ? "group-hover:s-hidden" : "" }),
|
|
32266
32266
|
allowAddAction && (React.createElement("div", { className: "s-hidden group-hover:s-block" },
|
|
32267
32267
|
React.createElement(Button.List, { isWrapping: true },
|
|
32268
32268
|
React.createElement(Button, { key: "remove", variant: "tertiary", icon: SvgDash$1, disabled: isUpdatingList, size: "xs", label: "Remove", onClick: function () { return onUpdate("removed"); } }))))));
|