@aws/mynah-ui 4.4.2 → 4.5.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
@@ -28,6 +28,7 @@ export interface MynahUIDataModel {
28
28
  promptInputDisabledState?: boolean;
29
29
  chatItems?: ChatItem[];
30
30
  selectedCodeSnippet?: string;
31
+ tabBarButtons?: TabBarMainAction[];
31
32
  }
32
33
  export interface MynahUITabStoreTab {
33
34
  isSelected?: boolean;
@@ -56,7 +57,8 @@ export declare enum MynahEventNames {
56
57
  FILE_ACTION_CLICK = "fileActionClick",
57
58
  CUSTOM_FORM_ACTION_CLICK = "customFormActionClick",
58
59
  ADD_CODE_SNIPPET = "addCodeSnippet",
59
- REMOVE_CODE_SNIPPET = "removeCodeSnippet"
60
+ REMOVE_CODE_SNIPPET = "removeCodeSnippet",
61
+ TAB_BAR_BUTTON_CLICK = "tabBarButtonClick"
60
62
  }
61
63
  export declare enum MynahPortalNames {
62
64
  WRAPPER = "wrapper",
@@ -158,6 +160,17 @@ export interface ChatItemButton {
158
160
  status?: 'info' | 'success' | 'warning' | 'error';
159
161
  icon?: MynahIcons;
160
162
  }
163
+ export interface TabBarAction {
164
+ text?: string;
165
+ id: string;
166
+ disabled?: boolean;
167
+ description?: string;
168
+ status?: 'info' | 'success' | 'warning' | 'error';
169
+ icon?: MynahIcons;
170
+ }
171
+ export interface TabBarMainAction extends TabBarAction {
172
+ items?: TabBarAction[];
173
+ }
161
174
  export interface FileNodeAction {
162
175
  name: string;
163
176
  label?: string;
@@ -266,6 +279,7 @@ export interface ConfigOptions {
266
279
  label: string;
267
280
  value: string;
268
281
  }>;
282
+ tabBarButtons?: TabBarMainAction[];
269
283
  maxTabs: number;
270
284
  showPromptField: boolean;
271
285
  autoFocus: boolean;
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.4.2",
4
+ "version": "4.5.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",