@aws/mynah-ui 4.11.2 → 4.12.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/dist/static.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export interface MynahUIDataModel {
|
|
|
51
51
|
*/
|
|
52
52
|
quickActionCommands?: QuickActionCommandGroup[];
|
|
53
53
|
/**
|
|
54
|
+
* Context commands to show when user hits @ to the input any point
|
|
55
|
+
*/
|
|
56
|
+
contextCommands?: QuickActionCommandGroup[];
|
|
57
|
+
/**
|
|
54
58
|
* Placeholder to be shown on prompt input
|
|
55
59
|
*/
|
|
56
60
|
promptInputPlaceholder?: string;
|
|
@@ -205,6 +209,7 @@ export interface ChatPrompt {
|
|
|
205
209
|
prompt?: string;
|
|
206
210
|
escapedPrompt?: string;
|
|
207
211
|
command?: string;
|
|
212
|
+
context?: string[];
|
|
208
213
|
}
|
|
209
214
|
export interface ChatItemAction extends ChatPrompt {
|
|
210
215
|
type?: string;
|
|
@@ -262,6 +267,7 @@ export declare enum KeyMap {
|
|
|
262
267
|
SHIFT = "Shift",
|
|
263
268
|
CONTROL = "Control",
|
|
264
269
|
ALT = "Alt",
|
|
270
|
+
AT = "@",
|
|
265
271
|
SLASH = "/",
|
|
266
272
|
BACK_SLASH = "\\"
|
|
267
273
|
}
|
package/package.json
CHANGED