@aws/mynah-ui 1.1.0 → 1.1.2
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/README.md +103 -23
- 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 +4 -0
- package/package.json +1 -1
package/dist/static.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface MynahUIDataModel {
|
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
liveSearchState?: LiveSearchState;
|
|
8
8
|
query?: string;
|
|
9
|
+
code?: string;
|
|
9
10
|
codeSelection?: SearchPayloadCodeSelection;
|
|
10
11
|
codeQuery?: SearchPayloadCodeQuery;
|
|
11
12
|
matchPolicy?: SearchPayloadMatchPolicy;
|
|
@@ -46,6 +47,7 @@ export interface ServiceConnector {
|
|
|
46
47
|
clickAutocompleteSuggestionItem: (text: string, currSelected?: number, suggestionCount?: number) => void;
|
|
47
48
|
}
|
|
48
49
|
export declare enum MynahEventNames {
|
|
50
|
+
RESET_STORE = "resetStore",
|
|
49
51
|
CONTEXT_VISIBILITY_CHANGE = "contextVisibilityChange",
|
|
50
52
|
REQUEST_AUTOCOMPLETE_SUGGESTIONS = "requestAutocompleteSuggestions",
|
|
51
53
|
AUTOCOMPLETE_SUGGESTION_CLICK = "autoCompleteSuggestionClick",
|
|
@@ -97,6 +99,7 @@ export interface SearchPayload {
|
|
|
97
99
|
matchPolicy: SearchPayloadMatchPolicy;
|
|
98
100
|
codeSelection: SearchPayloadCodeSelection;
|
|
99
101
|
codeQuery?: SearchPayloadCodeQuery;
|
|
102
|
+
code?: string;
|
|
100
103
|
}
|
|
101
104
|
export interface SuggestionMetaData {
|
|
102
105
|
site: string;
|
|
@@ -262,6 +265,7 @@ export interface SearchHistoryItem {
|
|
|
262
265
|
trigger: string;
|
|
263
266
|
codeQuery: CodeQuery;
|
|
264
267
|
codeSelection: SearchPayloadCodeSelection;
|
|
268
|
+
code?: string;
|
|
265
269
|
};
|
|
266
270
|
recordDate?: number;
|
|
267
271
|
suggestions: Suggestion[];
|
package/package.json
CHANGED