@aws/mynah-ui 4.36.9-beta.2 → 4.36.9-beta.3
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-wrapper.d.ts +1 -0
- package/dist/components/collapsible-content.d.ts +2 -0
- package/dist/components/modified-files-tracker.d.ts +33 -0
- package/dist/helper/test-ids.d.ts +8 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +4 -0
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ export declare class ChatWrapper {
|
|
|
32
32
|
private readonly dragBlurOverlay;
|
|
33
33
|
private dragOverlayVisibility;
|
|
34
34
|
private imageContextFeatureEnabled;
|
|
35
|
+
private readonly modifiedFilesTracker;
|
|
35
36
|
constructor(props: ChatWrapperProps);
|
|
36
37
|
private readonly getNewConversationGroupElement;
|
|
37
38
|
private readonly removeEmptyCardsAndFollowups;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { ExtendedHTMLElement } from '../helper/dom';
|
|
6
|
+
import { ChatItem } from '../static';
|
|
7
|
+
export interface ModifiedFilesTrackerProps {
|
|
8
|
+
tabId: string;
|
|
9
|
+
isVisible?: boolean;
|
|
10
|
+
chatItem?: ChatItem;
|
|
11
|
+
}
|
|
12
|
+
export declare class ModifiedFilesTracker {
|
|
13
|
+
render: ExtendedHTMLElement;
|
|
14
|
+
private readonly props;
|
|
15
|
+
private readonly collapsibleContent;
|
|
16
|
+
private readonly chatItems;
|
|
17
|
+
private isVisible;
|
|
18
|
+
private contentWrapper;
|
|
19
|
+
private scrollableContainer;
|
|
20
|
+
private moreContentIndicator;
|
|
21
|
+
constructor(props: ModifiedFilesTrackerProps);
|
|
22
|
+
private renderAllContent;
|
|
23
|
+
private renderEmptyState;
|
|
24
|
+
private renderAllItems;
|
|
25
|
+
private renderFileList;
|
|
26
|
+
private updateTitleText;
|
|
27
|
+
private setVisibility;
|
|
28
|
+
addChatItem(chatItem: ChatItem): void;
|
|
29
|
+
removeChatItem(messageId: string): void;
|
|
30
|
+
clear(): void;
|
|
31
|
+
private scrollToBottom;
|
|
32
|
+
private updateScrollIndicator;
|
|
33
|
+
}
|
|
@@ -175,5 +175,13 @@ declare const _default: {
|
|
|
175
175
|
optionLabel: string;
|
|
176
176
|
checkIcon: string;
|
|
177
177
|
};
|
|
178
|
+
modifiedFilesTracker: {
|
|
179
|
+
container: string;
|
|
180
|
+
wrapper: string;
|
|
181
|
+
emptyState: string;
|
|
182
|
+
fileItem: string;
|
|
183
|
+
fileItemAccept: string;
|
|
184
|
+
fileItemUndo: string;
|
|
185
|
+
};
|
|
178
186
|
};
|
|
179
187
|
export default _default;
|
package/dist/main.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { SelectProps, SelectAbstract } from './components/form-items/select';
|
|
|
19
19
|
export { TextInputProps, TextInputAbstract } from './components/form-items/text-input';
|
|
20
20
|
export { TextAreaProps, TextAreaAbstract } from './components/form-items/text-area';
|
|
21
21
|
export { ChatItemCardContent, ChatItemCardContentProps } from './components/chat-item/chat-item-card-content';
|
|
22
|
+
export { ModifiedFilesTracker, ModifiedFilesTrackerProps } from './components/modified-files-tracker';
|
|
22
23
|
export { default as MynahUITestIds } from './helper/test-ids';
|
|
23
24
|
export interface MynahUIProps {
|
|
24
25
|
rootSelector?: string;
|