@factorialco/f0-react 11.4.0 → 11.6.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/{ChatPostComposerDialog-Cc7fvKS6.js → ChatPostComposerDialog-Cck0eXo_.js} +3 -3
- package/dist/{CoachmarkProvider-Ci3AcnP8.js → CoachmarkProvider-BFqqg2UJ.js} +19537 -18773
- package/dist/{DocumentToolbar-ROjm7TTq.js → DocumentToolbar-C8mxENP5.js} +5 -5
- package/dist/{DocxViewer-C-hqdAtr.js → DocxViewer-DrVcTEmI.js} +2 -2
- package/dist/{F0AiProcessingOverlay-c1krdBYn.js → F0AiProcessingOverlay-Ce8D6iy4.js} +81 -68
- package/dist/{F0CanvasPanel-CK1xxsUA.js → F0CanvasPanel-BM8XJQxg.js} +901 -823
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/{F0DocumentViewer-BCfJXjvm.js → F0DocumentViewer-2l2m-eh2.js} +6 -6
- package/dist/F0DocumentViewer-D2Ha0lRL.js +3 -0
- package/dist/{F0Map-BiAloAMK.js → F0Map-CytIPUVk.js} +6 -6
- package/dist/{F0Select-BetgBZSF.js → F0Select-i2dNQl-o.js} +2 -2
- package/dist/{F0Text-C9DFseNJ.js → F0Text-CgSfveNl.js} +2 -2
- package/dist/F0VideoPlayer-Ahs45M0U.js +1 -0
- package/dist/{F0VideoPlayer-BSV-SiM6.js → F0VideoPlayer-CkrzZndG.js} +2 -2
- package/dist/{Map-BMmBgKVH.js → Map-C7J7GS7i.js} +6 -6
- package/dist/{PdfThumbnail-BSpty5h1.js → PdfThumbnail-CSm1-nL6.js} +1 -1
- package/dist/{SheetViewer-Gswnolu0.js → SheetViewer-Dr05AACA.js} +4 -4
- package/dist/{TextViewer-Chm6U7Pw.js → TextViewer-B-ElqCqI.js} +2 -2
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +36 -36
- package/dist/{dist-B7gjXV8f.js → dist-CMwSnU0b.js} +1 -1
- package/dist/experimental.d.ts +240 -28
- package/dist/experimental.js +4401 -4265
- package/dist/{exports-4kSDLHnh.d.ts → exports-BUy6iwlC.d.ts} +27 -11
- package/dist/f0.d.ts +4 -765
- package/dist/f0.js +2062 -2716
- package/dist/{i18n-provider-defaults-0FwmF5YL.js → i18n-provider-defaults-DuEbMwBE.js} +1 -0
- package/dist/{i18n-provider-defaults-Yf7knX-_.d.ts → i18n-provider-defaults-iUxatyvB.d.ts} +1 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-D7tei3SJ.d.ts → index-DN2jqF-n.d.ts} +6 -2
- package/dist/{maplibre-BK-KYVbw.js → maplibre-DJXwBvGf.js} +1 -1
- package/dist/{pdfWorker-D_jkJFme.js → pdfWorker-BsMaV8KV.js} +1 -1
- package/dist/{popover-CL68oVjH.js → popover-DDzOLSXr.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{index-DkOgixiu.d.ts → types-Bhw7yTkP.d.ts} +769 -3
- package/dist/{useData-DHe37Z81.js → useData-Dics8Os6.js} +1 -1
- package/package.json +1 -1
- package/dist/F0DocumentViewer-C1x5k9E4.js +0 -3
- package/dist/F0VideoPlayer-DSP9Q57g.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as AiChatCredits, Ar as AiChatShowFilesItem, Ci as AvatarVariant, Ct as WelcomeScreenSuggestionItem, Dr as AiChatFileKind, Er as AiChatFile, Fi as F0AvatarTeamProps, Hi as FileDef, Ii as F0AvatarPersonProps, Ir as CanvasContent, Ki as F0AvatarCompanyProps, Nn as Level, Or as AiChatFilePreviewConfig, Q as AiChatCreditWarning, Rr as CanvasEntityDefinition, St as WelcomeScreenSuggestion, _t as PendingContext, bt as UploadedFile, ct as AiChatUsageLimits, di as DataDownloadDataset, dn as RelaxedNumericWithFormatter, dr as DataAttributes, et as AiChatDisclaimer, la as IconType, ln as Numeric, mt as F0AiChatWelcomeCard, nt as AiChatFileAttachmentConfig, o as F0CardHorizontalProps, pa as WithDataTestIdReturnType, q as AiChatComposerAction, ta as ModuleId, tt as AiChatEmployeeCredits, vt as PendingQuote, xr as PersonProfile, yt as TranscribeFn } from "./index-
|
|
1
|
+
import { $ as AiChatCredits, Ar as AiChatShowFilesItem, Ci as AvatarVariant, Ct as WelcomeScreenSuggestionItem, Dr as AiChatFileKind, Er as AiChatFile, Fi as F0AvatarTeamProps, Hi as FileDef, Ii as F0AvatarPersonProps, Ir as CanvasContent, Ki as F0AvatarCompanyProps, Nn as Level, Or as AiChatFilePreviewConfig, Q as AiChatCreditWarning, Rr as CanvasEntityDefinition, St as WelcomeScreenSuggestion, _t as PendingContext, bt as UploadedFile, ct as AiChatUsageLimits, di as DataDownloadDataset, dn as RelaxedNumericWithFormatter, dr as DataAttributes, et as AiChatDisclaimer, la as IconType, ln as Numeric, mt as F0AiChatWelcomeCard, nt as AiChatFileAttachmentConfig, o as F0CardHorizontalProps, pa as WithDataTestIdReturnType, q as AiChatComposerAction, ta as ModuleId, tt as AiChatEmployeeCredits, vt as PendingQuote, xr as PersonProfile, yt as TranscribeFn } from "./index-DN2jqF-n.js";
|
|
2
2
|
import { CSSProperties, ComponentProps, KeyboardEvent, ReactNode, Ref, RefObject, SVGProps } from "react";
|
|
3
3
|
import { AgentState, TrackReferenceOrPlaceholder } from "@livekit/components-react";
|
|
4
4
|
import { VariantProps } from "cva";
|
|
@@ -215,35 +215,51 @@ interface F0ActionItemProps {
|
|
|
215
215
|
*/
|
|
216
216
|
suffix?: ReactNode;
|
|
217
217
|
/**
|
|
218
|
-
* Current status of the action item
|
|
218
|
+
* Current status of the action item:
|
|
219
|
+
* - `inProgress` — queued, not started.
|
|
220
|
+
* - `executing` — the assistant is reasoning (spinner: "thinking").
|
|
221
|
+
* - `writing` — the assistant is producing output (spinner: "working").
|
|
222
|
+
* - `asking` — the assistant is waiting on the user's answer (spinner:
|
|
223
|
+
* "asking").
|
|
224
|
+
* - `completed` — done.
|
|
219
225
|
*/
|
|
220
|
-
status?: "inProgress" | "executing" | "writing" | "completed";
|
|
226
|
+
status?: "inProgress" | "executing" | "writing" | "asking" | "completed";
|
|
221
227
|
/**
|
|
222
228
|
* Whether the action item is part of a group
|
|
223
229
|
*/
|
|
224
230
|
inGroup?: boolean;
|
|
225
231
|
}
|
|
226
|
-
declare const actionItemStatuses: readonly ["inProgress", "executing", "writing", "completed"];
|
|
232
|
+
declare const actionItemStatuses: readonly ["inProgress", "executing", "writing", "asking", "completed"];
|
|
227
233
|
type ActionItemStatus = (typeof actionItemStatuses)[number];
|
|
228
234
|
//#endregion
|
|
229
235
|
//#region src/elements/ai/F0ActionItem/F0ActionItem.d.ts
|
|
230
236
|
declare const F0ActionItem: ({ title, suffix, status, inGroup }: F0ActionItemProps) => import("react").JSX.Element;
|
|
231
237
|
//#endregion
|
|
238
|
+
//#region src/elements/ai/F0ActionItem/components/globeSpinMath.d.ts
|
|
239
|
+
type SpinMotion = "thinking" | "working" | "asking";
|
|
240
|
+
//#endregion
|
|
232
241
|
//#region src/elements/ai/F0ActionItem/components/ChatSpinner.d.ts
|
|
242
|
+
type ChatSpinnerVariant = SpinMotion | "default" | "continuous";
|
|
233
243
|
interface ChatSpinnerProps {
|
|
234
244
|
size?: number;
|
|
235
245
|
className?: string;
|
|
236
246
|
style?: CSSProperties;
|
|
237
247
|
/**
|
|
238
|
-
*
|
|
239
|
-
* "
|
|
240
|
-
*
|
|
248
|
+
* How the mark moves:
|
|
249
|
+
* - "thinking" → long spins about a slowly precessing axis, resting on the
|
|
250
|
+
* One mark between them. The assistant is reasoning.
|
|
251
|
+
* - "working" → quick half-turns about random axes, never resting. The
|
|
252
|
+
* assistant is producing output.
|
|
253
|
+
* - "asking" → a slow drift. The assistant is waiting on the user.
|
|
254
|
+
*
|
|
255
|
+
* "default" and "continuous" are the former names of "thinking" and
|
|
256
|
+
* "working", kept so existing calls keep working.
|
|
241
257
|
*/
|
|
242
|
-
variant?:
|
|
258
|
+
variant?: ChatSpinnerVariant;
|
|
243
259
|
/**
|
|
244
|
-
* When false,
|
|
245
|
-
* mark
|
|
246
|
-
*
|
|
260
|
+
* When false, "thinking" finishes its current spin and rests on the static
|
|
261
|
+
* One mark, so toggling mid-spin never jumps. "working" and "asking" never
|
|
262
|
+
* rest.
|
|
247
263
|
*/
|
|
248
264
|
playing?: boolean;
|
|
249
265
|
}
|