@aws/mynah-ui 4.21.4 → 4.21.6
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 -0
- package/dist/components/chat-item/chat-wrapper.d.ts +2 -0
- package/dist/helper/dom.d.ts +2 -0
- package/dist/helper/tabs-store.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +2 -1
- package/docs/ARCHITECTURE.md +91 -0
- package/package.json +1 -1
- package/ui-tests/dist/main.js +1 -1
- package/ui-tests/dist/main.js.map +1 -1
|
@@ -25,6 +25,8 @@ export declare class ChatWrapper {
|
|
|
25
25
|
private lastStreamingChatItemCard;
|
|
26
26
|
private lastStreamingChatItemMessageId;
|
|
27
27
|
private allRenderedChatItems;
|
|
28
|
+
private scrollPos;
|
|
29
|
+
private restoreScrollAfterResize;
|
|
28
30
|
render: ExtendedHTMLElement;
|
|
29
31
|
constructor(props: ChatWrapperProps);
|
|
30
32
|
private readonly removeEmptyCardsAndFollowups;
|
package/dist/helper/dom.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export interface ExtendedHTMLElement extends HTMLInputElement {
|
|
|
50
50
|
export declare class DomBuilder {
|
|
51
51
|
private static instance;
|
|
52
52
|
private rootFocus;
|
|
53
|
+
private readonly resizeObserver;
|
|
54
|
+
private rootBox;
|
|
53
55
|
root: ExtendedHTMLElement;
|
|
54
56
|
private portals;
|
|
55
57
|
private constructor();
|
|
@@ -4,6 +4,7 @@ interface TabStoreSubscription {
|
|
|
4
4
|
'add': Record<string, (tabId: string, tabData?: MynahUITabStoreTab) => void>;
|
|
5
5
|
'remove': Record<string, (tabId: string, newSelectedTab?: MynahUITabStoreTab) => void>;
|
|
6
6
|
'update': Record<string, (tabId: string, tabData?: MynahUITabStoreTab) => void>;
|
|
7
|
+
'beforeTabChange': Record<string, (tabId: string, previousSelectedTab?: MynahUITabStoreTab) => void>;
|
|
7
8
|
'selectedTabChange': Record<string, (tabId: string, previousSelectedTab?: MynahUITabStoreTab) => void>;
|
|
8
9
|
}
|
|
9
10
|
export declare class EmptyMynahUITabsStoreModel {
|