@aws/mynah-ui 4.0.1 → 4.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.
package/dist/static.d.ts CHANGED
@@ -210,34 +210,42 @@ export declare enum NotificationType {
210
210
  WARNING = "warning",
211
211
  ERROR = "error"
212
212
  }
213
- export interface ConfigModel {
214
- texts: {
215
- mainTitle: string;
216
- feedbackFormTitle: string;
217
- feedbackFormOptionsLabel: string;
218
- feedbackFormCommentLabel: string;
219
- feedbackThanks: string;
220
- feedbackReportButtonLabel: string;
221
- codeSuggestions: string;
222
- clickFileToViewDiff: string;
223
- files: string;
224
- insertAtCursorLabel: string;
225
- copy: string;
226
- showMore: string;
227
- save: string;
228
- cancel: string;
229
- submit: string;
230
- pleaseSelect: string;
231
- stopGenerating: string;
232
- copyToClipboard: string;
233
- noMoreTabsTooltip: string;
234
- codeSuggestionWithReferenceTitle: string;
235
- spinnerText: string;
236
- };
213
+ export interface ConfigTexts {
214
+ mainTitle: string;
215
+ feedbackFormTitle: string;
216
+ feedbackFormOptionsLabel: string;
217
+ feedbackFormCommentLabel: string;
218
+ feedbackThanks: string;
219
+ feedbackReportButtonLabel: string;
220
+ codeSuggestions: string;
221
+ clickFileToViewDiff: string;
222
+ files: string;
223
+ insertAtCursorLabel: string;
224
+ copy: string;
225
+ showMore: string;
226
+ save: string;
227
+ cancel: string;
228
+ submit: string;
229
+ pleaseSelect: string;
230
+ stopGenerating: string;
231
+ copyToClipboard: string;
232
+ noMoreTabsTooltip: string;
233
+ codeSuggestionWithReferenceTitle: string;
234
+ spinnerText: string;
235
+ tabCloseConfirmationMessage: string;
236
+ tabCloseConfirmationKeepButton: string;
237
+ tabCloseConfirmationCloseButton: string;
238
+ }
239
+ export interface ConfigOptions {
237
240
  feedbackOptions: Array<{
238
241
  label: string;
239
242
  value: string;
240
243
  }>;
241
244
  maxTabs: number;
242
245
  showPromptField: boolean;
246
+ autoFocus: boolean;
247
+ maxUserInput: number;
248
+ }
249
+ export interface ConfigModel extends ConfigOptions {
250
+ texts: Partial<ConfigTexts>;
243
251
  }
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.0.1",
4
+ "version": "4.0.3",
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",