* EUI@10.4.0

* Fix TS typing in src/legacy/ui/public/chrome/directives/header_global_nav/components/header.tsx
This commit is contained in:
dave.snider@gmail.com 2019-05-06 13:36:02 -07:00 committed by GitHub
parent 55cd59b4e8
commit 654bce800f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 19 additions and 11 deletions

View file

@ -104,7 +104,7 @@
"@babel/polyfill": "^7.2.5",
"@babel/register": "^7.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.3",

View file

@ -23,6 +23,7 @@ exports[`render 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>
@ -106,6 +107,7 @@ exports[`statusCheckState checking status 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>
@ -224,6 +226,7 @@ exports[`statusCheckState failed status check - error 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>
@ -347,6 +350,7 @@ exports[`statusCheckState failed status check - no data 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>
@ -470,6 +474,7 @@ exports[`statusCheckState initial state - no check has been attempted 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>
@ -588,6 +593,7 @@ exports[`statusCheckState successful status check 1`] = `
/>
</EuiFlexGroup>
<EuiTabs
display="default"
expand={false}
size="m"
>

View file

@ -320,7 +320,7 @@ class HeaderUI extends Component<Props, State> {
);
}
private onNavClick = (event: React.MouseEvent<HTMLDivElement>) => {
private onNavClick = (event: React.MouseEvent<HTMLAnchorElement>) => {
const anchor = findClosestAnchor((event as any).nativeEvent.target);
if (!anchor) {
return;

View file

@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}

View file

@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"react": "^16.8.0"
}
}

View file

@ -8,7 +8,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"react": "^16.8.0"
},
"scripts": {

View file

@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}

View file

@ -165,7 +165,7 @@
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.3.4",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "10.3.1",
"@elastic/eui": "10.4.0",
"@elastic/javascript-typescript-langserver": "^0.1.23",
"@elastic/lsp-extension": "^0.1.1",
"@elastic/node-crypto": "^1.0.0",

View file

@ -61,6 +61,7 @@ exports[`DetailView should render TabContent 1`] = `
exports[`DetailView should render tabs 1`] = `
<EuiTabs
display="default"
expand={false}
size="m"
>

View file

@ -3,6 +3,7 @@
exports[`HistoryTabs should render correctly 1`] = `
<Fragment>
<EuiTabs
display="default"
expand={false}
size="m"
>

View file

@ -1359,10 +1359,10 @@
tabbable "^1.1.0"
uuid "^3.1.0"
"@elastic/eui@10.3.1":
version "10.3.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-10.3.1.tgz#311b26b94d5d6ec75c1d9eb0e36db04b18832e8e"
integrity sha512-fd1omBkJCxCHVqzTIn3+13nF0ROBHriaHSw/0QSRI4M7qQOyBF+o4m4C9wrIKYAZG5lemWvz0COzWrzDNto/+w==
"@elastic/eui@10.4.0":
version "10.4.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-10.4.0.tgz#faca9d313aea710b0538f8796522d1bcdb0adc9f"
integrity sha512-hYn0KGC2P2L+/pJUB9KJO2w9GyD39UwzG6JNtLaSE1MIVO0no6GM6hPOlOuU/L8QWmXHEZw8kd3HX2mph8nnng==
dependencies:
"@types/lodash" "^4.14.116"
"@types/numeral" "^0.0.25"