@factorialco/f0-react 1.283.0 → 1.284.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/experimental.d.ts +39 -25
- package/dist/experimental.js +3481 -3464
- package/dist/f0.d.ts +26 -25
- package/dist/f0.js +3 -2
- package/dist/{hooks-DKxMU3Et.js → hooks-DOxjzQyl.js} +4 -4
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -2331,6 +2331,7 @@ declare const defaultTranslations: {
|
|
|
2331
2331
|
readonly ai: {
|
|
2332
2332
|
readonly openChat: "Open Chat with One AI";
|
|
2333
2333
|
readonly closeChat: "Close Chat with One AI";
|
|
2334
|
+
readonly startNewChat: "Start new chat";
|
|
2334
2335
|
readonly scrollToBottom: "Scroll to bottom";
|
|
2335
2336
|
readonly welcome: "Ask or create with One";
|
|
2336
2337
|
readonly defaultInitialMessage: "How can I help you today?";
|
|
@@ -3604,6 +3605,12 @@ export declare interface Message {
|
|
|
3604
3605
|
dateTime: string;
|
|
3605
3606
|
}
|
|
3606
3607
|
|
|
3608
|
+
export declare const MessageSources: ({ sources }: MessageSourcesProps) => JSX_2.Element | null;
|
|
3609
|
+
|
|
3610
|
+
export declare type MessageSourcesProps = {
|
|
3611
|
+
sources: Source[];
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3607
3614
|
declare type MetadataAction = {
|
|
3608
3615
|
icon: IconType;
|
|
3609
3616
|
label: string;
|
|
@@ -5203,6 +5210,13 @@ export declare type SortingsStateMultiple = {
|
|
|
5203
5210
|
|
|
5204
5211
|
export declare type SortOrder = "asc" | "desc";
|
|
5205
5212
|
|
|
5213
|
+
declare type Source = {
|
|
5214
|
+
title: string;
|
|
5215
|
+
link?: string;
|
|
5216
|
+
icon?: string;
|
|
5217
|
+
targetBlank?: boolean;
|
|
5218
|
+
};
|
|
5219
|
+
|
|
5206
5220
|
export declare function Spinner({ size, className }: SpinnerProps): JSX_2.Element;
|
|
5207
5221
|
|
|
5208
5222
|
declare interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
@@ -6131,6 +6145,31 @@ declare global {
|
|
|
6131
6145
|
}
|
|
6132
6146
|
|
|
6133
6147
|
|
|
6148
|
+
declare module "gridstack" {
|
|
6149
|
+
interface GridStackWidget {
|
|
6150
|
+
id?: string;
|
|
6151
|
+
allowedSizes?: Array<{
|
|
6152
|
+
w: number;
|
|
6153
|
+
h: number;
|
|
6154
|
+
}>;
|
|
6155
|
+
renderFn?: () => React.ReactElement | null;
|
|
6156
|
+
meta?: Record<string, unknown>;
|
|
6157
|
+
}
|
|
6158
|
+
interface GridStackNode {
|
|
6159
|
+
id?: string;
|
|
6160
|
+
w?: number;
|
|
6161
|
+
h?: number;
|
|
6162
|
+
x?: number;
|
|
6163
|
+
y?: number;
|
|
6164
|
+
allowedSizes?: Array<{
|
|
6165
|
+
w: number;
|
|
6166
|
+
h: number;
|
|
6167
|
+
}>;
|
|
6168
|
+
renderFn?: () => React.ReactElement | null;
|
|
6169
|
+
}
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6172
|
+
|
|
6134
6173
|
declare module "@tiptap/core" {
|
|
6135
6174
|
interface Commands<ReturnType> {
|
|
6136
6175
|
aiBlock: {
|
|
@@ -6158,31 +6197,6 @@ declare module "@tiptap/core" {
|
|
|
6158
6197
|
}
|
|
6159
6198
|
|
|
6160
6199
|
|
|
6161
|
-
declare module "gridstack" {
|
|
6162
|
-
interface GridStackWidget {
|
|
6163
|
-
id?: string;
|
|
6164
|
-
allowedSizes?: Array<{
|
|
6165
|
-
w: number;
|
|
6166
|
-
h: number;
|
|
6167
|
-
}>;
|
|
6168
|
-
renderFn?: () => React.ReactElement | null;
|
|
6169
|
-
meta?: Record<string, unknown>;
|
|
6170
|
-
}
|
|
6171
|
-
interface GridStackNode {
|
|
6172
|
-
id?: string;
|
|
6173
|
-
w?: number;
|
|
6174
|
-
h?: number;
|
|
6175
|
-
x?: number;
|
|
6176
|
-
y?: number;
|
|
6177
|
-
allowedSizes?: Array<{
|
|
6178
|
-
w: number;
|
|
6179
|
-
h: number;
|
|
6180
|
-
}>;
|
|
6181
|
-
renderFn?: () => React.ReactElement | null;
|
|
6182
|
-
}
|
|
6183
|
-
}
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
6200
|
declare namespace Calendar {
|
|
6187
6201
|
var displayName: string;
|
|
6188
6202
|
}
|