From 22aeee28d52fbdc6ad2bca98e956c97f846dac5c Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 8 Mar 2022 17:45:06 -0600 Subject: [PATCH 1/3] make SharedRenderCellElementProps.schema optional --- src/components/datagrid/data_grid_types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/datagrid/data_grid_types.ts b/src/components/datagrid/data_grid_types.ts index fc09d3e50d3..06200b96aaa 100644 --- a/src/components/datagrid/data_grid_types.ts +++ b/src/components/datagrid/data_grid_types.ts @@ -407,7 +407,7 @@ interface SharedRenderCellElementProps { /** * The schema type of the column being rendered */ - schema: string | undefined | null; + schema?: string | null; } export type EuiDataGridSetCellProps = CommonProps & From 2fcb5078a23634a69d210aada91210b2443bb550 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Wed, 9 Mar 2022 10:51:20 -0600 Subject: [PATCH 2/3] remove is_jest from test dir --- src/test/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/index.ts b/src/test/index.ts index eea6617bc7b..4a7c8ff1450 100644 --- a/src/test/index.ts +++ b/src/test/index.ts @@ -14,4 +14,3 @@ export { stopThrowingReactWarnings, } from './react_warnings'; export { sleep } from './sleep'; -export { IS_JEST_ENVIRONMENT } from '../utils/is_jest'; From 27838a8a0db8d28d8d63ec4fb02771238b82a136 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Thu, 10 Mar 2022 10:07:32 -0600 Subject: [PATCH 3/3] CL --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4d9ba95a0e..9cd30b94a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## [`main`](https://github.com/elastic/eui/tree/main) -No public interface changes since `51.0.0`. +**Bug fixes** + +- Fixed type of `SharedRenderCellElementProps.schema` to be optional ([#5704](https://github.com/elastic/eui/pull/5704)) +- Fixed generated type definition file referencing non-existant Jest util ([#5704](https://github.com/elastic/eui/pull/5704)) ## [`51.0.0`](https://github.com/elastic/eui/tree/v51.0.0)