@aws/mynah-ui 4.14.0 → 4.14.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/helper/dom.d.ts +5 -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 +3 -2
- package/docs/PROPERTIES.md +54 -2
- package/package.json +1 -1
package/dist/helper/dom.d.ts
CHANGED
|
@@ -47,9 +47,14 @@ export interface ExtendedHTMLElement extends HTMLInputElement {
|
|
|
47
47
|
}
|
|
48
48
|
export declare class DomBuilder {
|
|
49
49
|
private static instance;
|
|
50
|
+
private rootFocus;
|
|
50
51
|
root: ExtendedHTMLElement;
|
|
51
52
|
private portals;
|
|
52
53
|
private constructor();
|
|
54
|
+
private readonly attachRootFocusListeners;
|
|
55
|
+
private readonly onRootFocus;
|
|
56
|
+
private readonly onRootBlur;
|
|
57
|
+
readonly setFocusToRoot: () => void;
|
|
53
58
|
static getInstance(rootSelector?: string): DomBuilder;
|
|
54
59
|
setRoot: (rootSelector?: string) => void;
|
|
55
60
|
addClass: (this: ExtendedHTMLElement, className: string) => ExtendedHTMLElement;
|
package/dist/main.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface MynahUIProps {
|
|
|
24
24
|
config?: Partial<ConfigModel>;
|
|
25
25
|
onShowMoreWebResultsClick?: (tabId: string, messageId: string, eventId?: string) => void;
|
|
26
26
|
onReady?: () => void;
|
|
27
|
+
onFocusStateChanged?: (focusState: boolean) => void;
|
|
27
28
|
onVote?: (tabId: string, messageId: string, vote: RelevancyVoteType, eventId?: string) => void;
|
|
28
29
|
onStopChatResponse?: (tabId: string, eventId?: string) => void;
|
|
29
30
|
onResetStore?: (tabId: string) => void;
|