@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.
- package/package.json +1 -1
- package/src/components/folder-tree-picker.create.test.ts +362 -0
- package/src/components/folder-tree-picker.render.test.ts +241 -0
- package/src/components/folder-tree-picker.stories.tsx +329 -0
- package/src/components/folder-tree-picker.tsx +610 -0
- package/src/components/selection-wizard.render.test.ts +36 -0
- package/src/components/selection-wizard.tsx +33 -1
- package/src/index.ts +7 -0
- package/src/lib/wizard-steps.ts +8 -0
package/src/lib/wizard-steps.ts
CHANGED
|
@@ -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") {
|