@factorialco/f0-react 6.27.3 → 6.28.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-b0CeTu4a.js → F0AiProcessingOverlay-Im7Wjj60.js} +1728 -1724
- package/dist/ai.d.ts +33 -14
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +13 -13
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +13 -13
- package/dist/f0.d.ts +33 -14
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +13 -13
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -13927,9 +13927,10 @@ declare module "@tiptap/core" {
|
|
|
13927
13927
|
|
|
13928
13928
|
declare module "@tiptap/core" {
|
|
13929
13929
|
interface Commands<ReturnType> {
|
|
13930
|
-
|
|
13931
|
-
|
|
13932
|
-
|
|
13930
|
+
indent: {
|
|
13931
|
+
setIndent: (level: number) => ReturnType;
|
|
13932
|
+
unsetIndent: () => ReturnType;
|
|
13933
|
+
outdent: () => ReturnType;
|
|
13933
13934
|
};
|
|
13934
13935
|
}
|
|
13935
13936
|
}
|
|
@@ -13937,10 +13938,9 @@ declare module "@tiptap/core" {
|
|
|
13937
13938
|
|
|
13938
13939
|
declare module "@tiptap/core" {
|
|
13939
13940
|
interface Commands<ReturnType> {
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
outdent: () => ReturnType;
|
|
13941
|
+
fontSize: {
|
|
13942
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
13943
|
+
unsetFontSize: () => ReturnType;
|
|
13944
13944
|
};
|
|
13945
13945
|
}
|
|
13946
13946
|
}
|
|
@@ -13957,10 +13957,8 @@ declare module "@tiptap/core" {
|
|
|
13957
13957
|
|
|
13958
13958
|
declare module "@tiptap/core" {
|
|
13959
13959
|
interface Commands<ReturnType> {
|
|
13960
|
-
|
|
13961
|
-
|
|
13962
|
-
src: string;
|
|
13963
|
-
}) => ReturnType;
|
|
13960
|
+
transcript: {
|
|
13961
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
13964
13962
|
};
|
|
13965
13963
|
}
|
|
13966
13964
|
}
|
|
@@ -13968,8 +13966,10 @@ declare module "@tiptap/core" {
|
|
|
13968
13966
|
|
|
13969
13967
|
declare module "@tiptap/core" {
|
|
13970
13968
|
interface Commands<ReturnType> {
|
|
13971
|
-
|
|
13972
|
-
|
|
13969
|
+
videoEmbed: {
|
|
13970
|
+
setVideoEmbed: (options: {
|
|
13971
|
+
src: string;
|
|
13972
|
+
}) => ReturnType;
|
|
13973
13973
|
};
|
|
13974
13974
|
}
|
|
13975
13975
|
}
|
package/dist/f0.d.ts
CHANGED
|
@@ -6837,7 +6837,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
|
|
|
6837
6837
|
* coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
|
|
6838
6838
|
* provide the wiring.
|
|
6839
6839
|
*/
|
|
6840
|
-
export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenCards, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
|
|
6840
|
+
export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
|
|
6841
6841
|
|
|
6842
6842
|
export declare type F0AiChatTextAreaProps = {
|
|
6843
6843
|
ref: RefObject<HTMLDivElement>;
|
|
@@ -6966,6 +6966,25 @@ export declare type F0AiChatTextAreaProps = {
|
|
|
6966
6966
|
* dropped.
|
|
6967
6967
|
*/
|
|
6968
6968
|
welcomeScreenCards?: F0AiChatWelcomeCard[];
|
|
6969
|
+
/**
|
|
6970
|
+
* The composer's own inset against whatever contains it.
|
|
6971
|
+
*
|
|
6972
|
+
* - `"default"` — the gutter the chat layouts expect (16px sides, 8px top,
|
|
6973
|
+
* 12px bottom). It is what keeps the field off the chat window's edges and
|
|
6974
|
+
* leaves room for the focus glow, which bleeds a few pixels outside the
|
|
6975
|
+
* field's border box.
|
|
6976
|
+
*
|
|
6977
|
+
* - `"none"` — no inset, for hosts that place the composer inside a container
|
|
6978
|
+
* that already owns the spacing (a landing/home hero, a card). The host then
|
|
6979
|
+
* owns BOTH sides of that bargain: give the composer some room of your own,
|
|
6980
|
+
* and don't clip overflow around it, or the focus glow gets cut at the edge.
|
|
6981
|
+
*
|
|
6982
|
+
* Only the outer inset changes; the gap between the composer and the blocks
|
|
6983
|
+
* below it (suggestions, cards, footer, disclaimer) is unaffected.
|
|
6984
|
+
*
|
|
6985
|
+
* @default "default"
|
|
6986
|
+
*/
|
|
6987
|
+
padding?: "default" | "none";
|
|
6969
6988
|
/**
|
|
6970
6989
|
* When true on the welcome screen, the composer adopts the fullscreen
|
|
6971
6990
|
* layout: the input slot grows to claim the bottom half (so the textarea
|
|
@@ -19782,9 +19801,10 @@ declare module "@tiptap/core" {
|
|
|
19782
19801
|
|
|
19783
19802
|
declare module "@tiptap/core" {
|
|
19784
19803
|
interface Commands<ReturnType> {
|
|
19785
|
-
|
|
19786
|
-
|
|
19787
|
-
|
|
19804
|
+
indent: {
|
|
19805
|
+
setIndent: (level: number) => ReturnType;
|
|
19806
|
+
unsetIndent: () => ReturnType;
|
|
19807
|
+
outdent: () => ReturnType;
|
|
19788
19808
|
};
|
|
19789
19809
|
}
|
|
19790
19810
|
}
|
|
@@ -19792,10 +19812,9 @@ declare module "@tiptap/core" {
|
|
|
19792
19812
|
|
|
19793
19813
|
declare module "@tiptap/core" {
|
|
19794
19814
|
interface Commands<ReturnType> {
|
|
19795
|
-
|
|
19796
|
-
|
|
19797
|
-
|
|
19798
|
-
outdent: () => ReturnType;
|
|
19815
|
+
fontSize: {
|
|
19816
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19817
|
+
unsetFontSize: () => ReturnType;
|
|
19799
19818
|
};
|
|
19800
19819
|
}
|
|
19801
19820
|
}
|
|
@@ -19812,10 +19831,8 @@ declare module "@tiptap/core" {
|
|
|
19812
19831
|
|
|
19813
19832
|
declare module "@tiptap/core" {
|
|
19814
19833
|
interface Commands<ReturnType> {
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
src: string;
|
|
19818
|
-
}) => ReturnType;
|
|
19834
|
+
transcript: {
|
|
19835
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
19819
19836
|
};
|
|
19820
19837
|
}
|
|
19821
19838
|
}
|
|
@@ -19823,8 +19840,10 @@ declare module "@tiptap/core" {
|
|
|
19823
19840
|
|
|
19824
19841
|
declare module "@tiptap/core" {
|
|
19825
19842
|
interface Commands<ReturnType> {
|
|
19826
|
-
|
|
19827
|
-
|
|
19843
|
+
videoEmbed: {
|
|
19844
|
+
setVideoEmbed: (options: {
|
|
19845
|
+
src: string;
|
|
19846
|
+
}) => ReturnType;
|
|
19828
19847
|
};
|
|
19829
19848
|
}
|
|
19830
19849
|
}
|
package/dist/f0.js
CHANGED
|
@@ -11,8 +11,8 @@ import { l as Yy, c as FN, d as Sd, r as Xy } from "./F0VideoPlayer-y8MT0JHm.js"
|
|
|
11
11
|
import { F as upe } from "./F0VideoPlayer-y8MT0JHm.js";
|
|
12
12
|
import { F as fpe, p as hpe } from "./index-D3qHIfH-.js";
|
|
13
13
|
import { c as vpe } from "./pdfWorker-P7ITGICT.js";
|
|
14
|
-
import { D as O5, E as Cd, G as Rb, H as GN, I as HN, J as B5, K as z5, L as V5, M as F5, N as G5, F as H5 } from "./F0AiProcessingOverlay-
|
|
15
|
-
import { A as gpe, C as mpe, t as ype, s as _pe, v as bpe, y as xpe, l as wpe, i as Spe, q as Cpe, z as Tpe, B as Dpe, p as Ape, r as Mpe, j as Epe, e as Lpe, g as Npe, k as Ipe, T as kpe, w as Ppe, h as Rpe, a as Ope, n as Bpe, m as zpe, o as Vpe, b as Fpe, f as Gpe, x as Hpe, c as Wpe, d as Upe, u as $pe } from "./F0AiProcessingOverlay-
|
|
14
|
+
import { D as O5, E as Cd, G as Rb, H as GN, I as HN, J as B5, K as z5, L as V5, M as F5, N as G5, F as H5 } from "./F0AiProcessingOverlay-Im7Wjj60.js";
|
|
15
|
+
import { A as gpe, C as mpe, t as ype, s as _pe, v as bpe, y as xpe, l as wpe, i as Spe, q as Cpe, z as Tpe, B as Dpe, p as Ape, r as Mpe, j as Epe, e as Lpe, g as Npe, k as Ipe, T as kpe, w as Ppe, h as Rpe, a as Ope, n as Bpe, m as zpe, o as Vpe, b as Fpe, f as Gpe, x as Hpe, c as Wpe, d as Upe, u as $pe } from "./F0AiProcessingOverlay-Im7Wjj60.js";
|
|
16
16
|
import { g as W5 } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as hl, write as WN } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as Xpe } from "./i18n-provider-defaults.js";
|
|
@@ -1331,9 +1331,10 @@ declare module "@tiptap/core" {
|
|
|
1331
1331
|
|
|
1332
1332
|
declare module "@tiptap/core" {
|
|
1333
1333
|
interface Commands<ReturnType> {
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1334
|
+
indent: {
|
|
1335
|
+
setIndent: (level: number) => ReturnType;
|
|
1336
|
+
unsetIndent: () => ReturnType;
|
|
1337
|
+
outdent: () => ReturnType;
|
|
1337
1338
|
};
|
|
1338
1339
|
}
|
|
1339
1340
|
}
|
|
@@ -1341,10 +1342,9 @@ declare module "@tiptap/core" {
|
|
|
1341
1342
|
|
|
1342
1343
|
declare module "@tiptap/core" {
|
|
1343
1344
|
interface Commands<ReturnType> {
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
outdent: () => ReturnType;
|
|
1345
|
+
fontSize: {
|
|
1346
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
1347
|
+
unsetFontSize: () => ReturnType;
|
|
1348
1348
|
};
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
@@ -1361,10 +1361,8 @@ declare module "@tiptap/core" {
|
|
|
1361
1361
|
|
|
1362
1362
|
declare module "@tiptap/core" {
|
|
1363
1363
|
interface Commands<ReturnType> {
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
src: string;
|
|
1367
|
-
}) => ReturnType;
|
|
1364
|
+
transcript: {
|
|
1365
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
1368
1366
|
};
|
|
1369
1367
|
}
|
|
1370
1368
|
}
|
|
@@ -1372,8 +1370,10 @@ declare module "@tiptap/core" {
|
|
|
1372
1370
|
|
|
1373
1371
|
declare module "@tiptap/core" {
|
|
1374
1372
|
interface Commands<ReturnType> {
|
|
1375
|
-
|
|
1376
|
-
|
|
1373
|
+
videoEmbed: {
|
|
1374
|
+
setVideoEmbed: (options: {
|
|
1375
|
+
src: string;
|
|
1376
|
+
}) => ReturnType;
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|