@tylertech/forge-ai-react 0.4.1 → 0.6.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.
Files changed (78) hide show
  1. package/dist/ForgeAiActionsToolbar.d.ts +24 -16
  2. package/dist/ForgeAiActionsToolbar.js +8 -1
  3. package/dist/ForgeAiAgentInfo.d.ts +51 -0
  4. package/dist/ForgeAiAgentInfo.js +33 -0
  5. package/dist/ForgeAiArtifact.d.ts +15 -16
  6. package/dist/ForgeAiAttachment.d.ts +77 -0
  7. package/dist/ForgeAiAttachment.js +43 -0
  8. package/dist/ForgeAiButton.d.ts +15 -16
  9. package/dist/ForgeAiChainOfThought.d.ts +15 -16
  10. package/dist/ForgeAiChatHeader.d.ts +40 -30
  11. package/dist/ForgeAiChatHeader.js +19 -11
  12. package/dist/ForgeAiChatInterface.d.ts +16 -19
  13. package/dist/ForgeAiChatbot.d.ts +147 -0
  14. package/dist/ForgeAiChatbot.js +94 -0
  15. package/dist/ForgeAiChatbotToolCall.d.ts +60 -0
  16. package/dist/ForgeAiChatbotToolCall.js +38 -0
  17. package/dist/ForgeAiConfirmationPrompt.d.ts +74 -0
  18. package/dist/ForgeAiConfirmationPrompt.js +46 -0
  19. package/dist/ForgeAiDialog.d.ts +15 -16
  20. package/dist/ForgeAiDropdownMenu.d.ts +23 -22
  21. package/dist/ForgeAiDropdownMenu.js +10 -2
  22. package/dist/ForgeAiDropdownMenuItem.d.ts +16 -19
  23. package/dist/ForgeAiDropdownMenuItemGroup.d.ts +15 -16
  24. package/dist/ForgeAiDropdownMenuSeparator.d.ts +15 -16
  25. package/dist/ForgeAiEmbeddedChat.d.ts +33 -20
  26. package/dist/ForgeAiEmbeddedChat.js +18 -2
  27. package/dist/ForgeAiEmptyState.d.ts +19 -18
  28. package/dist/ForgeAiErrorMessage.d.ts +52 -0
  29. package/dist/ForgeAiErrorMessage.js +18 -0
  30. package/dist/ForgeAiEventStreamViewer.d.ts +48 -0
  31. package/dist/ForgeAiEventStreamViewer.js +18 -0
  32. package/dist/ForgeAiFab.d.ts +15 -16
  33. package/dist/ForgeAiFilePicker.d.ts +32 -24
  34. package/dist/ForgeAiFilePicker.js +19 -2
  35. package/dist/ForgeAiFloatingChat.d.ts +18 -30
  36. package/dist/ForgeAiGradientContainer.d.ts +15 -16
  37. package/dist/ForgeAiIcon.d.ts +15 -16
  38. package/dist/ForgeAiIconButton.d.ts +51 -0
  39. package/dist/ForgeAiIconButton.js +21 -0
  40. package/dist/ForgeAiMessageThread.d.ts +90 -0
  41. package/dist/ForgeAiMessageThread.js +62 -0
  42. package/dist/ForgeAiModal.d.ts +19 -16
  43. package/dist/ForgeAiOverlay.d.ts +27 -22
  44. package/dist/ForgeAiOverlay.js +14 -1
  45. package/dist/ForgeAiPaginator.d.ts +66 -0
  46. package/dist/ForgeAiPaginator.js +36 -0
  47. package/dist/ForgeAiPopover.d.ts +27 -22
  48. package/dist/ForgeAiPopover.js +14 -1
  49. package/dist/ForgeAiPrompt.d.ts +44 -22
  50. package/dist/ForgeAiPrompt.js +18 -1
  51. package/dist/ForgeAiReasoning.d.ts +15 -16
  52. package/dist/ForgeAiReasoningContent.d.ts +15 -16
  53. package/dist/ForgeAiReasoningHeader.d.ts +15 -16
  54. package/dist/ForgeAiResponseMessage.d.ts +46 -20
  55. package/dist/ForgeAiResponseMessage.js +22 -3
  56. package/dist/ForgeAiSidebar.d.ts +15 -16
  57. package/dist/ForgeAiSidebarChat.d.ts +18 -30
  58. package/dist/ForgeAiSlashCommandMenu.d.ts +68 -0
  59. package/dist/ForgeAiSlashCommandMenu.js +44 -0
  60. package/dist/ForgeAiSpinner.d.ts +55 -0
  61. package/dist/ForgeAiSpinner.js +21 -0
  62. package/dist/ForgeAiSuggestions.d.ts +18 -16
  63. package/dist/ForgeAiThinkingIndicator.d.ts +24 -16
  64. package/dist/ForgeAiThinkingIndicator.js +6 -1
  65. package/dist/ForgeAiThoughtBase.d.ts +15 -16
  66. package/dist/ForgeAiThoughtDetail.d.ts +15 -16
  67. package/dist/ForgeAiThoughtImage.d.ts +15 -16
  68. package/dist/ForgeAiThoughtSearchResult.d.ts +15 -16
  69. package/dist/ForgeAiThreads.d.ts +18 -16
  70. package/dist/ForgeAiToolDataTable.d.ts +51 -0
  71. package/dist/ForgeAiToolDataTable.js +33 -0
  72. package/dist/ForgeAiTooltip.d.ts +17 -18
  73. package/dist/ForgeAiUserMessage.d.ts +15 -16
  74. package/dist/ForgeAiVoiceInput.d.ts +15 -16
  75. package/dist/ForgePromptButton.d.ts +15 -16
  76. package/dist/index.d.ts +20 -7
  77. package/dist/index.js +20 -7
  78. package/package.json +31 -31
