mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* eui to 17.3.0 * eui to 17.3.1 * TS updates * snapshot updates * update data-test-subj Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
90928977e6
commit
9314ed1a63
61 changed files with 69 additions and 372 deletions
|
@ -113,7 +113,7 @@
|
|||
"@elastic/charts": "^14.0.0",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/ems-client": "1.0.5",
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/good": "8.1.1-kibana2",
|
||||
"@elastic/numeral": "2.3.3",
|
||||
|
|
|
@ -2,20 +2,15 @@
|
|||
|
||||
exports[`rendering render matches snapshot 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
style={
|
||||
Object {
|
||||
"minHeight": "100vh",
|
||||
}
|
||||
}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiEmptyPrompt
|
||||
|
|
|
@ -102,10 +102,7 @@ exports[`renders dynamic options should display disabled dynamic options with to
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="listControlSizeInput"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
min={1}
|
||||
onChange={[Function]}
|
||||
value={5}
|
||||
|
@ -296,10 +293,7 @@ exports[`renders dynamic options should display size field when dynamic options
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="listControlSizeInput"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
min={1}
|
||||
onChange={[Function]}
|
||||
value={5}
|
||||
|
@ -459,10 +453,7 @@ exports[`renders should display chaining input when parents are provided 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="listControlSizeInput"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
min={1}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
|
|
|
@ -33,10 +33,7 @@ exports[`renders RangeControlEditor 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="rangeControlSizeInput0"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -58,10 +55,7 @@ exports[`renders RangeControlEditor 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="rangeControlDecimalPlacesInput0"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
min={0}
|
||||
onChange={[Function]}
|
||||
value={0}
|
||||
|
|
|
@ -205,16 +205,12 @@ exports[`DashboardEmptyScreen renders correctly with visualize paragraph 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<main
|
||||
className="euiPageBody"
|
||||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
@ -580,16 +576,12 @@ exports[`DashboardEmptyScreen renders correctly without visualize paragraph 1`]
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<main
|
||||
className="euiPageBody"
|
||||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
|
|
@ -24,9 +24,7 @@ exports[`renders DashboardSaveModal 1`] = `
|
|||
>
|
||||
<EuiTextArea
|
||||
data-test-subj="dashboardDescription"
|
||||
fullWidth={false}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
value="dash description"
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
|
|
@ -7,8 +7,6 @@ exports[`home directories should not render directory entry when showOnHomePage
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -123,8 +121,6 @@ exports[`home directories should render ADMIN directory entry in "Manage" panel
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -252,8 +248,6 @@ exports[`home directories should render DATA directory entry in "Explore Data" p
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -381,8 +375,6 @@ exports[`home isNewKibanaInstance should safely handle execeptions 1`] = `
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -497,8 +489,6 @@ exports[`home isNewKibanaInstance should set isNewKibanaInstance to false when t
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -613,8 +603,6 @@ exports[`home isNewKibanaInstance should set isNewKibanaInstance to true when th
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -729,8 +717,6 @@ exports[`home should render home component 1`] = `
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -845,8 +831,6 @@ exports[`home welcome should show the normal home page if loading fails 1`] = `
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -961,8 +945,6 @@ exports[`home welcome should show the normal home page if welcome screen is disa
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
@ -1085,8 +1067,6 @@ exports[`home welcome stores skip welcome setting if skipped 1`] = `
|
|||
>
|
||||
<EuiPageBody
|
||||
className="eui-displayBlock"
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiScreenReaderOnly>
|
||||
<h1>
|
||||
|
|
|
@ -4,10 +4,7 @@ exports[`isCloudEnabled is false should not render instruction toggle when ON_PR
|
|||
<EuiPage
|
||||
restrictWidth={1200}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<div>
|
||||
<InjectIntl(IntroductionUI)
|
||||
description="tutorial used to drive jest tests"
|
||||
|
@ -53,10 +50,7 @@ exports[`isCloudEnabled is false should render ON_PREM instructions with instruc
|
|||
<EuiPage
|
||||
restrictWidth={1200}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<div>
|
||||
<InjectIntl(IntroductionUI)
|
||||
description="tutorial used to drive jest tests"
|
||||
|
@ -129,10 +123,7 @@ exports[`should render ELASTIC_CLOUD instructions when isCloudEnabled is true 1`
|
|||
<EuiPage
|
||||
restrictWidth={1200}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<div>
|
||||
<InjectIntl(IntroductionUI)
|
||||
description="tutorial used to drive jest tests"
|
||||
|
|
|
@ -240,7 +240,6 @@ exports[`ObjectsTable relationships should show the flyout 1`] = `
|
|||
exports[`ObjectsTable should render normally 1`] = `
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<Header
|
||||
filteredCount={4}
|
||||
|
|
|
@ -2427,10 +2427,8 @@ exports[`Field for number setting should render as read only if saving is disabl
|
|||
>
|
||||
<EuiFieldNumber
|
||||
aria-label="number test setting"
|
||||
compressed={false}
|
||||
data-test-subj="advancedSetting-editField-number:test:setting"
|
||||
disabled={true}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
|
@ -2527,10 +2525,8 @@ exports[`Field for number setting should render as read only with help text if o
|
|||
>
|
||||
<EuiFieldNumber
|
||||
aria-label="number test setting"
|
||||
compressed={false}
|
||||
data-test-subj="advancedSetting-editField-number:test:setting"
|
||||
disabled={true}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
|
@ -2606,10 +2602,8 @@ exports[`Field for number setting should render custom setting icon if it is cus
|
|||
>
|
||||
<EuiFieldNumber
|
||||
aria-label="number test setting"
|
||||
compressed={false}
|
||||
data-test-subj="advancedSetting-editField-number:test:setting"
|
||||
disabled={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
|
@ -2674,10 +2668,8 @@ exports[`Field for number setting should render default value if there is no use
|
|||
>
|
||||
<EuiFieldNumber
|
||||
aria-label="number test setting"
|
||||
compressed={false}
|
||||
data-test-subj="advancedSetting-editField-number:test:setting"
|
||||
disabled={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
|
@ -2781,10 +2773,8 @@ exports[`Field for number setting should render user value if there is user valu
|
|||
>
|
||||
<EuiFieldNumber
|
||||
aria-label="number test setting"
|
||||
compressed={false}
|
||||
data-test-subj="advancedSetting-editField-number:test:setting"
|
||||
disabled={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
|
|
|
@ -139,9 +139,6 @@ exports[`src/legacy/core_plugins/metrics/public/components/splits/terms.test.js
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
|
|
@ -210,10 +210,7 @@ exports[`DurationFormatEditor should render non-human readable output normally 1
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
max={20}
|
||||
min={0}
|
||||
onChange={[Function]}
|
||||
|
|
|
@ -20,10 +20,7 @@ exports[`TruncateFormatEditor should render normally 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
|
|
@ -534,10 +534,7 @@ exports[`UrlFormatEditor should render width and height fields if image 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="urlEditorWidth"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value=""
|
||||
/>
|
||||
|
@ -558,10 +555,7 @@ exports[`UrlFormatEditor should render width and height fields if image 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="urlEditorHeight"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value=""
|
||||
/>
|
||||
|
|
|
@ -21,7 +21,6 @@ exports[`ExtendedBoundsParamEditor should be rendered with default set of props
|
|||
compressed={true}
|
||||
fullWidth={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
prepend="Min"
|
||||
value=""
|
||||
|
@ -33,7 +32,6 @@ exports[`ExtendedBoundsParamEditor should be rendered with default set of props
|
|||
compressed={true}
|
||||
fullWidth={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
prepend="Max"
|
||||
value=""
|
||||
|
|
|
@ -25,7 +25,6 @@ exports[`SizeParamEditor should init with the default set of props 1`] = `
|
|||
data-test-subj="sizeParamEditor"
|
||||
fullWidth={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
min={1}
|
||||
onBlur={[MockFunction]}
|
||||
onChange={[Function]}
|
||||
|
|
|
@ -13,7 +13,6 @@ exports[`NumberRow should be rendered with default set of props 1`] = `
|
|||
compressed={true}
|
||||
fullWidth={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
max={10}
|
||||
min={1}
|
||||
onBlur={[MockFunction]}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { EuiFormRow, EuiFieldNumber } from '@elastic/eui';
|
||||
import { EuiFormRow, EuiFieldNumber, EuiFieldNumberProps } from '@elastic/eui';
|
||||
|
||||
import { FieldHook, getFieldValidityAndErrorMessage } from '../../hook_form_lib';
|
||||
|
||||
|
@ -44,7 +44,7 @@ export const NumericField = ({ field, euiFieldProps = {}, ...rest }: Props) => {
|
|||
>
|
||||
<EuiFieldNumber
|
||||
isInvalid={isInvalid}
|
||||
value={field.value as string}
|
||||
value={field.value as EuiFieldNumberProps['value']}
|
||||
onChange={field.onChange}
|
||||
isLoading={field.isValidating}
|
||||
fullWidth
|
||||
|
|
|
@ -69,9 +69,7 @@ exports[`SavedObjectSaveModal should render matching snapshot 1`] = `
|
|||
>
|
||||
<EuiTextArea
|
||||
data-test-subj="viewDescription"
|
||||
fullWidth={false}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
value=""
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
|
|
@ -547,7 +547,7 @@ export function SettingsPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
async setScriptedFieldScript(script) {
|
||||
log.debug('set scripted field script = ' + script);
|
||||
const aceEditorCssSelector = '[data-test-subj="codeEditorContainer"] .ace_editor';
|
||||
const aceEditorCssSelector = '[data-test-subj="editorFieldScript"] .ace_editor';
|
||||
await find.clickByCssSelector(aceEditorCssSelector);
|
||||
for (let i = 0; i < 1000; i++) {
|
||||
await browser.pressKeys(browser.keys.BACK_SPACE);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0"
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"react": "^16.12.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"react": "^16.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"react": "^16.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -74,7 +74,6 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = `
|
|||
>
|
||||
<div
|
||||
className="euiPopover euiPopover--anchorDownRight"
|
||||
id="sortPopover"
|
||||
onKeyDown={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
onMouseUp={[Function]}
|
||||
|
@ -433,7 +432,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
|
|||
>
|
||||
<div
|
||||
className="euiPopover euiPopover--anchorDownRight"
|
||||
id="sortPopover"
|
||||
onKeyDown={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
onMouseUp={[Function]}
|
||||
|
|
|
@ -9,7 +9,10 @@ import { CommonProps } from '@elastic/eui/src/components/common';
|
|||
import { FormsyInputProps, withFormsy } from 'formsy-react';
|
||||
import React, { Component, InputHTMLAttributes } from 'react';
|
||||
|
||||
interface ComponentProps extends FormsyInputProps, CommonProps, EuiTextAreaProps {
|
||||
interface ComponentProps
|
||||
extends FormsyInputProps,
|
||||
CommonProps,
|
||||
Omit<EuiTextAreaProps, 'onChange' | 'onBlur'> {
|
||||
instantValidation: boolean;
|
||||
label: string;
|
||||
errorText: string;
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
// @ts-ignore currently no definition for EuiFieldPassword
|
||||
import { CommonProps, EuiFieldPassword, EuiFieldPasswordProps, EuiFormRow } from '@elastic/eui';
|
||||
import { FormsyInputProps, withFormsy } from 'formsy-react';
|
||||
import React, { Component, InputHTMLAttributes } from 'react';
|
||||
|
||||
interface ComponentProps extends FormsyInputProps, CommonProps, EuiFieldPasswordProps {
|
||||
interface ComponentProps
|
||||
extends FormsyInputProps,
|
||||
CommonProps,
|
||||
Omit<EuiFieldPasswordProps, 'onChange' | 'onBlur'> {
|
||||
instantValidation?: boolean;
|
||||
label: string;
|
||||
errorText: string;
|
||||
|
|
|
@ -6,13 +6,7 @@
|
|||
|
||||
import React from 'react';
|
||||
|
||||
import {
|
||||
EuiPageContent,
|
||||
EuiPageContentBody,
|
||||
// @ts-ignore
|
||||
EuiStepsHorizontal,
|
||||
EuiTitle,
|
||||
} from '@elastic/eui';
|
||||
import { EuiPageContent, EuiPageContentBody, EuiStepsHorizontal, EuiTitle } from '@elastic/eui';
|
||||
|
||||
interface LayoutProps {
|
||||
title: string;
|
||||
|
|
|
@ -12,7 +12,6 @@ import {
|
|||
EuiComboBox,
|
||||
EuiColorPicker,
|
||||
EuiFieldNumber,
|
||||
// @ts-ignore
|
||||
EuiHighlight,
|
||||
EuiContextMenu,
|
||||
EuiIcon,
|
||||
|
|
|
@ -9,10 +9,7 @@ import React, { useMemo } from 'react';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiComboBox, EuiFlexGroup, EuiFlexItem, EuiComboBoxOptionProps } from '@elastic/eui';
|
||||
import classNames from 'classnames';
|
||||
import {
|
||||
// @ts-ignore
|
||||
EuiHighlight,
|
||||
} from '@elastic/eui';
|
||||
import { EuiHighlight } from '@elastic/eui';
|
||||
import { OperationType } from '../indexpattern';
|
||||
import { LensFieldIcon } from '../lens_field_icon';
|
||||
import { DataType } from '../../types';
|
||||
|
|
|
@ -208,7 +208,11 @@ export const dateHistogramOperation: OperationDefinition<DateHistogramIndexPatte
|
|||
<EuiFlexItem>
|
||||
<EuiFieldNumber
|
||||
data-test-subj="lensDateHistogramValue"
|
||||
value={interval.value}
|
||||
value={
|
||||
typeof interval.value === 'number' || interval.value === ''
|
||||
? interval.value
|
||||
: parseInt(interval.value, 10)
|
||||
}
|
||||
disabled={calendarOnlyIntervals.has(interval.unit)}
|
||||
isInvalid={!isValid}
|
||||
onChange={e => {
|
||||
|
|
|
@ -136,7 +136,6 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
@ -1194,7 +1193,6 @@ exports[`UploadLicense should display an error when ES says license is expired 1
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
@ -1665,7 +1663,6 @@ exports[`UploadLicense should display an error when ES says license is invalid 1
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
@ -2136,7 +2133,6 @@ exports[`UploadLicense should display an error when submitting invalid JSON 1`]
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
@ -2602,7 +2598,6 @@ exports[`UploadLicense should display error when ES returns error 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EuiPanel
|
||||
|
|
|
@ -6,7 +6,6 @@ exports[`PipelineEditor component includes required error message for falsy pipe
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -136,10 +135,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -153,10 +149,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -168,10 +161,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -215,10 +205,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -273,10 +260,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
@ -330,7 +314,6 @@ exports[`PipelineEditor component invalidates form for invalid pipeline id input
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -459,10 +442,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -476,10 +456,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -491,10 +468,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -538,10 +512,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -596,10 +567,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
@ -653,7 +621,6 @@ exports[`PipelineEditor component invalidates form for pipeline id with spaces 1
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -782,10 +749,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -799,10 +763,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -814,10 +775,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -861,10 +819,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -919,10 +874,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
@ -976,7 +928,6 @@ exports[`PipelineEditor component matches snapshot for clone pipeline 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -1074,10 +1025,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -1091,10 +1039,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -1106,10 +1051,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -1153,10 +1095,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -1211,10 +1150,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
@ -1283,7 +1219,6 @@ exports[`PipelineEditor component matches snapshot for create pipeline 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -1408,10 +1343,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -1425,10 +1357,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -1440,10 +1369,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -1487,10 +1413,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -1545,10 +1468,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
@ -1602,7 +1522,6 @@ exports[`PipelineEditor component matches snapshot for edit pipeline 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
style={
|
||||
Object {
|
||||
"width": 1100,
|
||||
|
@ -1700,10 +1619,7 @@ Default value: Number of the host’s CPU cores"
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputWorkers"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={1}
|
||||
/>
|
||||
|
@ -1717,10 +1633,7 @@ Default value: Number of the host’s CPU cores"
|
|||
Default value: 125"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchSize"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={256}
|
||||
/>
|
||||
|
@ -1732,10 +1645,7 @@ Default value: 125"
|
|||
Default value: 50ms"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputBatchDelay"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={10}
|
||||
/>
|
||||
|
@ -1779,10 +1689,7 @@ Default value: memory"
|
|||
Default value: 1024mb (1g)"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueMaxBytesNumber"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</FlexItemSetting>
|
||||
|
@ -1837,10 +1744,7 @@ Default value: 1024mb (1g)"
|
|||
Default value: 1024"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
data-test-subj="inputQueueCheckpointWrites"
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={100}
|
||||
/>
|
||||
|
|
|
@ -117,9 +117,7 @@ exports[`UpgradeFailure component passes expected text for new pipeline 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPanel
|
||||
className="euiPageContent"
|
||||
paddingSize="l"
|
||||
|
@ -461,9 +459,7 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1`
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPanel
|
||||
className="euiPageContent"
|
||||
paddingSize="l"
|
||||
|
@ -805,9 +801,7 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`]
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPanel
|
||||
className="euiPageContent"
|
||||
paddingSize="l"
|
||||
|
@ -1041,9 +1035,7 @@ exports[`UpgradeFailure component renders component as expected 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiEmptyPrompt
|
||||
actions={
|
||||
<UpgradeFailureActions
|
||||
|
|
|
@ -184,9 +184,6 @@ exports[`ConditionExpression renders with appliesTo, operator and value supplied
|
|||
}
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={123}
|
||||
/>
|
||||
|
@ -392,9 +389,6 @@ exports[`ConditionExpression renders with only value supplied 1`] = `
|
|||
}
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
value={123}
|
||||
/>
|
||||
|
|
|
@ -27,8 +27,6 @@ exports[`EditConditionLink renders for a condition using actual 1`] = `
|
|||
<EuiFieldNumber
|
||||
aria-label="Enter numeric value for condition"
|
||||
compressed={true}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
placeholder="Enter value"
|
||||
value={210}
|
||||
|
@ -78,8 +76,6 @@ exports[`EditConditionLink renders for a condition using diff from typical 1`] =
|
|||
<EuiFieldNumber
|
||||
aria-label="Enter numeric value for condition"
|
||||
compressed={true}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
placeholder="Enter value"
|
||||
value={208.8}
|
||||
|
@ -129,8 +125,6 @@ exports[`EditConditionLink renders for a condition using typical 1`] = `
|
|||
<EuiFieldNumber
|
||||
aria-label="Enter numeric value for condition"
|
||||
compressed={true}
|
||||
fullWidth={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
placeholder="Enter value"
|
||||
value={1.23}
|
||||
|
|
|
@ -20,10 +20,7 @@ exports[`Overrides render overrides 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiFieldNumber
|
||||
compressed={false}
|
||||
fullWidth={false}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
|
|
@ -1019,7 +1019,6 @@ exports[`CustomUrlEditor renders the editor for other type of URL with duplicate
|
|||
compressed={true}
|
||||
fullWidth={true}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
rows={2}
|
||||
value="https://www.google.co.uk/search?q=airline+code+$airline$"
|
||||
/>
|
||||
|
@ -1135,7 +1134,6 @@ exports[`CustomUrlEditor renders the editor for other type of URL with unique la
|
|||
compressed={true}
|
||||
fullWidth={true}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
rows={2}
|
||||
value="https://www.google.co.uk/search?q=airline+code+$airline$"
|
||||
/>
|
||||
|
|
|
@ -7,12 +7,10 @@ exports[`NewCalendar Renders new calendar form 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="mlCalendarEditForm"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="mlCalendarEditForm__content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<InjectIntl(CalendarForm)
|
||||
|
|
|
@ -7,12 +7,10 @@ exports[`CalendarsList Renders calendar list with calendars 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="mlCalendarList"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="mlCalendarList__content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<CalendarsListHeader
|
||||
|
|
|
@ -46,9 +46,7 @@ exports[`AddItemPopover calls addItems with multiple items on clicking Add butto
|
|||
labelType="label"
|
||||
>
|
||||
<EuiTextArea
|
||||
fullWidth={false}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
value=""
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
@ -133,9 +131,7 @@ exports[`AddItemPopover opens the popover onButtonClick 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiTextArea
|
||||
fullWidth={false}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
value=""
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
@ -220,9 +216,7 @@ exports[`AddItemPopover renders the popover 1`] = `
|
|||
labelType="label"
|
||||
>
|
||||
<EuiTextArea
|
||||
fullWidth={false}
|
||||
onChange={[Function]}
|
||||
resize="vertical"
|
||||
value=""
|
||||
/>
|
||||
</EuiFormRow>
|
||||
|
|
|
@ -7,12 +7,10 @@ exports[`EditFilterList adds new items to filter list 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -117,12 +115,10 @@ exports[`EditFilterList renders after selecting an item and deleting it 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -229,12 +225,10 @@ exports[`EditFilterList renders after selecting an item and deleting it 2`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -336,12 +330,10 @@ exports[`EditFilterList renders the edit page for a new filter list and updates
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -427,12 +419,10 @@ exports[`EditFilterList renders the edit page for a new filter list and updates
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -518,12 +508,10 @@ exports[`EditFilterList renders the edit page for an existing filter list and up
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -626,12 +614,10 @@ exports[`EditFilterList renders the edit page for an existing filter list and up
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
@ -734,12 +720,10 @@ exports[`EditFilterList updates the items per page 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-edit-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-edit-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<EditFilterListHeader
|
||||
|
|
|
@ -7,12 +7,10 @@ exports[`Filter Lists renders a list of filters 1`] = `
|
|||
/>
|
||||
<EuiPage
|
||||
className="ml-list-filter-lists"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
className="ml-list-filter-lists-content"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<FilterListsHeader
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Overview that overview page renders normally 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent>
|
||||
<Stats
|
||||
stats={Array []}
|
||||
/>
|
||||
|
@ -199,16 +192,9 @@ exports[`Overview that overview page renders normally 1`] = `
|
|||
`;
|
||||
|
||||
exports[`Overview that overview page shows a message if there is no beats data 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent>
|
||||
<Stats
|
||||
stats={Array []}
|
||||
/>
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Ccr that it renders normally 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent>
|
||||
<EuiPageContentBody>
|
||||
<EuiInMemoryTable
|
||||
className="monitoringElasticsearchCcrListingTable"
|
||||
|
|
|
@ -51,17 +51,13 @@ exports[`CcrShard that is renders an exception properly 1`] = `
|
|||
|
||||
exports[`CcrShard that it renders normally 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
style={
|
||||
Object {
|
||||
"backgroundColor": "white",
|
||||
}
|
||||
}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<Status
|
||||
formattedLeader="leader on remote"
|
||||
oldestStat={
|
||||
|
|
|
@ -1,17 +1,11 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`PipelineViewer component passes expected props 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent
|
||||
className="monPipelineViewer"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<StatementSection
|
||||
|
@ -75,17 +69,11 @@ exports[`PipelineViewer component passes expected props 1`] = `
|
|||
`;
|
||||
|
||||
exports[`PipelineViewer component renders DetailDrawer when selected vertex is not null 1`] = `
|
||||
<EuiPage
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent
|
||||
className="monPipelineViewer"
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
verticalPosition="center"
|
||||
>
|
||||
<StatementSection
|
||||
|
|
|
@ -126,7 +126,6 @@ exports[`ApiKeysGridPage renders permission denied if user does not have require
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPanel
|
||||
className="euiPageContent euiPageContent--horizontalCenter"
|
||||
|
|
|
@ -4,13 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import {
|
||||
EuiComboBox,
|
||||
EuiComboBoxOptionProps,
|
||||
EuiHealth,
|
||||
// @ts-ignore
|
||||
EuiHighlight,
|
||||
} from '@elastic/eui';
|
||||
import { EuiComboBox, EuiComboBoxOptionProps, EuiHealth, EuiHighlight } from '@elastic/eui';
|
||||
import { InjectedIntl } from '@kbn/i18n/react';
|
||||
import React, { Component } from 'react';
|
||||
import { Space } from '../../../../../../../../../spaces/common/model/space';
|
||||
|
|
|
@ -10,7 +10,6 @@ exports[`<RolesGridPage /> renders permission denied if required 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPanel
|
||||
className="euiPageContent euiPageContent--horizontalCenter"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
import {
|
||||
EuiButtonIcon,
|
||||
// @ts-ignore
|
||||
EuiHighlight,
|
||||
EuiIcon,
|
||||
EuiFlexGroup,
|
||||
|
|
|
@ -194,7 +194,7 @@ exports[`NoteCardBody renders correctly against snapshot 1`] = `
|
|||
"euiDataGridCellPaddingS": "4px",
|
||||
"euiDataGridColumnResizerWidth": "3px",
|
||||
"euiDataGridPrefix": ".euiDataGrid--",
|
||||
"euiDataGridStyles": "'bordersAll', 'bordersNone', 'bordersHorizontal', 'paddingSmall', 'paddingMedium', 'paddingLarge', 'stripes', 'rowHoverNone', 'rowHoverHighlight', 'headerShade', 'headerUnderline', 'fontSizeSmall', 'fontSizeLarge'",
|
||||
"euiDataGridStyles": "'bordersAll', 'bordersNone', 'bordersHorizontal', 'paddingSmall', 'paddingMedium', 'paddingLarge', 'stripes', 'rowHoverNone', 'rowHoverHighlight', 'headerShade', 'headerUnderline', 'fontSizeSmall', 'fontSizeLarge', 'noControls'",
|
||||
"euiDataGridVerticalBorder": "solid 1px #24272e",
|
||||
"euiDatePickerCalendarWidth": "284px",
|
||||
"euiDragAndDropSpacing": Object {
|
||||
|
|
|
@ -194,7 +194,7 @@ exports[`Paginated Table Component rendering it renders the default load more ta
|
|||
"euiDataGridCellPaddingS": "4px",
|
||||
"euiDataGridColumnResizerWidth": "3px",
|
||||
"euiDataGridPrefix": ".euiDataGrid--",
|
||||
"euiDataGridStyles": "'bordersAll', 'bordersNone', 'bordersHorizontal', 'paddingSmall', 'paddingMedium', 'paddingLarge', 'stripes', 'rowHoverNone', 'rowHoverHighlight', 'headerShade', 'headerUnderline', 'fontSizeSmall', 'fontSizeLarge'",
|
||||
"euiDataGridStyles": "'bordersAll', 'bordersNone', 'bordersHorizontal', 'paddingSmall', 'paddingMedium', 'paddingLarge', 'stripes', 'rowHoverNone', 'rowHoverHighlight', 'headerShade', 'headerUnderline', 'fontSizeSmall', 'fontSizeLarge', 'noControls'",
|
||||
"euiDataGridVerticalBorder": "solid 1px #24272e",
|
||||
"euiDatePickerCalendarWidth": "284px",
|
||||
"euiDragAndDropSpacing": Object {
|
||||
|
|
|
@ -7,7 +7,6 @@ exports[`SpacesGridPage renders as expected 1`] = `
|
|||
>
|
||||
<EuiPageContent
|
||||
horizontalPosition="center"
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiFlexGroup
|
||||
justifyContent="spaceBetween"
|
||||
|
|
|
@ -4,15 +4,10 @@ exports[`it renders without crashing 1`] = `
|
|||
<EuiPage
|
||||
className="spcSpaceSelector"
|
||||
data-test-subj="kibanaSpaceSelector"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody
|
||||
component="main"
|
||||
restrictWidth={false}
|
||||
>
|
||||
<EuiPageBody>
|
||||
<EuiPageHeader
|
||||
className="spcSpaceSelector__heading"
|
||||
responsive={true}
|
||||
>
|
||||
<EuiSpacer
|
||||
size="xxl"
|
||||
|
@ -53,7 +48,6 @@ exports[`it renders without crashing 1`] = `
|
|||
</EuiPageHeader>
|
||||
<EuiPageContent
|
||||
className="spcSpaceSelector__pageContent"
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiFlexGroup
|
||||
alignItems="center"
|
||||
|
|
|
@ -55,9 +55,7 @@ exports[`CheckupTab render with deprecations 1`] = `
|
|||
</p>
|
||||
</EuiCallOut>
|
||||
<EuiSpacer />
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPageContentBody>
|
||||
<InjectIntl(CheckupControlsUI)
|
||||
allDeprecations={
|
||||
|
@ -339,9 +337,7 @@ exports[`CheckupTab render with error 1`] = `
|
|||
</p>
|
||||
</EuiCallOut>
|
||||
<EuiSpacer />
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPageContentBody>
|
||||
<LoadingErrorBanner
|
||||
loadingError={[Error: something bad!]}
|
||||
|
@ -406,9 +402,7 @@ exports[`CheckupTab render without deprecations 1`] = `
|
|||
</p>
|
||||
</EuiCallOut>
|
||||
<EuiSpacer />
|
||||
<EuiPageContent
|
||||
panelPaddingSize="l"
|
||||
>
|
||||
<EuiPageContent>
|
||||
<EuiPageContentBody>
|
||||
<EuiEmptyPrompt
|
||||
body={
|
||||
|
|
|
@ -8,8 +8,6 @@ import { find } from 'lodash';
|
|||
import React, { Fragment } from 'react';
|
||||
|
||||
import {
|
||||
// @ts-ignore
|
||||
EuiAccordion,
|
||||
EuiCallOut,
|
||||
EuiEmptyPrompt,
|
||||
EuiLink,
|
||||
|
|
|
@ -13,8 +13,6 @@ import {
|
|||
EuiPageContent,
|
||||
EuiPageContentBody,
|
||||
EuiSpacer,
|
||||
// @ts-ignore
|
||||
EuiStat,
|
||||
EuiText,
|
||||
} from '@elastic/eui';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
|
|
|
@ -186,7 +186,11 @@ export const JsonWatchEditSimulate = ({
|
|||
<EuiFlexGroup>
|
||||
<EuiFlexItem>
|
||||
<EuiFieldNumber
|
||||
value={scheduledTimeValue}
|
||||
value={
|
||||
scheduledTimeValue == null || scheduledTimeValue === ''
|
||||
? scheduledTimeValue
|
||||
: parseInt(scheduledTimeValue, 10)
|
||||
}
|
||||
min={0}
|
||||
data-test-subj="scheduledTimeInput"
|
||||
onChange={e => {
|
||||
|
@ -225,7 +229,11 @@ export const JsonWatchEditSimulate = ({
|
|||
)}
|
||||
>
|
||||
<EuiFieldNumber
|
||||
value={triggeredTimeValue}
|
||||
value={
|
||||
triggeredTimeValue == null || triggeredTimeValue === ''
|
||||
? triggeredTimeValue
|
||||
: parseInt(triggeredTimeValue, 10)
|
||||
}
|
||||
min={0}
|
||||
data-test-subj="triggeredTimeInput"
|
||||
append={
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
"@babel/runtime": "^7.5.5",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/ems-client": "1.0.5",
|
||||
"@elastic/eui": "17.1.2",
|
||||
"@elastic/eui": "17.3.1",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/maki": "6.1.0",
|
||||
"@elastic/node-crypto": "^1.0.0",
|
||||
|
|
|
@ -1941,10 +1941,10 @@
|
|||
tabbable "^1.1.0"
|
||||
uuid "^3.1.0"
|
||||
|
||||
"@elastic/eui@17.1.2":
|
||||
version "17.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-17.1.2.tgz#2167ec61ce14c6896844b5ebf890a0b88e0b8c51"
|
||||
integrity sha512-B0zhJ449fLdjFXED9ibbnx7/ez4M0842O3ZaxbohP7IEIC/oHWhJhWBW0UEtRHlk7tD6uDp4RPjO5GmRKXSLBQ==
|
||||
"@elastic/eui@17.3.1":
|
||||
version "17.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-17.3.1.tgz#67d883207b2efdb9a48f2d949b95de1e4bbc1064"
|
||||
integrity sha512-fYoPbRXr9mZlTcfSqOCE65yb2Zpsptq4Y1Lg8+aeMw8G5JpMnUx1RaBRe1OJrCRHWpuF0f8Yxg+i1DDqxxLnlA==
|
||||
dependencies:
|
||||
"@types/lodash" "^4.14.116"
|
||||
"@types/numeral" "^0.0.25"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue