@dust-tt/sparkle 0.2.61-alpha → 0.2.61-alpha-2
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/components/AssistantPreview.d.ts +1 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/AssistantPreview.d.ts +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -32240,13 +32240,13 @@ var MediumVariantContent = function () {
|
|
|
32240
32240
|
var LargeVariantContent = function (_a) {
|
|
32241
32241
|
var _b;
|
|
32242
32242
|
var props = _a.props;
|
|
32243
|
-
var
|
|
32243
|
+
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;
|
|
32244
32244
|
var galleryChip = isAdded && (React__default.createElement("div", { className: "s-group" },
|
|
32245
32245
|
React__default.createElement(Chip, { color: "emerald", size: "xs", label: "Added", className: "group-hover:s-hidden" }),
|
|
32246
|
-
React__default.createElement("div", { className: "s-hidden group-hover:s-block" },
|
|
32246
|
+
allowAddAction && (React__default.createElement("div", { className: "s-hidden group-hover:s-block" },
|
|
32247
32247
|
React__default.createElement(Button.List, { isWrapping: true },
|
|
32248
|
-
React__default.createElement(Button, { key: "remove", variant: "tertiary", icon: SvgDash$1, disabled: isUpdatingList, size: "xs", label: "Remove", onClick: function () { return onUpdate("removed"); } })))));
|
|
32249
|
-
var addButton = !isAdded && (React__default.createElement(Button, { key: "add", variant: "tertiary", icon: SvgPlus$1, disabled: isUpdatingList, size: "xs", label: isWorkspace ? "Add to Workspace" : "Add", onClick: function () { return onUpdate("added"); } }));
|
|
32248
|
+
React__default.createElement(Button, { key: "remove", variant: "tertiary", icon: SvgDash$1, disabled: isUpdatingList, size: "xs", label: "Remove", onClick: function () { return onUpdate("removed"); } }))))));
|
|
32249
|
+
var addButton = !isAdded && allowAddAction && (React__default.createElement(Button, { key: "add", variant: "tertiary", icon: SvgPlus$1, disabled: isUpdatingList, size: "xs", label: isWorkspace ? "Add to Workspace" : "Add", onClick: function () { return onUpdate("added"); } }));
|
|
32250
32250
|
var testButton = null;
|
|
32251
32251
|
if (onTestClick) {
|
|
32252
32252
|
testButton = (React__default.createElement(Button, { key: "test", variant: "tertiary", icon: SvgPlay$1, size: "xs", label: "Test", onClick: onTestClick }));
|