@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/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
@@ -19790,6 +19809,15 @@ declare module "@tiptap/core" {
19790
19809
  }
19791
19810
 
19792
19811
 
19812
+ declare module "@tiptap/core" {
19813
+ interface Commands<ReturnType> {
19814
+ moodTracker: {
19815
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19816
+ };
19817
+ }
19818
+ }
19819
+
19820
+
19793
19821
  declare module "@tiptap/core" {
19794
19822
  interface Commands<ReturnType> {
19795
19823
  indent: {
@@ -19803,8 +19831,8 @@ declare module "@tiptap/core" {
19803
19831
 
19804
19832
  declare module "@tiptap/core" {
19805
19833
  interface Commands<ReturnType> {
19806
- moodTracker: {
19807
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19834
+ transcript: {
19835
+ insertTranscript: (data: TranscriptData) => ReturnType;
19808
19836
  };
19809
19837
  }
19810
19838
  }
@@ -19821,15 +19849,6 @@ declare module "@tiptap/core" {
19821
19849
  }
19822
19850
 
19823
19851
 
19824
- declare module "@tiptap/core" {
19825
- interface Commands<ReturnType> {
19826
- transcript: {
19827
- insertTranscript: (data: TranscriptData) => ReturnType;
19828
- };
19829
- }
19830
- }
19831
-
19832
-
19833
19852
  declare namespace F0GraphNodeWrapperInner {
19834
19853
  var displayName: string;
19835
19854
  }
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-b0CeTu4a.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-b0CeTu4a.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-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";
@@ -1339,6 +1339,15 @@ declare module "@tiptap/core" {
1339
1339
  }
1340
1340
 
1341
1341
 
1342
+ declare module "@tiptap/core" {
1343
+ interface Commands<ReturnType> {
1344
+ moodTracker: {
1345
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1346
+ };
1347
+ }
1348
+ }
1349
+
1350
+
1342
1351
  declare module "@tiptap/core" {
1343
1352
  interface Commands<ReturnType> {
1344
1353
  indent: {
@@ -1352,8 +1361,8 @@ declare module "@tiptap/core" {
1352
1361
 
1353
1362
  declare module "@tiptap/core" {
1354
1363
  interface Commands<ReturnType> {
1355
- moodTracker: {
1356
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1364
+ transcript: {
1365
+ insertTranscript: (data: TranscriptData) => ReturnType;
1357
1366
  };
1358
1367
  }
1359
1368
  }
@@ -1370,15 +1379,6 @@ declare module "@tiptap/core" {
1370
1379
  }
1371
1380
 
1372
1381
 
1373
- declare module "@tiptap/core" {
1374
- interface Commands<ReturnType> {
1375
- transcript: {
1376
- insertTranscript: (data: TranscriptData) => ReturnType;
1377
- };
1378
- }
1379
- }
1380
-
1381
-
1382
1382
  declare namespace F0GraphNodeWrapperInner {
1383
1383
  var displayName: string;
1384
1384
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.27.3",
3
+ "version": "6.29.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",