mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Uptime] Remove apm dep from uptime (#83565)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
d1e998fff8
commit
b6b7897995
2 changed files with 18 additions and 3 deletions
|
@ -20,7 +20,6 @@
|
|||
"home",
|
||||
"data",
|
||||
"ml",
|
||||
"apm",
|
||||
"maps"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue