Upgraded EUI 13.0.0 -> 13.1.1 (#42298)

* Upgraded EUI 13.0.0 -> 13.1.0

* Bump to 13.1.1

* Reset MutationObserver polyfill to original operation

* Reset x-pack's MutationObserver polyfill to original operation
This commit is contained in:
Chandler Prall 2019-08-02 12:42:07 -06:00 committed by GitHub
parent 4a234b9209
commit da99d4520b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 87 additions and 147 deletions

View file

@ -106,7 +106,7 @@
"@babel/register": "7.4.4",
"@elastic/charts": "^7.2.1",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "13.0.0",
"@elastic/eui": "13.1.1",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.3",

View file

@ -23,17 +23,6 @@ const bluebird = require('bluebird');
bluebird.Promise.setScheduler(function (fn) { global.setImmediate.call(global, fn); });
const MutationObserver = require('mutation-observer');
// There's a bug in mutation-observer around the `attributes` option
// https://dom.spec.whatwg.org/#mutationobserver
// If either options's attributeOldValue or attributeFilter is present and options's attributes is omitted, then set options's attributes to true.
const _observe = MutationObserver.prototype.observe;
MutationObserver.prototype.observe = function observe(target, options) {
const needsAttributes = options.hasOwnProperty('attributeOldValue') || options.hasOwnProperty('attributeFilter');
if (needsAttributes && !options.hasOwnProperty('attributes')) {
options.attributes = true;
}
Function.prototype.call(_observe, this, target, options);
};
Object.defineProperty(window, 'MutationObserver', { value: MutationObserver });
require('whatwg-fetch');

View file

@ -79,6 +79,7 @@ exports[`QueryBar Should render the given query 1`] = `
dateFormat="YY"
end="now"
isAutoRefreshOnly={false}
isDisabled={false}
isPaused={true}
onTimeChange={[Function]}
recentlyUsedRanges={

View file

@ -19,7 +19,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-time-tt"
aria-label="Sort time descending"
class="fa fa-sort-up"
data-test-subj="docTableHeaderFieldSort_time"
@ -38,7 +37,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-first-tt"
aria-label="Remove first column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-first"
@ -48,7 +46,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-first-tt"
aria-label="Move first column to the right"
class="fa fa-angle-double-right kbnDocTableHeader__move"
data-test-subj="docTableMoveRightHeader-first"
@ -67,7 +64,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Remove middle column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-middle"
@ -77,7 +73,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Move middle column to the left"
class="fa fa-angle-double-left kbnDocTableHeader__move"
data-test-subj="docTableMoveLeftHeader-middle"
@ -87,7 +82,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Move middle column to the right"
class="fa fa-angle-double-right kbnDocTableHeader__move"
data-test-subj="docTableMoveRightHeader-middle"
@ -106,7 +100,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-last-tt"
aria-label="Remove last column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-last"
@ -116,7 +109,6 @@ exports[`TableHeader with time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-last-tt"
aria-label="Move last column to the left"
class="fa fa-angle-double-left kbnDocTableHeader__move"
data-test-subj="docTableMoveLeftHeader-last"
@ -146,7 +138,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-first-tt"
aria-label="Remove first column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-first"
@ -156,7 +147,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-first-tt"
aria-label="Move first column to the right"
class="fa fa-angle-double-right kbnDocTableHeader__move"
data-test-subj="docTableMoveRightHeader-first"
@ -175,7 +165,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Remove middle column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-middle"
@ -185,7 +174,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Move middle column to the left"
class="fa fa-angle-double-left kbnDocTableHeader__move"
data-test-subj="docTableMoveLeftHeader-middle"
@ -195,7 +183,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-middle-tt"
aria-label="Move middle column to the right"
class="fa fa-angle-double-right kbnDocTableHeader__move"
data-test-subj="docTableMoveRightHeader-middle"
@ -214,7 +201,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-last-tt"
aria-label="Remove last column"
class="fa fa-remove kbnDocTableHeader__move"
data-test-subj="docTableRemoveHeader-last"
@ -224,7 +210,6 @@ exports[`TableHeader without time column renders correctly 1`] = `
class="euiToolTipAnchor"
>
<button
aria-describedby="docTableHeader-last-tt"
aria-label="Move last column to the left"
class="fa fa-angle-double-left kbnDocTableHeader__move"
data-test-subj="docTableMoveLeftHeader-last"

View file

@ -611,6 +611,7 @@ exports[`Flyout should render import step 1`] = `
>
<EuiFilePicker
compressed={false}
display="large"
initialPromptText={
<FormattedMessage
defaultMessage="Import"

View file

@ -899,6 +899,7 @@ exports[`Field for image setting should render as read only if saving is disable
compressed={false}
data-test-subj="advancedSetting-editField-image:test:setting"
disabled={true}
display="large"
initialPromptText="Select or drag and drop a file"
onChange={[Function]}
onKeyDown={[Function]}
@ -1069,6 +1070,7 @@ exports[`Field for image setting should render custom setting icon if it is cust
compressed={false}
data-test-subj="advancedSetting-editField-image:test:setting"
disabled={false}
display="large"
initialPromptText="Select or drag and drop a file"
onChange={[Function]}
onKeyDown={[Function]}
@ -1133,6 +1135,7 @@ exports[`Field for image setting should render default value if there is no user
compressed={false}
data-test-subj="advancedSetting-editField-image:test:setting"
disabled={false}
display="large"
initialPromptText="Select or drag and drop a file"
onChange={[Function]}
onKeyDown={[Function]}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -12,15 +12,4 @@ const bluebird = require('bluebird');
bluebird.Promise.setScheduler(function (fn) { global.setImmediate.call(global, fn); });
const MutationObserver = require('mutation-observer');
// There's a bug in mutation-observer around the `attributes` option
// https://dom.spec.whatwg.org/#mutationobserver
// If either options's attributeOldValue or attributeFilter is present and options's attributes is omitted, then set options's attributes to true.
const _observe = MutationObserver.prototype.observe;
MutationObserver.prototype.observe = function observe(target, options) {
const needsAttributes = options.hasOwnProperty('attributeOldValue') || options.hasOwnProperty('attributeFilter');
if (needsAttributes && !options.hasOwnProperty('attributes')) {
options.attributes = true;
}
Function.prototype.call(_observe, this, target, options);
};
Object.defineProperty(window, 'MutationObserver', { value: MutationObserver });

View file

@ -670,7 +670,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<a
aria-describedby="error-message-tooltip"
className="euiLink euiLink--primary c2"
href="#/services/opbeans-python/errors/a0ce2c8978ef92cdf2ff163ae28576ee?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
onBlur={[Function]}
@ -687,7 +686,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="error-culprit-tooltip"
className="c3"
onBlur={[Function]}
onFocus={[Function]}
@ -779,7 +777,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<a
aria-describedby="error-message-tooltip"
className="euiLink euiLink--primary c2"
href="#/services/opbeans-python/errors/f3ac95493913cc7a3cfec30a19d2120a?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
onBlur={[Function]}
@ -796,7 +793,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="error-culprit-tooltip"
className="c3"
onBlur={[Function]}
onFocus={[Function]}
@ -888,7 +884,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<a
aria-describedby="error-message-tooltip"
className="euiLink euiLink--primary c2"
href="#/services/opbeans-python/errors/e90863d04b7a692435305f09bbe8c840?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
onBlur={[Function]}
@ -905,7 +900,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="error-culprit-tooltip"
className="c3"
onBlur={[Function]}
onFocus={[Function]}
@ -997,7 +991,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<a
aria-describedby="error-message-tooltip"
className="euiLink euiLink--primary c2"
href="#/services/opbeans-python/errors/8673d8bf7a032e387c101bafbab0d2bc?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
onBlur={[Function]}
@ -1014,7 +1007,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="error-culprit-tooltip"
className="c3"
onBlur={[Function]}
onFocus={[Function]}

View file

@ -115,15 +115,9 @@ NodeList [
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<path
d="M13.6 12.186l-1.357-1.358c-.025-.025-.058-.034-.084-.056.53-.794.84-1.746.84-2.773a4.977 4.977 0 0 0-.84-2.772c.026-.02.059-.03.084-.056L13.6 3.813a6.96 6.96 0 0 1 0 8.373zM8 15A6.956 6.956 0 0 1 3.814 13.6l1.358-1.358c.025-.025.034-.057.055-.084C6.02 12.688 6.974 13 8 13a4.978 4.978 0 0 0 2.773-.84c.02.026.03.058.056.083l1.357 1.358A6.956 6.956 0 0 1 8 15zm-5.601-2.813a6.963 6.963 0 0 1 0-8.373l1.359 1.358c.024.025.057.035.084.056A4.97 4.97 0 0 0 3 8c0 1.027.31 1.98.842 2.773-.027.022-.06.031-.084.056l-1.36 1.358zm5.6-.187A4 4 0 1 1 8 4a4 4 0 0 1 0 8zM8 1c1.573 0 3.019.525 4.187 1.4l-1.357 1.358c-.025.025-.035.057-.056.084A4.979 4.979 0 0 0 8 3a4.979 4.979 0 0 0-2.773.842c-.021-.027-.03-.059-.055-.084L3.814 2.4A6.957 6.957 0 0 1 8 1zm0-1a8.001 8.001 0 1 0 .003 16.002A8.001 8.001 0 0 0 8 0z"
id="help-a"
/>
</defs>
<use
<path
d="M13.6 12.186l-1.357-1.358c-.025-.025-.058-.034-.084-.056.53-.794.84-1.746.84-2.773a4.977 4.977 0 0 0-.84-2.772c.026-.02.059-.03.084-.056L13.6 3.813a6.96 6.96 0 0 1 0 8.373zM8 15A6.956 6.956 0 0 1 3.814 13.6l1.358-1.358c.025-.025.034-.057.055-.084C6.02 12.688 6.974 13 8 13a4.978 4.978 0 0 0 2.773-.84c.02.026.03.058.056.083l1.357 1.358A6.956 6.956 0 0 1 8 15zm-5.601-2.813a6.963 6.963 0 0 1 0-8.373l1.359 1.358c.024.025.057.035.084.056A4.97 4.97 0 0 0 3 8c0 1.027.31 1.98.842 2.773-.027.022-.06.031-.084.056l-1.36 1.358zm5.6-.187A4 4 0 1 1 8 4a4 4 0 0 1 0 8zM8 1c1.573 0 3.019.525 4.187 1.4l-1.357 1.358c-.025.025-.035.057-.056.084A4.979 4.979 0 0 0 8 3a4.979 4.979 0 0 0-2.773.842c-.021-.027-.03-.059-.055-.084L3.814 2.4A6.957 6.957 0 0 1 8 1zm0-1a8.001 8.001 0 1 0 .003 16.002A8.001 8.001 0 0 0 8 0z"
fill-rule="evenodd"
xlink:href="#help-a"
/>
</svg>
<span
@ -163,7 +157,6 @@ NodeList [
class="euiToolTipAnchor"
>
<a
aria-describedby="service-name-tooltip"
class="euiLink euiLink--primary sc-bdVaJa eQDnXY"
href="#/services/My Go Service/transactions?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
rel="noreferrer"
@ -262,7 +255,6 @@ NodeList [
class="euiToolTipAnchor"
>
<a
aria-describedby="service-name-tooltip"
class="euiLink euiLink--primary sc-bdVaJa eQDnXY"
href="#/services/My Python Service/transactions?rangeFrom=now-24h&rangeTo=now&refreshPaused=true&refreshInterval=0"
rel="noreferrer"

View file

@ -25,15 +25,9 @@ exports[`TransactionActionMenu component should match the snapshot 1`] = `
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<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
fill-rule="nonzero"
xlink:href="#arrow_down-a"
<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"
fill-rule="non-zero"
/>
</svg>
<span

View file

@ -541,7 +541,6 @@ exports[`Timeline should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="timeToFirstByte"
className="c0"
disabled={false}
fontSize="12px"
@ -571,7 +570,6 @@ exports[`Timeline should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="domInteractive"
className="c0"
disabled={false}
fontSize="12px"
@ -601,7 +599,6 @@ exports[`Timeline should render with data 1`] = `
onMouseOver={[Function]}
>
<div
aria-describedby="domComplete"
className="c0"
disabled={false}
fontSize="12px"

View file

@ -75,7 +75,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Create image element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -173,7 +172,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}
@ -275,7 +273,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Create image element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -373,7 +370,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}

View file

@ -20,7 +20,6 @@ exports[`Storyshots components/Elements/ElementControls has two buttons 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Edit element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -50,7 +49,6 @@ exports[`Storyshots components/Elements/ElementControls has two buttons 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete element"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}

View file

@ -61,7 +61,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Edit element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -91,7 +90,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete element"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}
@ -164,7 +162,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Edit element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -194,7 +191,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete element"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}
@ -267,7 +263,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Edit element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -297,7 +292,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete element"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}
@ -385,7 +379,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls and filter 1`]
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Edit element"
className="euiButtonIcon euiButtonIcon--primary"
onBlur={[Function]}
@ -415,7 +408,6 @@ exports[`Storyshots components/Elements/ElementGrid with controls and filter 1`]
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Delete element"
className="euiButtonIcon euiButtonIcon--danger"
onBlur={[Function]}

View file

@ -35,7 +35,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader default 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Save as new element"
className="euiButtonIcon euiButtonIcon--text"
onBlur={[Function]}
@ -78,7 +77,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader default 1`] = `
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Element options"
className="euiButtonIcon euiButtonIcon--text"
onBlur={[Function]}
@ -142,7 +140,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader without layer controls 1`]
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Save as new element"
className="euiButtonIcon euiButtonIcon--text"
onBlur={[Function]}
@ -185,7 +182,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader without layer controls 1`]
onMouseOver={[Function]}
>
<button
aria-describedby="generated-id"
aria-label="Element options"
className="euiButtonIcon euiButtonIcon--text"
onBlur={[Function]}

View file

@ -185,7 +185,6 @@ exports[`Storyshots arguments/SeriesStyle/components simple: no series 1`] = `
onMouseOver={[Function]}
>
<svg
aria-describedby="generated-id"
aria-label="Info"
className="euiIcon euiIcon--medium euiIcon--warning euiIcon-isLoading"
focusable="true"

View file

@ -860,6 +860,7 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
>
<EuiFilePicker
compressed={false}
display="large"
id="licenseFile"
initialPromptText={
<FormattedMessage
@ -885,20 +886,22 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
}
>
<div
className="euiFilePicker"
className="euiFilePicker euiFilePicker--large"
>
<div
className="euiFilePicker__wrap"
>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
<EuiValidatableControl>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
</EuiValidatableControl>
<div
className="euiFilePicker__prompt"
>
@ -1314,6 +1317,7 @@ exports[`UploadLicense should display an error when ES says license is expired 1
>
<EuiFilePicker
compressed={false}
display="large"
id="licenseFile"
initialPromptText={
<FormattedMessage
@ -1339,20 +1343,22 @@ exports[`UploadLicense should display an error when ES says license is expired 1
}
>
<div
className="euiFilePicker"
className="euiFilePicker euiFilePicker--large"
>
<div
className="euiFilePicker__wrap"
>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
<EuiValidatableControl>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
</EuiValidatableControl>
<div
className="euiFilePicker__prompt"
>
@ -1772,6 +1778,7 @@ exports[`UploadLicense should display an error when ES says license is invalid 1
>
<EuiFilePicker
compressed={false}
display="large"
id="licenseFile"
initialPromptText={
<FormattedMessage
@ -1797,20 +1804,22 @@ exports[`UploadLicense should display an error when ES says license is invalid 1
}
>
<div
className="euiFilePicker"
className="euiFilePicker euiFilePicker--large"
>
<div
className="euiFilePicker__wrap"
>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
<EuiValidatableControl>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
</EuiValidatableControl>
<div
className="euiFilePicker__prompt"
>
@ -2230,6 +2239,7 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`]
>
<EuiFilePicker
compressed={false}
display="large"
id="licenseFile"
initialPromptText={
<FormattedMessage
@ -2255,20 +2265,22 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`]
}
>
<div
className="euiFilePicker"
className="euiFilePicker euiFilePicker--large"
>
<div
className="euiFilePicker__wrap"
>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
<EuiValidatableControl>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
</EuiValidatableControl>
<div
className="euiFilePicker__prompt"
>
@ -2684,6 +2696,7 @@ exports[`UploadLicense should display error when ES returns error 1`] = `
>
<EuiFilePicker
compressed={false}
display="large"
id="licenseFile"
initialPromptText={
<FormattedMessage
@ -2709,20 +2722,22 @@ exports[`UploadLicense should display error when ES returns error 1`] = `
}
>
<div
className="euiFilePicker"
className="euiFilePicker euiFilePicker--large"
>
<div
className="euiFilePicker__wrap"
>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
<EuiValidatableControl>
<input
className="euiFilePicker__input"
id="licenseFile"
onChange={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDrop={[Function]}
type="file"
/>
</EuiValidatableControl>
<div
className="euiFilePicker__prompt"
>

View file

@ -45,6 +45,7 @@ exports[`ImportModal Renders import modal 1`] = `
<EuiFilePicker
compressed={true}
disabled={false}
display="large"
initialPromptText="Select or drag and drop a file"
onChange={[Function]}
/>

View file

@ -173,7 +173,7 @@
"@babel/runtime": "7.4.5",
"@elastic/ctags-langserver": "^0.1.2",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "13.0.0",
"@elastic/eui": "13.1.1",
"@elastic/javascript-typescript-langserver": "^0.2.1",
"@elastic/lsp-extension": "^0.1.2",
"@elastic/node-crypto": "^1.0.0",

View file

@ -1659,10 +1659,10 @@
tabbable "^1.1.0"
uuid "^3.1.0"
"@elastic/eui@13.0.0":
version "13.0.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-13.0.0.tgz#bead6830cff58a2cc617e9e9f1d344768bdd7004"
integrity sha512-nU/kgp6c4cH5IdcgD3XXEh0Gkbzf4byacJN62oYr1UGTWC0RT8N09FAQzDFIEGz+lDWTSLhap9RWPH3Kgy+O/A==
"@elastic/eui@13.1.1":
version "13.1.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-13.1.1.tgz#35ff2bdb4f38b12a2a82108d9b10ba5949eef3a9"
integrity sha512-yPqxQYWSIEO4nhgWDHY48Ty9eUD1xLYogKUPXzla3OESOj8vqYLD/fCYX4M3s32NZgLzjvy8AaFiCNsZ3SF6yw==
dependencies:
"@types/lodash" "^4.14.116"
"@types/numeral" "^0.0.25"