@factorialco/f0-react 4.29.0 → 4.29.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.
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as r, Fragment as Re } from "react/jsx-runtime";
2
- import { useInsertionEffect as Zr, forwardRef as g, useRef as j, useEffect as K, useLayoutEffect as at, useState as P, useMemo as J, useCallback as z, createContext as Ge, useContext as Be, useId as ct, createElement as _r, memo as Or } from "react";
3
- import { cU as Ur, cV as zr, cW as Gr, cX as Wr, cY as lt, cZ as qr, c_ as Xr, c$ as Yr, d0 as Kr, d1 as Qr, d2 as dt, d3 as Jr, d4 as en, d5 as tn, d6 as rn, d7 as nn, d8 as on, d9 as sn, da as ze, db as an, dc as cn, dd as ln, de as dn, df as un, Z as ut, bX as fn, dg as hn, dh as gn, di as pn, dj as mn, b$ as ft, bW as Cn, dk as vn, a6 as i1, dl as wn, aK as xn, dm as kn, dn as Ln, dp as bn, ah as yn, dq as Mn, co as En, aa as ht, ad as Rn, dr as Fn, ba as a1, a1 as gt, S as We, bN as pt, bi as Nn, ds as Vn, dt as Sn, b3 as Tn, cn as An, $ as Fe, av as Hn, bm as mt, du as $n, cl as Bn, bV as Me, ch as In, dv as Pn, bP as Ct, b2 as jn, dw as Dn, dx as Zn, dy as _n, dz as On, dA as Un, dB as vt, ca as zn, cb as Gn, dC as Wn, dD as qn, dE as Xn, dF as Yn, dG as Kn, bw as Qn, bZ as Jn, dH as eo, dI as to, dJ as ro, dK as no, dL as oo, dM as so, dN as io, dO as ao, bv as co, cm as lo, ab as uo, c6 as fo, dP as ho, dQ as go, dR as po, dS as mo, dT as Co, dU as vo, dV as wo, aq as xo, bR as wt, M as ko, a0 as Lo, bK as xt, bO as bo, bQ as kt, dW as yo, bl as Mo, bk as Eo, dX as Ro, dY as Fo, bx as Lt, by as No, bz as Vo, b1 as So, az as To, dZ as Ao, at as Ho, bg as bt, bf as yt, b8 as $o, d_ as Mt, b7 as Bo, bY as c1, d$ as Io, bc as l1, e0 as Po, e1 as jo, e2 as d1, cj as Do, ci as Zo, ck as Et, e3 as _o, G as Oo, E as Uo, e4 as zo, e5 as Go, e6 as Wo, e7 as qo, bL as Xo, e8 as Rt, e9 as Yo, ac as Ko, ea as Qo, L as ue, o as L, q as Se, c0 as Jo, u as Y, bJ as es, U as ge, bI as Ft, H as fe, v as pe, a2 as ts, Q as ve, eb as rs, ae as le, aQ as ke, A as Ee, p as re, ct as Nt, aE as u1, ec as ns, aF as f1, aG as h1, b as be, bG as os, ed as ss, bH as is, V as as, b0 as cs, a5 as g1, bA as ls, bB as ds, bC as us, bD as E1, a3 as fs, al as Vt, aT as St, ee as hs, cA as gs, ef as ps, eg as ms, aY as Tt, eh as Cs, cu as vs, ei as ws, aV as $e, b9 as At, ej as Ht, bb as $t, c as n1, b_ as R1, ek as Bt, el as xs, bq as ks, em as Ls, bh as p1, c7 as bs, en as ys, eo as Ms, ep as Es, eq as Rs, er as Fs, a8 as Ns, af as Vs, y as Ss, z as Ts, ak as F1, es as It, et as Pt, eu as As, ev as Hs, aj as $s, a7 as Bs, ew as Is, ex as Ps, d as js } from "./F0CanvasPanel-BgGyMiWm.js";
2
+ import { useInsertionEffect as Zr, forwardRef as g, useRef as j, useEffect as K, useLayoutEffect as at, useState as P, useMemo as J, useCallback as z, createContext as We, useContext as Be, useId as ct, createElement as _r, memo as Or } from "react";
3
+ import { cU as Ur, cV as zr, cW as Gr, cX as Wr, cY as lt, cZ as qr, c_ as Xr, c$ as Yr, d0 as Kr, d1 as Qr, d2 as dt, d3 as Jr, d4 as en, d5 as tn, d6 as rn, d7 as nn, d8 as on, d9 as sn, da as Ge, db as an, dc as cn, dd as ln, de as dn, df as un, Z as ut, bX as fn, dg as hn, dh as gn, di as pn, dj as mn, b$ as ft, bW as Cn, dk as vn, a6 as i1, dl as wn, aK as xn, dm as kn, dn as Ln, dp as bn, ah as yn, dq as Mn, co as En, aa as ht, ad as Rn, dr as Fn, ba as a1, a1 as gt, S as qe, bN as pt, bi as Nn, ds as Vn, dt as Sn, b3 as Tn, cn as An, $ as Fe, av as Hn, bm as mt, du as $n, cl as Bn, bV as Me, ch as In, dv as Pn, bP as Ct, b2 as jn, dw as Dn, dx as Zn, dy as _n, dz as On, dA as Un, dB as vt, ca as zn, cb as Gn, dC as Wn, dD as qn, dE as Xn, dF as Yn, dG as Kn, bw as Qn, bZ as Jn, dH as eo, dI as to, dJ as ro, dK as no, dL as oo, dM as so, dN as io, dO as ao, bv as co, cm as lo, ab as uo, c6 as fo, dP as ho, dQ as go, dR as po, dS as mo, dT as Co, dU as vo, dV as wo, aq as xo, bR as wt, M as ko, a0 as Lo, bK as xt, bO as bo, bQ as kt, dW as yo, bl as Mo, bk as Eo, dX as Ro, dY as Fo, bx as Lt, by as No, bz as Vo, b1 as So, az as To, dZ as Ao, at as Ho, bg as bt, bf as yt, b8 as $o, d_ as Mt, b7 as Bo, bY as c1, d$ as Io, bc as l1, e0 as Po, e1 as jo, e2 as d1, cj as Do, ci as Zo, ck as Et, e3 as _o, G as Oo, E as Uo, e4 as zo, e5 as Go, e6 as Wo, e7 as qo, bL as Xo, e8 as Rt, e9 as Yo, ac as Ko, ea as Qo, L as ue, o as L, q as Se, c0 as Jo, u as Y, bJ as es, U as ge, bI as Ft, H as fe, v as pe, a2 as ts, Q as ve, eb as rs, ae as le, aQ as ke, A as Ee, p as re, ct as Nt, aE as u1, ec as ns, aF as f1, aG as h1, b as be, bG as os, ed as ss, bH as is, V as as, b0 as cs, a5 as g1, bA as ls, bB as ds, bC as us, bD as E1, a3 as fs, al as Vt, aT as St, ee as hs, cA as gs, ef as ps, eg as ms, aY as Tt, eh as Cs, cu as vs, ei as ws, aV as $e, b9 as At, ej as Ht, bb as $t, c as n1, b_ as R1, ek as Bt, el as xs, bq as ks, em as Ls, bh as p1, c7 as bs, en as ys, eo as Ms, ep as Es, eq as Rs, er as Fs, a8 as Ns, af as Vs, y as Ss, z as Ts, ak as F1, es as It, et as Pt, eu as As, ev as Hs, aj as $s, a7 as Bs, ew as Is, ex as Ps, d as js } from "./F0CanvasPanel-BgGyMiWm.js";
4
4
  import { createPortal as jt } from "react-dom";
