@burdenoff/fe-libs 2026.1029.11 → 2026.1030.1

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 (39) hide show
  1. package/dist/shared/assistant/i18nManifest.d.ts +18 -0
  2. package/dist/shared/assistant/i18nManifest.js +18 -0
  3. package/dist/shared/assistant/index.d.ts +4 -0
  4. package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +9 -1
  5. package/dist/shared/assistant/ui/AIAssistantPanel.js +194 -174
  6. package/dist/shared/assistant/ui/AssistantChatArea.d.ts +33 -0
  7. package/dist/shared/assistant/ui/AssistantChatArea.js +1463 -1397
  8. package/dist/shared/assistant/ui/AssistantLanguageMenu.d.ts +9 -1
  9. package/dist/shared/assistant/ui/AssistantLanguageMenu.js +22 -22
  10. package/dist/shared/assistant/ui/AssistantOverlay.d.ts +16 -2
  11. package/dist/shared/assistant/ui/AssistantOverlay.js +219 -200
  12. package/dist/shared/assistant/ui/assistantOverlayState.d.ts +16 -2
  13. package/dist/shared/assistant/ui/assistantOverlayState.js +57 -40
  14. package/dist/shared/assistant/ui/compact/AssistantConversationMenu.js +53 -52
  15. package/dist/shared/assistant/ui/compact/AssistantDiscardDraftDialog.js +3 -4
  16. package/dist/shared/assistant/ui/compact/AssistantLanguagePill.d.ts +29 -0
  17. package/dist/shared/assistant/ui/compact/AssistantLanguagePill.js +98 -0
  18. package/dist/shared/assistant/ui/compact/AssistantVoiceReady.d.ts +31 -0
  19. package/dist/shared/assistant/ui/compact/AssistantVoiceReady.js +41 -0
  20. package/dist/shared/assistant/ui/compact/AssistantWaitingChangeRow.d.ts +6 -0
  21. package/dist/shared/assistant/ui/compact/AssistantWaitingChangeRow.js +5 -5
  22. package/dist/shared/assistant/ui/compact/AssistantWindowHeader.d.ts +22 -5
  23. package/dist/shared/assistant/ui/compact/AssistantWindowHeader.js +45 -31
  24. package/dist/shared/assistant/ui/compact/windowView.d.ts +50 -0
  25. package/dist/shared/assistant/ui/compact/windowView.js +31 -0
  26. package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +6 -0
  27. package/dist/shared/assistant/ui/composer/AssistantComposer.js +90 -89
  28. package/dist/shared/assistant/ui/composer/AssistantModeMenu.d.ts +6 -0
  29. package/dist/shared/assistant/ui/composer/AssistantModeMenu.js +83 -83
  30. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +31 -0
  31. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +270 -166
  32. package/dist/shared/assistant/ui/voice/VoiceStage.d.ts +8 -0
  33. package/dist/shared/assistant/ui/voice/VoiceStage.js +10 -10
  34. package/dist/shared/assistant/voice/voiceStartedCue.d.ts +11 -0
  35. package/dist/shared/assistant/voice/voiceStartedCue.js +7 -0
  36. package/dist/shared-assistant.js +266 -262
  37. package/dist/ui/modal-shell.d.ts +6 -1
  38. package/dist/ui/modal-shell.js +7 -6
  39. package/package.json +1 -1
@@ -6,8 +6,8 @@ import { VoiceWaveform as s } from "./VoiceWaveform.js";
6
6
  import { VoiceStatusText as c } from "./VoiceStatusText.js";
7
7
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
8
8
  //#region src/shared/assistant/ui/voice/VoiceStage.tsx
