@aws/mynah-ui 3.0.2 → 3.0.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.
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { ExtendedHTMLElement } from '../../helper/dom';
6
6
  export declare const MAX_USER_INPUT = 4000;
7
+ export declare const MAX_USER_INPUT_TRESHOLD = 96;
7
8
  export interface ChatPromptInputProps {
8
9
  tabId: string;
9
10
  }
@@ -11,4 +11,5 @@ export declare class CodeSnippetWidget {
11
11
  private readonly showPreviewOverLay;
12
12
  private readonly closePreviewOverLay;
13
13
  private readonly renderCodeSnippetWidget;
14
+ readonly clear: () => void;
14
15
  }
@@ -9,6 +9,8 @@ export interface ISelectCodeSnippetEvent {
9
9
  export declare class CodeSnippet {
10
10
  private readonly _props;
11
11
  private readonly _render;
12
+ private snippetWidget;
13
+ lastCodeSnippet: string;
12
14
  constructor(props: ICodeSnippetProps);
13
15
  get render(): ExtendedHTMLElement;
14
16
  readonly updateSelectedCodeSnippet: (selectedCodeSnippet: string | undefined) => void;