@factorialco/f0-react 1.204.2 → 1.206.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 +7 -2
- package/dist/experimental.js +22897 -13784
- package/dist/f0.d.ts +3 -0
- package/dist/f0.js +51 -48
- package/dist/{hooks-CSPFCwyM.js → hooks-CY4ijPb5.js} +151 -150
- package/dist/styles.css +1 -1
- package/package.json +5 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -107,11 +107,12 @@ export declare type ActionDefinition = DropdownItemSeparator | (Omit<DropdownIte
|
|
|
107
107
|
type?: "primary" | "secondary" | "other";
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
export declare const ActionItem: ({ title, status }: ActionItemProps) => JSX_2.Element;
|
|
110
|
+
export declare const ActionItem: ({ title, status, inGroup }: ActionItemProps) => JSX_2.Element;
|
|
111
111
|
|
|
112
112
|
export declare interface ActionItemProps {
|
|
113
113
|
title: string;
|
|
114
|
-
status
|
|
114
|
+
status?: "inProgress" | "executing" | "completed";
|
|
115
|
+
inGroup?: boolean;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
declare type ActionProps = {
|
|
@@ -1717,6 +1718,9 @@ declare const defaultTranslations: {
|
|
|
1717
1718
|
readonly scrollToBottom: "Scroll to bottom";
|
|
1718
1719
|
readonly welcome: "Ask or create with One";
|
|
1719
1720
|
readonly initialMessage: "How can I help you today?";
|
|
1721
|
+
readonly inputPlaceholder: "Write something here...";
|
|
1722
|
+
readonly stopAnswerGeneration: "Stop generating";
|
|
1723
|
+
readonly sendMessage: "Send message";
|
|
1720
1724
|
};
|
|
1721
1725
|
readonly select: {
|
|
1722
1726
|
readonly noResults: "No results found";
|
|
@@ -3919,6 +3923,7 @@ export declare type RichTextDisplayHandle = HTMLDivElement;
|
|
|
3919
3923
|
export declare interface RichTextDisplayProps extends HTMLAttributes<HTMLDivElement> {
|
|
3920
3924
|
content: string;
|
|
3921
3925
|
className?: string;
|
|
3926
|
+
format?: "html" | "markdown";
|
|
3922
3927
|
}
|
|
3923
3928
|
|
|
3924
3929
|
export declare const RichTextEditor: ForwardRefExoticComponent<RichTextEditorProps & RefAttributes<RichTextEditorHandle>> & {
|