@alfadocs/ui-kit 0.46.0 → 0.47.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 (80) hide show
  1. package/dist/_chunks/alia-sidebar-CVIPrdc9.js +1125 -0
  2. package/dist/_chunks/{audio-recorder-C1rhKhSN.js → audio-recorder-DC-v9YFW.js} +81 -91
  3. package/dist/_chunks/{chat-input-CQe7nR_v.js → chat-input-CFwc7JxL.js} +2 -1
  4. package/dist/_chunks/{chat-message-ASgGtj-L.js → chat-message-B5JpFj0F.js} +79 -73
  5. package/dist/_chunks/code-block-HoddNOKJ.js +106 -0
  6. package/dist/_chunks/download-CDF1sbL9.js +16 -0
  7. package/dist/_chunks/{editable-currency-cell-renderer-BEBUQl9P.js → editable-currency-cell-renderer-CLil9B29.js} +283 -293
  8. package/dist/_chunks/mic-B4Gog3Gi.js +16 -0
  9. package/dist/_chunks/pencil-CfQX-0Qc.js +21 -0
  10. package/dist/_chunks/{streaming-text-GH07yIYh.js → streaming-text-CfhDqtIT.js} +49 -45
  11. package/dist/_chunks/{workflow-map-BFNpzTiw.js → workflow-map-Djn1QMJc.js} +135 -150
  12. package/dist/agent-catalog.json +1 -1
  13. package/dist/components/_shared/code-block.d.ts +39 -0
  14. package/dist/components/audio-recorder/index.js +1 -1
  15. package/dist/components/chat-input/index.js +1 -1
  16. package/dist/components/chat-message/chat-message.d.ts +6 -0
  17. package/dist/components/chat-message/index.js +1 -1
  18. package/dist/components/data-table/index.js +1 -1
  19. package/dist/components/streaming-text/index.js +1 -1
  20. package/dist/components/workflow/index.js +1 -1
  21. package/dist/i18n/locales/ar.d.ts +15 -0
  22. package/dist/i18n/locales/ar.js +16 -1
  23. package/dist/i18n/locales/de.d.ts +15 -0
  24. package/dist/i18n/locales/de.js +16 -1
  25. package/dist/i18n/locales/el.d.ts +15 -0
  26. package/dist/i18n/locales/el.js +16 -1
  27. package/dist/i18n/locales/en.d.ts +15 -0
  28. package/dist/i18n/locales/en.js +16 -1
  29. package/dist/i18n/locales/es.d.ts +15 -0
  30. package/dist/i18n/locales/es.js +16 -1
  31. package/dist/i18n/locales/fr.d.ts +15 -0
  32. package/dist/i18n/locales/fr.js +16 -1
  33. package/dist/i18n/locales/hi.d.ts +15 -0
  34. package/dist/i18n/locales/hi.js +16 -1
  35. package/dist/i18n/locales/it.d.ts +15 -0
  36. package/dist/i18n/locales/it.js +16 -1
  37. package/dist/i18n/locales/ja.d.ts +15 -0
  38. package/dist/i18n/locales/ja.js +16 -1
  39. package/dist/i18n/locales/nl.d.ts +15 -0
  40. package/dist/i18n/locales/nl.js +16 -1
  41. package/dist/i18n/locales/pl.d.ts +15 -0
  42. package/dist/i18n/locales/pl.js +16 -1
  43. package/dist/i18n/locales/pt.d.ts +15 -0
  44. package/dist/i18n/locales/pt.js +16 -1
  45. package/dist/i18n/locales/ro.d.ts +15 -0
  46. package/dist/i18n/locales/ro.js +16 -1
  47. package/dist/i18n/locales/ru.d.ts +15 -0
  48. package/dist/i18n/locales/ru.js +16 -1
  49. package/dist/i18n/locales/sq.d.ts +15 -0
  50. package/dist/i18n/locales/sq.js +16 -1
  51. package/dist/i18n/locales/sv.d.ts +15 -0
  52. package/dist/i18n/locales/sv.js +16 -1
  53. package/dist/i18n/locales/tr.d.ts +15 -0
  54. package/dist/i18n/locales/tr.js +16 -1
  55. package/dist/i18n/locales/zh.d.ts +15 -0
  56. package/dist/i18n/locales/zh.js +16 -1
  57. package/dist/index.js +7 -7
  58. package/dist/locales/ar.json +16 -1
  59. package/dist/locales/de.json +16 -1
  60. package/dist/locales/el.json +16 -1
  61. package/dist/locales/en.json +16 -1
  62. package/dist/locales/es.json +16 -1
  63. package/dist/locales/fr.json +16 -1
  64. package/dist/locales/hi.json +16 -1
  65. package/dist/locales/it.json +16 -1
  66. package/dist/locales/ja.json +16 -1
  67. package/dist/locales/nl.json +16 -1
  68. package/dist/locales/pl.json +16 -1
  69. package/dist/locales/pt.json +16 -1
  70. package/dist/locales/ro.json +16 -1
  71. package/dist/locales/ru.json +16 -1
  72. package/dist/locales/sq.json +16 -1
  73. package/dist/locales/sv.json +16 -1
  74. package/dist/locales/tr.json +16 -1
  75. package/dist/locales/zh.json +16 -1
  76. package/dist/patterns/alia-assistant/alia-types.d.ts +61 -0
  77. package/dist/patterns/alia-assistant/index.js +1 -1
  78. package/dist/tokens.css +1 -1
  79. package/package.json +1 -1
  80. package/dist/_chunks/alia-sidebar-Be8FhKYd.js +0 -837
