@factorialco/f0-react 6.27.3 → 6.29.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/{LocationMap-BCp9aND0.js → LocationMap-BqI7Gdwx.js} +1 -1
- package/dist/ai.d.ts +31 -12
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +11 -11
- package/dist/component-status.js +1 -1
- package/dist/{experimental-Cn0rNpRC.js → experimental-CilElIuH.js} +7685 -7659
- package/dist/experimental.d.ts +122 -19
- package/dist/experimental.js +162 -160
- package/dist/f0.d.ts +31 -12
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-CilElIuH.js";
|
|
3
3
|
import { useRef as l, useEffect as i, useState as b } from "react";
|
|
4
4
|
const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
|
|
5
5
|
const [c, s] = b(!1);
|
package/dist/ai.d.ts
CHANGED
|
@@ -3432,7 +3432,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
|
|
|
3432
3432
|
* coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
|
|
3433
3433
|
* provide the wiring.
|
|
3434
3434
|
*/
|
|
3435
|
-
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;
|
|
3435
|
+
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;
|
|
3436
3436
|
|
|
3437
3437
|
export declare type F0AiChatTextAreaProps = {
|
|
3438
3438
|
ref: RefObject<HTMLDivElement>;
|
|
@@ -3561,6 +3561,25 @@ export declare type F0AiChatTextAreaProps = {
|
|
|
3561
3561
|
* dropped.
|
|
3562
3562
|
*/
|
|
3563
3563
|
welcomeScreenCards?: F0AiChatWelcomeCard[];
|
|
3564
|
+
/**
|
|
3565
|
+
* The composer's own inset against whatever contains it.
|
|
3566
|
+
*
|
|
3567
|
+
* - `"default"` — the gutter the chat layouts expect (16px sides, 8px top,
|
|
3568
|
+
* 12px bottom). It is what keeps the field off the chat window's edges and
|
|
3569
|
+
* leaves room for the focus glow, which bleeds a few pixels outside the
|
|
3570
|
+
* field's border box.
|
|
3571
|
+
*
|
|
3572
|
+
* - `"none"` — no inset, for hosts that place the composer inside a container
|
|
3573
|
+
* that already owns the spacing (a landing/home hero, a card). The host then
|
|
3574
|
+
* owns BOTH sides of that bargain: give the composer some room of your own,
|
|
3575
|
+
* and don't clip overflow around it, or the focus glow gets cut at the edge.
|
|
3576
|
+
*
|
|
3577
|
+
* Only the outer inset changes; the gap between the composer and the blocks
|
|
3578
|
+
* below it (suggestions, cards, footer, disclaimer) is unaffected.
|
|
3579
|
+
*
|
|
3580
|
+
* @default "default"
|
|
3581
|
+
*/
|
|
3582
|
+
padding?: "default" | "none";
|
|
3564
3583
|
/**
|
|
3565
3584
|
* When true on the welcome screen, the composer adopts the fullscreen
|
|
3566
3585
|
* layout: the input slot grows to claim the bottom half (so the textarea
|
|
@@ -5643,6 +5662,15 @@ declare module "@tiptap/core" {
|
|
|
5643
5662
|
}
|
|
5644
5663
|
|
|
5645
5664
|
|
|
5665
|
+
declare module "@tiptap/core" {
|
|
5666
|
+
interface Commands<ReturnType> {
|
|
5667
|
+
moodTracker: {
|
|
5668
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
5669
|
+
};
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
|
|
5646
5674
|
declare module "@tiptap/core" {
|
|
5647
5675
|
interface Commands<ReturnType> {
|
|
5648
5676
|
indent: {
|
|
@@ -5656,8 +5684,8 @@ declare module "@tiptap/core" {
|
|
|
5656
5684
|
|
|
5657
5685
|
declare module "@tiptap/core" {
|
|
5658
5686
|
interface Commands<ReturnType> {
|
|
5659
|
-
|
|
5660
|
-
|
|
5687
|
+
transcript: {
|
|
5688
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5661
5689
|
};
|
|
5662
5690
|
}
|
|
5663
5691
|
}
|
|
@@ -5674,15 +5702,6 @@ declare module "@tiptap/core" {
|
|
|
5674
5702
|
}
|
|
5675
5703
|
|
|
5676
5704
|
|
|
5677
|
-
declare module "@tiptap/core" {
|
|
5678
|
-
interface Commands<ReturnType> {
|
|
5679
|
-
transcript: {
|
|
5680
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5681
|
-
};
|
|
5682
|
-
}
|
|
5683
|
-
}
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
5705
|
declare namespace F0GraphNodeWrapperInner {
|
|
5687
5706
|
var displayName: string;
|
|
5688
5707
|
}
|
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-Dq1kU51T.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-Im7Wjj60.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -315,6 +315,15 @@ declare module "@tiptap/core" {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
|
|
318
|
+
declare module "@tiptap/core" {
|
|
319
|
+
interface Commands<ReturnType> {
|
|
320
|
+
moodTracker: {
|
|
321
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
|
|
318
327
|
declare module "@tiptap/core" {
|
|
319
328
|
interface Commands<ReturnType> {
|
|
320
329
|
indent: {
|
|
@@ -328,8 +337,8 @@ declare module "@tiptap/core" {
|
|
|
328
337
|
|
|
329
338
|
declare module "@tiptap/core" {
|
|
330
339
|
interface Commands<ReturnType> {
|
|
331
|
-
|
|
332
|
-
|
|
340
|
+
transcript: {
|
|
341
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
333
342
|
};
|
|
334
343
|
}
|
|
335
344
|
}
|
|
@@ -346,15 +355,6 @@ declare module "@tiptap/core" {
|
|
|
346
355
|
}
|
|
347
356
|
|
|
348
357
|
|
|
349
|
-
declare module "@tiptap/core" {
|
|
350
|
-
interface Commands<ReturnType> {
|
|
351
|
-
transcript: {
|
|
352
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
353
|
-
};
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
358
|
declare namespace F0GraphNodeWrapperInner {
|
|
359
359
|
var displayName: string;
|
|
360
360
|
}
|