diff --git a/public/components/IndexMapping/IndexMapping.tsx b/public/components/IndexMapping/IndexMapping.tsx
index 71ac99aeb..f7b38ab0b 100644
--- a/public/components/IndexMapping/IndexMapping.tsx
+++ b/public/components/IndexMapping/IndexMapping.tsx
@@ -4,7 +4,17 @@
*/
import React, { forwardRef, useCallback, useState, Ref, useRef, useMemo, useImperativeHandle } from "react";
-import { EuiTreeView, EuiIcon, EuiTreeViewProps, EuiButton, EuiSpacer, EuiButtonGroup, EuiLink, EuiCallOut } from "@elastic/eui";
+import {
+ EuiTreeView,
+ EuiIcon,
+ EuiTreeViewProps,
+ EuiSmallButton,
+ EuiButton,
+ EuiSpacer,
+ EuiButtonGroup,
+ EuiLink,
+ EuiCallOut,
+} from "@elastic/eui";
import { set, get, isEmpty } from "lodash";
import MonacoJSONEditor, { IJSONEditorRef } from "../MonacoJSONEditor";
import { Modal } from "../Modal";
@@ -194,16 +204,10 @@ const IndexMapping = (
{readonly ? null : (
<>
- addField("")}
- >
+ addField("")}>
Add new field
-
-
+
addField("", {
@@ -212,7 +216,7 @@ const IndexMapping = (
}
>
Add new object
-
+
>
)}
>
diff --git a/public/components/IndexMapping/__snapshots__/IndexMapping.test.tsx.snap b/public/components/IndexMapping/__snapshots__/IndexMapping.test.tsx.snap
index 9d6b2373f..d5da9fb44 100644
--- a/public/components/IndexMapping/__snapshots__/IndexMapping.test.tsx.snap
+++ b/public/components/IndexMapping/__snapshots__/IndexMapping.test.tsx.snap
@@ -689,7 +689,7 @@ exports[` spec render mappings with object type 1`] = `
class="euiSpacer euiSpacer--l"
/>
spec render mappings with object type 1`] = `
{confirmModalVisible && (
-
<>>
-
+
)}
>
);
diff --git a/public/components/JSONDiffEditor/JSONTextArea.tsx b/public/components/JSONDiffEditor/JSONTextArea.tsx
index 9158885f5..9f0d487cb 100644
--- a/public/components/JSONDiffEditor/JSONTextArea.tsx
+++ b/public/components/JSONDiffEditor/JSONTextArea.tsx
@@ -4,7 +4,7 @@
*/
import React, { forwardRef, useState, useEffect, useImperativeHandle, useRef } from "react";
-import { EuiFormRow } from "@elastic/eui";
+import { EuiCompressedFormRow } from "@elastic/eui";
import type { MonacoDiffEditorProps } from "react-monaco-editor";
import { IJSONEditorRef } from "../JSONEditor";
import CustomFormRow from "../CustomFormRow";
@@ -74,13 +74,13 @@ const JSONDiffEditor = forwardRef(({ value, onChange, ...others }: JSONDiffEdito