@factorialco/f0-react 7.12.0 → 7.14.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 (42) hide show
  1. package/dist/{ChatPdfThumbnail-DLaIYO-I.js → ChatPdfThumbnail-C1UcYl1H.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-4FOpj4qy.js → ChatPostComposerDialog-BtRvJU6I.js} +3 -3
  3. package/dist/{DocumentToolbar-l7PxkK4o.js → DocumentToolbar-CV9lcCCY.js} +2 -2
  4. package/dist/{DocxViewer-CBiKF5rZ.js → DocxViewer-rl6xFuWg.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-BYUYtCeT.js → F0AiProcessingOverlay-DJxrxlhM.js} +1385 -1577
  6. package/dist/{F0CanvasPanel-B52A84Yd.js → F0CanvasPanel-Cd27SePP.js} +14105 -13839
  7. package/dist/{F0VideoPlayer-CYkJgfvF.js → F0VideoPlayer-sGOAl4BZ.js} +34 -34
  8. package/dist/{LocationMap-P9l5SS9_.js → LocationMap-B-e88fW6.js} +1 -1
  9. package/dist/{CoachmarkProvider-C-z3xlg6.js → MapProvider-BJSTrUhF.js} +4550 -4542
  10. package/dist/{SheetViewer-DiM7dzkD.js → SheetViewer-sSCtCF-k.js} +2 -2
  11. package/dist/{TextViewer-6MkpYRV9.js → TextViewer-J0dGSrMy.js} +2 -2
  12. package/dist/{VolumeMuted-DKLKhxyd.js → VolumeMuted-UfTwt2zn.js} +6 -26
  13. package/dist/ai.d.ts +98 -1
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.js +2 -2
  16. package/dist/experimental-Bp1BeeE5.js +31861 -0
  17. package/dist/experimental.css +1 -1
  18. package/dist/experimental.d.ts +1296 -12
  19. package/dist/experimental.js +286 -242
  20. package/dist/f0.d.ts +101 -1
  21. package/dist/f0.js +3224 -3223
  22. package/dist/i18n-provider-defaults.d.ts +84 -0
  23. package/dist/i18n-provider-defaults.js +92 -0
  24. package/dist/{index-iNjzeXPY.js → index--lL16aZU.js} +5 -5
  25. package/dist/index-D37fIjbv.js +4 -0
  26. package/dist/index-Dq-WsNBD.js +255 -0
  27. package/dist/index.css +1 -1
  28. package/dist/index2.css +1 -0
  29. package/dist/maplibre-gl-BFrhpbuU.js +24631 -0
  30. package/dist/{pdfWorker-5KFe_TGk.js → pdfWorker-D4wyA0qi.js} +3 -3
  31. package/dist/styles.css +1 -1
  32. package/dist/{tooltip-CMBdJvJA.js → tooltip-BElsa4MF.js} +415 -407
  33. package/icons/app/Floating.d.ts +4 -0
  34. package/icons/app/Floating.d.ts.map +1 -0
  35. package/icons/app/Floating.js +5 -0
  36. package/icons/app/index.d.ts +4 -3
  37. package/icons/app/index.d.ts.map +1 -1
  38. package/icons/app/index.js +4 -3
  39. package/package.json +14 -4
  40. package/dist/experimental-DtqXX6Z2.js +0 -53537
  41. package/dist/index-YxKgC6R7.js +0 -4
  42. /package/dist/{CoachmarkProvider.css → MapProvider.css} +0 -0
