- -
-
-

- You need permission to manage roles -

-
+
+
-

+ You need permission to manage roles + +

+
- Contact your system administrator. -

+

+ Contact your system administrator. +

+
-
+ `; diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/permission_denied/permission_denied.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/permission_denied/permission_denied.tsx index 170327ac24541..77825c4256cce 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/permission_denied/permission_denied.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_grid/permission_denied/permission_denied.tsx @@ -5,13 +5,13 @@ * 2.0. */ -import { EuiEmptyPrompt, EuiPageContent_Deprecated as EuiPageContent } from '@elastic/eui'; +import { EuiEmptyPrompt, EuiPageSection } from '@elastic/eui'; import React from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; export const PermissionDenied = () => ( - + (

} /> -
+ ); diff --git a/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx b/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx index fa4fb04099b72..35d54d437d761 100644 --- a/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx +++ b/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx @@ -13,8 +13,8 @@ import { EuiFlexItem, EuiInMemoryTable, EuiLink, - EuiPageContent_Deprecated as EuiPageContent, EuiPageHeader, + EuiPageSection, EuiSpacer, EuiSwitch, } from '@elastic/eui'; @@ -85,7 +85,7 @@ export class UsersGridPage extends Component { if (permissionDenied) { return ( - + {

} /> -
+
); } diff --git a/x-pack/plugins/spaces/public/management/edit_space/manage_space_page.tsx b/x-pack/plugins/spaces/public/management/edit_space/manage_space_page.tsx index f5b82b8fdafd2..fbba203f8e060 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/manage_space_page.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/manage_space_page.tsx @@ -10,9 +10,8 @@ import { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, - EuiPageContent_Deprecated as EuiPageContent, - EuiPageContentBody_Deprecated as EuiPageContentBody, EuiPageHeader, + EuiPageSection, EuiSpacer, hexToHsv, hsvToHex, @@ -119,9 +118,9 @@ export class ManageSpacePage extends Component { public render() { if (!this.props.capabilities.spaces.manage) { return ( - + - + ); } @@ -130,24 +129,24 @@ export class ManageSpacePage extends Component { } return ( - + {this.getForm()} - + ); } public getLoadingIndicator = () => ( - + - + ); public getForm = () => { diff --git a/x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.tsx b/x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.tsx index 39fd408930fe9..d557fcdb604bb 100644 --- a/x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.tsx +++ b/x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.tsx @@ -12,8 +12,8 @@ import { EuiInMemoryTable, EuiLink, EuiLoadingSpinner, - EuiPageContent_Deprecated as EuiPageContent, EuiPageHeader, + EuiPageSection, EuiSpacer, EuiText, } from '@elastic/eui'; @@ -108,9 +108,9 @@ export class SpacesGridPage extends Component { public getPageContent() { if (!this.props.capabilities.spaces.manage) { return ( - + - + ); }