[Uptime] Remove apm dep from uptime (#83565)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Shahzad 2020-11-20 19:25:02 +01:00 committed by GitHub
parent d1e998fff8
commit b6b7897995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View file

@ -20,7 +20,6 @@
"home",
"data",
"ml",
"apm",
"maps"
]
}

View file

@ -10,10 +10,26 @@ import { isEmpty } from 'lodash';
import { tint } from 'polished';
import theme from '@elastic/eui/dist/eui_theme_light.json';
import { Suggestion } from './suggestion';
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import { units, px, unit } from '../../../../../../apm/public/style/variables';
import { QuerySuggestion } from '../../../../../../../../src/plugins/data/public';
export const unit = 16;
export const units = {
unit,
eighth: unit / 8,
quarter: unit / 4,
half: unit / 2,
minus: unit * 0.75,
plus: unit * 1.5,
double: unit * 2,
triple: unit * 3,
quadruple: unit * 4,
};
export function px(value: number): string {
return `${value}px`;
}
const List = styled.ul`
width: 100%;
border: 1px solid ${theme.euiColorLightShade};