@remit/ui 0.0.242 → 0.0.243

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.
@@ -113,8 +113,17 @@ export interface NavMailbox {
113
113
  * localized leaf name still reveals where it lives. Defaults to `name`.
114
114
  */
115
115
  fullPath?: string;
116
- /** Present when the last change to this folder failed: what went wrong, in words. */
117
- failure?: string;
116
+ /** What is wrong with the folder, in words, when anything is. */
117
+ note?: NavMailboxNote;
118
+ }
119
+ /**
120
+ * `failure`: the last change to the folder failed; the folder still opens.
121
+ * `unavailable`: the mail server refuses to open the folder, so it does not
122
+ * open here either.
123
+ */
124
+ export interface NavMailboxNote {
125
+ kind: "failure" | "unavailable";
126
+ text: string;
118
127
  }
119
128
  /**
120
129
  * A label, shown once whatever the number of accounts: one entry that lists the
@@ -1,13 +1,14 @@
1
- import { PlacementAction, PlacementConfidence } from "@remit/domain-enums";
1
+ import { FromPlacement, PlacementAction, PlacementConfidence, PlacementReason } from "@remit/domain-enums";
2
+ type PlacementReasonCode = (typeof PlacementReason)[keyof typeof PlacementReason];
2
3
  export interface PlacementIntel {
3
4
  action: (typeof PlacementAction)[keyof typeof PlacementAction];
4
5
  confidence: (typeof PlacementConfidence)[keyof typeof PlacementConfidence];
5
- /** The folder the message sat in when Remit judged it: inbox, junk or other. */
6
- fromPlacement: string;
7
- /** Reason codes as the server wrote them. */
8
- reasons: string[];
6
+ /** The folder the message sat in when Remit judged it. */
7
+ fromPlacement: (typeof FromPlacement)[keyof typeof FromPlacement];
8
+ reasons: PlacementReasonCode[];
9
9
  dryRun: boolean;
10
10
  }
11
11
  export declare function Placement({ placement }: {
12
12
  placement: PlacementIntel;
13
13
  }): import("react").JSX.Element;
14
+ export {};
@@ -1,24 +1,30 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { PlacementAction, PlacementConfidence } from "@remit/domain-enums";
2
+ import { FromPlacement, PlacementAction, PlacementConfidence, PlacementReason, } from "@remit/domain-enums";
3
3
  import { Badge } from "./badge.js";
