@aws/mynah-ui 2.0.0-beta.8.0 → 2.0.0-beta.8.2

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.
@@ -4,6 +4,8 @@
4
4
  */
5
5
  import { ExtendedHTMLElement } from '../../helper/dom';
6
6
  export interface ChatItemTreeViewWrapperProps {
7
+ tabId: string;
8
+ messageId: string;
7
9
  files: string[];
8
10
  }
9
11
  export declare class ChatItemTreeViewWrapper {
@@ -3,11 +3,15 @@ import { TreeNode } from '../../helper/file-tree';
3
3
  export interface ChatItemTreeViewProps {
4
4
  node: TreeNode;
5
5
  depth?: number;
6
+ tabId: string;
7
+ messageId: string;
6
8
  }
7
9
  export declare class ChatItemTreeView {
8
10
  private readonly node;
9
11
  private isOpen;
10
12
  private readonly depth;
13
+ private readonly tabId;
14
+ private readonly messageId;
11
15
  render: ExtendedHTMLElement;
12
16
  constructor(props: ChatItemTreeViewProps);
13
17
  getClassNames(): string[];
@@ -14,7 +14,7 @@ export declare class ChatPromptInput {
14
14
  private readonly promptTextInput;
15
15
  private readonly promptTextInputSizer;
16
16
  private readonly sendButton;
17
- private readonly quickActionCommands;
17
+ private quickActionCommands;
18
18
  private commandSelector;
19
19
  private commandSelectorOpen;
20
20
  private inputDisabled;
@@ -11,6 +11,7 @@ export declare enum MynahIcons {
11
11
  PLUS = "plus",
12
12
  CHAT = "chat",
13
13
  LINK = "link",
14
+ DOC = "doc",
14
15
  EXTERNAL = "external",
15
16
  CANCEL = "cancel",
16
17
  CALENDAR = "calendar",
@@ -24,7 +24,7 @@ export interface ToggleProps {
24
24
  export declare class Toggle {
25
25
  render: ExtendedHTMLElement;
26
26
  private readonly props;
27
- private readonly currentValue?;
27
+ private currentValue?;
28
28
  constructor(props: ToggleProps);
29
29
  private readonly transformScroll;
30
30
  private readonly getChildren;
package/dist/main.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface MynahUIProps {
27
27
  onCodeInsertToCursorPosition?: (tabId: string, code?: string, type?: 'selection' | 'block', referenceTrackerInformation?: ReferenceTrackerInformation[]) => void;
28
28
  onSuggestionInteraction?: (tabId: string, eventName: SuggestionEventName, suggestion: Suggestion, mouseEvent?: MouseEvent) => void;
29
29
  onSendFeedback?: (tabId: string, feedbackPayload: FeedbackPayload) => void;
30
- onOpenDiff?: (tabId: string, leftPath: string, rightPath: string) => void;
30
+ onOpenDiff?: (tabId: string, leftPath: string, rightPath: string, messageId?: string) => void;
31
31
  }
32
32
  export declare class MynahUI {
33
33
  private readonly props;