@nivaro/react 0.2.56 → 0.3.0

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 (59) hide show
  1. package/dist/components/slots/TasksSlot.js +31 -29
  2. package/dist/full.css +1 -1
  3. package/dist/hooks/useSessionRecorder.js +1 -1
  4. package/dist/index.d.ts +73 -1
  5. package/dist/index.js +515 -505
  6. package/dist/shared/components/ItemEditForm.js +666 -658
  7. package/dist/shared/components/MyWorkView.js +47 -37
  8. package/dist/shared/components/ProfileView.js +163 -144
  9. package/dist/shared/components/ai/AiPlanCard.js +427 -0
  10. package/dist/shared/components/ai/AiPlanChanges.js +117 -0
  11. package/dist/shared/components/ai/TaskDo.js +1022 -0
  12. package/dist/shared/components/chat/ChatAnalyticsView.js +19 -17
  13. package/dist/shared/components/chat/ChatPanel.js +1356 -1317
  14. package/dist/shared/components/chat/HuddleAnalyticsTab.js +198 -0
  15. package/dist/shared/components/chat/RoomHeaderMenu.js +78 -65
  16. package/dist/shared/components/chat/chat-core.js +273 -264
  17. package/dist/shared/components/chat/huddle/HuddleAudioUi.js +397 -0
  18. package/dist/shared/components/chat/huddle/HuddleCallBar.js +296 -0
  19. package/dist/shared/components/chat/huddle/HuddleCallLayer.js +180 -0
  20. package/dist/shared/components/chat/huddle/HuddleCamera.js +124 -0
  21. package/dist/shared/components/chat/huddle/HuddleCollab.js +320 -0
  22. package/dist/shared/components/chat/huddle/HuddleControls.js +82 -121
  23. package/dist/shared/components/chat/huddle/HuddleDraw.js +231 -0
  24. package/dist/shared/components/chat/huddle/HuddleLiveBadge.js +52 -0
  25. package/dist/shared/components/chat/huddle/HuddlePeoplePicker.js +143 -0
  26. package/dist/shared/components/chat/huddle/HuddleScheduleCard.js +190 -0
  27. package/dist/shared/components/chat/huddle/HuddleScheduleForm.js +188 -0
  28. package/dist/shared/components/chat/huddle/HuddleStage.js +184 -89
  29. package/dist/shared/components/chat/huddle/HuddleStageTools.js +197 -0
  30. package/dist/shared/components/chat/huddle/huddle-audio-logic.js +156 -0
  31. package/dist/shared/components/chat/huddle/huddle-audio.js +69 -0
  32. package/dist/shared/components/chat/huddle/huddle-calls.js +129 -0
  33. package/dist/shared/components/chat/huddle/huddle-camera.js +143 -0
  34. package/dist/shared/components/chat/huddle/huddle-collab-store.js +391 -0
  35. package/dist/shared/components/chat/huddle/huddle-device-prefs.js +55 -0
  36. package/dist/shared/components/chat/huddle/huddle-devices.js +99 -0
  37. package/dist/shared/components/chat/huddle/huddle-draw.js +226 -0
  38. package/dist/shared/components/chat/huddle/huddle-follow-bus.js +96 -0
  39. package/dist/shared/components/chat/huddle/huddle-hold.js +62 -0
  40. package/dist/shared/components/chat/huddle/huddle-link-quality.js +159 -0
  41. package/dist/shared/components/chat/huddle/huddle-live.js +82 -0
  42. package/dist/shared/components/chat/huddle/huddle-pip.js +343 -0
  43. package/dist/shared/components/chat/huddle/huddle-quality.js +22 -0
  44. package/dist/shared/components/chat/huddle/huddle-reactions.js +71 -0
  45. package/dist/shared/components/chat/huddle/huddle-ring-refused.js +34 -0
  46. package/dist/shared/components/chat/huddle/huddle-schedule.js +102 -0
  47. package/dist/shared/components/chat/huddle/huddle-sfu.js +176 -0
  48. package/dist/shared/components/chat/huddle/huddle-shortcuts.js +91 -0
  49. package/dist/shared/components/chat/huddle/huddle-speaking.js +100 -0
  50. package/dist/shared/components/chat/huddle/huddle-store.js +431 -157
  51. package/dist/shared/components/chat/huddle/useHuddle.js +46 -38
  52. package/dist/shared/components/chat/huddle/useHuddleAudio.js +35 -0
  53. package/dist/shared/components/item-edit/GroupSection.js +1 -0
  54. package/dist/shared/components/item-edit/RecordChatActions.js +68 -59
  55. package/dist/shared/components/item-edit/UserChip.js +145 -142
  56. package/dist/shared/components/panels/TaskPanel.js +51 -49
  57. package/dist/shared/components/support/TicketDetailSheet.js +57 -42
  58. package/dist/shared/lib/notification-sound.js +25 -16
  59. package/package.json +2 -1
