diff --git a/package.json b/package.json
index 1a4b99a1048b9..fb58309ea7a27 100644
--- a/package.json
+++ b/package.json
@@ -190,11 +190,11 @@
"pug": "^2.0.3",
"querystring-browser": "1.0.4",
"raw-loader": "0.5.1",
- "react": "^16.3.0",
+ "react": "^16.6.0",
"react-addons-shallow-compare": "15.6.2",
"react-anything-sortable": "^1.7.4",
"react-color": "^2.13.8",
- "react-dom": "^16.3.0",
+ "react-dom": "^16.6.0",
"react-grid-layout": "^0.16.2",
"react-input-range": "^1.3.0",
"react-markdown": "^3.1.4",
@@ -324,9 +324,10 @@
"classnames": "2.2.5",
"dedent": "^0.7.0",
"delete-empty": "^2.0.0",
- "enzyme": "3.2.0",
- "enzyme-adapter-react-16": "^1.1.1",
- "enzyme-to-json": "3.3.1",
+ "enzyme": "^3.7.0",
+ "enzyme-adapter-react-16": "^1.6.0",
+ "enzyme-adapter-utils": "^1.8.1",
+ "enzyme-to-json": "^3.3.4",
"eslint": "^5.6.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-babel": "^5.2.0",
diff --git a/src/legacy/core_plugins/kibana/public/dashboard/listing/__snapshots__/dashboard_listing.test.js.snap b/src/legacy/core_plugins/kibana/public/dashboard/listing/__snapshots__/dashboard_listing.test.js.snap
index 9723576ce02b6..761e2d1fdce5d 100644
--- a/src/legacy/core_plugins/kibana/public/dashboard/listing/__snapshots__/dashboard_listing.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/dashboard/listing/__snapshots__/dashboard_listing.test.js.snap
@@ -517,50 +517,48 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
-
-
- }
- >
-
-
-
- ,
- "listingLimitText":
- listingLimit
- ,
- "listingLimitValue": 1,
- "totalDashboards": 2,
- }
+
+ }
+ >
+
+
+
+ ,
+ "listingLimitText":
+ listingLimit
+ ,
+ "listingLimitValue": 1,
+ "totalDashboards": 2,
}
- />
-
-
-
-
+ }
+ />
+
+
+
-
-
-
-
+
+
-
-
+
-
-
- label0
-
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
- label1
-
-
-
-
+ label1
+
+
+
-
-
-
- Home
-
- /
-
-
- Add data
-
- /
-
- jest test tutorial
-
-
-
+
+
+ Home
+
+ /
+
+
+ Add data
+
+ /
+
+ jest test tutorial
+
+
-
-
-
- Home
-
- /
-
-
- Add data
-
- /
-
- jest test tutorial
-
-
-
+
+
+ Home
+
+ /
+
+
+ Add data
+
+ /
+
+ jest test tutorial
+
+
-
-
-
- Home
-
- /
-
-
- Add data
-
- /
-
- jest test tutorial
-
-
-
+
+
+ Home
+
+ /
+
+
+ Add data
+
+ /
+
+ jest test tutorial
+
+
+
-
+
`;
exports[`CreateIndexPatternWizard renders index pattern step when there are indices 1`] = `
-
+
-
+
`;
exports[`CreateIndexPatternWizard renders the empty state when there are no indices 1`] = `
-
+
-
+
`;
exports[`CreateIndexPatternWizard renders time field step when step is set to 2 1`] = `
-
+
-
+
`;
exports[`CreateIndexPatternWizard renders when there are no indices but there are remote clusters 1`] = `
-
+
-
+
`;
exports[`CreateIndexPatternWizard shows system indices even if there are no other indices if the include system indices is toggled 1`] = `
-
+
-
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/header/__jest__/__snapshots__/header.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/header/__jest__/__snapshots__/header.test.js.snap
index 02ba1ee8fc730..6d77035e82041 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/header/__jest__/__snapshots__/header.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/header/__jest__/__snapshots__/header.test.js.snap
@@ -16,13 +16,11 @@ exports[`Header should render a different name, prompt, and beta tag if provided
}
}
/>
-
-
-
-
+
+
-
-
-
- Test prompt
-
-
+
+
+ Test prompt
+
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/__jest__/__snapshots__/table.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/__jest__/__snapshots__/table.test.js.snap
index 8fc08181be4a1..80f44fbcb5d04 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/__jest__/__snapshots__/table.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/__jest__/__snapshots__/table.test.js.snap
@@ -2,26 +2,24 @@
exports[`Table editing should show a save button 1`] = `
-
-
-
-
+
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/__jest__/__snapshots__/flyout.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/__jest__/__snapshots__/flyout.test.js.snap
index 317cf1fc32564..03c36783f4c72 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/__jest__/__snapshots__/flyout.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/__jest__/__snapshots__/flyout.test.js.snap
@@ -24,45 +24,43 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
/>
-
-
-
- }
- >
-
-
-
- ,
- }
+
+
+ }
+ >
+
+
+
+ ,
}
- />
-
-
-
+ }
+ />
+
+
+
-
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__jest__/__snapshots__/relationships.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__jest__/__snapshots__/relationships.test.js.snap
index 5f10fa8eb10cf..957b5b3fb534c 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__jest__/__snapshots__/relationships.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/__jest__/__snapshots__/relationships.test.js.snap
@@ -40,77 +40,73 @@ exports[`Relationships should render dashboards normally 1`] = `
textStyle="normal"
type="row"
>
-
-
}
>
-
- }
- >
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -248,142 +244,134 @@ exports[`Relationships should render searches normally 1`] = `
textStyle="normal"
type="row"
>
-
-
}
>
-
- }
- >
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
}
>
-
- }
- >
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -429,77 +417,73 @@ exports[`Relationships should render visualizations normally 1`] = `
textStyle="normal"
type="row"
>
-
-
}
>
-
- }
- >
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/__jest__/__snapshots__/table.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/__jest__/__snapshots__/table.test.js.snap
index d3ca955a95a54..55a6c904d55f8 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/__jest__/__snapshots__/table.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/__jest__/__snapshots__/table.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Table should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap
index 3f5625a19b66c..41455f90a6baf 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/form/__snapshots__/form.test.js.snap
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Form should not render no settings message when instructed not to 1`] = `
`;
+exports[`Form should not render no settings message when instructed not to 1`] = `
`;
exports[`Form should render no settings message when there are no settings 1`] = `
-
+
-
+
`;
exports[`Form should render normally 1`] = `
-
-
+
-
-
-
+
+
-
-
-
- General
-
-
-
-
-
-
+ General
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
-
-
-
+
+
-
-
-
- Dashboard
-
-
-
-
-
-
+ Dashboard
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
+
+
-
+
+ X-pack
+
+
+
-
-
- X-pack
-
-
-
-
-
-
-
-
- ,
- "settingsCount": 9,
- }
+
+
+
+
+
+ ,
+ "settingsCount": 9,
}
- />
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+ }
+ />
+
+
+
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap
index cdfc62c5134b8..70ad5b3819a88 100644
--- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/search/__snapshots__/search.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Search should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap b/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap
index 5caafbdcd6484..84a6749eae4c1 100644
--- a/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap
+++ b/src/legacy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap
@@ -229,66 +229,263 @@ exports[`NewVisModal should render as expected 1`] = `
}
>
-
+
+
+ }
>
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- New Visualization
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
-
-
-
- Vis Type 1
-
- }
- onBlur={[Function]}
- onClick={[Function]}
- onFocus={[Function]}
- onMouseEnter={[Function]}
- onMouseLeave={[Function]}
+
-
+ Vis Type 1
+
+ }
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
- type="button"
>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
- Vis Type 1
-
-
-
-
-
-
- Vis with search
-
- }
- onBlur={[Function]}
- onClick={[Function]}
- onFocus={[Function]}
- onMouseEnter={[Function]}
- onMouseLeave={[Function]}
- >
-
+ Vis Type 1
+
+
+
+
+
+
+ Vis with search
+
+ }
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
- type="button"
>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
- Vis with search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Vis with search
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- Select a visualization type
-
-
-
-
-
-
-
-
+ Select a visualization type
+
+
+
+
+
+
+
-
-
- Start creating your visualization by selecting a type for that visualization.
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Start creating your visualization by selecting a type for that visualization.
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
diff --git a/src/ui/public/field_editor/__snapshots__/field_editor.test.js.snap b/src/ui/public/field_editor/__snapshots__/field_editor.test.js.snap
index 38bc79e4bab3f..68255e74fa46f 100644
--- a/src/ui/public/field_editor/__snapshots__/field_editor.test.js.snap
+++ b/src/ui/public/field_editor/__snapshots__/field_editor.test.js.snap
@@ -15,29 +15,27 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
size="m"
/>
-
-
-
-
+
+
-
+ }
+ isVisible={false}
+ lang="painless"
+ onClose={[Function]}
+ />
-
-
- }
- label={
-
+ }
+ >
+
+
@@ -153,47 +149,43 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
onChange={[Function]}
/>
-
-
+
+
+
+
+
+ doc['some_field'].value
+ ,
+ }
+ }
+ />
+
+
+
-
-
-
-
-
-
- doc['some_field'].value
- ,
- }
- }
- />
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
-
+ }
+ isVisible={false}
+ lang="painless"
+ name="test"
+ onClose={[Function]}
+ script="doc.test.value"
+ />
-
-
- }
- label={
-
+ }
+ >
+
+
@@ -389,48 +377,44 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
onChange={[Function]}
/>
-
-
+
+
+
+
+
+ doc['some_field'].value
+ ,
+ }
+ }
+ />
+
+
+
-
-
-
-
-
-
- doc['some_field'].value
- ,
- }
- }
- />
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
-
+ }
+ isVisible={false}
+ lang="painless"
+ name="foobar"
+ onClose={[Function]}
+ />
-
-
- }
- label={
-
+ }
+ >
+
+
@@ -690,47 +670,43 @@ exports[`FieldEditor should show conflict field warning 1`] = `
onChange={[Function]}
/>
-
-
+
+
+
+
+
+ doc['some_field'].value
+ ,
+ }
+ }
+ />
+
+
+
-
-
-
-
-
-
- doc['some_field'].value
- ,
- }
- }
- />
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
-
+ }
+ isVisible={false}
+ lang="testlang"
+ name="test"
+ onClose={[Function]}
+ script="doc.test.value"
+ />
@@ -963,47 +937,45 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
value="number"
/>
-
-
- }
- label={
-
-
+ }
+ >
+
+
@@ -1012,48 +984,44 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
onChange={[Function]}
/>
-
-
+
+
+
+
+
+ doc['some_field'].value
+ ,
+ }
+ }
+ />
+
+
+
-
-
-
-
-
-
- doc['some_field'].value
- ,
- }
- }
- />
-
-
-
-
-
-
-
-
+
+
+
-
+
`;
-exports[`FieldFormatEditor should render nothing if there is no editor for the format 1`] = ` `;
+exports[`FieldFormatEditor should render nothing if there is no editor for the format 1`] = ` `;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.js.snap
index 480d65ae01f4a..38b3890005a98 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`BytesFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/color/__snapshots__/color.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/color/__snapshots__/color.test.js.snap
index 299a9f91ac705..0a2ba6a12ce43 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/color/__snapshots__/color.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/color/__snapshots__/color.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ColorFormatEditorComponent should render multiple colors 1`] = `
-
+
-
+
`;
exports[`ColorFormatEditorComponent should render other type normally (range field) 1`] = `
-
+
-
+
`;
exports[`ColorFormatEditorComponent should render string type normally (regex field) 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/date/__snapshots__/date.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/date/__snapshots__/date.test.js.snap
index 59481cd6e19a5..7502b03af40c6 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/date/__snapshots__/date.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/date/__snapshots__/date.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DateFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/duration/__snapshots__/duration.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/duration/__snapshots__/duration.test.js.snap
index 1381973452a1e..438e3a3c9932b 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/duration/__snapshots__/duration.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/duration/__snapshots__/duration.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DurationFormatEditor should render human readable output normally 1`] = `
-
+
-
+
`;
exports[`DurationFormatEditor should render non-human readable output normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/number/__snapshots__/number.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/number/__snapshots__/number.test.js.snap
index 7f07331c77994..97947f01612c3 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/number/__snapshots__/number.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/number/__snapshots__/number.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NumberFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/percent/__snapshots__/percent.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/percent/__snapshots__/percent.test.js.snap
index f0ee8f15d509b..a04f27cacf59e 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/percent/__snapshots__/percent.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/percent/__snapshots__/percent.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PercentFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.js.snap
index 31ac15c41eb8e..68a7a03e47c10 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StaticLookupFormatEditorComponent should render multiple lookup entries and unknown key value 1`] = `
-
+
-
+
`;
exports[`StaticLookupFormatEditorComponent should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.js.snap
index 17089261bd2fc..537c31f64d5f0 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StringFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.js.snap
index e6aa80cb39dca..d6651e5568d58 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TruncateFormatEditor should render normally 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.js.snap b/src/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.js.snap
index 923b92eeaf47a..20d42c19f04bd 100644
--- a/src/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.js.snap
+++ b/src/ui/public/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`UrlFormatEditor should render label template help 1`] = `
-
+
-
+
`;
exports[`UrlFormatEditor should render normally 1`] = `
-
+
-
+
`;
exports[`UrlFormatEditor should render url template help 1`] = `
-
+
-
+
`;
diff --git a/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap b/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap
index d2e4a89bc9b45..7aeade16748ee 100644
--- a/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap
+++ b/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ScriptingDisabledCallOut should render normally 1`] = `
-
+
-
+
`;
exports[`ScriptingDisabledCallOut should render nothing if not visible 1`] = `""`;
diff --git a/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.js.snap b/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.js.snap
index e9bbdf801d1fb..790ed21d44cda 100644
--- a/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.js.snap
+++ b/src/ui/public/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ScriptingWarningCallOut should render normally 1`] = `
-
+
-
+
`;
exports[`ScriptingWarningCallOut should render nothing if not visible 1`] = `""`;
diff --git a/src/ui/public/query_bar/components/query_bar.tsx b/src/ui/public/query_bar/components/query_bar.tsx
index 02f240ffc352b..af91fea37eb43 100644
--- a/src/ui/public/query_bar/components/query_bar.tsx
+++ b/src/ui/public/query_bar/components/query_bar.tsx
@@ -110,7 +110,7 @@ export class QueryBarUI extends Component {
};
}
- return null;
+ return { currentProps: nextProps };
}
/*
@@ -132,6 +132,7 @@ export class QueryBarUI extends Component {
},
inputIsPristine: true,
isSuggestionsVisible: false,
+ currentProps: this.props,
index: null,
suggestions: [],
suggestionLimit: 50,
diff --git a/src/ui/public/share/components/__snapshots__/url_panel_content.test.js.snap b/src/ui/public/share/components/__snapshots__/url_panel_content.test.js.snap
index 05669cf36e2dc..1b0c705db40e3 100644
--- a/src/ui/public/share/components/__snapshots__/url_panel_content.test.js.snap
+++ b/src/ui/public/share/components/__snapshots__/url_panel_content.test.js.snap
@@ -186,7 +186,9 @@ exports[`render 1`] = `
afterMessage="Copied"
anchorClassName="sharePanel__copyAnchor"
textToCopy="http://localhost/"
- />
+ >
+
+
`;
@@ -365,6 +367,8 @@ exports[`should enable saved object export option when objectId is provided 1`]
afterMessage="Copied"
anchorClassName="sharePanel__copyAnchor"
textToCopy="http://localhost/"
- />
+ >
+
+
`;
diff --git a/x-pack/package.json b/x-pack/package.json
index 2b21a858a6827..30f47b109994f 100644
--- a/x-pack/package.json
+++ b/x-pack/package.json
@@ -73,9 +73,10 @@
"copy-webpack-plugin": "^4.5.2",
"del": "^3.0.0",
"dotenv": "2.0.0",
- "enzyme": "3.2.0",
- "enzyme-adapter-react-16": "^1.1.1",
- "enzyme-to-json": "3.3.1",
+ "enzyme": "^3.7.0",
+ "enzyme-adapter-react-16": "^1.6.0",
+ "enzyme-adapter-utils": "^1.8.1",
+ "enzyme-to-json": "^3.3.4",
"expect.js": "0.3.1",
"fancy-log": "^1.3.2",
"fetch-mock": "7.3.0",
@@ -220,12 +221,12 @@
"puid": "1.0.5",
"puppeteer-core": "^1.7.0",
"raw-loader": "0.5.1",
- "react": "^16.3.0",
+ "react": "^16.6.0",
"react-apollo": "^2.1.4",
"react-beautiful-dnd": "^8.0.7",
"react-clipboard.js": "^1.1.2",
"react-datetime": "^2.14.0",
- "react-dom": "^16.3.0",
+ "react-dom": "^16.6.0",
"react-dropzone": "^4.2.9",
"react-markdown-renderer": "^1.4.0",
"react-portal": "^3.2.0",
diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.js.snap b/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.js.snap
index d960d846a1da9..cc5c169bbda11 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.js.snap
+++ b/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TransactionOverviewView should render with type filter controls 1`] = `
-
+
-
+
`;
exports[`TransactionOverviewView should render without type filter controls if there is just a single type 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap b/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap
index 3e4c0b0656578..f9ed76ec38cd3 100644
--- a/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap
+++ b/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap
@@ -21,7 +21,7 @@ exports[`HistoryTabs should change the selected item on tab click 2`] = `
`;
exports[`HistoryTabs should render correctly 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
index 46b1c5be7eef3..b2ea097186891 100644
--- a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
+++ b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
@@ -175,83 +175,180 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
/>
-
- }
- confirmButtonText={
-
- }
- onCancel={[Function]}
- onConfirm={[Function]}
- title={
-
- }
- >
-
-
-
-
+
+
+
+
+
+
+
+
+
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
+
+
+
+
+ Watcher will be disabled
+
+
+
+
+
+
+
+
+
+
+
+ }
+ >
+
+ }
+ confirmButtonText={
+
+ }
+ onCancel={[Function]}
+ onConfirm={[Function]}
+ title={
+
+ }
+ >
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
- Confirm License Upload
-
-
-
-
-
-
-
-
+ Confirm License Upload
+
+
+
+
+
+
+
-
-
-
-
+
+
- Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
-
-
-
-
+ Some functionality will be lost if you replace your TRIAL license with a BASIC license. Review the list of features below.
+
+
+
-
-
- Watcher will be disabled
-
-
-
-
+
+
+
+ Watcher will be disabled
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
-
-
-
- Cancel
-
+
+ Cancel
+
+
-
-
-
-
-
+
+
-
-
- Confirm
-
+
+ Confirm
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
-
+
`;
exports[`FormLabel Full initialization 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap
index 36fe079f33ddc..13dda08db4187 100644
--- a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap
+++ b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ActionsSection renders with no actions selected 1`] = `
-
+
-
+
`;
exports[`ActionsSection renders with skip_result and skip_model_update selected 1`] = `
-
+
-
+
`;
exports[`ActionsSection renders with skip_result selected 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap
index a3c9364d96740..839a18efdb67c 100644
--- a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap
+++ b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap
@@ -5,7 +5,7 @@ exports[`ConditionsSectionExpression don't render when not enabled with conditio
exports[`ConditionsSectionExpression don't render when the section is not enabled 1`] = `""`;
exports[`ConditionsSectionExpression renders when enabled with empty conditions supplied 1`] = `
-
+
@@ -21,11 +21,11 @@ exports[`ConditionsSectionExpression renders when enabled with empty conditions
values={Object {}}
/>
-
+
`;
exports[`ConditionsSectionExpression renders when enabled with no conditions supplied 1`] = `
-
+
@@ -41,11 +41,11 @@ exports[`ConditionsSectionExpression renders when enabled with no conditions sup
values={Object {}}
/>
-
+
`;
exports[`ConditionsSectionExpression renders when enabled with one condition 1`] = `
-
+
-
+
`;
exports[`ConditionsSectionExpression renders when enabled with two conditions 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap
index 077b3cb9de824..fe592b0b0f7bc 100644
--- a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap
+++ b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap
@@ -5,7 +5,7 @@ exports[`RuleEditorFlyout don't render after closing the flyout 1`] = `""`;
exports[`RuleEditorFlyout don't render when not opened 1`] = `""`;
exports[`RuleEditorFlyout renders the flyout after adding a condition to a rule 1`] = `
-
+
-
+
`;
exports[`RuleEditorFlyout renders the flyout after setting the rule to edit 1`] = `
-
+
-
+
`;
exports[`RuleEditorFlyout renders the flyout for creating a rule with conditions only 1`] = `
-
+
-
+
`;
exports[`RuleEditorFlyout renders the select action component for a detector with a rule 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap
index 243771b04b05b..89f1898217958 100644
--- a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap
+++ b/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap
@@ -3,7 +3,7 @@
exports[`ScopeSection don't render when no partitioning fields 1`] = `""`;
exports[`ScopeSection false canGetFilters privilege show NoPermissionCallOut when no filter list IDs 1`] = `
-
+
-
-
-
+
-
+
`;
exports[`ScopeSection renders when enabled with no scope supplied 1`] = `
-
+
-
-
-
+
-
+
`;
exports[`ScopeSection renders when enabled with scope supplied 1`] = `
-
+
-
-
-
+
-
+
`;
exports[`ScopeSection renders when not enabled 1`] = `
-
+
-
+
`;
exports[`ScopeSection show NoFilterListsCallOut when no filter list IDs 1`] = `
-
+
-
-
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap b/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap
index 9d9fe4082ec91..37be903bc85b2 100644
--- a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap
+++ b/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DeleteRuleModal renders as delete button after opening and closing modal 1`] = `
-
+
-
+
`;
exports[`DeleteRuleModal renders as delete button when not visible 1`] = `
-
+
-
+
`;
exports[`DeleteRuleModal renders modal after clicking delete rule link 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap b/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap
index 05150c9925afc..6b6930fe40ccf 100644
--- a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap
+++ b/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap
@@ -1,77 +1,67 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ExplorerChartLabelBadge Render the chart label in one line. 1`] = `
-
+
-
- high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
-
-
-  –Â
-
+ high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
+  –Â
-
-
+
+
+
}
- key="nginx.access.remote_ip 72.57.0.53"
+ position="top"
+ size="s"
+ type="questionInCircle"
/>
-
-
-
- }
- position="top"
- size="s"
- type="questionInCircle"
- />
-
-
+
-
+
`;
exports[`ExplorerChartLabelBadge Render the chart label in two lines. 1`] = `
-
+
-
- high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
-
-
- Â
-
+ high_sum(nginx.access.body_sent.bytes) over nginx.access.remote_ip (population-03)
+ Â
-
+
`;
diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap b/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap
index 6d2563b8a19c5..91a671f095f55 100644
--- a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap
+++ b/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomUrlEditor renders the editor for a dashboard type URL with a label 1`] = `
-
+
-
+
`;
exports[`CustomUrlEditor renders the editor for a discover type URL with an entity and empty time range interval 1`] = `
-
+
-
+
`;
exports[`CustomUrlEditor renders the editor for a discover type URL with valid time range interval 1`] = `
-
+
-
+
`;
exports[`CustomUrlEditor renders the editor for a new dashboard type URL with no label 1`] = `
-
+
-
+
`;
exports[`CustomUrlEditor renders the editor for other type of URL with duplicate label 1`] = `
-
+
-
+
`;
exports[`CustomUrlEditor renders the editor for other type of URL with unique label 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap b/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap
index dd76563bc7b76..a7cafe60fb63f 100644
--- a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap
+++ b/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomUrlList renders a list of custom URLs 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap b/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap
index 7814870fa8aae..2e0f8bca89a5a 100644
--- a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap
@@ -25,58 +25,56 @@ exports[`CalendarForm CalendarId shown as title when editing 1`] = `
exports[`CalendarForm Renders calendar form 1`] = `
-
-
- }
- >
-
-
-
+
- }
- >
-
+
+
-
-
+ }
+ >
+
+
+
@@ -65,11 +65,11 @@ exports[`EventsTable Renders events table with no search bar 1`] = `
}
}
/>
-
+
`;
exports[`EventsTable Renders events table with search bar 1`] = `
-
+
@@ -177,5 +177,5 @@ exports[`EventsTable Renders events table with search bar 1`] = `
}
}
/>
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap b/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap
index 45c1bfc53b549..0d1bc10a13f92 100644
--- a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ImportModal Renders import modal 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap b/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap
index 3db746ce38758..d2773bb09c6e1 100644
--- a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ImportedEvents Renders imported events 1`] = `
-
+
@@ -68,5 +68,5 @@ exports[`ImportedEvents Renders imported events 1`] = `
onChange={[MockFunction]}
/>
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap b/x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap
index a2c09dc7f5162..7ac8b56ba9469 100644
--- a/x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CalendarsListTable renders the table with all calendars 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap b/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap
index 101a65c499856..39e3fcf066362 100644
--- a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EditFilterListHeader renders the header when creating a new filter list with ID, description and items set 1`] = `
-
+
-
+
`;
exports[`EditFilterListHeader renders the header when creating a new filter list with the ID not set 1`] = `
-
+
-
+
`;
exports[`EditFilterListHeader renders the header when editing an existing unused filter list with no description or items 1`] = `
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
`;
exports[`EditFilterListHeader renders the header when editing an existing used filter list with description and items set 1`] = `
-
+
-
-
+
-
-
-
-
-
-
-
-
+
+
+
-
-
+
-
-
+
+
+
`;
diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap b/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap
index f286a971aea7a..fd87730372ad3 100644
--- a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`EditFilterListToolbar renders the toolbar with no items selected 1`] = `
-
+
-
+
`;
exports[`EditFilterListToolbar renders the toolbar with one item selected 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap b/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap
index 27ac7dafaa27f..08763ad9d5f29 100644
--- a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Filter Lists Header renders header 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap b/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap
index 4f264c00980f2..dfed87f5c1fc7 100644
--- a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap
+++ b/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap
@@ -1,205 +1,201 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Filter Lists Table renders with filter lists and selection supplied 1`] = `
-
-
-
+ ,
- ,
+ ,
- ],
- }
+ },
+ ]
+ }
+ />,
+ ],
}
- selection={
- Object {
- "onSelectionChange": [Function],
- "selectable": [Function],
- "selectableMessage": [Function],
- }
+ }
+ selection={
+ Object {
+ "onSelectionChange": [Function],
+ "selectable": [Function],
+ "selectableMessage": [Function],
}
- sorting={
- Object {
- "sort": Object {
- "direction": "asc",
- "field": "filter_id",
- },
- }
+ }
+ sorting={
+ Object {
+ "sort": Object {
+ "direction": "asc",
+ "field": "filter_id",
+ },
}
- />
-
-
+ }
+ />
+
`;
exports[`Filter Lists Table renders with filter lists supplied 1`] = `
-
-
-
+ ,
- ,
- ],
- }
- }
- selection={
+ "field": "filter_id",
+ "name": "ID",
+ "render": [Function],
+ "sortable": true,
+ },
Object {
- "onSelectionChange": [Function],
- "selectable": [Function],
- "selectableMessage": [Function],
- }
- }
- sorting={
+ "field": "description",
+ "name": "Description",
+ "sortable": true,
+ },
Object {
- "sort": Object {
- "direction": "asc",
- "field": "filter_id",
- },
- }
+ "field": "item_count",
+ "name": "Item count",
+ "sortable": true,
+ },
+ Object {
+ "field": "used_by",
+ "name": "In use",
+ "render": [Function],
+ "sortable": true,
+ },
+ ]
+ }
+ executeQueryOptions={Object {}}
+ isSelectable={true}
+ itemId="filter_id"
+ items={
+ Array [
+ Object {
+ "description": "List of known safe domains",
+ "filter_id": "safe_domains",
+ "item_count": 500,
+ "used_by": Object {
+ "jobs": Array [
+ "dns_exfiltration",
+ ],
+ },
+ },
+ Object {
+ "description": "US East AWS instances",
+ "filter_id": "us_east_instances",
+ "item_count": 20,
+ "used_by": Object {
+ "jobs": Array [],
+ },
+ },
+ ]
+ }
+ pagination={true}
+ responsive={true}
+ search={
+ Object {
+ "box": Object {
+ "incremental": true,
+ },
+ "filters": Array [],
+ "toolsRight": Array [
+ ,
+ ,
+ ],
+ }
+ }
+ selection={
+ Object {
+ "onSelectionChange": [Function],
+ "selectable": [Function],
+ "selectableMessage": [Function],
+ }
+ }
+ sorting={
+ Object {
+ "sort": Object {
+ "direction": "asc",
+ "field": "filter_id",
+ },
}
- />
-
-
+ }
+ />
+
`;
diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap
index 9285aa7226e57..d4b789d4b79da 100644
--- a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap
+++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap
@@ -115,44 +115,42 @@ exports[`CcrShard that it renders normally 1`] = `
responsive={true}
wrap={true}
>
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
-
-
-
- September 27, 2018 9:32:09 AM
-
-
-
-
- {
+
+
+ September 27, 2018 9:32:09 AM
+
+
+
+
+ {
"read_exceptions": [],
"follower_global_checkpoint": 3049,
"follower_index": "follower",
@@ -218,8 +215,7 @@ exports[`CcrShard that it renders normally 1`] = `
"total_index_time_millis": 41827,
"total_transferred_bytes": 234156
}
-
-
+
diff --git a/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap b/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap
index 7ee7c00d6837f..0c08e3e69f24a 100644
--- a/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap
+++ b/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap
@@ -63,7 +63,15 @@ Array [
/>
+ >
+
+ }
+ />
+
+ >
+
+ }
+ />
+
+
-
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/__snapshots__/collapsible_panel.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/__snapshots__/collapsible_panel.test.tsx.snap
index a940a55b3754b..52bde6ec75879 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/__snapshots__/collapsible_panel.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/__snapshots__/collapsible_panel.test.tsx.snap
@@ -51,13 +51,11 @@ exports[`it renders without blowing up 1`] = `
-
-
-
- child
-
-
+
+
+ child
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap
index b5040fd5e9756..31f2adabe766a 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap
@@ -6,157 +6,81 @@ exports[`it renders without crashing 1`] = `
iconType="logoElasticsearch"
title="Elasticsearch"
>
-
-
-
-
-
-
-
- }
- fullWidth={false}
- gutterSize="l"
- title={
-
-
-
- }
- titleSize="xs"
- >
-
-
+
-
-
-
-
-
-
-
-
-
- }
- fullWidth={false}
- gutterSize="l"
- title={
-
+
-
- }
- titleSize="xs"
- >
-
-
-
-
-
-
+
+
+ }
+ fullWidth={false}
+ gutterSize="l"
+ title={
-
-
-
+
+
+
+
+
+
@@ -167,54 +91,128 @@ exports[`it renders without crashing 1`] = `
/>
-
-
-
-
+
+
+ }
+ titleSize="xs"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap
index 6f5b137c318b6..15820ba7ddb94 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`it renders without crashing 1`] = `
-
+
-
-
+
-
-
- }
- >
-
-
-
-
-
- }
- >
-
+
+
+
+
-
-
-
-
- }
- label={
-
+
-
-
-
-
-
-
-
-
+
+
+
-
+ }
+ label={
+
+ }
>
-
- }
+
-
-
-
+
+
+
+
+
+
+
+ }
+ onChange={[Function]}
+ />
+
+
-
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap
index 189c4766c29f9..943c3e1518cab 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`it renders without crashing 1`] = `Array []`;
+exports[`it renders without crashing 1`] = `null`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/impacted_spaces_flyout.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/impacted_spaces_flyout.test.tsx.snap
index c749a49bce110..059ca0f1c0db6 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/impacted_spaces_flyout.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/impacted_spaces_flyout.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[` renders without crashing 1`] = `
-
+
@@ -17,5 +17,5 @@ exports[` renders without crashing 1`] = `
/>
-
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/simple_privilege_form.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/simple_privilege_form.test.tsx.snap
index bd7045f14a47a..d74ee2370caf5 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/simple_privilege_form.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/simple_privilege_form.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[` renders without crashing 1`] = `
-
+
@@ -45,5 +45,5 @@ exports[` renders without crashing 1`] = `
/>
-
+
`;
diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/space_aware_privilege_form.test.tsx.snap b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/space_aware_privilege_form.test.tsx.snap
index 02b85cfc32545..819bcb4dcf4cd 100644
--- a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/space_aware_privilege_form.test.tsx.snap
+++ b/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/space_aware_privilege_form.test.tsx.snap
@@ -185,7 +185,7 @@ exports[` hides the space table if there are no existin
`;
exports[` renders without crashing 1`] = `
-
+
@@ -233,66 +233,130 @@ exports[` renders without crashing 1`] = `
-
-
+
+
+
+
+
+
+
+
+
+ ,
+ "read":
+
+ ,
+ }
+ }
+ />
+
+
+
+
+
+
-
+
-
-
-
-
+
+
-
-
-
- ,
- "read":
-
- ,
- }
- }
- />
-
-
-
-
- renders without crashing 1`] = `
"name": "",
}
}
- spacePrivileges={Object {}}
spaces={
Array [
Object {
@@ -323,82 +386,15 @@ exports[` renders without crashing 1`] = `
},
]
}
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
+ }
+ />
+
+
+
`;
exports[` with user profile disabling "manageSpaces" renders a warning message instead of the privilege form 1`] = `
diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap
index 1f91e57a3f37e..69d1011de3c55 100644
--- a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap
+++ b/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AdvancedSettingsSubtitle renders as expected 1`] = `
-
+
@@ -25,5 +25,5 @@ exports[`AdvancedSettingsSubtitle renders as expected 1`] = `
}
/>
-
+
`;
diff --git a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap
index a18d45e2d6518..7b46ee41053fd 100644
--- a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap
+++ b/x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap
@@ -3,7 +3,7 @@
exports[`SecureSpaceMessage doesn't render if user profile does not allow security to be managed 1`] = `""`;
exports[`SecureSpaceMessage renders if user profile allows security to be managed 1`] = `
-
+
@@ -34,5 +34,5 @@ exports[`SecureSpaceMessage renders if user profile allows security to be manage
/>
-
+
`;
diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap
index 93bb0363ed65a..554bf9a26ef91 100644
--- a/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap
+++ b/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DeleteSpacesButton renders as expected 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/space_identifier.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/space_identifier.test.tsx.snap
index b22754203b92a..cae15537921b3 100644
--- a/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/space_identifier.test.tsx.snap
+++ b/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/space_identifier.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders without crashing 1`] = `
-
+
-
+
`;
diff --git a/x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap b/x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap
index 1fb27b544fc9b..a95d29b96155a 100644
--- a/x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap
+++ b/x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap
@@ -8,128 +8,126 @@ exports[`SpacesGridPage renders as expected 1`] = `
horizontalPosition="center"
panelPaddingSize="l"
>
-
-
+
-
-
-
-
-
-
-
-
- Organize your dashboards and other saved objects into meaningful categories.
-
-
-
-
-
+
-
-
-
-
-
+
+
+
+ Organize your dashboards and other saved objects into meaningful categories.
+
+
+
+
+
- }
- pagination={true}
- responsive={true}
- search={
+
+
+
+
+
+ }
+ pagination={true}
+ responsive={true}
+ search={
+ Object {
+ "box": Object {
+ "placeholder": "Search",
+ },
}
- sorting={false}
- />
-
+ }
+ sorting={false}
+ />
-
-
+
+
-
-
-
-
+
diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap b/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap
index 9bf3c3836b5ad..1bc2f1ea095d3 100644
--- a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap
+++ b/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CheckupTab render with deprecations 1`] = `
-
+
@@ -27,281 +27,277 @@ exports[`CheckupTab render with deprecations 1`] = `
-
-
- }
- >
-
-
-
- ,
- }
+
+ }
+ >
+
+
+
+ ,
}
- />
-
-
-
-
+ }
+ />
+
+
+
-
-
-
-
-
+
+
+
-
+
`;
exports[`CheckupTab render with error 1`] = `
-
+
@@ -327,46 +323,44 @@ exports[`CheckupTab render with error 1`] = `
-
-
- }
- >
-
-
-
- ,
- }
+
+ }
+ >
+
+
+
+ ,
}
- />
-
-
-
-
+ }
+ />
+
+
+
@@ -385,11 +379,11 @@ exports[`CheckupTab render with error 1`] = `
/>
-
+
`;
exports[`CheckupTab render without deprecations 1`] = `
-
+
@@ -415,46 +409,44 @@ exports[`CheckupTab render without deprecations 1`] = `
-
-
- }
- >
-
-
-
- ,
- }
+
+ }
+ >
+
+
+
+ ,
}
- />
-
-
-
-
+ }
+ />
+
+
+
@@ -514,5 +506,5 @@ exports[`CheckupTab render without deprecations 1`] = `
/>
-
+
`;
diff --git a/x-pack/plugins/xpack_main/public/components/telemetry/__snapshots__/telemetry_form.test.js.snap b/x-pack/plugins/xpack_main/public/components/telemetry/__snapshots__/telemetry_form.test.js.snap
index cddac2ea61edc..58ce129f0ad0c 100644
--- a/x-pack/plugins/xpack_main/public/components/telemetry/__snapshots__/telemetry_form.test.js.snap
+++ b/x-pack/plugins/xpack_main/public/components/telemetry/__snapshots__/telemetry_form.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TelemetryForm renders as expected 1`] = `
-
+
-
+
`;
diff --git a/yarn.lock b/yarn.lock
index d55df4dd541d0..a1d1f2f09667d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2838,6 +2838,15 @@ array-unique@^0.3.2:
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
+array.prototype.flat@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
+ integrity sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==
+ dependencies:
+ define-properties "^1.1.2"
+ es-abstract "^1.10.0"
+ function-bind "^1.1.1"
+
arraybuffer.slice@~0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
@@ -7604,51 +7613,59 @@ env-variable@0.0.x:
resolved "https://registry.yarnpkg.com/env-variable/-/env-variable-0.0.5.tgz#913dd830bef11e96a039c038d4130604eba37f88"
integrity sha512-zoB603vQReOFvTg5xMl9I1P2PnHsHQQKTEowsKKD7nseUfJq6UWzK+4YtlWUO1nhiQUxe6XMkk+JleSZD1NZFA==
-enzyme-adapter-react-16@^1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4"
- integrity sha512-kC8pAtU2Jk3OJ0EG8Y2813dg9Ol0TXi7UNxHzHiWs30Jo/hj7alc//G1YpKUsPP1oKl9X+Lkx+WlGJpPYA+nvw==
+enzyme-adapter-react-16@^1.6.0:
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.6.0.tgz#3fca28d3c32f3ff427495380fe2dd51494689073"
+ integrity sha512-ay9eGFpChyUDnjTFMMJHzrb681LF3hPWJLEA7RoLFG9jSWAdAm2V50pGmFV9dYGJgh5HfdiqM+MNvle41Yf/PA==
dependencies:
- enzyme-adapter-utils "^1.3.0"
- lodash "^4.17.4"
- object.assign "^4.0.4"
+ enzyme-adapter-utils "^1.8.0"
+ function.prototype.name "^1.1.0"
+ object.assign "^4.1.0"
object.values "^1.0.4"
- prop-types "^15.6.0"
- react-reconciler "^0.7.0"
+ prop-types "^15.6.2"
+ react-is "^16.5.2"
react-test-renderer "^16.0.0-0"
-enzyme-adapter-utils@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7"
- integrity sha512-vVXSt6uDv230DIv+ebCG66T1Pm36Kv+m74L1TrF4kaE7e1V7Q/LcxO0QRkajk5cA6R3uu9wJf5h13wOTezTbjA==
+enzyme-adapter-utils@^1.8.0, enzyme-adapter-utils@^1.8.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz#a927d840ce2c14b42892a533aec836809d4e022b"
+ integrity sha512-s3QB3xQAowaDS2sHhmEqrT13GJC4+n5bG015ZkLv60n9k5vhxxHTQRIneZmQ4hmdCZEBrvUJ89PG6fRI5OEeuQ==
dependencies:
- lodash "^4.17.4"
- object.assign "^4.0.4"
- prop-types "^15.6.0"
+ function.prototype.name "^1.1.0"
+ object.assign "^4.1.0"
+ prop-types "^15.6.2"
-enzyme-to-json@3.3.1:
- version "3.3.1"
- resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.1.tgz#64239dcd417e2fb552f4baa6632de4744b9b5b93"
- integrity sha512-PrgRyZAgEwOrh5/8BtBWrwGcv1mC7yNohytIciAX6SUqDaXg1BlU8CepYQ9BgnDP1i1jTB65qJJITMMCph+T6A==
+enzyme-to-json@^3.3.4:
+ version "3.3.4"
+ resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.4.tgz#67c6040e931182f183418af2eb9f4323258aa77f"
+ integrity sha1-Z8YEDpMRgvGDQYry659DIyWKp38=
dependencies:
lodash "^4.17.4"
-enzyme@3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.2.0.tgz#998bdcda0fc71b8764a0017f7cc692c943f54a7a"
- integrity sha512-l0HcjycivXjB4IXkwuRc1K5z8hzWIVZB2b/Y/H2bao9eFTpBz4ACOwAQf44SgG5Nu3d1jF41LasxDgFWZeeysA==
+enzyme@^3.7.0:
+ version "3.7.0"
+ resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.7.0.tgz#9b499e8ca155df44fef64d9f1558961ba1385a46"
+ integrity sha512-QLWx+krGK6iDNyR1KlH5YPZqxZCQaVF6ike1eDJAOg0HvSkSCVImPsdWaNw6v+VrnK92Kg8jIOYhuOSS9sBpyg==
dependencies:
+ array.prototype.flat "^1.2.1"
cheerio "^1.0.0-rc.2"
- function.prototype.name "^1.0.3"
- has "^1.0.1"
+ function.prototype.name "^1.1.0"
+ has "^1.0.3"
+ is-boolean-object "^1.0.0"
+ is-callable "^1.1.4"
+ is-number-object "^1.0.3"
+ is-string "^1.0.4"
is-subset "^0.1.1"
- lodash "^4.17.4"
+ lodash.escape "^4.0.1"
+ lodash.isequal "^4.5.0"
+ object-inspect "^1.6.0"
object-is "^1.0.1"
- object.assign "^4.0.4"
+ object.assign "^4.1.0"
object.entries "^1.0.4"
object.values "^1.0.4"
raf "^3.4.0"
rst-selector-parser "^2.2.3"
+ string.prototype.trim "^1.1.2"
err-code@^0.1.0:
version "0.1.2"
@@ -7677,6 +7694,17 @@ error@^7.0.0, error@^7.0.2:
string-template "~0.2.1"
xtend "~4.0.0"
+es-abstract@^1.10.0, es-abstract@^1.5.0:
+ version "1.12.0"
+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"
+ integrity sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==
+ dependencies:
+ es-to-primitive "^1.1.1"
+ function-bind "^1.1.1"
+ has "^1.0.1"
+ is-callable "^1.1.3"
+ is-regex "^1.0.4"
+
es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
@@ -9374,7 +9402,7 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1:
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
-function.prototype.name@^1.0.3:
+function.prototype.name@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327"
integrity sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==
@@ -11642,6 +11670,11 @@ is-binary-path@^2.0.0:
dependencies:
binary-extensions "^1.0.0"
+is-boolean-object@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93"
+ integrity sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=
+
is-buffer@^1.1.4, is-buffer@^1.1.5:
version "1.1.6"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
@@ -11659,6 +11692,11 @@ is-callable@^1.1.1, is-callable@^1.1.3:
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
integrity sha1-hut1OSgF3cM69xySoO7fdO52BLI=
+is-callable@^1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
+ integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
+
is-ci@^1.0.10:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5"
@@ -11868,6 +11906,11 @@ is-npm@^1.0.0:
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ=
+is-number-object@^1.0.3:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799"
+ integrity sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=
+
is-number@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806"
@@ -12025,6 +12068,11 @@ is-stream@1.1.0, is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0:
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
+is-string@^1.0.4:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64"
+ integrity sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=
+
is-subset@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6"
@@ -13749,6 +13797,11 @@ lodash.escape@^3.0.0:
dependencies:
lodash._root "^3.0.0"
+lodash.escape@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98"
+ integrity sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=
+
lodash.filter@^4.4.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace"
@@ -15574,6 +15627,11 @@ object-copy@^0.1.0:
define-property "^0.2.5"
kind-of "^3.0.3"
+object-inspect@^1.6.0:
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
+ integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==
+
object-inspect@~0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-0.4.0.tgz#f5157c116c1455b243b06ee97703392c5ad89fec"
@@ -15616,7 +15674,7 @@ object-visit@^1.0.0:
dependencies:
isobject "^3.0.0"
-object.assign@^4.0.4:
+object.assign@^4.0.4, object.assign@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==
@@ -17470,14 +17528,24 @@ react-dom@^16.0.0, react-dom@^16.2.0:
prop-types "^15.6.0"
react-dom@^16.3.0:
- version "16.3.1"
- resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.1.tgz#6a3c90a4fb62f915bdbcf6204422d93a7d4ca573"
- integrity sha512-2Infg89vzahq8nfVi1GkjPqq0vrBvf0f3T0+dTtyjq4f6HKOqKixAK25Vr593O3QTx4kw/vmUtAJwerlevNWOA==
+ version "16.7.0"
+ resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.7.0.tgz#a17b2a7ca89ee7390bc1ed5eb81783c7461748b8"
+ integrity sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg==
dependencies:
- fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
- prop-types "^15.6.0"
+ prop-types "^15.6.2"
+ scheduler "^0.12.0"
+
+react-dom@^16.6.0:
+ version "16.6.0"
+ resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.6.0.tgz#6375b8391e019a632a89a0988bce85f0cc87a92f"
+ integrity sha512-Stm2D9dXEUUAQdvpvhvFj/DEXwC2PAL/RwEMhoN4dvvD2ikTlJegEXf97xryg88VIAU22ZAP7n842l+9BTz6+w==
+ dependencies:
+ loose-envify "^1.1.0"
+ object-assign "^4.1.1"
+ prop-types "^15.6.2"
+ scheduler "^0.10.0"
react-draggable@3.x, "react-draggable@^2.2.6 || ^3.0.3":
version "3.0.5"
@@ -17537,7 +17605,7 @@ react-is@^16.3.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e"
integrity sha512-xpb0PpALlFWNw/q13A+1aHeyJyLYCg0/cCHPUA43zYluZuIPHaHL3k8OBsTgQtxqW0FhyDEMvi8fZ/+7+r4OSQ==
-react-is@^16.4.0:
+react-is@^16.4.0, react-is@^16.5.2:
version "16.6.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.0.tgz#456645144581a6e99f6816ae2bd24ee94bdd0c01"
integrity sha512-q8U7k0Fi7oxF1HvQgyBjPwDXeMplEsArnKt2iYhuIF86+GBbgLHdAmokL3XUFjTd7Q363OSNG55FOGUdONVn1g==
@@ -17610,16 +17678,6 @@ react-portal@^3.2.0:
dependencies:
prop-types "^15.5.8"
-react-reconciler@^0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d"
- integrity sha512-50JwZ3yNyMS8fchN+jjWEJOH3Oze7UmhxeoJLn2j6f3NjpfCRbcmih83XTWmzqtar/ivd5f7tvQhvvhism2fgg==
- dependencies:
- fbjs "^0.8.16"
- loose-envify "^1.1.0"
- object-assign "^4.1.1"
- prop-types "^15.6.0"
-
react-redux-request@^1.5.6:
version "1.5.6"
resolved "https://registry.yarnpkg.com/react-redux-request/-/react-redux-request-1.5.6.tgz#8c514dc88264d225e113b4b54a265064e8020651"
@@ -17863,6 +17921,16 @@ react@^16.3.0:
object-assign "^4.1.1"
prop-types "^15.6.0"
+react@^16.6.0:
+ version "16.6.0"
+ resolved "https://registry.yarnpkg.com/react/-/react-16.6.0.tgz#b34761cfaf3e30f5508bc732fb4736730b7da246"
+ integrity sha512-zJPnx/jKtuOEXCbQ9BKaxDMxR0001/hzxXwYxG8septeyYGfsgAei6NgfbVgOhbY1WOP2o3VPs/E9HaN+9hV3Q==
+ dependencies:
+ loose-envify "^1.1.0"
+ object-assign "^4.1.1"
+ prop-types "^15.6.2"
+ scheduler "^0.10.0"
+
reactcss@1.2.3, reactcss@^1.2.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
@@ -19028,6 +19096,22 @@ sax@>=0.6.0, sax@^1.2.1, sax@^1.2.4, sax@~1.2.1:
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
+scheduler@^0.10.0:
+ version "0.10.0"
+ resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.10.0.tgz#7988de90fe7edccc774ea175a783e69c40c521e1"
+ integrity sha512-+TSTVTCBAA3h8Anei3haDc1IRwMeDmtI/y/o3iBe3Mjl2vwYF9DtPDt929HyRmV/e7au7CLu8sc4C4W0VOs29w==
+ dependencies:
+ loose-envify "^1.1.0"
+ object-assign "^4.1.1"
+
+scheduler@^0.12.0:
+ version "0.12.0"
+ resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.12.0.tgz#8ab17699939c0aedc5a196a657743c496538647b"
+ integrity sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==
+ dependencies:
+ loose-envify "^1.1.0"
+ object-assign "^4.1.1"
+
schema-utils@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf"
@@ -20099,6 +20183,15 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
+string.prototype.trim@^1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
+ integrity sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=
+ dependencies:
+ define-properties "^1.1.2"
+ es-abstract "^1.5.0"
+ function-bind "^1.0.2"
+
string_decoder@0.10, string_decoder@~0.10.x:
version "0.10.31"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"