@remit/ui 0.0.150 → 0.0.151

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/ui",
3
- "version": "0.0.150",
3
+ "version": "0.0.151",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -258,6 +258,29 @@ function RoleAppointmentRow({
258
258
  );
259
259
  }
260
260
 
261
+ export function FolderRolesHelp() {
262
+ return (
263
+ <div className="space-y-3">
264
+ <p>
265
+ Each canonical role — Inbox, Drafts, Sent, Archive, Spam, Trash — points
266
+ at one of your account's real folders. Pick the one that actually holds
267
+ the mail; the message counts tell real folders from empty look-alikes.
268
+ </p>
269
+ <p>
270
+ Appointing a folder to a role here doesn't touch any other role, and
271
+ doesn't move or rename anything on the server — it just tells Remit
272
+ which folder to treat as e.g. "Drafts" everywhere (sidebar, unread
273
+ badges, the compose flow).
274
+ </p>
275
+ <p>
276
+ <strong className="text-fg">Your folders</strong> is the account's real
277
+ hierarchy. Open a folder to see what's inside it, make a new one where
278
+ you're looking, and rename or delete any of them from its row.
279
+ </p>
280
+ </div>
281
+ );
282
+ }
283
+
261
284
  export interface RoleAppointmentListProps {
262
285
  accountEmail: string;
263
286
  /** Every folder the account exposes (candidates for any role). */
@@ -299,10 +322,8 @@ export function RoleAppointmentList({
299
322
  Folder roles — {accountEmail}
300
323
  </h2>
301
324
  <p className="text-xs text-fg-muted">
302
- Each role points to one folder. Pick the folder that holds the mail
303
- the counts help you tell real folders from empty look-alikes. Each row
304
- says where its answer came from — your choice, the mail server's own
305
- flag, or a name reader matched.
325
+ Each row says where its answer came from your choice, the mail
326
+ server's own flag, or a name reader matched.
306
327
  </p>
307
328
  </header>
308
329
  <div className="rounded-sm border border-line bg-surface">
package/src/index.ts CHANGED
@@ -591,6 +591,7 @@ export {
591
591
  export {
592
592
  APPOINTABLE_ROLES,
593
593
  type CandidateFolder,
594
+ FolderRolesHelp,
594
595
  type RoleAppointment,
595
596
  RoleAppointmentList,
596
597
  type RoleAppointmentListProps,