5
5
  import { defaultTranslations as Ds } from "./i18n-provider-defaults.js";
6
6
  import { useTrackVolume as Zs } from "@livekit/components-react";
@@ -199,7 +199,7 @@ function oi(e) {
199
199
  latestValues: {}
200
200
  }
201
201
  }, n = rn(e) && !nn(e) ? new on(t) : new sn(t);
202
- n.mount(e), ze.set(e, n);
202
+ n.mount(e), Ge.set(e, n);
203
203
  }
204
204
  function si(e) {
205
205
  const t = {
@@ -212,7 +212,7 @@ function si(e) {
212
212
  latestValues: {}
213
213
  }
214
214
  }, n = new ni(t);
215
- n.mount(e), ze.set(e, n);
215
+ n.mount(e), Ge.set(e, n);
216
216
  }
217
217
  function ii(e, t) {
218
218
  return lt(e) || typeof e == "number" || typeof e == "string" && !m1(t);
@@ -226,8 +226,8 @@ function _t(e, t, n, o) {
226
226
  dt(!!a, "No valid elements provided.");
227
227
  for (let d = 0; d < a; d++) {
228
228
  const l = i[d], f = l instanceof Element ? oi : si;
229
- ze.has(l) || f(l);
230
- const u = ze.get(l), p = { ...n };
229
+ Ge.has(l) || f(l);
230
+ const u = Ge.get(l), p = { ...n };
231
231
  "delay" in p && typeof p.delay == "function" && (p.delay = p.delay(d, a)), s.push(...cn(u, { ...t, transition: p }, {}));
232
232
  }
233
233
  }
@@ -5471,7 +5471,7 @@ const bc = (e, t) => /* @__PURE__ */ c(
5471
5471
  CheckDouble: Fn,
5472
5472
  ChevronDown: a1,
5473
5473
  ChevronLeft: gt,
5474
- ChevronRight: We,
5474
+ ChevronRight: qe,
5475
5475
  ChevronUp: pt,
5476
5476
  Chip: da,
5477
5477
  Circle: Nn,
@@ -6734,20 +6734,20 @@ const Nl = Se({
6734
6734
  grow: Ae,
6735
6735
  shrink: we,
6736
6736
  // Responsive breakpoint overrides
6737
- sm: qe,
6738
- md: Xe,
6739
- lg: Ye,
6737
+ sm: Xe,
6738
+ md: Ye,
6739
+ lg: Ke,
6740
6740
  xl: Ie,
6741
- ...Ke
6742
- }, Qe) => {
6743
- const Ne = I && I !== "none" || te && te !== "none" || W && W !== "none" || ae && ae !== "none", Pe = q && q !== "none" || Ne, je = { sm: qe, md: Xe, lg: Ye, xl: Ie }, Je = Vl.map((De) => {
6744
- const Ze = je[De];
6745
- return Ze ? Fl(De, Ze) : "";
6741
+ ...Qe
6742
+ }, Pe) => {
6743
+ const Ne = I && I !== "none" || te && te !== "none" || W && W !== "none" || ae && ae !== "none", je = q && q !== "none" || Ne, De = { sm: Xe, md: Ye, lg: Ke, xl: Ie }, Je = Vl.map((Ze) => {
6744
+ const _e = De[Ze];
6745
+ return _e ? Fl(Ze, _e) : "";
6746
6746
  }).filter(Boolean).join(" ");
6747
6747
  return /* @__PURE__ */ r(
6748
6748
  "div",
6749
6749
  {
6750
- ref: Qe,
6750
+ ref: Pe,
6751
6751
  className: L(
6752
6752
  Ne && "border-0",
6753
6753
  Nl({
@@ -6811,11 +6811,11 @@ const Nl = Se({
6811
6811
  boxShadow: ce
6812
6812
  }),
6813
6813
  Je,
6814
- Pe && !_ && "border-f1-border",
6814
+ je && !_ && "border-f1-border",
6815
6815
  $ && !O && "divide-f1-border",
6816
6816
  "scrollbar-macos"
6817
6817
  ),
6818
- ...Ke
6818
+ ...Qe
6819
6819
  }
6820
6820
  );
6821
6821
  }
@@ -7880,8 +7880,8 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7880
7880
  searchPersons: h,
7881
7881
  textareaRef: I
7882
7882
  }), ye = j(""), Ve = z((Q) => {
7883
- const xe = ye.current, e1 = xe && !/\s$/.test(xe) ? " " : "", _e = `${xe}${e1}${Q}`;
7884
- S(_e), B(_e.length);
7883
+ const xe = ye.current, e1 = xe && !/\s$/.test(xe) ? " " : "", Oe = `${xe}${e1}${Q}`;
7884
+ S(Oe), B(Oe.length);
7885
7885
  }, []), Ae = {
7886
7886
  "permission-denied": k.ai.micPermissionDenied,
7887
7887
  "device-error": k.ai.micError,
@@ -7893,9 +7893,9 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7893
7893
  Ve(Q), I.current?.focus();
7894
7894
  },
7895
7895
  onError: (Q) => he(Ae[Q])
7896
- }), qe = !!m && we.isSupported, Xe = z(() => {
7896
+ }), Xe = !!m && we.isSupported, Ye = z(() => {
7897
7897
  ae?.onDictationStart?.(), ye.current = V, we.start();
7898
- }, [V, we, ae]), Ye = z(() => {
7898
+ }, [V, we, ae]), Ke = z(() => {
7899
7899
  ae?.onDictationCancel?.(), we.cancel();
7900
7900
  }, [we, ae]);
7901
7901
  K(() => {
@@ -7908,10 +7908,10 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7908
7908
  C(null);
7909
7909
  };
7910
7910
  }, [C, R]);
