@tylertech/forge-ai-react 0.4.1 → 0.5.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/ForgeAiActionsToolbar.d.ts +24 -16
- package/dist/ForgeAiActionsToolbar.js +8 -1
- package/dist/ForgeAiAgentInfo.d.ts +51 -0
- package/dist/ForgeAiAgentInfo.js +33 -0
- package/dist/ForgeAiArtifact.d.ts +15 -16
- package/dist/ForgeAiAttachment.d.ts +77 -0
- package/dist/ForgeAiAttachment.js +43 -0
- package/dist/ForgeAiButton.d.ts +15 -16
- package/dist/ForgeAiChainOfThought.d.ts +15 -16
- package/dist/ForgeAiChatHeader.d.ts +37 -30
- package/dist/ForgeAiChatHeader.js +19 -11
- package/dist/ForgeAiChatInterface.d.ts +16 -19
- package/dist/ForgeAiChatbot.d.ts +144 -0
- package/dist/ForgeAiChatbot.js +92 -0
- package/dist/ForgeAiChatbotToolCall.d.ts +57 -0
- package/dist/ForgeAiChatbotToolCall.js +36 -0
- package/dist/ForgeAiConfirmationPrompt.d.ts +74 -0
- package/dist/ForgeAiConfirmationPrompt.js +46 -0
- package/dist/ForgeAiDialog.d.ts +15 -16
- package/dist/ForgeAiDropdownMenu.d.ts +19 -16
- package/dist/ForgeAiDropdownMenu.js +10 -2
- package/dist/ForgeAiDropdownMenuItem.d.ts +15 -16
- package/dist/ForgeAiDropdownMenuItemGroup.d.ts +15 -16
- package/dist/ForgeAiDropdownMenuSeparator.d.ts +15 -16
- package/dist/ForgeAiEmbeddedChat.d.ts +33 -20
- package/dist/ForgeAiEmbeddedChat.js +18 -2
- package/dist/ForgeAiEmptyState.d.ts +19 -18
- package/dist/ForgeAiErrorMessage.d.ts +52 -0
- package/dist/ForgeAiErrorMessage.js +18 -0
- package/dist/ForgeAiFab.d.ts +15 -16
- package/dist/ForgeAiFilePicker.d.ts +32 -20
- package/dist/ForgeAiFilePicker.js +19 -2
- package/dist/ForgeAiFloatingChat.d.ts +18 -30
- package/dist/ForgeAiGradientContainer.d.ts +15 -16
- package/dist/ForgeAiIcon.d.ts +15 -16
- package/dist/ForgeAiMessageThread.d.ts +87 -0
- package/dist/ForgeAiMessageThread.js +55 -0
- package/dist/ForgeAiModal.d.ts +19 -16
- package/dist/ForgeAiOverlay.d.ts +23 -16
- package/dist/ForgeAiOverlay.js +12 -1
- package/dist/ForgeAiPopover.d.ts +23 -16
- package/dist/ForgeAiPopover.js +12 -1
- package/dist/ForgeAiPrompt.d.ts +15 -16
- package/dist/ForgeAiReasoning.d.ts +15 -16
- package/dist/ForgeAiReasoningContent.d.ts +15 -16
- package/dist/ForgeAiReasoningHeader.d.ts +15 -16
- package/dist/ForgeAiResponseMessage.d.ts +43 -20
- package/dist/ForgeAiResponseMessage.js +21 -3
- package/dist/ForgeAiSidebar.d.ts +15 -16
- package/dist/ForgeAiSidebarChat.d.ts +18 -30
- package/dist/ForgeAiSpinner.d.ts +55 -0
- package/dist/ForgeAiSpinner.js +21 -0
- package/dist/ForgeAiSuggestions.d.ts +15 -16
- package/dist/ForgeAiThinkingIndicator.d.ts +15 -16
- package/dist/ForgeAiThoughtBase.d.ts +15 -16
- package/dist/ForgeAiThoughtDetail.d.ts +15 -16
- package/dist/ForgeAiThoughtImage.d.ts +15 -16
- package/dist/ForgeAiThoughtSearchResult.d.ts +15 -16
- package/dist/ForgeAiThreads.d.ts +18 -16
- package/dist/ForgeAiTooltip.d.ts +15 -16
- package/dist/ForgeAiUserMessage.d.ts +15 -16
- package/dist/ForgeAiVoiceInput.d.ts +15 -16
- package/dist/ForgePromptButton.d.ts +15 -16
- package/dist/index.d.ts +12 -4
- package/dist/index.js +12 -4
- package/package.json +9 -9
package/dist/ForgeAiSidebar.d.ts
CHANGED
|
@@ -3,22 +3,21 @@ import { ForgeAiSidebar as ForgeAiSidebarElement } from "@tylertech/forge-ai/ai-
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiSidebarElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiSidebarProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiSidebarProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** Indicates whether the sidebar is open. */
|
|
23
22
|
open?: boolean;
|
|
24
23
|
|
|
@@ -3,28 +3,25 @@ import { ForgeAiSidebarChat as ForgeAiSidebarChatElement } from "@tylertech/forg
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiSidebarChatElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiSidebarChatProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/** Indicates whether the sidebar chat is open. */
|
|
6
|
+
export interface ForgeAiSidebarChatProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
21
|
+
/** undefined */
|
|
23
22
|
open?: boolean;
|
|
24
23
|
|
|
25
|
-
/**
|
|
26
|
-
When true, the chat content will be shown in a fullscreen modal.
|
|
27
|
-
When false, the chat will be displayed in the sidebar. */
|
|
24
|
+
/** undefined */
|
|
28
25
|
expanded?: boolean;
|
|
29
26
|
|
|
30
27
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
@@ -72,16 +69,7 @@ When false, the chat will be displayed in the sidebar. */
|
|
|
72
69
|
* - **forge-ai-sidebar-chat-expand** - Fired when the sidebar chat is expanded to modal
|
|
73
70
|
* - **forge-ai-sidebar-chat-collapse** - Fired when the sidebar chat is collapsed from modal
|
|
74
71
|
*
|
|
75
|
-
* ### **Methods:**
|
|
76
|
-
* - **show(): _void_** - Opens the sidebar chat.
|
|
77
|
-
* - **close(): _void_** - Closes the sidebar chat.
|
|
78
|
-
* - **toggle(): _void_** - Toggles the sidebar chat open state.
|
|
79
|
-
* - **expand(): _void_** - Expands the chat to fullscreen modal.
|
|
80
|
-
* - **collapse(): _void_** - Collapses the chat from fullscreen modal back to sidebar.
|
|
81
|
-
*
|
|
82
72
|
* ### **Slots:**
|
|
83
|
-
* - _default_ - Default slot for
|
|
84
|
-
* - **suggestions** - Slot for AI suggestions component
|
|
85
|
-
* - **prompt** - Slot for custom AI prompt component. If not provided, a default forge-ai-prompt will be used.
|
|
73
|
+
* - _default_ - Default slot for chatbot component
|
|
86
74
|
*/
|
|
87
75
|
export const ForgeAiSidebarChat: React.ForwardRefExoticComponent<ForgeAiSidebarChatProps>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ForgeAiSpinner as ForgeAiSpinnerElement } from "@tylertech/forge-ai/ai-spinner";
|
|
3
|
+
|
|
4
|
+
export type { ForgeAiSpinnerElement };
|
|
5
|
+
|
|
6
|
+
export interface ForgeAiSpinnerProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
21
|
+
/** undefined */
|
|
22
|
+
size?: ForgeAiSpinnerElement["size"];
|
|
23
|
+
|
|
24
|
+
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
25
|
+
className?: string;
|
|
26
|
+
|
|
27
|
+
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
28
|
+
exportparts?: string;
|
|
29
|
+
|
|
30
|
+
/** Used for labels to link them with their inputs (using input id). */
|
|
31
|
+
htmlFor?: string;
|
|
32
|
+
|
|
33
|
+
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
34
|
+
key?: number | string;
|
|
35
|
+
|
|
36
|
+
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
37
|
+
part?: string;
|
|
38
|
+
|
|
39
|
+
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
40
|
+
ref?: any;
|
|
41
|
+
|
|
42
|
+
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
43
|
+
tabIndex?: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Indeterminate circular progress indicator.
|
|
48
|
+
* ---
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* ### **CSS Properties:**
|
|
52
|
+
* - **--forge-ai-spinner-color** - Color of the spinner indicator _(default: undefined)_
|
|
53
|
+
* - **--forge-ai-spinner-track-color** - Color of the spinner track _(default: undefined)_
|
|
54
|
+
*/
|
|
55
|
+
export const ForgeAiSpinner: React.ForwardRefExoticComponent<ForgeAiSpinnerProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import "@tylertech/forge-ai/ai-spinner";
|
|
3
|
+
|
|
4
|
+
export const ForgeAiSpinner = forwardRef((props, forwardedRef) => {
|
|
5
|
+
const { size, ...filteredProps } = props;
|
|
6
|
+
|
|
7
|
+
return React.createElement(
|
|
8
|
+
"forge-ai-spinner",
|
|
9
|
+
{
|
|
10
|
+
...filteredProps,
|
|
11
|
+
size: props.size,
|
|
12
|
+
class: props.className,
|
|
13
|
+
exportparts: props.exportparts,
|
|
14
|
+
for: props.htmlFor,
|
|
15
|
+
part: props.part,
|
|
16
|
+
tabindex: props.tabIndex,
|
|
17
|
+
style: { ...props.style },
|
|
18
|
+
},
|
|
19
|
+
props.children,
|
|
20
|
+
);
|
|
21
|
+
});
|
|
@@ -3,22 +3,21 @@ import { ForgeAiSuggestions as ForgeAiSuggestionsElement } from "@tylertech/forg
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiSuggestionsElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiSuggestionsProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiSuggestionsProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** Display variant for suggestions layout */
|
|
23
22
|
variant?: ForgeAiSuggestionsElement["variant"];
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiThinkingIndicator as ForgeAiThinkingIndicatorElement } from "@ty
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiThinkingIndicatorElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiThinkingIndicatorProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiThinkingIndicatorProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
23
22
|
className?: string;
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiThoughtBase as ForgeAiThoughtBaseElement } from "@tylertech/forg
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiThoughtBaseElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiThoughtBaseProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiThoughtBaseProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** The step number for this thought */
|
|
23
22
|
step?: ForgeAiThoughtBaseElement["step"];
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiThoughtDetail as ForgeAiThoughtDetailElement } from "@tylertech/
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiThoughtDetailElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiThoughtDetailProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiThoughtDetailProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
23
22
|
className?: string;
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiThoughtImage as ForgeAiThoughtImageElement } from "@tylertech/fo
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiThoughtImageElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiThoughtImageProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiThoughtImageProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** The step number for this thought image */
|
|
23
22
|
step?: ForgeAiThoughtImageElement["step"];
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiThoughtSearchResult as ForgeAiThoughtSearchResultElement } from
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiThoughtSearchResultElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiThoughtSearchResultProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiThoughtSearchResultProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** The step number for this thought search result */
|
|
23
22
|
step?: ForgeAiThoughtSearchResultElement["step"];
|
|
24
23
|
|
package/dist/ForgeAiThreads.d.ts
CHANGED
|
@@ -6,22 +6,21 @@ import {
|
|
|
6
6
|
|
|
7
7
|
export type { ForgeAiThreadsElement, CustomEvent };
|
|
8
8
|
|
|
9
|
-
export interface ForgeAiThreadsProps
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> {
|
|
9
|
+
export interface ForgeAiThreadsProps extends Pick<
|
|
10
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
11
|
+
| "children"
|
|
12
|
+
| "dir"
|
|
13
|
+
| "hidden"
|
|
14
|
+
| "id"
|
|
15
|
+
| "lang"
|
|
16
|
+
| "slot"
|
|
17
|
+
| "style"
|
|
18
|
+
| "title"
|
|
19
|
+
| "translate"
|
|
20
|
+
| "onClick"
|
|
21
|
+
| "onFocus"
|
|
22
|
+
| "onBlur"
|
|
23
|
+
> {
|
|
25
24
|
/** Array of threads to display in the navigation list */
|
|
26
25
|
threads?: ForgeAiThreadsElement["threads"];
|
|
27
26
|
|
|
@@ -67,5 +66,8 @@ export interface ForgeAiThreadsProps
|
|
|
67
66
|
* - **forge-ai-threads-select** - Fired when a thread is selected.
|
|
68
67
|
* - **forge-ai-threads-new-chat** - Fired when the new chat button is clicked.
|
|
69
68
|
* - **forge-ai-threads-clear-history** - Fired when the clear history button is clicked.
|
|
69
|
+
*
|
|
70
|
+
* ### **Slots:**
|
|
71
|
+
* - _default_ - Default slot for chatbot component
|
|
70
72
|
*/
|
|
71
73
|
export const ForgeAiThreads: React.ForwardRefExoticComponent<ForgeAiThreadsProps>;
|
package/dist/ForgeAiTooltip.d.ts
CHANGED
|
@@ -3,22 +3,21 @@ import { ForgeAiTooltip as ForgeAiTooltipElement } from "@tylertech/forge-ai/cor
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiTooltipElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiTooltipProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiTooltipProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** Whether the tooltip is open. */
|
|
23
22
|
open?: boolean;
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiUserMessage as ForgeAiUserMessageElement } from "@tylertech/forg
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiUserMessageElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiUserMessageProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiUserMessageProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
23
22
|
className?: string;
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgeAiVoiceInput as ForgeAiVoiceInputElement } from "@tylertech/forge-
|
|
|
3
3
|
|
|
4
4
|
export type { ForgeAiVoiceInputElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgeAiVoiceInputProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgeAiVoiceInputProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
23
22
|
className?: string;
|
|
24
23
|
|
|
@@ -3,22 +3,21 @@ import { ForgePromptButton as ForgePromptButtonElement } from "@tylertech/forge-
|
|
|
3
3
|
|
|
4
4
|
export type { ForgePromptButtonElement };
|
|
5
5
|
|
|
6
|
-
export interface ForgePromptButtonProps
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> {
|
|
6
|
+
export interface ForgePromptButtonProps extends Pick<
|
|
7
|
+
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
+
| "children"
|
|
9
|
+
| "dir"
|
|
10
|
+
| "hidden"
|
|
11
|
+
| "id"
|
|
12
|
+
| "lang"
|
|
13
|
+
| "slot"
|
|
14
|
+
| "style"
|
|
15
|
+
| "title"
|
|
16
|
+
| "translate"
|
|
17
|
+
| "onClick"
|
|
18
|
+
| "onFocus"
|
|
19
|
+
| "onBlur"
|
|
20
|
+
> {
|
|
22
21
|
/** Whether the button is disabled */
|
|
23
22
|
disabled?: boolean;
|
|
24
23
|
|