@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.
- package/dist/components/chat-item/chat-prompt-input.d.ts +1 -0
- package/dist/helper/config.d.ts +1 -0
- package/dist/helper/dom.d.ts +1 -0
- package/dist/helper/events.d.ts +1 -0
- package/dist/helper/tabs-store.d.ts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/docs/USAGE.md +9 -0
- package/package.json +1 -1
- package/ui-tests/dist/main.js +1 -1
- package/ui-tests/dist/main.js.map +1 -1
|
@@ -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;
|
package/dist/helper/config.d.ts
CHANGED
package/dist/helper/dom.d.ts
CHANGED
|
@@ -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;
|
package/dist/helper/events.d.ts
CHANGED
package/dist/main.d.ts
CHANGED