7911
- const Ie = we.status === "recording", Ke = Ie ? k.ai.listening : k.ai.inputPlaceholder, Qe = se.filter((Q) => Q.status === "uploaded"), Ne = se.some((Q) => Q.status === "uploading"), Pe = se.some((Q) => Q.status === "error"), je = V.trim().length > 0;
7911
+ const Ie = we.status === "recording", Qe = Ie ? k.ai.listening : k.ai.inputPlaceholder, Pe = se.filter((Q) => Q.status === "uploaded"), Ne = se.some((Q) => Q.status === "uploading"), je = se.some((Q) => Q.status === "error"), De = V.trim().length > 0 || Pe.length > 0;
7912
7912
  K(() => {
7913
7913
  if (!(!G || Ne)) {
7914
- if (ee(!1), Pe) {
7914
+ if (ee(!1), je) {
7915
7915
  he(k.ai.fileUploadBlockedSubmit);
7916
7916
  return;
7917
7917
  }
@@ -7920,7 +7920,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7920
7920
  }, [
7921
7921
  G,
7922
7922
  Ne,
7923
- Pe,
7923
+ je,
7924
7924
  he,
7925
7925
  k.ai.fileUploadBlockedSubmit
7926
7926
  ]);
@@ -7928,7 +7928,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7928
7928
  if (Q.preventDefault(), !W) {
7929
7929
  if (oe.close(), n)
7930
7930
  t?.();
7931
- else if (je && !Z) {
7931
+ else if (De && !Z) {
7932
7932
  if (Ne) {
7933
7933
  ee(!0), I.current?.focus();
7934
7934
  return;
@@ -7944,21 +7944,21 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
7944
7944
  U(!1);
7945
7945
  }
7946
7946
  }
7947
- const xe = oe.transformMentions(V.trim()), e1 = r2(xe), _e = Qe.flatMap(
7947
+ const xe = oe.transformMentions(V.trim()), e1 = r2(xe), Oe = Pe.flatMap(
7948
7948
  (M1) => M1.uploadedFile ? [M1.uploadedFile] : []
7949
7949
  ), b1 = d, y1 = f;
7950
7950
  b1 && l?.(null), y1 && u?.(null), await e({
7951
7951
  text: e1,
7952
- files: _e,
7952
+ files: Oe,
7953
7953
  context: b1,
7954
7954
  quote: y1
7955
7955
  }), S(""), O();
7956
7956
  }
7957
7957
  I.current?.focus();
7958
7958
  }
7959
- }, De = (Q) => {
7959
+ }, Ze = (Q) => {
7960
7960
  W || oe.handleKeyDown(Q) || Q.key === "Enter" && !Q.shiftKey && (Q.preventDefault(), n || q.current?.requestSubmit());
7961
- }, Ze = () => {
7961
+ }, _e = () => {
7962
7962
  B(I.current?.selectionStart ?? 0);
7963
7963
  }, $r = () => {
7964
7964
  te.current && I.current && (te.current.scrollTop = I.current.scrollTop);
@@ -8133,14 +8133,14 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
8133
8133
  onInputChange: (Q, xe) => {
8134
8134
  S(Q), B(xe);
8135
8135
  },
8136
- onKeyDown: De,
8137
- onCursorUpdate: Ze,
8136
+ onKeyDown: Ze,
8137
+ onCursorUpdate: _e,
8138
8138
  onScroll: $r,
8139
8139
  highlightSegments: Ir,
8140
8140
  hasOverlay: Pr,
8141
8141
  multiplePlaceholders: Br,
8142
8142
  placeholders: x1,
8143
- resolvedDefaultPlaceholder: Ke,
8143
+ resolvedDefaultPlaceholder: Qe,
8144
8144
  inProgress: n
8145
8145
  }
8146
8146
  ),
@@ -8154,14 +8154,14 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
8154
8154
  fileInputRef: ne,
8155
8155
  handleFileSelect: D,
8156
8156
  inProgress: n,
8157
- hasDataToSend: je,
8157
+ hasDataToSend: De,
8158
8158
  isPreSending: Z || G,
8159
- canRecord: qe,
8159
+ canRecord: Xe,
8160
8160
  recordingStatus: we.status,
8161
8161
  recordingStream: we.stream,
8162
- onStartRecording: Xe,
8162
+ onStartRecording: Ye,
8163
8163
  onStopRecording: we.stop,
8164
- onCancelRecording: Ye
8164
+ onCancelRecording: Ke
8165
8165
  }
