@aws/mynah-ui 3.2.6 → 3.2.8

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/README.md CHANGED
@@ -170,7 +170,7 @@ You can provide any of the following css custom property values:
170
170
  --mynah-shadow-card: ...;
171
171
  --mynah-shadow-card-more: ...;
172
172
  --mynah-shadow-card-active: ...;
173
- --mynah-shadow-prioritization-menu: ...;
173
+ --mynah-shadow-overlay: ...;
174
174
  --mynah-shadow-feedback-form: ...;
175
175
 
176
176
  --mynah-font-size-xxsmall: ...;
@@ -28,7 +28,7 @@ export declare class ChatPromptInput {
28
28
  private readonly handleInputKeydown;
29
29
  private readonly getQuickCommandActions;
30
30
  private readonly handleCommandSelection;
31
- readonly clearTextArea: () => void;
31
+ readonly clearTextArea: (keepAttachment?: boolean) => void;
32
32
  readonly addText: (textToAdd: string) => void;
33
33
  private readonly sendPrompt;
34
34
  }
@@ -1,16 +1,17 @@
1
1
  import { ExtendedHTMLElement } from '../../../helper/dom';
2
- export interface IPromptTextInputProps {
2
+ export interface PromptTextInputProps {
3
3
  tabId: string;
4
+ initMaxLength: number;
4
5
  onKeydown: (e: KeyboardEvent) => void;
5
6
  onInput?: (e: KeyboardEvent) => void;
6
7
  }
7
8
  export declare class PromptTextInput {
8
- private readonly _props;
9
- private readonly _render;
10
- private readonly _promptTextInputSizer;
11
- private readonly _promptTextInput;
12
- constructor(props: IPromptTextInputProps);
13
- get render(): ExtendedHTMLElement;
9
+ render: ExtendedHTMLElement;
10
+ promptTextInputMaxLength: number;
11
+ private readonly props;
12
+ private readonly promptTextInputSizer;
13
+ private readonly promptTextInput;
14
+ constructor(props: PromptTextInputProps);
14
15
  private readonly updatePromptTextInputSizer;
15
16
  readonly clear: () => void;
16
17
  readonly focus: () => void;