@aws/mynah-ui 4.0.4 → 4.1.1
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/card/card-body.d.ts +1 -0
- package/dist/components/chat-item/chat-item-card.d.ts +2 -0
- package/dist/components/chat-item/chat-item-tree-view-wrapper.d.ts +2 -0
- package/dist/helper/file-tree.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +2 -0
- package/package.json +4 -2
- package/postinstall.js +5 -0
|
@@ -19,6 +19,7 @@ export declare const PARTS_CLASS_NAME_VISIBLE = "typewriter";
|
|
|
19
19
|
export interface CardBodyProps {
|
|
20
20
|
body: string;
|
|
21
21
|
children?: Array<ExtendedHTMLElement | HTMLElement | string | DomBuilderObject>;
|
|
22
|
+
childLocation?: 'above-body' | 'below-body';
|
|
22
23
|
highlightRangeWithTooltip?: ReferenceTrackerInformation[];
|
|
23
24
|
useParts?: boolean;
|
|
24
25
|
onLinkClick?: (url: string, e: MouseEvent) => void;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { ChatItem } from '../../static';
|
|
7
7
|
import { CardBody } from '../card/card-body';
|
|
8
|
+
import { ChatItemTreeViewWrapper } from './chat-item-tree-view-wrapper';
|
|
8
9
|
import { ChatItemFormItemsWrapper } from './chat-item-form-items';
|
|
9
10
|
import { ChatItemButtonsWrapper } from './chat-item-buttons';
|
|
10
11
|
export interface ChatItemCardProps {
|
|
@@ -19,6 +20,7 @@ export declare class ChatItemCard {
|
|
|
19
20
|
updateStack: Array<Partial<ChatItem>>;
|
|
20
21
|
chatFormItems: ChatItemFormItemsWrapper | null;
|
|
21
22
|
chatButtons: ChatItemButtonsWrapper | null;
|
|
23
|
+
fileTreeWrapper: ChatItemTreeViewWrapper | null;
|
|
22
24
|
typewriterItemIndex: number;
|
|
23
25
|
previousTypewriterItemIndex: number;
|
|
24
26
|
typewriterId: string;
|
|
@@ -8,6 +8,8 @@ export interface ChatItemTreeViewWrapperProps {
|
|
|
8
8
|
tabId: string;
|
|
9
9
|
messageId: string;
|
|
10
10
|
files: string[];
|
|
11
|
+
cardTitle?: string;
|
|
12
|
+
rootTitle?: string;
|
|
11
13
|
deletedFiles: string[];
|
|
12
14
|
actions?: Record<string, FileNodeAction[]>;
|
|
13
15
|
details?: Record<string, TreeNodeDetails>;
|
|
@@ -18,4 +18,4 @@ export interface FolderNode {
|
|
|
18
18
|
details?: TreeNodeDetails;
|
|
19
19
|
children: Array<FolderNode | FileNode>;
|
|
20
20
|
}
|
|
21
|
-
export declare const fileListToTree: (modifiedFilePaths: string[], deletedFilePaths?: string[], actions?: Record<string, FileNodeAction[]>, details?: Record<string, TreeNodeDetails
|
|
21
|
+
export declare const fileListToTree: (modifiedFilePaths: string[], deletedFilePaths?: string[], actions?: Record<string, FileNodeAction[]>, details?: Record<string, TreeNodeDetails>, rootTitle?: string) => TreeNode;
|