@factorialco/f0-react 8.36.1 → 8.37.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.
Files changed (32) hide show
  1. package/dist/{ChatPdfThumbnail-BbOPESdU.js → ChatPdfThumbnail-D17gaAZw.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-Cv7VtLD6.js → ChatPostComposerDialog-Dzcwl3UT.js} +3 -3
  3. package/dist/{DocumentToolbar-CVrrJ4iA.js → DocumentToolbar-BF90Kcrb.js} +9 -9
  4. package/dist/{DocxViewer-AbtW-zX4.js → DocxViewer-DXUC2CUW.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-BDqqztvk.js → F0AiProcessingOverlay-DTsO9rEl.js} +1 -1
  6. package/dist/{F0CanvasPanel-WVtVnJRZ.js → F0CanvasPanel-kbwLvapQ.js} +15672 -15669
  7. package/dist/{index-DqE_RHOm.js → F0DocumentViewer-Bk7ciWZW.js} +142 -149
  8. package/dist/{F0Map-DLKYcpUE.js → F0Map-B_XG6Txo.js} +4 -4
  9. package/dist/{F0VideoPlayer-D1jXuNEn.js → F0VideoPlayer-Cdq6rTqq.js} +48 -48
  10. package/dist/{MapProvider-Q8EU0u5y.js → MapProvider-DrUuwDLP.js} +13643 -13650
  11. package/dist/{SheetViewer-KR2QIyYj.js → SheetViewer-DgLdv4qf.js} +3 -3
  12. package/dist/{TextViewer-D28lLt_m.js → TextViewer-7qYfyanJ.js} +2 -2
  13. package/dist/ai.d.ts +34 -23
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.d.ts +14 -14
  16. package/dist/component-status.js +1 -1
  17. package/dist/{experimental-BSsHhEKt.js → experimental-B_Hvv6tU.js} +166 -165
  18. package/dist/experimental.d.ts +74 -69
  19. package/dist/experimental.js +63 -63
  20. package/dist/f0.d.ts +336 -106
  21. package/dist/f0.js +6788 -6781
  22. package/dist/i18n-provider-defaults.d.ts +14 -14
  23. package/dist/index-BGG-4WaL.js +4 -0
  24. package/dist/{index-C5FgdXF2.js → index-BQthngzU.js} +2 -2
  25. package/dist/index-CzPx-LpF.js +8 -0
  26. package/dist/{index-CuAmARkm.js → index-HEb5Ocnl.js} +3 -3
  27. package/dist/{index-P3wd7w_Q.js → index-QJVt3QQ2.js} +1 -1
  28. package/dist/pdfWorker-CX_u28dQ.js +13120 -0
  29. package/package.json +1 -1
  30. package/dist/index-B5m0OpRD.js +0 -4
  31. package/dist/pdfWorker-C2B0uWA2.js +0 -13120
  32. /package/dist/{index2.css → F0DocumentViewer.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as n, Fragment as v } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as E } from "react";
3
- import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-WVtVnJRZ.js";
4
- import { d as D } from "./index-DqE_RHOm.js";
3
+ import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-kbwLvapQ.js";
4
+ import { d as D } from "./F0DocumentViewer-Bk7ciWZW.js";
5
5
  import { f as L, c as R } from "./sheetPreview-BiccmyTD.js";
