@remit/web-client 0.0.45 → 0.0.47
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remit/web-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
|
|
6
6
|
"exports": {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* MailTopBar — the app's one search surface and its global actions.
|
|
3
3
|
*
|
|
4
|
-
* Mounted
|
|
5
|
-
*
|
|
6
|
-
* list header drops its own field wherever this bar is
|
|
7
|
-
* search input exists on the page and the "/" shortcut
|
|
4
|
+
* Mounted by the `/mail` shell over the list, the reading pane and the
|
|
5
|
+
* intelligence rail, starting on the list's left edge. It is the app's search,
|
|
6
|
+
* not the list's: the list header drops its own field wherever this bar is
|
|
7
|
+
* mounted, so exactly one search input exists on the page and the "/" shortcut
|
|
8
|
+
* has one target.
|
|
8
9
|
*
|
|
9
10
|
* The actions here are the ones that belong to the app rather than to whatever
|
|
10
11
|
* is currently listed or open — compose, bug report, account. Reply, delete,
|
|
@@ -54,11 +55,6 @@ export function MailTopBar({ accounts }: MailTopBarProps) {
|
|
|
54
55
|
|
|
55
56
|
return (
|
|
56
57
|
<AppTopBar
|
|
57
|
-
leading={
|
|
58
|
-
<span className="px-1 text-sm font-semibold tracking-tight text-fg">
|
|
59
|
-
remit
|
|
60
|
-
</span>
|
|
61
|
-
}
|
|
62
58
|
search={
|
|
63
59
|
<SearchBar
|
|
64
60
|
value={searchInput}
|
|
@@ -67,10 +67,9 @@ interface MessageBodyProps {
|
|
|
67
67
|
*/
|
|
68
68
|
category?: EmailRenderCategory;
|
|
69
69
|
/**
|
|
70
|
-
* Extra classes for the `.message-body` wrapper.
|
|
71
|
-
*
|
|
72
|
-
* the
|
|
73
|
-
* `px-5` inset via the surrounding card and leaves this unset.
|
|
70
|
+
* Extra classes for the `.message-body` wrapper. `MessageCard` leaves this
|
|
71
|
+
* unset: the kit's `ExpandedMessage` runs the body edge to edge on a phone
|
|
72
|
+
* and supplies the desktop inset itself.
|
|
74
73
|
*/
|
|
75
74
|
className?: string;
|
|
76
75
|
}
|