@ezychat/web 0.1.84 → 0.1.86

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.
Files changed (53) hide show
  1. package/dist-lib/assets/font-9f04f14429bb.woff2 +0 -0
  2. package/dist-lib/chunks/{admin-T9Qs91WR.js → admin-CGWT-MJA.js} +71 -59
  3. package/dist-lib/chunks/{admin-BSIc8-DD.js → admin-n8lWCbmd.js} +71 -59
  4. package/dist-lib/chunks/{common-BE996sRJ.js → common-BeKNf4n-.js} +43 -3
  5. package/dist-lib/chunks/{common-CBTam36M.js → common-jotvJJL9.js} +43 -3
  6. package/dist-lib/chunks/{inbox-C2IIv9Z3.js → inbox-D4VV1Cmg.js} +164 -59
  7. package/dist-lib/chunks/{inbox-BRsRaRZn.js → inbox-_dK6whtW.js} +164 -59
  8. package/dist-lib/ezychat-web.css +1 -1
  9. package/dist-lib/index.js +12065 -8683
  10. package/dist-lib/types/admin/AdminLayout.d.ts +21 -5
  11. package/dist-lib/types/admin/AgentDreamCard.d.ts +9 -0
  12. package/dist-lib/types/admin/AgentResolutionCard.d.ts +1 -1
  13. package/dist-lib/types/admin/DreamChangeDialog.d.ts +14 -0
  14. package/dist-lib/types/admin/HiddenChats.d.ts +16 -0
  15. package/dist-lib/types/admin/LiveTranslateSection.d.ts +6 -0
  16. package/dist-lib/types/admin/SendPermissionFields.d.ts +5 -2
  17. package/dist-lib/types/admin/TokenPermissionsDialog.d.ts +2 -2
  18. package/dist-lib/types/admin/connectors/ConnectorDetailPage.d.ts +1 -1
  19. package/dist-lib/types/admin/connectors/GitHubAccountCard.d.ts +8 -0
  20. package/dist-lib/types/admin/connectors/GitHubSettingsCard.d.ts +4 -0
  21. package/dist-lib/types/admin/connectors/catalog.d.ts +6 -6
  22. package/dist-lib/types/admin/connectors/connector-ui.d.ts +8 -0
  23. package/dist-lib/types/admin/connectors/google-connect.d.ts +1 -0
  24. package/dist-lib/types/api/chat-delete.d.ts +16 -0
  25. package/dist-lib/types/api/chat-hide.d.ts +21 -0
  26. package/dist-lib/types/api/connectors.d.ts +131 -0
  27. package/dist-lib/types/api/dream.d.ts +91 -0
  28. package/dist-lib/types/api/forward.d.ts +7 -0
  29. package/dist-lib/types/api/live-translate.d.ts +125 -0
  30. package/dist-lib/types/api/message-changes.d.ts +14 -0
  31. package/dist-lib/types/api/queries.d.ts +45 -1
  32. package/dist-lib/types/api/scheduled-tasks.d.ts +6 -6
  33. package/dist-lib/types/api/templates.d.ts +7 -0
  34. package/dist-lib/types/askezy/api.d.ts +2 -2
  35. package/dist-lib/types/auth/LoginPage.d.ts +1 -0
  36. package/dist-lib/types/auth/UserMenu.d.ts +2 -0
  37. package/dist-lib/types/extensions/index.d.ts +1 -1
  38. package/dist-lib/types/extensions/routes.d.ts +3 -1
  39. package/dist-lib/types/i18n/resources.d.ts +399 -8
  40. package/dist-lib/types/inbox/ChatListItem.d.ts +3 -1
  41. package/dist-lib/types/inbox/ConversationHeader.d.ts +6 -1
  42. package/dist-lib/types/inbox/DeleteChatDialog.d.ts +12 -0
  43. package/dist-lib/types/inbox/LiveTranslate.d.ts +54 -0
  44. package/dist-lib/types/lib/tips.d.ts +1 -1
  45. package/dist-lib/types/lib/version.d.ts +4 -0
  46. package/dist-lib/types/lite-import/steps.d.ts +7 -2
  47. package/dist-lib/types/nav/AccountPage.d.ts +2 -0
  48. package/dist-lib/types/nav/AppNav.d.ts +10 -0
  49. package/dist-lib/types/nav/MyLanguageField.d.ts +5 -0
  50. package/dist-lib/types/nav/PhoneBar.d.ts +14 -0
  51. package/dist-lib/types/nav/attention.d.ts +4 -0
  52. package/package.json +11 -10
  53. package/dist-lib/types/askezy/AskEzyButton.d.ts +0 -8
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Account → My language and "Send without preview" (off by default). My language defaults to
3
+ * the app language until the person picks one. Hidden while an admin has Live translate off.
4
+ */
5
+ export declare function MyLanguageField(): import("react").JSX.Element | null;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The phone app bar of a page reached from the bottom tabs (docs/features/app-navigation/design.md). A tab's own
3
+ * page has only its title; a page one level down (Members, Quick replies, …) has a back link to where it came from.
4
+ * `heading`: the title is the page's `h1` (a page with no title of its own, e.g. the Settings list); otherwise it
5
+ * repeats the page's own heading and stays plain text, so a page never has two `h1`s.
6
+ */
7
+ export declare function PhoneBar({ title, back, heading, }: {
8
+ title: string;
9
+ back?: {
10
+ to: string;
11
+ label: string;
12
+ };
13
+ heading?: boolean;
14
+ }): import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ /** True when a WhatsApp number of a current (not removed) inbox needs an admin; always false for others. */
2
+ export declare function useNumberAttention(): boolean;
3
+ /** The page of the numbers: WhatsApp in Lite (one number), Inboxes in an edition with several. */
4
+ export declare function useNumbersPath(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezychat/web",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "type": "module",
5
5
  "description": "EzyChat core: the team inbox web app (React) as a library, with createInboxApp and its extension API.",
6
6
  "license": "MIT",
@@ -40,22 +40,23 @@
40
40
  "build:lib": "node ../../scripts/build-web-lib.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@ezychat/shared": "0.1.84",
43
+ "@ezychat/shared": "0.1.86",
44
44
  "@fontsource-variable/inter": "^5.3.0",
45
- "@tanstack/react-query": "^5.105.0",
45
+ "@tanstack/react-query": "^5.107.1",
46
46
  "@types/react": "^19.3.0",
47
47
  "@types/react-dom": "^19.3.0",
48
48
  "class-variance-authority": "^0.7.1",
49
49
  "clsx": "^2.1.1",
50
50
  "cmdk": "^1.1.1",
51
51
  "cn": "^0.5.0",
52
+ "country-flag-emoji-polyfill": "0.1.10",
52
53
  "date-fns": "^4.4.0",
53
- "i18next": "^26.5.11",
54
- "lucide-react": "^1.59.0",
54
+ "i18next": "^27.1.1",
55
+ "lucide-react": "^1.71.0",
55
56
  "next-themes": "^0.4.6",
56
57
  "nspell": "2.1.5",
57
58
  "opus-recorder": "8.0.5",
58
- "pdfjs-dist": "6.4.299",
59
+ "pdfjs-dist": "6.5.438",
59
60
  "qrcode.react": "^4.2.0",
60
61
  "radix-ui": "^1.8.1",
61
62
  "react": "^19.3.1",
@@ -69,17 +70,17 @@
69
70
  "vaul": "^1.1.2"
70
71
  },
