@aws/mynah-ui 3.3.0 → 3.3.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/.eslintrc.js +2 -0
- package/README.md +3 -1
- package/dist/helper/store.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 +1 -2
- package/package.json +1 -1
- package/docs/CONFIG.md +0 -190
- package/docs/DATAMODEL.md +0 -932
- package/docs/PROPERTIES.md +0 -615
- package/docs/STARTUP.md +0 -50
- package/docs/STYLING.md +0 -175
- package/docs/USAGE.md +0 -325
- package/docs/img/code-attachment.png +0 -0
- package/docs/img/data-model/chatItems/answer.png +0 -0
- package/docs/img/data-model/chatItems/answerStream.png +0 -0
- package/docs/img/data-model/chatItems/body.png +0 -0
- package/docs/img/data-model/chatItems/canBeVoted.png +0 -0
- package/docs/img/data-model/chatItems/codeReference-1.png +0 -0
- package/docs/img/data-model/chatItems/codeReference-2.png +0 -0
- package/docs/img/data-model/chatItems/codeResult.png +0 -0
- package/docs/img/data-model/chatItems/followUp-1.png +0 -0
- package/docs/img/data-model/chatItems/followUp-2.png +0 -0
- package/docs/img/data-model/chatItems/notification-1.png +0 -0
- package/docs/img/data-model/chatItems/notification-2.png +0 -0
- package/docs/img/data-model/chatItems/notification-3.png +0 -0
- package/docs/img/data-model/chatItems/notification-4.png +0 -0
- package/docs/img/data-model/chatItems/prompt.png +0 -0
- package/docs/img/data-model/chatItems/relatedContent-1.png +0 -0
- package/docs/img/data-model/chatItems/relatedContent-2.png +0 -0
- package/docs/img/data-model/chatItems/relatedContent-3.png +0 -0
- package/docs/img/data-model/chatItems/systemPrompt.png +0 -0
- package/docs/img/data-model/tabStore/loadingChat-1.png +0 -0
- package/docs/img/data-model/tabStore/loadingChat-2.png +0 -0
- package/docs/img/data-model/tabStore/promptInputDisabledState.png +0 -0
- package/docs/img/data-model/tabStore/promptInputPlaceholder.png +0 -0
- package/docs/img/data-model/tabStore/quickActionCommands.png +0 -0
- package/docs/img/data-model/tabStore/stopChatResponse.png +0 -0
- package/docs/img/data-model/tabStore/tabTitle.png +0 -0
- package/docs/img/feedbackOptions.png +0 -0
- package/docs/img/maxTabs1.png +0 -0
- package/docs/img/noPrompt.png +0 -0
- package/docs/img/notification.png +0 -0
- package/docs/img/onChatItemEngagement.png +0 -0
- package/docs/img/onChatPrompt.png +0 -0
- package/docs/img/onCodeInsertToCursorPosition.png +0 -0
- package/docs/img/onCopyCodeToClipboard.png +0 -0
- package/docs/img/onFollowupClicked.png +0 -0
- package/docs/img/onInfoLinkClick.png +0 -0
- package/docs/img/onLinkClick.png +0 -0
- package/docs/img/onOpenDiff.png +0 -0
- package/docs/img/onSendFeedback-1.png +0 -0
- package/docs/img/onSendFeedback-2.png +0 -0
- package/docs/img/onSendFeedback-3.png +0 -0
- package/docs/img/onShowMoreClick.png +0 -0
- package/docs/img/onSourceLinkClick.png +0 -0
- package/docs/img/onStopChatResponse.png +0 -0
- package/docs/img/onTabAdd.png +0 -0
- package/docs/img/onTabChange.png +0 -0
- package/docs/img/onTabRemove.png +0 -0
- package/docs/img/onVote.png +0 -0
- package/docs/img/prompt-with-code-attached.png +0 -0
- package/docs/img/texts/codeFileSuggestions.png +0 -0
- package/docs/img/texts/copyInsertToCursor.png +0 -0
- package/docs/img/texts/feedbackForm.png +0 -0
- package/docs/img/texts/mainTitle.png +0 -0
- package/docs/img/texts/noMoreTabs.png +0 -0
- package/docs/img/texts/spinnerText.png +0 -0
- package/docs/img/texts/stopGenerating.png +0 -0
- package/docs/img/texts/voteAndSourceActions.png +0 -0
- package/docs/img/theming-1.png +0 -0
- package/docs/img/theming-2.png +0 -0
package/.eslintrc.js
CHANGED
package/README.md
CHANGED
|
@@ -15,7 +15,9 @@ Please continue with one of the following guides:
|
|
|
15
15
|
### [Data Model](./docs/DATAMODEL.md)
|
|
16
16
|
### [Styling Configuration](./docs/STYLING.md)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
<p align="center">
|
|
19
|
+
<img src="./docs/img/splash.gif" alt="MynahUI" style="max-width:1024px; width:100%;border: 1px solid #e0e0e0;">
|
|
20
|
+
</p>
|
|
19
21
|
|
|
20
22
|
## Supported browsers
|
|
21
23
|
**Mynah UI** <em>-because of it's extensive css structure-</em> only supports ever-green browsers including webkit based WebUI renderers.
|
package/dist/helper/store.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class MynahUIDataStore {
|
|
|
15
15
|
constructor(tabId: string, initialData?: MynahUIDataModel);
|
|
16
16
|
setDefaults: (defaults: MynahUIDataModel | null) => void;
|
|
17
17
|
getDefaults: () => MynahUIDataModel | null;
|
|
18
|
+
getStore: () => MynahUIDataModel | null;
|
|
18
19
|
subscribe: (storeKey: keyof MynahUIDataModel, handler: (newValue: any, oldValue?: any) => void) => string;
|
|
19
20
|
unsubscribe: (storeKey: keyof MynahUIDataModel, subscriptionId: string) => void;
|
|
20
21
|
getValue: (storeKey: keyof MynahUIDataModel) => any;
|
package/dist/main.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare class MynahUI {
|
|
|
45
45
|
updateLastChatAnswer: (tabId: string, updateWith: Partial<ChatItem>) => void;
|
|
46
46
|
updateStore: (tabId: string | '', data: MynahUIDataModel) => string | undefined;
|
|
47
47
|
getSelectedTabId: () => string | undefined;
|
|
48
|
+
getAllTabs: () => MynahUITabStoreModel;
|
|
48
49
|
notify: (props: {
|
|
49
50
|
duration?: number;
|
|
50
51
|
type?: NotificationType;
|