@aws/mynah-ui 4.31.0-beta.2 → 4.31.0-beta.4
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 +1 -0
- package/dist/components/chat-item/prompt-input/prompt-text-input.d.ts +1 -0
- package/dist/components/detailed-list/detailed-list-item.d.ts +1 -0
- package/dist/components/detailed-list/detailed-list.d.ts +1 -0
- package/dist/components/form-items/checkbox.d.ts +0 -1
- package/dist/components/icon.d.ts +2 -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 +5 -0
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ export declare class ChatPromptInput {
|
|
|
41
41
|
constructor(props: ChatPromptInputProps);
|
|
42
42
|
private readonly updateAvailableCharactersIndicator;
|
|
43
43
|
private readonly handleInputKeydown;
|
|
44
|
+
private readonly openQuickPick;
|
|
44
45
|
private readonly handleInputFocus;
|
|
45
46
|
private readonly getQuickPickItemGroups;
|
|
46
47
|
private readonly handleQuickActionCommandSelection;
|
|
@@ -35,6 +35,7 @@ export declare class PromptTextInput {
|
|
|
35
35
|
readonly blur: () => void;
|
|
36
36
|
readonly getTextInputValue: (withInputLineBreaks?: boolean) => string;
|
|
37
37
|
readonly updateTextInputValue: (value: string) => void;
|
|
38
|
+
readonly insertEndSpace: () => void;
|
|
38
39
|
readonly updateTextInputMaxLength: (maxLength: number) => void;
|
|
39
40
|
readonly updateTextInputPlaceholder: (text: string) => void;
|
|
40
41
|
readonly deleteTextRange: (position: number, endPosition: number) => void;
|
|
@@ -2,6 +2,7 @@ import { ExtendedHTMLElement } from '../../helper/dom';
|
|
|
2
2
|
import { ChatItemButton, DetailedListItem } from '../../static';
|
|
3
3
|
export interface DetailedListItemWrapperProps {
|
|
4
4
|
listItem: DetailedListItem;
|
|
5
|
+
descriptionTextDirection?: 'ltr' | 'rtl';
|
|
5
6
|
onSelect?: (detailedListItem: DetailedListItem) => void;
|
|
6
7
|
onActionClick?: (action: ChatItemButton) => void;
|
|
7
8
|
selectable?: boolean;
|
|
@@ -2,6 +2,7 @@ import { ExtendedHTMLElement } from '../../helper/dom';
|
|
|
2
2
|
import { ChatItemButton, DetailedList, DetailedListItem } from '../../static';
|
|
3
3
|
export interface DetailedListWrapperProps {
|
|
4
4
|
detailedList: DetailedList;
|
|
5
|
+
descriptionTextDirection?: 'ltr' | 'rtl';
|
|
5
6
|
onFilterValueChange?: (filterValues: Record<string, any>, isValid: boolean) => void;
|
|
6
7
|
onGroupActionClick?: (action: ChatItemButton) => void;
|
|
7
8
|
onItemSelect?: (detailedListItem: DetailedListItem) => void;
|
|
@@ -12,7 +12,6 @@ export interface CheckboxProps {
|
|
|
12
12
|
title?: HTMLElement | ExtendedHTMLElement | string;
|
|
13
13
|
label?: string;
|
|
14
14
|
description?: ExtendedHTMLElement;
|
|
15
|
-
tooltip?: ExtendedHTMLElement;
|
|
16
15
|
value?: 'true' | 'false';
|
|
17
16
|
optional?: boolean;
|
|
18
17
|
icon?: MynahIcons | MynahIconsType;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ExtendedHTMLElement } from '../helper/dom';
|
|
6
6
|
import '../styles/components/_icon.scss';
|
|
7
|
+
import { Status } from '../static';
|
|
7
8
|
export declare enum MynahIcons {
|
|
8
9
|
Q = "q",
|
|
9
10
|
MENU = "menu",
|
|
@@ -78,6 +79,7 @@ export interface IconProps {
|
|
|
78
79
|
icon: MynahIcons | MynahIconsType;
|
|
79
80
|
subtract?: boolean;
|
|
80
81
|
classNames?: string[];
|
|
82
|
+
status?: Status;
|
|
81
83
|
}
|
|
82
84
|
export declare class Icon {
|
|
83
85
|
render: ExtendedHTMLElement;
|
package/dist/main.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export interface MynahUIProps {
|
|
|
84
84
|
*/
|
|
85
85
|
onOpenDiff?: (tabId: string, filePath: string, deleted: boolean, messageId?: string, eventId?: string) => void;
|
|
86
86
|
onFileClick?: (tabId: string, filePath: string, deleted: boolean, messageId?: string, eventId?: string) => void;
|
|
87
|
+
onMessageDismiss?: (tabId: string, messageId: string, eventId?: string) => void;
|
|
87
88
|
onFileActionClick?: (tabId: string, messageId: string, filePath: string, actionName: string, eventId?: string) => void;
|
|
88
89
|
onTabBarButtonClick?: (tabId: string, buttonId: string, eventId?: string) => void;
|
|
89
90
|
onQuickCommandGroupActionClick?: (tabId: string, action: {
|