Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update eui to 4.5.1 #24218

Merged
merged 5 commits into from
Oct 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"**/@types/node": "8.10.21"
},
"dependencies": {
"@elastic/eui": "4.4.1",
"@elastic/eui": "4.5.1",
"@elastic/filesaver": "1.1.2",
"@elastic/numeral": "2.3.2",
"@elastic/ui-ace": "0.2.3",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
"dependencies": {
"@elastic/datemath": "^4.0.2",
"@elastic/eui": "4.4.1",
"@elastic/eui": "4.5.1",
"@elastic/node-crypto": "0.1.2",
"@elastic/node-phantom-simple": "2.2.4",
"@elastic/numeral": "2.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export class EnrollBeat extends React.Component<BeatsProps, any> {
<EuiSelect
value={this.state.beatType}
options={[
{ value: 'filebeat', label: 'Filebeat' },
{ value: 'metricbeat', label: 'Metricbeat' },
{ value: 'filebeat', text: 'Filebeat' },
{ value: 'metricbeat', text: 'Metricbeat' },
]}
onChange={(e: any) => this.setState({ beatType: e.target.value })}
fullWidth={true}
Expand All @@ -149,17 +149,17 @@ export class EnrollBeat extends React.Component<BeatsProps, any> {
options={[
{
value: `sudo ${this.state.beatType}`,
label: 'DEB / RPM',
text: 'DEB / RPM',
},
{
value: `PS C:\\Program Files\\${capitalize(this.state.beatType)}> ${
this.state.beatType
}.exe`,
label: 'Windows',
text: 'Windows',
},
{
value: `./${this.state.beatType}`,
label: 'MacOS',
text: 'MacOS',
},
]}
onChange={(e: any) => this.setState({ command: e.target.value })}
Expand Down
4 changes: 3 additions & 1 deletion x-pack/plugins/infra/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ export function infra(kibana: any) {
{
description: 'Explore your infrastructure',
icon: 'plugins/infra/images/infra_mono_white.svg',
euiIconType: 'infraApp',
id: 'infra:home',
order: 8000,
title: 'InfraOps',
title: 'Infra Ops',
url: `/app/${APP_ID}#/home`,
},
{
description: 'Explore your logs',
icon: 'plugins/infra/images/logging_mono_white.svg',
euiIconType: 'loggingApp',
id: 'infra:logs',
order: 8001,
title: 'Logs',
Expand Down
23 changes: 0 additions & 23 deletions x-pack/plugins/infra/types/eui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,6 @@ declare module '@elastic/eui' {

export const EuiErrorBoundary: React.SFC<EuiErrorBoundaryProps>;

type EuiSelectProps = CommonProps & {
compressed?: boolean;
disabled?: boolean;
fullWidth?: boolean;
hasNoInitialSelection?: boolean;
inputRef?: Ref<HTMLSelectElement>;
isInvalid?: boolean;
isLoading?: boolean;
onChange?: (arg: any) => void;
options?: any[];
value: any;
};
export const EuiSelect: React.SFC<EuiSelectProps>;

type EuiSizesResponsive = 'xs' | 's' | 'm' | 'l' | 'xl';
type EuiResponsiveProps = CommonProps & {
children: React.ReactNode;
Expand All @@ -178,13 +164,4 @@ declare module '@elastic/eui' {
};

export const EuiDatePickerRange: React.SFC<EuiDatePickerRangeProps>;

type EuiFieldNumberProps = CommonProps & {
defaultValue: string;
value?: number;
onChange?: (arg: any) => void;
step?: number;
};

export const EuiFieldNumber: React.SFC<EuiFieldNumberProps>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// TODO: Remove once typescript definitions are in EUI
declare module '@elastic/eui' {
export const EuiBasicTable: React.SFC<any>;
export const EuiTextColor: React.SFC<any>;
}

import moment from 'moment';
Expand Down
8 changes: 4 additions & 4 deletions x-pack/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
dependencies:
moment "^2.13.0"

"@elastic/eui@4.4.1":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.4.1.tgz#a1a4ab5bb209da8ea6d48c065476e74b1f48249b"
integrity sha512-SLgJQEDEuH16GFGmRmMvPUingisoNMjpdHnNqns9lug5Zk0PS96306xpbaXb3R+mz0RVQQjWsjnFJMN91QD26A==
"@elastic/eui@4.5.1":
version "4.5.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.5.1.tgz#29ac4f07ab80b229ff4b183f7ced580b84a13df5"
integrity sha512-wUI2ALqKH2MPS7xUsfzm6QOmtnw2itSlWxIaje3y6kbnGyjdSyrewpaws6TRQL7bHss+ylKTVwJCWR6dSC3nVw==
dependencies:
classnames "^2.2.5"
core-js "^2.5.1"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@
version "0.0.0"
uid ""

"@elastic/eui@4.4.1":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.4.1.tgz#a1a4ab5bb209da8ea6d48c065476e74b1f48249b"
integrity sha512-SLgJQEDEuH16GFGmRmMvPUingisoNMjpdHnNqns9lug5Zk0PS96306xpbaXb3R+mz0RVQQjWsjnFJMN91QD26A==
"@elastic/eui@4.5.1":
version "4.5.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-4.5.1.tgz#29ac4f07ab80b229ff4b183f7ced580b84a13df5"
integrity sha512-wUI2ALqKH2MPS7xUsfzm6QOmtnw2itSlWxIaje3y6kbnGyjdSyrewpaws6TRQL7bHss+ylKTVwJCWR6dSC3nVw==
dependencies:
classnames "^2.2.5"
core-js "^2.5.1"
Expand Down