9
- var f = ({ state: f, userCaption: p, assistantCaption: m, expanded: h, statusText: g, statusSuffix: _, rotateStatus: v, control: y, errorText: b = null, spokenChunks: x = null }) => {
10
- let S = a(), C = e(f) && i(x), w = e(f) ? m : t(f) ? p : null, T = /* @__PURE__ */ u(s, {
9
+ var f = ({ state: f, userCaption: p, assistantCaption: m, expanded: h, statusText: g, statusSuffix: _, rotateStatus: v, control: y, errorText: b = null, spokenChunks: x = null, compact: S = !1, compactControl: C }) => {
10
+ let w = a(), T = e(f) && i(x), E = e(f) ? m : t(f) ? p : null, D = /* @__PURE__ */ u(s, {
11
11
  active: n(f),
12
12
  settled: r(f),
13
13
  tone: f === "speaking" ? "speaking" : "listening",
@@ -16,7 +16,7 @@ var f = ({ state: f, userCaption: p, assistantCaption: m, expanded: h, statusTex
16
16
  return /* @__PURE__ */ d("div", {
17
17
  className: [
18
18
  "flex min-h-0 w-full flex-1 flex-col items-center",
19
- h ? "px-8" : "px-14",
19
+ h ? "px-8" : S ? "px-2" : "px-14",
20
20
  h ? "justify-start pt-[16vh]" : "justify-center"
21
21
  ].join(" "),
22
22
  "data-testid": "assistant-voice-stage",
@@ -39,15 +39,15 @@ var f = ({ state: f, userCaption: p, assistantCaption: m, expanded: h, statusTex
39
39
  children: b
40
40
  }) : /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
41
41
  className: h ? "mb-10" : "mb-5",
42
- children: S ? /* @__PURE__ */ u(S, {
42
+ children: w ? /* @__PURE__ */ u(w, {
43
43
  expanded: h,
44
- fallback: T
45
- }) : T
46
- }), w ? /* @__PURE__ */ u("div", {
47
- className: [h ? "mb-12 max-h-[46vh] w-full overflow-y-auto" : "mb-6 max-h-[38vh] w-full overflow-y-auto", C ? h ? "min-h-[4.875rem]" : "min-h-12" : ""].join(" "),
44
+ fallback: D
45
+ }) : D
46
+ }), E ? /* @__PURE__ */ u("div", {
47
+ className: [h ? "mb-12 max-h-[46vh] w-full overflow-y-auto" : "mb-6 max-h-[38vh] w-full overflow-y-auto", T ? h ? "min-h-[4.875rem]" : "min-h-12" : ""].join(" "),
48
48
  "data-caption-scroll": "",
49
49
  children: /* @__PURE__ */ u(o, {
50
- text: w,
50
+ text: E,
51
51
  role: e(f) ? "assistant" : "user",
52
52
  spokenChunks: x,
53
53
  expanded: h,
@@ -57,7 +57,7 @@ var f = ({ state: f, userCaption: p, assistantCaption: m, expanded: h, statusTex
57
57
  className: h ? "mb-12 h-[4.875rem]" : "mb-6 h-12",
58
58
  "aria-hidden": "true"
59
59
  })] }),
60
- y
60
+ S && C ? C : y
61
61
  ]
62
62
  });
63
63
  };
@@ -0,0 +1,11 @@
1
+ import { VoiceSessionBinding } from './voiceReopen';
2
+ /**
3
+ * Does moving a session's binding from `previous` to `next` show the cue?
4
+ *
5
+ * Only a session that was awaiting its own conversation, with a conversation
6
+ * open at its start, and that is now bound to a DIFFERENT conversation, was
7
+ * moved into a new one. Adopting the open placeholder binds to the same id; an
8
+ * attached entry leaves the binding alone; a session that was bound at the tap
9
+ * (the placeholder case) was never awaiting.
10
+ */
11
+ export declare function voiceStartedCueShows(previous: VoiceSessionBinding, next: VoiceSessionBinding): boolean;
@@ -0,0 +1,7 @@
1
+ import { isAwaitingOwnConversation as e } from "./voiceReopen.js";
2
+ //#region src/shared/assistant/voice/voiceStartedCue.ts
3
+ function t(t, n) {
4
+ return !e(t) || t.openAtStart === null ? !1 : typeof n == "string" && n !== t.openAtStart;
5
+ }
6
+ //#endregion
7
+ export { t as voiceStartedCueShows };