4
- const reasonCopy = new Map(Object.entries({
5
- "sender=blocked": "You blocked this sender.",
6
- "sender=untrusted": "You have no history with this sender.",
7
- "classifier=spam": "The classifier judged it spam.",
8
- "dkim-mismatch": "It was signed by a different domain than its sender.",
9
- "dmarc=fail": "It failed the sender domain's DMARC check.",
10
- "dmarc=pass": "It passed the sender domain's DMARC check.",
11
- "deferred-to-llm": "The signals were left for the classifier to judge.",
12
- "no-confident-signal": "Nothing marked it as junk.",
13
- "placed-in-junk": "It was already reported or moved to Junk.",
14
- "already-moved-by-remit": "Remit had already moved it.",
15
- "body-unreadable": "Its body could not be read.",
16
- }));
17
- function placementReasonCopy(code) {
18
- return reasonCopy.get(code) ?? code;
19
- }
4
+ const reasonCopy = {
5
+ [PlacementReason.SenderBlocked]: "You blocked this sender.",
6
+ [PlacementReason.SenderUntrusted]: "You have no history with this sender.",
7
+ [PlacementReason.SenderNeverSpam]: "You marked this sender as never spam.",
8
+ [PlacementReason.SenderVip]: "This sender is a VIP.",
9
+ [PlacementReason.SenderWellknown]: "You know this sender well.",
10
+ [PlacementReason.ClassifierSpam]: "The classifier judged it spam.",
11
+ [PlacementReason.SpamClean]: "The spam check judged it clean.",
12
+ [PlacementReason.ProviderSpam]: "Your mail provider filed it as spam.",
13
+ [PlacementReason.DkimMismatch]: "It was signed by a different domain than its sender.",
14
+ [PlacementReason.DmarcFail]: "It failed the sender domain's DMARC check.",
15
+ [PlacementReason.DmarcPass]: "It passed the sender domain's DMARC check.",
16
+ [PlacementReason.DeferredToLlm]: "The signals were left for the classifier to judge.",
17
+ [PlacementReason.MissingSignals]: "It lacked the signals a verdict needs.",
18
+ [PlacementReason.NoConfidentSignal]: "Nothing marked it as junk.",
19
+ [PlacementReason.PlacedInJunk]: "It was already reported or moved to Junk.",
20
+ [PlacementReason.AlreadyMovedByRemit]: "Remit had already moved it.",
21
+ [PlacementReason.BodyUnreadable]: "Its body could not be read.",
22
+ [PlacementReason.JunkNotRescued]: "Nothing gave a reason to bring it out of Junk.",
23
+ };
24
+ /** A server newer than this build can send a reason it has no label for yet. */
25
+ const reasonLabel = (code) => reasonCopy[code] ?? code;
20
26
  function placementHeadline(placement) {
21
- const fromJunk = placement.fromPlacement === "junk";
27
+ const fromJunk = placement.fromPlacement === FromPlacement.Junk;
22
28
  if (placement.action === PlacementAction.MoveToJunk && fromJunk) {
23
29
  return "Remit kept this in Junk";
24
30
  }
@@ -36,5 +42,5 @@ const confidenceLabel = {
36
42
  };
37
43
  export function Placement({ placement }) {
38
44
  const confidence = confidenceLabel[placement.confidence];
39
- return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "text-xs text-fg", children: placementHeadline(placement) }), _jsx(Badge, { tone: confidence.tone, dot: true, className: "ml-auto", children: confidence.label })] }), placement.reasons.length > 0 && (_jsx("ul", { className: "mt-2 list-disc space-y-0.5 pl-4 text-2xs text-fg-muted", children: placement.reasons.map((code) => (_jsx("li", { children: placementReasonCopy(code) }, code))) }))] }));
45
+ return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "text-xs text-fg", children: placementHeadline(placement) }), _jsx(Badge, { tone: confidence.tone, dot: true, className: "ml-auto", children: confidence.label })] }), placement.reasons.length > 0 && (_jsx("ul", { className: "mt-2 list-disc space-y-0.5 pl-4 text-2xs text-fg-muted", children: placement.reasons.map((code) => (_jsx("li", { children: reasonLabel(code) }, code))) }))] }));
40
46
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useRef, useState } from "react";
3
- import { Archive, BellOff, CalendarDays, ChevronDown, ChevronRight, CircleAlert, CirclePause, FileText, Folder, Inbox, Mails, OctagonAlert, Send, Sparkles, Star, Trash, } from "../icons.js";
3
+ import { Archive, BellOff, CalendarDays, ChevronDown, ChevronRight, CircleAlert, CirclePause, FileText, Folder, Inbox, Lock, Mails, OctagonAlert, Send, Sparkles, Star, Trash, } from "../icons.js";
4
4
  import { cn } from "../lib/cn.js";
5
5
  import { collapseFolderTree, folderAncestors, orderFolderNodes, } from "../lib/folder-tree.js";
6
6
  import { isLabelColorValue, labelDotClass } from "../lib/label-color.js";
@@ -18,20 +18,31 @@ function navItemClassName({ active, dimmed, indent, }) {
18
18
  ? "bg-accent-2-soft font-medium text-accent-2"
19
19
  : "text-fg-muted hover:bg-surface hover:text-fg", dimmed && "opacity-55");
20
20
  }
