@aws/mynah-ui 4.22.1 → 4.23.0-beta.1
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/components/chat-item/chat-prompt-input.d.ts +0 -1
- package/dist/components/chat-item/prompt-input/prompt-text-input.d.ts +9 -16
- package/dist/helper/quick-pick-data-handler.d.ts +3 -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 +10 -1
- package/package.json +1 -1
- package/ui-tests/dist/27f62b53b93858475a7f.ttf +0 -0
- package/ui-tests/dist/d50a80138ec4f2fb5e9f.ttf +0 -0
- package/ui-tests/dist/index.html +0 -9
- package/ui-tests/dist/main.js +0 -1359
- package/ui-tests/dist/main.js.map +0 -1
package/dist/static.d.ts
CHANGED
|
@@ -7,15 +7,24 @@ import { ChatItemBodyRenderer } from './helper/dom';
|
|
|
7
7
|
import { SelectAbstract, SelectProps, RadioGroupAbstract, RadioGroupProps, ButtonAbstract, ButtonProps, TextInputProps, TextInputAbstract, TextAreaProps, TextAreaAbstract, ToggleOption } from './main';
|
|
8
8
|
export interface QuickActionCommand {
|
|
9
9
|
command: string;
|
|
10
|
+
label?: string;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
icon?: MynahIcons;
|
|
12
13
|
description?: string;
|
|
13
14
|
placeholder?: string;
|
|
15
|
+
children?: QuickActionCommandGroup[];
|
|
16
|
+
route?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface QuickActionCommandInternal extends QuickActionCommand {
|
|
19
|
+
route?: string[];
|
|
14
20
|
}
|
|
15
21
|
export interface QuickActionCommandGroup {
|
|
16
22
|
groupName?: string;
|
|
17
23
|
commands: QuickActionCommand[];
|
|
18
24
|
}
|
|
25
|
+
export interface QuickActionCommandGroupInternal extends QuickActionCommandGroup {
|
|
26
|
+
commands: QuickActionCommandInternal[];
|
|
27
|
+
}
|
|
19
28
|
/**
|
|
20
29
|
* data store model to update the mynah ui partially or fully
|
|
21
30
|
*/
|
|
@@ -288,7 +297,7 @@ export interface ChatPrompt {
|
|
|
288
297
|
prompt?: string;
|
|
289
298
|
escapedPrompt?: string;
|
|
290
299
|
command?: string;
|
|
291
|
-
context?: string[];
|
|
300
|
+
context?: string[] | string[][];
|
|
292
301
|
}
|
|
293
302
|
export interface ChatItemAction extends ChatPrompt {
|
|
294
303
|
type?: string;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/ui-tests/dist/index.html
DELETED