@remit/ui 0.0.133 → 0.0.134
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
CHANGED
|
@@ -52,3 +52,31 @@ export const NonDestructive: Story = {
|
|
|
52
52
|
destructive: false,
|
|
53
53
|
},
|
|
54
54
|
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Deleting mail that already sits in Trash expunges it on the server, so the
|
|
58
|
+
* dialog asks that question instead of "move to Trash?" — the wording follows
|
|
59
|
+
* the consequence, never the button that opened it (#845).
|
|
60
|
+
*/
|
|
61
|
+
export const PermanentDelete: Story = {
|
|
62
|
+
args: {
|
|
63
|
+
title: "Permanently delete 12 messages?",
|
|
64
|
+
description: "They are erased from the mail server and cannot be restored.",
|
|
65
|
+
confirmLabel: "Delete permanently",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The account's Trash appointment has not resolved yet, so which of the two
|
|
71
|
+
* dialogs above applies is not yet known. Rather than guess the reversible
|
|
72
|
+
* wording over what may be an expunge, the copy stays neutral and the confirm
|
|
73
|
+
* holds until the answer arrives.
|
|
74
|
+
*/
|
|
75
|
+
export const OutcomeUnknown: Story = {
|
|
76
|
+
args: {
|
|
77
|
+
title: "Delete 12 messages?",
|
|
78
|
+
description: "Checking where this account files deleted mail…",
|
|
79
|
+
confirmLabel: "Delete",
|
|
80
|
+
isBusy: true,
|
|
81
|
+
},
|
|
82
|
+
};
|