@@ -1,44 +1,34 @@
1
1
  import { jsxs as R, jsx as s, Fragment as se } from "react/jsx-runtime";
2
- import { forwardRef as ne, useReducer as ae, useState as x, useRef as l, useEffect as N, useCallback as h, useMemo as de, useImperativeHandle as ce } from "react";
2
+ import { forwardRef as ae, useReducer as ne, useState as x, useRef as l, useEffect as D, useCallback as h, useMemo as de, useImperativeHandle as ce } from "react";
3
3
  import { c as oe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ue } from "react-i18next";
5
- import { B as J } from "./button-DD_0Xdmr.js";
6
- import { I as D } from "./icon-button-CKEOrN37.js";
5
+ import { B as G } from "./button-DD_0Xdmr.js";
6
+ import { I as N } from "./icon-button-CKEOrN37.js";
7
7
  import { S as pe } from "./select-hsCaJSX3.js";
8
8
  import { A as le } from "./audio-visualiser-l6zPd0AG.js";
9
9
  import { A as F } from "./alert-ywPR59NE.js";
10
10
  import { u as me } from "./registry-nPAVE19X.js";
11
- import { c as V } from "./createLucideIcon-CrFbzy84.js";
12
- import { S as fe } from "./square-CZoGU14v.js";
13
- import { X as ge } from "./x-CCcI3eJp.js";
11
+ import { M as fe } from "./mic-B4Gog3Gi.js";
12
+ import { c as J } from "./createLucideIcon-CrFbzy84.js";
13
+ import { S as ge } from "./square-CZoGU14v.js";
14
+ import { X as he } from "./x-CCcI3eJp.js";
14
15
  /**
15
16
  * @license lucide-react v1.8.0 - ISC
16
17
  *
17
18
  * This source code is licensed under the ISC license.
18
19
  * See the LICENSE file in the root directory of this source tree.
19
20
  */
20
- const he = [
21
- ["path", { d: "M12 19v3", key: "npa21l" }],
22
- ["path", { d: "M19 10v2a7 7 0 0 1-14 0v-2", key: "1vc78b" }],
23
- ["rect", { x: "9", y: "2", width: "6", height: "13", rx: "3", key: "s6n7sd" }]
24
- ], ve = V("mic", he);
25
- /**
26
- * @license lucide-react v1.8.0 - ISC
27
- *
28
- * This source code is licensed under the ISC license.
29
- * See the LICENSE file in the root directory of this source tree.
30
- */
31
- const ye = [
21
+ const ve = [
32
22
  ["rect", { x: "14", y: "3", width: "5", height: "18", rx: "1", key: "kaeet6" }],
33
23
  ["rect", { x: "5", y: "3", width: "5", height: "18", rx: "1", key: "1wsw3u" }]
34
- ], ke = V("pause", ye);
24
+ ], ye = J("pause", ve);
35
25
  /**
36
26
  * @license lucide-react v1.8.0 - ISC
37
27
  *
38
28
  * This source code is licensed under the ISC license.
39
29
  * See the LICENSE file in the root directory of this source tree.
40
30
  */
