@remit/web-client 0.0.256 → 0.0.257

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.256",
3
+ "version": "0.0.257",
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": {
@@ -5,7 +5,6 @@
5
5
  "drafts": "Entwürfe",
6
6
  "trash": "Papierkorb",
7
7
  "archive": "Archiv",
8
- "spam": "Spam",
9
8
  "junk": "Spam",
10
9
  "flagged": "Markiert",
11
10
  "all": "Alle E-Mails"
@@ -1,26 +1,5 @@
1
1
  {
2
- "app": {
3
- "title": "Remit",
4
- "loading": "Loading...",
5
- "error": "Something went wrong"
6
- },
7
- "actions": {
8
- "save": "Save",
9
- "cancel": "Cancel",
10
- "delete": "Delete",
11
- "close": "Close",
12
- "confirm": "Confirm"
13
- },
14
- "pagination": {
15
- "previous": "Previous",
16
- "next": "Next",
17
- "page": "Page {{current}} of {{total}}",
18
- "showing": "Showing {{from}}-{{to}} of {{total}}"
19
- },
20
2
  "accessibility": {
21
- "skipToContent": "Skip to main content",
22
- "loading": "Loading content",
23
- "menuOpen": "Open menu",
24
- "menuClose": "Close menu"
3
+ "skipToContent": "Skip to main content"
25
4
  }
26
5
  }
@@ -5,65 +5,8 @@
5
5
  "drafts": "Drafts",
6
6
  "trash": "Trash",
7
7
  "archive": "Archive",
8
- "spam": "Spam",
9
8
  "junk": "Spam",
10
9
  "flagged": "Starred",
11
- "all": "All Mail",
12
- "noAccounts": "No accounts configured",
13
- "noMailboxes": "No mailboxes"
14
- },
15
- "emptyState": {
16
- "selectMailbox": "Select a mailbox to view messages",
17
- "selectMessage": "Select a message to read",
18
- "noMessages": "No messages in this mailbox",
19
- "messageNotFound": "Message not found"
20
- },
21
- "inbox": {
22
- "title": "Inbox",
23
- "empty": "No messages in your inbox",
24
- "emptyFiltered": "No {{filter}} messages",
25
- "noSubject": "(No subject)"
26
- },
27
- "thread": {
28
- "messageCount": "{{count}} message",
29
- "messageCount_other": "{{count}} messages",
30
- "unreadCount": "{{count}} unread",
31
- "participants": "{{count}} participant",
32
- "participants_other": "{{count}} participants"
33
- },
34
- "filters": {
35
- "all": "All",
36
- "unread": "Unread",
37
- "starred": "Starred",
38
- "attachments": "Has attachments"
39
- },
40
- "actions": {
41
- "compose": "Compose",
42
- "reply": "Reply",
43
- "replyAll": "Reply all",
44
- "forward": "Forward",
45
- "archive": "Archive",
46
- "markRead": "Mark as read",
47
- "markUnread": "Mark as unread",
48
- "star": "Star",
49
- "unstar": "Remove star",
50
- "moveToTrash": "Move to trash"
51
- },
52
- "compose": {
53
- "title": "New message",
54
- "description": "Compose a new email message",
55
- "to": "To",
56
- "cc": "Cc",
57
- "bcc": "Bcc",
58
- "subject": "Subject",
59
- "body": "Message",
60
- "send": "Send",
61
- "discard": "Discard",
62
- "attachFiles": "Attach files"
63
- },
64
- "time": {
65
- "justNow": "Just now",
66
- "today": "Today",
67
- "yesterday": "Yesterday"
10
+ "all": "All Mail"
68
11
  }
69
12
  }
@@ -5,7 +5,6 @@
5
5
  "drafts": "Brouillons",
6
6
  "trash": "Corbeille",
7
7
  "archive": "Archives",
8
- "spam": "Indésirables",
9
8
  "junk": "Indésirables",
10
9
  "flagged": "Suivis",
11
10
  "all": "Tous les messages"
@@ -5,7 +5,6 @@
5
5
  "drafts": "Concepten",
6
6
  "trash": "Prullenbak",
7
7
  "archive": "Archief",
8
- "spam": "Ongewenst",
9
8
  "junk": "Ongewenst",
10
9
  "flagged": "Met ster",
11
10
  "all": "Alle berichten"
@@ -17,7 +17,6 @@ import {
17
17
  useRef,
18
18
  useState,
19
19
  } from "react";
20
- import { useTranslation } from "react-i18next";
21
20
  import { Drawer } from "vaul";
22
21
  import { ErrorState } from "@/components/ui/ErrorState";
23
22
  import { useFolderAppointments } from "@/hooks/useArchiveMailbox";
@@ -86,7 +85,6 @@ export const MoveToTrigger = ({
86
85
  const triggerRef = useRef<HTMLButtonElement>(null);
87
86
  const triggerLabel = label ?? "Move to folder";
88
87
  const popoverId = useId();
89
- const { t } = useTranslation("mail", { useSuspense: false });
90
88
  const translator = useFolderLabelTranslator();
91
89
 
92
90
  const {
@@ -223,12 +221,8 @@ export const MoveToTrigger = ({
223
221
  // drawer runs its own focus and must not raise a phone keyboard.
224
222
  autoFocusFilter={isDesktop}
225
223
  labels={{
226
- filterPlaceholder: t("move_picker_filter_placeholder", {
227
- defaultValue: "Filter folders…",
228
- }),
229
- filterAriaLabel: t("move_picker_filter_label", {
230
- defaultValue: "Filter folders",
231
- }),
224
+ filterPlaceholder: "Filter folders…",
225
+ filterAriaLabel: "Filter folders",
232
226
  }}
233
227
  />
234
228
  );