@aws/mynah-ui 4.35.7-beta.1 → 4.35.8

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 (19) hide show
  1. package/dist/components/chat-item/chat-wrapper.d.ts +5 -4
  2. package/dist/components/form-items/text-input.d.ts +2 -0
  3. package/dist/main.js +1 -1
  4. package/dist/main.js.map +1 -1
  5. package/dist/static.d.ts +5 -1
  6. package/docs/CONFIG.md +5 -0
  7. package/docs/DATAMODEL.md +2 -0
  8. package/docs/img/texts/pinContextHint.png +0 -0
  9. package/package.json +1 -1
  10. package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-1.png +0 -0
  11. package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-2.png +0 -0
  12. package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-3.png +0 -0
  13. package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-parse-markdown/Open-MynahUI-should-parse-markdown-1.png +0 -0
  14. package/ui-tests/__snapshots__/chromium/Open-MynahUI-should-render-information-cards-correctly/Open-MynahUI-should-render-information-cards-correctly-1.png +0 -0
  15. package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-1.png +0 -0
  16. package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-2.png +0 -0
  17. package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-keep-the-content-inside-window-boundaries/Open-MynahUI-should-keep-the-content-inside-window-boundaries-3.png +0 -0
  18. package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-parse-markdown/Open-MynahUI-should-parse-markdown-1.png +0 -0
  19. package/ui-tests/__snapshots__/webkit/Open-MynahUI-should-render-information-cards-correctly/Open-MynahUI-should-render-information-cards-correctly-1.png +0 -0
@@ -28,6 +28,10 @@ export declare class ChatWrapper {
28
28
  private lastStreamingChatItemMessageId;
29
29
  private allRenderedChatItems;
30
30
  render: ExtendedHTMLElement;
31
+ private readonly dragOverlayContent;
32
+ private readonly dragBlurOverlay;
33
+ private dragOverlayVisibility;
34
+ private imageContextFeatureEnabled;
31
35
  constructor(props: ChatWrapperProps);
32
36
  private readonly getNewConversationGroupElement;
33
37
  private readonly removeEmptyCardsAndFollowups;
@@ -47,10 +51,7 @@ export declare class ChatWrapper {
47
51
  updateTopBarButtonItemOverlay: (data: DetailedList) => void;
48
52
  closeTopBarButtonItemOverlay: () => void;
49
53
  getPromptInputCursorPosition: () => number;
50
- /**
51
- * Returns true if the current tab has an image context command available.
52
- */
53
- private hasImageContextCommand;
54
54
  destroy: () => void;
55
55
  getCurrentTriggerSource(): 'top-bar' | 'prompt-input';
56
+ private setDragOverlayVisible;
56
57
  }
@@ -20,6 +20,7 @@ export interface TextInputProps {
20
20
  operator?: 'and' | 'or';
21
21
  patterns: ValidationPattern[];
22
22
  };
23
+ validateOnChange?: boolean;
23
24
  value?: string;
24
25
  onChange?: (value: string) => void;
25
26
  onKeyPress?: (event: KeyboardEvent) => void;
@@ -37,6 +38,7 @@ export declare class TextInputInternal extends TextInputAbstract {
37
38
  private readonly validationErrorBlock;
38
39
  private readonly props;
39
40
  private readyToValidate;
41
+ private touched;
40
42
  render: ExtendedHTMLElement;
41
43
  constructor(props: TextInputProps);
42
44
  setValue: (value: string) => void;