71
72
  "devDependencies": {
72
- "@tailwindcss/vite": "^4.3.4",
73
+ "@tailwindcss/vite": "^4.3.5",
73
74
  "@testing-library/dom": "^10.4.2",
74
75
  "@testing-library/jest-dom": "^7.0.1",
75
76
  "@testing-library/react": "^16.3.3",
76
- "@testing-library/user-event": "^14.6.8",
77
+ "@testing-library/user-event": "^14.6.9",
77
78
  "@types/nspell": "2.1.6",
78
- "@vitejs/plugin-react": "^6.2.1",
79
+ "@vitejs/plugin-react": "^6.3.0",
79
80
  "dictionary-en-gb": "3.0.0",
80
81
  "jsdom": "^30.1.3",
81
82
  "tailwindcss": "^4.3.3",
82
- "vite": "^8.3.5",
83
+ "vite": "^8.3.7",
83
84
  "vite-plugin-pwa": "^2.0.0",
84
85
  "workbox-cacheable-response": "^7.4.1",
85
86
  "workbox-expiration": "^7.4.1",
@@ -1,8 +0,0 @@
1
- import { type AskEzyRequest } from './AskEzyContext';
2
- /** Opens Ask Ezy. `compact` shows only the icon (phone headers); the label stays for screen readers. */
3
- export declare function AskEzyButton({ request, compact, variant, className, }: {
4
- request?: AskEzyRequest;
5
- compact?: boolean;
6
- variant?: 'ghost' | 'outline';
7
- className?: string;
8
- }): import("react").JSX.Element | null;