@factorialco/f0-react 1.425.4 → 1.427.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.
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
2
2
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
4
- import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-BIy-0Gec.js";
4
+ import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-D1bXbxjx.js";
5
5
  import { useTrackVolume as wt } from "@livekit/components-react";
6
6
  function Tt(t, e, r) {
7
7
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -1793,6 +1793,11 @@ declare module "gridstack" {
1793
1793
  }
1794
1794
 
1795
1795
 
1796
+ declare namespace Calendar {
1797
+ var displayName: string;
1798
+ }
1799
+
1800
+
1796
1801
  declare module "@tiptap/core" {
1797
1802
  interface Commands<ReturnType> {
1798
1803
  aiBlock: {
@@ -1840,8 +1845,3 @@ declare module "@tiptap/core" {
1840
1845
  };
1841
1846
  }
1842
1847
  }
1843
-
1844
-
1845
- declare namespace Calendar {
1846
- var displayName: string;
1847
- }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./registry-BIy-0Gec.js";
1
+ import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-D1bXbxjx.js";
2
2
  import { defaultTranslations as d } from "./i18n-provider-defaults.js";
3
- import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-DDVBQqEG.js";
3
+ import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-CFsdU07x.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -3244,7 +3244,7 @@ declare type ExtractVisualizationSettings<T> = T extends {
3244
3244
  };
3245
3245
  } ? S : never;
3246
3246
 
3247
- export declare const F0ActionBar: WithDataTestIdReturnType_2<({ isOpen, secondaryActions, label, variant, leftContent, centerInFrameContent, status, ...props }: F0ActionBarProps) => JSX_2.Element>;
3247
+ export declare const F0ActionBar: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0ActionBarProps & RefAttributes<F0ActionBarRef>>>;
3248
3248
 
3249
3249
  declare interface F0ActionBarProps {
3250
3250
  /**
@@ -3290,6 +3290,10 @@ declare interface F0ActionBarProps {
3290
3290
  status?: ActionBarStatus;
3291
3291
  }
3292
3292
 
3293
+ export declare interface F0ActionBarRef {
3294
+ wiggle: (options?: WiggleOptions) => void;
3295
+ }
3296
+
3293
3297
  export declare const F0AiBanner: ForwardRefExoticComponent<Omit<AiBannerInternalProps & RefAttributes<HTMLDivElement> & WithDataTestIdProps_2, "ref"> & RefAttributes<HTMLDivElement>> & Pick<ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>>, never> & {
3294
3298
  Skeleton: ({ compact }: AiBannerSkeletonProps) => JSX_2.Element;
3295
3299
  };
@@ -7159,6 +7163,10 @@ export declare const WidgetStrip: ForwardRefExoticComponent<DashboardProps_2 & R
7159
7163
 
7160
7164
  declare type WidgetWidth = "sm" | "md" | "lg";
7161
7165
 
7166
+ declare interface WiggleOptions {
7167
+ errorHighlight?: boolean;
7168
+ }
7169
+
7162
7170
  declare type WithDataTestIdProps = {
7163
7171
  dataTestId?: string;
7164
7172
  };
@@ -7230,6 +7238,11 @@ declare module "gridstack" {
7230
7238
  }
7231
7239
 
7232
7240
 
7241
+ declare namespace Calendar {
7242
+ var displayName: string;
7243
+ }
7244
+
7245
+
7233
7246
  declare module "@tiptap/core" {
7234
7247
  interface Commands<ReturnType> {
7235
7248
  aiBlock: {
@@ -7277,8 +7290,3 @@ declare module "@tiptap/core" {
7277
7290
  };
7278
7291
  }
7279
7292
  }
7280
-
7281
-
7282
- declare namespace Calendar {
7283
- var displayName: string;
7284
- }