41
- const be = [
31
+ const ke = [
42
32
  [
43
33
  "path",
44
34
  {
@@ -46,7 +36,7 @@ const be = [
46
36
  key: "10ikf1"
47
37
  }
48
38
  ]
49
- ], Re = V("play", be), we = {
39
+ ], be = J("play", ke), Re = {
50
40
  id: "audio-recorder",
51
41
  capabilities: ["submit"],
52
42
  state: {
@@ -114,7 +104,7 @@ const be = [
114
104
  }
115
105
  }
116
106
  };
117
- function Me(r, u) {
107
+ function we(r, u) {
118
108
  switch (u.type) {
119
109
  case "request":
120
110
  return { kind: "requesting" };
@@ -162,15 +152,15 @@ const Ae = oe(
162
152
  },
163
153
  defaultVariants: { size: "md" }
164
154
  }
165
- ), xe = [
155
+ ), Me = [
166
156
  "audio/webm;codecs=opus",
167
157
  "audio/webm",
168
158
  "audio/mp4",
169
159
  "audio/ogg;codecs=opus"
170
160
  ];
171
- function Ne() {
161
+ function xe() {
172
162
  if (!(typeof MediaRecorder > "u")) {
173
- for (const r of xe)
163
+ for (const r of Me)
174
164
  if (MediaRecorder.isTypeSupported(r)) return r;
175
165
  }
176
166
  }
@@ -178,7 +168,7 @@ function De(r, u) {
178
168
  const m = Math.max(0, Math.floor(r / 1e3)), i = Math.floor(m / 60), f = m % 60, v = (S) => new Intl.NumberFormat(u, { minimumIntegerDigits: 2 }).format(S);
179
169
  return `${v(i)}:${v(f)}`;
180
170
  }
181
- const Se = ne(
171
+ const Ne = ae(
182
172
  ({
183
173
  size: r = "md",
184
174
  onRecordingComplete: u,
@@ -189,23 +179,23 @@ const Se = ne(
189
179
  className: S,
190
180
  ...I
191
181
  }, Q) => {
192
- const { t: d, i18n: W } = ue(), [t, p] = ae(Me, { kind: "idle" }), [z, T] = x(null), [Y, Z] = x(Date.now()), [E, ee] = x([]), [w, te] = x(""), c = l(null), y = l([]), _ = l(0), $ = l(0), g = l(null), B = l(!1), k = l(!1), H = l(0), b = typeof MediaRecorder < "u";
193
- N(() => {
182
+ const { t: d, i18n: W } = ue(), [t, p] = ne(we, { kind: "idle" }), [z, T] = x(null), [Y, Z] = x(Date.now()), [E, ee] = x([]), [w, te] = x(""), c = l(null), y = l([]), _ = l(0), V = l(0), g = l(null), B = l(!1), k = l(!1), H = l(0), b = typeof MediaRecorder < "u";
183
+ D(() => {
194
184
  var e;
195
- !b || !((e = navigator.mediaDevices) != null && e.enumerateDevices) || navigator.mediaDevices.enumerateDevices().then((n) => {
196
- const o = n.filter((a) => a.kind === "audioinput");
185
+ !b || !((e = navigator.mediaDevices) != null && e.enumerateDevices) || navigator.mediaDevices.enumerateDevices().then((a) => {
186
+ const o = a.filter((n) => n.kind === "audioinput");
197
187
  ee(o);
198
188
  }).catch(() => {
199
189
  });
200
- }, [b]), N(() => {
190
+ }, [b]), D(() => {
201
191
  if (t.kind !== "recording") return;
202
192
  const e = window.setInterval(() => Z(Date.now()), 250);
203
193
  return () => window.clearInterval(e);
204
194
  }, [t.kind]);
205
- const C = h(() => {
195
+ const $ = h(() => {
206
196
  const e = g.current ?? z;
207
- e == null || e.getTracks().forEach((n) => n.stop()), g.current = null, T(null);
208
- }, [z]), M = h(async () => {
197
+ e == null || e.getTracks().forEach((a) => a.stop()), g.current = null, T(null);
198
+ }, [z]), A = h(async () => {
209
199
  if (!b) {
210
200
  p({ type: "error", kind: "unsupported" }), i == null || i("unsupported");
211
201
  return;
@@ -216,17 +206,17 @@ const Se = ne(
216
206
  audio: w ? { deviceId: { exact: w } } : !0
217
207
  });
218
208
  if (B.current || k.current) {
219
- e.getTracks().forEach((a) => a.stop());
209
+ e.getTracks().forEach((n) => n.stop());
220
210
  return;
221
211
  }
222
212
  g.current = e, T(e);
223
- const n = Ne(), o = new MediaRecorder(
213
+ const a = xe(), o = new MediaRecorder(
224
214
  e,
225
- n ? { mimeType: n } : void 0
215
+ a ? { mimeType: a } : void 0
226
216
  );
227
- c.current = o, y.current = [], _.current = 0, o.ondataavailable = (a) => {
228
- var G;
229
- if (a.data && a.data.size > 0 && (y.current.push(a.data), _.current += a.data.size, typeof v == "number" && _.current >= v && ((G = c.current) == null ? void 0 : G.state) === "recording")) {
217
+ c.current = o, y.current = [], _.current = 0, o.ondataavailable = (n) => {
218
+ var X;
219
+ if (n.data && n.data.size > 0 && (y.current.push(n.data), _.current += n.data.size, typeof v == "number" && _.current >= v && ((X = c.current) == null ? void 0 : X.state) === "recording")) {
230
220
  i == null || i("max-size");
231
221
  try {
232
222
  c.current.stop();
@@ -235,16 +225,16 @@ const Se = ne(
235
225
  }
236
226
  }, o.onstop = () => {
237
227
  if (!k.current) {
238
- const a = new Blob(y.current, {
239
- type: n ?? "audio/webm"
228
+ const n = new Blob(y.current, {
229
+ type: a ?? "audio/webm"
240
230
  });
241
- u == null || u(a, $.current);
231
+ u == null || u(n, V.current);
242
232
  }
243
- y.current = [], c.current = null, e.getTracks().forEach((a) => a.stop()), g.current = null, T(null), k.current = !1;
233
+ y.current = [], c.current = null, e.getTracks().forEach((n) => n.stop()), g.current = null, T(null), k.current = !1;
244
234
  }, H.current = performance.now(), o.start(1e3), p({ type: "start" });
245
235
  } catch (e) {
246
- const n = e instanceof Error ? e.name : "";
247
- n === "NotAllowedError" || n === "SecurityError" ? (p({ type: "error", kind: "permission-denied" }), i == null || i("permission-denied")) : n === "NotFoundError" || n === "OverconstrainedError" ? (p({ type: "error", kind: "no-device" }), i == null || i("no-device")) : (p({ type: "error", kind: "capture-failed" }), i == null || i("capture-failed"));
236
+ const a = e instanceof Error ? e.name : "";
237
+ a === "NotAllowedError" || a === "SecurityError" ? (p({ type: "error", kind: "permission-denied" }), i == null || i("permission-denied")) : a === "NotFoundError" || a === "OverconstrainedError" ? (p({ type: "error", kind: "no-device" }), i == null || i("no-device")) : (p({ type: "error", kind: "capture-failed" }), i == null || i("capture-failed"));
248
238
  }
249
239
  }, [i, u, w, b]), re = h(() => {
250
240
  var e;
@@ -255,8 +245,8 @@ const Se = ne(
255
245
  }, []), q = h(() => {
256
246
  var e;
257
247
  if (t.kind === "recording" || t.kind === "paused") {
258
- const n = t.startedAt, o = t.pausedMs, a = Date.now() - n - o;
259
- $.current = Math.max(0, a), p({ type: "stop", duration: a });
248
+ const a = t.startedAt, o = t.pausedMs, n = Date.now() - a - o;
249
+ V.current = Math.max(0, n), p({ type: "stop", duration: n });
260
250
  }
261
251
  try {
262
252
  (e = c.current) == null || e.stop();
@@ -269,46 +259,46 @@ const Se = ne(
269
259
  (e = c.current) == null || e.stop();
270
260
  } catch {
271
261
  }
272
- y.current = [], c.current = null, C(), p({ type: "cancel" }), m == null || m();
273
- }, [C, m]);
274
- N(() => {
262
+ y.current = [], c.current = null, $(), p({ type: "cancel" }), m == null || m();
263
+ }, [$, m]);
264
+ D(() => {
275
265
  if (t.kind !== "recording" || typeof f != "number" || f <= 0) return;
276
- const e = performance.now() - H.current - t.pausedMs, n = Math.max(0, f - e), o = window.setTimeout(() => {
277
- var a;
278
- if (((a = c.current) == null ? void 0 : a.state) === "recording") {
266
+ const e = performance.now() - H.current - t.pausedMs, a = Math.max(0, f - e), o = window.setTimeout(() => {
267
+ var n;
268
+ if (((n = c.current) == null ? void 0 : n.state) === "recording") {
279
269
  i == null || i("max-duration");
280
270
  try {
281
271
  c.current.stop();
282
272
  } catch {
283
273
  }
284
274
  }
285
- }, n);
275
+ }, a);
286
276
  return () => window.clearTimeout(o);
287
- }, [t, f, i]), N(() => () => {
288
- var e, n;
277
+ }, [t, f, i]), D(() => () => {
278
+ var e, a;
289
279
  B.current = !0;
290
280
  try {
291
281
  (e = c.current) == null || e.stop();
292
282
  } catch {
293
283
  }
294
- (n = g.current) == null || n.getTracks().forEach((o) => o.stop()), g.current = null;
284
+ (a = g.current) == null || a.getTracks().forEach((o) => o.stop()), g.current = null;
295
285
  }, []);
296
286
  const j = t.kind === "recording" ? Y - t.startedAt - t.pausedMs : t.kind === "paused" ? t.pausedAt - t.startedAt - t.pausedMs : t.kind === "stopped" ? t.duration : 0, P = de(
297
287
  () => ({
298
288
  isRecording: () => t.kind === "recording",
299
289
  getDuration: () => j,
300
290
  hasRecording: () => t.kind === "stopped",
301
- startRecording: () => M(),
291
+ startRecording: () => A(),
302
292
  stopRecording: () => q(),
303
293
  discard: () => K()
304
294
  }),
305
- [t, j, M, q, K]
295
+ [t, j, A, q, K]
306
296
  );
307
- ce(Q, () => P, [P]), me(we, P, I.id);
308
- const O = E.map((e) => ({
297
+ ce(Q, () => P, [P]), me(Re, P, I.id);
298
+ const C = E.map((e) => ({
309
299
  value: e.deviceId,
310
300
  label: e.label || d("chat.audio.selectDevice")
311
- })), L = (() => {
301
+ })), O = (() => {
312
302
  switch (t.kind) {
313
303
  case "idle":
314
304
  return d("chat.audio.idle");
@@ -323,7 +313,7 @@ const Se = ne(
323
313
  case "error":
324
314
  return t.type === "permission-denied" ? d("chat.audio.permissionDenied") : t.type === "unsupported" ? d("chat.audio.unsupported") : d("chat.audio.idle");
325
315
  }
326
- })(), A = t.kind === "recording", U = t.kind === "paused", X = t.kind === "error";
316
+ })(), M = t.kind === "recording", L = t.kind === "paused", U = t.kind === "error";
327
317
  return /* @__PURE__ */ R(
328
318
  "div",
329
319
  {
@@ -339,9 +329,9 @@ const Se = ne(
339
329
  "aria-hidden": "true",
340
330
  className: [
341
331
  "ds:relative ds:inline-flex ds:size-3 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)]",
342
- A ? "ds:bg-[color:var(--destructive)]" : "ds:bg-[color:var(--muted)]"
332
+ M ? "ds:bg-[color:var(--destructive)]" : "ds:bg-[color:var(--muted)]"
343
333
  ].join(" "),
344
- children: A ? /* @__PURE__ */ s(
334
+ children: M ? /* @__PURE__ */ s(
345
335
  "span",
346
336
  {
347
337
  className: [
@@ -373,44 +363,44 @@ const Se = ne(
373
363
  }
374
364
  )
375
365
  ] }),
376
- /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: L }),
366
+ /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: O }),
377
367
  /* @__PURE__ */ R("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
378
- t.kind === "idle" || t.kind === "stopped" || X ? /* @__PURE__ */ s(
379
- J,
368
+ t.kind === "idle" || t.kind === "stopped" || U ? /* @__PURE__ */ s(
369
+ G,
380
370
  {
381
371
  intent: "primary",
382
372
  size: "sm",
383
- startIcon: /* @__PURE__ */ s(ve, {}),
384
- onClick: M,
373
+ startIcon: /* @__PURE__ */ s(fe, {}),
374
+ onClick: A,
385
375
  disabled: !b,
386
376
  children: d("chat.audio.record")
387
377
  }
388
378
  ) : null,
389
- A ? /* @__PURE__ */ s(
390
- D,
379
+ M ? /* @__PURE__ */ s(
380
+ N,
391
381
  {
392
- icon: /* @__PURE__ */ s(ke, {}),
382
+ icon: /* @__PURE__ */ s(ye, {}),
393
383
  "aria-label": d("chat.audio.pause"),
394
384
  intent: "secondary",
395
385
  size: "sm",
396
386
  onClick: re
397
387
  }
398
388
  ) : null,
399
- U ? /* @__PURE__ */ s(
400
- D,
389
+ L ? /* @__PURE__ */ s(
390
+ N,
401
391
  {
402
- icon: /* @__PURE__ */ s(Re, {}),
392
+ icon: /* @__PURE__ */ s(be, {}),
403
393
  "aria-label": d("chat.audio.resume"),
404
394
  intent: "secondary",
405
395
  size: "sm",
406
396
  onClick: ie
407
397
  }
408
398
  ) : null,
409
- A || U ? /* @__PURE__ */ R(se, { children: [
399
+ M || L ? /* @__PURE__ */ R(se, { children: [
410
400
  /* @__PURE__ */ s(
411
- D,
401
+ N,
412
402
  {
413
- icon: /* @__PURE__ */ s(fe, {}),
403
+ icon: /* @__PURE__ */ s(ge, {}),
414
404
  "aria-label": d("chat.audio.stop"),
415
405
  intent: "primary",
416
406
  size: "sm",
@@ -418,9 +408,9 @@ const Se = ne(
418
408
  }
419
409
  ),
420
410
  /* @__PURE__ */ s(
421
- D,
411
+ N,
422
412
  {
423
- icon: /* @__PURE__ */ s(ge, {}),
413
+ icon: /* @__PURE__ */ s(he, {}),
424
414
  "aria-label": d("chat.audio.cancel"),
425
415
  intent: "ghost",
426
416
  size: "sm",
@@ -428,11 +418,11 @@ const Se = ne(
428
418
  }
429
419
  )
430
420
  ] }) : null,
431
- t.kind === "idle" && O.length > 1 ? /* @__PURE__ */ s("div", { className: "ds:ms-auto ds:min-w-[160px]", children: /* @__PURE__ */ s(
421
+ t.kind === "idle" && C.length > 1 ? /* @__PURE__ */ s("div", { className: "ds:ms-auto ds:min-w-[160px]", children: /* @__PURE__ */ s(
432
422
  pe,
433
423
  {
434
424
  "aria-label": d("chat.audio.selectDevice"),
435
- options: O,
425
+ options: C,
436
426
  value: w,
437
427
  onValueChange: (e) => te(e),
438
428
  size: "sm",
@@ -440,18 +430,18 @@ const Se = ne(
440
430
  }
441
431
  ) }) : null
442
432
  ] }),
443
- X && t.kind === "error" ? /* @__PURE__ */ R(F, { variant: "error", live: "polite", children: [
444
- /* @__PURE__ */ s(F.Description, { children: L }),
445
- t.type === "permission-denied" ? /* @__PURE__ */ s(F.Action, { children: /* @__PURE__ */ s(J, { intent: "ghost", size: "sm", onClick: M, children: d("chat.audio.retry") }) }) : null
433
+ U && t.kind === "error" ? /* @__PURE__ */ R(F, { variant: "error", live: "polite", children: [
434
+ /* @__PURE__ */ s(F.Description, { children: O }),
435
+ t.type === "permission-denied" ? /* @__PURE__ */ s(F.Action, { children: /* @__PURE__ */ s(G, { intent: "ghost", size: "sm", onClick: A, children: d("chat.audio.retry") }) }) : null
446
436
  ] }) : null
447
437
  ]
448
438
  }
449
439
  );
450
440
  }
451
441
  );
452
- Se.displayName = "AudioRecorder";
442
+ Ne.displayName = "AudioRecorder";
453
443
  export {
454
- Se as A,
455
- we as a
444
+ Ne as A,
445
+ Re as a
456
446
  };
457
- //# sourceMappingURL=audio-recorder-C1rhKhSN.js.map
447
+ //# sourceMappingURL=audio-recorder-DC-v9YFW.js.map
@@ -346,6 +346,7 @@ const Ke = ve(
346
346
  Ke.displayName = "ChatInput";
347
347
  export {
348
348
  Ke as C,
349
+ je as P,
349
350
  Ee as c
350
351
  };
351
- //# sourceMappingURL=chat-input-CQe7nR_v.js.map
352
+ //# sourceMappingURL=chat-input-CFwc7JxL.js.map