mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Updates EUI to 4.4.1 and includes some minor homepage changes around icons.
This commit is contained in:
parent
d3cd9d4056
commit
cb4dd5569f
15 changed files with 75 additions and 113 deletions
|
@ -75,7 +75,7 @@
|
|||
"url": "https://github.com/elastic/kibana.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@elastic/eui": "4.0.1",
|
||||
"@elastic/eui": "4.4.1",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/numeral": "2.3.2",
|
||||
"@elastic/ui-ace": "0.2.3",
|
||||
|
|
|
@ -79,13 +79,6 @@ exports[`Inspector Data View component should render empty state 1`] = `
|
|||
</p>
|
||||
</div>
|
||||
</EuiText>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
</span>
|
||||
</EuiTextColor>
|
||||
</div>
|
||||
|
|
|
@ -195,7 +195,7 @@ exports[`apmUiEnabled 1`] = `
|
|||
}
|
||||
layout="vertical"
|
||||
textAlign="center"
|
||||
title="Security Analytics"
|
||||
title="Security analytics"
|
||||
titleElement="span"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
@ -454,7 +454,7 @@ exports[`isNewKibanaInstance 1`] = `
|
|||
}
|
||||
layout="vertical"
|
||||
textAlign="center"
|
||||
title="Security Analytics"
|
||||
title="Security analytics"
|
||||
titleElement="span"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
@ -713,7 +713,7 @@ exports[`render 1`] = `
|
|||
}
|
||||
layout="vertical"
|
||||
textAlign="center"
|
||||
title="Security Analytics"
|
||||
title="Security analytics"
|
||||
titleElement="span"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -20,6 +20,7 @@ exports[`props iconType 1`] = `
|
|||
grow={false}
|
||||
>
|
||||
<EuiIcon
|
||||
color="primary"
|
||||
size="xl"
|
||||
type="logoApache"
|
||||
/>
|
||||
|
|
|
@ -61,7 +61,7 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl }) => {
|
|||
defaultMessage: 'Collect metrics from the operating system and services running on your servers.'
|
||||
});
|
||||
const securityTitle = intl.formatMessage({
|
||||
id: 'kbn.home.addData.security.nameTitle', defaultMessage: 'Security Analytics'
|
||||
id: 'kbn.home.addData.security.nameTitle', defaultMessage: 'Security analytics'
|
||||
});
|
||||
const securityDescription = intl.formatMessage({
|
||||
id: 'kbn.home.addData.security.nameDescription',
|
||||
|
|
|
@ -46,6 +46,7 @@ export function Synopsis({ description, iconUrl, iconType, title, url, wrapInPan
|
|||
<EuiFlexItem grow={false}>
|
||||
<EuiIcon
|
||||
type={iconType}
|
||||
color="primary"
|
||||
size="xl"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -58,10 +58,10 @@ class TutorialDirectoryUi extends React.Component {
|
|||
name: this.props.intl.formatMessage({ id: 'kbn.home.tutorial.tabs.metricsTitle', defaultMessage: 'Metrics' }),
|
||||
}, {
|
||||
id: 'security',
|
||||
name: this.props.intl.formatMessage({ id: 'kbn.home.tutorial.tabs.securityAnalyticsTitle', defaultMessage: 'Security Analytics' }),
|
||||
name: this.props.intl.formatMessage({ id: 'kbn.home.tutorial.tabs.securityAnalyticsTitle', defaultMessage: 'Security analytics' }),
|
||||
}, {
|
||||
id: SAMPLE_DATA_TAB_ID,
|
||||
name: this.props.intl.formatMessage({ id: 'kbn.home.tutorial.tabs.sampleDataTitle', defaultMessage: 'Sample Data' }),
|
||||
name: this.props.intl.formatMessage({ id: 'kbn.home.tutorial.tabs.sampleDataTitle', defaultMessage: 'Sample data' }),
|
||||
}];
|
||||
|
||||
let openTab = ALL_TAB_ID;
|
||||
|
|
|
@ -24,7 +24,7 @@ FeatureCatalogueRegistryProvider.register(() => {
|
|||
id: 'timelion',
|
||||
title: 'Timelion',
|
||||
description: 'Use an expression language to analyze time series data and visualize the results.',
|
||||
icon: 'visTimelion',
|
||||
icon: 'timelionApp',
|
||||
path: '/app/timelion',
|
||||
showOnHomePage: true,
|
||||
category: FeatureCatalogueCategory.DATA
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@elastic/datemath": "^4.0.2",
|
||||
"@elastic/eui": "4.0.1",
|
||||
"@elastic/eui": "4.4.1",
|
||||
"@elastic/node-crypto": "0.1.2",
|
||||
"@elastic/node-phantom-simple": "2.2.4",
|
||||
"@elastic/numeral": "2.3.2",
|
||||
|
@ -217,4 +217,4 @@
|
|||
"engines": {
|
||||
"yarn": "^1.6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -260,7 +260,7 @@ exports[`DetailView should render with data 1`] = `
|
|||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
className="euiIcon euiIcon--medium euiButton__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiButton__icon"
|
||||
focusable="false"
|
||||
height="32"
|
||||
style={
|
||||
|
@ -272,37 +272,13 @@ exports[`DetailView should render with data 1`] = `
|
|||
width="32"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g
|
||||
fill="none"
|
||||
fillRule="evenodd"
|
||||
>
|
||||
<path
|
||||
d="M17.213 17.998l-5.91 3.523c-.536.322-1.145-.288-.824-.823l3.523-5.91a2.34 2.34 0 0 1 3.664-.457l.003.004a2.34 2.34 0 0 1-.456 3.663"
|
||||
fill="#14A7DF"
|
||||
style={
|
||||
Object {
|
||||
"mixBlendMode": "multiply",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<path
|
||||
d="M14.788 14.002l5.91-3.523c.536-.32 1.145.288.824.824l-3.523 5.91a2.34 2.34 0 0 1-3.664.456l-.003-.003a2.34 2.34 0 0 1 .456-3.664"
|
||||
fill="#00BFB3"
|
||||
style={
|
||||
Object {
|
||||
"mixBlendMode": "multiply",
|
||||
}
|
||||
}
|
||||
/>
|
||||
<path
|
||||
d="M17.51 4.42L16.585.465c-.144-.62-1.026-.62-1.171 0l-.93 3.986c-.218.933 3.244.913 3.024-.031zm-2.935 23.516l.84 3.6c.145.62 1.027.62 1.172 0l.9-3.864c.228-.974-3.16-.798-2.912.264zm-9.998-13.48l-4.112.959c-.62.145-.62 1.027 0 1.172l3.98.928c.935.218 1.023-3.268.132-3.06zm22.697-.036c-.842-.196-.63 3.308.316 3.087l3.946-.92c.62-.145.62-1.027 0-1.172l-4.262-.995z"
|
||||
fill="#00BFB3"
|
||||
/>
|
||||
<path
|
||||
d="M16 26c-5.523 0-10-4.476-10-10 0-5.523 4.477-10 10-10 5.524 0 10 4.477 10 10 0 5.524-4.476 10-10 10m0-23C8.821 3 3 8.821 3 16c0 7.18 5.821 13 13 13 7.18 0 13-5.82 13-13 0-7.179-5.82-13-13-13"
|
||||
fill="#00A9E5"
|
||||
/>
|
||||
</g>
|
||||
<path
|
||||
className="euiIcon__fillSecondary"
|
||||
d="M8.33 23.67l4.79-10.55 10.55-4.79-4.79 10.55-10.55 4.79zm6.3-9l-2.28 5 5-2.28 2.28-5-5 2.28z"
|
||||
/>
|
||||
<path
|
||||
d="M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm1 29.95V28h-2v1.95A14 14 0 0 1 2.05 17H4v-2H2.05A14 14 0 0 1 15 2.05V4h2V2.05A14 14 0 0 1 29.95 15H28v2h1.95A14 14 0 0 1 17 29.95z"
|
||||
/>
|
||||
</svg>
|
||||
<span
|
||||
className="euiButton__text"
|
||||
|
|
|
@ -86,6 +86,7 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
|
|||
focusTrapOptions={
|
||||
Object {
|
||||
"fallbackFocus": [Function],
|
||||
"initialFocus": undefined,
|
||||
}
|
||||
}
|
||||
>
|
||||
|
|
|
@ -190,15 +190,15 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = `
|
|||
</p>
|
||||
</div>
|
||||
</EuiText>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
</span>
|
||||
</EuiTextColor>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
<EuiSpacer
|
||||
size="s"
|
||||
>
|
||||
|
@ -489,15 +489,15 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1`
|
|||
</p>
|
||||
</div>
|
||||
</EuiText>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
</span>
|
||||
</EuiTextColor>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
<EuiSpacer
|
||||
size="s"
|
||||
>
|
||||
|
@ -788,15 +788,15 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`]
|
|||
</p>
|
||||
</div>
|
||||
</EuiText>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
</span>
|
||||
</EuiTextColor>
|
||||
<EuiSpacer
|
||||
size="l"
|
||||
>
|
||||
<div
|
||||
className="euiSpacer euiSpacer--l"
|
||||
/>
|
||||
</EuiSpacer>
|
||||
<EuiSpacer
|
||||
size="s"
|
||||
>
|
||||
|
|
|
@ -12,29 +12,20 @@ exports[`NoData should show a default message if reason is unknown 1`] = `
|
|||
class="euiPanel euiPanel--paddingLarge euiPageContent eui-textCenter euiPageContent--verticalCenter euiPageContent--horizontalCenter"
|
||||
>
|
||||
<svg
|
||||
class="euiIcon euiIcon--xxLarge"
|
||||
class="euiIcon euiIcon--xxLarge euiIcon--app"
|
||||
focusable="false"
|
||||
height="32"
|
||||
viewBox="0 0 32 32"
|
||||
width="32"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M29.033 5.316c-3.491-3.549-9.193-3.607-12.8-.174-3.666-3.607-9.542-3.607-13.15 0a9.218 9.218 0 0 0 .059 13.09l3.083 3.084h2.91c.465 0 .814-.232.989-.64l1.512-2.792 2.27 6.225c.174.466.64.756 1.047.756.523 0 .93-.29 1.047-.814l3.724-11.171 3.141 7.738c.175.466.64.757 1.048.757h2.152l3.142-3.142c3.608-3.724 3.433-9.251-.174-12.917"
|
||||
fill="#13A7DF"
|
||||
/>
|
||||
<path
|
||||
d="M24.727 18.93l-4.014-9.89a1.193 1.193 0 0 0-1.106-.756c-.465 0-.872.29-1.047.814l-3.665 10.938-2.037-5.469c-.116-.465-.582-.756-.989-.756-.465-.058-.873.174-1.105.64L8.32 18.989H3.782l10.356 10.415.058.058c.35.523.873.756 1.455.873H16.35c.523-.059.93-.233 1.337-.64l10.59-10.648h-3.608c.058 0 .058-.116.058-.116z"
|
||||
fill="#00BFB3"
|
||||
/>
|
||||
<path
|
||||
d="M24.727 18.93l-4.014-9.89a1.193 1.193 0 0 0-1.106-.756c-.465 0-.872.29-1.047.814l-3.665 10.938-2.037-5.469c-.116-.465-.582-.756-.989-.756-.465-.058-.873.174-1.105.64L8.32 18.989H3.84l2.385 2.386h2.91c.465 0 .814-.233.989-.64l1.512-2.793 2.211 6.167c.175.466.64.756 1.048.756.523 0 .93-.29 1.047-.814l3.723-11.171 3.2 7.738c.175.466.64.757 1.048.757h2.152l2.386-2.386h-3.724v-.058z"
|
||||
fill="#007D9D"
|
||||
/>
|
||||
</g>
|
||||
<path
|
||||
d="M1.81 15.19A8.94 8.94 0 0 1 15.62 3.86l.38.42.38-.42a8.94 8.94 0 0 1 14.26 10.68l-1.7-1.07a6.94 6.94 0 0 0-11.07-8.28L16 7.29l-1.87-2.1A6.94 6.94 0 0 0 3.41 14l-1.6 1.19zM16 31.18l-7.74-8.51 1.48-1.34L16 28.21l6.26-6.88 1.48 1.34z"
|
||||
/>
|
||||
<path
|
||||
class="euiIcon__fillSecondary"
|
||||
d="M16.16 23.29l-4.1-7.17L10.62 19H0v-2h9.38l2.56-5.12 3.9 6.83 4.13-10.32L23.66 17H32v2h-9.66l-2.31-5.39z"
|
||||
/>
|
||||
</svg>
|
||||
<div
|
||||
class="euiSpacer euiSpacer--m"
|
||||
|
@ -93,29 +84,20 @@ exports[`NoData should show text next to the spinner while checking a setting 1`
|
|||
class="euiPanel euiPanel--paddingLarge euiPageContent eui-textCenter euiPageContent--verticalCenter euiPageContent--horizontalCenter"
|
||||
>
|
||||
<svg
|
||||
class="euiIcon euiIcon--xxLarge"
|
||||
class="euiIcon euiIcon--xxLarge euiIcon--app"
|
||||
focusable="false"
|
||||
height="32"
|
||||
viewBox="0 0 32 32"
|
||||
width="32"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M29.033 5.316c-3.491-3.549-9.193-3.607-12.8-.174-3.666-3.607-9.542-3.607-13.15 0a9.218 9.218 0 0 0 .059 13.09l3.083 3.084h2.91c.465 0 .814-.232.989-.64l1.512-2.792 2.27 6.225c.174.466.64.756 1.047.756.523 0 .93-.29 1.047-.814l3.724-11.171 3.141 7.738c.175.466.64.757 1.048.757h2.152l3.142-3.142c3.608-3.724 3.433-9.251-.174-12.917"
|
||||
fill="#13A7DF"
|
||||
/>
|
||||
<path
|
||||
d="M24.727 18.93l-4.014-9.89a1.193 1.193 0 0 0-1.106-.756c-.465 0-.872.29-1.047.814l-3.665 10.938-2.037-5.469c-.116-.465-.582-.756-.989-.756-.465-.058-.873.174-1.105.64L8.32 18.989H3.782l10.356 10.415.058.058c.35.523.873.756 1.455.873H16.35c.523-.059.93-.233 1.337-.64l10.59-10.648h-3.608c.058 0 .058-.116.058-.116z"
|
||||
fill="#00BFB3"
|
||||
/>
|
||||
<path
|
||||
d="M24.727 18.93l-4.014-9.89a1.193 1.193 0 0 0-1.106-.756c-.465 0-.872.29-1.047.814l-3.665 10.938-2.037-5.469c-.116-.465-.582-.756-.989-.756-.465-.058-.873.174-1.105.64L8.32 18.989H3.84l2.385 2.386h2.91c.465 0 .814-.233.989-.64l1.512-2.793 2.211 6.167c.175.466.64.756 1.048.756.523 0 .93-.29 1.047-.814l3.723-11.171 3.2 7.738c.175.466.64.757 1.048.757h2.152l2.386-2.386h-3.724v-.058z"
|
||||
fill="#007D9D"
|
||||
/>
|
||||
</g>
|
||||
<path
|
||||
d="M1.81 15.19A8.94 8.94 0 0 1 15.62 3.86l.38.42.38-.42a8.94 8.94 0 0 1 14.26 10.68l-1.7-1.07a6.94 6.94 0 0 0-11.07-8.28L16 7.29l-1.87-2.1A6.94 6.94 0 0 0 3.41 14l-1.6 1.19zM16 31.18l-7.74-8.51 1.48-1.34L16 28.21l6.26-6.88 1.48 1.34z"
|
||||
/>
|
||||
<path
|
||||
class="euiIcon__fillSecondary"
|
||||
d="M16.16 23.29l-4.1-7.17L10.62 19H0v-2h9.38l2.56-5.12 3.9 6.83 4.13-10.32L23.66 17H32v2h-9.66l-2.31-5.39z"
|
||||
/>
|
||||
</svg>
|
||||
<div
|
||||
class="euiSpacer euiSpacer--m"
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
dependencies:
|
||||
moment "^2.13.0"
|
||||
|
||||
"@elastic/eui@4.0.1":
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.0.1.tgz#6543d397fb31836508fa4323564b02da11c642db"
|
||||
"@elastic/eui@4.4.1":
|
||||
version "4.4.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.4.1.tgz#a1a4ab5bb209da8ea6d48c065476e74b1f48249b"
|
||||
dependencies:
|
||||
classnames "^2.2.5"
|
||||
core-js "^2.5.1"
|
||||
|
@ -33,7 +33,7 @@
|
|||
highlight.js "^9.12.0"
|
||||
html "^1.0.0"
|
||||
keymirror "^0.1.1"
|
||||
lodash "^3.10.1"
|
||||
lodash "npm:@elastic/lodash@3.10.1-kibana1"
|
||||
numeral "^2.0.6"
|
||||
prop-types "^15.6.0"
|
||||
react-ace "^5.5.0"
|
||||
|
@ -5461,7 +5461,7 @@ lodash.uniqueid@^3.0.0:
|
|||
dependencies:
|
||||
lodash._root "^3.0.0"
|
||||
|
||||
lodash@3.10.1, lodash@^3.10.1:
|
||||
lodash@3.10.1:
|
||||
version "3.10.1"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||
|
||||
|
@ -5481,6 +5481,10 @@ lodash@^4.3.0:
|
|||
version "4.17.5"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
|
||||
|
||||
"lodash@npm:@elastic/lodash@3.10.1-kibana1":
|
||||
version "3.10.1-kibana1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/lodash/-/lodash-3.10.1-kibana1.tgz#9baa52c296ec06a52461f8516bb94172ef53a7fe"
|
||||
|
||||
lodash@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551"
|
||||
|
|
12
yarn.lock
12
yarn.lock
|
@ -115,9 +115,9 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@elastic/eui@4.0.1":
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.0.1.tgz#6543d397fb31836508fa4323564b02da11c642db"
|
||||
"@elastic/eui@4.4.1":
|
||||
version "4.4.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.4.1.tgz#a1a4ab5bb209da8ea6d48c065476e74b1f48249b"
|
||||
dependencies:
|
||||
classnames "^2.2.5"
|
||||
core-js "^2.5.1"
|
||||
|
@ -125,7 +125,7 @@
|
|||
highlight.js "^9.12.0"
|
||||
html "^1.0.0"
|
||||
keymirror "^0.1.1"
|
||||
lodash "^3.10.1"
|
||||
lodash "npm:@elastic/lodash@3.10.1-kibana1"
|
||||
numeral "^2.0.6"
|
||||
prop-types "^15.6.0"
|
||||
react-ace "^5.5.0"
|
||||
|
@ -8768,6 +8768,10 @@ lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.4, l
|
|||
version "4.17.5"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
|
||||
|
||||
"lodash@npm:@elastic/lodash@3.10.1-kibana1":
|
||||
version "3.10.1-kibana1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/lodash/-/lodash-3.10.1-kibana1.tgz#9baa52c296ec06a52461f8516bb94172ef53a7fe"
|
||||
|
||||
lodash@~4.3.0:
|
||||
version "4.3.0"
|
||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.3.0.tgz#efd9c4a6ec53f3b05412429915c3e4824e4d25a4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue