@aws/mynah-ui 4.22.1 → 4.23.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/static.d.ts CHANGED
@@ -7,15 +7,24 @@ import { ChatItemBodyRenderer } from './helper/dom';
7
7
  import { SelectAbstract, SelectProps, RadioGroupAbstract, RadioGroupProps, ButtonAbstract, ButtonProps, TextInputProps, TextInputAbstract, TextAreaProps, TextAreaAbstract, ToggleOption } from './main';
8
8
  export interface QuickActionCommand {
9
9
  command: string;
10
+ label?: string;
10
11
  disabled?: boolean;
11
12
  icon?: MynahIcons;
12
13
  description?: string;
13
14
  placeholder?: string;
15
+ children?: QuickActionCommandGroup[];
16
+ route?: string[];
17
+ }
18
+ export interface QuickActionCommandInternal extends QuickActionCommand {
19
+ route?: string[];
14
20
  }
15
21
  export interface QuickActionCommandGroup {
16
22
  groupName?: string;
17
23
  commands: QuickActionCommand[];
18
24
  }
25
+ export interface QuickActionCommandGroupInternal extends QuickActionCommandGroup {
26
+ commands: QuickActionCommandInternal[];
27
+ }
19
28
  /**
20
29
  * data store model to update the mynah ui partially or fully
21
30
  */
@@ -288,7 +297,7 @@ export interface ChatPrompt {
288
297
  prompt?: string;
289
298
  escapedPrompt?: string;
290
299
  command?: string;
291
- context?: string[];
300
+ context?: string[] | string[][];
292
301
  }
293
302
  export interface ChatItemAction extends ChatPrompt {
294
303
  type?: string;
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.22.1",
4
+ "version": "4.23.0-beta.1",
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",
@@ -1,9 +0,0 @@
1
- <html theme="base-light">
2
- <head>
3
- <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />
4
- <script defer src="main.js"></script></head>
5
-
6
- <body>
7
- <div id="mynah-ui-wrapper"></div>
8
- </body>
9
- </html>