Rename colorsPalette util to namedColorsPalette

This commit is contained in:
Dominik Prokop
2019-01-23 15:31:41 +01:00
parent 511895c079
commit e5f74fdf93
20 changed files with 36 additions and 41 deletions

View File

@@ -1,18 +1,11 @@
import React, { PureComponent } from 'react';
import $ from 'jquery';
import {
ValueMapping,
Threshold,
MappingType,
BasicGaugeColor,
ValueMap,
RangeMap,
} from '../../types/panel';
import { ValueMapping, Threshold, MappingType, BasicGaugeColor, ValueMap, RangeMap } from '../../types/panel';
import { TimeSeriesVMs } from '../../types/series';
import { getValueFormat } from '../../utils/valueFormats/valueFormats';
import { getColorFromHexRgbOrName } from '@grafana/ui/src/utils/colorsPalette';
import { GrafanaTheme } from '@grafana/ui/src/types';
import { GrafanaTheme } from '../../types';
import { getColorFromHexRgbOrName } from '../../utils/namedColorsPalette';
type TimeSeriesValue = string | number | null;