@aws/mynah-ui 4.30.1 → 4.31.0-beta.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-prompt-input.d.ts +2 -0
- package/dist/components/chat-item/chat-wrapper.d.ts +0 -1
- package/dist/components/chat-item/prompt-input/prompt-input-stop-button.d.ts +11 -0
- package/dist/components/chat-item/prompt-input/prompt-text-input.d.ts +1 -0
- package/dist/components/icon.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/ui-tests/dist/27f62b53b93858475a7f.ttf +0 -0
- package/ui-tests/dist/d50a80138ec4f2fb5e9f.ttf +0 -0
- package/ui-tests/dist/index.html +0 -9
- package/ui-tests/dist/main.js +0 -1362
- package/ui-tests/dist/main.js.map +0 -1
|
@@ -9,6 +9,7 @@ export declare const MAX_USER_INPUT: () => number;
|
|
|
9
9
|
export declare const INPUT_LENGTH_WARNING_THRESHOLD: () => number;
|
|
10
10
|
export interface ChatPromptInputProps {
|
|
11
11
|
tabId: string;
|
|
12
|
+
onStopChatResponse?: (tabId: string) => void;
|
|
12
13
|
}
|
|
13
14
|
export declare class ChatPromptInput {
|
|
14
15
|
render: ExtendedHTMLElement;
|
|
@@ -17,6 +18,7 @@ export declare class ChatPromptInput {
|
|
|
17
18
|
private readonly promptTextInput;
|
|
18
19
|
private readonly promptTextInputCommand;
|
|
19
20
|
private readonly sendButton;
|
|
21
|
+
private readonly stopButton;
|
|
20
22
|
private readonly progressIndicator;
|
|
21
23
|
private readonly promptAttachment;
|
|
22
24
|
private readonly promptOptions;
|
|
@@ -13,7 +13,6 @@ export interface ChatWrapperProps {
|
|
|
13
13
|
export declare class ChatWrapper {
|
|
14
14
|
private readonly props;
|
|
15
15
|
private readonly chatItemsContainer;
|
|
16
|
-
private readonly intermediateBlockContainer;
|
|
17
16
|
private readonly promptInputElement;
|
|
18
17
|
private readonly promptInput;
|
|
19
18
|
private readonly footerSpacer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExtendedHTMLElement } from '../../../helper/dom';
|
|
2
|
+
export interface PromptInputStopButtonPrompts {
|
|
3
|
+
tabId: string;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare class PromptInputStopButton {
|
|
7
|
+
render: ExtendedHTMLElement;
|
|
8
|
+
private readonly props;
|
|
9
|
+
constructor(props: PromptInputStopButtonPrompts);
|
|
10
|
+
private readonly checkVisibilityState;
|
|
11
|
+
}
|
|
@@ -3,6 +3,7 @@ import { QuickActionCommand } from '../../../static';
|
|
|
3
3
|
export interface PromptTextInputProps {
|
|
4
4
|
tabId: string;
|
|
5
5
|
initMaxLength: number;
|
|
6
|
+
children?: ExtendedHTMLElement[];
|
|
6
7
|
onKeydown: (e: KeyboardEvent) => void;
|
|
7
8
|
onInput?: (e: KeyboardEvent) => void;
|
|
8
9
|
onFocus?: () => void;
|