8166
8166
  )
8167
8167
  ]
@@ -9102,7 +9102,7 @@ function mr({
9102
9102
  );
9103
9103
  }
9104
9104
  mr.displayName = "F0CanvasCard";
9105
- const v1 = Ge(null);
9105
+ const v1 = We(null);
9106
9106
  function $4({
9107
9107
  children: e
9108
9108
  }) {
@@ -9379,7 +9379,7 @@ function xr({ anchor: e, onReply: t }) {
9379
9379
  document.body
9380
9380
  );
9381
9381
  }
9382
- const kr = Ge(void 0), I4 = () => Be(kr), D2 = (e) => /* @__PURE__ */ r(Tt, { content: e, format: "markdown" }), Z2 = ({
9382
+ const kr = We(void 0), I4 = () => Be(kr), D2 = (e) => /* @__PURE__ */ r(Tt, { content: e, format: "markdown" }), Z2 = ({
9383
9383
  isGenerating: e,
9384
9384
  isLoading: t,
9385
9385
  message: n,
@@ -9463,7 +9463,7 @@ const kr = Ge(void 0), I4 = () => Be(kr), D2 = (e) => /* @__PURE__ */ r(Tt, { co
9463
9463
  ) })
9464
9464
  }
9465
9465
  );
9466
- }, Lr = Ge(null), O2 = ({ children: e }) => {
9466
+ }, Lr = We(null), O2 = ({ children: e }) => {
9467
9467
  const [t, n] = P(null), o = t ? {
9468
9468
  isOpen: !0,
9469
9469
  currentReaction: t.action,
@@ -9585,7 +9585,7 @@ const z2 = ({
9585
9585
  children: [
9586
9586
  /* @__PURE__ */ r("span", { className: "flex items-center justify-start h-6 w-6", children: /* @__PURE__ */ r(fe, { icon: e, className: "block" }) }),
9587
9587
  /* @__PURE__ */ r("div", { className: "min-h-6 flex items-center", children: /* @__PURE__ */ r("span", { children: t }) }),
9588
- !a && /* @__PURE__ */ r(fe, { icon: We })
9588
+ !a && /* @__PURE__ */ r(fe, { icon: qe })
9589
9589
  ]
9590
9590
  }
9591
9591
  ),
@@ -10055,7 +10055,7 @@ const s6 = {
10055
10055
  /* @__PURE__ */ r(ge, { className: "h-5 w-4/5 rounded-md" })
10056
10056
  ] }) }), j4 = {
10057
10057
  ai: Ds.ai
10058
- }, Mr = Ge(null);
10058
+ }, Mr = We(null);
10059
10059
  function D4({
10060
10060
  children: e,
10061
10061
  translations: t
@@ -10370,7 +10370,7 @@ const u6 = ({
10370
10370
  disabled: o || !s,
10371
10371
  label: l.ai.clarifyingQuestion.next,
10372
10372
  hideLabel: !0,
10373
- icon: We
10373
+ icon: qe
10374
10374
  }
10375
10375
  )
10376
10376
  ] }),