21
- function NavItemInner({ icon, label, count, active, failure, }) {
22
- return (_jsxs(_Fragment, { children: [icon && (_jsx("span", { className: cn("shrink-0", active ? "text-accent-2" : "text-fg-subtle"), children: icon })), _jsx("span", { className: "flex-1 truncate", children: label }), failure && (_jsx(CircleAlert, { className: "size-3.5 shrink-0 text-danger", "aria-hidden": "true" })), count != null && count > 0 && (_jsx("span", { className: cn("text-2xs tabular-nums", active ? "text-accent-2" : "text-fg-subtle"), children: count }))] }));
21
+ function NavItemInner({ icon, label, count, active, failed, }) {
22
+ return (_jsxs(_Fragment, { children: [icon && (_jsx("span", { className: cn("shrink-0", active ? "text-accent-2" : "text-fg-subtle"), children: icon })), _jsx("span", { className: "flex-1 truncate", children: label }), failed && (_jsx(CircleAlert, { className: "size-3.5 shrink-0 text-danger", "aria-hidden": "true" })), count != null && count > 0 && (_jsx("span", { className: cn("text-2xs tabular-nums", active ? "text-accent-2" : "text-fg-subtle"), children: count }))] }));
23
+ }
24
+ /**
25
+ * A folder the mail server refuses to open. It is not a destination, so it is
26
+ * neither a link nor in the arrow-key group, and its reason stays on screen
27
+ * because a phone never shows a tooltip.
28
+ */
29
+ function UnavailableNavItem({ label, text, dimmed, }) {
30
+ return (_jsxs("div", { role: "note", "aria-label": `${label} — ${text}`, className: cn("flex w-full cursor-not-allowed items-start gap-2 rounded-md px-2 py-1 text-sm text-fg-subtle", dimmed && "opacity-55"), children: [_jsx(Lock, { className: "mt-0.5 size-4 shrink-0", "aria-hidden": "true" }), _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate italic", children: label }), _jsx("span", { className: "block text-2xs", children: text })] })] }));
23
31
  }
24
32
  /**
25
33
  * A navigation entry. Renders a real anchor through `linkComponent` when given a
26
34
  * `navId` (preserving middle-click / deep-link / link a11y); otherwise a button
27
35
  * with programmatic `onClick`. Non-navigational toggles never pass a navId.
28
36
  */
29
- function NavItem({ icon, label, count, active, dimmed, indent, navId, linkComponent, ariaLabel, title, failure, onClick, }) {
37
+ function NavItem({ icon, label, count, active, dimmed, indent, navId, linkComponent, ariaLabel, title, note, onClick, }) {
38
+ if (note?.kind === "unavailable") {
39
+ return (_jsx(UnavailableNavItem, { label: label, text: note.text, dimmed: dimmed }));
40
+ }
30
41
  const className = navItemClassName({ active, dimmed, indent });
31
- const inner = (_jsx(NavItemInner, { icon: icon, label: label, count: count, active: active, failure: failure }));
42
+ const inner = (_jsx(NavItemInner, { icon: icon, label: label, count: count, active: active, failed: note !== undefined }));
32
43
  const name = ariaLabel ?? label;
33
- const announced = failure ? `${name} — ${failure}` : name;
34
- const tooltip = failure ? `${title ?? label} — ${failure}` : title;
44
+ const announced = note ? `${name} — ${note.text}` : name;
45
+ const tooltip = note ? `${title ?? label} — ${note.text}` : title;
35
46
  if (navId && linkComponent) {
36
47
  return linkComponent({
37
48
  navId,
@@ -42,7 +53,7 @@ function NavItem({ icon, label, count, active, dimmed, indent, navId, linkCompon
42
53
  children: inner,
43
54
  });
44
55
  }
45
- return (_jsx("button", { type: "button", onClick: onClick, className: className, "aria-label": failure ? announced : ariaLabel, title: tooltip, children: inner }));
56
+ return (_jsx("button", { type: "button", onClick: onClick, className: className, "aria-label": note ? announced : ariaLabel, title: tooltip, children: inner }));
46
57
  }
47
58
  /* System mailboxes render in a fixed, scannable order; a mailbox with no `role`
48
59
  is a custom folder shown under a collapsible header. The role is the single
@@ -175,9 +186,9 @@ function AccountNav({ account, selectedNavId, onSelectNav, linkComponent, }) {
175
186
  const mailOff = account.syncedServices !== undefined &&
176
187
  !account.syncedServices.includes("Mail");
177
188
  const isEmpty = status === "ready" && system.length === 0 && folders.length === 0;
178
- return (_jsxs("div", { className: "mt-3", children: [_jsxs("button", { type: "button", onClick: toggleAccount, "aria-expanded": accountOpen, className: cn("flex w-full items-center gap-1.5 px-2 pb-1 text-left transition-colors hover:text-fg", FOCUS_RING, account.muted && "opacity-55"), children: [accountOpen ? (_jsx(ChevronDown, { className: "size-3 shrink-0 text-fg-subtle" })) : (_jsx(ChevronRight, { className: "size-3 shrink-0 text-fg-subtle" })), _jsx("span", { className: "truncate text-2xs font-semibold uppercase tracking-wider text-fg-subtle", children: account.label }), account.muted && (_jsxs(_Fragment, { children: [_jsx(BellOff, { className: "size-3 shrink-0 text-fg-subtle" }), _jsx("span", { className: "text-2xs text-fg-subtle", children: "muted" })] })), mailOff && (_jsxs(_Fragment, { children: [_jsx(CirclePause, { className: "size-3 shrink-0 text-fg-subtle" }), _jsx("span", { className: "text-2xs text-fg-subtle", children: ACCOUNT_SERVICE_OFF_LABEL.Mail })] }))] }), accountOpen && (_jsxs(_Fragment, { children: [status === "loading" && (_jsx("div", { className: "px-2 py-1 text-sm text-fg-muted", children: "Loading\u2026" })), status === "error" && (_jsxs("div", { role: "alert", className: "mx-2 my-1 flex items-start gap-2 rounded-md border border-danger/40 bg-danger-soft px-2 py-1.5 text-sm", children: [_jsx(CircleAlert, { className: "mt-0.5 size-4 shrink-0 text-danger", "aria-hidden": "true" }), _jsx("div", { className: "min-w-0 flex-1", children: _jsx("p", { className: "font-medium text-danger", children: "Couldn't load mailboxes" }) }), account.onRetry && (_jsx("button", { type: "button", onClick: account.onRetry, className: "shrink-0 text-sm font-medium text-accent hover:underline", children: "Retry" }))] })), isEmpty && (_jsx("div", { className: "px-2 py-1 text-sm text-fg-muted", children: "No mailboxes" })), status === "ready" && (_jsxs(_Fragment, { children: [system.map((mb) => (_jsx(NavItem, { navId: mb.id, linkComponent: linkComponent, icon: roleIcon(mb.role), label: mb.name, ariaLabel: mb.name, title: mb.fullPath ?? mb.name, failure: mb.failure, count: mb.unseen, active: selectedNavId === mb.id, dimmed: account.muted, onClick: () => onSelectNav?.(mb.id) }, mb.id))), account.outboxPending !== undefined && (_jsx(NavItem, { navId: "outbox", linkComponent: linkComponent, icon: _jsx(Send, { className: "size-4" }), label: "Outbox", ariaLabel: "Outbox", count: account.outboxPending > 0
189
+ return (_jsxs("div", { className: "mt-3", children: [_jsxs("button", { type: "button", onClick: toggleAccount, "aria-expanded": accountOpen, className: cn("flex w-full items-center gap-1.5 px-2 pb-1 text-left transition-colors hover:text-fg", FOCUS_RING, account.muted && "opacity-55"), children: [accountOpen ? (_jsx(ChevronDown, { className: "size-3 shrink-0 text-fg-subtle" })) : (_jsx(ChevronRight, { className: "size-3 shrink-0 text-fg-subtle" })), _jsx("span", { className: "truncate text-2xs font-semibold uppercase tracking-wider text-fg-subtle", children: account.label }), account.muted && (_jsxs(_Fragment, { children: [_jsx(BellOff, { className: "size-3 shrink-0 text-fg-subtle" }), _jsx("span", { className: "text-2xs text-fg-subtle", children: "muted" })] })), mailOff && (_jsxs(_Fragment, { children: [_jsx(CirclePause, { className: "size-3 shrink-0 text-fg-subtle" }), _jsx("span", { className: "text-2xs text-fg-subtle", children: ACCOUNT_SERVICE_OFF_LABEL.Mail })] }))] }), accountOpen && (_jsxs(_Fragment, { children: [status === "loading" && (_jsx("div", { className: "px-2 py-1 text-sm text-fg-muted", children: "Loading\u2026" })), status === "error" && (_jsxs("div", { role: "alert", className: "mx-2 my-1 flex items-start gap-2 rounded-md border border-danger/40 bg-danger-soft px-2 py-1.5 text-sm", children: [_jsx(CircleAlert, { className: "mt-0.5 size-4 shrink-0 text-danger", "aria-hidden": "true" }), _jsx("div", { className: "min-w-0 flex-1", children: _jsx("p", { className: "font-medium text-danger", children: "Couldn't load mailboxes" }) }), account.onRetry && (_jsx("button", { type: "button", onClick: account.onRetry, className: "shrink-0 text-sm font-medium text-accent hover:underline", children: "Retry" }))] })), isEmpty && (_jsx("div", { className: "px-2 py-1 text-sm text-fg-muted", children: "No mailboxes" })), status === "ready" && (_jsxs(_Fragment, { children: [system.map((mb) => (_jsx(NavItem, { navId: mb.id, linkComponent: linkComponent, icon: roleIcon(mb.role), label: mb.name, ariaLabel: mb.name, title: mb.fullPath ?? mb.name, note: mb.note, count: mb.unseen, active: selectedNavId === mb.id, dimmed: account.muted, onClick: () => onSelectNav?.(mb.id) }, mb.id))), account.outboxPending !== undefined && (_jsx(NavItem, { navId: "outbox", linkComponent: linkComponent, icon: _jsx(Send, { className: "size-4" }), label: "Outbox", ariaLabel: "Outbox", count: account.outboxPending > 0
179
190
  ? account.outboxPending
180
- : undefined, active: selectedNavId === "outbox", dimmed: account.muted, onClick: () => onSelectNav?.("outbox") })), folders.length > 0 && (_jsxs(_Fragment, { children: [_jsxs("button", { type: "button", onClick: toggleFolders, "aria-expanded": foldersOpen, className: cn("mt-1 flex w-full items-center gap-1 px-2 py-1 text-left text-2xs font-semibold uppercase tracking-wider text-fg-subtle transition-colors hover:text-fg", FOCUS_RING), children: [foldersOpen ? (_jsx(ChevronDown, { className: "size-3 shrink-0" })) : (_jsx(ChevronRight, { className: "size-3 shrink-0" })), _jsx("span", { className: "flex-1", children: "Folders" }), _jsx("span", { className: "tabular-nums opacity-70", children: folders.length })] }), foldersOpen && (_jsxs(_Fragment, { children: [visibleRows.map(({ mailbox: mb, folder, depth, expanded: open }) => (_jsxs("div", { className: "flex items-center", style: { paddingLeft: `${depth * 0.75}rem` }, children: [parents.has(folder.path) ? (_jsx("button", { type: "button", onClick: () => toggleFolder(mb.id), "aria-expanded": open, "aria-label": `${open ? "Collapse" : "Expand"} ${mb.name}`, className: cn("flex size-5 shrink-0 items-center justify-center rounded text-fg-subtle transition-colors hover:text-fg", FOCUS_RING), children: open ? (_jsx(ChevronDown, { className: "size-3" })) : (_jsx(ChevronRight, { className: "size-3" })) })) : (_jsx("span", { className: "size-5 shrink-0" })), _jsx("div", { className: "min-w-0 flex-1", children: _jsx(NavItem, { navId: mb.id, linkComponent: linkComponent, icon: _jsx(Folder, { className: "size-4" }), label: mb.name, ariaLabel: mb.name, title: mb.fullPath ?? mb.name, failure: mb.failure, count: mb.unseen, active: selectedNavId === mb.id, dimmed: account.muted, onClick: () => onSelectNav?.(mb.id) }) })] }, mb.id))), (hiddenCount > 0 || showAllFolders) &&
191
+ : undefined, active: selectedNavId === "outbox", dimmed: account.muted, onClick: () => onSelectNav?.("outbox") })), folders.length > 0 && (_jsxs(_Fragment, { children: [_jsxs("button", { type: "button", onClick: toggleFolders, "aria-expanded": foldersOpen, className: cn("mt-1 flex w-full items-center gap-1 px-2 py-1 text-left text-2xs font-semibold uppercase tracking-wider text-fg-subtle transition-colors hover:text-fg", FOCUS_RING), children: [foldersOpen ? (_jsx(ChevronDown, { className: "size-3 shrink-0" })) : (_jsx(ChevronRight, { className: "size-3 shrink-0" })), _jsx("span", { className: "flex-1", children: "Folders" }), _jsx("span", { className: "tabular-nums opacity-70", children: folders.length })] }), foldersOpen && (_jsxs(_Fragment, { children: [visibleRows.map(({ mailbox: mb, folder, depth, expanded: open }) => (_jsxs("div", { className: "flex items-center", style: { paddingLeft: `${depth * 0.75}rem` }, children: [parents.has(folder.path) ? (_jsx("button", { type: "button", onClick: () => toggleFolder(mb.id), "aria-expanded": open, "aria-label": `${open ? "Collapse" : "Expand"} ${mb.name}`, className: cn("flex size-5 shrink-0 items-center justify-center rounded text-fg-subtle transition-colors hover:text-fg", FOCUS_RING), children: open ? (_jsx(ChevronDown, { className: "size-3" })) : (_jsx(ChevronRight, { className: "size-3" })) })) : (_jsx("span", { className: "size-5 shrink-0" })), _jsx("div", { className: "min-w-0 flex-1", children: _jsx(NavItem, { navId: mb.id, linkComponent: linkComponent, icon: _jsx(Folder, { className: "size-4" }), label: mb.name, ariaLabel: mb.name, title: mb.fullPath ?? mb.name, note: mb.note, count: mb.unseen, active: selectedNavId === mb.id, dimmed: account.muted, onClick: () => onSelectNav?.(mb.id) }) })] }, mb.id))), (hiddenCount > 0 || showAllFolders) &&
181
192
  rows.length > FOLDER_COLLAPSE_THRESHOLD && (_jsx("button", { type: "button", onClick: () => setShowAllFolders((all) => !all), className: cn("ml-7 flex items-center px-2 py-1 text-2xs font-medium text-accent transition-colors hover:underline", FOCUS_RING), children: showAllFolders
182
193
  ? "Show less"
183
194
  : `Show all (${rows.length})` }))] }))] }))] }))] }))] }));
@@ -88,6 +88,7 @@ export const SPAM_SCREEN_SENTENCES = {
88
88
  NeverSpam: "You marked this sender Never in Spam.",
89
89
  Vip: "This sender is a VIP.",
90
90
  WellKnown: "You know this sender well.",
91
+ KnownSender: "You have written to this sender before.",
91
92
  Newsletter: "It is a newsletter from a sender you already get mail from.",
92
93
  };
93
94
  export const filterScreenSentence = (filterName) => `Your filter "${filterName}" matched it.`;
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { NextUpCard, type NextUpCardProps, } from "./components/agenda-panels.js
11
11
  export { AppChrome, type AppChromeProps } from "./components/app-chrome.js";
12
12
  export { AppPasswordHint, type AppPasswordHintProps, } from "./components/app-password-hint.js";
13
13
  export { type AppShellLayoutContext, AppShellSlotted, type AppShellSlottedProps, useAppShellLayout, } from "./components/app-shell-slotted.js";
14
- export { type AppShellProps, type Density, INTELLIGENCE_MIN_WIDTH, type MessageListKeyboard, type MessageListSelection, type NarrowView, type NavAccount, type NavAccountStatus, type NavLabel, type NavLinkComponent, type NavLinkRenderProps, type NavMailbox, type NavMailboxRole, type PaneLayout, READING_PANE_MIN_WIDTH, resolvePaneLayout, type ThreadData, type ThreadMessageData, type ThreadRowData, type ThreadRowSpam, type ThreadSection, type TouchSeed, useContainerWidth, } from "./components/app-shell-types.js";
14
+ export { type AppShellProps, type Density, INTELLIGENCE_MIN_WIDTH, type MessageListKeyboard, type MessageListSelection, type NarrowView, type NavAccount, type NavAccountStatus, type NavLabel, type NavLinkComponent, type NavLinkRenderProps, type NavMailbox, type NavMailboxNote, type NavMailboxRole, type PaneLayout, READING_PANE_MIN_WIDTH, resolvePaneLayout, type ThreadData, type ThreadMessageData, type ThreadRowData, type ThreadRowSpam, type ThreadSection, type TouchSeed, useContainerWidth, } from "./components/app-shell-types.js";
15
15
  export { AppBar, type AppId, type AppSwitcherProps, type AppSwitchItem, AppTabBar, } from "./components/app-switcher.js";
16
16
  export { AppTopBar, type AppTopBarProps } from "./components/app-top-bar.js";
17
17
  export { type AttachmentDownloadState, type AttachmentItem, type AttachmentKind, AttachmentList, type AttachmentListProps, } from "./components/attachment-list.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/ui",
3
- "version": "0.0.242",
3
+ "version": "0.0.243",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",