@factorialco/f0-react 6.30.0 → 6.31.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/{F0AiProcessingOverlay-CBidGqkB.js → F0AiProcessingOverlay-DNvVMF7Z.js} +799 -785
- package/dist/ai.d.ts +20 -6
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +6 -6
- package/dist/f0.d.ts +20 -6
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3705,6 +3705,9 @@ export declare type F0AiMessagesContainerProps = {
|
|
|
3705
3705
|
initialMessageCaption?: string;
|
|
3706
3706
|
/** Smaller secondary line below the welcome phrase. */
|
|
3707
3707
|
initialMessageSubtitle?: string;
|
|
3708
|
+
/** Optional call-to-action pill rendered above the welcome phrase (e.g. a
|
|
3709
|
+
* "How to use One" shortcut). Only shown on the empty welcome screen. */
|
|
3710
|
+
initialMessageCta?: WelcomeScreenCta;
|
|
3708
3711
|
/** Called when the user clicks the welcome phrase (used by F0AiChat to open
|
|
3709
3712
|
* the pong easter egg). When omitted the phrase is non-interactive. */
|
|
3710
3713
|
onWelcomeClick?: () => void;
|
|
@@ -5540,6 +5543,17 @@ declare interface WeekdaysProps {
|
|
|
5540
5543
|
daysOfTheWeek?: string[];
|
|
5541
5544
|
}
|
|
5542
5545
|
|
|
5546
|
+
/**
|
|
5547
|
+
* Optional call-to-action rendered as a pill above the welcome phrase (e.g. a
|
|
5548
|
+
* "How to use One" shortcut). The host owns `onClick`; f0 owns the pill styling
|
|
5549
|
+
* so it stays consistent with the rest of the welcome screen.
|
|
5550
|
+
*/
|
|
5551
|
+
export declare type WelcomeScreenCta = {
|
|
5552
|
+
label: string;
|
|
5553
|
+
icon?: IconType;
|
|
5554
|
+
onClick: () => void;
|
|
5555
|
+
};
|
|
5556
|
+
|
|
5543
5557
|
/**
|
|
5544
5558
|
* A welcome-screen group rendered as an outline button in the welcome row.
|
|
5545
5559
|
* Clicking the group opens a popover listing its `items`. The number of groups
|
|
@@ -5684,8 +5698,10 @@ declare module "@tiptap/core" {
|
|
|
5684
5698
|
|
|
5685
5699
|
declare module "@tiptap/core" {
|
|
5686
5700
|
interface Commands<ReturnType> {
|
|
5687
|
-
|
|
5688
|
-
|
|
5701
|
+
videoEmbed: {
|
|
5702
|
+
setVideoEmbed: (options: {
|
|
5703
|
+
src: string;
|
|
5704
|
+
}) => ReturnType;
|
|
5689
5705
|
};
|
|
5690
5706
|
}
|
|
5691
5707
|
}
|
|
@@ -5693,10 +5709,8 @@ declare module "@tiptap/core" {
|
|
|
5693
5709
|
|
|
5694
5710
|
declare module "@tiptap/core" {
|
|
5695
5711
|
interface Commands<ReturnType> {
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
src: string;
|
|
5699
|
-
}) => ReturnType;
|
|
5712
|
+
transcript: {
|
|
5713
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5700
5714
|
};
|
|
5701
5715
|
}
|
|
5702
5716
|
}
|
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-Bbzfq-Se.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-
|
|
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-DNvVMF7Z.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -337,8 +337,10 @@ declare module "@tiptap/core" {
|
|
|
337
337
|
|
|
338
338
|
declare module "@tiptap/core" {
|
|
339
339
|
interface Commands<ReturnType> {
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
videoEmbed: {
|
|
341
|
+
setVideoEmbed: (options: {
|
|
342
|
+
src: string;
|
|
343
|
+
}) => ReturnType;
|
|
342
344
|
};
|
|
343
345
|
}
|
|
344
346
|
}
|
|
@@ -346,10 +348,8 @@ declare module "@tiptap/core" {
|
|
|
346
348
|
|
|
347
349
|
declare module "@tiptap/core" {
|
|
348
350
|
interface Commands<ReturnType> {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
src: string;
|
|
352
|
-
}) => ReturnType;
|
|
351
|
+
transcript: {
|
|
352
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
355
|
}
|