Revert "Upgrade EUI to 9.6.0 (#33873)"

This reverts commit 3603613653.
This commit is contained in:
Chandler Prall 2019-03-28 10:18:29 -06:00
parent 6ec3c3da5b
commit cb53a9941d
13 changed files with 48 additions and 222 deletions

View file

@ -97,7 +97,7 @@
"@babel/polyfill": "^7.2.5",
"@babel/register": "^7.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "9.6.0",
"@elastic/eui": "9.4.2",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.2",

View file

@ -242,11 +242,8 @@ exports[`InspectorPanel should render as expected 1`] = `
<div
className="euiPopover euiPopover--anchorDownRight"
id="inspectorViewChooser"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"

View file

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

View file

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

View file

@ -8,7 +8,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "9.6.0",
"@elastic/eui": "9.4.2",
"react": "^16.8.0"
},
"scripts": {
@ -19,4 +19,4 @@
"@kbn/plugin-helpers" : "9.0.2",
"typescript": "^3.3.3333"
}
}
}

View file

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

View file

@ -120,7 +120,7 @@
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.3.4",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "9.6.0",
"@elastic/eui": "9.4.2",
"@elastic/node-crypto": "0.1.2",
"@elastic/numeral": "2.3.2",
"@kbn/babel-preset": "1.0.0",

View file

@ -23,11 +23,8 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = `
<div
className="euiPopover euiPopover--anchorDownRight"
id="sortPopover"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"
@ -247,11 +244,8 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = `
<div
className="euiPopover euiPopover--anchorUpRight euiPopover--withTitle"
id="customizablePagination"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"
@ -355,11 +349,8 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
<div
className="euiPopover euiPopover--anchorDownRight"
id="sortPopover"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"
@ -989,11 +980,8 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
<div
className="euiPopover euiPopover--anchorUpRight euiPopover--withTitle"
id="customizablePagination"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"

View file

@ -1,171 +0,0 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Storyshots components/FontPicker default 1`] = `
<div
className="euiPopover euiPopover--anchorDownCenter euiSuperSelect"
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor euiSuperSelect__popoverAnchor"
>
<input
defaultValue=""
type="hidden"
/>
<div
className="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<span
className="euiScreenReaderOnly"
id="generated-id"
>
Select an option: , is selected
</span>
<button
aria-haspopup="true"
aria-labelledby="undefined generated-id"
className="euiSuperSelectControl euiSuperSelectControl--compressed"
onChange={[Function]}
onClick={[Function]}
onKeyDown={[Function]}
role="option"
type="button"
>
</button>
<div
className="euiFormControlLayoutIcons euiFormControlLayoutIcons--right"
>
<span
className="euiFormControlLayoutCustomIcon"
>
<svg
aria-hidden="true"
className="euiIcon euiIcon--medium euiFormControlLayoutCustomIcon__icon"
focusable="false"
height="16"
style={null}
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fillRule="nonzero"
xlinkHref="#arrow_down-a"
/>
</svg>
</span>
</div>
</div>
</div>
</div>
</div>
`;
exports[`Storyshots components/FontPicker with value 1`] = `
<div
className="euiPopover euiPopover--anchorDownCenter euiSuperSelect"
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor euiSuperSelect__popoverAnchor"
>
<input
type="hidden"
value="'American Typewriter', 'Courier New', Courier, Monaco, mono"
/>
<div
className="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<span
className="euiScreenReaderOnly"
id="generated-id"
>
Select an option:
<div
style={
Object {
"fontFamily": "'American Typewriter', 'Courier New', Courier, Monaco, mono",
}
}
>
American Typewriter
</div>
, is selected
</span>
<button
aria-haspopup="true"
aria-labelledby="undefined generated-id"
className="euiSuperSelectControl euiSuperSelectControl--compressed"
onChange={[Function]}
onClick={[Function]}
onKeyDown={[Function]}
role="option"
type="button"
>
<div
style={
Object {
"fontFamily": "'American Typewriter', 'Courier New', Courier, Monaco, mono",
}
}
>
American Typewriter
</div>
</button>
<div
className="euiFormControlLayoutIcons euiFormControlLayoutIcons--right"
>
<span
className="euiFormControlLayoutCustomIcon"
>
<svg
aria-hidden="true"
className="euiIcon euiIcon--medium euiFormControlLayoutCustomIcon__icon"
focusable="false"
height="16"
style={null}
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
id="arrow_down-a"
/>
</defs>
<use
fillRule="nonzero"
xlinkHref="#arrow_down-a"
/>
</svg>
</span>
</div>
</div>
</div>
</div>
</div>
`;

View file

@ -524,11 +524,8 @@ exports[`ilm summary extension should return extension when index has lifecycle
<div
className="euiPopover euiPopover--anchorDownCenter euiPopover--withTitle"
id="phaseExecutionPopover"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"

View file

@ -339,11 +339,8 @@ exports[`TelemetryOptIn should display when telemetry not opted in 1`] = `
<div
className="euiPopover euiPopover--anchorDownCenter eui-AlignBaseline"
id="readMorePopover"
onClick={[Function]}
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
className="euiPopover__anchor"

View file

@ -83,15 +83,11 @@ Array [
>
<OutsideEventDetector
handleEvent={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
onClick={[Function]}
>
<div
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<FocusLock
@ -514,15 +510,11 @@ Array [
>
<OutsideEventDetector
handleEvent={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
onClick={[Function]}
>
<div
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<FocusLock

View file

@ -785,10 +785,36 @@
tabbable "^1.1.0"
uuid "^3.1.0"
"@elastic/eui@9.6.0":
version "9.6.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-9.6.0.tgz#740107869b1448348e603d4b1992daf3d5004d3a"
integrity sha512-/uZdPaf2TwTCT3MJsoz4yOqOVrAWhb3ziZtXIUIL/EWGQoha6Z8+wEhpixW472KVvp8bGJl3uDoTwTzDk3TAKw==
"@elastic/eui@9.4.0":
version "9.4.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-9.4.0.tgz#e5f83c612674fc6f59e990f557e563be1409d25e"
integrity sha512-cQnsU3UeQ1s6F427vY53lzlh7mvNoPmIvPL24B5jH3JYaWULhIL1xSJXJgDSOSdrdHCxkXDD9Q8Y7256x4Xf4Q==
dependencies:
"@types/lodash" "^4.14.116"
"@types/numeral" "^0.0.25"
classnames "^2.2.5"
core-js "^2.5.1"
highlight.js "^9.12.0"
html "^1.0.0"
keymirror "^0.1.1"
lodash "^4.17.11"
numeral "^2.0.6"
prop-types "^15.6.0"
react-ace "^5.5.0"
react-color "^2.13.8"
react-focus-lock "^1.17.7"
react-input-autosize "^2.2.1"
react-is "~16.3.0"
react-virtualized "^9.18.5"
react-vis "1.10.2"
resize-observer-polyfill "^1.5.0"
tabbable "^1.1.0"
uuid "^3.1.0"
"@elastic/eui@9.4.2":
version "9.4.2"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-9.4.2.tgz#530ec18f9b1cb3972824a707cc0cb3005c6c5028"
integrity sha512-2fH+WiYYq1tPn5mEvg5NR5b9TjVYY0cM26HPERMRMZyAenGFQtjhansO8qFlTl/MAYz5GsQ7ejgdtzu095opdw==
dependencies:
"@types/lodash" "^4.14.116"
"@types/numeral" "^0.0.25"