@hanzo/app 0.2.55 → 0.2.57

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 (49) hide show
  1. package/dist/Board.js +121 -37
  2. package/dist/Boxes.js +16 -12
  3. package/dist/CalScheduler.js +81 -40
  4. package/dist/Chat.js +1 -2
  5. package/dist/Chrome.d.ts +4 -3
  6. package/dist/Chrome.js +7 -6
  7. package/dist/Contents.d.ts +1 -1
  8. package/dist/Contents.js +1 -2
  9. package/dist/Drive.js +121 -100
  10. package/dist/Inbox.js +7 -7
  11. package/dist/Market.js +15 -10
  12. package/dist/Meet.js +78 -48
  13. package/dist/Orgs.js +9 -10
  14. package/dist/Palette.d.ts +1 -1
  15. package/dist/Palette.js +1 -2
  16. package/dist/Schedule.js +15 -11
  17. package/dist/Settings.d.ts +1 -1
  18. package/dist/SettingsPane.js +2 -2
  19. package/dist/Shared.js +16 -11
  20. package/dist/Talk.js +4 -4
  21. package/dist/Terminals.js +3 -1
  22. package/dist/Usage.js +3 -3
  23. package/dist/WindowControls.js +5 -3
  24. package/dist/Work.js +51 -28
  25. package/dist/bots/Bots.js +129 -73
  26. package/dist/bots/runtime.js +103 -41
  27. package/dist/cast.d.ts +1 -1
  28. package/dist/cast.js +1 -1
  29. package/dist/failure.d.ts +1 -1
  30. package/dist/failure.js +1 -1
  31. package/dist/lib/limits.d.ts +1 -1
  32. package/dist/lib/limits.js +1 -1
  33. package/dist/lib/org.d.ts +3 -3
  34. package/dist/lib/org.js +4 -5
  35. package/dist/lib/orgname.d.ts +1 -1
  36. package/dist/lib/orgname.js +1 -1
  37. package/dist/lib/pay.d.ts +6 -2
  38. package/dist/lib/pay.js +15 -2
  39. package/dist/lib/plans.d.ts +1 -1
  40. package/dist/lib/plans.js +1 -1
  41. package/dist/lib/tier.d.ts +2 -2
  42. package/dist/lib/tier.js +6 -6
  43. package/dist/look.js +10 -8
  44. package/dist/recent.d.ts +1 -1
  45. package/dist/recent.js +1 -2
  46. package/dist/thread.js +1 -1
  47. package/package.json +3 -3
  48. package/dist/say.d.ts +0 -4
  49. package/dist/say.js +0 -7
package/dist/recent.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type Say } from './say.js';
1
+ import { type Say } from '@hanzo/i18n';
2
2
  export type Mode = 'chat' | 'dev';
3
3
  export interface Recent {
4
4
  kind: Mode;
package/dist/recent.js CHANGED
@@ -2,8 +2,7 @@
2
2
  // list a view makes of them. No React, so a spec reads it as it is. Every label
3
3
  // and heading is authored English written through `phrase`, so Recents.tsx draws
4
4
  // it through `t`; a heading that is a project's name is data and drawn as is.
5
- import { phrase } from '@hanzo/i18n';
6
- import { english } from './say.js';
5
+ import { phrase, english } from '@hanzo/i18n';
7
6
  export const PLAIN = { status: 'all', since: 'any', group: 'none', sort: 'activity' };
8
7
  const STATUSES = [
9
8
  { id: 'all', label: phrase('All') },
package/dist/thread.js CHANGED
@@ -35,7 +35,7 @@ import { attempt, bind, enlist, reread, snapshot, subscribe, sweep, tick, view }
35
35
  import { chord, named, said } from './chord.js';
36
36
  import { carry } from './stars.js';
37
37
  import { ShareDialog } from './Share.js';
38
- import { english } from './say.js';
38
+ import { english } from '@hanzo/i18n';
39
39
  /** Each client's last read of each shelf. */
40
40
  const last = new WeakMap();
41
41
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/app",
3
- "version": "0.2.55",
3
+ "version": "0.2.57",
4
4
  "description": "Hanzo's app: the shell and its apps (Home, Chat, Inbox, Contacts, Meet, Calendar, Drive, Board, Work, Bots), once, for every Hanzo surface.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -55,7 +55,7 @@
55
55
  "@hanzo/composer": ">=0.2.0",
56
56
  "@hanzo/event": ">=0.3.56",
57
57
  "@hanzo/gui": "^8.3.5",
58
- "@hanzo/i18n": ">=0.4.0",
58
+ "@hanzo/i18n": ">=0.5.4",
59
59
  "@hanzo/iam": ">=0.21.35",
60
60
  "@hanzo/logo": ">=1.0.26",
61
61
  "@hanzo/studio": ">=0.1.0",
@@ -76,7 +76,7 @@
76
76
  "@hanzo/design": "0.5.34",
77
77
  "@hanzo/event": "0.3.56",
78
78
  "@hanzo/gui": "8.3.5",
79
- "@hanzo/i18n": "0.4.0",
79
+ "@hanzo/i18n": "0.5.4",
80
80
  "@hanzo/iam": "0.21.35",
81
81
  "@hanzo/logo": "1.0.26",
82
82
  "@hanzo/studio": "0.1.0",
package/dist/say.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /** Authored English in, a sentence out, `{name}` arguments filled. */
2
- export type Say = (source: string, values?: Readonly<Record<string, string | number>>) => string;
3
- /** The English, for a caller that passes no `t`. */
4
- export declare const english: Say;
package/dist/say.js DELETED
@@ -1,7 +0,0 @@
1
- // `t` for a plain module. A room passes its own (`useI18n().t` from
2
- // @hanzo/i18n/react), so what the module says is in the reader's language; a
3
- // caller with none, a spec or a server, gets the English with its arguments
4
- // filled. No React, so a module that loads in plain Node can take it.
5
- import { translate } from '@hanzo/i18n';
6
- /** The English, for a caller that passes no `t`. */
7
- export const english = (source, values) => translate({}, source, values);