package/dist/f0.d.ts CHANGED
@@ -5196,8 +5196,10 @@ export declare const defaultTranslations: {
5196
5196
  readonly tomorrow: "Tomorrow";
5197
5197
  readonly inProgress: "In progress";
5198
5198
  readonly inProgressTitle: "Call in progress";
5199
+ readonly ringing: "Ringing…";
5199
5200
  readonly summarizing: "Summarizing";
5200
5201
  readonly finished: "Finished";
5202
+ readonly missed: "Missed";
5201
5203
  readonly cancelled: "Cancelled";
5202
5204
  readonly startingNow: "Starting now";
5203
5205
  readonly startsIn: {
@@ -5795,6 +5797,12 @@ export declare const defaultTranslations: {
5795
5797
  readonly membersWithLast: "{{names}} and {{last}}";
5796
5798
  readonly membersWithMore: "{{names}} and {{count}} more";
5797
5799
  };
5800
+ readonly call: {
5801
+ readonly startedBy: "{{name}} started a huddle";
5802
+ readonly ended: "Huddle ended";
5803
+ readonly missed: "Missed huddle";
5804
+ readonly start: "Start huddle";
5805
+ };
5798
5806
  readonly unreadCount: {
5799
5807
  readonly one: "{{count}} unread";
5800
5808
  readonly other: "{{count}} unread";
@@ -5885,6 +5893,82 @@ export declare const defaultTranslations: {
5885
5893
  readonly noData: "No data";
5886
5894
  readonly canceled: "Canceled";
5887
5895
  };
5896
+ readonly meeting: {
5897
+ readonly you: "You";
5898
+ readonly muted: "Muted";
5899
+ readonly waitingToJoin: "Waiting…";
5900
+ readonly sharingScreen: "Sharing screen";
5901
+ readonly chatPanel: "Chat";
5902
+ readonly transcriptPanel: "Transcript";
5903
+ readonly notesPanel: "Notes";
5904
+ readonly openChat: "Open chat";
5905
+ readonly closeChat: "Close chat";
5906
+ readonly closePanel: "Close panel";
5907
+ readonly notesPlaceholder: "Take notes for everyone in the call…";
5908
+ readonly roomChatPlaceholder: "Message this call…";
5909
+ readonly roomChatEmpty: "Messages here are only for this call and disappear when it ends.";
5910
+ readonly sendMessage: "Send";
5911
+ readonly notesReadOnly: "Only the host can edit these notes.";
5912
+ readonly transcriptEmpty: "The transcript will appear here as people speak.";
5913
+ readonly copyLink: "Copy link";
5914
+ readonly linkCopied: "Link copied";
5915
+ readonly handRaised: "Hand raised";
5916
+ readonly morePeople: "{{count}} more";
5917
+ readonly connecting: "Connecting…";
5918
+ readonly reconnecting: "Reconnecting…";
5919
+ readonly connectionLost: "Connection lost";
5920
+ readonly ended: "The meeting has ended";
5921
+ readonly rejoin: "Rejoin";
5922
+ readonly weakConnection: "Weak connection";
5923
+ readonly recording: "Recording";
5924
+ readonly cameraBlocked: "Camera access is blocked. Allow it in your browser settings to turn it on.";
5925
+ readonly microphoneBlocked: "Microphone access is blocked. Allow it in your browser settings to speak.";
5926
+ readonly cameraUnavailable: "No camera found";
5927
+ readonly microphoneUnavailable: "No microphone found";
5928
+ readonly cameraInUse: "Your camera is being used by another app";
5929
+ readonly microphoneInUse: "Your microphone is being used by another app";
5930
+ readonly audioBlocked: "Click to enable sound";
5931
+ readonly turnOnMicrophone: "Turn on microphone";
5932
+ readonly turnOffMicrophone: "Turn off microphone";
5933
+ readonly turnOnCamera: "Turn on camera";
5934
+ readonly turnOffCamera: "Turn off camera";
5935
+ readonly shareScreen: "Share screen";
5936
+ readonly stopSharing: "Stop sharing";
5937
+ readonly raiseHand: "Raise hand";
5938
+ readonly lowerHand: "Lower hand";
5939
+ readonly leave: "Leave";
5940
+ readonly moreActions: "More actions";
5941
+ readonly controls: "Meeting controls";
5942
+ readonly unreadCount: "{{count}} unread";
5943
+ readonly selectMicrophone: "Select microphone";
5944
+ readonly systemDefault: "System default";
5945
+ readonly selectCamera: "Select camera";
5946
+ readonly enterFullscreen: "Expand to fullscreen";
5947
+ readonly exitFullscreen: "Exit fullscreen";
5948
+ readonly meetingWindow: "Meeting window";
5949
+ readonly moveWindow: "Move meeting window";
5950
+ readonly pinParticipant: "Pin";
5951
+ readonly unpinParticipant: "Unpin";
5952
+ readonly modeSwitch: "Meeting position";
5953
+ readonly modeSidePanel: "Show in the side panel";
5954
+ readonly modeFloating: "Show in a floating window";
5955
+ readonly modeFullscreen: "Fill the screen";
5956
+ readonly exitPictureInPicture: "Back to the tab";
5957
+ readonly resizePanel: "Resize the meeting panel";
5958
+ readonly movedToCorner: "Meeting window moved to the {{corner}}";
5959
+ readonly cornerTopLeft: "top left";
5960
+ readonly cornerTopRight: "top right";
5961
+ readonly cornerBottomLeft: "bottom left";
5962
+ readonly cornerBottomRight: "bottom right";
5963
+ readonly participantJoined: "{{name}} joined";
5964
+ readonly participantLeft: "{{name}} left";
5965
+ readonly movedToFullscreen: "Meeting fills the screen";
5966
+ readonly movedToFloating: "Meeting in a floating window";
5967
+ readonly movedToSidePanel: "Meeting in the side panel";
5968
+ readonly movedToMinimized: "Meeting minimized";
5969
+ readonly movedInline: "Meeting on the page";
5970
+ readonly movedToPictureInPicture: "Meeting in a picture-in-picture window";
5971
+ };
5888
5972
  readonly select: {
5889
5973
  readonly noResults: "No results found";
5890
5974
  readonly loadingMore: "Loading...";
@@ -12355,6 +12439,8 @@ declare type F0LocationSuggestion = {
12355
12439
  description?: string;
12356
12440
  };
12357
12441
 
12442
+ declare type F0MapProvider = "maplibre";
12443
+
12358
12444
  export declare type F0Message = {
12359
12445
  id: string;
12360
12446
  role: "user" | "assistant" | "system" | "tool";
@@ -12565,7 +12651,7 @@ export declare interface F0OneIconProps extends SVGProps<SVGSVGElement> {
12565
12651
  size?: "xs" | "sm" | "md" | "lg";
12566
12652
  }
12567
12653
 
12568
- export declare const F0OneSwitch: ({ className, disabled, onVisible, tooltip, autoOpen, onToggle, }: F0OneSwitchProps) => JSX_2.Element | null;
12654
+ export declare const F0OneSwitch: ({ className, disabled, onVisible, tooltip, autoOpen, onToggle, checked, onCheckedChange, }: F0OneSwitchProps) => JSX_2.Element | null;
12569
12655
 
12570
12656
  /**
12571
12657
  * Props for the F0OneSwitch component
@@ -12582,6 +12668,19 @@ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof Swi
12582
12668
  };
12583
12669
  /** When true, the tooltip is opened automatically for 3 seconds*/
12584
12670
  autoOpen?: boolean;
12671
+ /**
12672
+ * Drives the switch from the outside instead of from the AI chat context.
12673
+ *
12674
+ * Passing `onCheckedChange` puts the switch in CONTROLLED mode: `checked` is
12675
+ * the state, the handler is the toggle, and the `enabled` gate that normally
12676
+ * renders `null` is bypassed — you have already decided it should be there.
12677
+ *
12678
+ * This exists for surfaces mounted outside `F0AiChatProvider`, where
12679
+ * `useAiChat()` silently returns a no-op proxy and the switch would otherwise
12680
+ * render nothing with no error. Omit both and nothing changes.
12681
+ */
12682
+ checked?: boolean;
12683
+ onCheckedChange?: (open: boolean) => void;
12585
12684
  };
12586
12685
 
12587
12686
  declare type F0PdfRotation = 0 | 90 | 180 | 270;
@@ -12809,6 +12908,7 @@ export declare const F0Provider: React.FC<{
12809
12908
  * ```
12810
12909
  */
12811
12910
  formComponent?: F0FormLikeComponent;
12911
+ mapEngine?: F0MapProvider;
12812
12912
  }>;
12813
12913
 
12814
12914
  export declare const F0QuestionCardMultiStep: ({ steps, onComplete, onSkip, sendAsMessage, onSendMessage, }: F0QuestionCardMultiStepProps) => JSX_2.Element | null;