@aws/mynah-ui 4.15.2 → 4.15.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/static.d.ts CHANGED
@@ -398,6 +398,8 @@ export interface ConfigOptions {
398
398
  }>;
399
399
  tabBarButtons?: TabBarMainAction[];
400
400
  maxTabs: number;
401
+ maxTabsTooltipDuration?: number;
402
+ noMoreTabsTooltip?: string;
401
403
  showPromptField: boolean;
402
404
  autoFocus: boolean;
403
405
  maxUserInput: number;
package/jest.config.js CHANGED
@@ -1,11 +1,11 @@
1
1
  const jestConfig = {
2
- testEnvironment: 'jsdom',
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
2
+ testEnvironment: 'jsdom',
3
+ preset: 'ts-jest',
4
+ moduleNameMapper: {
5
+ '\\.svg$': 'jest-svg-transformer',
6
+ '^.+\\.(css|less|scss)$': 'babel-jest',
7
+ },
8
+ setupFiles: ['<rootDir>/test-config/config.js', 'core-js'], // Polyfill things like structuredClone
9
9
  };
10
10
 
11
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": "4.15.2",
4
+ "version": "4.15.4",
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",
@@ -12,10 +12,16 @@
12
12
  "url": "https://github.com/aws/mynah-ui"
13
13
  },
14
14
  "scripts": {
15
- "clean": "rm -rf dist node_modules",
16
- "build": "rm -rf dist && webpack --config webpack.config.js --mode production",
15
+ "clean": "npm run clean:dist && npm run clean:node",
16
+ "clean:dist": "find . -name 'dist' -type d -prune -exec rm -rf '{}' +",
17
+ "clean:node": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
18
+ "build": "webpack --config webpack.config.js --mode production",
17
19
  "packdemo": "cd ./example && npm run pack",
18
20
  "watch": "webpack --config webpack.config.js --mode development --watch",
21
+ "watch:example": "cd ./example && npm run watch",
22
+ "watch:web": "run-p watch watch:example serve:example",
23
+ "serve:example": "live-server --port=9000 example/dist",
24
+ "dev": "npm run clean && npm install && npm run build && npm run packdemo && npm run watch:web",
19
25
  "lint-fix": "npx eslint \"./**\" --fix",
20
26
  "lint": "npx eslint \"./**\"",
21
27
  "test": "jest",
@@ -24,11 +30,11 @@
24
30
  "postinstall": "node postinstall.js"
25
31
  },
26
32
  "dependencies": {
33
+ "escape-html": "^1.0.3",
27
34
  "just-clone": "^6.2.0",
28
35
  "marked": "^12.0.2",
29
36
  "prismjs": "1.29.0",
30
37
  "sanitize-html": "^2.12.1",
31
- "escape-html": "^1.0.3",
32
38
  "unescape-html": "^1.1.0"
33
39
  },
34
40
  "peerDependencies": {
@@ -67,6 +73,8 @@
67
73
  "jest": "^29.7.0",
68
74
  "jest-environment-jsdom": "^29.7.0",
69
75
  "jest-svg-transformer": "^1.0.0",
76
+ "live-server": "^1.2.2",
77
+ "npm-run-all": "^4.1.5",
70
78
  "prettier": "^3.0.3",
71
79
  "sass": "1.49.8",
72
80
  "sass-loader": "12.6.0",
@@ -0,0 +1 @@
1
+ global.ResizeObserver = null;