@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.
- package/dist/components/chat-item/chat-item-tree-view-wrapper.d.ts +2 -0
- package/dist/components/chat-item/chat-item-tree-view.d.ts +4 -0
- package/dist/components/chat-item/chat-prompt-input.d.ts +1 -1
- package/dist/components/icon.d.ts +1 -0
- package/dist/components/toggle.d.ts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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
|
|
17
|
+
private quickActionCommands;
|
|
18
18
|
private commandSelector;
|
|
19
19
|
private commandSelectorOpen;
|
|
20
20
|
private inputDisabled;
|
|
@@ -24,7 +24,7 @@ export interface ToggleProps {
|
|
|
24
24
|
export declare class Toggle {
|
|
25
25
|
render: ExtendedHTMLElement;
|
|
26
26
|
private readonly props;
|
|
27
|
-
private
|
|
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;
|