mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* eui to 14.4.0 * euicard ts updates * snaps
This commit is contained in:
parent
c3ef55d1dd
commit
ec9c68f7af
25 changed files with 20 additions and 54 deletions
|
@ -106,7 +106,7 @@
|
|||
"@babel/register": "^7.5.5",
|
||||
"@elastic/charts": "^12.0.2",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/good": "8.1.1-kibana2",
|
||||
"@elastic/numeral": "2.3.3",
|
||||
|
|
|
@ -13,7 +13,6 @@ exports[`after fetch hideWriteControls 1`] = `
|
|||
noItemsFragment={
|
||||
<div>
|
||||
<EuiEmptyPrompt
|
||||
iconColor="subdued"
|
||||
iconType="visualizeApp"
|
||||
title={
|
||||
<h2>
|
||||
|
@ -106,7 +105,6 @@ exports[`after fetch initialFilter 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="dashboardApp"
|
||||
title={
|
||||
<h2>
|
||||
|
@ -199,7 +197,6 @@ exports[`after fetch renders call to action when no dashboards exist 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="dashboardApp"
|
||||
title={
|
||||
<h2>
|
||||
|
@ -292,7 +289,6 @@ exports[`after fetch renders table rows 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="dashboardApp"
|
||||
title={
|
||||
<h2>
|
||||
|
@ -385,7 +381,6 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="dashboardApp"
|
||||
title={
|
||||
<h2>
|
||||
|
@ -478,7 +473,6 @@ exports[`renders empty page in before initial fetch to avoid flickering 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="dashboardApp"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -17,13 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import {
|
||||
// @ts-ignore
|
||||
EuiCard,
|
||||
EuiFlexItem,
|
||||
EuiFlexGroup,
|
||||
EuiFormRow,
|
||||
} from '@elastic/eui';
|
||||
import { EuiCard, EuiFlexItem, EuiFlexGroup, EuiFormRow } from '@elastic/eui';
|
||||
|
||||
import { Subscription } from 'rxjs';
|
||||
import { EuiButton } from '@elastic/eui';
|
||||
|
@ -96,7 +90,12 @@ export class ContactCardEmbeddableComponent extends React.Component<Props, State
|
|||
|
||||
render() {
|
||||
return (
|
||||
<EuiCard textAlign="left" title={this.state.fullName} footer={this.getCardFooterContent()} />
|
||||
<EuiCard
|
||||
textAlign="left"
|
||||
title={this.state.fullName}
|
||||
footer={this.getCardFooterContent()}
|
||||
description=""
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -250,7 +250,6 @@ exports[`Inspector Data View component should render empty state 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"react": "^16.8.0",
|
||||
"react-dom": "^16.8.0"
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"react": "^16.8.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"react": "^16.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"react": "^16.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"react": "^16.8.0",
|
||||
"react-dom": "^16.8.0"
|
||||
}
|
||||
|
|
1
typings/@elastic/eui/index.d.ts
vendored
1
typings/@elastic/eui/index.d.ts
vendored
|
@ -25,7 +25,6 @@ declare module '@elastic/eui' {
|
|||
export const EuiDescribedFormGroup: React.SFC<any>;
|
||||
export const EuiCodeEditor: React.SFC<any>;
|
||||
export const Query: any;
|
||||
export const EuiCard: any;
|
||||
|
||||
export interface EuiTableCriteria {
|
||||
page: { index: number; size: number };
|
||||
|
|
|
@ -33,7 +33,6 @@ exports[`NoServicesMessage status: pending and historicalDataFound: false 1`] =
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<div>
|
||||
Looks like you don't have any APM services installed. Let's add some!
|
||||
|
@ -45,7 +44,6 @@ exports[`NoServicesMessage status: pending and historicalDataFound: false 1`] =
|
|||
|
||||
exports[`NoServicesMessage status: pending and historicalDataFound: true 1`] = `
|
||||
<EuiEmptyPrompt
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<div>
|
||||
No services found
|
||||
|
@ -80,7 +78,6 @@ exports[`NoServicesMessage status: success and historicalDataFound: false 1`] =
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<div>
|
||||
Looks like you don't have any APM services installed. Let's add some!
|
||||
|
@ -92,7 +89,6 @@ exports[`NoServicesMessage status: success and historicalDataFound: false 1`] =
|
|||
|
||||
exports[`NoServicesMessage status: success and historicalDataFound: true 1`] = `
|
||||
<EuiEmptyPrompt
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<div>
|
||||
No services found
|
||||
|
|
|
@ -5,11 +5,7 @@
|
|||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
// @ts-ignore unconverted EUI component
|
||||
EuiCard,
|
||||
EuiIcon,
|
||||
} from '@elastic/eui';
|
||||
import { EuiCard, EuiIcon } from '@elastic/eui';
|
||||
import { TagList } from '../tag_list/';
|
||||
|
||||
export interface Props {
|
||||
|
@ -45,7 +41,7 @@ export const ElementCard = ({ title, description, image, tags = [], onClick, ...
|
|||
description={description}
|
||||
footer={<TagList tags={tags} tagType={tagType} />}
|
||||
image={image}
|
||||
icon={image ? null : <EuiIcon type="canvasApp" size="xxl" />}
|
||||
icon={image ? undefined : <EuiIcon type="canvasApp" size="xxl" />}
|
||||
onClick={onClick}
|
||||
{...rest}
|
||||
/>
|
||||
|
|
|
@ -146,7 +146,6 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = `
|
|||
Before you can add a pipeline, we need to upgrade your configuration.
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<UpgradeFailureTitle
|
||||
titleText="Upgrade failed"
|
||||
|
@ -487,7 +486,6 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1`
|
|||
Before you can add a pipeline, we need to upgrade your configuration.
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<UpgradeFailureTitle
|
||||
titleText="Time for an upgrade!"
|
||||
|
@ -828,7 +826,6 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`]
|
|||
Before you can edit this pipeline, we need to upgrade your configuration.
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<UpgradeFailureTitle
|
||||
titleText="Upgrade failed"
|
||||
|
@ -1054,7 +1051,6 @@ exports[`UpgradeFailure component renders component as expected 1`] = `
|
|||
Before you can add a pipeline, we need to upgrade your configuration.
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<UpgradeFailureTitle
|
||||
titleText="Upgrade failed"
|
||||
|
|
|
@ -17,7 +17,6 @@ exports[`Data Frame: Transform List <DataFrameTransformList /> Minimal initializ
|
|||
]
|
||||
}
|
||||
data-test-subj="mlNoDataFrameTransformsFound"
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<h2>
|
||||
No data frame transforms found
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
exports[`ExplorerNoInfluencersFound snapshot 1`] = `
|
||||
<EuiEmptyPrompt
|
||||
iconColor="subdued"
|
||||
title={
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -16,7 +16,6 @@ exports[`ExplorerNoInfluencersFound snapshot 1`] = `
|
|||
</EuiButton>
|
||||
}
|
||||
data-test-subj="mlNoJobsFound"
|
||||
iconColor="subdued"
|
||||
iconType="alert"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -13,7 +13,6 @@ exports[`ExplorerNoInfluencersFound snapshot 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="iInCircle"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -31,7 +31,6 @@ exports[`<RolesGridPage /> renders permission denied if required 1`] = `
|
|||
/>
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="securityApp"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -56,7 +56,6 @@ exports[`IndexPatternsMissingPrompt renders correctly against snapshot 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="gisApp"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -457,7 +457,6 @@ exports[`CheckupTab render without deprecations 1`] = `
|
|||
</p>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="faceHappy"
|
||||
title={
|
||||
<h2>
|
||||
|
|
|
@ -36,7 +36,6 @@ exports[`DataMissing component renders basePath and headingMessage 1`] = `
|
|||
/>
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="uptimeApp"
|
||||
title={
|
||||
<EuiTitle
|
||||
|
|
|
@ -169,7 +169,6 @@ exports[`EmptyState component does not render empty state with appropriate base
|
|||
/>
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="uptimeApp"
|
||||
title={
|
||||
<EuiTitle
|
||||
|
@ -426,7 +425,6 @@ exports[`EmptyState component doesn't render child components when count is fals
|
|||
</EuiTitle>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
>
|
||||
<div
|
||||
className="euiEmptyPrompt"
|
||||
|
@ -641,7 +639,6 @@ exports[`EmptyState component notifies when index does not exist 1`] = `
|
|||
/>
|
||||
</p>
|
||||
}
|
||||
iconColor="subdued"
|
||||
iconType="uptimeApp"
|
||||
title={
|
||||
<EuiTitle
|
||||
|
@ -1168,7 +1165,6 @@ exports[`EmptyState component renders loading state if no errors or doc count 1`
|
|||
</EuiTitle>
|
||||
</React.Fragment>
|
||||
}
|
||||
iconColor="subdued"
|
||||
>
|
||||
<div
|
||||
className="euiEmptyPrompt"
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
"@babel/runtime": "^7.5.5",
|
||||
"@elastic/ctags-langserver": "^0.1.10",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/eui": "14.3.0",
|
||||
"@elastic/eui": "14.4.0",
|
||||
"@elastic/javascript-typescript-langserver": "^0.3.3",
|
||||
"@elastic/lsp-extension": "^0.1.2",
|
||||
"@elastic/maki": "6.1.0",
|
||||
|
|
1
x-pack/typings/@elastic/eui/index.d.ts
vendored
1
x-pack/typings/@elastic/eui/index.d.ts
vendored
|
@ -10,7 +10,6 @@ declare module '@elastic/eui' {
|
|||
export const EuiDescribedFormGroup: React.SFC<any>;
|
||||
export const EuiCodeEditor: React.SFC<any>;
|
||||
export const Query: any;
|
||||
export const EuiCard: any;
|
||||
}
|
||||
|
||||
declare module '@elastic/eui/lib/services' {
|
||||
|
|
|
@ -1145,10 +1145,10 @@
|
|||
tabbable "^1.1.0"
|
||||
uuid "^3.1.0"
|
||||
|
||||
"@elastic/eui@14.3.0":
|
||||
version "14.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.3.0.tgz#256e1af8f6b15717904f8959742a23b3495ff0bb"
|
||||
integrity sha512-gAbPNezBmndInYqqw6EvRYLn2VMYQgYuPQYA5UZ7TyHzwvoBiMpUw5nFzYhS2A/Xcmq/ON5Mu8RY3LGRAVBOvQ==
|
||||
"@elastic/eui@14.4.0":
|
||||
version "14.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.4.0.tgz#ac09a476798dcdb1005616cccc149eda23ea2a90"
|
||||
integrity sha512-dR7lYwUaIRXZjlUrJBq8GcGLPh6QfM3waQxUFI8lOnMVayJe3OOMNADCn8Oty6wNYIOrBWzZbW6w4bzInWF6oA==
|
||||
dependencies:
|
||||
"@types/lodash" "^4.14.116"
|
||||
"@types/numeral" "^0.0.25"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue