diff --git a/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap b/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap
index 2165a2112f24..5fd679baf7e3 100644
--- a/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap
+++ b/src/core/public/fatal_errors/__snapshots__/fatal_errors_screen.test.tsx.snap
@@ -18,7 +18,7 @@ exports[`FatalErrorsScreen rendering render matches snapshot 1`] = `
- ,
- ,
+
@@ -39,7 +39,7 @@ exports[`FatalErrorsScreen rendering render matches snapshot 1`] = `
id="core.fatalErrors.goBackButtonLabel"
values={Object {}}
/>
- ,
+ ,
]
}
body={
diff --git a/src/plugins/advanced_settings/public/management_app/components/field/__snapshots__/field.test.tsx.snap b/src/plugins/advanced_settings/public/management_app/components/field/__snapshots__/field.test.tsx.snap
index 9ab66e07807d..0e08b53cc28d 100644
--- a/src/plugins/advanced_settings/public/management_app/components/field/__snapshots__/field.test.tsx.snap
+++ b/src/plugins/advanced_settings/public/management_app/components/field/__snapshots__/field.test.tsx.snap
@@ -28,10 +28,10 @@ exports[`Field for array setting should render as read only if saving is disable
}
>
-
-
-
+
`;
@@ -101,10 +101,10 @@ exports[`Field for array setting should render as read only with help text if ov
}
>
-
-
-
+
`;
@@ -173,10 +173,10 @@ exports[`Field for array setting should render custom setting icon if it is cust
}
>
-
-
-
+
`;
@@ -224,10 +224,10 @@ exports[`Field for array setting should render default value if there is no user
}
>
-
-
-
+
`;
@@ -292,10 +292,10 @@ exports[`Field for array setting should render unsaved value if there are unsave
}
>
-
-
-
+
`;
@@ -377,10 +377,10 @@ exports[`Field for array setting should render user value if there is user value
}
>
-
-
-
+
`;
@@ -445,10 +445,10 @@ exports[`Field for boolean setting should render as read only if saving is disab
}
>
-
-
-
+
`;
@@ -524,10 +524,10 @@ exports[`Field for boolean setting should render as read only with help text if
}
>
-
-
-
+
`;
@@ -602,10 +602,10 @@ exports[`Field for boolean setting should render custom setting icon if it is cu
}
>
-
-
-
+
`;
@@ -659,10 +659,10 @@ exports[`Field for boolean setting should render default value if there is no us
}
>
-
-
-
+
`;
@@ -733,10 +733,10 @@ exports[`Field for boolean setting should render unsaved value if there are unsa
}
>
-
-
-
+
`;
@@ -820,10 +820,10 @@ exports[`Field for boolean setting should render user value if there is user val
}
>
-
-
-
+
`;
@@ -894,10 +894,10 @@ exports[`Field for image setting should render as read only if saving is disable
}
>
-
-
-
+
`;
@@ -970,10 +970,10 @@ exports[`Field for image setting should render as read only with help text if ov
}
>
-
-
+
`;
@@ -1040,10 +1040,10 @@ exports[`Field for image setting should render custom setting icon if it is cust
}
>
-
-
-
+
`;
@@ -1094,10 +1094,10 @@ exports[`Field for image setting should render default value if there is no user
}
>
-
-
-
+
`;
@@ -1165,10 +1165,10 @@ exports[`Field for image setting should render unsaved value if there are unsave
}
>
-
-
-
+
`;
@@ -1248,10 +1248,10 @@ exports[`Field for image setting should render user value if there is user value
}
>
-
-
+
`;
@@ -1352,10 +1352,10 @@ exports[`Field for json setting should render as read only if saving is disabled
}
>
-
-
+
`;
@@ -1448,10 +1448,10 @@ exports[`Field for json setting should render as read only with help text if ove
}
>
-
-
+
`;
@@ -1540,10 +1540,10 @@ exports[`Field for json setting should render custom setting icon if it is custo
}
>
-
-
+
`;
@@ -1636,10 +1636,10 @@ exports[`Field for json setting should render default value if there is no user
}
>
-
-
+
`;
@@ -1741,10 +1741,10 @@ exports[`Field for json setting should render unsaved value if there are unsaved
}
>
-
-
+
`;
@@ -1849,10 +1849,10 @@ exports[`Field for json setting should render user value if there is user value
}
>
-
-
+
`;
@@ -1937,10 +1937,10 @@ exports[`Field for markdown setting should render as read only if saving is disa
}
>
-
-
+
`;
@@ -2030,10 +2030,10 @@ exports[`Field for markdown setting should render as read only with help text if
}
>
-
-
+
`;
@@ -2122,10 +2122,10 @@ exports[`Field for markdown setting should render custom setting icon if it is c
}
>
-
-
+
`;
@@ -2193,10 +2193,10 @@ exports[`Field for markdown setting should render default value if there is no u
}
>
-
-
+
`;
@@ -2281,10 +2281,10 @@ exports[`Field for markdown setting should render unsaved value if there are uns
}
>
-
-
+
`;
@@ -2382,10 +2382,10 @@ exports[`Field for markdown setting should render user value if there is user va
}
>
-
-
+
`;
@@ -2470,10 +2470,10 @@ exports[`Field for number setting should render as read only if saving is disabl
}
>
-
-
-
+
`;
@@ -2543,10 +2543,10 @@ exports[`Field for number setting should render as read only with help text if o
}
>
-
-
-
+
`;
@@ -2615,10 +2615,10 @@ exports[`Field for number setting should render custom setting icon if it is cus
}
>
-
-
-
+
`;
@@ -2666,10 +2666,10 @@ exports[`Field for number setting should render default value if there is no use
}
>
-
-
-
+
`;
@@ -2734,10 +2734,10 @@ exports[`Field for number setting should render unsaved value if there are unsav
}
>
-
-
-
+
`;
@@ -2815,10 +2815,10 @@ exports[`Field for number setting should render user value if there is user valu
}
>
-
-
-
+
`;
@@ -2883,10 +2883,10 @@ exports[`Field for select setting should render as read only if saving is disabl
}
>
-
-
-
+
`;
@@ -2972,10 +2972,10 @@ exports[`Field for select setting should render as read only with help text if o
}
>
-
-
-
+
`;
@@ -3060,10 +3060,10 @@ exports[`Field for select setting should render custom setting icon if it is cus
}
>
-
-
-
+
`;
@@ -3127,10 +3127,10 @@ exports[`Field for select setting should render default value if there is no use
}
>
-
-
-
+
`;
@@ -3211,10 +3211,10 @@ exports[`Field for select setting should render unsaved value if there are unsav
}
>
-
-
-
+
`;
@@ -3308,10 +3308,10 @@ exports[`Field for select setting should render user value if there is user valu
}
>
-
-
-
+
`;
@@ -3392,10 +3392,10 @@ exports[`Field for string setting should render as read only if saving is disabl
}
>
-
-
-
+
`;
@@ -3465,10 +3465,10 @@ exports[`Field for string setting should render as read only with help text if o
}
>
-
-
-
+
`;
@@ -3537,10 +3537,10 @@ exports[`Field for string setting should render custom setting icon if it is cus
}
>
-
-
-
+
`;
@@ -3588,10 +3588,10 @@ exports[`Field for string setting should render default value if there is no use
}
>
-
-
-
+
`;
@@ -3656,10 +3656,10 @@ exports[`Field for string setting should render unsaved value if there are unsav
}
>
-
-
-
+
`;
@@ -3737,10 +3737,10 @@ exports[`Field for string setting should render user value if there is user valu
}
>
-
-
-
+
`;
@@ -3805,10 +3805,10 @@ exports[`Field for stringWithValidation setting should render as read only if sa
}
>
-
-
-
+
`;
@@ -3878,10 +3878,10 @@ exports[`Field for stringWithValidation setting should render as read only with
}
>
-
-
-
+
`;
@@ -3950,10 +3950,10 @@ exports[`Field for stringWithValidation setting should render custom setting ico
}
>
-
-
-
+
`;
@@ -4001,10 +4001,10 @@ exports[`Field for stringWithValidation setting should render default value if t
}
>
-
-
-
+
`;
@@ -4069,10 +4069,10 @@ exports[`Field for stringWithValidation setting should render unsaved value if t
}
>
-
-
-
+
`;
@@ -4150,10 +4150,10 @@ exports[`Field for stringWithValidation setting should render user value if ther
}
>
-
-
-
+
`;
diff --git a/src/plugins/console/public/application/components/__snapshots__/import_flyout.test.tsx.snap b/src/plugins/console/public/application/components/__snapshots__/import_flyout.test.tsx.snap
index bac6be2733fd..04bb8ddcff99 100644
--- a/src/plugins/console/public/application/components/__snapshots__/import_flyout.test.tsx.snap
+++ b/src/plugins/console/public/application/components/__snapshots__/import_flyout.test.tsx.snap
@@ -61,9 +61,9 @@ exports[`ImportFlyout Component renders correctly 1`] = `
-
-
-
+
-
-
-
-
+
-
-
-
+
+
+ Merge with existing queries
+
+
+
+
-
-
- Overwrite existing queries
-
-
-
-
-
+
+
+
+ Overwrite existing queries
+
+
+
+
+
+
-
+
diff --git a/src/plugins/console/public/application/components/__snapshots__/import_mode_control.test.tsx.snap b/src/plugins/console/public/application/components/__snapshots__/import_mode_control.test.tsx.snap
index 343c6b351229..29e14c2c986d 100644
--- a/src/plugins/console/public/application/components/__snapshots__/import_mode_control.test.tsx.snap
+++ b/src/plugins/console/public/application/components/__snapshots__/import_mode_control.test.tsx.snap
@@ -14,7 +14,7 @@ exports[`ImportModeControl Component should render correclty 1`] = `
}
}
>
- {
let component: ShallowWrapper, React.Component<{}, {}, any>>;
diff --git a/src/plugins/dashboard/public/application/components/dashboard_listing/__snapshots__/create_button.test.tsx.snap b/src/plugins/dashboard/public/application/components/dashboard_listing/__snapshots__/create_button.test.tsx.snap
index 4512135a4927..1ca3fd80e890 100644
--- a/src/plugins/dashboard/public/application/components/dashboard_listing/__snapshots__/create_button.test.tsx.snap
+++ b/src/plugins/dashboard/public/application/components/dashboard_listing/__snapshots__/create_button.test.tsx.snap
@@ -245,7 +245,7 @@ exports[`create button with props renders button dropdown menu when two provider
-
+
}
closePopover={[Function]}
display="inlineBlock"
@@ -274,79 +274,89 @@ exports[`create button with props renders button dropdown menu when two provider
-
-
-
-
-
-
-
-
-
-
- Create
-
+
+
+
+
+ Create
+
+
-
-
-
-
-
+
+
+
+
+
@@ -480,78 +490,87 @@ exports[`create button with props renders single button when one provider given
diff --git a/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/clone_modal.test.js.snap b/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/clone_modal.test.js.snap
index 1ea30b7fe0a6..559f69752b6e 100644
--- a/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/clone_modal.test.js.snap
+++ b/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/clone_modal.test.js.snap
@@ -34,7 +34,7 @@ exports[`renders DashboardCloneModal 1`] = `
-
-
@@ -53,8 +53,8 @@ exports[`renders DashboardCloneModal 1`] = `
id="dashboard.topNav.cloneModal.cancelButtonLabel"
values={Object {}}
/>
-
-
+
-
+
`;
diff --git a/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/save_modal.test.js.snap b/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/save_modal.test.js.snap
index bc4ed477d9ee..727dae147a96 100644
--- a/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/save_modal.test.js.snap
+++ b/src/plugins/dashboard/public/application/components/dashboard_top_nav/top_nav/__snapshots__/save_modal.test.js.snap
@@ -7,9 +7,9 @@ exports[`renders DashboardSaveModal 1`] = `
onSave={[Function]}
options={
-
-
-
-
+
-
-
+
}
showCopyOnSave={true}
diff --git a/src/plugins/data/public/ui/query_editor/language_selector.test.tsx b/src/plugins/data/public/ui/query_editor/language_selector.test.tsx
index da3543deb74f..709678e29d66 100644
--- a/src/plugins/data/public/ui/query_editor/language_selector.test.tsx
+++ b/src/plugins/data/public/ui/query_editor/language_selector.test.tsx
@@ -8,7 +8,7 @@ import { QueryLanguageSelector } from './language_selector';
import { OpenSearchDashboardsContextProvider } from 'src/plugins/opensearch_dashboards_react/public';
import { coreMock } from '../../../../../core/public/mocks';
import { mountWithIntl } from 'test_utils/enzyme_helpers';
-import { EuiComboBox } from '@elastic/eui';
+import { EuiCompressedComboBox } from '@elastic/eui';
import { QueryEnhancement } from '../types';
const startMock = coreMock.createStart();
@@ -53,7 +53,7 @@ describe('LanguageSelector', () => {
},
})
);
- const euiComboBox = component.find(EuiComboBox);
+ const euiComboBox = component.find(EuiCompressedComboBox);
expect(euiComboBox.prop('selectedOptions')).toEqual(
expect.arrayContaining([
{
@@ -72,7 +72,7 @@ describe('LanguageSelector', () => {
},
})
);
- const euiComboBox = component.find(EuiComboBox);
+ const euiComboBox = component.find(EuiCompressedComboBox);
expect(euiComboBox.prop('selectedOptions')).toEqual(
expect.arrayContaining([
{
diff --git a/src/plugins/data/public/ui/shard_failure_modal/__snapshots__/shard_failure_modal.test.tsx.snap b/src/plugins/data/public/ui/shard_failure_modal/__snapshots__/shard_failure_modal.test.tsx.snap
index f7f3d1c1fbd0..ef9d1f0fb923 100644
--- a/src/plugins/data/public/ui/shard_failure_modal/__snapshots__/shard_failure_modal.test.tsx.snap
+++ b/src/plugins/data/public/ui/shard_failure_modal/__snapshots__/shard_failure_modal.test.tsx.snap
@@ -173,7 +173,7 @@ exports[`ShardFailureModal renders matching snapshot given valid properties 1`]
>
-
-
+
`;
diff --git a/src/plugins/data_source_management/public/components/create_button/__snapshots__/create_button.test.tsx.snap b/src/plugins/data_source_management/public/components/create_button/__snapshots__/create_button.test.tsx.snap
index f0e2965c6678..03c20a8093ee 100644
--- a/src/plugins/data_source_management/public/components/create_button/__snapshots__/create_button.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/create_button/__snapshots__/create_button.test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CreateButton should render normally 1`] = `
-
-
+
`;
diff --git a/src/plugins/data_source_management/public/components/create_data_source_wizard/components/create_form/__snapshots__/create_data_source_form.test.tsx.snap b/src/plugins/data_source_management/public/components/create_data_source_wizard/components/create_form/__snapshots__/create_data_source_form.test.tsx.snap
index 2bb1bd8053d7..be2a18192fe9 100644
--- a/src/plugins/data_source_management/public/components/create_data_source_wizard/components/create_form/__snapshots__/create_data_source_form.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/create_data_source_wizard/components/create_form/__snapshots__/create_data_source_form.test.tsx.snap
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 1`] = `
-
@@ -225,12 +225,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 2`] = `
-
@@ -453,12 +453,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 3`] = `
-
@@ -681,12 +681,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 4`] = `
-
@@ -921,12 +921,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 5`] = `
-
@@ -1161,12 +1161,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 6`] = `
-
@@ -1401,12 +1401,12 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
exports[`Datasource Management: Create Datasource form with different authType configurations should render normally with all authMethod combinations 7`] = `
-
@@ -1653,5 +1653,5 @@ exports[`Datasource Management: Create Datasource form with different authType c
-
+
`;
diff --git a/src/plugins/data_source_management/public/components/data_source_table/__snapshots__/data_source_table.test.tsx.snap b/src/plugins/data_source_management/public/components/data_source_table/__snapshots__/data_source_table.test.tsx.snap
index 842c3e3d07ba..325891d432bf 100644
--- a/src/plugins/data_source_management/public/components/data_source_table/__snapshots__/data_source_table.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/data_source_table/__snapshots__/data_source_table.test.tsx.snap
@@ -102,63 +102,71 @@ exports[`DataSourceTable should get datasources failed should render empty table
}
isEmptyState={true}
>
-
-
-
-
-
-
-
- Create data source connection
-
-
+
+
+ Create data source connection
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -361,7 +369,7 @@ exports[`DataSourceTable should get datasources successful should render normall
"toolsRight":
-
+
,
}
}
@@ -410,7 +418,7 @@ exports[`DataSourceTable should get datasources successful should render normall
-
+
}
>
@@ -536,57 +544,66 @@ exports[`DataSourceTable should get datasources successful should render normall
-
-
-
-
-
- Delete
-
+
+ Delete
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/direct_query_data_source_delete_modal.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/direct_query_data_source_delete_modal.test.tsx.snap
index 1865cefc626b..52fc71f6113a 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/direct_query_data_source_delete_modal.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/direct_query_data_source_delete_modal.test.tsx.snap
@@ -20,32 +20,32 @@ exports[`DeleteModal renders correctly 1`] = `
-
-
-
+
-
Cancel
-
-
+
Delete
-
+
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap
index 9177634e0a2f..a429c9fbe2da 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap
@@ -435,8 +435,8 @@ exports[`ManageDirectQueryDataConnectionsTable renders correctly 1`] = `
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.test.tsx b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.test.tsx
index 06d1dc61d166..b80543e509d5 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.test.tsx
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/manage_direct_query_data_connections_table.test.tsx
@@ -12,7 +12,7 @@ import {
SavedObjectsStart,
IUiSettingsClient,
} from 'opensearch-dashboards/public';
-import { EuiFieldSearch, EuiInMemoryTable, EuiLoadingSpinner } from '@elastic/eui';
+import { EuiCompressedFieldSearch, EuiInMemoryTable, EuiLoadingSpinner } from '@elastic/eui';
import { ManageDirectQueryDataConnectionsTable } from './manage_direct_query_data_connections_table';
const mockHttp = ({
@@ -112,7 +112,7 @@ describe('ManageDirectQueryDataConnectionsTable', () => {
});
wrapper.update();
- const searchInput = wrapper.find(EuiFieldSearch);
+ const searchInput = wrapper.find(EuiCompressedFieldSearch);
expect(searchInput.exists()).toBe(true);
await act(async () => {
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/configure_amazon_s3_data_source.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/configure_amazon_s3_data_source.test.tsx.snap
index c90faa94daf8..fcff59af7cba 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/configure_amazon_s3_data_source.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/configure_amazon_s3_data_source.test.tsx.snap
@@ -259,9 +259,9 @@ exports[`ConfigureS3DatasourcePanel renders correctly 1`] = `
setErrorForForm={[MockFunction]}
setNameForRequest={[MockFunction]}
>
-
-
+
-
-
+
-
-
-
+
+
+
-
-
+
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
+
-
-
-
-
-
-
+
+
- Basic authentication
-
-
- No authentication
-
-
-
-
+ Basic authentication
+
+
+ No authentication
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+ size="s"
+ type="arrowDown"
+ >
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
-
- ,
- ]
- }
- compressed={false}
+
-
,
+ ]
+ }
+ compressed={true}
+ fullWidth={false}
+ icon="lock"
+ isLoading={false}
>
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+ type="eye"
+ >
+
+
+
+
+
+
+
+
-
+
-
Query access level
,
- "compressed": undefined,
+ "compressed": true,
}
}
name="query-radio-group"
@@ -1147,95 +1248,128 @@ exports[`ConfigureS3DatasourcePanel renders correctly 1`] = `
]
}
>
-
Query access level
,
- "compressed": undefined,
+ "compressed": true,
}
}
+ name="query-radio-group"
+ onChange={[Function]}
+ options={
+ Array [
+ Object {
+ "disabled": false,
+ "id": "query-restricted",
+ "label": "Restricted - accessible by users with specific OpenSearch roles",
+ },
+ Object {
+ "disabled": false,
+ "id": "query-all",
+ "label": "Admin only - only accessible by the admin",
+ },
+ ]
+ }
>
-
-
-
-
+
Query access level
-
-
-
-
-
-
-
-
+
+
+ Restricted - accessible by users with specific OpenSearch roles
+
+
+
+
-
-
- Admin only - only accessible by the admin
-
-
-
-
-
-
+
+
+
+ Admin only - only accessible by the admin
+
+
+
+
+
+
+
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/review_amazon_s3_data_source.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/review_amazon_s3_data_source.test.tsx.snap
index c1713557db88..72b9a71e6449 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/review_amazon_s3_data_source.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/amazon_s3/__snapshots__/review_amazon_s3_data_source.test.tsx.snap
@@ -106,53 +106,60 @@ exports[`ReviewS3Datasource renders correctly 1`] = `
-
-
-
-
-
- Edit
+
+ Edit
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/prometheus/__snapshots__/configure_prometheus_data_source.test.tsx.snap b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/prometheus/__snapshots__/configure_prometheus_data_source.test.tsx.snap
index 83467f6c8a58..c49c259f8cf9 100644
--- a/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/prometheus/__snapshots__/configure_prometheus_data_source.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_source_configuration/prometheus/__snapshots__/configure_prometheus_data_source.test.tsx.snap
@@ -179,9 +179,9 @@ exports[`ConfigurePrometheusDatasourcePanel renders correctly 1`] = `
setErrorForForm={[MockFunction]}
setNameForRequest={[MockFunction]}
>
-
-
+
-
-
+
-
-
-
+
+
+
-
+
-
-
-
-
-
-
-
+
+
- Basic authentication
-
-
- AWS Signature Version 4
-
-
-
-
+ Basic authentication
+
+
+ AWS Signature Version 4
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+ size="s"
+ type="arrowDown"
+ >
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
-
- ,
- ]
- }
- compressed={false}
+
-
,
+ ]
+ }
+ compressed={true}
+ fullWidth={false}
+ icon="lock"
+ isLoading={false}
>
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+ type="eye"
+ >
+
+
+
+
+
+
+
+
-
+
-
Query access level
,
- "compressed": undefined,
+ "compressed": true,
}
}
name="query-radio-group"
@@ -914,95 +996,128 @@ exports[`ConfigurePrometheusDatasourcePanel renders correctly 1`] = `
]
}
>
-
Query access level
,
- "compressed": undefined,
+ "compressed": true,
}
}
+ name="query-radio-group"
+ onChange={[Function]}
+ options={
+ Array [
+ Object {
+ "disabled": false,
+ "id": "query-restricted",
+ "label": "Restricted - accessible by users with specific OpenSearch roles",
+ },
+ Object {
+ "disabled": false,
+ "id": "query-all",
+ "label": "Admin only - only accessible by the admin",
+ },
+ ]
+ }
>
-
-
-
-
+
Query access level
-
-
-
-
-
-
-
-
+
+
+ Restricted - accessible by users with specific OpenSearch roles
+
+
+
+
-
-
- Admin only - only accessible by the admin
-
-
-
-
-
-
+
+
+
+ Admin only - only accessible by the admin
+
+
+
+
+
+
+
diff --git a/src/plugins/data_source_management/public/components/edit_data_source/components/update_aws_credential_modal/update_aws_credential_modal.test.tsx b/src/plugins/data_source_management/public/components/edit_data_source/components/update_aws_credential_modal/update_aws_credential_modal.test.tsx
index c0cab401a86d..3d45ede7a5f0 100644
--- a/src/plugins/data_source_management/public/components/edit_data_source/components/update_aws_credential_modal/update_aws_credential_modal.test.tsx
+++ b/src/plugins/data_source_management/public/components/edit_data_source/components/update_aws_credential_modal/update_aws_credential_modal.test.tsx
@@ -8,7 +8,7 @@ import { mount, shallow } from 'enzyme';
import { render } from '@testing-library/react';
import { UpdateAwsCredentialModal } from './update_aws_credential_modal';
import { SigV4ServiceName } from '../../../../../../data_source/common/data_sources';
-import { EuiFormRow, EuiModalHeaderTitle } from '@elastic/eui';
+import { EuiCompressedFormRow, EuiModalHeaderTitle } from '@elastic/eui';
import { FormattedMessage } from 'react-intl';
describe('UpdateAwsCredentialModal', () => {
@@ -46,12 +46,12 @@ describe('UpdateAwsCredentialModal', () => {
it('renders modal with correct label for updated secret key', () => {
const wrapper = shallow( );
- expect(wrapper.find(EuiFormRow).at(4).props().label).toEqual('Updated secret key');
+ expect(wrapper.find(EuiCompressedFormRow).at(4).props().label).toEqual('Updated secret key');
});
it('renders modal with correct label for updated access key', () => {
const wrapper = shallow( );
- expect(wrapper.find(EuiFormRow).at(3).props().label).toEqual('Updated access key');
+ expect(wrapper.find(EuiCompressedFormRow).at(3).props().label).toEqual('Updated access key');
});
it('renders modal with correct region', () => {
diff --git a/src/plugins/data_source_management/public/components/edit_data_source/components/update_password_modal/__snapshots__/update_password_modal.test.tsx.snap b/src/plugins/data_source_management/public/components/edit_data_source/components/update_password_modal/__snapshots__/update_password_modal.test.tsx.snap
index 7f8bd04c86a2..cc579ec3a024 100644
--- a/src/plugins/data_source_management/public/components/edit_data_source/components/update_password_modal/__snapshots__/update_password_modal.test.tsx.snap
+++ b/src/plugins/data_source_management/public/components/edit_data_source/components/update_password_modal/__snapshots__/update_password_modal.test.tsx.snap
@@ -63,7 +63,7 @@ exports[`Datasource Management: Update Stored Password Modal should render norma
class="euiModalBody__overflow"
>
diff --git a/src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap b/src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap
index a9f9823047c0..a44bf6af01b7 100644
--- a/src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap
+++ b/src/plugins/home/public/application/components/tutorial/__snapshots__/instruction_set.test.js.snap
@@ -162,12 +162,12 @@ exports[`statusCheckState checking status 1`] = `
-
custom btn label
-
+
-
custom btn label
-
+
-
custom btn label
-
+
-
custom btn label
-
+
-
custom btn label
-
+
-
-
+
-
Load OpenSearch Dashboards objects
-
+
-
-
-
-
-
- Load OpenSearch Dashboards objects
+
+ Load OpenSearch Dashboards objects
+
-
-
-
-
-
+
+
+
+
+
@@ -465,13 +473,13 @@ exports[`bulkCreate should display success message when bulkCreate is successful
-
Load OpenSearch Dashboards objects
-
+
-
-
-
-
-
- Load OpenSearch Dashboards objects
+
+ Load OpenSearch Dashboards objects
+
-
-
-
-
-
+
+
+
+
+
@@ -682,13 +698,13 @@ exports[`renders 1`] = `
-
Load OpenSearch Dashboards objects
-
+
-
-
-
+
-
-
-
-
+
+
@@ -143,9 +143,9 @@ exports[`Header should render normally 1`] = `
-
-
-
+
-
-
-
-
+
+
diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/__snapshots__/advanced_options.test.tsx.snap b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/__snapshots__/advanced_options.test.tsx.snap
index 6e1bf3116537..e96e9c87cacd 100644
--- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/__snapshots__/advanced_options.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/advanced_options/__snapshots__/advanced_options.test.tsx.snap
@@ -2,7 +2,7 @@
exports[`AdvancedOptions should hide if not showing 1`] = `
-
@@ -11,7 +11,7 @@ exports[`AdvancedOptions should hide if not showing 1`] = `
id="indexPatternManagement.createIndexPattern.stepTime.options.showButton"
values={Object {}}
/>
-
+
@@ -20,7 +20,7 @@ exports[`AdvancedOptions should hide if not showing 1`] = `
exports[`AdvancedOptions should render normally 1`] = `
-
@@ -29,14 +29,14 @@ exports[`AdvancedOptions should render normally 1`] = `
id="indexPatternManagement.createIndexPattern.stepTime.options.hideButton"
values={Object {}}
/>
-
+
-
-
-
+
`;
diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/__snapshots__/time_field.test.tsx.snap b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/__snapshots__/time_field.test.tsx.snap
index 73277b196362..c8e12dcb26bf 100644
--- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/__snapshots__/time_field.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_time_field/components/time_field/__snapshots__/time_field.test.tsx.snap
@@ -12,9 +12,9 @@ exports[`TimeField should render a loading state 1`] = `
-
-
-
+
`;
@@ -61,9 +61,9 @@ exports[`TimeField should render a selected time field 1`] = `
-
-
-
+
`;
@@ -123,9 +123,9 @@ exports[`TimeField should render normally 1`] = `
-
-
-
+
`;
diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap
index a1941df16574..8ca2e010a65d 100644
--- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap
@@ -24,7 +24,7 @@ exports[`Header should render normally 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap
index 92998bc3f07e..3582c174d261 100644
--- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap
@@ -5,7 +5,7 @@ exports[`AddFilter should ignore strings with just spaces 1`] = `
-
-
@@ -22,7 +22,7 @@ exports[`AddFilter should ignore strings with just spaces 1`] = `
id="indexPatternManagement.editIndexPattern.source.addButtonLabel"
values={Object {}}
/>
-
+
`;
@@ -32,7 +32,7 @@ exports[`AddFilter should render normally 1`] = `
-
-
@@ -49,7 +49,7 @@ exports[`AddFilter should render normally 1`] = `
id="indexPatternManagement.editIndexPattern.source.addButtonLabel"
values={Object {}}
/>
-
+
`;
diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx
index c0a4d9d0dd9e..8cc90bd71601 100644
--- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx
+++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx
@@ -44,8 +44,8 @@ describe('AddFilter', () => {
const onAddFilter = jest.fn();
const component = shallow( );
- component.find('EuiFieldText').simulate('change', { target: { value: 'tim*' } });
- component.find('EuiButton').simulate('click');
+ component.find('EuiCompressedFieldText').simulate('change', { target: { value: 'tim*' } });
+ component.find('EuiSmallButton').simulate('click');
component.update();
expect(onAddFilter).toBeCalledWith('tim*');
@@ -55,7 +55,7 @@ describe('AddFilter', () => {
const component = shallow( {}} />);
// Set a value in the input field
- component.find('EuiFieldText').simulate('keypress', ' ');
+ component.find('EuiCompressedFieldText').simulate('keypress', ' ');
component.update();
expect(component).toMatchSnapshot();
diff --git a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx
index 210f27f156ad..c3659ba9f6f5 100644
--- a/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx
+++ b/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx
@@ -261,7 +261,7 @@ describe('Table', () => {
);
// Press the enter key
- filterNameTableCell.find('EuiFieldText').simulate('keydown', { key: keys.ENTER });
+ filterNameTableCell.find('EuiCompressedFieldText').simulate('keydown', { key: keys.ENTER });
expect(saveFilter).toBeCalled();
// It should reset
@@ -300,7 +300,7 @@ describe('Table', () => {
);
// Press the ESCAPE key
- filterNameTableCell.find('EuiFieldText').simulate('keydown', { key: keys.ESCAPE });
+ filterNameTableCell.find('EuiCompressedFieldText').simulate('keydown', { key: keys.ESCAPE });
expect(saveFilter).not.toBeCalled();
// It should reset
diff --git a/src/plugins/index_pattern_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap b/src/plugins/index_pattern_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap
index 9bc6c27803d1..bfd8575d42f0 100644
--- a/src/plugins/index_pattern_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap
@@ -36,25 +36,25 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
lang="painless"
onClose={[Function]}
/>
-
-
-
-
+
-
-
-
+
-
-
-
+
}
>
-
-
-
+
-
-
-
+
-
-
+
+
-
-
+
+
-
-
+
-
@@ -220,10 +220,10 @@ exports[`FieldEditor should render create new scripted field correctly 1`] = `
id="indexPatternManagement.actions.cancelButton"
values={Object {}}
/>
-
+
-
+
-
-
-
-
+
-
-
-
+
}
>
-
-
-
+
-
-
-
+
-
-
+
+
-
-
+
+
-
-
+
-
@@ -438,7 +438,7 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
id="indexPatternManagement.actions.cancelButton"
values={Object {}}
/>
-
+
-
@@ -456,12 +456,12 @@ exports[`FieldEditor should render edit scripted field correctly 1`] = `
id="indexPatternManagement.actions.deleteButton"
values={Object {}}
/>
-
+
-
+
-
@@ -539,19 +539,19 @@ exports[`FieldEditor should show conflict field warning 1`] = `
isInvalid={false}
label="Name"
>
-
-
-
+
-
-
-
+
-
-
-
+
}
>
-
-
-
+
-
-
-
+
-
-
+
+
-
-
+
+
-
-
+
-
@@ -717,10 +717,10 @@ exports[`FieldEditor should show conflict field warning 1`] = `
id="indexPatternManagement.actions.cancelButton"
values={Object {}}
/>
-
+
-
+
-
-
-
-
+
-
-
-
+
}
>
-
-
-
+
-
-
-
+
-
-
+
+
-
-
+
+
-
-
+
-
@@ -1016,7 +1016,7 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
id="indexPatternManagement.actions.cancelButton"
values={Object {}}
/>
-
+
-
@@ -1034,12 +1034,12 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
id="indexPatternManagement.actions.deleteButton"
values={Object {}}
/>
-
+
-
+
-
@@ -1117,19 +1117,19 @@ exports[`FieldEditor should show multiple type field warning with a table contai
isInvalid={false}
label="Name"
>
-
-
-
+
-
-
-
+
-
-
+
-
}
>
-
-
-
+
-
-
-
+
-
-
+
+
-
-
+
+
-
-
+
-
@@ -1351,10 +1351,10 @@ exports[`FieldEditor should show multiple type field warning with a table contai
id="indexPatternManagement.actions.cancelButton"
values={Object {}}
/>
-
+
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
-
+
-
-
+
-
-
-
-
+
-
-
-
+
-
-
-
+
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
@@ -181,9 +181,9 @@ exports[`StaticLookupFormatEditor should render normally 1`] = `
-
-
-
+
diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap
index f8048bad2b70..075a0465d6aa 100644
--- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap
@@ -2,9 +2,9 @@
exports[`StringFormatEditor should render normally 1`] = `
-
-
-
+
-
-
-
+
{
onError={onError}
/>
);
- const input = component.find(EuiFieldNumber);
+ const input = component.find(EuiCompressedFieldNumber);
const changeEvent = {
target: {
@@ -107,7 +107,7 @@ describe('TruncateFormatEditor', () => {
onError={onError}
/>
);
- const input = component.find(EuiFieldNumber);
+ const input = component.find(EuiCompressedFieldNumber);
const changeEvent = {
target: {
diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap
index f862d0ebe847..0b7f71e71276 100644
--- a/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap
+++ b/src/plugins/index_pattern_management/public/components/field_editor/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap
@@ -10,9 +10,9 @@ exports[`UrlFormatEditor should render label template help 1`] = `
isVisible={false}
onClose={[Function]}
/>
-
-
-
-
+
-
-
-
+
-
-
+
-
-
-
-
+
-
-
-
+
-
-
+
-
-
-
-
+
-
-
-
+
-
-
+
-
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
+
-
+
`;
exports[`FormatEditorSamples should render nothing if there are no samples 1`] = `""`;
diff --git a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx
index bf59d08a10d7..de065a2730f9 100644
--- a/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx
+++ b/src/plugins/index_pattern_management/public/components/field_editor/field_editor.test.tsx
@@ -40,24 +40,31 @@ import { createComponentWithContext } from '../test_utils';
jest.mock('@elastic/eui', () => ({
EuiBasicTable: 'eui-basic-table',
EuiButton: 'eui-button',
+ EuiSmallButton: 'eui-small-button',
EuiButtonEmpty: 'eui-button-empty',
+ EuiSmallButtonEmpty: 'eui-small-button-empty',
EuiCallOut: 'eui-call-out',
EuiCode: 'eui-code',
EuiCodeEditor: 'eui-code-editor',
EuiConfirmModal: 'eui-confirm-modal',
EuiFieldNumber: 'eui-field-number',
+ EuiCompressedFieldNumber: 'eui-compressed-field-number',
EuiFieldText: 'eui-field-text',
+ EuiCompressedFieldText: 'eui-compressed-field-text',
EuiFlexGroup: 'eui-flex-group',
EuiFlexItem: 'eui-flex-item',
EuiForm: 'eui-form',
EuiFormRow: 'eui-form-row',
+ EuiCompressedFormRow: 'eui-compressed-form-row',
EuiIcon: 'eui-icon',
EuiLink: 'eui-link',
EuiOverlayMask: 'eui-overlay-mask',
EuiSelect: 'eui-select',
+ EuiCompressedSelect: 'eui-compressed-select',
EuiSpacer: 'eui-spacer',
EuiText: 'eui-text',
EuiTextArea: 'eui-textArea',
+ EuiCompressedTextArea: 'eui-compressed-textArea',
htmlIdGenerator: () => 42,
euiPaletteColorBlind: () => ['red'],
}));
diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap
index ba183cc40b12..d036622a1d30 100644
--- a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap
+++ b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap
@@ -1,10 +1,10 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders control with warning 1`] = `
-
My Control
-
+
`;
exports[`renders disabled control with tooltip 1`] = `
-
-
+
`;
exports[`renders enabled control 1`] = `
-
My Control
-
+
`;
diff --git a/src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap b/src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap
index bd73f21e1122..ad59aed62187 100644
--- a/src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap
+++ b/src/plugins/saved_objects/public/save_modal/__snapshots__/saved_object_save_modal.test.tsx.snap
@@ -32,9 +32,9 @@ exports[`SavedObjectSaveModal should render matching snapshot 1`] = `
onSubmit={[Function]}
>
-
-
-
-
+
-
-
+
-
@@ -89,8 +89,8 @@ exports[`SavedObjectSaveModal should render matching snapshot 1`] = `
id="savedObjects.saveModal.cancelButtonLabel"
values={Object {}}
/>
-
-
+
Save
-
+
`;
diff --git a/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap b/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap
index 2a521bc01219..40c7aa1099ca 100644
--- a/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap
+++ b/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap
@@ -21,7 +21,7 @@ exports[`DefaultEditorAgg component should init with the default set of props 1`
delay="regular"
position="bottom"
>
-
-
+
`;
diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap b/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap
index 6b2f160e417a..b2a2e4c068be 100644
--- a/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap
+++ b/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap
@@ -24,7 +24,7 @@ exports[`NumberRow should be rendered with default set of props 1`] = `
- {
test('should call onDelete', () => {
const comp = shallow( );
- comp.find('EuiButtonIcon').simulate('click');
+ comp.find('EuiSmallButtonIcon').simulate('click');
expect(defaultProps.onDelete).lastCalledWith(defaultProps.model.id);
});
diff --git a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx
index f6e35f8d45aa..51aa5dbac175 100644
--- a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx
+++ b/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx
@@ -90,17 +90,18 @@ function ExtendedBoundsParamEditor({
error={error}
>
-
- handleChange(ev, 'min')}
- onBlur={setTouched}
- fullWidth={true}
- isInvalid={showValidation ? !isValid : false}
- aria-label={minLabel}
- prepend={minLabel}
- compressed
- />
+
+ handleChange(ev, 'min')}
+ onBlur={setTouched}
+ fullWidth={true}
+ isInvalid={showValidation ? !isValid : false}
+ aria-label={minLabel}
+ prepend={minLabel}
+ compressed
+ />
+
{
it('calls onAdd={handleAdd}', () => {
const handleAdd = jest.fn();
const wrapper = shallowWithIntl( );
- wrapper.find('EuiButtonIcon').at(0).simulate('click');
+ wrapper.find('EuiSmallButtonIcon').at(0).simulate('click');
expect(handleAdd).toHaveBeenCalled();
});
it('calls onDelete={handleDelete}', () => {
const handleDelete = jest.fn();
const wrapper = shallowWithIntl( );
- wrapper.find('EuiButtonIcon').at(1).simulate('click');
+ wrapper.find('EuiSmallButtonIcon').at(1).simulate('click');
expect(handleDelete).toHaveBeenCalled();
});
it('calls onClone={handleClone}', () => {
const handleClone = jest.fn();
const wrapper = shallowWithIntl( );
- wrapper.find('EuiButtonIcon').at(0).simulate('click');
+ wrapper.find('EuiSmallButtonIcon').at(0).simulate('click');
expect(handleClone).toHaveBeenCalled();
});
diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx b/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx
index 5a187d93e229..4175504794db 100644
--- a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx
+++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/agg_select.test.tsx
@@ -32,7 +32,7 @@ import React from 'react';
import { mountWithIntl } from 'test_utils/enzyme_helpers';
import { AggSelect } from './agg_select';
import { METRIC, SERIES } from '../../../test_utils';
-import { EuiComboBox } from '@elastic/eui';
+import { EuiCompressedComboBox } from '@elastic/eui';
describe('TSVB AggSelect', () => {
const setup = (panelType: string, value: string) => {
@@ -59,7 +59,7 @@ describe('TSVB AggSelect', () => {
it('should only display filter ratio compattible aggs', () => {
const wrapper = setup('filter_ratio', 'avg');
- expect(wrapper.find(EuiComboBox).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "Average",
@@ -99,7 +99,7 @@ describe('TSVB AggSelect', () => {
it('should only display histogram compattible aggs', () => {
const wrapper = setup('histogram', 'avg');
- expect(wrapper.find(EuiComboBox).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "Average",
@@ -123,7 +123,7 @@ describe('TSVB AggSelect', () => {
it('should only display metrics compattible aggs', () => {
const wrapper = setup('metrics', 'avg');
- expect(wrapper.find(EuiComboBox).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "Average",
diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js b/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js
index aeaf8fb883a0..90fffa17fa25 100644
--- a/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js
+++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.test.js
@@ -32,7 +32,7 @@ import React from 'react';
import { mountWithIntl } from 'test_utils/enzyme_helpers';
import { FilterRatioAgg } from './filter_ratio';
import { FIELDS, METRIC, SERIES, PANEL } from '../../../test_utils';
-import { EuiComboBox } from '@elastic/eui';
+import { EuiCompressedComboBox } from '@elastic/eui';
import { dataPluginMock } from '../../../../../data/public/mocks';
import { setDataStart } from '../../../services';
@@ -73,7 +73,7 @@ describe('TSVB Filter Ratio', () => {
field: 'histogram_value',
};
const wrapper = setup(metric);
- expect(wrapper.find(EuiComboBox).at(1).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).at(1).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "Average",
@@ -102,7 +102,7 @@ describe('TSVB Filter Ratio', () => {
field: '',
};
const wrapper = setup(metric);
- expect(wrapper.find(EuiComboBox).at(2).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).at(2).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "number",
@@ -128,7 +128,7 @@ describe('TSVB Filter Ratio', () => {
field: '',
};
const wrapper = setup(metric);
- expect(wrapper.find(EuiComboBox).at(2).props().options).toMatchInlineSnapshot(`
+ expect(wrapper.find(EuiCompressedComboBox).at(2).props().options).toMatchInlineSnapshot(`
Array [
Object {
"label": "date",
diff --git a/src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap b/src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap
index dd454231a9ac..da5615ae684f 100644
--- a/src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap
+++ b/src/plugins/vis_type_timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`src/legacy/core_plugins/metrics/public/components/icon_select/icon_select.js should render and match a snapshot 1`] = `
-
-
-
+
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
+
-
-
-
+
diff --git a/src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js b/src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js
index dc5e1f17c1ed..e2adcefa10cd 100644
--- a/src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js
+++ b/src/plugins/vis_type_timeseries/public/application/components/splits/terms.test.js
@@ -40,6 +40,10 @@ jest.mock('@elastic/eui', () => ({
EuiFieldNumber: jest.requireActual('@elastic/eui').EuiFieldNumber,
EuiComboBox: jest.requireActual('@elastic/eui').EuiComboBox,
EuiFieldText: jest.requireActual('@elastic/eui').EuiFieldText,
+ EuiCompressedFormRow: jest.requireActual('@elastic/eui').EuiCompressedFormRow,
+ EuiCompressedFieldNumber: jest.requireActual('@elastic/eui').EuiCompressedFieldNumber,
+ EuiCompressedComboBox: jest.requireActual('@elastic/eui').EuiCompressedComboBox,
+ EuiCompressedFieldText: jest.requireActual('@elastic/eui').EuiCompressedFieldText,
}));
describe('src/legacy/core_plugins/metrics/public/components/splits/terms.test.js', () => {
diff --git a/src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js b/src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js
index cdca3c3039c9..7e5f62547661 100644
--- a/src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js
+++ b/src/plugins/vis_type_timeseries/public/application/components/yes_no.test.js
@@ -38,7 +38,7 @@ describe('YesNo', () => {
it('call onChange={handleChange} on yes', () => {
const handleChange = sinon.spy();
const wrapper = shallowWithIntl( );
- wrapper.find('EuiRadio').first().simulate('change');
+ wrapper.find('EuiRadio, EuiSmallRadio').first().simulate('change');
expect(handleChange.calledOnce).to.equal(true);
expect(handleChange.firstCall.args[0]).to.eql({
test: 1,
@@ -48,7 +48,7 @@ describe('YesNo', () => {
it('call onChange={handleChange} on no', () => {
const handleChange = sinon.spy();
const wrapper = shallowWithIntl( );
- wrapper.find('EuiRadio').last().simulate('change');
+ wrapper.find('EuiRadio, EuiSmallRadio').last().simulate('change');
expect(handleChange.calledOnce).to.equal(true);
expect(handleChange.firstCall.args[0]).to.eql({
test: 0,
diff --git a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap
index ed7ae45eed3a..621aab0a3dd3 100644
--- a/src/plugins/vis_type_vislib/public/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap
+++ b/src/plugins/vis_type_vislib/public/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap
@@ -32,7 +32,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`]
delay="regular"
position="bottom"
>
-
-
-