@remit/ui 0.0.64 → 0.0.66

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.
@@ -344,6 +344,13 @@ export interface RunCopy {
344
344
  showProgress: boolean;
345
345
  /** Leaves the wizard. Never absent — there is always a way out. */
346
346
  dismissLabel: string;
347
+ /**
348
+ * What ending the run is called, on a state where a run is in flight. Whether
349
+ * this one can be ended at all is the caller's answer — a server-side pass
350
+ * runs to its own end — so the control appears only alongside
351
+ * `RunStepProps.onCancelRun`.
352
+ */
353
+ cancelLabel?: string;
347
354
  /** Offers the part that did not happen again. Absent when nothing is outstanding. */
348
355
  retryLabel?: string;
349
356
  /** Heads the list of messages the mail server rejected. */
@@ -397,6 +404,7 @@ export const runCopy = ({
397
404
  detail: "This keeps running if you close the wizard.",
398
405
  tone: "progress",
399
406
  dismissLabel: "Close",
407
+ cancelLabel: "Stop the run",
400
408
  };
401
409
  }
402
410
  if (state === "backApplyComplete") {