@aws/mynah-ui 2.0.0-beta.7 → 2.0.0-beta.8.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/overlay/overlay.d.ts +1 -0
- package/dist/components/suggestion-card/suggestion-card-body.d.ts +1 -1
- package/dist/components/syntax-highlighter.d.ts +18 -3
- package/dist/helper/dom.d.ts +2 -0
- package/dist/helper/store.d.ts +2 -1
- package/dist/main.d.ts +8 -8
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +15 -19
- package/package.json +1 -1
- package/dist/helper/find-language.d.ts +0 -7
package/dist/static.d.ts
CHANGED
|
@@ -43,12 +43,12 @@ export declare enum MynahEventNames {
|
|
|
43
43
|
SHOW_FEEDBACK_FORM = "showFeedbackForm",
|
|
44
44
|
OPEN_DIFF = "openDiff"
|
|
45
45
|
}
|
|
46
|
-
export declare
|
|
47
|
-
WRAPPER
|
|
48
|
-
SIDE_NAV
|
|
49
|
-
OVERLAY
|
|
50
|
-
FEEDBACK_FORM
|
|
51
|
-
}
|
|
46
|
+
export declare enum MynahPortalNames {
|
|
47
|
+
WRAPPER = "wrapper",
|
|
48
|
+
SIDE_NAV = "sideNav",
|
|
49
|
+
OVERLAY = "overlay",
|
|
50
|
+
FEEDBACK_FORM = "feedbackForm"
|
|
51
|
+
}
|
|
52
52
|
export interface SuggestionMetaData {
|
|
53
53
|
stars?: number;
|
|
54
54
|
forks?: number;
|
|
@@ -124,18 +124,15 @@ export declare enum KeyMap {
|
|
|
124
124
|
ALT = "Alt",
|
|
125
125
|
SLASH = "/"
|
|
126
126
|
}
|
|
127
|
-
export
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
};
|
|
137
|
-
export declare type OnCopiedToClipboardFunction = (type?: 'selection' | 'block', text?: string) => void;
|
|
138
|
-
export declare type OnInsertToCursorPositionFunction = (type?: 'selection' | 'block', text?: string) => void;
|
|
127
|
+
export interface ReferenceTrackerInformation {
|
|
128
|
+
range: {
|
|
129
|
+
start: number;
|
|
130
|
+
end: number;
|
|
131
|
+
};
|
|
132
|
+
tooltipMarkdown: string;
|
|
133
|
+
}
|
|
134
|
+
export declare type OnCopiedToClipboardFunction = (type?: 'selection' | 'block', text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[]) => void;
|
|
135
|
+
export declare type OnInsertToCursorPositionFunction = (type?: 'selection' | 'block', text?: string, referenceTrackerInformation?: ReferenceTrackerInformation[]) => void;
|
|
139
136
|
export declare enum SuggestionEventName {
|
|
140
137
|
OPEN = "openSuggestion",
|
|
141
138
|
COPY = "copy"
|
|
@@ -195,4 +192,3 @@ export interface ConfigModel {
|
|
|
195
192
|
value: string;
|
|
196
193
|
}>;
|
|
197
194
|
}
|
|
198
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/mynah-ui",
|
|
3
3
|
"displayName": "AWS Mynah UI",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.8.0",
|
|
5
5
|
"description": "AWS Tookit VSCode and Intellij IDE Extension Mynah UI",
|
|
6
6
|
"publisher": "Amazon Web Services",
|
|
7
7
|
"license": "Apache License 2.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import { Suggestion } from '../static';
|
|
6
|
-
export declare const findLanguageFromSuggestion: (suggestion: Partial<Suggestion>) => string | undefined;
|
|
7
|
-
export declare const getLanguageFromFileName: (fileName: string) => string | undefined;
|