@aws/mynah-ui 4.5.6 → 4.6.0

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/static.d.ts CHANGED
@@ -104,6 +104,8 @@ export interface ChatItem {
104
104
  customRenderer?: string | ChatItemBodyRenderer | ChatItemBodyRenderer[];
105
105
  messageId?: string;
106
106
  canBeVoted?: boolean;
107
+ codeInsertToCursorEnabled?: boolean;
108
+ codeCopyToClipboardEnabled?: boolean;
107
109
  followUp?: {
108
110
  text?: string;
109
111
  options?: ChatItemAction[];
@@ -287,7 +289,12 @@ export interface ConfigOptions {
287
289
  showPromptField: boolean;
288
290
  autoFocus: boolean;
289
291
  maxUserInput: number;
292
+ codeInsertToCursorEnabled?: boolean;
293
+ codeCopyToClipboardEnabled?: boolean;
290
294
  }
291
295
  export interface ConfigModel extends ConfigOptions {
292
296
  texts: Partial<ConfigTexts>;
293
297
  }
298
+ export interface CardRenderDetails {
299
+ totalNumberOfCodeBlocks?: number;
300
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws/mynah-ui",
3
3
  "displayName": "AWS Mynah UI",
4
- "version": "4.5.6",
4
+ "version": "4.6.0",
5
5
  "description": "AWS Toolkit VSCode and Intellij IDE Extension Mynah UI",
6
6
  "publisher": "Amazon Web Services",
7
7
  "license": "Apache License 2.0",