6
- import { u as z, D as U } from "./DocumentToolbar-CVrrJ4iA.js";
6
+ import { u as z, D as U } from "./DocumentToolbar-BF90Kcrb.js";
7
7
  const w = 1e3, _ = 100, $ = ({
8
8
  url: a,
9
9
  filename: f,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u, useEffect as x } from "react";
3
- import { u as w, S as y, p as g } from "./F0CanvasPanel-WVtVnJRZ.js";
4
- import { u as k, D as v } from "./DocumentToolbar-CVrrJ4iA.js";
3
+ import { u as w, S as y, p as g } from "./F0CanvasPanel-kbwLvapQ.js";
4
+ import { u as k, D as v } from "./DocumentToolbar-BF90Kcrb.js";
5
5
  const q = 2 * 1024 * 1024, N = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -27,10 +27,6 @@ import { DeltaCellValue } from './types/delta';
27
27
  import { DotTagCellValue } from '../../../ui/value-display/types/dotTag';
28
28
  import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
29
29
  import { EmployeeItemProps } from './types';
30
- import { F0TagBalanceProps as F0TagBalanceProps_2 } from './types';
31
- import { F0TagCompanyProps } from './types';
32
- import { F0TagPersonProps } from './types';
33
- import { F0TagTeamProps } from './types';
34
30
  import { f1Colors } from '@factorialco/f0-core';
35
31
  import { FileCellValue } from '../../../ui/value-display/types/file';
36
32
  import { FileCellValue as FileCellValue_2 } from './types/file';
@@ -55,7 +51,6 @@ import { PersonCellValue as PersonCellValue_2 } from './types/person';
55
51
  import { ProgressBarCellValue } from '../../../ui/value-display/types/progressBar';
56
52
  import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
57
53
  import { ProgressSeriesCellValue } from './types/progressSeries';
58
- import { Props as Props_3 } from './types';
59
54
  import * as React_2 from 'react';
60
55
  import { ReactElement } from 'react';
61
56
  import { ReactNode } from 'react';
@@ -88,8 +83,8 @@ import { TextCellValue as TextCellValue_2 } from './types/text';
88
83
  import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
89
84
  import { ValueDisplayRendererContext } from '../../../ui/value-display';
90
85
  import { VariantProps } from 'cva';
91
- import { WithDataTestIdReturnType } from '../../lib/data-testid';
92
- import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../../lib/data-testid';
86
+ import { WithDataTestIdReturnType } from '../../lib/data-testid/data-testid';
87
+ import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../../lib/data-testid/data-testid';
93
88
 
94
89
  declare type ActionBaseProps = ActionCommonProps & DataAttributes;
95
90
 
@@ -5443,9 +5438,9 @@ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof Swi
5443
5438
  onCheckedChange?: (open: boolean) => void;
5444
5439
  };
5445
5440
 
5446
- declare const F0TagAlert: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Props_3 & RefAttributes<HTMLDivElement>>>;
5441
+ declare const F0TagAlert: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Props & RefAttributes<HTMLDivElement>>>;
5447
5442
 
5448
- declare const F0TagBalance: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagBalanceProps_2 & RefAttributes<HTMLDivElement>>>;
5443
+ declare const F0TagBalance: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagBalanceProps & RefAttributes<HTMLDivElement>>>;
5449
5444
 
