diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts index 829509be5b113..81b5e46d88af9 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts @@ -5,12 +5,9 @@ */ import { Map as MbMap } from 'mapbox-gl'; -import { - DynamicStyleProperty, - getNumericalMbFeatureStateValue, - RawValue, -} from './dynamic_style_property'; +import { DynamicStyleProperty, getNumericalMbFeatureStateValue } from './dynamic_style_property'; import { OrientationDynamicOptions } from '../../../../../common/descriptor_types'; +import { RawValue } from './style_property'; export class DynamicOrientationProperty extends DynamicStyleProperty { syncIconRotationWithMb(symbolLayerId: string, mbMap: MbMap) { diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx index a95b674e511f0..bf7c480babfe6 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx @@ -7,7 +7,7 @@ import _ from 'lodash'; import React from 'react'; import { Feature } from 'geojson'; -import { AbstractStyleProperty, IStyleProperty } from './style_property'; +import { AbstractStyleProperty, IStyleProperty, RawValue } from './style_property'; import { DEFAULT_SIGMA } from '../vector_style_defaults'; import { FIELD_ORIGIN, @@ -30,8 +30,6 @@ import { IJoin } from '../../../joins/join'; import { IVectorStyle } from '../vector_style'; import { getComputedFieldName } from '../style_util'; -export type RawValue = string | number | undefined | null; - export interface IDynamicStyleProperty extends IStyleProperty { getFieldMetaOptions(): FieldMetaOptions; getField(): IField | null; diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts index 9e375891fbbd9..fcda64c738dc7 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts @@ -5,8 +5,9 @@ */ import { Map as MbMap } from 'mapbox-gl'; -import { DynamicStyleProperty, RawValue } from './dynamic_style_property'; +import { DynamicStyleProperty } from './dynamic_style_property'; import { LabelDynamicOptions } from '../../../../../common/descriptor_types'; +import { RawValue } from './style_property'; export class DynamicTextProperty extends DynamicStyleProperty { syncTextFieldWithMb(mbLayerId: string, mbMap: MbMap) { diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts b/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts index 890219dcbba89..f3af1f665bf06 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts @@ -10,6 +10,7 @@ import { ReactElement } from 'react'; import { getVectorStyleLabel } from '../components/get_vector_style_label'; import { FieldMetaOptions } from '../../../../../common/descriptor_types'; import { VECTOR_STYLES } from '../../../../../common/constants'; +export type RawValue = string | number | undefined | null; export type LegendProps = { isPointsOnly: boolean;