@factorialco/f0-react 1.303.6 → 1.304.1
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/experimental.d.ts +32 -28
- package/dist/experimental.js +4506 -4444
- package/dist/f0.d.ts +28 -28
- package/dist/f0.js +2 -2
- package/dist/{hooks-CSPsU7f1.js → hooks-DiAV3mH3.js} +4 -4
- package/dist/i18n-provider-defaults.d.ts +28 -28
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/experimental.d.ts
CHANGED
|
@@ -437,6 +437,8 @@ declare type AiChatProviderReturnValue = {
|
|
|
437
437
|
shouldPlayEntranceAnimation: boolean;
|
|
438
438
|
setShouldPlayEntranceAnimation: React.Dispatch<React.SetStateAction<boolean>>;
|
|
439
439
|
tmp_setAgent: (agent?: string) => void;
|
|
440
|
+
placeholders: string[];
|
|
441
|
+
setPlaceholders: React.Dispatch<React.SetStateAction<string[]>>;
|
|
440
442
|
/**
|
|
441
443
|
* Set the amount of minutes after which the chat will be cleared automatically
|
|
442
444
|
* Set `null` to disable auto-clearing
|
|
@@ -473,6 +475,8 @@ declare interface AiChatState {
|
|
|
473
475
|
agent?: string;
|
|
474
476
|
initialMessage?: string | string[];
|
|
475
477
|
welcomeScreenSuggestions?: WelcomeScreenSuggestion[];
|
|
478
|
+
placeholders?: string[];
|
|
479
|
+
setPlaceholders?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
476
480
|
onThumbsUp?: (message: AIMessage, { threadId, feedback }: {
|
|
477
481
|
threadId: string;
|
|
478
482
|
feedback: string;
|
|
@@ -6385,11 +6389,28 @@ declare global {
|
|
|
6385
6389
|
}
|
|
6386
6390
|
}
|
|
6387
6391
|
|
|
6392
|
+
declare module "gridstack" {
|
|
6393
|
+
interface GridStackWidget {
|
|
6394
|
+
id?: string;
|
|
6395
|
+
allowedSizes?: Array<{
|
|
6396
|
+
w: number;
|
|
6397
|
+
h: number;
|
|
6398
|
+
}>;
|
|
6399
|
+
meta?: Record<string, unknown>;
|
|
6400
|
+
}
|
|
6401
|
+
interface GridStackNode {
|
|
6402
|
+
allowedSizes?: Array<{
|
|
6403
|
+
w: number;
|
|
6404
|
+
h: number;
|
|
6405
|
+
}>;
|
|
6406
|
+
}
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6388
6409
|
|
|
6389
6410
|
declare module "@tiptap/core" {
|
|
6390
6411
|
interface Commands<ReturnType> {
|
|
6391
|
-
|
|
6392
|
-
|
|
6412
|
+
aiBlock: {
|
|
6413
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
6393
6414
|
};
|
|
6394
6415
|
}
|
|
6395
6416
|
}
|
|
@@ -6397,8 +6418,8 @@ declare module "@tiptap/core" {
|
|
|
6397
6418
|
|
|
6398
6419
|
declare module "@tiptap/core" {
|
|
6399
6420
|
interface Commands<ReturnType> {
|
|
6400
|
-
|
|
6401
|
-
|
|
6421
|
+
liveCompanion: {
|
|
6422
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
6402
6423
|
};
|
|
6403
6424
|
}
|
|
6404
6425
|
}
|
|
@@ -6406,34 +6427,12 @@ declare module "@tiptap/core" {
|
|
|
6406
6427
|
|
|
6407
6428
|
declare module "@tiptap/core" {
|
|
6408
6429
|
interface Commands<ReturnType> {
|
|
6409
|
-
|
|
6410
|
-
|
|
6430
|
+
transcript: {
|
|
6431
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
6411
6432
|
};
|
|
6412
6433
|
}
|
|
6413
6434
|
}
|
|
6414
6435
|
|
|
6415
|
-
declare module "gridstack" {
|
|
6416
|
-
interface GridStackWidget {
|
|
6417
|
-
id?: string;
|
|
6418
|
-
allowedSizes?: Array<{
|
|
6419
|
-
w: number;
|
|
6420
|
-
h: number;
|
|
6421
|
-
}>;
|
|
6422
|
-
meta?: Record<string, unknown>;
|
|
6423
|
-
}
|
|
6424
|
-
interface GridStackNode {
|
|
6425
|
-
allowedSizes?: Array<{
|
|
6426
|
-
w: number;
|
|
6427
|
-
h: number;
|
|
6428
|
-
}>;
|
|
6429
|
-
}
|
|
6430
|
-
}
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
declare namespace Calendar {
|
|
6434
|
-
var displayName: string;
|
|
6435
|
-
}
|
|
6436
|
-
|
|
6437
6436
|
|
|
6438
6437
|
declare module "@tiptap/core" {
|
|
6439
6438
|
interface Commands<ReturnType> {
|
|
@@ -6442,3 +6441,8 @@ declare module "@tiptap/core" {
|
|
|
6442
6441
|
};
|
|
6443
6442
|
}
|
|
6444
6443
|
}
|
|
6444
|
+
|
|
6445
|
+
|
|
6446
|
+
declare namespace Calendar {
|
|
6447
|
+
var displayName: string;
|
|
6448
|
+
}
|