@@ -11842,7 +11842,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
11842
11842
  repeat: 1 / 0,
11843
11843
  repeatType: "mirror"
11844
11844
  };
11845
- function Oe(e) {
11845
+ function Ue(e) {
11846
11846
  const [t, n] = P(e), o = xs(e), s = j(null);
11847
11847
  _s(o, "change", (a) => n(a));
11848
11848
  const i = z(
@@ -11858,7 +11858,7 @@ function j6(e, t) {
11858
11858
  value: s,
11859
11859
  animate: i,
11860
11860
  motionValue: a
11861
- } = Oe(I6), { value: d, animate: l } = Oe($6), { value: f, animate: u } = Oe(B6), { value: p, animate: m } = Oe(P6), h = Zs(t, {
11861
+ } = Ue(I6), { value: d, animate: l } = Ue($6), { value: f, animate: u } = Ue(B6), { value: p, animate: m } = Ue(P6), h = Zs(t, {
11862
11862
  fftSize: 512,
11863
11863
  smoothingTimeConstant: 0.55
11864
11864
  });
@@ -12071,7 +12071,7 @@ const G4 = ({
12071
12071
  base: "text-lg font-semibold text-f1-foreground line-clamp-3"
12072
12072
  }), O6 = Se({
12073
12073
  base: "text-sm text-f1-foreground-secondary leading-normal"
12074
- }), Ue = Se({
12074
+ }), ze = Se({
12075
12075
  base: "text-sm font-medium text-f1-foreground leading-normal"
12076
12076
  }), U6 = ({
12077
12077
  description: e,
@@ -12147,7 +12147,7 @@ const G4 = ({
12147
12147
  size: "xs"
12148
12148
  }
12149
12149
  ),
12150
- n && /* @__PURE__ */ r("span", { className: L(Ue()), children: n })
12150
+ n && /* @__PURE__ */ r("span", { className: L(ze()), children: n })
12151
12151
  ] }),
12152
12152
  o === "people" && /* @__PURE__ */ r(
12153
12153
  ks,
@@ -12167,7 +12167,7 @@ const G4 = ({
12167
12167
  size: "xs"
12168
12168
  }
12169
12169
  ),
12170
- n && /* @__PURE__ */ r("span", { className: L(Ue()), children: n })
12170
+ n && /* @__PURE__ */ r("span", { className: L(ze()), children: n })
12171
12171
  ] }),
12172
12172
  o === "company" && /* @__PURE__ */ c("div", { className: "flex items-center gap-1", children: [
12173
12173
  /* @__PURE__ */ r(
@@ -12178,7 +12178,7 @@ const G4 = ({
12178
12178
  size: "xs"
12179
12179
  }
12180
12180
  ),
12181
- n && /* @__PURE__ */ r("span", { className: L(Ue()), children: n })
12181
+ n && /* @__PURE__ */ r("span", { className: L(ze()), children: n })
12182
12182
  ] }),
12183
12183
  o === "alert" && /* @__PURE__ */ r(bs, { text: e.alertLabel, level: e.level }),
12184
12184
  o === "balance" && /* @__PURE__ */ r(G6, { balance: e.balance })
@@ -12188,7 +12188,7 @@ const G4 = ({
12188
12188
  n && !z6.has(o) && /* @__PURE__ */ r(
12189
12189
  re.span,
12190
12190
  {
12191
- className: L(Ue()),
12191
+ className: L(ze()),
12192
12192
  animate: { opacity: s ? 0 : 1 },
12193
12193
  transition: i,
12194
12194
  children: n
@@ -12544,7 +12544,7 @@ const s4 = ({
12544
12544
  /* @__PURE__ */ r(
12545
12545
  fe,
12546
12546
  {
12547
- icon: We,
12547
+ icon: qe,
12548
12548
  className: "h-4 w-4 transition-transform duration-200"
12549
12549
  }
12550
12550
  )
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-BgGyMiWm.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CWq-9fMx.js";
3
+ import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CpBDY7Y_.js";
4
4
  export {
5
5
  P as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
package/dist/f0.js CHANGED
@@ -3,8 +3,8 @@ import { hZ as Ye, C as Xe, D as Se, aR as xe, c as Ve, F as Ie, a as Re, hS as
3
3
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import * as React from "react";
5
5
  import React__default, { forwardRef, useRef, useImperativeHandle, Children, createContext, useContext, useState, useMemo, useEffect, useCallback, useLayoutEffect, isValidElement, Fragment as Fragment$1, memo, useReducer, cloneElement, useId, useSyncExternalStore } from "react";
6
- import { D as AIButton, E as ForwardRef$1, G as animate, H as ForwardRef$f, I as ForwardRef$j, J as ForwardRef$k, K as ForwardRef$o, L as ForwardRef$t, M as ForwardRef$x, N as ForwardRef$z, O as F0Box, P as ForwardRef$J, Q as ForwardRef$K, R as ForwardRef$L, S as ForwardRef$M, U as ForwardRef$N, F as FormCardValueFormatterProvider } from "./F0AiProcessingOverlay-CWq-9fMx.js";
7
- import { A as ta, C as ea, t as ia, s as aa, v as na, y as la, l as ra, i as sa, q as oa, z as ca, B as da, p as ua, r as ha, j as ma, e as pa, g as ba, k as Za, T as ya, w as Ma, h as Na, a as ga, n as Wa, m as Ta, o as Ga, b as fa, f as va, x as La, c as Ya, d as Xa, u as Sa } from "./F0AiProcessingOverlay-CWq-9fMx.js";
6
+ import { D as AIButton, E as ForwardRef$1, G as animate, H as ForwardRef$f, I as ForwardRef$j, J as ForwardRef$k, K as ForwardRef$o, L as ForwardRef$t, M as ForwardRef$x, N as ForwardRef$z, O as F0Box, P as ForwardRef$J, Q as ForwardRef$K, R as ForwardRef$L, S as ForwardRef$M, U as ForwardRef$N, F as FormCardValueFormatterProvider } from "./F0AiProcessingOverlay-CpBDY7Y_.js";
7
+ import { A as ta, C as ea, t as ia, s as aa, v as na, y as la, l as ra, i as sa, q as oa, z as ca, B as da, p as ua, r as ha, j as ma, e as pa, g as ba, k as Za, T as ya, w as Ma, h as Na, a as ga, n as Wa, m as Ta, o as Ga, b as fa, f as va, x as La, c as Ya, d as Xa, u as Sa } from "./F0AiProcessingOverlay-CpBDY7Y_.js";
8
8
  import { createPortal, unstable_batchedUpdates } from "react-dom";
9
9
  import { C as Carousel, F as F0SegmentedControl, ah as isFieldRequired, ai as evaluateRenderIf, aj as buildDynamicSchema, ak as renderFieldInput, al as useF0Form, am as F0Form, G as F0ActionBar, an as F0FormSection, ao as nanoid, ap as dequal, Y as F0TableOfContent, a8 as Dialog$1, aq as FormMessage, Q as F0NumberInput, ar as EmojiPicker, as as data, c as ReorderItem, R as ReorderGroup, u as useDragControls, W as ResourceHeader, O as OneEmptyState, at as UpsellRequestResponseDialog, au as Label$1, av as UpsellingButton, o as BaseBanner, d as useDataCollectionSource, $ as OneDataCollection, aw as extractDisplayValue, ax as navigationFilterTypes, ay as NavigationFilters, az as DialogDescription, aA as PrivacyModeProvider, M as MotionConfig } from "./useDataCollectionSource-C27vc_VB.js";
10
10
  import { r as Va, s as Ia, H as Ra, t as wa, z as za, aR as Da, aQ as Ca, aM as ka, aC as Oa, aB as Fa, aD as ja, aE as Ea, aa as Ua, a9 as Ja, ad as Pa, U as Ka, J as Ha, af as Aa, K as Qa, v as Ba, aS as $a, ab as qa, ac as tn, N as en, w as an, P as nn, y as ln, D as rn, ae as sn, T as on, ag as dn, x as un, E as hn, aU as mn, m as pn, n as bn, aL as Zn, aH as yn, aG as Mn, aT as Nn, a6 as gn, aJ as Wn, aK as Tn, I as Gn, aV as fn, aW as vn, e as Ln, aN as Yn, aO as Xn, aP as Sn, aI as xn, f as Vn, h as In, aF as Rn, aX as wn } from "./useDataCollectionSource-C27vc_VB.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "4.29.0",
3
+ "version": "4.29.1",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",