@@ -0,0 +1,397 @@
1
+ import { jsxs as l, jsx as e, Fragment as V } from "react/jsx-runtime";
2
+ import { MicOff as U, WifiOff as X, ChevronDown as _, Settings2 as Q, Volume2 as q, Keyboard as z } from "lucide-react";
3
+ import { useState as m, useRef as b, useId as Z, useCallback as P, useEffect as g, useMemo as ee } from "react";
4
+ import { toast as te } from "sonner";
5
+ import { cn as f } from "../../../lib/utils.js";
6
+ import { Popover as v, PopoverTrigger as L, PopoverContent as y, PopoverAnchor as ae } from "../../ui/popover.js";
7
+ import { SimpleSelect as D } from "../../ui/SimpleSelect.js";
8
+ import { Skeleton as O } from "../../ui/skeleton.js";
9
+ import { Switch as re } from "../../ui/switch.js";
10
+ import { createLevelMeter as ne, speakerChoiceSupported as se, playTestTone as le } from "./huddle-audio.js";
11
+ import { HUDDLE_SHORTCUTS as oe, qualityTip as ie, isPseudoDevice as ce, meterFill as de } from "./huddle-audio-logic.js";
12
+ import { loadDevicePrefs as ue } from "./huddle-device-prefs.js";
13
+ import { listAudioDevices as pe, openMic as me, currentMicId as he, applyDevicePrefs as E } from "./huddle-devices.js";
14
+ import { huddleShortcuts as F } from "./huddle-shortcuts.js";
15
+ import { huddleSpeaking as fe } from "./huddle-speaking.js";
16
+ import { useHuddleShortcuts as be } from "./useHuddleAudio.js";
17
+ function Fe({
18
+ speaking: r,
19
+ children: n
20
+ }) {
21
+ return /* @__PURE__ */ l("span", { className: "relative inline-flex rounded-full", style: { lineHeight: 0 }, children: [
22
+ n,
23
+ /* @__PURE__ */ e(
24
+ "span",
25
+ {
26
+ "aria-hidden": !0,
27
+ className: f(
28
+ "pointer-events-none absolute -inset-[2px] rounded-full ring-2 ring-emerald-500 transition-opacity duration-150 dark:ring-emerald-400",
29
+ r ? "opacity-100 motion-safe:animate-pulse" : "opacity-0"
30
+ ),
31
+ "data-huddle-speaking": r ? "on" : "off"
32
+ }
33
+ )
34
+ ] });
35
+ }
36
+ const xe = {
37
+ 4: "bg-emerald-500 dark:bg-emerald-400",
38
+ 3: "bg-emerald-500 dark:bg-emerald-400",
39
+ 2: "bg-amber-500 dark:bg-amber-400",
40
+ 1: "bg-red-500 dark:bg-red-400"
41
+ };
42
+ function He({ name: r, quality: n }) {
43
+ const s = (n == null ? void 0 : n.bars) ?? 0, i = ie(r, n);
44
+ return /* @__PURE__ */ e(
45
+ "span",
46
+ {
47
+ role: "img",
48
+ "aria-label": i,
49
+ "data-tip": i,
50
+ "data-huddle-quality": s,
51
+ className: "inline-flex h-2.5 items-end gap-px",
52
+ children: [1, 2, 3, 4].map((a) => /* @__PURE__ */ e(
53
+ "span",
54
+ {
55
+ className: f(
56
+ "w-[2px] rounded-[1px]",
57
+ a <= s ? xe[s] : "bg-slate-300 dark:bg-slate-600"
58
+ ),
59
+ style: { height: `${3 + a * 2}px` }
60
+ },
61
+ a
62
+ ))
63
+ }
64
+ );
65
+ }
66
+ function We({ sharing: r }) {
67
+ return /* @__PURE__ */ l(
68
+ "div",
69
+ {
70
+ role: "status",
71
+ className: "mt-1.5 flex items-start gap-1.5 rounded-md border border-amber-200 bg-amber-50 px-2 py-1 text-[11.5px] text-amber-800 dark:border-amber-500/30 dark:bg-amber-500/10 dark:text-amber-200",
72
+ "data-huddle-poor": !0,
73
+ children: [
74
+ /* @__PURE__ */ e(X, { className: "mt-px h-3.5 w-3.5 shrink-0", strokeWidth: 2 }),
75
+ /* @__PURE__ */ l("span", { children: [
76
+ "Your connection is poor — others may hear you break up.",
77
+ r && " Your shared screen is sent at a lower quality until it recovers."
78
+ ] })
79
+ ]
80
+ }
81
+ );
82
+ }
83
+ function $e() {
84
+ return /* @__PURE__ */ l(
85
+ "span",
86
+ {
87
+ role: "status",
88
+ className: "inline-flex h-6 items-center gap-1 rounded-full bg-red-50 px-2 text-[11px] font-medium text-red-700 motion-safe:animate-in motion-safe:fade-in motion-safe:duration-150 dark:bg-red-500/15 dark:text-red-200",
89
+ "data-huddle-muted-talking": !0,
90
+ children: [
91
+ /* @__PURE__ */ e(U, { className: "h-3 w-3", strokeWidth: 2 }),
92
+ "You are muted — hold Space to talk"
93
+ ]
94
+ }
95
+ );
96
+ }
97
+ function ke({ read: r }) {
98
+ const n = b(null), s = b(r);
99
+ return s.current = r, g(() => {
100
+ let i = 0, a = 0;
101
+ const u = () => {
102
+ const c = de(s.current());
103
+ a = c > a ? c : a * 0.85 + c * 0.15, n.current && (n.current.style.transform = `scaleX(${a.toFixed(3)})`), i = requestAnimationFrame(u);
104
+ };
105
+ return i = requestAnimationFrame(u), () => cancelAnimationFrame(i);
106
+ }, []), /* @__PURE__ */ e(
107
+ "span",
108
+ {
109
+ "aria-hidden": !0,
110
+ className: "block h-1.5 w-full overflow-hidden rounded-full bg-slate-200 dark:bg-slate-700",
111
+ "data-huddle-meter": !0,
112
+ children: /* @__PURE__ */ e(
113
+ "span",
114
+ {
115
+ ref: n,
116
+ className: "block h-full w-full origin-left rounded-full bg-emerald-500 dark:bg-emerald-400",
117
+ style: { transform: "scaleX(0)" }
118
+ }
119
+ )
120
+ }
121
+ );
122
+ }
123
+ function A(r, n) {
124
+ const s = r.find((a) => a.deviceId === "default"), i = r.filter((a) => !ce(a));
125
+ return [
126
+ {
127
+ value: "",
128
+ label: s != null && s.label ? s.label.replace(/^Default\s*-\s*/i, "Default — ") : "System default"
129
+ },
130
+ ...i.map((a, u) => ({ value: a.deviceId, label: a.label || `${n} ${u + 1}` }))
131
+ ];
132
+ }
133
+ const ge = [
134
+ { key: "noiseSuppression", label: "Noise suppression", hint: "Filters out typing and fans" },
135
+ {
136
+ key: "echoCancellation",
137
+ label: "Echo cancellation",
138
+ hint: "Keeps your speakers out of your mic"
139
+ },
140
+ { key: "autoGainControl", label: "Automatic volume", hint: "Evens out how loud you sound" }
141
+ ];
142
+ function H({
143
+ mode: r,
144
+ muted: n,
145
+ onJoin: s,
146
+ onShortcuts: i
147
+ }) {
148
+ const [a, u] = m(ue), [c, $] = m(null), [N, w] = m(null), [C, S] = m(!1), h = b(null), x = se(), I = Z(), p = P(() => {
149
+ pe().then($);
150
+ }, []);
151
+ g(() => {
152
+ var o;
153
+ p();
154
+ const t = navigator.mediaDevices;
155
+ return (o = t == null ? void 0 : t.addEventListener) == null || o.call(t, "devicechange", p), () => {
156
+ var d;
157
+ return (d = t == null ? void 0 : t.removeEventListener) == null ? void 0 : d.call(t, "devicechange", p);
158
+ };
159
+ }, [p]);
160
+ const T = ee(
161
+ () => ({
162
+ micId: a.micId,
163
+ speakerId: null,
164
+ noiseSuppression: a.noiseSuppression,
165
+ echoCancellation: a.echoCancellation,
166
+ autoGainControl: a.autoGainControl
167
+ }),
168
+ [a.micId, a.noiseSuppression, a.echoCancellation, a.autoGainControl]
169
+ );
170
+ g(() => {
171
+ if (r !== "prejoin") return;
172
+ let t = !1;
173
+ return w(null), me(T).then((o) => {
174
+ if (t) {
175
+ for (const d of o.getTracks()) d.stop();
176
+ return;
177
+ }
178
+ h.current = { stream: o, meter: ne(o) }, p();
179
+ }).catch((o) => {
180
+ t || w(
181
+ (o == null ? void 0 : o.name) === "NotAllowedError" ? "Microphone access is blocked for this site." : "This microphone could not be started."
182
+ );
183
+ }), () => {
184
+ var o, d, M;
185
+ t = !0, (d = (o = h.current) == null ? void 0 : o.meter) == null || d.stop();
186
+ for (const J of ((M = h.current) == null ? void 0 : M.stream.getTracks()) ?? []) J.stop();
187
+ h.current = null;
188
+ };
189
+ }, [r, T, p]);
190
+ const G = P(
191
+ () => {
192
+ var t, o;
193
+ return r === "live" ? fe.selfLevel() : ((o = (t = h.current) == null ? void 0 : t.meter) == null ? void 0 : o.level()) ?? 0;
194
+ },
195
+ [r]
196
+ ), k = async (t) => {
197
+ if (u((d) => ({ ...d, ...t })), r === "prejoin") {
198
+ await E(t);
199
+ return;
200
+ }
201
+ await E(t) || te.error("That microphone could not be started — still using the previous one.");
202
+ }, R = async () => {
203
+ S(!0);
204
+ try {
205
+ await le(x ? a.speakerId ?? "" : "");
206
+ } finally {
207
+ S(!1);
208
+ }
209
+ }, B = r === "live" ? he() : null, K = a.micId && (c != null && c.mics.some((t) => t.deviceId === a.micId)) ? a.micId : "", Y = a.speakerId && (c != null && c.speakers.some((t) => t.deviceId === a.speakerId)) ? a.speakerId : "", j = "h-7 w-full gap-1 rounded-md border-slate-200 bg-white px-2 text-left text-[12px] dark:border-border dark:bg-card [&>span]:min-w-0 [&>span]:flex-1 [&>span]:truncate";
210
+ return /* @__PURE__ */ l("div", { className: "flex flex-col gap-3 text-[12px]", "data-huddle-devices": r, children: [
211
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-1.5", children: [
212
+ /* @__PURE__ */ e("span", { className: "text-[11.5px] font-medium text-slate-700 dark:text-slate-200", children: "Microphone" }),
213
+ c ? /* @__PURE__ */ e(
214
+ D,
215
+ {
216
+ value: K,
217
+ onChange: (t) => void k({ micId: t || null }),
218
+ options: A(c.mics, "Microphone"),
219
+ ariaLabel: "Microphone",
220
+ className: j,
221
+ triggerProps: { "data-huddle-mic": B ?? "" }
222
+ }
223
+ ) : /* @__PURE__ */ e(O, { className: "h-7 w-full" }),
224
+ N ? /* @__PURE__ */ e("span", { className: "text-[11px] text-red-600 dark:text-red-300", role: "alert", children: N }) : /* @__PURE__ */ l(V, { children: [
225
+ /* @__PURE__ */ e(ke, { read: G }),
226
+ /* @__PURE__ */ e("span", { className: "text-[11px] text-slate-500 dark:text-slate-400", children: r === "live" && n ? "You are muted — the bar still shows your level, nobody hears it." : "Say something — the bar should move." })
227
+ ] })
228
+ ] }),
229
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-1.5", children: [
230
+ /* @__PURE__ */ e("span", { className: "text-[11.5px] font-medium text-slate-700 dark:text-slate-200", children: "Speaker" }),
231
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-1.5", children: [
232
+ x && (c ? /* @__PURE__ */ e(
233
+ D,
234
+ {
235
+ value: Y,
236
+ onChange: (t) => void k({ speakerId: t || null }),
237
+ options: A(c.speakers, "Speaker"),
238
+ ariaLabel: "Speaker",
239
+ className: f(j, "min-w-0 flex-1")
240
+ }
241
+ ) : /* @__PURE__ */ e(O, { className: "h-7 min-w-0 flex-1" })),
242
+ /* @__PURE__ */ l(
243
+ "button",
244
+ {
245
+ type: "button",
246
+ onClick: () => void R(),
247
+ disabled: C,
248
+ className: f(
249
+ "flex h-7 shrink-0 items-center gap-1 rounded-md border border-slate-200 bg-white px-2 text-[11.5px] font-medium text-slate-700 transition-colors hover:bg-slate-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan disabled:opacity-60 dark:border-border dark:bg-card dark:text-slate-200 dark:hover:bg-white/5",
250
+ !x && "self-start"
251
+ ),
252
+ "data-huddle-test-speaker": !0,
253
+ children: [
254
+ /* @__PURE__ */ e(q, { className: "h-3.5 w-3.5", strokeWidth: 2 }),
255
+ C ? "Playing…" : "Test speaker"
256
+ ]
257
+ }
258
+ )
259
+ ] })
260
+ ] }),
261
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-2 border-t border-slate-200 pt-2.5 dark:border-border", children: ge.map((t) => /* @__PURE__ */ l("div", { className: "flex items-center justify-between gap-3", children: [
262
+ /* @__PURE__ */ l("label", { htmlFor: `${I}-${t.key}`, className: "flex min-w-0 cursor-pointer flex-col", children: [
263
+ /* @__PURE__ */ e("span", { className: "text-[12px] text-slate-700 dark:text-slate-200", children: t.label }),
264
+ /* @__PURE__ */ e("span", { className: "text-[11px] text-slate-500 dark:text-slate-400", children: t.hint })
265
+ ] }),
266
+ /* @__PURE__ */ e(
267
+ re,
268
+ {
269
+ id: `${I}-${t.key}`,
270
+ checked: a[t.key],
271
+ onCheckedChange: (o) => void k({ [t.key]: o }),
272
+ className: "h-4 w-7 [&>span]:h-3 [&>span]:w-3 [&>span]:data-[state=checked]:translate-x-3",
273
+ "data-huddle-toggle": t.key
274
+ }
275
+ )
276
+ ] }, t.key)) }),
277
+ r === "prejoin" ? /* @__PURE__ */ e(
278
+ "button",
279
+ {
280
+ type: "button",
281
+ onClick: s,
282
+ className: "flex h-8 items-center justify-center rounded-md bg-nvr-cyan text-[12px] font-medium text-white transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan focus-visible:ring-offset-2 dark:focus-visible:ring-offset-background",
283
+ "data-huddle-prejoin-join": !0,
284
+ children: "Join huddle"
285
+ }
286
+ ) : i && /* @__PURE__ */ l(
287
+ "button",
288
+ {
289
+ type: "button",
290
+ onClick: i,
291
+ className: "flex items-center justify-between rounded-md px-1 py-0.5 text-[11.5px] text-slate-600 transition-colors hover:bg-slate-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan dark:text-slate-300 dark:hover:bg-white/10",
292
+ children: [
293
+ /* @__PURE__ */ l("span", { className: "inline-flex items-center gap-1.5", children: [
294
+ /* @__PURE__ */ e(z, { className: "h-3.5 w-3.5", strokeWidth: 2 }),
295
+ "Keyboard shortcuts"
296
+ ] }),
297
+ /* @__PURE__ */ e(W, { children: "?" })
298
+ ]
299
+ }
300
+ )
301
+ ] });
302
+ }
303
+ function Ge({
304
+ muted: r,
305
+ variant: n = "gear"
306
+ }) {
307
+ const [s, i] = m(!1), a = b(!1);
308
+ return /* @__PURE__ */ l(v, { open: s, onOpenChange: i, children: [
309
+ /* @__PURE__ */ e(L, { asChild: !0, children: /* @__PURE__ */ e(
310
+ "button",
311
+ {
312
+ type: "button",
313
+ className: f(
314
+ "flex h-6 items-center justify-center rounded text-slate-600 transition-colors hover:bg-slate-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan dark:text-slate-300 dark:hover:bg-white/10",
315
+ n === "chevron" ? "w-4 text-slate-500 dark:text-slate-400" : "w-6",
316
+ s && "bg-slate-100 dark:bg-white/10"
317
+ ),
318
+ "aria-label": "Microphone and speaker settings",
319
+ "data-tip": "Microphone and speaker",
320
+ "data-huddle-device-button": !0,
321
+ children: n === "chevron" ? /* @__PURE__ */ e(_, { className: "h-3 w-3", strokeWidth: 2.25 }) : /* @__PURE__ */ e(Q, { className: "h-3.5 w-3.5", strokeWidth: 2 })
322
+ }
323
+ ) }),
324
+ /* @__PURE__ */ e(
325
+ y,
326
+ {
327
+ align: n === "chevron" ? "start" : "end",
328
+ className: "w-72 p-3",
329
+ onCloseAutoFocus: (u) => {
330
+ a.current && (a.current = !1, u.preventDefault(), F.setHelpOpen(!0));
331
+ },
332
+ children: s && /* @__PURE__ */ e(
333
+ H,
334
+ {
335
+ mode: "live",
336
+ muted: r,
337
+ onShortcuts: () => {
338
+ a.current = !0, i(!1);
339
+ }
340
+ }
341
+ )
342
+ }
343
+ )
344
+ ] });
345
+ }
346
+ function Re({
347
+ onJoin: r,
348
+ children: n
349
+ }) {
350
+ const [s, i] = m(!1);
351
+ return /* @__PURE__ */ l(v, { open: s, onOpenChange: i, children: [
352
+ /* @__PURE__ */ e(L, { asChild: !0, children: n }),
353
+ /* @__PURE__ */ e(y, { align: "end", className: "w-72 p-3", children: s && /* @__PURE__ */ l("div", { className: "flex flex-col gap-2.5", children: [
354
+ /* @__PURE__ */ l("div", { className: "flex flex-col", children: [
355
+ /* @__PURE__ */ e("span", { className: "text-[12.5px] font-semibold text-slate-800 dark:text-slate-100", children: "Check before you join" }),
356
+ /* @__PURE__ */ e("span", { className: "text-[11px] text-slate-500 dark:text-slate-400", children: "Pick a microphone and make sure the bar moves when you talk." })
357
+ ] }),
358
+ /* @__PURE__ */ e(
359
+ H,
360
+ {
361
+ mode: "prejoin",
362
+ onJoin: () => {
363
+ i(!1), r();
364
+ }
365
+ }
366
+ )
367
+ ] }) })
368
+ ] });
369
+ }
370
+ function W({ children: r }) {
371
+ return /* @__PURE__ */ e("kbd", { className: "inline-flex h-5 min-w-5 items-center justify-center rounded border border-slate-200 bg-slate-50 px-1 font-sans text-[10.5px] font-medium text-slate-600 dark:border-border dark:bg-muted dark:text-slate-300", children: r });
372
+ }
373
+ function Be() {
374
+ const { helpOpen: r } = be();
375
+ return /* @__PURE__ */ l(v, { open: r, onOpenChange: (n) => F.setHelpOpen(n), children: [
376
+ /* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ e("span", { "aria-hidden": !0, className: "w-0 self-stretch" }) }),
377
+ /* @__PURE__ */ l(y, { align: "end", className: "w-64 p-3", "data-huddle-shortcuts": !0, children: [
378
+ /* @__PURE__ */ e("div", { className: "mb-2 text-[12.5px] font-semibold text-slate-800 dark:text-slate-100", children: "Huddle shortcuts" }),
379
+ /* @__PURE__ */ e("ul", { className: "flex flex-col gap-1.5", children: oe.map((n) => /* @__PURE__ */ l("li", { className: "flex items-center justify-between gap-3 text-[12px]", children: [
380
+ /* @__PURE__ */ e("span", { className: "text-slate-600 dark:text-slate-300", children: n.label }),
381
+ /* @__PURE__ */ e("span", { className: "flex shrink-0 items-center gap-0.5", children: n.keys.map((s) => /* @__PURE__ */ e(W, { children: s }, s)) })
382
+ ] }, n.label)) }),
383
+ /* @__PURE__ */ e("p", { className: "mt-2.5 text-[11px] text-slate-500 dark:text-slate-400", children: "These work while you are in a huddle and not typing in a field. While you share, L asks once more before leaving." })
384
+ ] })
385
+ ] });
386
+ }
387
+ export {
388
+ H as DevicePanel,
389
+ Ge as DeviceSettingsButton,
390
+ ke as LevelMeter,
391
+ $e as MutedTalkingHint,
392
+ We as PoorConnectionBanner,
393
+ Re as PreJoinCheck,
394
+ He as QualityBars,
395
+ Be as ShortcutSheetAnchor,
396
+ Fe as SpeakingRing
397
+ };