From 79505ac0466c24e344e5388c4499f0016275c205 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Wed, 5 Feb 2020 10:53:06 -0600 Subject: [PATCH 1/2] move @types enzyme and react-virtualized; exclude chart theme --- package.json | 4 ++-- scripts/dtsgenerator.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 83544a032ba..563d67f0323 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,10 @@ ], "dependencies": { "@types/chroma-js": "^1.4.3", + "@types/enzyme": "^3.1.13", "@types/lodash": "^4.14.116", "@types/numeral": "^0.0.25", + "@types/react-virtualized": "^9.18.7", "@types/react-beautiful-dnd": "^10.1.0", "chroma-js": "^2.0.4", "classnames": "^2.2.5", @@ -81,12 +83,10 @@ "@svgr/core": "5.0.1", "@svgr/plugin-svgo": "^4.0.3", "@types/classnames": "^2.2.6", - "@types/enzyme": "^3.1.13", "@types/jest": "^24.0.6", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.4", "@types/react-is": "^16.7.1", - "@types/react-virtualized": "^9.18.7", "@types/resize-observer-browser": "^0.1.1", "@types/tabbable": "^3.1.0", "@types/uuid": "^3.4.4", diff --git a/scripts/dtsgenerator.js b/scripts/dtsgenerator.js index 4ea78dab266..ec3cd228e1b 100644 --- a/scripts/dtsgenerator.js +++ b/scripts/dtsgenerator.js @@ -34,6 +34,7 @@ const generator = dtsGenerator({ 'src-framer/**/*', '**/*.test.ts', '**/*.test.tsx', + 'src/themes/charts/*' // A separate d.ts file is generated for the charts theme file ], resolveModuleId(params) { if ( From c20f8914f96cc9c79b22cbaf26f651427f0d30d7 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Wed, 5 Feb 2020 15:31:04 -0600 Subject: [PATCH 2/2] CL --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e575739b3..22d931a246c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ - Fixed `EuiCode`'s & `EuiCodeBlock`'s ability to accept non-string children ([#2792](https://github.com/elastic/eui/pull/2792)) ([#2820](https://github.com/elastic/eui/pull/2820)) - Fixed `EuiSearchBar`, `Query`, and `AST`'s ability to accept literal parenthesis characters ([#2791](https://github.com/elastic/eui/pull/2791)) - Fixed coloring of input fields when autofill is on in Chrome ([#2798](https://github.com/elastic/eui/pull/2798)) +- Moved `@types/enzyme` and `@types/react-virtualized` to `dependencies` status ([#2828](https://github.com/elastic/eui/pull/2828)) +- Removed `@elastic/charts` from inclusion in `eui.d.ts` output ([#2828](https://github.com/elastic/eui/pull/2828)) **Breaking changes**