Skip to content

Commit

Permalink
Upgrade EUI to 9.6.0 (elastic#33873)
Browse files Browse the repository at this point in the history
* eui to 9.6.0

* update snapshots related to onClick
  • Loading branch information
thompsongl authored and snide committed Mar 28, 2019
1 parent 81d131a commit 3603613
Show file tree
Hide file tree
Showing 13 changed files with 222 additions and 48 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@babel/polyfill": "^7.2.5",
"@babel/register": "^7.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "9.4.2",
"@elastic/eui": "9.6.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,11 @@ 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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "9.4.0",
"@elastic/eui": "9.6.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "9.4.0",
"@elastic/eui": "9.6.0",
"react": "^16.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "9.4.2",
"@elastic/eui": "9.6.0",
"react": "^16.8.0"
},
"scripts": {
Expand All @@ -19,4 +19,4 @@
"@kbn/plugin-helpers" : "9.0.2",
"typescript": "^3.3.3333"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "9.4.0",
"@elastic/eui": "9.6.0",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.3.4",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "9.4.2",
"@elastic/eui": "9.6.0",
"@elastic/node-crypto": "0.1.2",
"@elastic/numeral": "2.3.2",
"@kbn/babel-preset": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ 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"
Expand Down Expand Up @@ -244,8 +247,11 @@ 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"
Expand Down Expand Up @@ -349,8 +355,11 @@ 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"
Expand Down Expand Up @@ -980,8 +989,11 @@ 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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
// 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>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,11 @@ 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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,11 @@ 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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ Array [
>
<OutsideEventDetector
handleEvent={[Function]}
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<FocusLock
Expand Down Expand Up @@ -510,11 +514,15 @@ Array [
>
<OutsideEventDetector
handleEvent={[Function]}
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<div
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
>
<FocusLock
Expand Down
Loading

0 comments on commit 3603613

Please sign in to comment.