@aws/mynah-ui 4.35.8 → 4.35.9

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.
Files changed (20) hide show
  1. package/dist/helper/test-ids.d.ts +3 -3
  2. package/dist/main.js +1 -1
  3. package/dist/main.js.map +1 -1
  4. package/dist/static.d.ts +1 -0
  5. package/docs/CONFIG.md +23 -0
  6. package/docs/img/dragOverlayIcon.png +0 -0
  7. package/docs/img/texts/dragOverlayText.png +0 -0
  8. package/package.json +1 -1
  9. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-1.png +0 -0
  10. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-2.png +0 -0
  11. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-3.png +0 -0
  12. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-4.png +0 -0
  13. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-5.png +0 -0
  14. package/ui-tests/__snapshots__/chromium/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-6.png +0 -0
  15. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-1.png +0 -0
  16. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-2.png +0 -0
  17. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-3.png +0 -0
  18. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-4.png +0 -0
  19. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-5.png +0 -0
  20. package/ui-tests/__snapshots__/webkit/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button/Open-MynahUI-Prompt-Top-Bar-should-render-prompt-top-bar-with-title-context-items-and-button-6.png +0 -0
package/dist/static.d.ts CHANGED
@@ -696,6 +696,7 @@ export interface ConfigTexts {
696
696
  add: string;
697
697
  pleaseSelect: string;
698
698
  stopGenerating: string;
699
+ stopGeneratingTooltip?: string;
699
700
  copyToClipboard: string;
700
701
  noMoreTabsTooltip: string;
701
702
  codeSuggestionWithReferenceTitle: string;
package/docs/CONFIG.md CHANGED
@@ -38,6 +38,7 @@ interface ConfigModel {
38
38
  openNewTab: string;
39
39
  commandConfirmation: string;
40
40
  pinContextHint: string;
41
+ dragOverlayText: string;
41
42
  };
42
43
  // Options to show up on the overlay feedback form
43
44
  // after user clicks to downvote on a chat item
@@ -54,6 +55,7 @@ interface ConfigModel {
54
55
  autoFocus: boolean; // auto focuses to input panel after every action
55
56
  maxTabs: number; // set 1 to hide tabs panel
56
57
  showPromptField: boolean; // shows prompt field (default: true)
58
+ dragOverlayIcon?: MynahIcons | MynahIconsType | CustomIcon; // icon displayed in the overlay when a file is dragged into the chat area
57
59
  }
58
60
  ...
59
61
  ```
@@ -216,6 +218,12 @@ Default tab title text if it is not set through store data for that tab.
216
218
  </p>
217
219
  ---
218
220
 
221
+ ## dragOverlayText
222
+ <p align="center">
223
+ <img src="./img/texts/dragOverlayText.png" alt="dragOverlayText" style="max-width:500px; width:100%;border: 1px solid #e0e0e0;">
224
+ </p>
225
+ ---
226
+
219
227
  <p><br/></p>
220
228
 
221
229
  # `feedbackOptions`
@@ -382,4 +390,19 @@ _If you set `showPromptField` to `false`_
382
390
 
383
391
  <p align="center">
384
392
  <img src="./img/noPrompt.png" alt="noPrompt" style="max-width:500px; width:100%;border: 1px solid #e0e0e0;">
393
+ </p>
394
+
395
+ ---
396
+
397
+ ## dragOverlayIcon
398
+
399
+ **Type:** `MynahIcons | MynahIconsType | CustomIcon`
400
+
401
+ **Description:**
402
+ Specifies the icon to display in the drag-and-drop overlay for adding files (such as images) to the chat context. This allows consumers to customize the overlay icon.
403
+
404
+ **Default:** `MynahIcons.IMAGE`
405
+
406
+ <p align="center">
407
+ <img src="./img/dragOverlayIcon.png" alt="noPrompt" style="max-width:500px; width:100%;border: 1px solid #e0e0e0;">
385
408
  </p>
Binary file
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.35.8",
4
+ "version": "4.35.9",
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",