@aws/mynah-ui 4.8.1 → 4.9.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/chat-item/chat-item-card.d.ts +1 -1
- package/dist/components/chat-item/chat-item-followup.d.ts +1 -0
- package/dist/components/chat-item/chat-wrapper.d.ts +3 -2
- package/dist/helper/chat-item.d.ts +2 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +1 -0
- package/package.json +1 -1
|
@@ -28,12 +28,12 @@ export declare class ChatItemCard {
|
|
|
28
28
|
private updateTimer;
|
|
29
29
|
constructor(props: ChatItemCardProps);
|
|
30
30
|
private readonly generateCard;
|
|
31
|
-
private readonly cardHasContent;
|
|
32
31
|
private readonly getCardClasses;
|
|
33
32
|
private readonly getCardContent;
|
|
34
33
|
private readonly getChatAvatar;
|
|
35
34
|
private readonly getInsertedTypewriterPartsCss;
|
|
36
35
|
private readonly getInsertingTypewriterPartsCss;
|
|
36
|
+
private readonly checkCardSnap;
|
|
37
37
|
readonly updateCard: () => void;
|
|
38
38
|
readonly updateCardStack: (updateWith: Partial<ChatItem>) => void;
|
|
39
39
|
readonly getRenderDetails: () => CardRenderDetails;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { CardRenderDetails, ChatItem } from '../../static';
|
|
7
|
+
export declare const CONTAINER_GAP = 12;
|
|
7
8
|
export interface ChatWrapperProps {
|
|
8
9
|
onStopChatResponse?: (tabId: string) => void;
|
|
9
10
|
tabId: string;
|
|
@@ -16,8 +17,8 @@ export declare class ChatWrapper {
|
|
|
16
17
|
private readonly promptInput;
|
|
17
18
|
private readonly promptInfo;
|
|
18
19
|
private readonly promptStickyCard;
|
|
19
|
-
private
|
|
20
|
-
private
|
|
20
|
+
private lastStreamingChatItemCard;
|
|
21
|
+
private lastStreamingChatItemMessageId;
|
|
21
22
|
private allRenderedChatItems;
|
|
22
23
|
render: ExtendedHTMLElement;
|
|
23
24
|
constructor(props: ChatWrapperProps);
|