@aws/mynah-ui 4.8.0 → 4.9.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/CONTRIBUTING.md +3 -0
- package/README.md +5 -0
- package/dist/components/chat-item/chat-item-card.d.ts +1 -0
- package/dist/components/chat-item/chat-item-followup.d.ts +1 -0
- package/dist/components/chat-item/chat-wrapper.d.ts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +2 -0
- package/package.json +4 -1
package/CONTRIBUTING.md
CHANGED
|
@@ -21,6 +21,9 @@ reported the issue. Please try to include as much information as you can. Detail
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Contributing via Pull Requests
|
|
24
|
+
|
|
25
|
+
**Read [DEVELOPER Guidelines](./docs/DEVELOPER.md) first.**
|
|
26
|
+
|
|
24
27
|
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
|
|
25
28
|
|
|
26
29
|
1. You are working against the latest source on the *main* branch.
|
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
### *A Data & Event Drivent Chat Interface Library for Browsers and Webviews*
|
|
3
3
|
|
|
4
4
|
### [Live Demo](https://aws.github.io/mynah-ui/)
|
|
5
|
+
### [API Docs](https://aws.github.io/mynah-ui/api-doc/index.html)
|
|
5
6
|
|
|
6
7
|
As you can understand from the title too, **Mynah UI** is a **_data and event_** driven chat interface for browsers and webviews on IDEs or any platform which supports latest web technologies which is also used by Amazon Q for [VSCode](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.aws-toolkit-vscode) and [JetBrains](https://plugins.jetbrains.com/plugin/11349-aws-toolkit--amazon-q-codewhisperer-and-more) comes together with AWS Toolkit extension.
|
|
7
8
|
|
|
@@ -17,6 +18,10 @@ Please continue with one of the following guides:
|
|
|
17
18
|
### [Data Model](./docs/DATAMODEL.md)
|
|
18
19
|
### [Styling Configuration](./docs/STYLING.md)
|
|
19
20
|
|
|
21
|
+
and
|
|
22
|
+
|
|
23
|
+
### [Developer Guidelines (Contribution)](./docs/DEVELOPER.md)
|
|
24
|
+
|
|
20
25
|
<p align="center">
|
|
21
26
|
<img src="./docs/img/splash.gif" alt="MynahUI" style="max-width:1280px; width:100%;border: 1px solid #e0e0e0;">
|
|
22
27
|
</p>
|
|
@@ -34,6 +34,7 @@ export declare class ChatItemCard {
|
|
|
34
34
|
private readonly getChatAvatar;
|
|
35
35
|
private readonly getInsertedTypewriterPartsCss;
|
|
36
36
|
private readonly getInsertingTypewriterPartsCss;
|
|
37
|
+
private readonly checkCardSnap;
|
|
37
38
|
readonly updateCard: () => void;
|
|
38
39
|
readonly updateCardStack: (updateWith: Partial<ChatItem>) => void;
|
|
39
40
|
readonly getRenderDetails: () => CardRenderDetails;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../../helper/dom';
|
|
6
6
|
import { CardRenderDetails, ChatItem } from '../../static';
|
|
7
|
+
export declare const CONTAINER_GAP = 12;
|
|
7
8
|
export interface ChatWrapperProps {
|
|
8
9
|
onStopChatResponse?: (tabId: string) => void;
|
|
9
10
|
tabId: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export declare class MynahUI {
|
|
|
64
64
|
private readonly chatWrappers;
|
|
65
65
|
constructor(props: MynahUIProps);
|
|
66
66
|
private readonly getUserEventId;
|
|
67
|
+
private readonly focusToInput;
|
|
67
68
|
private readonly addGlobalListeners;
|
|
68
69
|
addToUserPrompt: (tabId: string, codeStringToAdd: string) => void;
|
|
69
70
|
/**
|