diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap index e2e3ea194eed5..c86ccca9531ea 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap @@ -135,12 +135,17 @@ exports[`it renders without crashing 1`] = ` - + + + diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/remote_cluster_privileges_form.test.tsx.snap b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/remote_cluster_privileges_form.test.tsx.snap index 228eef256bcd1..eba70f0943a6b 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/remote_cluster_privileges_form.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/__snapshots__/remote_cluster_privileges_form.test.tsx.snap @@ -93,13 +93,18 @@ exports[`it renders without crashing 1`] = ` - + + + diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.tsx index 0fffca780b976..2331578c2afe9 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.tsx +++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.tsx @@ -16,6 +16,7 @@ import { EuiPanel, EuiSpacer, EuiSwitch, + EuiToolTip, } from '@elastic/eui'; import { css } from '@emotion/react'; import _ from 'lodash'; @@ -104,8 +105,8 @@ export class IndexPrivilegeForm extends Component { {!this.props.isRoleReadOnly && ( - { { defaultMessage: 'Delete index privilege' } ) } - color={'danger'} - onClick={this.props.onDelete} - iconType={'trash'} - /> + disableScreenReaderOutput + > + + )} diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/remote_cluster_privileges_form.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/remote_cluster_privileges_form.tsx index bc8b70bd7d054..bba49ac60ad93 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/remote_cluster_privileges_form.tsx +++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/remote_cluster_privileges_form.tsx @@ -15,6 +15,7 @@ import { EuiFormRow, EuiPanel, EuiSpacer, + EuiToolTip, } from '@elastic/eui'; import { css } from '@emotion/react'; import React, { Fragment, useCallback } from 'react'; @@ -165,16 +166,24 @@ export const RemoteClusterPrivilegesForm: React.FunctionComponent = ({ {!isRoleReadOnly && ( - + disableScreenReaderOutput + > + + )} diff --git a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/space_result_details.tsx b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/space_result_details.tsx index 48768ed78194f..927fd66f11506 100644 --- a/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/space_result_details.tsx +++ b/x-pack/platform/plugins/shared/spaces/public/copy_saved_objects_to_space/components/space_result_details.tsx @@ -13,6 +13,7 @@ import { EuiSuperSelect, EuiSwitch, EuiText, + EuiTextTruncate, useEuiTheme, } from '@elastic/eui'; import { css } from '@emotion/react'; @@ -172,9 +173,7 @@ export const SpaceCopyResultDetails = (props: Props) => { `} > -

- {name} -

+
{switchProps.show && ( diff --git a/x-pack/platform/plugins/shared/spaces/public/solution_view_switch/components/solution_view_switch_callout_internal.tsx b/x-pack/platform/plugins/shared/spaces/public/solution_view_switch/components/solution_view_switch_callout_internal.tsx index d7f80f7bb8bd9..5b42cf51ff5fd 100644 --- a/x-pack/platform/plugins/shared/spaces/public/solution_view_switch/components/solution_view_switch_callout_internal.tsx +++ b/x-pack/platform/plugins/shared/spaces/public/solution_view_switch/components/solution_view_switch_callout_internal.tsx @@ -13,6 +13,7 @@ import { EuiHorizontalRule, EuiSpacer, EuiText, + EuiToolTip, useEuiTheme, } from '@elastic/eui'; import { css } from '@emotion/react'; @@ -77,19 +78,26 @@ export const SolutionViewSwitchCalloutInternal = ({ - + + + diff --git a/x-pack/platform/plugins/shared/spaces/public/space_selector/components/space_card.tsx b/x-pack/platform/plugins/shared/spaces/public/space_selector/components/space_card.tsx index 8468a2d47c43e..52366b4a40fc6 100644 --- a/x-pack/platform/plugins/shared/spaces/public/space_selector/components/space_card.tsx +++ b/x-pack/platform/plugins/shared/spaces/public/space_selector/components/space_card.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { EuiCard, EuiLoadingSpinner, EuiTextColor, useEuiTheme } from '@elastic/eui'; +import { EuiCard, EuiLoadingSpinner, EuiTextColor, EuiToolTip, useEuiTheme } from '@elastic/eui'; import { css } from '@emotion/react'; import React, { lazy, Suspense } from 'react'; @@ -65,9 +65,11 @@ function renderSpaceDescription(space: Space) { } return ( - - {description} - + + + {description} + + ); }