@factorialco/f0-react 1.411.1 → 1.413.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.
package/dist/ai.d.ts CHANGED
@@ -37,6 +37,11 @@ declare type AiChatDisclaimer = {
37
37
  linkText?: string;
38
38
  };
39
39
 
40
+ /**
41
+ * Interaction mode for the AI chat
42
+ */
43
+ export declare type AiChatMode = "chat" | "voice";
44
+
40
45
  /**
41
46
  * Props for the AiChatProvider component
42
47
  */
@@ -73,6 +78,10 @@ export declare type AiChatProviderProps = {
73
78
  * Optional footer content rendered below the textarea
74
79
  */
75
80
  footer?: React.ReactNode;
81
+ /**
82
+ * Optional component rendered in place of the chat UI when voice mode is active.
83
+ */
84
+ VoiceMode?: React.ComponentType;
76
85
  /**
77
86
  * Async resolver functions for entity references in markdown.
78
87
  * Used to fetch profile data for inline entity mentions (hover cards).
@@ -166,6 +175,14 @@ declare type AiChatProviderReturnValue = {
166
175
  * Set the visualization mode
167
176
  */
168
177
  setVisualizationMode: React.Dispatch<React.SetStateAction<VisualizationMode>>;
178
+ /**
179
+ * The current interaction mode
180
+ */
181
+ mode: AiChatMode;
182
+ /**
183
+ * Set the interaction mode
184
+ */
185
+ setMode: React.Dispatch<React.SetStateAction<AiChatMode>>;
169
186
  /**
170
187
  * When true, prevents switching between visualization modes
171
188
  */
@@ -175,6 +192,10 @@ declare type AiChatProviderReturnValue = {
175
192
  * Optional footer content rendered below the textarea
176
193
  */
177
194
  footer?: React.ReactNode;
195
+ /**
196
+ * Optional component rendered when voice mode is active.
197
+ */
198
+ VoiceMode?: React.ComponentType;
178
199
  /**
179
200
  * Set the footer content. Use this to update the footer from outside the provider (e.g. per page/route).
180
201
  */
@@ -213,6 +234,7 @@ declare interface AiChatState {
213
234
  lockVisualizationMode?: boolean;
214
235
  historyEnabled?: boolean;
215
236
  footer?: React.ReactNode;
237
+ VoiceMode?: React.ComponentType;
216
238
  entityResolvers?: EntityResolvers;
217
239
  toolHints?: AiChatToolHint[];
218
240
  placeholders?: string[];
@@ -1236,7 +1258,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
1236
1258
  /**
1237
1259
  * @experimental This is an experimental component use it at your own risk
1238
1260
  */
1239
- export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, entityResolvers, toolHints, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
1261
+ export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityResolvers, toolHints, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
1240
1262
 
1241
1263
  export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, placeholders, defaultPlaceholder, autoFocus, entityResolvers, toolHints, activeToolHint, onActiveToolHintChange, }: F0AiChatTextAreaProps) => JSX_2.Element;
1242
1264
 
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { I as e, u as t } from "./F0Input-JjjfHKNJ.js";
2
2
  import { defaultTranslations as i } from "./i18n-provider-defaults.js";
3
- import { A as r, B as l, C as A, p as F, E as c, g as u, F as h, a as C, z as d, h as m, b as T, i as f, j as p, v as I, w as S, x as g, y as k, c as x, q as H, r as M, s as P, H as b, I as w, L as O, O as v, t as R, P as D, S as E, T as L, m as q, n as y, o as z, U as B, k as U, l as j, u as V, d as G, f as J, e as K } from "./F0AiChat-CA_dpVxM.js";
3
+ import { A as r, B as l, C as A, p as F, E as c, g as u, F as h, a as C, z as d, h as m, b as T, i as f, j as p, v as I, w as S, x as g, y as k, c as x, q as H, r as M, s as P, H as b, I as w, L as O, O as v, t as R, P as D, S as E, T as L, m as q, n as y, o as z, U as B, k as U, l as j, u as V, d as G, f as J, e as K } from "./F0AiChat-C58IuYYg.js";
4
4
  import { A as Q, F as W, c as X, d as Y, b as Z, a as _, o as $, u as aa } from "./F0HILActionConfirmation-CasXGy89.js";
5
5
  export {
6
6
  r as A,
@@ -445,6 +445,10 @@ declare type AiChatProviderProps = {
445
445
  * Optional footer content rendered below the textarea
446
446
  */
447
447
  footer?: React.ReactNode;
448
+ /**
449
+ * Optional component rendered in place of the chat UI when voice mode is active.
450
+ */
451
+ VoiceMode?: React.ComponentType;
448
452
  /**
449
453
  * Async resolver functions for entity references in markdown.
450
454
  * Used to fetch profile data for inline entity mentions (hover cards).
@@ -5414,6 +5418,7 @@ declare interface PrimaryAction {
5414
5418
  disabled?: boolean;
5415
5419
  tooltip?: string;
5416
5420
  isVisible?: boolean;
5421
+ loading?: boolean;
5417
5422
  }
5418
5423
 
5419
5424
  declare type PrimaryAction_2 = BaseAction & {
@@ -3,12 +3,12 @@ import { dk as XI, ap as ZI, dl as QI, ds as eA, dt as tA, at as nA, du as rA, d
3
3
  import { jsx as c, jsxs as g, Fragment as ee } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Uh, forwardRef as P, useRef as K, useTransition as Gh, useState as R, useLayoutEffect as za, useContext as js, createContext as Hs, useCallback as q, useMemo as te, useEffect as W, useId as $a, useImperativeHandle as Ba, memo as ja, Fragment as Kh, isValidElement as qh, cloneElement as Ha, Children as Va } from "react";
6
- import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-nhYPkA3Y.js";
7
- import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-nhYPkA3Y.js";
6
+ import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-DuS_uOqo.js";
7
+ import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-DuS_uOqo.js";
8
8
  import { i as Kp, M as qp, d as Lo, R as lc, u as Jp, b as ac, S as Yp, O as Xp } from "./F0AnalyticsDashboard-HOK1Grhk.js";
9
9
  import { l as _A, p as EA, q as TA, m as DA, n as LA, o as RA } from "./F0AnalyticsDashboard-HOK1Grhk.js";
10
- import { a6 as Zp, a7 as Qp, a8 as Ro, a9 as rr, aa as em, ab as tm, W as nm, ac as cc, x as dc, Q as Un, ad as rm, ae as im, af as sm, ag as om, ah as lm, ai as am, aj as cm, ak as dm, al as um, am as fm, X as hm, an as pm, ao as mm, ap as gm, aq as bm, D as wm, ar as xm, as as uc, at as Oo, au as ym, a0 as vm, u as fc, a as km, av as Cm, F as Sm, aw as hc, ax as pc, ay as Nm, az as Im, aA as Am, aB as _m, aC as Em, aD as Mo, aE as Po, aF as Fo, aG as Tm, aH as Dm } from "./F0AiChat-CA_dpVxM.js";
11
- import { aJ as MA, aI as PA, aL as FA, aK as zA } from "./F0AiChat-CA_dpVxM.js";
10
+ import { a6 as Zp, a7 as Qp, a8 as Ro, a9 as rr, aa as em, ab as tm, W as nm, ac as cc, x as dc, Q as Un, ad as rm, ae as im, af as sm, ag as om, ah as lm, ai as am, aj as cm, ak as dm, al as um, am as fm, X as hm, an as pm, ao as mm, ap as gm, aq as bm, D as wm, ar as xm, as as uc, at as Oo, au as ym, a0 as vm, u as fc, a as km, av as Cm, F as Sm, aw as hc, ax as pc, ay as Nm, az as Im, aA as Am, aB as _m, aC as Em, aD as Mo, aE as Po, aF as Fo, aG as Tm, aH as Dm } from "./F0AiChat-C58IuYYg.js";
11
+ import { aJ as MA, aI as PA, aL as FA, aK as zA } from "./F0AiChat-C58IuYYg.js";
12
12
  import { useCopilotContext as Lm } from "@copilotkit/react-core";
13
13
  import { F as Rm } from "./F0ChatDashboard-e_oKQtbl.js";
14
14
  import './experimental.css';const Om = mf("Search", [
package/dist/f0.d.ts CHANGED
@@ -313,6 +313,11 @@ declare type AiChatDisclaimer = {
313
313
  linkText?: string;
314
314
  };
315
315
 
316
+ /**
317
+ * Interaction mode for the AI chat
318
+ */
319
+ export declare type AiChatMode = "chat" | "voice";
320
+
316
321
  /**
317
322
  * Props for the AiChatProvider component
318
323
  */
@@ -349,6 +354,10 @@ export declare type AiChatProviderProps = {
349
354
  * Optional footer content rendered below the textarea
350
355
  */
351
356
  footer?: React.ReactNode;
357
+ /**
358
+ * Optional component rendered in place of the chat UI when voice mode is active.
359
+ */
360
+ VoiceMode?: React.ComponentType;
352
361
  /**
353
362
  * Async resolver functions for entity references in markdown.
354
363
  * Used to fetch profile data for inline entity mentions (hover cards).
@@ -442,6 +451,14 @@ declare type AiChatProviderReturnValue = {
442
451
  * Set the visualization mode
443
452
  */
444
453
  setVisualizationMode: React.Dispatch<React.SetStateAction<VisualizationMode>>;
454
+ /**
455
+ * The current interaction mode
456
+ */
457
+ mode: AiChatMode;
458
+ /**
459
+ * Set the interaction mode
460
+ */
461
+ setMode: React.Dispatch<React.SetStateAction<AiChatMode>>;
445
462
  /**
446
463
  * When true, prevents switching between visualization modes
447
464
  */
@@ -451,6 +468,10 @@ declare type AiChatProviderReturnValue = {
451
468
  * Optional footer content rendered below the textarea
452
469
  */
453
470
  footer?: React.ReactNode;
471
+ /**
472
+ * Optional component rendered when voice mode is active.
473
+ */
474
+ VoiceMode?: React.ComponentType;
454
475
  /**
455
476
  * Set the footer content. Use this to update the footer from outside the provider (e.g. per page/route).
456
477
  */
@@ -489,6 +510,7 @@ declare interface AiChatState {
489
510
  lockVisualizationMode?: boolean;
490
511
  historyEnabled?: boolean;
491
512
  footer?: React.ReactNode;
513
+ VoiceMode?: React.ComponentType;
492
514
  entityResolvers?: EntityResolvers;
493
515
  toolHints?: AiChatToolHint[];
494
516
  placeholders?: string[];
@@ -3571,7 +3593,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
3571
3593
  /**
3572
3594
  * @experimental This is an experimental component use it at your own risk
3573
3595
  */
3574
- export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, entityResolvers, toolHints, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
3596
+ export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityResolvers, toolHints, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
3575
3597
 
3576
3598
  export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, placeholders, defaultPlaceholder, autoFocus, entityResolvers, toolHints, activeToolHint, onActiveToolHintChange, }: F0AiChatTextAreaProps) => JSX_2.Element;
3577
3599
 
@@ -8189,6 +8211,7 @@ declare interface PrimaryAction {
8189
8211
  disabled?: boolean;
8190
8212
  tooltip?: string;
8191
8213
  isVisible?: boolean;
8214
+ loading?: boolean;
8192
8215
  }
8193
8216
 
8194
8217
  declare interface PrimaryActionButton extends PrimaryAction {
package/dist/f0.js CHANGED
@@ -6,10 +6,10 @@ import K, { forwardRef as He, useRef as Q, useImperativeHandle as eu, Children a
6
6
  import { L as Do, a as No, i as iu, b as au, c as Ao, R as qr, d as oi, u as li, O as ou, U as To, e as Eo, F as lu, D as cu, M as du } from "./F0AnalyticsDashboard-HOK1Grhk.js";
7
7
  import { g as rw, f as sw, h as iw, j as aw, k as ow } from "./F0AnalyticsDashboard-HOK1Grhk.js";
8
8
  import { unstable_batchedUpdates as sr, createPortal as uu, flushSync as fu } from "react-dom";
9
- import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-nhYPkA3Y.js";
10
- import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-nhYPkA3Y.js";
11
- import { D as tf, G as nf, J as rf, K as sf, M as di, N as Vo, Q as ln, R as Fs, V as af, w as of, W as jo, X as $o, Y as zo, Z as br, _ as ui, $ as qo, a0 as yr, a1 as Wo, a2 as Zo, a3 as lf, a4 as cf, a5 as df } from "./F0AiChat-CA_dpVxM.js";
12
- import { A as pw, B as gw, C as vw, p as bw, E as yw, g as xw, F as ww, a as Sw, z as Cw, h as _w, b as kw, i as Dw, j as Nw, v as Aw, x as Tw, y as Ew, c as Fw, q as Ow, r as Iw, s as Rw, H as Lw, I as Pw, L as Mw, O as Bw, t as Vw, P as jw, S as $w, T as zw, m as qw, n as Ww, o as Zw, U as Uw, k as Qw, l as Hw, u as Gw, d as Kw, f as Xw, e as Yw } from "./F0AiChat-CA_dpVxM.js";
9
+ import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-DuS_uOqo.js";
10
+ import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-DuS_uOqo.js";
11
+ import { D as tf, G as nf, J as rf, K as sf, M as di, N as Vo, Q as ln, R as Fs, V as af, w as of, W as jo, X as $o, Y as zo, Z as br, _ as ui, $ as qo, a0 as yr, a1 as Wo, a2 as Zo, a3 as lf, a4 as cf, a5 as df } from "./F0AiChat-C58IuYYg.js";
12
+ import { A as pw, B as gw, C as vw, p as bw, E as yw, g as xw, F as ww, a as Sw, z as Cw, h as _w, b as kw, i as Dw, j as Nw, v as Aw, x as Tw, y as Ew, c as Fw, q as Ow, r as Iw, s as Rw, H as Lw, I as Pw, L as Mw, O as Bw, t as Vw, P as jw, S as $w, T as zw, m as qw, n as Ww, o as Zw, U as Uw, k as Qw, l as Hw, u as Gw, d as Kw, f as Xw, e as Yw } from "./F0AiChat-C58IuYYg.js";
13
13
  import { A as e0, F as t0, c as n0, d as r0, b as s0, a as i0, o as a0, u as o0 } from "./F0HILActionConfirmation-CasXGy89.js";
14
14
  import { defaultTranslations as c0 } from "./i18n-provider-defaults.js";
15
15
  const uf = {
@@ -2,7 +2,7 @@ import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
2
2
  import * as Ie from "react";
3
3
  import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ii, useImperativeHandle as lg, useMemo as yi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ei, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as KC, memo as B6, version as yb } from "react";
4
4
  import { B as ki, b$ as GC, t as fe, bW as F6, av as YC, w as z6, y as Ai, N as $r, e5 as eo, e6 as XC, e7 as JC, e8 as ZC, e9 as vb, ea as gb, eb as bb, ec as xb, ed as kb, ee as q6, ef as yc, eg as QC, eh as eT, ei as tT, cy as df, aA as Ye, R as Ee, cm as nT, T as Ki, U as Zn, bQ as iT, bR as rT, bS as aT, bV as oT, ej as H6, G as nn, aS as sT, F as Le, ar as hl, aa as fT, dm as Ut, aE as lT, aF as cT, M as ug, aG as uT, aJ as dT, aH as hT, aI as wb, aK as _b, at as W6, aM as pT, aN as mT, aO as yT, aP as vT, x as wd, u as ir, an as V6, K as gn, z as nt, J as gT, O as U6, au as bT, a4 as dg, bI as xT, dk as kT, a6 as wT, dl as hg, be as hf, P as K6, cr as G6, ad as _T, ek as ST, el as OT, cv as pl, em as _d, en as Sd, cx as ml, a2 as ET, a3 as AT, a5 as CT, bf as pg, d4 as TT, cJ as Y6, ct as MT, e3 as PT, aB as DT, d2 as NT, cu as $T, bc as IT, cw as RT, dJ as jT, aq as X6, c0 as Vy, L as LT, D as J6, E as hn, eo as BT, ah as Sb, cM as FT, C as Z6, b9 as zT, ab as qT, b7 as mg, aW as HT, aX as WT, aY as VT, df as Ob, ak as UT, cB as KT, bp as GT, aT as Eb, ba as YT, aU as XT, da as JT } from "./F0Input-JjjfHKNJ.js";
5
- import { R as ZT, aA as QT, aB as eM, $ as tM, aM as Q6, ai as nM, M as Ab, aN as iM, aO as Uy, aP as e5, aQ as t5, aR as n5, aS as rM, aT as aM, aU as oM, aV as sM, aj as fM, ak as lM, al as cM, am as uM, X as dM, ap as hM, aq as pM, Y as mM, aW as yM, a3 as vM, a4 as gM, aX as bM } from "./F0AiChat-CA_dpVxM.js";
5
+ import { R as ZT, aA as QT, aB as eM, $ as tM, aM as Q6, ai as nM, M as Ab, aN as iM, aO as Uy, aP as e5, aQ as t5, aR as n5, aS as rM, aT as aM, aU as oM, aV as sM, aj as fM, ak as lM, al as cM, am as uM, X as dM, ap as hM, aq as pM, Y as mM, aW as yM, a3 as vM, a4 as gM, aX as bM } from "./F0AiChat-C58IuYYg.js";
6
6
  import { r as yl, s as vl, t as ri, v as xM, w as i5, x as kM, y as ts, z as wM, A as r5, B as yg, C as a5, E as o5, G as _M, H as SM, I as s5, J as OM, K as EM, N as AM, P as Od, Q as CM, T as TM, V as MM, W as PM, i as Sa, X as DM, Y as NM, j as $M, Z as f5, _ as Cb, $ as IM, f as RM, g as jM, h as LM, a0 as BM, b as l5, a1 as FM, a2 as zM, a3 as qM } from "./F0AnalyticsDashboard-HOK1Grhk.js";
7
7
  import vg from "react-dom";
8
8
  import './index.css';const HM = {
@@ -47702,7 +47702,8 @@ function mae({
47702
47702
  icon: r.icon,
47703
47703
  size: "lg",
47704
47704
  disabled: r.disabled,
47705
- tooltip: r.tooltip
47705
+ tooltip: r.tooltip,
47706
+ loading: r.loading
47706
47707
  }
47707
47708
  ) }),
47708
47709
  d && m(r) && /* @__PURE__ */ _("div", { className: "w-full md:hidden [&>*]:w-full", children: /* @__PURE__ */ _(
@@ -47714,7 +47715,8 @@ function mae({
47714
47715
  value: r.value,
47715
47716
  size: "lg",
47716
47717
  disabled: r.disabled,
47717
- tooltip: r.tooltip
47718
+ tooltip: r.tooltip,
47719
+ loading: r.loading
47718
47720
  }
47719
47721
  ) }),
47720
47722
  c.map((v) => /* @__PURE__ */ _(uf, { children: /* @__PURE__ */ _("div", { className: "w-full md:hidden [&>*]:w-full [&>span]:block [&>span_div]:w-full", children: /* @__PURE__ */ _(
@@ -47727,7 +47729,8 @@ function mae({
47727
47729
  size: "lg",
47728
47730
  hideLabel: v.hideLabel,
47729
47731
  disabled: v.disabled,
47730
- tooltip: v.tooltip
47732
+ tooltip: v.tooltip,
47733
+ loading: v.loading
47731
47734
  }
47732
47735
  ) }) }, v.label)),
47733
47736
  u.length > 0 && /* @__PURE__ */ _("div", { className: "w-full [&>*]:w-full [&_button]:w-full", children: /* @__PURE__ */ _(hg, { items: u }) })
@@ -47743,7 +47746,8 @@ function mae({
47743
47746
  icon: v.icon,
47744
47747
  hideLabel: v.hideLabel,
47745
47748
  disabled: v.disabled,
47746
- tooltip: v.tooltip
47749
+ tooltip: v.tooltip,
47750
+ loading: v.loading
47747
47751
  }
47748
47752
  ) }) }, v.label)),
47749
47753
  d && (h || p) && /* @__PURE__ */ _("div", { className: "mx-1 h-4 w-px bg-f1-background-secondary-hover" }),
@@ -47755,7 +47759,8 @@ function mae({
47755
47759
  variant: "default",
47756
47760
  icon: r.icon,
47757
47761
  disabled: r.disabled,
47758
- tooltip: r.tooltip
47762
+ tooltip: r.tooltip,
47763
+ loading: r.loading
47759
47764
  }
47760
47765
  ) }),
47761
47766
  d && m(r) && /* @__PURE__ */ _("div", { className: "hidden md:block", children: /* @__PURE__ */ _(
@@ -47767,7 +47772,8 @@ function mae({
47767
47772
  value: r.value,
47768
47773
  size: "md",
47769
47774
  disabled: r.disabled,
47770
- tooltip: r.tooltip
47775
+ tooltip: r.tooltip,
47776
+ loading: r.loading
47771
47777
  }
47772
47778
  ) })
47773
47779
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.411.1",
3
+ "version": "1.413.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",