@aws/mynah-ui 4.4.1 → 4.4.2
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/README.md +2 -0
- package/dist/main.d.ts +5 -5
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Mynah UI
|
|
2
2
|
### *A Data & Event Drivent Chat Interface Library for Browsers and Webviews*
|
|
3
3
|
|
|
4
|
+
### [Live Demo](https://aws.github.io/mynah-ui/)
|
|
5
|
+
|
|
4
6
|
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.
|
|
5
7
|
|
|
6
8
|
Since it is not depending on any framework or a UI library, you can use it inside any web based project without a hassle. Reason behind that decision is to keep it highly configurable for theming to support various use cases. It works standalone, you just need to tell it where to render on the DOMTree.
|
package/dist/main.d.ts
CHANGED
|
@@ -66,12 +66,12 @@ export declare class MynahUI {
|
|
|
66
66
|
getSelectedTabId: () => string | undefined;
|
|
67
67
|
getAllTabs: () => MynahUITabStoreModel;
|
|
68
68
|
notify: (props: {
|
|
69
|
-
duration?: number;
|
|
70
|
-
type?: NotificationType;
|
|
71
|
-
title?: string;
|
|
69
|
+
duration?: number | undefined;
|
|
70
|
+
type?: NotificationType | undefined;
|
|
71
|
+
title?: string | undefined;
|
|
72
72
|
content: string;
|
|
73
|
-
onNotificationClick?: () => void;
|
|
74
|
-
onNotificationHide?: () => void;
|
|
73
|
+
onNotificationClick?: ((eventId: string) => void) | undefined;
|
|
74
|
+
onNotificationHide?: ((eventId: string) => void) | undefined;
|
|
75
75
|
}) => void;
|
|
76
76
|
showCustomForm: (tabId: string, formItems?: ChatItemFormItem[], buttons?: ChatItemButton[], title?: string, description?: string) => void;
|
|
77
77
|
}
|