@@ -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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
 
@@ -59,5 +58,8 @@ export interface ForgeAiSuggestionsProps
59
58
  *
60
59
  * ### **Events:**
61
60
  * - **forge-ai-suggestions-select** - Fired when a suggestion is selected.
61
+ *
62
+ * ### **CSS Properties:**
63
+ * - **--forge-ai-suggestion-max-width** - The maximum width of the suggestion buttons in inline layout. _(default: undefined)_
62
64
  */
63
65
  export const ForgeAiSuggestions: React.ForwardRefExoticComponent<ForgeAiSuggestionsProps>;
@@ -3,22 +3,30 @@ import { ForgeAiThinkingIndicator as ForgeAiThinkingIndicatorElement } from "@ty
3
3
 
4
4
  export type { ForgeAiThinkingIndicatorElement };
5
5
 
6
- export interface ForgeAiThinkingIndicatorProps
7
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
+ > {
21
+ /** undefined */
22
+ showText?: boolean;
23
+
24
+ /** undefined */
25
+ initialDelay?: ForgeAiThinkingIndicatorElement["initialDelay"];
26
+
27
+ /** undefined */
28
+ cycleInterval?: ForgeAiThinkingIndicatorElement["cycleInterval"];
29
+
22
30
  /** 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
31
  className?: string;
24
32
 
@@ -2,15 +2,20 @@ import React, { forwardRef } from "react";
2
2
  import "@tylertech/forge-ai/ai-thinking-indicator";
3
3
 
4
4
  export const ForgeAiThinkingIndicator = forwardRef((props, forwardedRef) => {
5
+ const { showText, initialDelay, cycleInterval, ...filteredProps } = props;
6
+
5
7
  return React.createElement(
6
8
  "forge-ai-thinking-indicator",
7
9
  {
8
- ...props,
10
+ ...filteredProps,
11
+ "initial-delay": props.initialDelay || props["initial-delay"],
12
+ "cycle-interval": props.cycleInterval || props["cycle-interval"],
9
13
  class: props.className,
10
14
  exportparts: props.exportparts,
11
15
  for: props.htmlFor,
12
16
  part: props.part,
13
17
  tabindex: props.tabIndex,
18
+ "show-text": props.showText ? true : undefined,
14
19
  style: { ...props.style },
15
20
  },
16
21
  props.children,
@@ -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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
 
@@ -6,22 +6,21 @@ import {
6
6
 
7
7
  export type { ForgeAiThreadsElement, CustomEvent };
8
8
 
9
- export interface ForgeAiThreadsProps
10
- extends Pick<
11
- React.AllHTMLAttributes<HTMLElement>,
12
- | "children"
13
- | "dir"
14
- | "hidden"
15
- | "id"
16
- | "lang"
17
- | "slot"
18
- | "style"
19
- | "title"
20
- | "translate"
21
- | "onClick"
22
- | "onFocus"
23
- | "onBlur"
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>;
@@ -0,0 +1,51 @@
1
+ import React from "react";
2
+ import { ForgeAiToolDataTable as ForgeAiToolDataTableElement } from "@tylertech/forge-ai/tools/ai-data-table";
3
+
4
+ export type { ForgeAiToolDataTableElement };
5
+
6
+ export interface ForgeAiToolDataTableProps 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
+ /** 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()`. */
22
+ className?: string;
23
+
24
+ /** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
25
+ exportparts?: string;
26
+
27
+ /** Used for labels to link them with their inputs (using input id). */
28
+ htmlFor?: string;
29
+
30
+ /** Used to help React identify which items have changed, are added, or are removed within a list. */
31
+ key?: number | string;
32
+
33
+ /** 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. */
34
+ part?: string;
35
+
36
+ /** 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. */
37
+ ref?: any;
38
+
39
+ /** 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. */
40
+ tabIndex?: number;
41
+
42
+ /** Tool call data containing table configuration and data */
43
+ toolCall?: ForgeAiToolDataTableElement["toolCall"];
44
+ }
45
+
46
+ /**
47
+ * Data table component tool renderer for displaying tabular data with pagination and filtering.
48
+ * ---
49
+ *
50
+ */
51
+ export const ForgeAiToolDataTable: React.ForwardRefExoticComponent<ForgeAiToolDataTableProps>;
@@ -0,0 +1,33 @@
1
+ import React, { forwardRef, useRef, useEffect } from "react";
2
+ import "@tylertech/forge-ai/tools/ai-data-table";
3
+ import { useProperties } from "./react-utils.js";
4
+
5
+ export const ForgeAiToolDataTable = forwardRef((props, forwardedRef) => {
6
+ const ref = useRef(null);
7
+ const { toolCall, ...filteredProps } = props;
8
+
9
+ /** Properties - run whenever a property has changed */
10
+ useProperties(ref, "toolCall", props.toolCall);
11
+
12
+ return React.createElement(
13
+ "forge-ai-tool-data-table",
14
+ {
15
+ ref: (node) => {
16
+ ref.current = node;
17
+ if (typeof forwardedRef === "function") {
18
+ forwardedRef(node);
19
+ } else if (forwardedRef) {
20
+ forwardedRef.current = node;
21
+ }
22
+ },
23
+ ...filteredProps,
24
+ class: props.className,
25
+ exportparts: props.exportparts,
26
+ for: props.htmlFor,
27
+ part: props.part,
28
+ tabindex: props.tabIndex,
29
+ style: { ...props.style },
30
+ },
31
+ props.children,
32
+ );
33
+ });
@@ -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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
 
@@ -73,7 +72,7 @@ export interface ForgeAiTooltipProps
73
72
  * - _default_ - The default slot for tooltip content.
74
73
  *
75
74
  * ### **CSS Properties:**
76
- * - **--ai-tooltip-max-width** - The maximum width of the tooltip. _(default: undefined)_
77
- * - **--ai-tooltip-z-index** - The z-index of the tooltip overlay. _(default: undefined)_
75
+ * - **--forge-ai-tooltip-max-width** - The maximum width of the tooltip. _(default: undefined)_
76
+ * - **--forge-ai-tooltip-z-index** - The z-index of the tooltip overlay. _(default: undefined)_
78
77
  */
79
78
  export const ForgeAiTooltip: React.ForwardRefExoticComponent<ForgeAiTooltipProps>;
@@ -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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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
- extends Pick<
8
- React.AllHTMLAttributes<HTMLElement>,
9
- | "children"
10
- | "dir"
11
- | "hidden"
12
- | "id"
13
- | "lang"
14
- | "slot"
15
- | "style"
16
- | "title"
17
- | "translate"
18
- | "onClick"
19
- | "onFocus"
20
- | "onBlur"
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