pollination-react-io 1.78.1 → 1.79.0

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.
@@ -14,6 +14,7 @@ export interface FileCardProps {
14
14
  file?: Blob | File | string | undefined;
15
15
  onClicked?: (card: FileCardProps) => any;
16
16
  isCloud?: boolean;
17
+ name?: string;
17
18
  }
18
19
  export declare const FileCard: React.FC<FileCardProps>;
19
20
  export default FileCard;
@@ -56182,7 +56182,7 @@ var FileCard = function (_a) {
56182
56182
  // Generate Blob on click
56183
56183
  run && downloadArtifact(path, run.status.job_id)
56184
56184
  .then(function (url) { return fetchAndSet(url); })
56185
- .catch(function () { return onClicked({ label: label, path: path, file: undefined, description: description }); });
56185
+ .catch(function () { return onClicked({ label: label, path: path, file: undefined, description: description, name: filename }); });
56186
56186
  }
56187
56187
  else {
56188
56188
  // Some inputs has path == null
@@ -56203,7 +56203,7 @@ var FileCard = function (_a) {
56203
56203
  event.stopPropagation();
56204
56204
  if (isInactive)
56205
56205
  return;
56206
- onClicked({ label: label, path: path, file: currFile, description: description });
56206
+ onClicked({ label: label, path: path, file: currFile, description: description, name: filename });
56207
56207
  } },
56208
56208
  React__default.createElement("div", { className: 'title-param' },
56209
56209
  React__default.createElement("div", { style: { float: 'left', margin: '0 8px 0 0' } }, !isLoading ? React__default.createElement("div", { title: !isInactive