@remit/ui 0.0.136 → 0.0.138
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
|
@@ -140,7 +140,7 @@ export const ComposeAddressField = ({
|
|
|
140
140
|
}, [commitInput, suggest.dismiss]);
|
|
141
141
|
|
|
142
142
|
return (
|
|
143
|
-
<div className="relative">
|
|
143
|
+
<div className="relative" data-address-field={label}>
|
|
144
144
|
<div className="flex items-start gap-2">
|
|
145
145
|
<label
|
|
146
146
|
htmlFor={`address-field-${label}`}
|
|
@@ -56,7 +56,9 @@ export const NonDestructive: Story = {
|
|
|
56
56
|
/**
|
|
57
57
|
* Deleting mail that already sits in Trash expunges it on the server, so the
|
|
58
58
|
* dialog asks that question instead of "move to Trash?" — the wording follows
|
|
59
|
-
* the consequence, never the button that opened it (#845).
|
|
59
|
+
* the consequence, never the button that opened it (#845). On Flagged and the
|
|
60
|
+
* brief the rows span mailboxes, and one row bound for an expunge is enough to
|
|
61
|
+
* make the whole delete unrecoverable, so a mixed set is asked here too (#855).
|
|
60
62
|
*/
|
|
61
63
|
export const PermanentDelete: Story = {
|
|
62
64
|
args: {
|
|
@@ -80,3 +82,19 @@ export const OutcomeUnknown: Story = {
|
|
|
80
82
|
isBusy: true,
|
|
81
83
|
},
|
|
82
84
|
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The read for those appointments failed rather than lagged, so there is no
|
|
88
|
+
* answer coming and nothing to confirm. The dialog states the refusal and its
|
|
89
|
+
* affirmative control is the way back in — never the delete, and never a button
|
|
90
|
+
* that cannot be pressed (#855).
|
|
91
|
+
*/
|
|
92
|
+
export const OutcomeUnavailable: Story = {
|
|
93
|
+
args: {
|
|
94
|
+
title: "Can't delete 12 messages",
|
|
95
|
+
description:
|
|
96
|
+
"reader couldn't read this account's folder settings, so it can't say whether this would move the mail to Trash or erase it. Nothing has been deleted.",
|
|
97
|
+
confirmLabel: "Sign in again",
|
|
98
|
+
destructive: false,
|
|
99
|
+
},
|
|
100
|
+
};
|