@factorialco/f0-react 1.376.1 → 1.378.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
@@ -973,12 +973,20 @@ export declare interface F0OneIconProps extends SVGProps<SVGSVGElement> {
973
973
  size?: "xs" | "sm" | "md" | "lg";
974
974
  }
975
975
 
976
- export declare const F0OneSwitch: ({ className, disabled }: F0OneSwitchProps) => JSX_2.Element | null;
976
+ export declare const F0OneSwitch: ({ className, disabled, tooltip, autoOpen, }: F0OneSwitchProps) => JSX_2.Element | null;
977
977
 
978
978
  /**
979
979
  * Props for the F0OneSwitch component
980
980
  */
981
- export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>;
981
+ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
982
+ /** Custom text shown in the tooltip when the chat is closed */
983
+ tooltip?: {
984
+ whenDisabled?: string;
985
+ whenEnabled?: string;
986
+ };
987
+ /** When true, the tooltip is opened automatically for 3 seconds*/
988
+ autoOpen?: boolean;
989
+ };
982
990
 
983
991
  /**
984
992
  * Source object for message sources
@@ -1196,6 +1204,11 @@ declare module "gridstack" {
1196
1204
  }
1197
1205
 
1198
1206
 
1207
+ declare namespace Calendar {
1208
+ var displayName: string;
1209
+ }
1210
+
1211
+
1199
1212
  declare module "@tiptap/core" {
1200
1213
  interface Commands<ReturnType> {
1201
1214
  aiBlock: {
@@ -1225,15 +1238,6 @@ declare module "@tiptap/core" {
1225
1238
  }
1226
1239
 
1227
1240
 
1228
- declare module "@tiptap/core" {
1229
- interface Commands<ReturnType> {
1230
- transcript: {
1231
- insertTranscript: (data: TranscriptData) => ReturnType;
1232
- };
1233
- }
1234
- }
1235
-
1236
-
1237
1241
  declare module "@tiptap/core" {
1238
1242
  interface Commands<ReturnType> {
1239
1243
  videoEmbed: {
@@ -1245,6 +1249,10 @@ declare module "@tiptap/core" {
1245
1249
  }
1246
1250
 
1247
1251
 
1248
- declare namespace Calendar {
1249
- var displayName: string;
1252
+ declare module "@tiptap/core" {
1253
+ interface Commands<ReturnType> {
1254
+ transcript: {
1255
+ insertTranscript: (data: TranscriptData) => ReturnType;
1256
+ };
1257
+ }
1250
1258
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-Bb12WR9x.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-Bza8zqLg.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DqkMrDGj.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DVS7vYT1.js";
4
4
  export {
5
5
  e as A,
6
6
  y as AiChatTranslationsProvider,