@aws/mynah-ui 3.2.10 → 3.3.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/.eslintrc.js +2 -0
- package/README.md +15 -205
- package/THIRD-PARTY-LICENSES +67 -0
- package/dist/__test__/main.spec.d.ts +1 -0
- package/dist/components/__test__/button.spec.d.ts +1 -0
- package/dist/components/__test__/chat-item/chat-item-followup.spec.d.ts +1 -0
- package/dist/components/__test__/chat-item/chat-prompt-input.spec.d.ts +1 -0
- package/dist/components/__test__/feedback-form/feedback-form.spec.d.ts +1 -0
- package/dist/components/__test__/notification.spec.d.ts +1 -0
- package/dist/components/__test__/syntax-highlighter.spec.d.ts +1 -0
- package/dist/components/__test__/toggle.spec.d.ts +1 -0
- package/dist/helper/store.d.ts +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +2 -2
- package/jest.config.js +5 -0
- package/package.json +5 -1
package/dist/static.d.ts
CHANGED
|
@@ -105,7 +105,6 @@ export interface ChatPrompt {
|
|
|
105
105
|
prompt?: string;
|
|
106
106
|
escapedPrompt?: string;
|
|
107
107
|
command?: string;
|
|
108
|
-
attachment?: SourceLink;
|
|
109
108
|
}
|
|
110
109
|
export interface ChatItemFollowUp extends ChatPrompt {
|
|
111
110
|
type?: string;
|
|
@@ -141,7 +140,7 @@ export interface ReferenceTrackerInformation {
|
|
|
141
140
|
licenseName?: string;
|
|
142
141
|
repository?: string;
|
|
143
142
|
url?: string;
|
|
144
|
-
recommendationContentSpan
|
|
143
|
+
recommendationContentSpan?: {
|
|
145
144
|
start: number;
|
|
146
145
|
end: number;
|
|
147
146
|
};
|
|
@@ -211,4 +210,5 @@ export interface ConfigModel {
|
|
|
211
210
|
value: string;
|
|
212
211
|
}>;
|
|
213
212
|
maxTabs: number;
|
|
213
|
+
showPromptField: boolean;
|
|
214
214
|
}
|
package/jest.config.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const jestConfig = {
|
|
2
2
|
testEnvironment: 'jsdom',
|
|
3
3
|
preset: 'ts-jest',
|
|
4
|
+
moduleNameMapper: {
|
|
5
|
+
'\\.svg$': 'jest-svg-transformer',
|
|
6
|
+
'^.+\\.(css|less|scss)$': 'babel-jest',
|
|
7
|
+
},
|
|
8
|
+
setupFiles: ['core-js'], // Polyfill things like structuredClone
|
|
4
9
|
};
|
|
5
10
|
|
|
6
11
|
module.exports = jestConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/mynah-ui",
|
|
3
3
|
"displayName": "AWS Mynah UI",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.3.1",
|
|
5
5
|
"description": "AWS Toolkit VSCode and Intellij IDE Extension Mynah UI",
|
|
6
6
|
"publisher": "Amazon Web Services",
|
|
7
7
|
"license": "Apache License 2.0",
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"test": "jest"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@babel/core": "^7.23.5",
|
|
24
|
+
"babel-jest": "^29.7.0",
|
|
25
|
+
"core-js": "^3.33.3",
|
|
23
26
|
"escape-html": "^1.0.3",
|
|
24
27
|
"marked": "^7.0.3",
|
|
25
28
|
"prismjs": "1.29.0",
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
"eslint-plugin-promise": "6.0.0",
|
|
50
53
|
"jest": "^29.7.0",
|
|
51
54
|
"jest-environment-jsdom": "^29.7.0",
|
|
55
|
+
"jest-svg-transformer": "^1.0.0",
|
|
52
56
|
"prettier": "^3.0.3",
|
|
53
57
|
"sass": "1.49.8",
|
|
54
58
|
"sass-loader": "12.6.0",
|