@factorialco/f0-react 1.189.2 → 1.190.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.
@@ -235,19 +235,14 @@ declare type AIButton = {
235
235
  */
236
236
  export declare const AiChat: () => JSX_2.Element | null;
237
237
 
238
- declare type AiChatMode = "popup" | "sidebar";
239
-
240
- export declare const AiChatProvider: ({ enabled, mode, greeting, children, agent, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
238
+ export declare const AiChatProvider: ({ enabled, greeting, children, agent, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
241
239
 
242
240
  export declare type AiChatProviderProps = {
243
241
  enabled?: boolean;
244
- mode?: AiChatMode;
245
242
  greeting?: string;
246
243
  } & Pick<CopilotKitProps, "agent" | "credentials" | "children" | "runtimeUrl" | "showDevConsole" | "threadId" | "headers">;
247
244
 
248
245
  declare type AiChatProviderReturnValue = {
249
- mode: AiChatMode;
250
- setMode: React.Dispatch<React.SetStateAction<AiChatMode>>;
251
246
  enabled: boolean;
252
247
  setEnabled: React.Dispatch<React.SetStateAction<boolean>>;
253
248
  open: boolean;
@@ -259,7 +254,6 @@ declare type AiChatProviderReturnValue = {
259
254
 
260
255
  declare interface AiChatState {
261
256
  greeting?: string;
262
- initialMode: AiChatMode;
263
257
  enabled: boolean;
264
258
  agent?: string;
265
259
  }
@@ -1614,10 +1608,8 @@ declare const defaultTranslations: {
1614
1608
  };
1615
1609
  readonly notifications: "Notifications";
1616
1610
  readonly ai: {
1617
- readonly description: "Chat with AI";
1618
- readonly expandChat: "Expand chat";
1619
- readonly minimizeChat: "Minimize chat window";
1620
- readonly openChat: "Open Chat";
1611
+ readonly openChat: "Open Chat with One AI";
1612
+ readonly closeChat: "Close Chat with One AI";
1621
1613
  readonly scrollToBottom: "Scroll to bottom";
1622
1614
  readonly welcome: "I'm One. Ask or make anything.";
1623
1615
  readonly initialMessage: "How can I help you today?";
@@ -4816,6 +4808,11 @@ declare module "@tiptap/core" {
4816
4808
  }
4817
4809
 
4818
4810
 
4811
+ declare namespace Calendar {
4812
+ var displayName: string;
4813
+ }
4814
+
4815
+
4819
4816
  declare module "@tiptap/core" {
4820
4817
  interface Commands<ReturnType> {
4821
4818
  moodTracker: {
@@ -4823,8 +4820,3 @@ declare module "@tiptap/core" {
4823
4820
  };
4824
4821
  }
4825
4822
  }
4826
-
4827
-
4828
- declare namespace Calendar {
4829
- var displayName: string;
4830
- }