@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.
@@ -14064,8 +14064,10 @@ declare module "@tiptap/core" {
14064
14064
 
14065
14065
  declare module "@tiptap/core" {
14066
14066
  interface Commands<ReturnType> {
14067
- transcript: {
14068
- insertTranscript: (data: TranscriptData) => ReturnType;
14067
+ videoEmbed: {
14068
+ setVideoEmbed: (options: {
14069
+ src: string;
14070
+ }) => ReturnType;
14069
14071
  };
14070
14072
  }
14071
14073
  }
@@ -14073,10 +14075,8 @@ declare module "@tiptap/core" {
14073
14075
 
14074
14076
  declare module "@tiptap/core" {
14075
14077
  interface Commands<ReturnType> {
14076
- videoEmbed: {
14077
- setVideoEmbed: (options: {
14078
- src: string;
14079
- }) => ReturnType;
14078
+ transcript: {
14079
+ insertTranscript: (data: TranscriptData) => ReturnType;
14080
14080
  };
14081
14081
  }
14082
14082
  }
package/dist/f0.d.ts CHANGED
@@ -7242,6 +7242,9 @@ export declare type F0AiMessagesContainerProps = {
7242
7242
  initialMessageCaption?: string;
7243
7243
  /** Smaller secondary line below the welcome phrase. */
7244
7244
  initialMessageSubtitle?: string;
7245
+ /** Optional call-to-action pill rendered above the welcome phrase (e.g. a
7246
+ * "How to use One" shortcut). Only shown on the empty welcome screen. */
7247
+ initialMessageCta?: WelcomeScreenCta;
7245
7248
  /** Called when the user clicks the welcome phrase (used by F0AiChat to open
7246
7249
  * the pong easter egg). When omitted the phrase is non-interactive. */
7247
7250
  onWelcomeClick?: () => void;
@@ -19598,6 +19601,17 @@ export declare const WeekStartDay: {
19598
19601
 
19599
19602
  export declare type WeekStartsOn = (typeof WeekStartDay)[keyof typeof WeekStartDay];
19600
19603
 
19604
+ /**
19605
+ * Optional call-to-action rendered as a pill above the welcome phrase (e.g. a
19606
+ * "How to use One" shortcut). The host owns `onClick`; f0 owns the pill styling
19607
+ * so it stays consistent with the rest of the welcome screen.
19608
+ */
19609
+ export declare type WelcomeScreenCta = {
19610
+ label: string;
19611
+ icon?: IconType;
19612
+ onClick: () => void;
19613
+ };
19614
+
19601
19615
  /**
19602
19616
  * A welcome-screen group rendered as an outline button in the welcome row.
19603
19617
  * Clicking the group opens a popover listing its `items`. The number of groups
@@ -19831,8 +19845,10 @@ declare module "@tiptap/core" {
19831
19845
 
19832
19846
  declare module "@tiptap/core" {
19833
19847
  interface Commands<ReturnType> {
19834
- transcript: {
19835
- insertTranscript: (data: TranscriptData) => ReturnType;
19848
+ videoEmbed: {
19849
+ setVideoEmbed: (options: {
19850
+ src: string;
19851
+ }) => ReturnType;
19836
19852
  };
19837
19853
  }
19838
19854
  }
@@ -19840,10 +19856,8 @@ declare module "@tiptap/core" {
19840
19856
 
19841
19857
  declare module "@tiptap/core" {
19842
19858
  interface Commands<ReturnType> {
19843
- videoEmbed: {
19844
- setVideoEmbed: (options: {
19845
- src: string;
19846
- }) => ReturnType;
19859
+ transcript: {
19860
+ insertTranscript: (data: TranscriptData) => ReturnType;
19847
19861
  };
19848
19862
  }
19849
19863
  }
package/dist/f0.js CHANGED
@@ -11,8 +11,8 @@ import { l as Yy, c as FN, d as Sd, r as Xy } from "./F0VideoPlayer-CIrwyt6i.js"
11
11
  import { F as upe } from "./F0VideoPlayer-CIrwyt6i.js";
12
12
  import { F as fpe, p as hpe } from "./index-CZ90KKcw.js";
13
13
  import { c as vpe } from "./pdfWorker-b81okSFL.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-CBidGqkB.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-CBidGqkB.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-DNvVMF7Z.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-DNvVMF7Z.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";
@@ -1361,8 +1361,10 @@ declare module "@tiptap/core" {
1361
1361
 
1362
1362
  declare module "@tiptap/core" {
1363
1363
  interface Commands<ReturnType> {
1364
- transcript: {
1365
- insertTranscript: (data: TranscriptData) => ReturnType;
1364
+ videoEmbed: {
1365
+ setVideoEmbed: (options: {
1366
+ src: string;
1367
+ }) => ReturnType;
1366
1368
  };
1367
1369
  }
1368
1370
  }
@@ -1370,10 +1372,8 @@ declare module "@tiptap/core" {
1370
1372
 
1371
1373
  declare module "@tiptap/core" {
1372
1374
  interface Commands<ReturnType> {
1373
- videoEmbed: {
1374
- setVideoEmbed: (options: {
1375
- src: string;
1376
- }) => ReturnType;
1375
+ transcript: {
1376
+ insertTranscript: (data: TranscriptData) => ReturnType;
1377
1377
  };
1378
1378
  }
1379
1379
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.30.0",
3
+ "version": "6.31.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",