5450
5445
  declare type F0TagBalanceProps = {
5451
5446
  /**
@@ -5479,6 +5474,11 @@ declare type F0TagBalanceProps = {
5479
5474
 
5480
5475
  declare const F0TagCompany: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
5481
5476
 
5477
+ declare interface F0TagCompanyProps {
5478
+ name: string;
5479
+ src?: string;
5480
+ }
5481
+
5482
5482
  declare type F0TagListProps<T extends TagType_2> = {
5483
5483
  /**
5484
5484
  * The type of tags to display. Only one type can be used at a time.
@@ -5501,6 +5501,12 @@ declare type F0TagListProps<T extends TagType_2> = {
5501
5501
 
5502
5502
  declare const F0TagPerson: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
5503
5503
 
5504
+ declare type F0TagPersonProps = {
5505
+ src?: string;
5506
+ name: string;
5507
+ deactivated?: boolean;
5508
+ };
5509
+
5504
5510
  declare type F0TagRawProps = {
5505
5511
  /**
5506
5512
  * The label to display in the tag or used for accessible text
@@ -5544,6 +5550,11 @@ declare interface F0TagStatusProps {
5544
5550
 
5545
5551
  declare const F0TagTeam: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
5546
5552
 
5553
+ declare interface F0TagTeamProps {
5554
+ name: string;
5555
+ src?: string;
5556
+ }
5557
+
5547
5558
  /**
5548
5559
  * Loose message shape used inside f0. Mirrors the CopilotKit `Message`
5549
5560
  * shape so adapters (factorial, mock runtime) can map back and forth
@@ -6801,6 +6812,16 @@ declare namespace Calendar {
6801
6812
  }
6802
6813
 
6803
6814
 
6815
+ declare module "@tiptap/core" {
6816
+ interface Commands<ReturnType> {
6817
+ fontSize: {
6818
+ setFontSize: (fontSize: string) => ReturnType;
6819
+ unsetFontSize: () => ReturnType;
6820
+ };
6821
+ }
6822
+ }
6823
+
6824
+
6804
6825
  declare module "@tiptap/core" {
6805
6826
  interface Commands<ReturnType> {
6806
6827
  aiBlock: {
@@ -6825,9 +6846,8 @@ declare module "@tiptap/core" {
6825
6846
 
6826
6847
  declare module "@tiptap/core" {
6827
6848
  interface Commands<ReturnType> {
6828
- fontSize: {
6829
- setFontSize: (fontSize: string) => ReturnType;
6830
- unsetFontSize: () => ReturnType;
6849
+ moodTracker: {
6850
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6831
6851
  };
6832
6852
  }
6833
6853
  }
@@ -6846,8 +6866,8 @@ declare module "@tiptap/core" {
6846
6866
 
6847
6867
  declare module "@tiptap/core" {
6848
6868
  interface Commands<ReturnType> {
6849
- moodTracker: {
6850
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6869
+ transcript: {
6870
+ insertTranscript: (data: TranscriptData) => ReturnType;
6851
6871
  };
6852
6872
  }
6853
6873
  }
@@ -6864,15 +6884,6 @@ declare module "@tiptap/core" {
6864
6884
  }
6865
6885
 
6866
6886
 
6867
- declare module "@tiptap/core" {
6868
- interface Commands<ReturnType> {
6869
- transcript: {
6870
- insertTranscript: (data: TranscriptData) => ReturnType;
6871
- };
6872
- }
6873
- }
6874
-
6875
-
6876
6887
  declare namespace F0GraphNodeWrapperInner {
6877
6888
  var displayName: string;
6878
6889
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
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 m } from "./F0CanvasPanel-WVtVnJRZ.js";
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 m } from "./F0CanvasPanel-kbwLvapQ.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-BDqqztvk.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DTsO9rEl.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -294,6 +294,16 @@ declare namespace Calendar {
294
294
  }
295
295
 
296
296
 
297
+ declare module "@tiptap/core" {
298
+ interface Commands<ReturnType> {
299
+ fontSize: {
300
+ setFontSize: (fontSize: string) => ReturnType;
301
+ unsetFontSize: () => ReturnType;
302
+ };
303
+ }
304
+ }
305
+
306
+
297
307
  declare module "@tiptap/core" {
298
308
  interface Commands<ReturnType> {
299
309
  aiBlock: {
@@ -318,9 +328,8 @@ declare module "@tiptap/core" {
318
328
 
319
329
  declare module "@tiptap/core" {
320
330
  interface Commands<ReturnType> {
321
- fontSize: {
322
- setFontSize: (fontSize: string) => ReturnType;
323
- unsetFontSize: () => ReturnType;
331
+ moodTracker: {
332
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
324
333
  };
325
334
  }
326
335
  }
@@ -339,8 +348,8 @@ declare module "@tiptap/core" {
339
348
 
340
349
  declare module "@tiptap/core" {
341
350
  interface Commands<ReturnType> {
342
- moodTracker: {
343
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
351
+ transcript: {
352
+ insertTranscript: (data: TranscriptData) => ReturnType;
344
353
  };
345
354
  }
346
355
  }
@@ -357,15 +366,6 @@ declare module "@tiptap/core" {
357
366
  }
358
367
 
359
368
 
360
- declare module "@tiptap/core" {
361
- interface Commands<ReturnType> {
362
- transcript: {
363
- insertTranscript: (data: TranscriptData) => ReturnType;
364
- };
365
- }
366
- }
367
-
368
-
369
369
  declare namespace F0GraphNodeWrapperInner {
370
370
  var displayName: string;
371
371
  }