@aws/mynah-ui 4.5.6 → 4.6.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/components/card/card-body.d.ts +3 -1
- package/dist/components/chat-item/chat-item-card.d.ts +3 -2
- package/dist/components/chat-item/chat-wrapper.d.ts +6 -1
- package/dist/main.d.ts +4 -2
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +7 -0
- package/package.json +1 -1
package/dist/static.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export interface ChatItem {
|
|
|
104
104
|
customRenderer?: string | ChatItemBodyRenderer | ChatItemBodyRenderer[];
|
|
105
105
|
messageId?: string;
|
|
106
106
|
canBeVoted?: boolean;
|
|
107
|
+
codeInsertToCursorEnabled?: boolean;
|
|
108
|
+
codeCopyToClipboardEnabled?: boolean;
|
|
107
109
|
followUp?: {
|
|
108
110
|
text?: string;
|
|
109
111
|
options?: ChatItemAction[];
|
|
@@ -287,7 +289,12 @@ export interface ConfigOptions {
|
|
|
287
289
|
showPromptField: boolean;
|
|
288
290
|
autoFocus: boolean;
|
|
289
291
|
maxUserInput: number;
|
|
292
|
+
codeInsertToCursorEnabled?: boolean;
|
|
293
|
+
codeCopyToClipboardEnabled?: boolean;
|
|
290
294
|
}
|
|
291
295
|
export interface ConfigModel extends ConfigOptions {
|
|
292
296
|
texts: Partial<ConfigTexts>;
|
|
293
297
|
}
|
|
298
|
+
export interface CardRenderDetails {
|
|
299
|
+
totalNumberOfCodeBlocks?: number;
|
|
300
|
+
}
|
package/package.json
CHANGED