@aws/mynah-ui 4.21.1 → 4.21.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.
@@ -32,6 +32,7 @@ export declare class ChatPromptInput {
32
32
  private selectedCommand;
33
33
  private readonly userPromptHistory;
34
34
  private userPromptHistoryIndex;
35
+ private lastUnsentUserPrompt;
35
36
  constructor(props: ChatPromptInputProps);
36
37
  private readonly updateAvailableCharactersIndicator;
37
38
  private readonly handleInputKeydown;
@@ -12,5 +12,6 @@ export declare class Config {
12
12
  config: ConfigFullModel;
13
13
  private constructor();
14
14
  static getInstance(config?: Partial<ConfigModel>): Config;
15
+ destroy: () => void;
15
16
  }
16
17
  export {};
@@ -72,6 +72,7 @@ export declare class DomBuilder {
72
72
  getPortal: (portalName: string) => ExtendedHTMLElement | undefined;
73
73
  removePortal: (portalName: string) => void;
74
74
  removeAllPortals: (portalsWithName: MynahPortalNames) => void;
75
+ destroy: () => void;
75
76
  }
76
77
  export declare const htmlDecode: (input: string) => string;
77
78
  export declare const getTypewriterPartsCss: (typewriterId: string, lastVisibleItemIndex: number, totalNumberOfItems: number, timeForEach: number) => ExtendedHTMLElement;
@@ -27,4 +27,5 @@ export declare class MynahUIGlobalEvents {
27
27
  * @param data A full or partial set of store data model with values.
28
28
  */
29
29
  dispatch: (eventKey: MynahEventNames, data?: any) => void;
30
+ destroy: () => void;
30
31
  }
@@ -89,5 +89,6 @@ export declare class MynahUITabsStore {
89
89
  * @param defaults MynahUITabStoreTab
90
90
  */
91
91
  updateTabDefaults: (defaults: MynahUITabStoreTab) => void;
92
+ destroy: () => void;
92
93
  }
93
94
  export {};
package/dist/main.d.ts CHANGED
@@ -182,4 +182,5 @@ export declare class MynahUI {
182
182
  * @param props NotificationProps
183
183
  */
184
184
  showCustomForm: (tabId: string, formItems?: ChatItemFormItem[], buttons?: ChatItemButton[], title?: string, description?: string) => void;
185
+ destroy: () => void;
185
186
  }